MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Sinc interpolation. 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. | |
Public Member Functions | |
CSinc () | |
Default constructor. | |
tPixel | interpolate (const tImage &Image, tCoordinate x, tCoordinate y) |
Returns the interpolated subpixel value. | |
Protected Member Functions | |
tCoordinate | calcWeight (tCoordinate x) |
Calculates concrete pixel weight (0<x<1). |
Sinc interpolation.
typedef CImageInterpolator<I> mds::img::CSinc< I >::tBase |
Base types.
typedef tBase::tImage mds::img::CSinc< I >::tImage |
Image type.
Reimplemented from mds::img::CImageInterpolator< I >.
typedef tBase::tPixel mds::img::CSinc< I >::tPixel |
Image pixel type.
Reimplemented from mds::img::CImageInterpolator< I >.
anonymous enum [inherited] |
mds::img::CSinc< I >::CSinc | ( | ) |
Default constructor.
tCoordinate mds::img::CSinc< I >::calcWeight | ( | tCoordinate | x | ) | [protected] |
Calculates concrete pixel weight (0<x<1).
tPixel mds::img::CSinc< I >::interpolate | ( | const tImage & | Image, |
tCoordinate | x, | ||
tCoordinate | y | ||
) |
Returns the interpolated subpixel value.