[][src]Function opencv::imgproc::blend_linear

pub fn blend_linear(
    src1: &dyn ToInputArray,
    src2: &dyn ToInputArray,
    weights1: &dyn ToInputArray,
    weights2: &dyn ToInputArray,
    dst: &mut dyn ToOutputArray
) -> Result<()>

Performs linear blending of two images: block formula

Parameters

  • src1: It has a type of CV_8UC(n) or CV_32FC(n), where n is a positive integer.
  • src2: It has the same type and size as src1.
  • weights1: It has a type of CV_32FC1 and the same size with src1.
  • weights2: It has a type of CV_32FC1 and the same size with src1.
  • dst: It is created if it does not have the same size and type with src1.