#include <image_interpolate.h>
| 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 () |
| 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 | ) |
Is this pixel inside the image?
| pos | The coordinate to test. |
| 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.
| pos | The pixel to access |
| TooN::Vector<2> CVD::image_interpolate< I, P >::min | ( | ) |
Return the minimum value for which in_image returns true.
| TooN::Vector<2> CVD::image_interpolate< I, P >::max | ( | ) |
Return the first value for which in_image returns false.
1.5.3