MATLAB: Color conversion

color

Hi I have three value r=60 g=120 b=50;
I need to convert this in Luv color space what will be the formula.i.e i need corresponding values of l , u and v.can any body help?
Thanks.

Best Answer

You can find the "book formula" here: <http://www.easyrgb.com/index.php?X=MATH&H=16#text16>
First go from RGB to XYZ and then from XYZ to LUV. These will not be the actual values unless you calibrate/standardize your system - they will merely be estimated "book formula" values that will not necessarily be accurate as they would be, say, if you measured your emitting light source with a radiometer.
Related Question