CVD 0.8
Public Member Functions
CVD::image_interpolate< I, P > Class Template Reference

This is a generic interpolation class which wraps in image and provides a similar interface for floating point pixel positions. More...

#include <image_interpolate.h>

List of all members.

Public Member Functions

 image_interpolate (const BasicImage< P > &i)
bool in_image (const TooN::Vector< 2 > &pos) const
float_type operator[] (const TooN::Vector< 2 > &pos) const
TooN::Vector< 2 > min () const
TooN::Vector< 2 > max () const

Detailed Description

template<class I, class P>
class CVD::image_interpolate< I, P >

This is a generic interpolation class which wraps in image and provides a similar interface for floating point pixel positions.

Parameters:
IThe interpolation type. See CVD::Interpolate for available types.
PThe pixel type.

Definition at line 65 of file image_interpolate.h.


Constructor & Destructor Documentation

template<class I , class P >
CVD::image_interpolate< I, P >::image_interpolate ( const BasicImage< P > &  i)

Construct the class.

Parameters:
iThe image to be interpolated.

Member Function Documentation

template<class I , class P >
bool CVD::image_interpolate< I, P >::in_image ( const TooN::Vector< 2 > &  pos) const

Is this pixel inside the image?

Parameters:
posThe coordinate to test.
template<class I , class P >
float_type CVD::image_interpolate< I, P >::operator[] ( const TooN::Vector< 2 > &  pos) const

Access the pixel at pos, with interpolation.

Bounds checking is the same as for CVD::Image.

Parameters:
posThe pixel to access

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