Camera.preprocessor¶
- Camera.preprocessor(image)[source]¶
This method is used to globally apply corrections to all images contained in the
Camera
instance.The corrections applied by this method generally include things like image flips/transposes to put the image into the proper orientation that GIANT expects, dark frame removal to flatten the responsivity of the images and other basic image processing steps that apply the same to all images. The only input to this method is the image itself as an
OpNavImage
subclass and the method should return the correctedOpNavImage
subclass (preserving the metadata).This method is applied once, immediately after loading the image.
- Parameters:
image (OpNavImage) – The image to apply the preprocessor corrections to
- Returns:
The corrected image
- Return type: