The article started nice, but it was a bit of a disappointment to see he just picked the biggest blob and that's it. Would have loved something more relevant to detecting the shape.
Actually, I think it's (red - (green + blue)). Equal parts red, green, blue, e.g. FFFFFF or 555555 is just gray. With this formula, that would be zero -- so no red.
With his formula, he's getting any pixel that has 100 out of 255 increments greater than the green and blue channels combined.
I'd like to see more follow up posts on this subject. Computer vision is incredibly interesting and it would be cool to see you elaborate in future posts on more complex algorithms/approaches.
8 comments
[ 3.1 ms ] story [ 30.0 ms ] threadShape detection is an interesting subject too, maybe I'll write about that in the future. :)
With his formula, he's getting any pixel that has 100 out of 255 increments greater than the green and blue channels combined.