MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Functor providing pixel value thresholding. More...
#include <mdsImageFunctional.h>
Public Member Functions | |
void | add (const T &Value) |
Adds a new threshold. | |
CMultiThresholding () | |
Default constructor. | |
T & | get (tSize i) |
Returns the i-th threshold. | |
const T & | get (tSize i) const |
tSize | getSize () const |
Returns the number of thresholds. | |
void | operator() (T &Value) |
Operator multiplies a given parameter. | |
void | set (tSize i, const T &Value) |
Sets the i-th threshold. | |
Protected Types | |
typedef std::vector< T > | tThresholds |
Vector of thresholds. | |
Protected Attributes | |
bool | m_bCheckPrevious |
Internal flag meaning that previously treated values are valid. | |
T | m_NewValue |
T | m_Previous |
Previously treated values. | |
tThresholds | m_Thresholds |
Applied thresholds. |
Functor providing pixel value thresholding.
typedef std::vector<T> mds::img::CMultiThresholding< T >::tThresholds [protected] |
Vector of thresholds.
mds::img::CMultiThresholding< T >::CMultiThresholding | ( | ) |
Default constructor.
void mds::img::CMultiThresholding< T >::add | ( | const T & | Value | ) |
Adds a new threshold.
T& mds::img::CMultiThresholding< T >::get | ( | tSize | i | ) |
Returns the i-th threshold.
const T& mds::img::CMultiThresholding< T >::get | ( | tSize | i | ) | const |
tSize mds::img::CMultiThresholding< T >::getSize | ( | ) | const |
Returns the number of thresholds.
void mds::img::CMultiThresholding< T >::operator() | ( | T & | Value | ) |
Operator multiplies a given parameter.
void mds::img::CMultiThresholding< T >::set | ( | tSize | i, |
const T & | Value | ||
) |
Sets the i-th threshold.
bool mds::img::CMultiThresholding< T >::m_bCheckPrevious [protected] |
Internal flag meaning that previously treated values are valid.
T mds::img::CMultiThresholding< T >::m_NewValue [protected] |
T mds::img::CMultiThresholding< T >::m_Previous [protected] |
Previously treated values.
tThresholds mds::img::CMultiThresholding< T >::m_Thresholds [protected] |
Applied thresholds.