[Insight-developers] Danielsson Distance Map filter Example

Luis Ibanez luis.ibanez@kitware.com
Thu, 07 Feb 2002 19:59:21 -0500


Hi,

An Example/Application  of the  DanielssonDistanceMapImageFilter
has been checked in under:

             Insight/Examples/DistanceMapFilter

It is a small but complete application with GUI and IO.

It reads a volume image from disk, applies the filter and display both the
input and output in orthogonal slices format in an OpenGL window.  
It requires FLTK for the GUI.

Currently the format for reading the image is MetaImage but  any other
file format can be added just by registrering its corresponding IO factory.

There is a border effect on the computation,...   which is a "feature" 
of the
algorithm's implementation.

What happens is that the algorithm requires a neighborhood around each
pixel for comparing distances. As a result, we applied it only over pixels
that are at least two pixels away from the border of the image.

Suggestions about what to do with the frontiers are wellcome     :-)


 Thanks


    Luis