|
libcvd
|
Basic image functionality. More...
Namespaces | |
| CVD::Interpolate | |
| Classes used to specify the interpolation type for image_interpolate. | |
Classes | |
| class | CVD::Argb< T > |
| A colour consisting of red, green, blue and alpha components. More... | |
| class | CVD::Bgrx< T > |
| A colour consisting of red, green, blue and dummy components, in the order bgr dummy in memory. More... | |
| class | CVD::BasicImage< T > |
| A generic image class to manage a block of arbitrarily padded data as an image. More... | |
| class | CVD::Image< T > |
| A full image which manages its own data. More... | |
| class | CVD::ImageRef |
| class | CVD::La< T > |
| A colour consisting of luminance and alpha components. More... | |
| class | CVD::Rgb< T > |
| A colour consisting of red, green and blue components. More... | |
| struct | CVD::Rgb8 |
| A 32-bit colour. More... | |
| class | CVD::Rgba< T > |
| A colour consisting of red, green, blue and alpha components. More... | |
Typedefs | |
| typedef unsigned char | CVD::byte |
| An 8-bit datatype. | |
Functions | |
| TooN::Vector< 2 > | CVD::vec (const ImageRef &ir) |
| Convert an image co-ordinate into a Vector. More... | |
| ImageRef | CVD::ir (const TooN::Vector< 2 > &v) |
| Convert a Vector into an image co-ordinate. More... | |
| ImageRef | CVD::ir_floor (const TooN::Vector< 2 > &v) |
| Convert a Vector into an image co-ordinate. More... | |
| ImageRef | CVD::ir_rounded (const TooN::Vector< 2 > &v) |
| Convert a Vector into an image co-ordinate. More... | |
| ImageRef | CVD::ir_rescale_rounded (const ImageRef &v, double rescaling_factor) |
| Rescale an ImageRef by a scaling factor. More... | |
Basic image functionality.
The CVD image classes provide fast and flexible access to images.
|
inline |
Convert a Vector into an image co-ordinate.
Numbers are truncated, not rounded
| v | The Vector to convert |
|
inline |
Convert a Vector into an image co-ordinate.
| v | The Vector to convert |
Rescale an ImageRef by a scaling factor.
| v | The Vector to convert |
|
inline |
Convert a Vector into an image co-ordinate.
Numbers are rounded
| v | The Vector to convert |
1.8.13