[][src]Function opencv::cudaimgproc::blend_linear

pub fn blend_linear(
    img1: &dyn ToInputArray,
    img2: &dyn ToInputArray,
    weights1: &dyn ToInputArray,
    weights2: &dyn ToInputArray,
    result: &mut dyn ToOutputArray,
    stream: &mut Stream
) -> Result<()>

Performs linear blending of two images.

Parameters

  • img1: First image. Supports only CV_8U and CV_32F depth.
  • img2: Second image. Must have the same size and the same type as img1 .
  • weights1: Weights for first image. Must have tha same size as img1 . Supports only CV_32F type.
  • weights2: Weights for second image. Must have tha same size as img2 . Supports only CV_32F type.
  • result: Destination image.
  • stream: Stream for the asynchronous version.

C++ default parameters

  • stream: Stream::Null()