ColorUtils.h
Go to the documentation of this file.00001 #pragma once 00002 00003 /* Utilities to convert from one image format to another */ 00004 void RGBtoHSV(float r, float g, float b, float& h, float& s, float& v); 00005 void HSVtoRGB(float h, float s, float v, float& r, float& g, float& b); 00006 void RGBtoYIQ(float r, float g, float b, float& y, float& i, float& q); 00007 void YIQtoRGB(float y, float i, float q, float& r, float& g, float& b); 00008 void RGBtoXYZ(float r, float g, float b, float& x, float& y, float& z); 00009 void XYZtoRGB(float x, float y, float z, float& r, float& g, float& b); 00010
Generated on 28 Feb 2009 for Milton by
1.5.6