Hi Anna,

Funny you should ask--I was just doing this yesterday. If you would like to view a semi-transparent vessel surface with centerlines inside, add this command to your pipe after the vmtkcenterlines command and its arguments:

--pipe vmtkrenderer --pipe vmtksurfaceviewer -opacity 0.25 --pipe 
vmtksurfaceviewer -i @vmtkcenterlines.o -array MaximumInscribedSphereRadius


The vmtkrenderer command creates a persistent viewer instance, and the two following vmtksurfaceviewer plotting commands will be overlaid together in the window. You can play around with the opacity and array options to your liking. There is a very nice tutorial on centerlines on the VMTK website that does a much better job of explaining all this than I can: http://www.vmtk.org/Tutorials/Centerlines

Alternatively, if you would like to export your centerlines for external viewing in a program like Paraview, you can add -ofile filename.vtp to the vmtkcenterlines arguments to create a .vtp geometry file of just the centerlines. So your command would look something like

vmtksurfacereader -ifile input.vtp --pipe vmtkcenterlines -ofile centerlines.vtp


Then you can load your input.vtp file (or whatever file format your surface data might be...if not something Paraview can load, try exporting it to .vtp from VMTK using vmtksurfacewriter) and then load your centerlines.vtp files together in Paraview, set the surface opacity to some low value like 0.3, and you will be able to view your centerlines inside your surface.

I hope this helps,
Ian

On 12/13/2011 12:18 PM, Hoppe, Anna L wrote:
Hi VMTK users,

I am new to VMTK and I was wondering if there was a way in VMTK to view a vessel network overlayed on the corresponding centerlines? Right now I have successfully computed the centerlines for my vessel network using the vmtkcenterlines command, I have also viewed the computed centerlines using vmtkcenterlineviewer, I just wanted to overlay the vessel surface and the computed centerlines to check to see if they are correct...

Thanks for your help,
Anna


------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and
improve service delivery. Take 5 minutes to use this Systems Optimization
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/


_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users
------------------------------------------------------------------------------
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to