Public Types | Public Member Functions | Protected Member Functions
puma2::ColorImageRGB8 Class Reference

Imageclass for an 8-bit, 3 channel RGB color image. More...

#include <ColorImageRGB8.h>

Inheritance diagram for puma2::ColorImageRGB8:
Inheritance graph
[legend]

List of all members.

Public Types

typedef byte B3 [3]

Public Member Functions

void assign (int i, int j, int n, int v)
void assign (int x, int y, int r, int g, int b)
 ColorImageRGB8 (int x=0, int y=0)
 ColorImageRGB8 (int x, int y, ColorImageRGB8 *m, int xo, int yo)
double getElementTypeMaximum () const
double getElementTypeMinimum () const
void operator= (const ColorImageRGB8 &o)
void readFromFile (const char *fileName)
void writeToFile (const char *fileName) const

Protected Member Functions

void reset ()

Detailed Description

Imageclass for an 8-bit, 3 channel RGB color image.

Definition at line 15 of file ColorImageRGB8.h.


Member Typedef Documentation

Definition at line 69 of file ColorImageRGB8.h.


Constructor & Destructor Documentation

ColorImageRGB8::ColorImageRGB8 ( int  x = 0,
int  y = 0 
)

Default constructor.

Definition at line 10 of file ColorImageRGB8.cpp.

ColorImageRGB8::ColorImageRGB8 ( int  x,
int  y,
ColorImageRGB8 m,
int  xo,
int  yo 
)

Subimage constructor:

Parameters:
x,:horizontal size
y,:vertical size
m,:Pointer to master image of which the image becomes a subimage
xo,:offset for horizontal position of subimage in master image
yo,:offset for vertical position of subimage in master image

The constructor will do all required checks on the sizes of the images.

Definition at line 16 of file ColorImageRGB8.cpp.


Member Function Documentation

void ColorImageRGB8::assign ( int  i,
int  j,
int  n,
int  v 
)

Set a single value

Parameters:
[in]iLine
[in]jRow
[in]nChannel
[in]vValue

Definition at line 22 of file ColorImageRGB8.cpp.

void ColorImageRGB8::assign ( int  x,
int  y,
int  r,
int  g,
int  b 
)

Set all values

Parameters:
[in]xRow
[in]yLine
[in]rR-value
[in]gG-value
[in]bB-value

Definition at line 27 of file ColorImageRGB8.cpp.

double puma2::ColorImageRGB8::getElementTypeMaximum ( ) const [inline, virtual]
double puma2::ColorImageRGB8::getElementTypeMinimum ( ) const [inline, virtual]
void ColorImageRGB8::operator= ( const ColorImageRGB8 o)

Definition at line 34 of file ColorImageRGB8.cpp.

void ColorImageRGB8::readFromFile ( const char *  fileName)
void ColorImageRGB8::reset ( ) [protected]

Definition at line 49 of file ColorImageRGB8.cpp.

void ColorImageRGB8::writeToFile ( const char *  fileName) const

The documentation for this class was generated from the following files:


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:43