Azzera filtri
Azzera filtri

3d surface from 2d slices

2 visualizzazioni (ultimi 30 giorni)
Gelmi
Gelmi il 9 Mar 2011
I am trying to display the 3D surface from series of data points (from 2D laser scanner). Each 2D slice, if I may call it, is in separate matrix, so I know datapoints order. Each next 2D slice is rotated against the previous one by the constant (known) angle. I have tried simple 'mesh' but there are warning message that same values for different argument are the same, so it uses mean value and the surface is nothing like I is supposed to be. Just to visualize it in mind - datapoints are 3D distance values of a room measured from one point. They are in sphere coordinates but I have already calculated their cartesian values. If I display datapoints with plot3 everything is ok. But they are only points and it is hard to check for shaped. Solid surface would be nice (i.e. like walls in room). Any ideas?
  1 Commento
MYimage
MYimage il 26 Apr 2012
If you find an answer, could you please share with me? Thanks

Accedi per commentare.

Risposte (3)

Sean de Wolski
Sean de Wolski il 9 Mar 2011
Perhaps
doc fill3

Gelmi
Gelmi il 10 Mar 2011
That's not it. If I use fill3 I will get 'striped' surface. These slices have central point of rotation in the middle. It looks something like a 3d mill. Any other ideas?
  1 Commento
Sean de Wolski
Sean de Wolski il 10 Mar 2011
Could you please provide a small data sample and perhaps a publicly available image (e.g. google images) showing what you expect?

Accedi per commentare.


Jason
Jason il 14 Apr 2011
Yeah, I am trying to do the same thing with some radar data ( http://www.mathworks.com/matlabcentral/answers/5468-construct-volumetric-mesh-grid-by-interpolating-scattered-point-cloud ), and using an interpolation method to generate a 3d solid mesh which I then can use to plot solid surfaces. No luck yet. If I figure out a way I'll post it, and vice versa.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by