13 #ifndef LTI_MOSAIC_FILTER_H
14 #define LTI_MOSAIC_FILTER_H
28 class LTIPipelineBuilder;
44 <LTIOverridePixelProps
45 <LTIOverrideBackgroundPixel
47 <LTIOverrideMagnification
48 <LTIOverrideIsSelective
49 <LTIOverrideStripHeight
51 <LTIOverridePixelLookupTables
53 <LTIImageStage> > > > > > > > > >
91 bool mergeMetadata =
true,
117 LTIMaskSource *
getMask()
const;
126 double fuzzyThreshold );
163 LTIEmbeddedImage &embedded,
178 LTIEmbeddedImage *&embedded,
189 const LTIRTree &
getRTree(
void)
const;
206 class ListImageStagesInSceneCallback;
225 LTIEmbeddedImage **m_fImage;
228 double m_fuzzyThreshold;
231 double m_magSnapThreshold;
234 LTIPipelineBuilder *m_pipelineBuilder;
239 LTIEmbeddedImage *m_overview;
240 double m_overviewMag;
243 #ifndef DOXYGEN_EXCLUDE
245 class LTIPipelineBuilder
257 #endif // LTI_MOSAIC_FILTER_H
bool getDeleteImages(void) const
LTIResampleMethod getResampleMethod(void) const
Get the fill method.
#define LTI_REFERENCE_COUNTED_BOILERPLATE(classname)
LTIResampleMethod
constants representing resampling methods
create a single mosaicked image from a set of images
static LT_STATUS checkResolutionConformance(LTIImageStageManager *imageStageManager, bool useMultires)
Check if a set of images can be mosaicked together.
LT_STATUS loadImage(lt_uint32 i, LTIEmbeddedImage *&embedded, LTIImageStage *&raw)
LT_STATUS setPipelineBuilder(LTIPipelineBuilder *pipelineBuilder)
void setFillMethod(LTIPixelFillMethod method, double fuzzyThreshold)
Set the fill method which controls how noData pixels are matched.
abstract class for managing a list of image stages
unsigned int lt_uint32
unsigned 32-bit integer
double getFuzzyThreshold(void) const
void setDeleteImages(bool deleteImages)
basic properties of a pixel
LTIPixelFillMethod getFillMethod(void) const
Get the fill method.
lt_int64 getEncodingCost(const LTIScene &scene) const
get the cost to encode this scene
LT_STATUS decodeStrip(LTISceneBuffer &stripBuffer, const LTIScene &stripScene)
read a strip from the image
#define LT_BEGIN_NAMESPACE(theNameSpace)
compiler does not support namespaces
LTIMaskSource * getMask() const
bool getPipelineInfo(LTIPipelineInfo info) const
class to hold data passed between image stages
LTIImageStageManager & getImageStageManager(void) const
virtual lt_uint32 getModifications(const LTIScene &scene) const
get the modification bitfield for this image
virtual LT_STATUS found(const LTIScene &scene, lt_uint32 imageNum, LTIEmbeddedImage &embedded, LTIImageStage &image)=0
void setResampleMethod(LTIResampleMethod resampleMethod)
Set resampling method.
abstract class for decoding from an image
create a larger frame for the image
LT_STATUS getDimsAtMag(double mag, lt_uint32 &width, lt_uint32 &height) const
get image width and height at given magnification
representation of a scene
void setMagSnapThreshold(double threshold)
LT_STATUS forEachImageStageInScene(const LTIScene &scene, InSceneCallback &callback)
bool getReaderScene(const LTIScene &decodeScene, LTIScene &readerScene) const
get the underlying scene to be used
#define LT_END_NAMESPACE(theNameSpace)
compiler does not support namespaces
LT_STATUS initialize(LTIImageStageManager *imageStageManager, const LTIPixel *backgroundPixel, bool useMultires, bool mergeMetadata=true, AlphaMode alphaMode=DoNothing)
initializer
LT_STATUS decodeBegin(const LTIPixel &pixelProps, const LTIScene &fullScene)
start strip-based read
bool getOverviewReaderScene(const LTIScene &decodeScene, LTIScene &mosaicScene, LTIScene &readerScene) const
LT_STATUS decodeEnd(void)
finish strip-based read
double getOverviewMag(void) const
bool hasOverviewImage(void) const
LT_STATUS closeImage(lt_uint32 i)
lt_uint32 LT_STATUS
An integral status code.
const LTIRTree & getRTree(void) const
LTIPixelFillMethod
constants representing pixel filling methods