Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

colors.h File Reference


Detailed Description

Color definitions for CMVision.

Author:
James R. Bruce, School of Computer Science, Carnegie Mellon University
Licensed under the GNU GPL version 2

Author
ejt
Name
tekkotsu-4_0
Revision
1.13
State
Exp
Date
2007/08/14 18:24:07

Definition in file colors.h.

#include <iostream>
#include <string>

Include dependency graph for colors.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CMVision

Classes

struct  yuv
struct  yuvi
struct  yuvf
struct  yuyv
struct  uyvy
struct  rgb
struct  rgba
struct  argb
struct  rgbf
struct  rgbaf
struct  argbf

Typedefs

typedef unsigned int color_index
typedef unsigned char CMVision::uchar

Functions

std::ostream & operator<< (std::ostream &os, const rgb &rgbval)
 displays an rgb value in the form '[r,g,b]'
std::string toString (const rgb &rgbval)
 returns rgbval in the form 'r g b'


Typedef Documentation

typedef unsigned int color_index

Definition at line 17 of file colors.h.


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const rgb rgbval 
)

displays an rgb value in the form '[r,g,b]'

Definition at line 4 of file colors.cc.

std::string toString ( const rgb rgbval  ) 

returns rgbval in the form 'r g b'

Definition at line 13 of file colors.cc.


Tekkotsu v4.0
Generated Thu Nov 22 00:55:13 2007 by Doxygen 1.5.4