Function abs

Source
pub fn abs(
    src: &impl ToInputArray,
    dst: &mut impl ToOutputArray,
    stream: &mut impl StreamTrait,
) -> Result<()>
Expand description

Computes an absolute value of each matrix element.

§Parameters

  • src: Source matrix.
  • dst: Destination matrix with the same size and type as src .
  • stream: Stream for the asynchronous version.

§See also

abs

§C++ default parameters

  • stream: Stream::Null()