I am trying to figure out a way to process images to single out a specific color. I have a camera that takes pictures of the ground from a r/c plane and need to find out a target in a patch, or sea, of green grass. The problem is, I don't know how to work with the pixelgetcolor thing. I tried converting it to hex but still no bueno because I need to have some sort of tolerance. For example, if the G in the RGB is maybe 2 digits greater I still want to categorize it as grass.
Does anybody know of a way to easily get the RGB value? I tried converting to hex and the converting to RGB using some shady function (dont remember if it was UDF). That didn't work out too well for me.
Thanks.
edit: It takes hundreds of pictures which is why I need to use automation. Plus I think autoit would probably be easier than using matlab.