|
| BinaryCompareOp (optype ot, icl64f tolerance=0) |
| creates a new BinaryCompareOp object with given optype and tolerance level More...
|
|
virtual | ~BinaryCompareOp () |
| Destructor. More...
|
|
virtual void | apply (const core::ImgBase *poSrc1, const core::ImgBase *poSrc2, core::ImgBase **ppoDst) |
| applies this compare operation to two source images into the given destination image More...
|
|
optype | getOpType () const |
| returns the current optype More...
|
|
icl64f | getTolerance () const |
| returns the current tolerance level More...
|
|
void | setOpType (optype ot) |
| sets the current opttype More...
|
|
void | setTolerance (icl64f tolerance) |
| sets the current tolerance level More...
|
|
virtual void | apply (const core::ImgBase *operand1, const core::ImgBase *operand2, core::ImgBase **result)=0 |
| import apply symbol from parent class More...
|
|
virtual const core::ImgBase * | apply (const core::ImgBase *operand1, const core::ImgBase *operand2) |
| import apply symbol from parent class More...
|
|
| BinaryOp () |
| default constructor More...
|
|
| BinaryOp (const BinaryOp &other) |
| copy constructor More...
|
|
BinaryOp & | operator= (const BinaryOp &other) |
| assignment operator More...
|
|
virtual | ~BinaryOp () |
| virtual destructor More...
|
|
virtual const core::ImgBase * | apply (const core::ImgBase *operand1, const core::ImgBase *operand2) |
| applyfunction without explicit destination image More...
|
|
void | operator() (const core::ImgBase *src1, const core::ImgBase *src2, core::ImgBase **dst) |
| function operator (alternative for apply(src1,src2,dst) More...
|
|
const core::ImgBase * | operator() (const core::ImgBase *src1, const core::ImgBase *src2) |
| function operator for the implicit destination apply(a,b) call More...
|
|
const core::ImgBase & | operator() (const core::ImgBase &sr1, const core::ImgBase &src2) |
| reference based function operator More...
|
|
void | setClipToROI (bool bClipToROI) |
| sets if the image should be clip to ROI or not More...
|
|
void | setCheckOnly (bool bCheckOnly) |
| sets if the destination image should be adapted to the source, or if it is only checked if it can be adapted. More...
|
|
bool | getClipToROI () const |
| returns the ClipToROI status More...
|
|
bool | getCheckOnly () const |
| returns the CheckOnly status More...
|
|
Class for comparing two images pixel-wise.
Compares pixel values of two images using a specified compare operation. The result is written to a binarized image of type Img8u. If the result of the comparison is true, the corresponding output pixel is set to 255; otherwise, it is set to 0.