Hi Roman, it's possible that centerlines generated from a surface whose points are arranged in a very regular lattice might fail due to degeneracies, but this doesn't happen often at all. Try to process your discrete marching cubes surface using, e.g. vmtksurfacetriangles -ifile discretemc.vtp --pipe vmtksurfacesmoothing -iterations 30 -passband 0.01 --pipe vmtksurfacenormals -ofile out.vtp this should fix it. Best,
Luca On Feb 21, 2013, at 3:33 PM, Dr. Roman Grothausmann wrote: > Dear Luca, > > > Is it possible that vmtkcenterlines has problems with surfaces originating > from > discrete marching cubes? The surface I had problems with was generated from a > manual segmentation and therefore had no smoothing from normals. I > regenerated a > similar surface from a tomogram with grey-levels so normals could be > calculated > for smoothing and this surface now works. > > Many thanks for Your help > Roman > > On 15/02/13 15:09, Luca Antiga wrote: >> Hi Roman, >> can you please send me the incriminated surface? >> Thanks >> >> Luca >> >> >> On Feb 13, 2013, at 3:36 PM, Dr. Roman Grothausmann wrote: >> >>> Dear mailing list members, >>> >>> >>> vmtkcenterlines segfaults with a specific data-set of mine. It works all >>> fine >>> with similar data-sets. I generally get a lot of >>> >>> Generic Warning: In >>> /home/grothama/programme/vmtk-1.0.1/build_iana0_130211/VTK/Common/vtkMath.cxx, >>> line 553 >>> Unable to factor linear system >>> >>> but then it segfaults with: >>> >>> *** glibc detected *** python: corrupted double-linked list: >> 0x000000000ea4f9c0 *** >>> ======= Backtrace: ========= >>> /lib/x86_64-linux-gnu/libc.so.6(+0x76d76)[0x7fe2488ddd76] >>> /lib/x86_64-linux-gnu/libc.so.6(+0x7880c)[0x7fe2488df80c] >>> /lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7fe2488e2aac] >>> /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.304.64(+0x1cc1)[0x7fe23f628cc1] >>> ======= Memory map: ======== >>> . >>> . >>> . >>> >>> How could I solve this problem? >>> >>> Any help or hints are very much appreciated >>> Roman >>> >>> >>> -- >>> Dr. Roman Grothausmann >>> >>> Tomographie und Digitale Bildverarbeitung >>> Tomography and Digital Image Analysis >>> >>> Institut für Funktionelle und Angewandte Anatomie, OE 4120 >>> Medizinische Hochschule Hannover >>> Carl-Neuberg-Str. 1 >>> D-30625 Hannover >>> >>> Tel. +49 511 532-9574 >>> >>> ------------------------------------------------------------------------------ >>> Free Next-Gen Firewall Hardware Offer >>> Buy your Sophos next-gen firewall before the end March 2013 >>> and get the hardware for free! Learn more. >>> http://p.sf.net/sfu/sophos-d2d-feb >>> _______________________________________________ >>> vmtk-users mailing list >>> vmtk-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/vmtk-users >> > > -- > Dr. Roman Grothausmann > > Tomographie und Digitale Bildverarbeitung > Tomography and Digital Image Analysis > > Institut für Funktionelle und Angewandte Anatomie, OE 4120 > Medizinische Hochschule Hannover > Carl-Neuberg-Str. 1 > D-30625 Hannover > > Tel. +49 511 532-9574 > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > vmtk-users mailing list > vmtk-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/vmtk-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ vmtk-users mailing list vmtk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vmtk-users