MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Template providing median image filtering functions. More...
#include <mdsMedian.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 | |
CMedianFilter (tSize Size) | |
Constructor that creates a new median filter. | |
tPixel | getResponse (const tImage &SrcImage, tSize x, tSize y) |
Returns filter response at specified image point. | |
tSize | getSize () const |
Returns current median size. | |
bool | operator() (const tImage &SrcImage, tImage &DstImage) |
Median image filtering. | |
void | resize (tSize Size) |
Sets the windows size. | |
~CMedianFilter () | |
Destructor. | |
Protected Attributes | |
mds::base::CData< tPixel > | m_Data |
Internal data buffer. | |
tSize | m_MedianSize |
Median filter size. |
Template providing median image filtering functions.
typedef CImageFilter<I> mds::img::CMedianFilter< I >::base |
Image filter base.
typedef base::tImage mds::img::CMedianFilter< I >::tImage |
Image type.
Reimplemented from mds::img::CImageFilter< I >.
typedef base::tPixel mds::img::CMedianFilter< I >::tPixel |
Image pixel type.
Reimplemented from mds::img::CImageFilter< I >.
anonymous enum [inherited] |
mds::img::CMedianFilter< I >::CMedianFilter | ( | tSize | Size | ) |
Constructor that creates a new median filter.
mds::img::CMedianFilter< I >::~CMedianFilter | ( | ) |
Destructor.
CMedianFilter< I >::tPixel CMedianFilter::getResponse | ( | const tImage & | SrcImage, |
tSize | x, | ||
tSize | y | ||
) |
Returns filter response at specified image point.
tSize mds::img::CMedianFilter< I >::getSize | ( | ) | const |
Returns current median size.
void mds::img::CMedianFilter< I >::resize | ( | tSize | Size | ) |
Sets the windows size.
mds::base::CData<tPixel> mds::img::CMedianFilter< I >::m_Data [protected] |
Internal data buffer.
tSize mds::img::CMedianFilter< I >::m_MedianSize [protected] |
Median filter size.