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

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

#include <mdsOperators.h>

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

List of all members.

Public Types

enum  
 Check that I is an image. More...
typedef CCodeExtractorBase< I,
LBP8
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 () const
 Returns the input image.
CCodeExtractorsetImage (tImage *pImage)
 Sets input image.

Public Attributes

tImage::tSmartPtr m_spImage
 Input image.

Detailed Description

template<class I>
class mds::lbp::CCodeExtractor< I, LBP8 >

Class extracts LBP code from a concrete image position.


Member Typedef Documentation

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

Type representing LBP code.

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

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

Image type.

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

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

Image pixel type.

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


Member Enumeration Documentation

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.


Constructor & Destructor Documentation

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

Default constructor.


Member Function Documentation

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

Extracts LBP code at a specified position.

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

Returns the input image.

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

Sets input image.


Member Data Documentation

template<class I >
tImage::tSmartPtr mds::lbp::CCodeExtractor< I, LBP8 >::m_spImage

Input image.


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