Re: [vmtk-users] Automatically executing VMTK centerline
Brought to you by:
davidsteinman,
lucantiga
From: Luca A. <luc...@or...> - 2013-04-07 10:16:45
|
Hi Anouk, I'm not really sure about what's not working here, the output from vmtk you attached is not self-explanatory, unfortunately. Just a note: you shouldn't enclose option values in quotes ('profileidlist') but just use values unquoted vmtksurfacereader -ifile H:\Cath_recon_4(1)_10(1)_SC.stl -f stl --pipe vmtkcenterlines -endpoints 1 -seedselector profileidlist -sourceids 0 -targetids 1 --pipe vmtkcenterlinegeometry -ofile H:\Cath_recon_4(1)_10(1)_SC_output_testing.dat Can you try sending more of the text output? Also, does the pipe hang or just exits successfully without generating a file? Thanks Luca On Apr 3, 2013, at 2:15 PM, Anouk Post wrote: > Hi Luca, > > You were right, I used idlist instead of profileidlist. > > Unfortunately, it didn't work, I don't get an output file. > > INPUT: > > vmtksurfacereader -ifile H:\Cath_recon_4(1)_10(1)_SC.stl -f "stl" --pipe vmtkcenterlines -endpoints 1 -seedselector 'profileidlist' -sourceids 0 -targetids 1 --pipe vmtkcenterlinegeometry -ofile H:\Cath_recon_4(1)_10(1)_SC_output_testing.dat > > OUTPUT: > Image of output is attached (could not copy the text). > > Do you know why it's not working? > > Thanks! > > Best, > > Anouk > > > > > > > > On 29 March 2013 13:28, Luca Antiga <luc...@or...> wrote: > Hi Anouk, > this is what I'd expect from -seedselector idlist, not -seedselector profileidlist. > Are you sure it was the latter and not the former? > > Luca > > > On Mar 29, 2013, at 2:07 PM, Anouk Post wrote: > >> Hi Luca, >> >> I already tried that and it didn't work. It gave me only a partial reconstruction of the centerline (a very short one). >> >> Best, >> >> Anouk >> >> On 29 March 2013 13:04, Luca Antiga <luc...@or...> wrote: >> Hi Anouk, >> try with >> -seedselector profileidlist -sourceids 0 -targetids 1 >> >> (hoping you have a recent enough version of vmtk) >> >> Best, >> >> >> Luca >> >> >> On Mar 25, 2013, at 7:36 PM, Anouk Post wrote: >> >>> 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 >>> >>> ------------------------------------------------------------------------------ >>> 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_mar_______________________________________________ >>> vmtk-users mailing list >>> vmt...@li... >>> https://lists.sourceforge.net/lists/listinfo/vmtk-users >> >> >> >> >> -- >> Best Wishes, >> >> Anouk >> ------------------------------------------------------------------------------ >> Own the Future-Intel(R) Level Up Game Demo Contest 2013 >> Rise to greatness in Intel's independent game demo contest. Compete >> for recognition, cash, and the chance to get your game on Steam. >> $5K grand prize plus 10 genre and skill prizes. Submit your demo >> by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2_______________________________________________ >> >> vmtk-users mailing list >> vmt...@li... >> https://lists.sourceforge.net/lists/listinfo/vmtk-users > > > > > -- > Best Wishes, > > Anouk > <vmtk.jpg>------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html_______________________________________________ > vmtk-users mailing list > vmt...@li... > https://lists.sourceforge.net/lists/listinfo/vmtk-users |