ffn icon indicating copy to clipboard operation
ffn copied to clipboard

What about consensus and agglomeration steps?

Open subeeshvasu opened this issue 5 years ago • 1 comments

Hello,

Can someone please explain about the codes corresponding to the steps consensus and agglomeration (as in the nature paper) that follows the inference. https://github.com/google/ffn/blob/master/ffn/inference/consensus.py and https://github.com/google/ffn/blob/master/ffn/inference/resegmentation.py seems to have routines associated with these two steps. However, there is no instruction about the usage of these modules. Has anyone succeeded in running these two steps to yield the so called output ffn-c?

Thanks,

subeeshvasu avatar Nov 23 '19 21:11 subeeshvasu

Hi @subeeshvasu, if the question is still actual for you: recently I managed to test both consensus and resegmentation.

in the heart of consensus is boolean AND comparison between two segmentations - A and B. First, if I understood properly, largest overlaping segment pairs are selected, then A being updated with new segments IDs at all pixels where two masks intersect. there is a possibility to filter out result items smaller than N voxels.

resegmentation, as far as I can tell, uses prior segmentation and prior probabilities and running segmentation of a single item starting at explicitly defined location and restricted in a certain area.

Hope this helps, Alex

oradomskyi avatar Mar 31 '20 23:03 oradomskyi