Which colour space is best for extracting real world objects?
I am currently extracting objects of interest setting a lower limit range and a upper limit range using these colour spaces
YUV
LAB
I am having issues extracting a black colour cloth in varying lighting conditions.
Which colour space is most accurate to the human perception of colour, which we have in OpenCV?
Can't find online which colourspace is the most accurate representation of human perception.
Can anyone help??????
For what it's worth, humans have a genetic tendency to see green better than red or blue. I think it has something to do with the colour of plants back when we were tree huggers. It's also common to have a colour space where the bits are 5 for red, 6 for green, and 5 for blue -- this is instead of 8 8 8 in a 24-bit RGB image.
https://msdn.microsoft.com/en-us/libr...
@sjhalayka I red up on the link you posted. Which one I use for my use case is still a mystery. I'm currently considering using
LAB
overYUV
unfortunately, black (or white) is NOT a colour. it can be any hue (or uv or ab value), so you can only rely on Y or L here.
maybe you're better off, doing this in bgr space, and check for low values of all 3 channels.