[vmtk-users] Automatically executing VMTK centerline
Brought to you by:
davidsteinman,
lucantiga
From: Anouk P. <ano...@gm...> - 2013-03-25 18:36:07
|
Dear VMTK users, I am using VMTK centerline to calculate the centerline of an stl file as follows: vmtksurfacereader -ifile /Users/.../Phantom_Best_Catheter_now.stl -f "stl" --pipe vmtkcenterlines -endpoints 1 -seedselector openprofiles --pipe vmtkcenterlinegeometry -ofile /Users/.../Phantom_Best_Catheter_now_output.dat For all the different input files I use, the seedselector option always leads to me pressing 'q' '0' '1' and then it works. So I close the viewer, and I think I set the source id as 0 and the target id as 1. Is there a way to make this an automatic process so I don't have to type q, 0, 1 each time? I've tried using seedselector idlist but I'm not sure how to use it (it does not give me the right answer when I use -sourceids 0 -targetids 1. Does anyone know a way to do this? Thanks in advance! Best wishes, Anouk |