pysdic.Image.get_interpolation_function#

Image.get_interpolation_function()[source]#

Get the interpolation function of the image (all the channels).

The scipy spline of each channel is available with its scipy_splines attribute.

Warning

The interpolation function takes pixel_points \((u, v)\) as input, which are a swap of the camera’s image points!

Returns:

The interpolation function, multi-channel for a color image (its evaluations have a last axis \(C\)), or None if it is not constructed.

Return type:

Optional[pysdic.imaging.rect_bivariate_spline.RectBivariateSpline]