3d surface from 2d slices

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 Comment

If you find an answer, could you please share with me? Thanks

Sign in to comment.

Answers (3)

Gelmi
Gelmi on 10 Mar 2011

0 votes

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 Comment

Could you please provide a small data sample and perhaps a publicly available image (e.g. google images) showing what you expect?

Sign in to comment.

Jason
Jason on 14 Apr 2011

0 votes

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.

Asked:

on 9 Mar 2011

Community Treasure Hunt

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

Start Hunting!