Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Image Analysis (get pixel color in RGB)

$
0
0

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.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>