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