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

  • Thread starter Thread starter tompish
  • Start date Start date
  • Tags Tags
    Fitting
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: 613
  • physicsForumPic2.jpg
    physicsForumPic2.jpg
    14.2 KB · Views: 559
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.
 
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...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top