Image Component Library (ICL)
|
Interface class for inplace operators. More...
#include <InplaceOp.h>
Public Member Functions | |
InplaceOp () | |
Create a new Inplace op (ROI-only flag is set to true) | |
virtual core::ImgBase * | apply (core::ImgBase *src)=0 |
apply function transforms source image pixels inplace | |
void | setROIOnly (bool roiOnly) |
setup the operation to work on the input images ROI only or not | |
bool | getROIOnly () const |
returns whether operator is in "roi-only" mode or not | |
Private Attributes | |
bool | m_bROIOnly |
"roi-only" flag |
Interface class for inplace operators.
Inplace operators work on image pixels directly. Common examples are arithmetical expressions like IMAGE *= 2. Useful inplace operations are arithmetical, logical, binary-logical, or table-lookups.
icl::filter::InplaceOp::InplaceOp | ( | ) | [inline] |
Create a new Inplace op (ROI-only flag is set to true)
virtual core::ImgBase* icl::filter::InplaceOp::apply | ( | core::ImgBase * | src | ) | [pure virtual] |
apply function transforms source image pixels inplace
Implemented in icl::filter::InplaceLogicalOp, and icl::filter::InplaceArithmeticalOp.
bool icl::filter::InplaceOp::getROIOnly | ( | ) | const [inline] |
returns whether operator is in "roi-only" mode or not
void icl::filter::InplaceOp::setROIOnly | ( | bool | roiOnly | ) | [inline] |
setup the operation to work on the input images ROI only or not
bool icl::filter::InplaceOp::m_bROIOnly [private] |
"roi-only" flag