7#ifndef LTI_EMBEDDED_IMAGE_H
8#define LTI_EMBEDDED_IMAGE_H
16LT_BEGIN_LIZARDTECH_NAMESPACE
37 <LTIOverridePixelProps
81 const LTIPixel *backgroundPixel =
nullptr,
82 const LTIPixel *nodataPixel =
nullptr,
117 double fuzzyThreshold );
139 const LTIPixel *backgroundPixel =
nullptr);
149 double m_childXPos_P;
150 double m_childYPos_P;
158 bool m_fillingBackground;
160 double m_fuzzyThreshold;
162 float m_transparency;
168LT_END_LIZARDTECH_NAMESPACE
#define LTI_REFERENCE_COUNTED_BOILERPLATE(classname)
LTIPixelFillMethod
constants representing pixel filling methods
lt_uint32 LT_STATUS
An integral status code.
unsigned int lt_uint32
unsigned 32-bit integer
long long int lt_int64
signed 64-bit integer
signed int lt_int32
signed 32-bit integer
create a larger frame for the image
LT_STATUS initialize(LTIImageStage *srcImage, lt_uint32 newWidth, lt_uint32 newHeight, double newXPos, double newYPos, const LTIPixel *backgroundPixel, const LTIPixel *nodataPixel, AlphaMode alphaMode=DoNothing)
initialize
bool getReaderScene(const LTIScene &decodeScene, LTIScene &readerScene) const
get the underlying scene to be used
LT_STATUS initialize(LTIImageStage *srcImage, const LTIGeomRect< lt_int32 > &cropRect, const LTIPixel *backgroundPixel=nullptr, const LTIPixel *nodataPixel=nullptr, AlphaMode alphaMode=DoNothing)
LT_STATUS decodeBegin(const LTIPixel &pixelProps, const LTIScene &fullScene)
start strip-based read
virtual lt_uint32 getModifications(const LTIScene &scene) const
get the modification bitfield for this image
LTIPixelFillMethod getFillMethod(void) const
Get the fill method.
static LT_STATUS push(LTIImageStage *&pipeline, LTIScene &scene, const LTIPixel *backgroundPixel=nullptr)
lt_int32 getChildXPosAtMag(double mag) const
LT_STATUS decodeEnd(void)
finish strip-based read
bool getChildScene(const LTIScene &parentScene, LTIScene &childScene) const
LT_STATUS setTransparency(double transparency)
double getFuzzyThreshold(void) const
lt_int64 getEncodingCost(const LTIScene &scene) const
get the cost to encode this scene
LT_STATUS setFillMethod(LTIPixelFillMethod method, double fuzzyThreshold)
Set the fill method which controls how noData pixels are matched.
LT_STATUS decodeStrip(LTISceneBuffer &stripBuffer, const LTIScene &stripScene)
read a strip from the image
LT_STATUS getDimsAtMag(double mag, lt_uint32 &width, lt_uint32 &height) const
get image width and height at given magnification
lt_int32 getChildYPosAtMag(double mag) const
LT_STATUS setFillingBackground(bool fill)
control whether or not the background of the new "outer" image should be filled
bool getFillingBackground(void) const
query whether or not the background of the new "outer" image should be filled
abstract class for implementing an image transform
abstract class for decoding from an image
basic properties of a pixel
representation of a scene
class to hold data passed between image stages