8 #ifndef LTI_IMAGEFILTER_H
9 #define LTI_IMAGEFILTER_H
15 LT_BEGIN_LIZARDTECH_NAMESPACE
98 LT_END_LIZARDTECH_NAMESPACE
lt_uint32 LT_STATUS
An integral status code.
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
#define LTI_REFERENCE_COUNTED_BOILERPLATE_BASE(classname)
Macros for defining boilerplate parts of derived LTIReferenceCountedObject classes.
Abstract definition of a stream.
interrupt delegate (callback) base class
progress delegate (callback) base class
represents a geographic coordinate
abstract class for implementing an image transform
void releasePreviousStageNow(void)
lt_int64 getEncodingCost(const LTIScene &scene) const
get the cost to encode this scene
void setInterruptDelegate(LTIInterruptDelegate *delegate)
set interrupt delegate
LT_STATUS overridePixelLookupTable(const LTIPixelLookupTable *pixelLookupTable)
override the CLUT of the image
lt_uint32 getHeight() const
get image height
LT_STATUS overridePixelBPS(lt_uint8)
override the bits-per-sample of the image's (sample's) datatype
double getMaxMagnification() const
get the maximum magnification
LT_STATUS overrideColorSpace(LTIColorSpace colorspace)
override the colorspace of all the pixel properties (PixelProps, NoData, Background,...
bool getPipelineInfo(LTIPipelineInfo info) const
LT_STATUS getMetadataBlob(const char *type, LTIOStreamInf *&stream) const
extract the metadata associated with the image of the given type
LT_STATUS overrideNoDataPixel(const LTIPixel *nodataPixel)
override the "no data" (transparency) color of the image
const LTIPixel & getPixelProps() const
get the pixel properties of the image
const LTIPixel & getMaxDynamicRange() const
get the maximum dynamic range value of image
LTIMaskSource * getMask() const
LT_STATUS decodeBegin(const LTIPixel &pixelProps, const LTIScene &fullScene)
start strip-based read
LTIProgressDelegate * getProgressDelegate() const
get progress delegate
bool getReaderScene(const LTIScene &decodeScene, LTIScene &readerScene) const
get the underlying scene to be used
bool isGeoCoordImplicit() const
is geo information "real" or not
LT_STATUS decodeEnd(void)
finish strip-based read
LT_STATUS getDimsAtMag(double mag, lt_uint32 &width, lt_uint32 &height) const
get image width and height at given magnification
bool isSelective() const
check if image supports "random access" decoding
LT_STATUS decodeStrip(LTISceneBuffer &stripBuffer, const LTIScene &stripScene)
read a strip from the image
LTIInterruptDelegate * getInterruptDelegate() const
get interrupt delegate
LT_STATUS overrideBackgroundPixel(const LTIPixel *backgroundPixel)
override the background color of the image
lt_uint32 getModifications(const LTIScene &scene) const
get the modification bitfield for this image
LT_STATUS overrideDynamicRange(const LTIPixel &drmin, const LTIPixel &drmax)
override the dynamic range of the image
const LTIPixel & getMinDynamicRange() const
get the minimum dynamic range value of image
LTIImageStage * getPreviousStage(void) const
LT_STATUS overrideMetadata(const LTIMetadataDatabase &metadata)
override the metadata of the image
LT_STATUS setStripHeight(lt_uint32 stripHeight)
set the strip height
lt_uint32 getWidth() const
get image width
void changePreviousStage(LTIImageStage *newPref)
const LTIPixel * getNoDataPixel() const
get the values of the "no data" (transparency) pixel
LT_STATUS overrideGeoCoord(const LTIGeoCoord &geoCoord)
override the geographic coordinates of the image
double getMinMagnification() const
get the minimum magnification
void setProgressDelegate(LTIProgressDelegate *delegate)
set progress delegate
bool hasMetadataBlob(const char *type) const
LT_STATUS init(LTIImageStage *previousStage)
lt_uint32 getStripHeight() const
get strip height
const LTIPixel * getBackgroundPixel() const
get the values of the background pixel
const LTIGeoCoord & getGeoCoord() const
get the geographic coordinates of the image
const LTIMetadataDatabase & getMetadata() const
get the metadata associated with the image
const LTIPixelLookupTable * getPixelLookupTable() const
get the color lookup table, if any
abstract class for decoding from an image
class for storing metadata associated with an image
basic properties of a pixel
representation of a scene
class to hold data passed between image stages