MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Types | Static Public Member Functions
mds::img::CBilinear< I > Class Template Reference

Bilinear interpolation. More...

#include <mdsInterpolate.h>

Inheritance diagram for mds::img::CBilinear< I >:
Inheritance graph
[legend]

List of all members.

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.

Detailed Description

template<class I>
class mds::img::CBilinear< I >

Bilinear interpolation.


Member Typedef Documentation

template<class I >
typedef CImageInterpolator<I> mds::img::CBilinear< I >::tBase

Base types.

template<class I >
typedef tBase::tImage mds::img::CBilinear< I >::tImage

Image type.

Reimplemented from mds::img::CImageInterpolator< I >.

template<class I >
typedef tBase::tPixel mds::img::CBilinear< I >::tPixel

Image pixel type.

Reimplemented from mds::img::CImageInterpolator< I >.


Member Enumeration Documentation

template<class I >
anonymous enum [inherited]

Check that I is an image.

You will see name of this enum somewhere in compiler error message if the type I is not image.

Enumerator:
TEMPLATE_PARAMETER_IS_NOT_IMAGE 

Member Function Documentation

template<class I >
static tPixel mds::img::CBilinear< I >::interpolate ( const tImage Image,
tCoordinate  x,
tCoordinate  y 
) [static]

Returns the interpolated subpixel value.


The documentation for this class was generated from the following file: