80 ThresholdOp(optype ttype,
float lowThreshold=127,
float highThreshold=127,
float lowVal=0,
float highVal=255 );
155 #define ICL_INSTANTIATE_DEPTH(T) \ 156 static void tlt(const core::Img## T*, core::Img##T*, icl##T); \ 157 static void tgt(const core::Img## T*, core::Img##T*, icl##T); \ 158 static void tltgt(const core::Img## T*, core::Img##T*, icl##T, icl##T); \ 159 static void tltVal(const core::Img## T*, core::Img##T*, icl##T, icl##T tVal); \ 160 static void tgtVal(const core::Img## T*, core::Img##T*, icl##T, icl##T tVal); \ 161 static void tltgtVal(const core::Img## T*, core::Img##T*, icl##T, icl##T, icl##T, icl##T); 163 #undef ICL_INSTANTIATE_DEPTH 183 float low,
float lowVal,
float hi,
float hiVal);
float m_fHighThreshold
Definition: ThresholdOp.h:167
float m_fHighVal
Definition: ThresholdOp.h:169
undocument this line if you encounter any issues!
Definition: Any.h:37
optype
this enum specifiy all possible thresholding operations
Definition: ThresholdOp.h:63
#define ICL_INSTANTIATE_ALL_DEPTHS
Definition: Macros.h:175
Definition: ThresholdOp.h:66
float getHighThreshold() const
returns the upper threshold
Definition: ThresholdOp.h:106
float getLowVal() const
returns the lower value
Definition: ThresholdOp.h:112
void setType(optype type)
sets the type of the thresholding operation
Definition: ThresholdOp.h:153
float m_fLowVal
Definition: ThresholdOp.h:168
void setLowThreshold(float lowThreshold)
sets the lower threshold
Definition: ThresholdOp.h:129
void setHighThreshold(float highThreshold)
sets the upper threshold
Definition: ThresholdOp.h:135
Definition: ThresholdOp.h:65
void setLowVal(float lowVal)
sets the lower value
Definition: ThresholdOp.h:141
void setHighVal(float highVal)
sets the upper value
Definition: ThresholdOp.h:147
float getLowThreshold() const
returns the lower threshold
Definition: ThresholdOp.h:100
Abstract Base class for Unary Operators.
Definition: UnaryOp.h:51
optype getType() const
returns the type of the thresholding operation
Definition: ThresholdOp.h:123
float getHighVal() const
returns the upper value
Definition: ThresholdOp.h:117
ICLQt_API core::Img< T > filter(const core::Img< T > &image, const std::string &filter)
applies a filter operation on the source image (affinity for float)
Class for thresholding operations.
Definition: ThresholdOp.h:59
Definition: ThresholdOp.h:68
Definition: ThresholdOp.h:64
float m_fLowThreshold
Definition: ThresholdOp.h:166
#define ICLFilter_API
Definition: CompatMacros.h:175
virtual void apply(const core::ImgBase *operand1, core::ImgBase **dst)=0
pure virtual apply function, that must be implemented in all derived classes
optype m_eType
Definition: ThresholdOp.h:170
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131
Definition: ThresholdOp.h:67