Image Component Library (ICL)
Public Member Functions | Private Attributes | List of all members
icl::filter::InplaceOp Class Referenceabstract

Interface class for inplace operators. More...

#include <InplaceOp.h>

Inheritance diagram for icl::filter::InplaceOp:
icl::filter::InplaceArithmeticalOp icl::filter::InplaceLogicalOp

Public Member Functions

 InplaceOp ()
 Create a new Inplace op (ROI-only flag is set to true) More...
 
virtual core::ImgBaseapply (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...
 

Detailed Description

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.

See also
ArithmeticalInplaceOp
LogicalInplaceOp

Constructor & Destructor Documentation

icl::filter::InplaceOp::InplaceOp ( )
inline

Create a new Inplace op (ROI-only flag is set to true)

Member Function Documentation

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

Member Data Documentation

bool icl::filter::InplaceOp::m_bROIOnly
private

"roi-only" flag


The documentation for this class was generated from the following file: