Function opencv::cudaarithm::norm

source ·
pub fn norm(
    src1: &impl ToInputArray,
    norm_type: i32,
    mask: &impl ToInputArray
) -> Result<f64>
Expand description

Returns the norm of a matrix (or difference of two matrices).

§Parameters

  • src1: Source matrix. Any matrices except 64F are supported.
  • normType: Norm type. NORM_L1 , NORM_L2 , and NORM_INF are supported for now.
  • mask: optional operation mask; it must have the same size as src1 and CV_8UC1 type.

§See also

norm

§C++ default parameters

  • mask: noArray()