[][src]Function opencv::cudaarithm::norm

pub fn norm(
    src1: &dyn ToInputArray,
    norm_type: i32,
    mask: &dyn ToInputArray
) -> Result<f64>

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()