![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
LBP extractor class that extracts LBP codes from an image region and makes histogram of them. More...
#include <mdsExtractor.h>

Public Types | |
| enum | |
| Check that V is a feature vector type. More... | |
| typedef mds::img::CFeatureExtractor < CNormLBPHistogram< Mapping < Type >::Size > > | tBase |
| Base types. | |
| typedef CCodeExtractor< I, Type > | tCodeExtractor |
| LBP code extractor. | |
| typedef tBase::tFeature | tFeature |
| Type representing single feature. | |
| typedef CLBPHistogram< Mapping < Type >::Size > | tHistogram |
| Histogram of extracted LBP codes. | |
| typedef tCodeExtractor::tImage | tImage |
| Image type. | |
| typedef Mapping< Type > | tMapping |
| Mapping type. | |
| typedef tBase::tVector | tVector |
| Feature vector. | |
Public Member Functions | |
| void | accumulate (tSize x, tSize y) |
| Extracts and acumulates LBP code at a given pixel position. | |
| void | accumulate (const CLBPExtractor &Extractor) |
| Acumulates LBP codes from a given feature extractor. | |
| void | accumulate (tImage *pImage) |
| Extracts and acumulates LBP codes from a given image. | |
| CLBPExtractor () | |
| Default constructor. | |
| CLBPExtractor (const CLBPExtractor &Extractor) | |
| Copy constructor. | |
| void | clear () |
| Clears all internal statistics. | |
| void | evaluate (tVector &Vector) |
| Evaluates feature vector (normalized LBP histogram) according to the acumulated LBP codes. | |
| tHistogram & | getHistogram () |
| Returns reference to the current histogram of LBP codes. | |
| const tHistogram & | getHistogram () const |
| CLBPExtractor & | operator= (const CLBPExtractor &Extractor) |
| Assignement operator. | |
| CLBPExtractor & | setImage (tImage *pImage) |
| Sets the input image. | |
| ~CLBPExtractor () | |
| Destructor. | |
Protected Attributes | |
| tCodeExtractor | m_CodeExt |
| LBP extractor. | |
| tHistogram | m_Hist |
| Histogram of previously extracted LBP codes. | |
LBP extractor class that extracts LBP codes from an image region and makes histogram of them.
| typedef mds::img::CFeatureExtractor<CNormLBPHistogram<Mapping<Type>::Size> > mds::lbp::CLBPExtractor< I, Type, Mapping >::tBase |
Base types.
| typedef CCodeExtractor<I,Type> mds::lbp::CLBPExtractor< I, Type, Mapping >::tCodeExtractor |
LBP code extractor.
| typedef tBase::tFeature mds::lbp::CLBPExtractor< I, Type, Mapping >::tFeature |
Type representing single feature.
Reimplemented from mds::img::CFeatureExtractor< CNormLBPHistogram< Mapping< Type >::Size > >.
| typedef CLBPHistogram<Mapping<Type>::Size> mds::lbp::CLBPExtractor< I, Type, Mapping >::tHistogram |
Histogram of extracted LBP codes.
| typedef tCodeExtractor::tImage mds::lbp::CLBPExtractor< I, Type, Mapping >::tImage |
Image type.
| typedef Mapping<Type> mds::lbp::CLBPExtractor< I, Type, Mapping >::tMapping |
Mapping type.
| typedef tBase::tVector mds::lbp::CLBPExtractor< I, Type, Mapping >::tVector |
Feature vector.
Reimplemented from mds::img::CFeatureExtractor< CNormLBPHistogram< Mapping< Type >::Size > >.
anonymous enum [inherited] |
Check that V is a feature vector type.
You will see name of this enum somewhere in compiler error message if the type V can't be used.
| mds::lbp::CLBPExtractor< I, Type, Mapping >::CLBPExtractor | ( | ) |
Default constructor.
| CLBPExtractor::CLBPExtractor | ( | const CLBPExtractor< I, Type, Mapping > & | Extractor | ) |
Copy constructor.
| mds::lbp::CLBPExtractor< I, Type, Mapping >::~CLBPExtractor | ( | ) |
Destructor.
| void CLBPExtractor::accumulate | ( | tSize | x, |
| tSize | y | ||
| ) |
Extracts and acumulates LBP code at a given pixel position.
| void CLBPExtractor::accumulate | ( | const CLBPExtractor< I, Type, Mapping > & | Extractor | ) |
Acumulates LBP codes from a given feature extractor.
| void CLBPExtractor::accumulate | ( | tImage * | pImage | ) |
Extracts and acumulates LBP codes from a given image.
| void CLBPExtractor::clear | ( | ) |
Clears all internal statistics.
| void CLBPExtractor::evaluate | ( | tVector & | Vector | ) |
Evaluates feature vector (normalized LBP histogram) according to the acumulated LBP codes.
| tHistogram& mds::lbp::CLBPExtractor< I, Type, Mapping >::getHistogram | ( | ) |
Returns reference to the current histogram of LBP codes.
| const tHistogram& mds::lbp::CLBPExtractor< I, Type, Mapping >::getHistogram | ( | ) | const |
| CLBPExtractor< I, Type, Mapping > & CLBPExtractor::operator= | ( | const CLBPExtractor< I, Type, Mapping > & | Extractor | ) |
Assignement operator.
| CLBPExtractor& mds::lbp::CLBPExtractor< I, Type, Mapping >::setImage | ( | tImage * | pImage | ) |
Sets the input image.
tCodeExtractor mds::lbp::CLBPExtractor< I, Type, Mapping >::m_CodeExt [protected] |
LBP extractor.
tHistogram mds::lbp::CLBPExtractor< I, Type, Mapping >::m_Hist [protected] |
Histogram of previously extracted LBP codes.
1.7.6.1