CVD 0.8
Classes | Namespaces | Typedefs | Functions
Image storage and manipulation

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)

Detailed Description

Basic image functionality.

The CVD image classes provide fast and flexible access to images.


Function Documentation

TooN::Vector<2> CVD::vec ( const ImageRef &  ir) [inline]

Convert an image co-ordinate into a Vector.

Parameters:
irThe 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

Parameters:
vThe 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

Parameters:
vThe 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.

Parameters:
vThe Vector to convert

Definition at line 61 of file vector_image_ref.h.

References CVD::ir_rounded(), and CVD::vec().