MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Rotation invariant LBP mapping. More...
#include <mdsMapping.h>
Public Types | |
enum | |
Number of distinct values produced by the mapping. More... | |
typedef CMappingBase< Type, RotMin > | tBase |
typedef tBase::tCode | tCode |
Type representing the LBP code. | |
typedef tBase::tIndex | tIndex |
Type representing the output index. | |
Public Member Functions | |
CRotMin () | |
Default constructor. | |
tIndex | getDummyValue () |
Returns the dummy value which doesn't occur normally. | |
tIndex | getSize () |
Returns the number of distinct values the mapping can produce. | |
tIndex | map (tCode Value) |
Returns the index the particular LBP code should be mapped to. | |
Protected Member Functions | |
void | initMapping () |
Initalizes the mapping table. | |
Protected Attributes | |
mds::math::CVector< tIndex > | m_Map |
Lookup table. | |
tIndex | m_Size |
Number of distinct values. |
Rotation invariant LBP mapping.
typedef CMappingBase<Type, RotMin> mds::lbp::CRotMin< Type >::tBase |
typedef tBase::tCode mds::lbp::CRotMin< Type >::tCode |
Type representing the LBP code.
Reimplemented from mds::lbp::CMappingBase< Type, RotMin >.
typedef tBase::tIndex mds::lbp::CRotMin< Type >::tIndex |
Type representing the output index.
Reimplemented from mds::lbp::CMappingBase< Type, RotMin >.
anonymous enum [inherited] |
Number of distinct values produced by the mapping.
mds::lbp::CRotMin< Type >::CRotMin | ( | ) |
Default constructor.
tIndex mds::lbp::CRotMin< Type >::getDummyValue | ( | ) |
Returns the dummy value which doesn't occur normally.
tIndex mds::lbp::CRotMin< Type >::getSize | ( | ) |
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.
void CRotMin::initMapping | ( | ) | [protected] |
Initalizes the mapping table.
tIndex mds::lbp::CRotMin< Type >::map | ( | tCode | Value | ) |
Returns the index the particular LBP code should be mapped to.
mds::math::CVector<tIndex> mds::lbp::CRotMin< Type >::m_Map [protected] |
Lookup table.
tIndex mds::lbp::CRotMin< Type >::m_Size [protected] |
Number of distinct values.