I am hoping that someone can help me devise a filtering strategy for this problem: How to exclude Secondary Objects that DO NOT fully (or mostly) encapsulate the Primary Object.
I have attached an example image to try and demonstrate the problem I am running into.
In the attached image there is Object A and Object B.
It is apparent from the input image that Object B is actually a projection of Cell A that is being associated with a different primary object (Primary Object B).
In the bottom left panel, it is clear how for Object B the primary object (green) and the secondary object (magenta) extensively share a perimeter border, while for Object A the secondary object near fully encapsulates the primary object with distinguishable space between the green and magenta borders.
I am trying to devise a way to flag objects like B where the border of the primary object is extensively shared with the border of the associated secondary object.
Other strategies I have used to address this problem have included: trying different methods of identifying the secondary objects (Propagation, Distance-B, etc.), as well as trying to filter on the ratio of the area of the primary and secondary objects, but neither of these have solved the problem.
Any suggestions will be greatly appreciated!
2015-08-05 CP Example Image.pdf (112 KB)