pub fn compare_intensity<T>(
reference: ArrayView2<'_, T>,
estimate: ArrayView2<'_, T>,
valid_mask: Option<ArrayView2<'_, bool>>,
saturation_value: Option<f64>,
) -> Result<IntensityComparisonMetrics, IntensityMetricError>where
T: ToPrimitive,Expand description
Calculate aggregate residual statistics for a reference/estimate pair.
Signed residuals are estimate - reference. saturation_value, when
present, counts valid reference pixels greater than or equal to that value.