[−][src]Function opencv::core::norm_sparse
pub fn norm_sparse(src: &SparseMat, norm_type: i32) -> Result<f64>
Calculates an absolute difference norm or a relative difference norm.
This version of cv::norm calculates the absolute difference norm or the relative difference norm of arrays src1 and src2. The type of norm to calculate is specified using #NormTypes.
Parameters
- src1: first input array.
- src2: second input array of the same size and the same type as src1.
- normType: type of the norm (see #NormTypes).
- mask: optional operation mask; it must have the same size as src1 and CV_8UC1 type.
Overloaded parameters
- src: first input array.
- normType: type of the norm (see #NormTypes).