18LT_BEGIN_LIZARDTECH_NAMESPACE
24class ImageSegmentMetadata;
236LT_END_LIZARDTECH_NAMESPACE
Include file for all LizardTech sources.
lt_uint32 LT_STATUS
An integral status code.
unsigned short lt_uint16
unsigned 16-bit integer
unsigned long long int lt_uint64
unsigned 64-bit integer
unsigned char lt_uint8
unsigned 8-bit integer
unsigned int lt_uint32
unsigned 32-bit integer
long long int lt_int64
signed 64-bit integer
This file contains a number of enums, typedefs, etc, that are used within the NITF support classes.
Format
image/compression format
Abstract definition of a stream.
represents a geographic coordinate
class for storing metadata associated with an image
basic properties of a pixel
class for reading an NITF file
represents a image segment in an existing NITF file
const lt_uint8 * getPadValue() const
lt_uint32 getHeight() const
returns the height of the image, in pixels
const ImageSegmentMetadata * getImageMetadata() const
returns the metadata object associated with the image
int getNBANDS() const
returns the number of bands in the image (corresponds to the NBANDS field)
ImageSegment(NITFReaderManager &, LTIOStreamInf &, int segmentNumber, lt_int64 headerOffset, lt_int64 headerLength, lt_int64 dataOffset, lt_int64 dataLength)
bool isBlocked() const
returns true iff the image is blocked
const char * getIID1() const
returns the IID1 field of the image
bool hasGeoInfo(void) const
int getBlocksPerRow() const
returns the number of blocks per row in the image (corresponds to the NBPR field)
lt_uint64 getBlockOffset(lt_uint32 index) const
const LTIPixel & getPixelProps() const
returns the pixel type of the image
Layout getLayout() const
returns the layout (interleaved, blocked, etc) of the image
LT_STATUS createDataStream(LTIOSubStream *&) const
int getBlockWidth() const
returns the width of a block, in pixels (corresponds to the NPPBH field)
LT_STATUS setGeoCoord(LTIGeoCoord &) const
LT_STATUS initialize()
initializer
bool isMaskedBlock(lt_uint32 index) const
lt_uint32 getWidth() const
returns the width of the image, in pixels
LT_STATUS isSupported() const
int getNBPP() const
returns the number of bits per pixel used in the image (corresponds to the NBPP field)
Format getFormat() const
returns the format (JPEG, RAW, JP2, etc) of the image
LT_STATUS addMetadataLocal(LTIMetadataDatabase &db) const
int getBlockHeight() const
returns the height of a block, in pixels (corresponds to the NPPBV field)
bool isMasked() const
returns true iff the image is masked
lt_uint64 getNextBlockOffset(lt_uint32 index) const
int getBlocksPerCol() const
returns the number of blocks per row in the image (corresponds to the NBPC field)
container for Image Segment metadata
base class for segment data in an NITF file