[][src]Function opencv::cudaarithm::rshift

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

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

Parameters

  • src: Source matrix. Supports 1, 3 and 4 channels images with integers elements.
  • 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()