MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Functor creates LBP code from samples. More...
#include <mdsOperators.h>
Public Types | |
typedef CLBPTraits< Type >::tCode | tCode |
Type representing LBP code. | |
Public Member Functions | |
CCodeAccumulator (const T &Center) | |
Default constructor. | |
CCodeAccumulator (const CCodeAccumulator &Acc) | |
Copy constructor. | |
tCode | getValue () const |
Returns the final LBP code. | |
void | operator() (const T &Value) |
Accumulates one sample. | |
CCodeAccumulator & | setCenter (const T &Center) |
Sets the center value and clears the code. | |
Protected Attributes | |
T | m_Center |
Value of the LBP center. | |
tCode | m_Code |
Extracted LBP code. |
Functor creates LBP code from samples.
typedef CLBPTraits<Type>::tCode mds::lbp::CCodeAccumulator< T, Type >::tCode |
Type representing LBP code.
mds::lbp::CCodeAccumulator< T, Type >::CCodeAccumulator | ( | const T & | Center | ) |
Default constructor.
mds::lbp::CCodeAccumulator< T, Type >::CCodeAccumulator | ( | const CCodeAccumulator< T, Type > & | Acc | ) |
Copy constructor.
tCode mds::lbp::CCodeAccumulator< T, Type >::getValue | ( | ) | const |
Returns the final LBP code.
void mds::lbp::CCodeAccumulator< T, Type >::operator() | ( | const T & | Value | ) |
Accumulates one sample.
CCodeAccumulator& mds::lbp::CCodeAccumulator< T, Type >::setCenter | ( | const T & | Center | ) |
Sets the center value and clears the code.
T mds::lbp::CCodeAccumulator< T, Type >::m_Center [protected] |
Value of the LBP center.
tCode mds::lbp::CCodeAccumulator< T, Type >::m_Code [protected] |
Extracted LBP code.