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

Plain LBP mapping - values are mapped to themselves. More...

#include <mdsMapping.h>

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

List of all members.

Public Types

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

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.
static tIndex map (tCode Value)
 Returns the index the particular LBP code should be mapped to.

Detailed Description

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

Plain LBP mapping - values are mapped to themselves.


Member Typedef Documentation

template<ECodeType Type>
typedef CMappingBase<Type, Plain> mds::lbp::CPlain< Type >::tBase
template<ECodeType Type>
typedef tBase::tCode mds::lbp::CPlain< Type >::tCode

Type representing the LBP code.

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

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

Type representing the output index.

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


Member Enumeration Documentation

anonymous enum [inherited]

Number of distinct values produced by the mapping.


Member Function Documentation

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

Returns the dummy value which doesn't occur normally.

template<ECodeType Type>
static tIndex mds::lbp::CPlain< 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>
static tIndex mds::lbp::CPlain< Type >::map ( tCode  Value) [static]

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


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