[Insight-users] HausdorffDistanceImageFilter

Andinet Enquobahrie andinet.enqu at kitware.com
Wed May 31 10:55:00 EDT 2006


>Thank you Andinet!!
>My purpouse is to calculate the Hausdorff Distance between a synthetic image 
>(sphere) and the surface (PolyData) resulting from segmentation, to compare 
>different segmentation techniques. Do you know if there is another alternative 
>way to catch up the same result? 
>  
>
You can generate the isosurface of the sphere image (using one of the 
vtk isosurface generators ) and then compute PolyData-PolyData hausdroff 
distance..

Here is one implementation

http://people.csail.mit.edu/sylvain/Doxygen2005/d8/d71/hausdorffDistance_8cxx-source.html

hth

Andinet





>Thanks,
>Cecilia.
>
>----- Original Message ----- 
>From: "Andinet Enquobahrie" <andinet.enqu at kitware.com>
>To: <cecilia.zanella at studio.unibo.it>
>Sent: Wednesday, May 31, 2006 3:42 PM
>Subject: Re: [Insight-users] HausdorffDistanceImageFilter
>
>
>  
>
>>cecilia.zanella at studio.unibo.it wrote:
>>
>>    
>>
>>>Hi,
>>>I have to execute the comparison between two isosurface (PolyData) 
>>>      
>>>
>calculating 
>  
>
>>>the Hausdorff Distance. I know there is an useful filter in ITK 
>>>(HausdorffDistanceImageFilter), but it receive two images as inputs, whereas 
>>>      
>>>
>I 
>  
>
>>>have two isosurface. How can I do? There is someone who can help me?
>>> 
>>>
>>>      
>>>
>>One thing you can do is generate images using the isosurface data and 
>>then pass them to the HausdroffDistanceImageFilgter. Is your isosurface 
>>in vtk polydata or itk::Mesh format?
>>
>>Take a look at ImageToPointSet.cxx ( image to pointset conversion ) 
>>program in /Insight/Examples/DataRepresentation/Mesh subdirectory. This 
>>program converts image to itk::pointset. You can implement something 
>>similar to convert from some sort of a pointset (itk::Mesh or polydata) 
>>to image.
>>
>>let me know if you have questions...
>>
>>Andinet
>>
>>
>>    
>>
>>>Thanks,
>>>
>>>Cecilia.
>>>
>>>_______________________________________________
>>>Insight-users mailing list
>>>Insight-users at itk.org
>>>http://www.itk.org/mailman/listinfo/insight-users
>>>
>>>      
>>>
>
>
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>
>
>  
>




More information about the Insight-users mailing list