MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Functor compares two pixels and checks if both pixels are almost equal. More...
#include <mdsImageFunctional.h>
Public Member Functions | |
CCheckDiff (const T &Threshold) | |
Default constructor. | |
bool | operator() (const T &a, const T &b) |
Operator compares two pixels. | |
Protected Attributes | |
T | m_Threshold |
The applied threshold. |
Functor compares two pixels and checks if both pixels are almost equal.
mds::img::CCheckDiff< T >::CCheckDiff | ( | const T & | Threshold | ) |
Default constructor.
bool mds::img::CCheckDiff< T >::operator() | ( | const T & | a, |
const T & | b | ||
) |
Operator compares two pixels.
T mds::img::CCheckDiff< T >::m_Threshold [protected] |
The applied threshold.