Hi Julian, it is much easier than this. You don't need an extra lib. You need to convert the segmentation into a surface e.g. by mitkManualSegmentationToSurfaceFilter. (Smoothing the surface is supported as well.) Then you can save the resulting mitkSurface (or vtkPolyData) by the appropriate SurfaceWriter. It saves the file as STL in binary or ascii format. Best Regards, Ingmar
________________________________ Von: Julian Bright [mailto:[EMAIL PROTECTED] Gesendet: So 10/12/08 15:16 An: [email protected] Betreff: [mitk-users] how to export segmented surface mesh as .STL or .PLY Hi, I downloaded the latest pre-release 0.10 application, and have been impressed with the segmentation capabilities. However i require creating a surface mesh that I can load independently in a FEM package. The most commonly support file format is STL. To work around this I attempted to export a VTK file, but on closer inspect this file stored binary data of simply 0's and 1's for very pixel at each slice, which wasn't useful in creating the vector a vector based shape to turn into polygons. Does MITK support turning the segmentation into vector points, or can someone recommend a library for doing this? Thanks, Julian. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
