MarsImage class#
The MarsImage class, which is the main class for handling all image types.
- class marsimage.image.MarsImage(*args, **kwargs)[source]#
Marsimage class, handles image loading and processing for all cameras.
This class is the main class for handling all image types. It creates the appropriate image class based on the input image file. It is also the main class that should be used to load and process images.
- Parameters:
path (str | pathlib.Path) – The path to the image file.
- Returns:
The appropriate MarsImage subclass object based on the input image file. Please see the subclasses for more information on the interface.
- Return type:
Examples
>>> from marsimage import MarsImage >>> img = MarsImage('./3048ML0159170400407724C00_DRXX.IMG')