colors.h File Reference
Color definitions for CMVision.
More...
#include <iostream>
#include <string>
Go to the source code of this file.
Detailed Description
Color definitions for CMVision.
- Author:
- James R. Bruce, School of Computer Science, Carnegie Mellon University
Licensed under the GNU GPL version 2
Definition in file colors.h.
Define Documentation
Typedef Documentation
Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const yuv & |
yuvval | |
|
) |
| | |
displays a yuv value in the form '[y,u,v]'
Definition at line 22 of file colors.cc.
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const rgb & |
rgbval | |
|
) |
| | |
displays an rgb value in the form '[r,g,b]'
Definition at line 5 of file colors.cc.
std::string toString |
( |
const yuv & |
yuvval |
) |
|
returns yuvval in the string form 'y u v'
Definition at line 31 of file colors.cc.
std::string toString |
( |
const rgb & |
rgbval |
) |
|
returns rgbval in the string form 'r g b'
Definition at line 14 of file colors.cc.