MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Averaging image filter (5x5 version). More...
#include <mdsAveraging.h>
Public Types | |
enum | { TEMPLATE_PARAMETER_IS_NOT_IMAGE = I::CLASS_IMAGE } |
Check that I is an image. More... | |
typedef CImageFilter< I > | base |
Image filter base. | |
typedef base::tImage | tImage |
Image type. | |
typedef base::tPixel | tPixel |
Image pixel type. | |
Public Member Functions | |
CAvg5Filter () | |
Default constructor. | |
tPixel | getResponse (const tImage &SrcImage, tSize x, tSize y) |
Returns filter response at specified image point. | |
tSize | getSize () const |
Returns filter standard deviation. | |
bool | operator() (const tImage &SrcImage, tImage &DstImage) |
Filtering of input/source image. | |
~CAvg5Filter () | |
Destructor. | |
Static Public Attributes | |
static const int | DENOM = 81 |
Number used to divide filter response. | |
static const CKernel2D::tData | KERNEL [] |
Filter kernel. |
Averaging image filter (5x5 version).
typedef CImageFilter<I> mds::img::CAvg5Filter< I >::base |
Image filter base.
typedef base::tImage mds::img::CAvg5Filter< I >::tImage |
Image type.
Reimplemented from mds::img::CImageFilter< I >.
typedef base::tPixel mds::img::CAvg5Filter< I >::tPixel |
Image pixel type.
Reimplemented from mds::img::CImageFilter< I >.
anonymous enum [inherited] |
mds::img::CAvg5Filter< I >::CAvg5Filter | ( | ) |
Default constructor.
mds::img::CAvg5Filter< I >::~CAvg5Filter | ( | ) |
Destructor.
CAvg5Filter< I >::tPixel CAvg5Filter::getResponse | ( | const tImage & | SrcImage, |
tSize | x, | ||
tSize | y | ||
) |
Returns filter response at specified image point.
tSize mds::img::CAvg5Filter< I >::getSize | ( | ) | const |
Returns filter standard deviation.
const int mds::img::CAvg5Filter< I >::DENOM = 81 [static] |
Number used to divide filter response.
const CKernel2D::tData CAvg5Filter::KERNEL [static] |
{ 1.0f, 2.0f, 3.0f, 2.0f, 1.0f, 2.0f, 4.0f, 6.0f, 4.0f, 2.0f, 3.0f, 6.0f, 9.0f, 6.0f, 3.0f, 2.0f, 4.0f, 6.0f, 4.0f, 2.0f, 1.0f, 2.0f, 3.0f, 2.0f, 1.0f }
Filter kernel.