STIRA  0.1
Public Member Functions | List of all members
stira::imagetools::NearestNeighborInterpolator Class Reference

child class for Nearest Neighbor interpolation More...

#include <NearestNeighborInterpolator.h>

Inheritance diagram for stira::imagetools::NearestNeighborInterpolator:
stira::imagetools::Interpolator

Public Member Functions

 NearestNeighborInterpolator ()
 constructor
 
virtual ~NearestNeighborInterpolator ()
 destructor
 
virtual double Run (ArrayGrid< double > *pGrid, double x, double y)
 Runs interpolation. More...
 
- Public Member Functions inherited from stira::imagetools::Interpolator
 Interpolator ()
 constructor
 
virtual ~Interpolator ()
 destructor
 

Detailed Description

child class for Nearest Neighbor interpolation

Member Function Documentation

double stira::imagetools::NearestNeighborInterpolator::Run ( ArrayGrid< double > *  pGrid,
double  x,
double  y 
)
virtual

Runs interpolation.

Parameters
pGridgrid in which to interpolate
xx coordinate of point to be interpolated
yy coordinate of point to be interpolated

Implements stira::imagetools::Interpolator.

References stira::imagedata::ArrayGrid< T >::GetValue().

Referenced by stira::imagetools::NumberGridTools< T >::LogPolarTransform().


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