pub fn map_coordinates(
image: &Array2<f64>,
points: &[(f64, f64)],
order: usize,
mode: Mode,
) -> Result<Vec<f64>, ErrorsJSL>Expand description
Interpolates image at arbitrary points (row, column) (SciPy’s map_coordinates), with
spline order 0 to 5. Coefficients from spline_filter are combined with B-spline weights over
the (k + 1) × (k + 1) neighbourhood of each point. In Constant mode, points outside the
image (beyond −0.5 … n − 0.5… precisely, outside [0, n − 1]) take the constant, as in SciPy.