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

Type traits for LBP features. More...

#include <mdsTraits.h>

Inheritance diagram for mds::lbp::CLBPTraits< Type, Mapping >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { NumOfSamples = Type }
 Size of the LBP code in bits (= number of samples). More...
enum  { NumOfCodes = SMappingSize<Type,Mapping>::RESULT }
 Number of distinct codes produced by the mapping. More...
typedef mds::SSelect< Type==LBP8,
unsigned char, unsigned int >
::RESULT 
tCode
 Type used to store "raw" LBP code.

Public Member Functions

template<>
CLBPTraits< LBP8, Plain >::tCode getMax ()
template<>
CLBPTraits< LBP8, Uniform >::tCode getMax ()
template<>
CLBPTraits< LBP8, RotMin >::tCode getMax ()
template<>
CLBPTraits< LBP8,
UniformRotMin >::tCode 
getMax ()
template<>
CLBPTraits< LBP12, Plain >::tCode getMax ()
template<>
CLBPTraits< LBP12, Uniform >::tCode getMax ()
template<>
CLBPTraits< LBP12, RotMin >::tCode getMax ()
template<>
CLBPTraits< LBP12,
UniformRotMin >::tCode 
getMax ()
template<>
CLBPTraits< LBP16, Plain >::tCode getMax ()
template<>
CLBPTraits< LBP16, Uniform >::tCode getMax ()
template<>
CLBPTraits< LBP16, RotMin >::tCode getMax ()
template<>
CLBPTraits< LBP16,
UniformRotMin >::tCode 
getMax ()
template<>
CLBPTraits< LBP8, Plain >::tCode getMin ()
template<>
CLBPTraits< LBP8, Uniform >::tCode getMin ()
template<>
CLBPTraits< LBP8, RotMin >::tCode getMin ()
template<>
CLBPTraits< LBP8,
UniformRotMin >::tCode 
getMin ()
template<>
CLBPTraits< LBP12, Plain >::tCode getMin ()
template<>
CLBPTraits< LBP12, Uniform >::tCode getMin ()
template<>
CLBPTraits< LBP12, RotMin >::tCode getMin ()
template<>
CLBPTraits< LBP12,
UniformRotMin >::tCode 
getMin ()
template<>
CLBPTraits< LBP16, Plain >::tCode getMin ()
template<>
CLBPTraits< LBP16, Uniform >::tCode getMin ()
template<>
CLBPTraits< LBP16, RotMin >::tCode getMin ()
template<>
CLBPTraits< LBP16,
UniformRotMin >::tCode 
getMin ()
template<>
int getNumOfSamples ()
template<>
int getNumOfSamples ()
template<>
int getNumOfSamples ()
template<>
int getNumOfSamples ()
template<>
int getNumOfSamples ()
template<>
int getNumOfSamples ()
template<>
int getNumOfSamples ()
template<>
int getNumOfSamples ()
template<>
int getNumOfSamples ()
template<>
int getNumOfSamples ()
template<>
int getNumOfSamples ()
template<>
int getNumOfSamples ()
template<>
mds::img::tCoordinate getRadius ()
template<>
mds::img::tCoordinate getRadius ()
template<>
mds::img::tCoordinate getRadius ()
template<>
mds::img::tCoordinate getRadius ()
template<>
mds::img::tCoordinate getRadius ()
template<>
mds::img::tCoordinate getRadius ()
template<>
mds::img::tCoordinate getRadius ()
template<>
mds::img::tCoordinate getRadius ()
template<>
mds::img::tCoordinate getRadius ()
template<>
mds::img::tCoordinate getRadius ()
template<>
mds::img::tCoordinate getRadius ()
template<>
mds::img::tCoordinate getRadius ()

Static Public Member Functions

static tCode getMax ()
 Returns maximal allowed LBP code value.
static tCode getMin ()
 Returns minimal LBP code value.
static int getNumOfSamples ()
 Returns size of the LBP code.
static mds::img::tCoordinate getRadius ()
 Returns radius of the LBP feature.

Detailed Description

template<ECodeType Type, EMappingType Mapping = UniformRotMin>
class mds::lbp::CLBPTraits< Type, Mapping >

Type traits for LBP features.


Member Typedef Documentation

template<ECodeType Type, EMappingType Mapping = UniformRotMin>
typedef mds::SSelect<Type == LBP8, unsigned char, unsigned int>::RESULT mds::lbp::CLBPTraits< Type, Mapping >::tCode

Type used to store "raw" LBP code.


Member Enumeration Documentation

template<ECodeType Type, EMappingType Mapping = UniformRotMin>
anonymous enum

Size of the LBP code in bits (= number of samples).

Enumerator:
NumOfSamples 
template<ECodeType Type, EMappingType Mapping = UniformRotMin>
anonymous enum

Number of distinct codes produced by the mapping.

Enumerator:
NumOfCodes 

Member Function Documentation

template<ECodeType Type, EMappingType Mapping = UniformRotMin>
static tCode mds::lbp::CLBPTraits< Type, Mapping >::getMax ( ) [static]

Returns maximal allowed LBP code value.

template<ECodeType Type, EMappingType Mapping = UniformRotMin>
static tCode mds::lbp::CLBPTraits< Type, Mapping >::getMin ( ) [static]

Returns minimal LBP code value.

template<ECodeType Type, EMappingType Mapping = UniformRotMin>
static int mds::lbp::CLBPTraits< Type, Mapping >::getNumOfSamples ( ) [static]

Returns size of the LBP code.

template<ECodeType Type, EMappingType Mapping = UniformRotMin>
static mds::img::tCoordinate mds::lbp::CLBPTraits< Type, Mapping >::getRadius ( ) [static]

Returns radius of the LBP feature.


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