|
CVD 0.8
|
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>
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 |
This is a generic interpolation class which wraps in image and provides a similar interface for floating point pixel positions.
| I | The interpolation type. See CVD::Interpolate for available types. |
| P | The pixel type. |
Definition at line 65 of file image_interpolate.h.
| CVD::image_interpolate< I, P >::image_interpolate | ( | const BasicImage< P > & | i | ) |
Construct the class.
| i | The image to be interpolated. |
| bool CVD::image_interpolate< I, P >::in_image | ( | const TooN::Vector< 2 > & | pos | ) | const |
Is this pixel inside the image?
| pos | The coordinate to test. |
| 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.
| pos | The pixel to access |
1.7.4