MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Member Functions | Protected Attributes
mds::img::CCheckDiff< T > Class Template Reference

Functor compares two pixels and checks if both pixels are almost equal. More...

#include <mdsImageFunctional.h>

List of all members.

Public Member Functions

 CCheckDiff (const T &Threshold)
 Default constructor.
bool operator() (const T &a, const T &b)
 Operator compares two pixels.

Protected Attributes

m_Threshold
 The applied threshold.

Detailed Description

template<typename T>
class mds::img::CCheckDiff< T >

Functor compares two pixels and checks if both pixels are almost equal.


Constructor & Destructor Documentation

template<typename T >
mds::img::CCheckDiff< T >::CCheckDiff ( const T &  Threshold)

Default constructor.


Member Function Documentation

template<typename T >
bool mds::img::CCheckDiff< T >::operator() ( const T &  a,
const T &  b 
)

Operator compares two pixels.


Member Data Documentation

template<typename T >
T mds::img::CCheckDiff< T >::m_Threshold [protected]

The applied threshold.


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