CameraModel.distort_pixels

abstract CameraModel.distort_pixels(pixels)[source]

A method that takes gnomic pixel locations in units of pixels and applies the appropriate distortion to them.

This method is used in the distortion_map() method to generate the distortion values for each pixel.

Parameters:

pixels (Sequence | ndarray) – The pinhole location pixel locations the distortion is to be applied to

Returns:

The distorted pixel locations in units of pixels

Return type:

ndarray