Hi,I need to run VMTK in Windows 7 64 bit, knowing my code (for vessel centerlines extraction) works well in linux.I installed CMake 2.6 and VMTK 1.0.0 (both for 32 bit, as I could not install their 64 bit version), but when I enter my code(between simple quotes) in the top panel and run it, nothing happens.Please, could you provide me with any clue of what's going wrong ?ThanksDavid(PhD stu., Montréal)
David,
Would you mind sharing how you got your centerline script to work on Windows 7?
In W8 running PypePad I've tried vmtkcenterlines -seedselector openprofiles -ifile trachea.vtp -ofile c:\VMTK_Centerllines\trachea_centerline.vtp
But an error comes up about not being able to write to the output file. There is apparently some kind of W8 security crap preventing it. I've tried everything I can think of but nothing works. I am the administrator and only user on this computer.
Here are some of the things I've tried:
1) Created subfolder in the standard Documents folder and at C: level
2) Made sure the permissions of each group or user name listed for the output folder was set to Full control
3) In Properties for the folder, clicked Advanced button in Security tab. Disabled inheritance and made sure each Principal was set to Full control.
4) "Open as administrator" a dos shell. Used the attrib -r -s Drive:Foldername to reset read-only flag and system flag of folder, if set.
5) Created a text file in the folder called trachea_centerlines.vtp. Set each Principal for it to Full Control. (Thinking that if a file by that name already existed, maybe it would be able to modify it.)
6) Set pythonw.exe compatibility to Windows 7
Thanks,
Greg
--
You received this message because you are subscribed to the Google Groups "vmtk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vmtk-users+...@googlegroups.com.
To post to this group, send email to vmtk-...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Ian,
Thanks for the suggestion but unfortunately that didn't work either.
7. Turned off User Access Control and reboot.
Greg
--
Jason,
Thanks for your reply. Like David, I don't understand item 2 but it gave me the clue about the path separator. I set things up so that I could take them out and that worked! (I think). Now I finally have a file called trachea_centerline.vtp.
But now how do I view it, along with the trachea to inspect how well it did?
Then I will also need to bring the centerline back into Blender software to overlay on the geometry. Can anyone shed some light?
Thank you,
Greg
From: vmtk-...@googlegroups.com [mailto:vmtk-...@googlegroups.com] On Behalf Of Jason Smith [Contractor]
Sent: Tuesday, September 10, 2013 7:58 AM
To: vmtk-...@googlegroups.com
David,
I tried the following script:
vmtkcenterlineviewer -ifile trachea_centerline.vtp --pipe
vmtksurfaceviewer -ifile trachea.vtp -opacity 0.25
and the centerlines showed up and they looked correct (Yea!), but not the trachea. When I hit q (quit), then the centerlines disappeared and the transparent trachea appeared.
I'll try paraview next to see if they will come up together.
Thanks,
Jason,
Indeed, that worked, thank you!
But now I am able to see that the centerlines do not go all the way to the ends. They stopped short of the inlet and outlet points by about 1/2" (on the screen). I had generated them with the following command:
vmtkcenterlines -seedselector openprofiles -ifile trachea.vtp -ofile trachea_centerline.vtp
here is a screen shot

Greg
From: vmtk-...@googlegroups.com [mailto:vmtk-...@googlegroups.com] On Behalf Of Jason Smith [Contractor]
Sent: Tuesday, September 10, 2013 12:32 PM
To: vmtk-...@googlegroups.com
Subject: Re: [vmtk-users] Re: How to run PypeS programmatically in Windows (for centerlines extraction)
Greg,
--
Jason,
Thank you, I had forgotten about that.
Indeed, that fixed the problem. Here is the command that worked:
vmtkcenterlines -seedselector openprofiles -ifile trachea.vtp -endpoints 1 -ofile trachea_centerline.vtp
vmtkbranchextractor -ifile foo_cl.vtp -radiusarray MaximumInscribedSphereRadius
I think that should at least let you iterate on the visualization & data writing part of your script more quickly.
--
Jason and others,
Now that it worked with the test geometry, I'm finally getting around to using it on my real geometry. I followed the same preparation procedure and enter
vmtkcenterlines -seedselector openprofiles -ifile "Descending thoracic aorta.vtp" -endpoints 1 -ofile "Descending thoracic aorta_centerline.vtp"
It brings up a vmtk window with the geometry. But this time I note there are no inlet and outlet labels

I enter q and it asks for the inlet ids. I enter 0
It asks for the outlet ids. I enter 1
It says "Computing centerlines..." and then a Windows 8 dialog pops up saying "pythonw.exe has stopped working". I can choose from "Check online for a solution and close the program" or "Close the program".
Attached is the geometry file if anyone can tell me what's wrong?
Thanks,