8 #ifndef LTI_MOSAIC_FILTER_H
9 #define LTI_MOSAIC_FILTER_H
19 LT_BEGIN_LIZARDTECH_NAMESPACE
22 class LTIMemoryRStarTree;
24 class 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
250 class LTIPipelineBuilder
259 LT_END_LIZARDTECH_NAMESPACE
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
#define LTI_REFERENCE_COUNTED_BOILERPLATE(classname)
LTIPixelFillMethod
constants representing pixel filling methods
LTIResampleMethod
constants representing resampling methods
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
LTIImageStage * getPreviousStage(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)
LT_STATUS getDimsAtMag(double mag, lt_uint32 &width, lt_uint32 &height) const
const LTIRStarTree & getRTree(void) const
LT_STATUS setPipelineBuilder(LTIPipelineBuilder *pipelineBuilder)
double getFuzzyThreshold(void) const
LT_STATUS loadImage(lt_uint32 i, LTIEmbeddedImage *&embedded, LTIImageStage *&raw)
LTIImageStageManager & getImageStageManager(void) const
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
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)
LT_STATUS closeImage(lt_uint32 i)
bool getReaderScene(const LTIScene &decodeScene, LTIScene &readerScene) const
lt_int64 getEncodingCost(const LTIScene &scene) const
LT_STATUS decodeEnd(void)
LT_STATUS decodeStrip(LTISceneBuffer &stripBuffer, const LTIScene &stripScene)
LTIMaskSource * getMask() const
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
representation of a scene
class to hold data passed between image stages