8#ifndef LTI_MOSAIC_FILTER_H
9#define LTI_MOSAIC_FILTER_H
19LT_BEGIN_LIZARDTECH_NAMESPACE
22class LTIMemoryRStarTree;
24class LTIPipelineBuilder;
40 <LTIOverridePixelProps
42 <LTIOverrideMagnification
43 <LTIOverrideIsSelective
44 <LTIOverrideStripHeight
46 <LTIOverridePixelLookupTables
48 <LTIImageStage> > > > > > > > >
86 bool mergeMetadata =
true,
91 const LTIRStarTree *rtree,
127 double fuzzyThreshold );
215 LT_STATUS setupGeoProps(LTIMemoryRStarTree *rtree,
232 double m_fuzzyThreshold;
235 bool m_usePixelCenter;
236 double m_magSnapThreshold;
239 LTIPipelineBuilder *m_pipelineBuilder;
245 double m_overviewMag;
248#ifndef DOXYGEN_EXCLUDE
250class LTIPipelineBuilder
259LT_END_LIZARDTECH_NAMESPACE
#define LTI_REFERENCE_COUNTED_BOILERPLATE(classname)
LTIPixelFillMethod
constants representing pixel filling methods
LTIResampleMethod
constants representing resampling 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
create a larger frame for the image
abstract class representing an image
abstract class for decoding from an image
abstract class for managing a list of image stages
create a single mosaicked image from a set of images
bool hasOverviewImage(void) const
void setResampleMethod(LTIResampleMethod resampleMethod)
Set resampling method.
LTIResampleMethod getResampleMethod(void) const
Get the fill method.
LT_STATUS decodeBegin(const LTIPixel &pixelProps, const LTIScene &fullScene)
start strip-based read
LTIImageStage * getPreviousStage(void) const
LT_STATUS getDimsAtMag(double mag, lt_uint32 &width, lt_uint32 &height) const
get image width and height at given magnification
LT_STATUS setPipelineBuilder(LTIPipelineBuilder *pipelineBuilder)
LTIImageStageManager & getImageStageManager(void) const
double getFuzzyThreshold(void) const
LT_STATUS loadImage(lt_uint32 i, LTIEmbeddedImage *&embedded, LTIImageStage *&raw)
bool getOverviewReaderScene(const LTIScene &decodeScene, LTIScene &mosaicScene, LTIScene &readerScene) const
void setResamplePixelCenter(bool usePixelCenter)
bool getReaderScene(lt_uint32 child, const LTIScene &decodeScene, LTIScene &mosaicScene, LTIScene &readerScene) const
lt_uint32 getModifications(const LTIScene &scene) const
get the modification bitfield for this image
void setFillMethod(LTIPixelFillMethod method, double fuzzyThreshold)
Set the fill method which controls how noData pixels are matched.
LTIPixelFillMethod getFillMethod(void) const
Get the fill method.
static LT_STATUS checkResolutionConformance(LTIImageStageManager *imageStageManager, bool useMultires)
Check if a set of images can be mosaicked together.
LT_STATUS initialize(LTIImageStageManager *imageStageManager, const LTIImage *imageProps, const LTIRStarTree *rtree, AlphaMode alphaMode)
LTIMaskSource * getMask() const
LT_STATUS closeImage(lt_uint32 i)
bool getReaderScene(const LTIScene &decodeScene, LTIScene &readerScene) const
get the underlying scene to be used
lt_int64 getEncodingCost(const LTIScene &scene) const
get the cost to encode this scene
const LTIRStarTree & getRTree(void) const
LT_STATUS decodeEnd(void)
finish strip-based read
LT_STATUS decodeStrip(LTISceneBuffer &stripBuffer, const LTIScene &stripScene)
read a strip from the image
double getOverviewMag(void) const
void setMagSnapThreshold(double threshold)
LT_STATUS initialize(LTIImageStageManager *imageStageManager, const LTIPixel *backgroundPixel, bool useMultires, bool mergeMetadata=true, AlphaMode alphaMode=DoNothing)
initializer
bool getDeleteImages(void) const
void setDeleteImages(bool deleteImages)
LT_STATUS forEachImageStageInScene(const LTIScene &scene, InSceneCallback &callback)
bool getPipelineInfo(LTIPipelineInfo info) const
virtual LT_STATUS found(const LTIScene &scene, lt_uint32 imageNum, LTIEmbeddedImage &embedded, LTIImageStage &image)=0
basic properties of a pixel
RC<> is a wrapper class around LTIReferenceCountedObject that gives the wrapped object block scoping.
representation of a scene
class to hold data passed between image stages