Function min_def

Source
pub fn min_def(
    src1: &impl ToInputArray,
    src2: &impl ToInputArray,
    dst: &mut impl ToOutputArray,
) -> 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

§Note

This alternative version of min function uses the following default values for its arguments:

  • stream: Stream::Null()