Click here to Skip to main content
15,885,127 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi I need to extract H s v from an HSV image in MATLAB So that i can convert it to a linear space.So far i have done this but it does not show a cone in the end instead it shows a cube.
colorLinear(1) = colorHsv(1);
colorLinear(2) = colorHsv(2);
colorLinear(3) = colorHsv(3);
a=colorHsv(2)*colorHsv(3)*cos(2*pi*colorHsv(1));
b=colorHsv(2)*colorHsv(3)*sin(2*pi*colorHsv(1));
c=colorHsv(3);


Thanks anyways
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900