Function imgproc_rs::transform::superimpose[][src]

pub fn superimpose(
    back: &Image<f64>,
    front: &Image<f64>,
    x: u32,
    y: u32,
    alpha: f64
) -> ImgProcResult<Image<f64>>

Aligns the top left corner of front onto the location (x, y) on back and superimposes the two images with weight alpha for pixel values of back and weight 1 - alpha for pixel values of front