MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Types | Public Member Functions | Protected Attributes
mds::lbp::CCodeAccumulator< T, Type > Class Template Reference

Functor creates LBP code from samples. More...

#include <mdsOperators.h>

List of all members.

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.
CCodeAccumulatorsetCenter (const T &Center)
 Sets the center value and clears the code.

Protected Attributes

m_Center
 Value of the LBP center.
tCode m_Code
 Extracted LBP code.

Detailed Description

template<typename T, ECodeType Type>
class mds::lbp::CCodeAccumulator< T, Type >

Functor creates LBP code from samples.


Member Typedef Documentation

template<typename T , ECodeType Type>
typedef CLBPTraits<Type>::tCode mds::lbp::CCodeAccumulator< T, Type >::tCode

Type representing LBP code.


Constructor & Destructor Documentation

template<typename T , ECodeType Type>
mds::lbp::CCodeAccumulator< T, Type >::CCodeAccumulator ( const T &  Center)

Default constructor.

template<typename T , ECodeType Type>
mds::lbp::CCodeAccumulator< T, Type >::CCodeAccumulator ( const CCodeAccumulator< T, Type > &  Acc)

Copy constructor.


Member Function Documentation

template<typename T , ECodeType Type>
tCode mds::lbp::CCodeAccumulator< T, Type >::getValue ( ) const

Returns the final LBP code.

template<typename T , ECodeType Type>
void mds::lbp::CCodeAccumulator< T, Type >::operator() ( const T &  Value)

Accumulates one sample.

template<typename T , ECodeType Type>
CCodeAccumulator& mds::lbp::CCodeAccumulator< T, Type >::setCenter ( const T &  Center)

Sets the center value and clears the code.


Member Data Documentation

template<typename T , ECodeType Type>
T mds::lbp::CCodeAccumulator< T, Type >::m_Center [protected]

Value of the LBP center.

template<typename T , ECodeType Type>
tCode mds::lbp::CCodeAccumulator< T, Type >::m_Code [protected]

Extracted LBP code.


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