From: Lynn MacDonald on
Hi,

Through analyzing an rgb color image, I obtain the following two pictures:
http://i25.tinypic.com/vxj5lf.jpg
http://i26.tinypic.com/ulwew.jpg

They look similar, but are the locations of several blue objects one picture and several green objects in the second, which side adjacent to each other in the original picture. There are also several red objects there, and I can do the same process to find them as well. Each blob is offset from the other a bit, which may be difficult to see because the pictures aren't superimposed (because then you'd just get a bigger white blob...).

Could tell me if the following sounds like a possible plan, and if so how it might be best done? I want to use regionprops to find the major axis and center of each blob in the first image. And then for each of the blobs in the first image, draw a line of fixed length from its center that perpendicular to its major axis and points in the direction of the center of the blob in the second image that is adjacent to it. In other words, the second helps to know whether to draw the line perpendicular to the right/left or up/down.

The region circled is not an object I want to consider. Could I use regionprops to remove it due to its more round shape?

Thanks, and I will give more detail if needed.
From: Lynn MacDonald on
Hi,
I think I figured out what to do, going to attempt it today. I'm calculate the centroids of the blue and the centroids of the green and do a nearest neighbor, then figure out what angle a line drawn from each blue to its nearest green creates. I'm comparing this method with color cross-correlation. Just wanted to post that I no longer need help.
Lynn