54 gteq = ippCmpGreaterEq,
85 throw utils::ICLException(
"UnaryCompareOp::translate_op_type(" + stringVersion +
"): invalid optype string!");
96 m_eOpType(ot), m_dValue(value), m_dTolerance(tolerance){ }
102 m_eOpType(translate_op_type(op)), m_dValue(value), m_dTolerance(tolerance){ }
optype
this enum specifiy all possible compare operations
Definition: UnaryCompareOp.h:50
Definition: UnaryCompareOp.h:56
icl64f m_dTolerance
internal storage of the current tolerance level
Definition: UnaryCompareOp.h:147
void setOpType(optype ot)
sets the current optype
Definition: UnaryCompareOp.h:109
undocument this line if you encounter any issues!
Definition: Any.h:37
Definition: UnaryCompareOp.h:52
Definition: UnaryCompareOp.h:55
UnaryCompareOp(optype ot=gt, icl64f value=128, icl64f tolerance=0)
Creates a new UnaryCompareOp object with given optype, value and tolerance level.
Definition: UnaryCompareOp.h:95
Definition: UnaryCompareOp.h:53
Definition: UnaryCompareOp.h:51
icl64f m_dValue
internal storage of the current value
Definition: UnaryCompareOp.h:144
static optype translate_op_type(const std::string &stringVersion)
translate a given relation into an optype
Definition: UnaryCompareOp.h:78
optype m_eOpType
internal storage of the current optype
Definition: UnaryCompareOp.h:141
Ipp64f icl64f
64Bit floating point type for the ICL
Definition: BasicTypes.h:52
optype getOpType() const
returns the current optype
Definition: UnaryCompareOp.h:120
Abstract Base class for Unary Operators.
Definition: UnaryOp.h:51
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)
UnaryCompareOp(const std::string &op, icl64f value=128, icl64f tolerance=0)
creates a new UnaryCompareOp instance with given parameters
Definition: UnaryCompareOp.h:101
icl64f getTolerance() const
returns the current tolerance level
Definition: UnaryCompareOp.h:128
Class for comparing operations.
Definition: UnaryCompareOp.h:45
Base class for Exception handling in the ICL.
Definition: Exception.h:42
#define ICLFilter_API
Definition: CompatMacros.h:175
void setValue(icl64f value)
sets the current compare value
Definition: UnaryCompareOp.h:113
virtual void apply(const core::ImgBase *operand1, core::ImgBase **dst)=0
pure virtual apply function, that must be implemented in all derived classes
virtual ~UnaryCompareOp()
Destructor.
Definition: UnaryCompareOp.h:105
icl64f getValue() const
returns the current compare-value
Definition: UnaryCompareOp.h:124
Definition: UnaryCompareOp.h:54
void setTollerance(icl64f tolerance)
sets the current tolerance level
Definition: UnaryCompareOp.h:117
ImgBase is the Image-Interface class that provides save access to underlying Img-template .
Definition: ImgBase.h:131