MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Namespaces | Classes | Enumerations | Functions
mds::lbp Namespace Reference

Namespaces

namespace  CircularSampler

Classes

class  CBitOps
 Various routines for manipulating bits in integers. More...
class  CCircularSampler
 Class for getting along samples in a circular neighborhood around a given center pixel. More...
class  CCodeAccumulator
 Functor creates LBP code from samples. More...
class  CCodeExtractor
 Class extracts LBP code from a concrete image position. More...
class  CCodeExtractor< I, LBP8 >
 Class extracts LBP code from a concrete image position. More...
struct  CCodeExtractorBase
 Base class for all classes that extract LBP code from a concrete image position. More...
struct  CIsGreater
 Compares one LBP sample with a center value. More...
class  CLBPExtractor
 LBP extractor class that extracts LBP codes from an image region and makes histogram of them. More...
class  CLBPHistogram
 LBP feature vector - histogram of LBP codes extracted from an image region. More...
class  CLBPTraits
 Type traits for LBP features. More...
struct  CMappingBase
 Base class for implementation of different LBP mapping policies. More...
class  CNormLBPHistogram
 Normalized histogram of LBP codes (sum of all values = 1). More...
class  CPlain
 Plain LBP mapping - values are mapped to themselves. More...
class  CRotMin
 Rotation invariant LBP mapping. More...
class  CUniform
 Uniform LBP mapping - a LBP code is mapped to an index, if it contains at most two 1->0 or 0->1 transitions. More...
class  CUniformRotMin
 Uniform rotation invariant LBP mapping. More...
struct  SMappingSize
 Primary template. More...
struct  SMappingSize< LBP12, Plain >
struct  SMappingSize< LBP12, RotMin >
struct  SMappingSize< LBP12, Uniform >
struct  SMappingSize< LBP12, UniformRotMin >
struct  SMappingSize< LBP16, Plain >
struct  SMappingSize< LBP16, RotMin >
struct  SMappingSize< LBP16, Uniform >
struct  SMappingSize< LBP16, UniformRotMin >
struct  SMappingSize< LBP8, Plain >
struct  SMappingSize< LBP8, RotMin >
struct  SMappingSize< LBP8, Uniform >
struct  SMappingSize< LBP8, UniformRotMin >

Enumerations

enum  ECodeType { LBP8 = 8, LBP12 = 12, LBP16 = 16 }
 Currently supported types of LBP features. More...
enum  EMappingType { Plain = 0, Uniform = 1, RotMin = 2, UniformRotMin = Uniform | RotMin }
 Currently supported LBP mappings. More...

Functions

template<class I , ECodeType Type, template< ECodeType > class Mapping, class Function >
Function forEach (mds::img::CImageBase< I > &Image, Function Func)
 Function calls a given functor for every extracted LBP code.

Enumeration Type Documentation

Currently supported types of LBP features.

Enumerator:
LBP8 
LBP12 

Basic 8-bit LBP feature (8 samples, radius = 1).

LBP16 

LBP feature (12 samples, radius = 2.5).

Currently supported LBP mappings.

Enumerator:
Plain 
Uniform 
RotMin 
UniformRotMin 

Function Documentation

template<class I , ECodeType Type, template< ECodeType > class Mapping, class Function >
Function mds::lbp::forEach ( mds::img::CImageBase< I > &  Image,
Function  Func 
)

Function calls a given functor for every extracted LBP code.

  • Prepare a functor having the method void operator() (tSize x, tSize y, tCode Value).
  • Template parameter I is an image type.
  • Type specifies a concrete LBP.
  • Policy Mapping is used to normalize LBP codes.