[Insight-users] Distance between two 3d meshes

Mark Foskey mark_foskey at unc . edu
Tue, 09 Sep 2003 12:20:29 -0400


I believe you have come up against a gap in ITK.  One good approach
would be to convert one mesh to a binary image, run
itk::DanielssonDistanceMapImageFilter, and then compare the other mesh
against the resulting distance image.  But there isn't a mesh-to-image
filter like that.

If the meshes are finely tessellated, you may get satisfactory results
by only working with distances between vertices.  It is easy to create
a binary image from a list of points, and then you could use the
Danielsson filter.  The FastMarching filter may be faster if you know
the two meshes aren't far apart, since you can set a stopping value so
it won't keep propagating the distances.  Note that, for FastMarching,
you start with a list of nodes, not a binary image.  This could easily
be created from the vertices of the mesh.

Aaron Boxer wrote:
> Hello,
> 
> I am segmenting a bell-shaped region (the retina)
> inside of a 3D data set of the eye, using the 3d
> deformable contour filter. 
> 
> The result will be two meshes: top nd bottom surfaces.
> I would like to compute the distance between these two
> meshes. Is there a filter to do this?
> 
> Thanks!
> 
> Aaron Boxer
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder . yahoo . com
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk . org
> http://www . itk . org/mailman/listinfo/insight-users

-- 
Mark Foskey    (919) 843-5436  Computer-Aided Diagnosis and Display Lab
mark_foskey at unc . edu            Department of Radiology, CB 7515, UNC
http://www . cs . unc . edu/~foskey  Chapel Hill, NC  27599-7515