Re: Image recognition in C++
It seems to me that the internal color variation of the shadowed region on the paper will be very low. You might be able to use this to identify and discard it. Also, it will probably correspond to the color of the paper, except scaled down in brightness. (This relationship may hold better in non-RGB color spaces, such as CIELAB or HSV).
The color of the foot will be on a continuum from dark brown to tan, but will certainly not be gray. This can also be a disambiguator.
Re: Image recognition in C++
Quote:
Originally Posted by
Lindley
It seems to me that the internal color variation of the shadowed region on the paper will be very low. You might be able to use this to identify and discard it.
How do you calculate it? I presume it is not the same as RGB or CMYK...
Quote:
Originally Posted by
Lindley
Also, it will probably correspond to the color of the paper, except scaled down in brightness. (This relationship may hold better in non-RGB color spaces, such as CIELAB or HSV).
I can convert to greyscale and work with HSV. Is that what you meant? Or just get the HSV value of the actual image pixel?
Quote:
Originally Posted by
Lindley
The color of the foot will be on a continuum from dark brown to tan, but will certainly not be gray. This can also be a disambiguator.
OK, will look at it.
Thank you.