MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
The simplest nearest neighbour interpolator. More...
#include <mdsInterpolate.h>
Public Types | |
enum | { TEMPLATE_PARAMETER_IS_NOT_IMAGE = I::CLASS_IMAGE } |
Check that I is an image. More... | |
typedef CImageInterpolator< I > | tBase |
Base types. | |
typedef tBase::tImage | tImage |
Image type. | |
typedef tBase::tPixel | tPixel |
Image pixel type. | |
Static Public Member Functions | |
static tPixel | interpolate (const tImage &Image, tCoordinate x, tCoordinate y) |
Returns the interpolated subpixel value. |
The simplest nearest neighbour interpolator.
typedef CImageInterpolator<I> mds::img::CNearest< I >::tBase |
Base types.
typedef tBase::tImage mds::img::CNearest< I >::tImage |
Image type.
Reimplemented from mds::img::CImageInterpolator< I >.
typedef tBase::tPixel mds::img::CNearest< I >::tPixel |
Image pixel type.
Reimplemented from mds::img::CImageInterpolator< I >.
anonymous enum [inherited] |
static tPixel mds::img::CNearest< I >::interpolate | ( | const tImage & | Image, |
tCoordinate | x, | ||
tCoordinate | y | ||
) | [static] |
Returns the interpolated subpixel value.