[Insight-developers] Refactoring SimpleFuzzyConnectedness

Luis Ibanez luis.ibanez at kitware.com
Tue, 18 May 2004 18:48:34 -0400


Yin,

We have been looking closely at the FuzzyConnecteness
filter and found that it can produce nice segmentations
in many cases.

However its use is clumsy because the output is the
binarization of the AffinityMap.  The filter is itself
computing the thresholding of the affinity map and
providing this as final output.

Since most of the time goes into the computation of the
affinity map, it is a waste of time to play with the
thresholding value, because the filter in the pipeline
recomputes the affinity map every time.

There is an UpdateThreshold() that can be called
in order to recompute only the thresholding but
unfortunately this doesn't adheres to the architecture
of the data pipeline. The recomputations should go
only through the Update() method.

It looks like this filter will be much easier to use
if the official output is the AffinityMap and not its
binarization.

Users can always plug this output into the threshold
filter or a threshold ImageAdaptor.


If the output is the Affinity map, it is so much easier
to figure out the right level to binarize the image in
order to get a reasonable segmentation.




Please let us know if you have any objection to these
modifications.



   Thanks



      Luis



---------