12-12-2013 08:38 AM
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.
12-12-2013 10:55 AM
12-12-2013 11:29 AM
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/