12-15-2014 09:23 AM
I would like to convert the array of the colour spectrum I get from the colour learn VI to to an RGB colour as one or 3 values. The help says that the output of the colour learn VI is
Color Spectrum returns the color features found in the image region. These features represent the color information in the image region in a compact form.
How can I do that?
12-16-2014 04:28 AM - edited 12-16-2014 04:57 AM
Please I need help.
To complete my request I would prefer I get a single value that represent a colour between the red and violet and the rainbow colours in between. Something like a colour represented between 0 and 100 or 1000.
To give an example, I would like to see the difference from left to right or right to ledt (between the blue and the yellow) in a numeric scale of 100 or 1000..
12-18-2014 11:17 AM
I need help please.
12-18-2014 06:16 PM
You need to convert the RGB color to Hue, Saturation, and Intensity. The Hue value is what you are asking for, with a range from 0 to 255.
12-19-2014 03:54 AM - edited 12-19-2014 03:54 AM
Thanks for your reply. I tried to follow your advice. I used the VI attached with the png picture and I tried to move the rectangle from the right to the left but the values I get are not increasing or decrising, they were random especially when I move from the blu to the yellow.
12-22-2014 03:00 PM
Can you provide a little more detail on what the goal is of your application? Are you trying to determine the color of each rectange, or something else?
12-23-2014 06:44 AM
Indeed, I want to determine the color in the rectangle. The problem is that the determination of the color between the yellow and the blue is hard as I see because I can see a difference between the neat blue and the neat yeallow but the colors in between are random according to the rgb or HSL..
Do you have any idea how to sort this problem out?