sarkit.sidd.NitfProductImageMetadata

class NitfProductImageMetadata(*, xmltree, im_subheader_part, de_subheader_part, legends=<factory>, lookup_table=None)

SIDD NITF product image metadata

Attributes:
xmltreelxml.etree.ElementTree

SIDD product metadata XML ElementTree

im_subheader_partNitfImSubheaderPart

NITF Image Segment Header fields which can be set

de_subheader_part:NitfDeSubheaderPart

NITF DE Segment Header fields which can be set

legendslist of NitfLegendMetadata

Metadata for legend(s) attached to this image

lookup_tablendarray or None

Mapping from raw to display pixel values. Required for “LU” pixel types. Table must be 256 elements. For MONO8LU, table must have dtype of np.uint8 or np.uint16. For RGB8LU, table must have dtype of PIXEL_TYPES["RGB24I"]["dtype"].