Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
Bial::NearestInterpolation Class Reference

#include <PixelInterpolation.hpp>

Inheritance diagram for Bial::NearestInterpolation:
Inheritance graph
Collaboration diagram for Bial::NearestInterpolation:
Collaboration graph

Public Member Functions

template<class D >
operator() (const Image< D > &img, float x, float y) const
 Computes and returns nearest pixel interpolation of given coordinates in img. More...
 
int operator() (const Image< int > &img, float x, float y) const
 Computes and returns nearest pixel interpolation of given coordinates in img. More...
 
llint operator() (const Image< llint > &img, float x, float y) const
 
float operator() (const Image< float > &img, float x, float y) const
 
double operator() (const Image< double > &img, float x, float y) const
 
template<class D >
operator() (const Image< D > &img, float x, float y, float z) const
 
int operator() (const Image< int > &img, float x, float y, float z) const
 
llint operator() (const Image< llint > &img, float x, float y, float z) const
 
float operator() (const Image< float > &img, float x, float y, float z) const
 
double operator() (const Image< double > &img, float x, float y, float z) const
 
- Public Member Functions inherited from Bial::PixelInterpolation
virtual ~PixelInterpolation ()
 Virtual destructor required for virtual classes. More...
 

Detailed Description

Definition at line 56 of file PixelInterpolation.hpp.

Member Function Documentation

template<class D >
D Bial::NearestInterpolation::operator() ( const Image< D > &  img,
float  x,
float  y 
) const

Computes and returns nearest pixel interpolation of given coordinates in img.

Date
2014/Aug/17
Parameters
imgAn image.
x,y,zPixel coordinates in original.
Returns
The nearest pixel interpolation of given coordinates in img.
Warning
none.

Definition at line 119 of file PixelInterpolation.hpp.

int Bial::NearestInterpolation::operator() ( const Image< int > &  img,
float  x,
float  y 
) const
virtual

Computes and returns nearest pixel interpolation of given coordinates in img.

Date
2014/Aug/17
Parameters
imgAn image.
x,y,zPixel coordinates in original.
Returns
The nearest pixel interpolation of given coordinates in img.
Warning
none.

Implements Bial::PixelInterpolation.

llint Bial::NearestInterpolation::operator() ( const Image< llint > &  img,
float  x,
float  y 
) const
virtual
float Bial::NearestInterpolation::operator() ( const Image< float > &  img,
float  x,
float  y 
) const
virtual
double Bial::NearestInterpolation::operator() ( const Image< double > &  img,
float  x,
float  y 
) const
virtual
template<class D >
D Bial::NearestInterpolation::operator() ( const Image< D > &  img,
float  x,
float  y,
float  z 
) const

Definition at line 180 of file PixelInterpolation.hpp.

int Bial::NearestInterpolation::operator() ( const Image< int > &  img,
float  x,
float  y,
float  z 
) const
virtual
llint Bial::NearestInterpolation::operator() ( const Image< llint > &  img,
float  x,
float  y,
float  z 
) const
virtual
float Bial::NearestInterpolation::operator() ( const Image< float > &  img,
float  x,
float  y,
float  z 
) const
virtual
double Bial::NearestInterpolation::operator() ( const Image< double > &  img,
float  x,
float  y,
float  z 
) const
virtual

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