irtkNearestNeighborInterpolateImageFunction2D Class Reference

#include <irtkNearestNeighborInterpolateImageFunction2D.h>

Inheritance diagram for irtkNearestNeighborInterpolateImageFunction2D:

Inheritance graph
[legend]
Collaboration diagram for irtkNearestNeighborInterpolateImageFunction2D:

Collaboration graph
[legend]

List of all members.


Detailed Description

Class for nearest neighbor interpolation of images.

This class defines and implements the nearest neighbor interpolation of images.

Definition at line 24 of file irtkNearestNeighborInterpolateImageFunction2D.h.


Public Member Functions

 irtkNearestNeighborInterpolateImageFunction2D ()
 Constructor.
 ~irtkNearestNeighborInterpolateImageFunction2D ()
 Destructor.
virtual const char * NameOfClass ()
 Returns the name of the class.
virtual void Initialize ()
 Initialize.
virtual double Evaluate (double, double, double=0, double=0)
 Evaluate.
virtual double EvaluateInside (double, double, double=0, double=0)
 Evaluate the filter at an arbitrary image location (in pixels) without handling boundary conditions.

Member Function Documentation

virtual double irtkNearestNeighborInterpolateImageFunction2D::EvaluateInside ( double  ,
double  ,
double  = 0,
double  = 0 
) [virtual]

Evaluate the filter at an arbitrary image location (in pixels) without handling boundary conditions.

This version is faster than the method above, but is only defined inside the image domain.

Implements irtkInterpolateImageFunction.


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