Dear Haim,
this smoothing filter is just a simple iterative procedure, here's the pseudo
code:
for n in iterations
for every line in centerlines:
for every point in line:
prev = previous neighbor point
next = next neighbor point
barycenter = 0.5 * (next + prev)
newpoint = point + relaxation * (barycenter - point)
Hope this helps
Luca
On Jan 10, 2012, at 7:44 AM, Haim Ezer wrote:
> Dear Luca, All
>
> I wonder if you could elaborate on the vmtkcenterlinegeometry.
> I quote from here: http://www.vmtk.org/Tutorials/GeometricAnalysis
> " it is possible to instruct the script to first run the centerline through a
> Laplacian smoothing filter first and then compute the derivatives and the
> related quantities"
> I found reference regarding using the laplacian filter on surfaces, not on a
> line.
> I would like to implement it in MATLAB, and would appreciate any help.
>
> Thank You, and best regards
>
> Haim
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev_______________________________________________
> vmtk-users mailing list
> vmtk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vmtk-users
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users