Ok, here's the situation: I want to be able to ignore an area of pixels around a certain colour. Is that possible?
Here's an example to exlplain:
http://i.imgur.com/5JcdF.png
Anyone know if this is possible?
Thanks
Printable View
Ok, here's the situation: I want to be able to ignore an area of pixels around a certain colour. Is that possible?
Here's an example to exlplain:
http://i.imgur.com/5JcdF.png
Anyone know if this is possible?
Thanks
Make a TPA of the cut down tree and then get the bounds of it, once you do that, increase each point of the box(bounds) by 25 or more, however many pixels it takes to get the area around the cut down tree.
Yeah, you could store the bounds in a global variable and then check to see if a point is in the bounds. That way you can exclude the area all together.
find that the colour cluster and make a Tbox Array with that being the first value, then just say that in future obj finding procedures, if any of the TPs fall in the TBA then exclude it from the TPA
FindColorsSkipBoxTolerance, or something along that line :)
Nah just GetTPABounds;, then of PointInBox() etc..