MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Types | Public Member Functions | Static Public Attributes
mds::img::CLocalMoment22< I, N > Class Template Reference

Local moment. More...

#include <mdsLocalMoments.h>

Inheritance diagram for mds::img::CLocalMoment22< I, N >:
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 CNormImageFilter< I, Nbase
 Image filter base.
typedef base::tImage tImage
 Image type.
typedef base::tPixel tPixel
 Image pixel type.
typedef base::tResult tResult
 Filter response type.

Public Member Functions

 CLocalMoment22 ()
 Default constructor.
tResult getResponse (const tImage &SrcImage, tSize x, tSize y)
 Returns filter response at specified image point.
tSize getSize () const
 Returns filter standard deviation.
virtual bool operator() (const tImage &SrcImage, tImage &DstImage)=0
 Filtering of input/source image.
bool operator() (const tImage &SrcImage, tImage &DstImage)
 Filtering of input/source image.
 ~CLocalMoment22 ()
 Destructor.

Static Public Attributes

static const int DENOM = 4
 Number used to divide filter response.

Detailed Description

template<class I, template< typename > class N = CDefaultFilterPolicy>
class mds::img::CLocalMoment22< I, N >

Local moment.


Member Typedef Documentation

template<class I , template< typename > class N = CDefaultFilterPolicy>
typedef CNormImageFilter<I,N> mds::img::CLocalMoment22< I, N >::base

Image filter base.

Reimplemented from mds::img::CNormImageFilter< I, N >.

template<class I , template< typename > class N = CDefaultFilterPolicy>
typedef base::tImage mds::img::CLocalMoment22< I, N >::tImage

Image type.

Reimplemented from mds::img::CNormImageFilter< I, N >.

template<class I , template< typename > class N = CDefaultFilterPolicy>
typedef base::tPixel mds::img::CLocalMoment22< I, N >::tPixel

Image pixel type.

Reimplemented from mds::img::CNormImageFilter< I, N >.

template<class I , template< typename > class N = CDefaultFilterPolicy>
typedef base::tResult mds::img::CLocalMoment22< I, N >::tResult

Filter response type.

Reimplemented from mds::img::CNormImageFilter< I, N >.


Member Enumeration Documentation

template<class I>
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 , template< typename > class N = CDefaultFilterPolicy>
mds::img::CLocalMoment22< I, N >::CLocalMoment22 ( )

Default constructor.

template<class I , template< typename > class N = CDefaultFilterPolicy>
mds::img::CLocalMoment22< I, N >::~CLocalMoment22 ( )

Destructor.


Member Function Documentation

template<typename I , template< typename > class N>
CLocalMoment22< I, N >::tResult CLocalMoment22::getResponse ( const tImage SrcImage,
tSize  x,
tSize  y 
)

Returns filter response at specified image point.

  • Value is not normalized!
template<class I , template< typename > class N = CDefaultFilterPolicy>
tSize mds::img::CLocalMoment22< I, N >::getSize ( ) const

Returns filter standard deviation.

virtual bool mds::img::CNormImageFilter< I, N >::operator() ( const tImage SrcImage,
tImage DstImage 
) [pure virtual, inherited]

Filtering of input/source image.

  • Returns false on failure.

Implements mds::img::CImageFilter< I >.

template<typename I , template< typename > class N>
bool CLocalMoment22::operator() ( const tImage SrcImage,
tImage DstImage 
)

Filtering of input/source image.

Point filter responses are written to the destination image.

  • Returns false on failure.

Member Data Documentation

template<class I , template< typename > class N = CDefaultFilterPolicy>
const int mds::img::CLocalMoment22< I, N >::DENOM = 4 [static]

Number used to divide filter response.


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