MrSID Decode SDK for Raster Reference Manual  9.5.5.5244
LTIImageReader Class Referenceabstract

abstract class for implementing an image reader More...

#include <lti_imageReader.h>

Inheritance diagram for LTIImageReader:
LTIOverrideDimensions< LTIOverridePixelProps< LTIOverrideGeoCoord< LTIOverrideMagnification< LTIOverrideIsSelective< LTIOverrideStripHeight< LTIOverrideDelegates< LTIOverridePixelLookupTables< LTIOverrideMetadata< LTIImageStage > > > > > > > > > LTIOverridePixelProps< BASE > LTIOverrideDimensionsData LTIOverridePixelPropsData LTIGeoImageReader LTIRawImageReader MrSIDSingleImageReaderBase Nitf::ImageReader LTIBBBImageReader

Public Member Functions

LT_STATUS getDimsAtMag (double mag, lt_uint32 &width, lt_uint32 &height) const
 
lt_uint32 getModifications (const LTIScene &scene) const
 
LTIMaskSource * getMask () const
 
bool getPipelineInfo (LTIPipelineInfo info) const
 
LTIImageStage * getPreviousStage (void) const
 
lt_int64 getEncodingCost (const LTIScene &scene) const
 
bool getReaderScene (const LTIScene &decodeScene, LTIScene &readerScene) const
 
LT_STATUS readBegin (const LTIPixel &pixelProps, const LTIScene &fullScene)
 
LT_STATUS readStrip (LTISceneBuffer &buffer, const LTIScene &stripScene)
 
LT_STATUS readEnd (void)
 
- Public Member Functions inherited from LTIOverrideDimensions< LTIOverridePixelProps< LTIOverrideGeoCoord< LTIOverrideMagnification< LTIOverrideIsSelective< LTIOverrideStripHeight< LTIOverrideDelegates< LTIOverridePixelLookupTables< LTIOverrideMetadata< LTIImageStage > > > > > > > > >
lt_uint32 getWidth () const
 
lt_uint32 getHeight () const
 
- Public Member Functions inherited from LTIOverridePixelProps< BASE >
const LTIPixel & getPixelProps () const
 
const LTIPixel & getMinDynamicRange () const
 
const LTIPixel & getMaxDynamicRange () const
 
LT_STATUS overridePixelBPS (lt_uint8 bps)
 
LT_STATUS overrideColorSpace (LTIColorSpace colorspace)
 
LT_STATUS overrideDynamicRange (const LTIPixel &drmin, const LTIPixel &drmax)
 
const LTIPixel * getBackgroundPixel () const
 
const LTIPixel * getNoDataPixel () const
 
LT_STATUS overrideBackgroundPixel (const LTIPixel *backgroundPixel)
 
LT_STATUS overrideNoDataPixel (const LTIPixel *nodataPixel)
 

Protected Member Functions

 LTIImageReader (bool supportBandSelection)
 
LT_STATUS init (const LTIImage *image=nullptr)
 
LT_STATUS loadMetadataIntoObjects (const LTIMetadataDatabase &fileMetadata, LTIPixel &pixelProps, bool updatePixelProps, bool updateGeoCoord)
 
virtual const char * getSourceName (void) const =0
 
- Protected Member Functions inherited from LTIOverridePixelPropsData
 LTIOverridePixelPropsData ()
 
 ~LTIOverridePixelPropsData ()
 
LT_STATUS setPixelProps (const LTIPixel &pixelProps)
 set pixel properties of the image More...
 
LT_STATUS setPixelBPS (lt_uint8 bps)
 
LT_STATUS setColorSpace (LTIColorSpace colorspace)
 
LT_STATUS setDynamicRange (const LTIPixel &drmin, const LTIPixel &drmax)
 set the dynamic range of the image More...
 
LT_STATUS setDefaultDynamicRange (void)
 set the dynamic range of the image More...
 
LT_STATUS setBackgroundPixel (const LTIPixel *backgroundPixel)
 set the background color of the image More...
 
LT_STATUS setNoDataPixel (const LTIPixel *nodataPixel)
 set the "no data" (transparency) color of the image More...
 
- Protected Member Functions inherited from LTIOverrideDimensionsData
 LTIOverrideDimensionsData ()
 
LT_STATUS setDimensions (lt_uint32 width, lt_uint32 height)
 set width and height of the image More...
 

Protected Attributes

const bool m_supportBandSelection
 
- Protected Attributes inherited from LTIOverridePixelPropsData
LTIPixel * m_pixelProps
 
LTIPixel * m_drminPixel
 
LTIPixel * m_drmaxPixel
 
LTIPixel * m_backgroundPixel
 
LTIPixel * m_nodataPixel
 
- Protected Attributes inherited from LTIOverrideDimensionsData
lt_uint32 m_width
 
lt_uint32 m_height
 

Detailed Description

The LTIImageReader abstract class extends the LTIImageStage so that it can be used as a decoder for an image format, i.e. the "end" of an image pipeline. This is the base class for such classes as the MrSIDImageReader.

Examples
DerivedImageReader.cpp.

Definition at line 28 of file lti_imageReader.h.

Constructor & Destructor Documentation

◆ LTIImageReader()

LTIImageReader::LTIImageReader ( bool  supportBandSelection)
protected

Member Function Documentation

◆ getDimsAtMag()

LT_STATUS LTIImageReader::getDimsAtMag ( double  mag,
lt_uint32 &  width,
lt_uint32 &  height 
) const

◆ getEncodingCost()

lt_int64 LTIImageReader::getEncodingCost ( const LTIScene &  scene) const

◆ getMask()

LTIMaskSource* LTIImageReader::getMask ( ) const

◆ getModifications()

lt_uint32 LTIImageReader::getModifications ( const LTIScene &  scene) const

◆ getPipelineInfo()

bool LTIImageReader::getPipelineInfo ( LTIPipelineInfo  info) const

◆ getPreviousStage()

LTIImageStage* LTIImageReader::getPreviousStage ( void  ) const

◆ getReaderScene()

bool LTIImageReader::getReaderScene ( const LTIScene &  decodeScene,
LTIScene &  readerScene 
) const

◆ getSourceName()

virtual const char* LTIImageReader::getSourceName ( void  ) const
protectedpure virtual

◆ init()

LT_STATUS LTIImageReader::init ( const LTIImage *  image = nullptr)
protected

◆ loadMetadataIntoObjects()

LT_STATUS LTIImageReader::loadMetadataIntoObjects ( const LTIMetadataDatabase &  fileMetadata,
LTIPixel &  pixelProps,
bool  updatePixelProps,
bool  updateGeoCoord 
)
protected

◆ readBegin()

LT_STATUS LTIImageReader::readBegin ( const LTIPixel &  pixelProps,
const LTIScene &  fullScene 
)

◆ readEnd()

LT_STATUS LTIImageReader::readEnd ( void  )

◆ readStrip()

LT_STATUS LTIImageReader::readStrip ( LTISceneBuffer &  buffer,
const LTIScene &  stripScene 
)

Member Data Documentation

◆ m_supportBandSelection

const bool LTIImageReader::m_supportBandSelection
protected

Definition at line 77 of file lti_imageReader.h.


The documentation for this class was generated from the following file:

Extensis