Abstract base class for binary image operations.
More...
#include <BinaryOp.h>
|
| 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 void | apply (const core::ImgBase *operand1, const core::ImgBase *operand2, core::ImgBase **result)=0 |
| pure virtual apply function 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...
|
|
Abstract base class for binary image operations.
A list of all binary operators can be found here:
Collection of Binary Operations
◆ BinaryOp() [1/2]
icl::filter::BinaryOp::BinaryOp |
( |
| ) |
|
◆ BinaryOp() [2/2]
icl::filter::BinaryOp::BinaryOp |
( |
const BinaryOp & |
other | ) |
|
◆ ~BinaryOp()
virtual icl::filter::BinaryOp::~BinaryOp |
( |
| ) |
|
|
virtual |
◆ apply() [1/2]
◆ apply() [2/2]
applyfunction without explicit destination image
Usually this function must not be reimplemented, because it's default operation does simply use an internal buffer to call apply(const ImgBase*,const ImgBase*,ImgBase**).
◆ check()
static bool icl::filter::BinaryOp::check |
( |
const core::ImgBase * |
operand1, |
|
|
const core::ImgBase * |
operand2, |
|
|
bool |
checkDepths = true |
|
) |
| |
|
inlinestaticprotected |
◆ getCheckOnly()
bool icl::filter::BinaryOp::getCheckOnly |
( |
| ) |
const |
|
inline |
returns the CheckOnly status
- Returns
- true=CheckOnly is enable, false=CheckOnly is disabled
◆ getClipToROI()
bool icl::filter::BinaryOp::getClipToROI |
( |
| ) |
const |
|
inline |
returns the ClipToROI status
- Returns
- true=ClipToROI is enable, false=ClipToROI is disabled
◆ operator()() [1/3]
function operator (alternative for apply(src1,src2,dst)
◆ operator()() [2/3]
function operator for the implicit destination apply(a,b) call
◆ operator()() [3/3]
reference based function operator
◆ operator=()
◆ prepare() [1/3]
◆ prepare() [2/3]
check+adapt destination image to properties of given source image
◆ prepare() [3/3]
check+adapt destination image to properties of given source image but use explicitly given depth
◆ setCheckOnly()
void icl::filter::BinaryOp::setCheckOnly |
( |
bool |
bCheckOnly | ) |
|
|
inline |
sets if the destination image should be adapted to the source, or if it is only checked if it can be adapted.
- Parameters
-
bCheckOnly | true = destination image is only checked, false = destination image will be checked and adapted. |
◆ setClipToROI()
void icl::filter::BinaryOp::setClipToROI |
( |
bool |
bClipToROI | ) |
|
|
inline |
sets if the image should be clip to ROI or not
- Parameters
-
bClipToROI | true=yes, false=no |
◆ m_buf
internal image buffer which is used for the apply function without destination image argument
◆ m_oROIHandler
The documentation for this class was generated from the following file:
- /Users/alneuman/vm/icl/ICLFilter/src/ICLFilter/BinaryOp.h