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) More... | |
virtual core::ImgBase * | apply (core::ImgBase *src)=0 |
apply function transforms source image pixels inplace More... | |
void | setROIOnly (bool roiOnly) |
setup the operation to work on the input images ROI only or not More... | |
bool | getROIOnly () const |
returns whether operator is in "roi-only" mode or not More... | |
Private Attributes | |
bool | m_bROIOnly |
"roi-only" flag More... | |
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.
|
inline |
Create a new Inplace op (ROI-only flag is set to true)
|
pure virtual |
apply function transforms source image pixels inplace
Implemented in icl::filter::InplaceLogicalOp, and icl::filter::InplaceArithmeticalOp.
|
inline |
returns whether operator is in "roi-only" mode or not
|
inline |
setup the operation to work on the input images ROI only or not
|
private |
"roi-only" flag