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

Difference of Gaussians image filter. More...

#include <mdsDoG.h>

Inheritance diagram for mds::img::CDoGFilter< 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

 CDoGFilter (double dSigma1=1.0, double dSigma2=1.5)
 Constructor that creates DoG filter.
tResult getResponse (const tImage &SrcImage, tSize x, tSize y)
 Returns filter response at specified image point.
void getSigmas (double &dSigma1, double &dSigma2) const
 Returns filter standard deviations.
bool operator() (const tImage &SrcImage, tImage &DstImage)
 Filtering of input/source image.
virtual bool operator() (const tImage &SrcImage, tImage &DstImage)=0
 Filtering of input/source image.
void setSigmas (double dSigma1, double dSigma2)
 Sets the standard deviations.
 ~CDoGFilter ()
 Destructor.

Protected Attributes

CGaussFilter< I > m_Gaussian1
 Gaussian filters.
CGaussFilter< I > m_Gaussian2

Detailed Description

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

Difference of Gaussians image filter.


Member Typedef Documentation

template<class I , template< typename > class N = CDefaultFilterPolicy>
typedef CNormImageFilter<I,N> mds::img::CDoGFilter< 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::CDoGFilter< 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::CDoGFilter< 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::CDoGFilter< 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::CDoGFilter< I, N >::CDoGFilter ( double  dSigma1 = 1.0,
double  dSigma2 = 1.5 
)

Constructor that creates DoG filter.

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

Destructor.


Member Function Documentation

template<class I , template< typename > class N = CDefaultFilterPolicy>
tResult mds::img::CDoGFilter< I, N >::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>
void CDoGFilter::getSigmas ( double &  dSigma1,
double &  dSigma2 
) const

Returns filter standard deviations.

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

Filtering of input/source image.

Point filter responses are written to the destination image.

  • Returns false on failure.
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<class I , template< typename > class N>
void CDoGFilter::setSigmas ( double  dSigma1,
double  dSigma2 
)

Sets the standard deviations.


Member Data Documentation

template<class I , template< typename > class N = CDefaultFilterPolicy>
CGaussFilter<I> mds::img::CDoGFilter< I, N >::m_Gaussian1 [protected]

Gaussian filters.

template<class I , template< typename > class N = CDefaultFilterPolicy>
CGaussFilter<I> mds::img::CDoGFilter< I, N >::m_Gaussian2 [protected]

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