MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Types | Public Member Functions | Public Attributes
mds::lbp::CCodeExtractor< I, Type > Class Template Reference

Class extracts LBP code from a concrete image position. More...

#include <mdsOperators.h>

Inheritance diagram for mds::lbp::CCodeExtractor< I, Type >:
Inheritance graph
[legend]

List of all members.

Public Types

enum  { TEMPLATE_PARAMETER_IS_NOT_IMAGE = I::CLASS_IMAGE }
 Check that I is an image. More...
typedef CCodeExtractorBase< I,
Type > 
tBase
typedef tBase::tCode tCode
 Type representing LBP code.
typedef tBase::tImage tImage
 Image type.
typedef tBase::tPixel tPixel
 Image pixel type.

Public Member Functions

 CCodeExtractor ()
 Default constructor.
tCode extract (tSize x, tSize y)
 Extracts LBP code at a specified position.
tImagegetImage ()
 Returns pointer to the input image.
CCodeExtractorsetImage (tImage *pImage)
 Sets the input image.

Public Attributes

CCircularSampler< tImagem_Sampler
 Circular sampler.

Detailed Description

template<class I, ECodeType Type>
class mds::lbp::CCodeExtractor< I, Type >

Class extracts LBP code from a concrete image position.


Member Typedef Documentation

template<class I , ECodeType Type>
typedef CCodeExtractorBase<I,Type> mds::lbp::CCodeExtractor< I, Type >::tBase
template<class I , ECodeType Type>
typedef tBase::tCode mds::lbp::CCodeExtractor< I, Type >::tCode

Type representing LBP code.

Reimplemented from mds::lbp::CCodeExtractorBase< I, Type >.

template<class I , ECodeType Type>
typedef tBase::tImage mds::lbp::CCodeExtractor< I, Type >::tImage

Image type.

Reimplemented from mds::lbp::CCodeExtractorBase< I, Type >.

template<class I , ECodeType Type>
typedef tBase::tPixel mds::lbp::CCodeExtractor< I, Type >::tPixel

Image pixel type.

Reimplemented from mds::lbp::CCodeExtractorBase< I, Type >.


Member Enumeration Documentation

template<class I, ECodeType Type>
anonymous enum [inherited]

Check that I is an image.

You will see name of this enum somewhere in compiler error message if the type I is not image.

Enumerator:
TEMPLATE_PARAMETER_IS_NOT_IMAGE 

Constructor & Destructor Documentation

template<class I , ECodeType Type>
mds::lbp::CCodeExtractor< I, Type >::CCodeExtractor ( )

Default constructor.


Member Function Documentation

template<class I , ECodeType Type>
tCode mds::lbp::CCodeExtractor< I, Type >::extract ( tSize  x,
tSize  y 
)

Extracts LBP code at a specified position.

  • Image must be set!
template<class I , ECodeType Type>
tImage* mds::lbp::CCodeExtractor< I, Type >::getImage ( )

Returns pointer to the input image.

template<class I , ECodeType Type>
CCodeExtractor& mds::lbp::CCodeExtractor< I, Type >::setImage ( tImage pImage)

Sets the input image.


Member Data Documentation

template<class I , ECodeType Type>
CCircularSampler<tImage> mds::lbp::CCodeExtractor< I, Type >::m_Sampler

Circular sampler.


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