libcvd
Namespaces | Classes | Typedefs | Functions
Image storage and manipulation

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...
 

Detailed Description

Basic image functionality.

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

Function Documentation

◆ ir()

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

◆ ir_floor()

ImageRef CVD::ir_floor ( const TooN::Vector< 2 > &  v)
inline

Convert a Vector into an image co-ordinate.

Parameters
vThe Vector to convert

◆ 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

◆ ir_rounded()

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

◆ vec()

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

Convert an image co-ordinate into a Vector.

Parameters
irThe ImageRef to convert