8 #ifndef LTI_DYNAMIC_RANGE_FILTER_H
9 #define LTI_DYNAMIC_RANGE_FILTER_H
17 LT_BEGIN_LIZARDTECH_NAMESPACE
99 bool applyDynamicRange);
136 double m_srcFuzzyThreshold;
137 double m_dstFuzzyThreshold;
138 bool m_needNoDataFixup;
144 LT_END_LIZARDTECH_NAMESPACE
lt_uint32 LT_STATUS
An integral status code.
unsigned short lt_uint16
unsigned 16-bit integer
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
change dynamic range or datatype of the samples of the image
const LTIPixel & getSrcMin() const
LT_STATUS setDstMinMax(const LTIPixel &srcMin, const LTIPixel &srcMax)
void setPixelFillMethod(LTIPixelFillMethod method, double fuzzyThreshold)
LT_STATUS decodeEnd(void)
finish strip-based read
const LTIPixel & getSrcMax() const
LT_STATUS initialize(LTIImageStage *srcImage, const LTIPixel *srcDRMin=nullptr, const LTIPixel *srcDRMax=nullptr, LTIDataType dstDataType=LTI_DATATYPE_INVALID)
initializer
LT_STATUS decodeStrip(LTISceneBuffer &stripBuffer, const LTIScene &stripScene)
read a strip from the image
LT_STATUS initialize(LTIImageStage *srcImage, LTIDataType dstDataType)
initializer (for compatibly with LTIDataTypeTransformer)
LT_STATUS decodeBegin(const LTIPixel &pixelProps, const LTIScene &fullScene)
start strip-based read
LT_STATUS setSrcMinMax(const LTIPixel &srcMin, const LTIPixel &srcMax)
static LT_STATUS transformPixel(const LTIPixel &srcMin, const LTIPixel &srcMax, const LTIPixel &srcPixel, const LTIPixel &dstMin, const LTIPixel &dstMax, LTIPixel &dstPixel)
virtual lt_uint32 getModifications(const LTIScene &scene) const
get the modification bitfield for this image
LT_STATUS initialize(LTIImageStage *srcImage, const LTIPixel *srcMin, const LTIPixel *srcMax, const LTIPixel &dstMin, const LTIPixel &dstMax)
initializer
static LT_STATUS transformBuffer(const LTIPixel &srcMin, const LTIPixel &srcMax, const LTISceneBuffer &srcBuffer, const LTIPixel &dstMin, const LTIPixel &dstMax, LTISceneBuffer &dstBuffer, lt_uint32 numCols, lt_uint32 numRows)
static LT_STATUS push(LTIImageStage *&pipeline, const LTIPixel &pixelProps, bool applyDynamicRange)
virtual lt_int64 getEncodingCost(const LTIScene &scene) const
get the cost to encode this scene
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