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

Uniform rotation invariant LBP mapping. More...

#include <mdsMapping.h>

Inheritance diagram for mds::lbp::CUniformRotMin< Type >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  
 Number of distinct values produced by the mapping. More...
typedef CMappingBase< Type,
UniformRotMin
tBase
typedef tBase::tCode tCode
 Type representing the LBP code.
typedef tBase::tIndex tIndex
 Type representing the output index.

Public Member Functions

 CUniformRotMin ()
 Default constructor.
tIndex map (tCode Value)
 Returns the index the particular LBP code should be mapped to.

Static Public Member Functions

static tIndex getDummyValue ()
 Returns the dummy value which doesn't occur normally.
static tIndex getSize ()
 Returns the number of distinct values the mapping can produce.

Protected Member Functions

void initMapping ()
 Initalizes the mapping table.

Protected Attributes

mds::math::CVector< tIndexm_Map
 Lookup table.

Detailed Description

template<ECodeType Type>
class mds::lbp::CUniformRotMin< Type >

Uniform rotation invariant LBP mapping.


Member Typedef Documentation

template<ECodeType Type>
typedef CMappingBase<Type, UniformRotMin> mds::lbp::CUniformRotMin< Type >::tBase
template<ECodeType Type>
typedef tBase::tCode mds::lbp::CUniformRotMin< Type >::tCode

Type representing the LBP code.

Reimplemented from mds::lbp::CMappingBase< Type, UniformRotMin >.

template<ECodeType Type>
typedef tBase::tIndex mds::lbp::CUniformRotMin< Type >::tIndex

Type representing the output index.

Reimplemented from mds::lbp::CMappingBase< Type, UniformRotMin >.


Member Enumeration Documentation

anonymous enum [inherited]

Number of distinct values produced by the mapping.


Constructor & Destructor Documentation

template<ECodeType Type>
mds::lbp::CUniformRotMin< Type >::CUniformRotMin ( )

Default constructor.


Member Function Documentation

template<ECodeType Type>
static tIndex mds::lbp::CUniformRotMin< Type >::getDummyValue ( ) [static]

Returns the dummy value which doesn't occur normally.

template<ECodeType Type>
static tIndex mds::lbp::CUniformRotMin< Type >::getSize ( ) [static]

Returns the number of distinct values the mapping can produce.

This is useful in determining the length of the resulting feature vector when the mapping is in use.

template<ECodeType Type>
void CUniformRotMin::initMapping ( ) [protected]

Initalizes the mapping table.

template<ECodeType Type>
tIndex mds::lbp::CUniformRotMin< Type >::map ( tCode  Value)

Returns the index the particular LBP code should be mapped to.


Member Data Documentation

template<ECodeType Type>
mds::math::CVector<tIndex> mds::lbp::CUniformRotMin< Type >::m_Map [protected]

Lookup table.


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