ColorUtils.cpp File Reference

#include "ColorUtils.h"
#include <common.h>
#include <math.h>

Go to the source code of this file.

Functions

void RGBtoHSV (float r, float g, float b, float &h, float &s, float &v)
void HSVtoRGB (float h, float s, float v, float &r, float &g, float &b)
void RGBtoYIQ (float r, float g, float b, float &y, float &i, float &q)
void YIQtoRGB (float y, float i, float q, float &r, float &g, float &b)
void RGBtoXYZ (float r, float g, float b, float &x, float &y, float &z)
void XYZtoRGB (float x, float y, float z, float &r, float &g, float &b)


Function Documentation

void HSVtoRGB ( float  h,
float  s,
float  v,
float &  r,
float &  g,
float &  b 
)

Definition at line 43 of file ColorUtils.cpp.

void RGBtoHSV ( float  r,
float  g,
float  b,
float &  h,
float &  s,
float &  v 
)

Definition at line 11 of file ColorUtils.cpp.

void RGBtoXYZ ( float  r,
float  g,
float  b,
float &  x,
float &  y,
float &  z 
)

Definition at line 110 of file ColorUtils.cpp.

void RGBtoYIQ ( float  r,
float  g,
float  b,
float &  y,
float &  i,
float &  q 
)

Definition at line 90 of file ColorUtils.cpp.

void XYZtoRGB ( float  x,
float  y,
float  z,
float &  r,
float &  g,
float &  b 
)

Definition at line 120 of file ColorUtils.cpp.

void YIQtoRGB ( float  y,
float  i,
float  q,
float &  r,
float &  g,
float &  b 
)

Definition at line 100 of file ColorUtils.cpp.


Generated on 28 Feb 2009 for Milton by doxygen 1.5.6