08-29-2007 01:49 AM
08-31-2007 01:47 AM
08-31-2007 03:03 AM
Hello Elmar,
thanks for your answer.
As far as I know, the hue in HSV is presentet by a value from 0° (red) over 120° (green) and 240° (blue) back to 360°/0°.
What I did was to extract the hue in Vision Assistant by color plane extraction what made a grayscale picture (8 bit) out of my RGB picture (24 bit). The greyscale corresponds to the hue. Red is darker than green than blue. Now I made a histogram of this grayscale picture. For shure I can not get a value of 359° out of this because it is just a 8 bit picture. But that is the point, Is it possible to get a higher resolution for the hue in LabView?
Testing this system I took a generated picture (made by corel draw) with red, green and blue areas (also CMGY). The result of the histogram was:
red=peek at 5 (7°)
green=peek at 108 (152°)
blue=peek at 150 (211°)
Now I can get teh value in degrees (256=360°) but I have a loss of information because of the conversion to the 8 bit grayscale picture.
Any Idea to get better results? I couldn´t find any example for something like that. Where do I have to search? If you need more details, just ask.
I just need a system to find the color of an area.
Thanks
08-31-2007 04:25 AM