pub fn correlation<T>(
reference: ArrayView2<'_, T>,
candidate: ArrayView2<'_, T>,
valid_mask: Option<ArrayView2<'_, bool>>,
) -> Result<f64, IntensityMetricError>where
T: ToPrimitive,Expand description
Return the Pearson correlation coefficient of valid pixels.