CVD::image_interpolate< I, P > Class Template Reference
[Image storage and manipulation]

#include <image_interpolate.h>

List of all members.


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:
I The interpolation type. See CVD::Interpolate for available types.
P The pixel type.

Definition at line 65 of file image_interpolate.h.


Public Member Functions

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

Constructor & Destructor Documentation

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

Construct the class.

Parameters:
i The 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  ) 

Is this pixel inside the image?

Parameters:
pos The coordinate to test.

template<class I, class P>
float_type CVD::image_interpolate< I, P >::operator[] ( const TooN::Vector< 2 > &  pos  ) 

Access the pixel at pos, with interpolation.

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

Parameters:
pos The pixel to access

template<class I, class P>
TooN::Vector<2> CVD::image_interpolate< I, P >::min (  ) 

Return the minimum value for which in_image returns true.

template<class I, class P>
TooN::Vector<2> CVD::image_interpolate< I, P >::max (  ) 

Return the first value for which in_image returns false.


The documentation for this class was generated from the following file:
Generated on Wed Feb 18 10:23:07 2009 for CVD by  doxygen 1.5.3