Can RANSAC be used for fitting splines to noisy 3D point clouds?

  • Context: Graduate 
  • Thread starter Thread starter tompish
  • Start date Start date
  • Tags Tags
    Fitting
Click For Summary

Discussion Overview

The discussion revolves around the application of the RANSAC method for fitting splines to noisy 3D point clouds. Participants explore the challenges of defining a spline model suitable for RANSAC, particularly in the context of noisy data and the criteria for evaluating the fit.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant inquires about creating a spline model for RANSAC to fit a noisy 3D point cloud, noting the visual emergence of a spline shape from the data.
  • Another participant seeks clarification on what constitutes a "spline shape," emphasizing the need for known points or edges in the context of spline fitting.
  • A suggestion is made to use Integral Transforms with orthogonal functions to project point data onto a spline model, involving the construction of an orthogonal basis using the Gram-Schmidt process.
  • A participant expresses uncertainty about the criteria for testing data against a spline model, suggesting that distance measurement alone may be insufficient and proposing the inclusion of gradient measures to account for the slope of the spline.
  • Another approach is proposed involving smoothing techniques in polar coordinates, suggesting that converting the data to polar coordinates could facilitate interpolation and smoothing.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best approach for spline fitting using RANSAC, with multiple competing views and techniques being discussed.

Contextual Notes

Participants express uncertainty regarding the mathematical criteria for evaluating spline fits and the potential complexity of implementing suggested methods, such as orthogonal projections and smoothing techniques.

tompish
Messages
2
Reaction score
0
I am wondering if there is any way to create a model that can be used in a RANSAC method where a spline could be determined from a noisy 3d point cloud.

What i have is a volume containing a set of points in each xy-plane, having say 400 of these in the z direction and a spline shape emerges visually while simply looking at the plotted data in 3d space. I already have a line fitting RANSAC scheme where the error is determined by a simple distance measure but i can't get my head around how to determine a model for a spline.

I am unsure if I am posting at the right thread so if I am at the wrong place please refer me to the right place :)
 
Mathematics news on Phys.org
It's unclear what you mean by a "spline shape". The term "spline" usually refers to a curve or surface that is used to interpolate a smooth shape between known points or edges. Do you have known points or edges?
 
Hey tompish.

This sounds like a good application of Integral Transforms using orthogonal functions.

The idea is that you have these point data, and some kind of spline model and you want to project the point data to the spline model to get an approximation of your signal data that best represents this but in the context of a spline.

If you want to do this, you'll have to take your spline and create an orthogonal basis which you will project your data to. You will need to use the Gram-Schmidt process to construct the orthogonal basis given your spline function.

If you haven't done this kind of thing before, it's going to be a headache, and if someone hasn't already done it (and written up the code as well), then it's still going to be a headache.
 
Thanks for the replies.

Stephen:
It is lines i mean by saying "spline shape" visually emerges. I have two pictures of the same point cloud just rotated. Sorry that its hard to see but without any illumination its hard to illustrate depth.

Chiro:
Thanks that says a lot, i have totally forgotten the linear algebra stuff that i learned a while ago. Ill give this a go but i am unsure of what criteria i should imply while testing the rest of the data against a spline model. Just by measuring distance to the spline might be insufficient. Also i think i should use some gradient measure that looks at the slope of the spline, since as it can be seen in the pictures the most prominent spline is not very tilted.
 

Attachments

  • physicsForumPic1.jpg
    physicsForumPic1.jpg
    15.7 KB · Views: 630
  • physicsForumPic2.jpg
    physicsForumPic2.jpg
    14.2 KB · Views: 583
You could also try doing smoothing over the points using a polar co-ordinate basis to do the interpolating.

So convert your data to polar co-ordinates and then do a smoothing in the way they do something like say a time series moving average or other similar technique.

You can also search for smoothing techniques in general and apply them in polar space.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 4 ·
Replies
4
Views
6K
Replies
3
Views
2K
  • · Replies 26 ·
Replies
26
Views
3K
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
24
Views
3K