Images
PDSImage
The interface implemented by both image classes. All encoders accept it.
PDS3Image
Decodes the first IMAGE object of a PDS3 label.
bits is the SAMPLE_BITS value. getPixel returns raw × SCALING_FACTOR + OFFSET, or NaN when the raw sample equals INVALID_CONSTANT or MISSING_CONSTANT.
Throws when the label has no IMAGE object or ^IMAGE pointer, when the dimensions or sample type are invalid or unsupported, or when buffer is too small for the described image.
Most code should use loadPDS3Image instead.
PDS4Image
Decodes the first Array_2D_Image of a PDS4 label.
dataType is the Element_Array/data_type value. getPixel returns raw × scaling_factor + value_offset.
Throws when the label has no Array_2D_Image, when the axes or data_type are missing or unsupported, or when buffer is too small.
Most code should use loadPDS4Image instead.