CellProfiler/CellProfiler — pull request #426 by BioTurboNick (2012-11-13 08:23:16+00:00)
Title: ReassignObjectNumbers: New Shape-based method.

The attached code is the method I described in this forum post: http://cellprofiler.org/forum/viewtopic.php?f=17&t=2175

I'm sure it could use a once-over to make sure I haven't committed any egregious errors or haven't missed any best practices for module writing. I tried to document the code well enough. It is somewhat of a crude method... One thing I would have liked to do, but wasn't sure how best to do it, is to add a contiguity component, rather than simply counting pixels. But that is likely to be a corner case, and the extent of contact component may serve that purpose.