Hi Luca, 

         It really helps! I didn check it in Paraview.
Thanks!
Laurentiu



________________________________
 From: Luca Antiga <luca.ant...@orobix.com>
To: Lipsa Laurentiu Mihai <lip_...@yahoo.com> 
Cc: "vmtk-users@lists.sourceforge.net" <vmtk-users@lists.sourceforge.net> 
Sent: Thursday, March 1, 2012 10:26 AM
Subject: Re: [vmtk-users] Tortuosity with vmtkcenterlinegeometry and 
vmtkbranchextractor
 

Hi Laurentiu,
 Tortuosity is actually computed correctly, only that it is stored by cell 
(i.e. by centerline), not on a point by point basis (in fact tortuosity is 
relative to a whole centerline).

If you look into your vtp files from, say, Paraview, you'll see the tortuosity 
array as a cell array, with correct values.

Since the .dat format by default outputs one point per line with the related 
point data array values, tortuosity doesn't show up. 

To get cell array data, you have to explicitly instruct the writer to output 
cell data, this way:

vmtkcenterlinegeometry -ifile christ3_ext_clines.vtp -smoothing 1 -iterations 
100 -factor 0.1 --pipe vmtksurfacewriter -i @.o -celldata 1 -ofile 
christ3_ext_clgm.dat


Hope this helps


Luca


On Feb 20, 2012, at 11:44 AM, Lipsa Laurentiu Mihai wrote:

Hi Luca, 
>        I tried to obtain the parameters like curvature, torsion and 
>tortuosity with vmtkcenterlinegeometry. The problem is that I don´t obtain any 
>values for the tortuosity.  I tried to specify the field with -tortuosityarray 
>Tortusity but nothing change.   
> 
>vmtkcenterlinegeometry -ifile christ3_ext_clines.vtp -smoothing 1 -iterations 
>100 -factor 0.1  -ofile christ3_ext_clgm.vtp
> 
>I tried also with the branch extractor(my geometry doesn´t have a 
>bifurcation) and I obtain only one line of data in the file: 
> 
>vmtkcenterlines -ifile  christ3_ext_sm_sm.vtp --vmtkbranchextractor 
>--vmtkbranchgeometry -ofile christ3_ext_branchextract.vtp
> 
>X     Y     Z     Length     Curvature     Torsion     Tortuosity     GroupIds
>0.0     0.0     0.0     92.8727956649     0.0281652486887   
      -0.534080917615     0.247074326138         0.0
> 
>      I don´t know if is something missing in the command line or I must to 
>use another script for this. 
> 
> 
>Best regards,
>Laurentiu<christ3_ext_clgm.dat><christ3_ext_clines.vtp><christ3_ext_sm_sm.vtp>------------------------------------------------------------------------------
>Try before you buy = See our experts in action!
>The most comprehensive online learning library for Microsoft developers
>is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>Metro Style Apps, more. Free future releases when you subscribe now!
>http://p.sf.net/sfu/learndevnow-dev2_______________________________________________
>vmtk-users mailing list
>vmtk-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/vmtk-users
>
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to