CVD 0.8
|
Basic image functionality. More...
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::SubImage< T > |
A generic image class to manage a block of arbitrarily padded data as an image. More... | |
class | CVD::BasicImage< T > |
A generic image class to manage a block of data as an image. More... | |
class | CVD::Image< T > |
A full image which manages its own data. More... | |
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. More... | |
class | CVD::ImageRef |
An (x,y) image co-ordinate. More... | |
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... | |
Namespaces | |
namespace | CVD::Interpolate |
Typedefs | |
typedef unsigned char | CVD::byte |
Functions | |
TooN::Vector< 2 > | CVD::vec (const ImageRef &ir) |
ImageRef | CVD::ir (const TooN::Vector< 2 > &v) |
ImageRef | CVD::ir_rounded (const TooN::Vector< 2 > &v) |
ImageRef | CVD::ir_rescale_rounded (const ImageRef &v, double rescaling_factor) |
Basic image functionality.
The CVD image classes provide fast and flexible access to images.
TooN::Vector<2> CVD::vec | ( | const ImageRef & | ir | ) | [inline] |
Convert an image co-ordinate into a Vector.
ir | The ImageRef to convert |
Definition at line 32 of file vector_image_ref.h.
References CVD::ImageRef::x, and CVD::ImageRef::y.
Referenced by CVD::interpolate_extremum(), CVD::interpolate_extremum_value(), and CVD::ir_rescale_rounded().
ImageRef CVD::ir | ( | const TooN::Vector< 2 > & | v | ) | [inline] |
Convert a Vector into an image co-ordinate.
Numbers are truncated, not rounded
v | The Vector to convert |
Definition at line 43 of file vector_image_ref.h.
ImageRef CVD::ir_rounded | ( | const TooN::Vector< 2 > & | v | ) | [inline] |
Convert a Vector into an image co-ordinate.
Numbers are rounded
v | The Vector to convert |
Definition at line 51 of file vector_image_ref.h.
Referenced by CVD::ir_rescale_rounded().
ImageRef CVD::ir_rescale_rounded | ( | const ImageRef & | v, |
double | rescaling_factor | ||
) | [inline] |
Rescale an ImageRef by a scaling factor.
v | The Vector to convert |
Definition at line 61 of file vector_image_ref.h.
References CVD::ir_rounded(), and CVD::vec().