Hi YiQiang,
 I don't think this is what happens: you only get one value per GroupId with 
the vmtkbranchgeometry script,
while with vmtkcenterlinegeometry you get a curvature value for each point on 
each centerline.
vmtkbranchgeometry looks at all centerlines tracts in a group and averages 
their curvature value.

Luca


On May 8, 2013, at 4:48 AM, qiang zeng wrote:

> bifurcation plane is work well.
>  
> another problem, when I caculate the curvature using the following script 
> "vmtkcenterlinegeometry -ifile foo_cl.vtp -smoothing 1 -ofile foo_clgm.vtp", 
> I just get the one curvature value for every GroupIds. but in generally, the 
> curve for every GroupIds has different points (point1, point2,...) and every 
> point in curve has a curvature value respectively.
> So how to understand this approach considering one curvature value as 
> curvature value of entire GroupIds?
>  
> YiQiang  
> --- 13年5月7日,周二, Luca Antiga <luca.ant...@gmail.com> 写道:
> 
> 发件人: Luca Antiga <luca.ant...@gmail.com>
> 主题: Re: [vmtk-users] bifurcation plane
> 收件人: "qiang zeng" <zengqiang2...@yahoo.com.cn>
> 抄送: vmtk-users@lists.sourceforge.net
> 日期: 2013年5月7日,周二,下午2:40
> 
> Hi YiQiang,
>  point1 and point2 are any two points on the plane away from the origin.
> You could do
> point1 = origin + upnormal
> point2 = origin + normal x upnormal
> where x indicates the cross product.
> 
> Luca
> 
> On 07/mag/2013, at 07:39, qiang zeng <zengqiang2...@yahoo.com.cn> wrote:
> 
>> Usig the command line:
>>  
>> vmtkbranchextractor -ifile foo_cl.vtp -radiusarray@ 
>> MaximumInscribedSphereRadius --pipe
>> vmtkbifurcationreferencesystems -ofile foo_rs.dat
>>  
>> I get the one point and two vectors, then I fill the coordinate into the 
>> Paraview (point -> Origin, Normal -> Point1 and Upnormal -> Point2) ?
>> Best
>> YiQiang
>> 
>> --- 13年5月6日,周一, Luca Antiga <luca.ant...@gmail.com> 写道:
>> 
>> 发件人: Luca Antiga <luca.ant...@gmail.com>
>> 主题: Re: [vmtk-users] bifurcation plane
>> 收件人: "qiang zeng" <zengqiang2...@yahoo.com.cn>
>> 抄送: vmtk-users@lists.sourceforge.net
>> 日期: 2013年5月6日,周一,下午8:54
>> 
>> Hi YiQiang,
>>  the figure you attached was created in Paraview using the origin and normal 
>> of the plane
>> as computed with vmtk (you can output them in plain text using a .dat file 
>> format) to specify the plane 
>> in Paraview (Sources->Plane). It works well if the number of figures you 
>> create is small.
>> 
>> If you need to create the visualization automatically you'll need to write 
>> VTK code and use the
>> vtkPlaneSource class to create the plane.
>> The class: http://www.vtk.org/doc/nightly/html/classvtkPlaneSource.html
>> Examples: 
>> http://www.vtk.org/doc/nightly/html/c2_vtk_e_5.html#c2_vtk_e_vtkPlaneSource
>> http://www.vtk.org/doc/nightly/html/c2_vtk_t_15.html#c2_vtk_t_vtkPlaneSource
>> 
>> Best,
>> 
>> Luca
>> 
>> 
>> On May 6, 2013, at 9:40 AM, qiang zeng wrote:
>> 
>>> Hi all,
>>> When I am using VMTK, I want to display the bifurcation plane (the view is 
>>> like aneurysm bifurcation plane, as an attachment "bifurcation plane.jpg").
>>> Does anyone know a way to do this?
>>> Best,
>>> YiQiang
>>> <bifurcation 
>>> plane.jpg>------------------------------------------------------------------------------
>>> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
>>> Get 100% visibility into your production application - at no cost.
>>> Code-level diagnostics for performance bottlenecks with <2% overhead
>>> Download for free and get started troubleshooting in minutes.
>>> http://p.sf.net/sfu/appdyn_d2d_ap1_______________________________________________
>>> vmtk-users mailing list
>>> vmtk-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/vmtk-users
>> 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to