Hi cqq,
the data is stored at each point of the output centerlines. If you know about
VTK data structures, each array is a PointData array.
If you don't, no worries, you can always output the point data in a csv-like
format, which you can read with Matlab or Excel.
To do this, try running
vmtkcenterlinesections -ifile foo.vtp -centerlinesfile foo_cl.vtp
-ocenterlinesfile foo_cl_out.dat
The foo_cl_out.dat file is a text file containing a table with the following
columns:
X Y Z MaximumInscribedSphereRadius EdgeArray0 EdgeArray1 EdgePCoordArray
CenterlineSectionArea CenterlineSectionMinSize CenterlineSectionMaxSize
CenterlineSectionShape CenterlineSectionClosed
Hope this is what you're after.
Best regards
Luca
On Nov 9, 2010, at 11:12 PM, ququ chen wrote:
> Hi,
>
> I want to use this script to get the vessel’s diameter. I don’t know
> how to store the returned array to a file. For example,
> CenterlineSectionMinSizeArray , CenterlineSectionMaxSizeArray etc. Anybody
> could help me on this? I have already created centerlines.
>
>
> Thanks,
>
> -cqq
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev_______________________________________________
> vmtk-users mailing list
> vmtk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vmtk-users
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users