MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Anisotropic filtering based on the diffusion process. More...
#include <mdsAnisotropic.h>
Public Types | |
enum | { TEMPLATE_PARAMETER_IS_NOT_IMAGE = I::CLASS_IMAGE } |
Check that I is an image. More... | |
typedef CImageFilter< I > | base |
Base types. | |
typedef base::tImage | tImage |
Image type. | |
typedef base::tPixel | tPixel |
Image pixel type. | |
Public Member Functions | |
CAnisotropicFilter (double dKappa, tSize NumOfIters=-1) | |
Constructor. | |
tSize | getNumOfIters () const |
Returns number of iterations of diffusion process. | |
bool | operator() (const tImage &SrcImage, tImage &DstImage) |
Filtering of input/source image. | |
void | setNumOfIters (tSize NumOfIters) |
Sets the number of iterations of diffusion process. | |
~CAnisotropicFilter () | |
Destructor. | |
Static Public Attributes | |
static const double | DT = 0.125 |
static const double | MIN_CHANGE = 0.1 |
Protected Member Functions | |
double | getDiffusionStrength (double dGrad) |
Returns value of the diffusion function. | |
Protected Attributes | |
double | m_dInvKappa |
double | m_dKappa |
Filter parameters. | |
tSize | m_NumOfIters |
Number of iterations of the diffusion process. |
Anisotropic filtering based on the diffusion process.
typedef CImageFilter<I> mds::img::CAnisotropicFilter< I >::base |
Base types.
typedef base::tImage mds::img::CAnisotropicFilter< I >::tImage |
Image type.
Reimplemented from mds::img::CImageFilter< I >.
typedef base::tPixel mds::img::CAnisotropicFilter< I >::tPixel |
Image pixel type.
Reimplemented from mds::img::CImageFilter< I >.
anonymous enum [inherited] |
mds::img::CAnisotropicFilter< I >::CAnisotropicFilter | ( | double | dKappa, |
tSize | NumOfIters = -1 |
||
) |
Constructor.
mds::img::CAnisotropicFilter< I >::~CAnisotropicFilter | ( | ) |
Destructor.
double CAnisotropicFilter::getDiffusionStrength | ( | double | dGrad | ) | [protected] |
Returns value of the diffusion function.
tSize mds::img::CAnisotropicFilter< I >::getNumOfIters | ( | ) | const |
Returns number of iterations of diffusion process.
bool CAnisotropicFilter::operator() | ( | const tImage & | SrcImage, |
tImage & | DstImage | ||
) | [virtual] |
Filtering of input/source image.
Point filter responses are written to the destination image.
Implements mds::img::CImageFilter< I >.
void mds::img::CAnisotropicFilter< I >::setNumOfIters | ( | tSize | NumOfIters | ) |
Sets the number of iterations of diffusion process.
const double CAnisotropicFilter::DT = 0.125 [static] |
double mds::img::CAnisotropicFilter< I >::m_dInvKappa [protected] |
double mds::img::CAnisotropicFilter< I >::m_dKappa [protected] |
Filter parameters.
tSize mds::img::CAnisotropicFilter< I >::m_NumOfIters [protected] |
Number of iterations of the diffusion process.
const double CAnisotropicFilter::MIN_CHANGE = 0.1 [static] |