From: karthik on
i have a 3d image with x,y and z co-ordinates. how to use smooth3 function
the input image which i have has rough edges and corners. after applying smooth3 function,i need a smooth closed and bounded surface.
From: ImageAnalyst on
Then just threshold your volume, or use the isosurface() function.
From: karthik on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <c47db012-5265-4376-9a0f-4dce7c46bca1(a)k5g2000yqf.googlegroups.com>...
> Then just threshold your volume, or use the isosurface() function.

when we used isosurface function,we got the following error:

??? Error using ==> isosurface
V must be a 3D array.

size of the input array is 6227 X 3
From: Ashish Uthama on
On Thu, 28 Jan 2010 22:45:20 -0500, karthik <dhilipchandru(a)gmail.com>
wrote:

> ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message
> <c47db012-5265-4376-9a0f-4dce7c46bca1(a)k5g2000yqf.googlegroups.com>...
>> Then just threshold your volume, or use the isosurface() function.
>
> when we used isosurface function,we got the following error:
>
> ??? Error using ==> isosurface
> V must be a 3D array.
>
> size of the input array is 6227 X 3

Try using INTERP3 to generate a 3D volume.
After you read the help:
*You could use ones(6227,1) for the input V
*For xi,yi and zi, use MESHGRID which spans from min to max of your input
x,y and z values. Choose a step size large enough to keep the size of V
reasonable.