Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
ByteBGRXValueC::ByteBGRXValueC(GreyValueT,GreyValueT,GreyValueT,GreyValueT)
ByteBGRXValueC::ByteBGRXValueC(const ByteRGBValueC &,GreyValueT)
ByteBGRXValueC::Set(GreyValueT,GreyValueT,GreyValueT,GreyValueT)
ByteBGRXValueC::ByteRGB(void) const
ByteBGRXValueC::Red(void) const
ByteBGRXValueC::Green(void) const
ByteBGRXValueC::Blue(void) const
ByteBGRXValueC::X(void) const
ByteBGRXValueC::Red(void)
ByteBGRXValueC::Green(void)
ByteBGRXValueC::Blue(void)
ByteBGRXValueC::X(void)
ByteBGRXValueC
 
Integer BGRX colour value.
 
include "amma/Image/BGRXValue.hh"
User Level:Default
Library:VidIO
Example:exImgSeq.cc
Section:Image.Image IO
In Scope:std

Comments:
The class ByteBGRXValueC represents colour by a quadruple of integer numbers inside of the range 0-255. The quadruple is related to the general RGB representation of colour. This colour is useful mainly for building applications with colour grabbers.

Variables:
ByteGreyValueT blue;
The blue component of the colour.

ByteGreyValueT green;
The green component of the colour.

ByteGreyValueT red;
The red component of the colour.

ByteGreyValueT fourthX;
The fourth component of the colour.

Methods:
ByteBGRXValueC(GreyValueT r = BLACK,GreyValueT g = BLACK,GreyValueT b = BLACK,GreyValueT x = BLACK)
Constructs a colour from four colour component. This constructor serves also as the default constructor.

ByteBGRXValueC(const ByteRGBValueC & rgb,GreyValueT x = BLACK)
Creates the colour from the triple RGB colour 'rgb' and the fourth colour component 'x'.

const ByteBGRXValueC & Set(GreyValueT r,GreyValueT g,GreyValueT b,GreyValueT x = BLACK)
Sets the red, green, blue, and X colour compoments according to the values 'r', 'g', 'b', and 'x' respectively.

ByteRGBValueC ByteRGB() const
Get a RGB pixel value.
Access to the colour components -------------------------------

const ByteGreyValueT & Red() const
Returns the level of the red component.

const ByteGreyValueT & Green() const
Returns the level of the green component.

const ByteGreyValueT & Blue() const
Returns the level of the blue component.

const ByteGreyValueT & X() const
Returns the level of the fourth colour component.

ByteGreyValueT & Red()
Access to the red component.

ByteGreyValueT & Green()
Access to the green component.

ByteGreyValueT & Blue()
Access to the blue component.

ByteGreyValueT & X()
Access to the fourth colour component.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001