[][src]Function opencv::cudaarithm::lshift

pub fn lshift(
    src: &dyn ToInputArray,
    val: Scalar_<i32>,
    dst: &mut dyn ToOutputArray,
    stream: &mut Stream
) -> Result<()>

Performs pixel by pixel right left of an image by a constant value.

Parameters

  • src: Source matrix. Supports 1, 3 and 4 channels images with CV_8U , CV_16U or CV_32S depth.
  • val: Constant values, one per channel.
  • dst: Destination matrix with the same size and type as src .
  • stream: Stream for the asynchronous version.

C++ default parameters

  • stream: Stream::Null()