YoHoJo
2013-03-22 07:22:25
Let's say I have a tree, green on top, brown on bottom, and there is NO OVERLAP of the colors, one ends, the other begins.
Or another example, a reg blob on top of a green blob, they do not overlap at all.
How would I go about finding this object in general, or the section at which the two colors meet.
Ex:

I just want to find the object in general, or where the blue rectangle is.
ACTUAL code along with comments is greatly appreciated!
Guess?
Make a TPA of both, then ATPA of both, then compare distances between ATPAColor1 and ATPAColor2?
Or another example, a reg blob on top of a green blob, they do not overlap at all.
How would I go about finding this object in general, or the section at which the two colors meet.
Ex:

I just want to find the object in general, or where the blue rectangle is.
ACTUAL code along with comments is greatly appreciated!
Guess?
Make a TPA of both, then ATPA of both, then compare distances between ATPAColor1 and ATPAColor2?