[][src]Function opencv::core::max_mat_to

pub fn max_mat_to(src1: &Mat, src2: &Mat, dst: &mut Mat) -> 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

Overloaded parameters

needed to avoid conflicts with const _Tp& std::min(const _Tp&, const _Tp&, _Compare)