[][src]Function opencv::core::max

pub fn max(
    src1: &dyn ToInputArray,
    src2: &dyn ToInputArray,
    dst: &mut dyn ToOutputArray
) -> Result<()>

Calculates per-element maximum of two arrays or an array and a scalar.

The function cv::max calculates the per-element maximum of two arrays: block formula or array and a scalar: block formula

Parameters

  • src1: first input array.
  • src2: second input array of the same size and type as src1 .
  • dst: output array of the same size and type as src1.

See also

min, compare, inRange, minMaxLoc, @ref MatrixExpressions