Hi Stefan,

did you try "Create Smoothed Polygon Model" from the context menu of your 
segmentation image? You can set the parameters of the surface generation 
through the preference page of the segmentation bundle.

I just had a quick look at your meshes. C3 contains degenerated triangles and 
is truely garbage, that's right. But C3_iso seems to be only a non-zero-genus 
surface since it contains more than one surface. "Create Smoothed Polygon 
Model" mentioned above might eliminate them.

You can have a look at 
"Modules\Segmentation\Algorithms\mitkShowSegmentationAsSmoothedSurface.cpp" to 
see how that filter chain is working (ThreadedUpdateFunction()).

In case it doesn't work for you could add a filter to your chain which removes 
all surfaces but the biggest one.

Regards,
    Stefan

________________________________
Von: Stefan Dänzer [[email protected]]
Gesendet: Freitag, 21. September 2012 10:25
An: [email protected]
Betreff: [mitk-users] Manifold Genus-zero Isosurface Generation

Hi all,

I hope the preparations of the new MITK Release are going well. I wish you the 
best of luck for the new Release!

I've been working on the current trunk version of mitk (git hash: 
0bc212eb953e81959cd7ce943ed70d3e7d8387cd) on a linux (ubuntu 12.04 x86_64) 
machine in superbuild using VTK 5.10.

I'm experiencing problems when generating an Isosurface (polygonal mesh) out of 
a segmentation. The problem is that for a closed surface there are some ghost 
points/edges/triangles, while I need a closed surface which is genus-zero 
(satifies: #faces + #edges - #points = 2)
I have tried the following:

1. Generating an Isosurface via the Context Menu of the node (binary 
segmentation) in the dataManager gives a very poor surface reconstruction, see 
attachment "c3.vtk".
2. Generating an Isosurface with the Isosurface plugin gives a visually good 
looking result, but there are still some ghost points/edges/triangles, see 
attachment "c3_iso.vtk".

I've worked around the problem the following way for now:
Using the MeshDecimation plugin in decimatePro mode with minimal mesh reduction 
percentage (1%) gives a "correct" surface without ghost p/e/ts, see attachment 
"c3_iso_decim.vtk". However this is rather a misusage of mesh decimation to 
correct the given mesh topology.

I have also tried to use vtkCleanPolyDataFilter in my own software to eliminate 
the ghost p/e/ts without success.

Is there another possibility to generate a clean genus-zero surface in MITK.

Regards,

Stefan

--
Stefan Daenzer
Körnerplatz 8
04107 Leipzig

Tel.: +49-157-84993879<tel:%2B49-157-84993879>

"Work like you don't need the money, love like you've never been hurt and dance 
like no one is watching." - Randall G Leighton

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to