[vtk-developers] Fitting a line to a point cloud

Dean, Kevin kevin.dean at decisionsciencescorp.com
Sat Oct 31 12:52:08 EDT 2015


Hey guys,

I am curious about finding a way to fit a line to a point cloud, similar to
using singular value decomposition or least squares? I have a function in
python that does it, however, I have to convert from my polydata to
dataframe (to use numpy.linalg.svd), which isn't bad, but if I can save a
step, that'd be cool. Thanks for any help, or suggestions!

Kevin E. Dean

-- 
This email and its contents are confidential. If you are not the intended 
recipient, please do not disclose or use the information within this email 
or its attachments. If you have received this email in error, please report 
the error to the sender by return email and delete this communication from 
your records.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20151031/7d8dae0c/attachment.html>


More information about the vtk-developers mailing list