[Insight-users] Danielsson distance transform

Karthik Krishnan karthik.krishnan at kitware.com
Thu Feb 12 14:05:23 EST 2009


Dan Mueller wrote:
> Hi Delphine,
>
> From browsing the documentation, it seems
> itkDanielssonDistanceMapImageFilter does *not* allow users to set the
> background value (all pixels above zero are considered the object).
> However, the SignedMaurerDistanceMapImageFilter does allow users to
> set the background. In my experience the Maurer distance filter
> performs faster anyhow 
Good point. Maurer is signficantly faster than the Danielsson. We should 
replace the danielsson's use in internal filters like the canny level 
set segmentation filter with the maurer.

> (and I imagine the multithreaded version here
>    http://voxel.jouy.inra.fr/itk/contrib-itk-git/watershed/
> performs even faster).
>
> Hope this helps.
>
> Regards, Dan
>
> 2009/2/12  <delphine.ribes at epfl.ch>:
>   
>> Dear ITK users,
>>
>> Supposing we have a segmented map in WM, GM, CSF with label 1, 2 ,3 respectively
>> and background set to 0. I was wondering if there is any option in
>> itkDanielssonDistanceMapImageFilter for setting the Foreground value. For
>> example I just want to calculate the distance map of white matter without
>> creating a temporary image containing only white matter.
>>
>> Thanks a lot for your precious help,
>> Have a good day,
>> Delphine
>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>>     
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>   

-- 
Karthik Krishnan
R & D Engineer,
Kitware Inc,
Ph:  518 371 3971 x119
Fax: 518 371 3971



More information about the Insight-users mailing list