opencv::cudaarithm

Function min

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

Computes the per-element minimum of two matrices (or a matrix and a scalar).

§Parameters

  • src1: First source matrix or scalar.
  • src2: Second source matrix or scalar.
  • dst: Destination matrix that has the same size and type as the input array(s).
  • stream: Stream for the asynchronous version.

@warning In python both @p src1 and @p src2 have to be matrices, see [minWithScalar] for scalar overload.

§See also

cv::min, minWithScalar

§C++ default parameters

  • stream: Stream::Null()