Jump to content

Line fit to local point cloud?


Recommended Posts

Sorry if this has come up before. I searched, but did find a previous thread on the topic.

I'm looking for a VOP (or something) to provide the unit vector/slope of a best fit line for a local point cloud.

Basically, a linear regression for a set of local points, on a per point basis.

Is there something like this already? If not, could someone help me build it? My math isn't strong enough to build it myself. I found this: http://en.m.wikipedia.org/wiki/User:Vossman/3D_Line_Regression

Thanks!

Edited by fieryspoon
  • Like 1
Link to comment
Share on other sites

Great tricks petz :) Are they all doing the same operation in different ways? One using eigen vectors, the other using PCA? Which one is more optimal or is it a matter of preference? I just don't know what their differences are in solving these sort of problems.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...