pub fn max(
src1: &impl ToInputArray,
src2: &impl ToInputArray,
dst: &mut impl ToOutputArray
) -> Result<()>
Expand description
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: or array and a scalar:
§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, [MatrixExpressions]