From: Ravi on
Hi,

I just wanted to point out that MATLAB isosurface function has a lot of problems for complex data.

I have created a program that renders exact error-free surfaces from 3-D voxel data, such as from MRI, CT Scan.

The following is the link to the discussion thread

http://www.mathworks.com/matlabcentral/newsreader/view_thread/268226#755017

You can download the program from

http://www.hermesacademy.com/products

Ravi



"Zeph Davies" <matlab(a)zephmail.co.uk> wrote in message <hjkhhl$fib$1(a)fred.mathworks.com>...
> Hi,
>
> I have a m-by-3 matrix, where m is the number of rows, the 3 values are the x, y and z values of a point on a surface in 3D space.
>
> eg:
> ...
> 27 23 12
> 45 54 76
> 29 34 45
> ...
>
> I would like to be able to plot these points as a surface, using the mesh() function, or preferably the trimesh() function. Possibly the isosurface() function may also be of interest.
>
> However i'm struggling to put the correct data into the functions for it to plot.
>
> I know that mesh can cope with 3D objects, for example a sphere, for it is in the help under surf(). My 3D object is more complex than a sphere, but the principles should be the same.
>
> Thank you.