LizardTech::Nitf::ImageReader Class Reference
class for representing an NITF image segment as an LTIImageReader
More...
#include <ImageReader.h>
List of all members.
Public Member Functions |
const char * | getIID1 () const |
| returns the IID1 field for the segment
|
lt_int64 | getPhysicalFileSize () const |
NITFReaderManager & | getManager () const |
Format | getFormat () const |
| returns the compression format of the segment
|
Layout | getLayout () const |
| returns the pixel layout of the segment
|
bool | isBlocked () const |
| returns true iff the image segment is in blocked form
|
bool | isMasked () const |
| returns true iff block masking is used in the image segment
|
int | getSegmentNumber () const |
| returns the index of this image segment
|
const ImageSegmentMetadata * | getImageMetadata () const |
| returns the image segment metadata object for this segment
|
const SecurityMetadata * | getSecurityMetadata () const |
| returns the security metadata object for this segment
|
LT_STATUS | getDimsAtMag (double mag, lt_uint32 &width, lt_uint32 &height) const =0 |
| get image width and height at given magnification
|
Protected Member Functions |
| ~ImageReader (void) |
| ImageReader (bool supportBandSelection) |
const char * | getSourceName (void) const |
LT_STATUS | init (LTIOStreamInf *stream, NITFReaderManager *manager, const ImageSegment *imageSegment, bool useWorldFile) |
LT_STATUS | addUnderlyingMetadata (const LTIImageStage &image) |
LTIScene | computeBlockedScene (const LTIScene &scene) const |
LT_STATUS | copyIntoUserBuffer (const LTIScene &dstScene, LTISceneBuffer &dstBuffer) const |
bool | activeSceneContains (const LTIScene &scene) const |
void | putBlockIntoBuffer_SEQ (LTISceneBuffer &cBuffer, lt_uint8 *buf, lt_uint32 blockRow, lt_uint32 blockCol, lt_uint32 blockBand) const |
void | putBlockIntoBuffer_BLOCK (LTISceneBuffer &cBuffer, lt_uint8 *buf, lt_uint32 blockRow, lt_uint32 blockCol) const |
void | putBlockIntoBuffer_PIXEL (LTISceneBuffer &cBuffer, lt_uint8 *buf, lt_uint32 blockRow, lt_uint32 blockCol) const |
void | putBlockIntoBuffer_ROW (LTISceneBuffer &cBuffer, lt_uint8 *buf, lt_uint32 blockRow, lt_uint32 blockCol) const |
Protected Attributes |
LTIOStreamInf * | m_stream |
NITFReaderManager * | m_manager |
const ImageSegment * | m_imageSegment |
const FileHeader * | m_fileHeader |
LTReusableBuffer * | m_reusableBuffer |
LTIScene * | m_activeScene |
LTISceneBuffer * | m_activeSceneBuffer |
Detailed Description
This class provides support for representing an NITF image segment as an LTIImageReader, from which you can extract pixel data. ImageReader objects are not to be created directly; the NITFReaderManager class contains a createReader() function for this purpose.
Definition at line 46 of file ImageReader.h.
Constructor & Destructor Documentation
LizardTech::Nitf::ImageReader::~ImageReader |
( |
void |
|
) |
[protected] |
LizardTech::Nitf::ImageReader::ImageReader |
( |
bool |
supportBandSelection |
) |
[protected] |
Member Function Documentation
bool LizardTech::Nitf::ImageReader::activeSceneContains |
( |
const LTIScene & |
scene |
) |
const [protected] |
LTIScene LizardTech::Nitf::ImageReader::computeBlockedScene |
( |
const LTIScene & |
scene |
) |
const [protected] |
This function returns the width and height of the image, in pixels, relative to the given magnification.
- Parameters:
-
| mag | magnification to determine width at |
| width | the image width at the magnification |
| height | the image height at the magnification |
- Returns:
- status code indicating success or failure
Reimplemented from LTIImageReader.
Format LizardTech::Nitf::ImageReader::getFormat |
( |
|
) |
const |
const char* LizardTech::Nitf::ImageReader::getIID1 |
( |
|
) |
const |
Layout LizardTech::Nitf::ImageReader::getLayout |
( |
|
) |
const |
lt_int64 LizardTech::Nitf::ImageReader::getPhysicalFileSize |
( |
|
) |
const |
const SecurityMetadata* LizardTech::Nitf::ImageReader::getSecurityMetadata |
( |
|
) |
const |
int LizardTech::Nitf::ImageReader::getSegmentNumber |
( |
|
) |
const |
const char* LizardTech::Nitf::ImageReader::getSourceName |
( |
void |
|
) |
const [protected, virtual] |
bool LizardTech::Nitf::ImageReader::isBlocked |
( |
|
) |
const |
bool LizardTech::Nitf::ImageReader::isMasked |
( |
|
) |
const |
Member Data Documentation
The documentation for this class was generated from the following file: