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

  • Thread starter Thread starter tompish
  • Start date Start date
  • Tags Tags
    Fitting
AI Thread Summary
RANSAC can potentially be used to fit splines to noisy 3D point clouds, but it requires a suitable model for the spline. The discussion highlights the need to create an orthogonal basis for the spline using the Gram-Schmidt process to project point data effectively. Participants suggest that simply measuring distance to the spline may not suffice; incorporating gradient measures and smoothing techniques in polar coordinates could enhance the fitting process. The complexity of implementing these methods is acknowledged, particularly for those unfamiliar with linear algebra. Overall, the conversation emphasizes the challenges and considerations in applying RANSAC for spline fitting in this context.
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: 615
  • physicsForumPic2.jpg
    physicsForumPic2.jpg
    14.2 KB · Views: 563
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.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Back
Top