LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compare colour

Hi guys,

 

I would like to compare 2 different colours and then give a score for how much is the first colour is close to the second.

Actually, I have a HD webcam and I record the colour of a chemical sample which is generally golden yellow.

Some of the samples can be a little bit orange or too yellow or little bit transparent like oil. I mean sometimes the colours are too similar.

Could you advise me which model in the vision toolkit can fit my problem and are there some example.

I have to mention I am a chemist.

 

Thanks for helping. Smiley Tongue

 

0 Kudos
Message 1 of 3
(3,136 Views)
Hi ziedhosni,
-Good to start with example which comes along with labview and vision module.Go to Help>>Find Examples>>Search>>Color>>Color classification example.
-It gives you basic idea on color classification.
-You need to provide us few sample images so that, anyone can guide you better.
-There is a dedicated forum for machine vision. Please post vision related questions there.
Thanks
uday
0 Kudos
Message 2 of 3
(3,117 Views)

It's not the vision toolkit, but I learned from Vugie's bitmap manipulation library that you can subtract the colors and square the difference to determine how close together they are.

Attribution: http://lavag.org/topic/10335-discuss-bitman-bitmap-manipulation-library/

 

color distance.png

0 Kudos
Message 3 of 3
(3,109 Views)