pub fn fitted_gain<T>(
reference: ArrayView2<'_, T>,
candidate: ArrayView2<'_, T>,
valid_mask: Option<ArrayView2<'_, bool>>,
) -> Result<f64, IntensityMetricError>where
T: ToPrimitive,Expand description
Fit the least-squares scalar gain in candidate ≈ gain × reference.