Hi superZZ, you can first extract a surface
vmtkmarchingcubes -ifile blah.mha -l 0.5 -ofile blah.vtp or eventually smooth it vmtkmarchingcubes -ifile blah.mha -l 0.5 --pipe vmtksurfacesmoothing -passband 0.1 -iterations 30 -ofile blah.vtp and then create one opening on the surface somewhere (at the root of the tree, assuming there is one?) vmtksurfaceclipper -ifile blah.vtp -ofile blah_open.vtp and extract a surface vmtknetworkextraction -ifile blah_open.vtp -ofile blah_network.vtp This uses an algorithm that has low complexity, it can handle complicated networks but it can also generate centerlines that exit the initial surface (it is not extremely accurate). How accurate depends on your application. The accurate alternative is to use vmtkcenterlines. For this you either have to open the surface at all endpoints and use the -seedselector openprofiles option, or to place seeds on all endpoints. vmtkcenterlines -ifile blah.vtp -ofile blah_centerlines.vtp Hope this helps Luca On Apr 6, 2012, at 9:45 AM, Lingfeng Zhuang wrote: > Dear Luca, > > Does VMTK support automatically extract all centerlines from a 3D segmented > binary image? This image has no islet. > > Regards, > > superZZ > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2_______________________________________________ > vmtk-users mailing list > vmtk-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/vmtk-users ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ vmtk-users mailing list vmtk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vmtk-users