[Insight-users] Remove binary objects on image border

Dan Mueller dan.muel at gmail.com
Mon Mar 2 02:48:53 EST 2009


Hi all,

I need to remove binary objects which lie on the image border. For
example, I have a binary image with two circles: one lies wholly in
the image, one is slightly truncated by the border of the image. I
want to remove the truncated circle, leaving only the whole one.

Obviously I can perform a connected region growing using each border
pixel as a seed, and then inverse mask the input image with the
result.

However, I'm sure I've seen a filter that already does this, perhaps
on the Insight Journal...? Does this filter already exist, or do I
need to make it myself?

Thanks for any pointers.

Regards, Dan


More information about the Insight-users mailing list