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