Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Creating a 3D mask from two 3d surfaces
Replies: 10   Last Post: Sep 27, 2012 3:03 AM

 Messages: [ Previous | Next ]
 Anu Posts: 64 Registered: 2/22/05
Re: Creating a 3D mask from two 3d surfaces
Posted: Sep 27, 2012 3:03 AM

"Matt J" wrote in message <jrfjv1\$nr7\$1@newscl01ah.mathworks.com>...
> "Luca " <l.presottoRE@MOVE.campus.unimib.NOTit> wrote in message <jrff58\$1nq\$1@newscl01ah.mathworks.com>...
> >
> > I repeat that I have two sets of points P1 and P2 (size (P)= (300,3) ) that describe two surfaces of my solid (like an ellipsoidal annulus but not exactly, and I need to mantain this difference).
> >
> > How can I get a 3D mask from them?

> ==============
>
> If you're just looking for a mask that approximately covers the shape, you can use imfill and imdilate to create the mask. Round your P1, P2 to voxel locations, fill a mask with 1s at those locations, use imdilate to seal the gaps between the P1,P2, and finally use imfill to fill in the mask.
>

Can I get more specific on how to perform this. I need to get an approximate 3D ellipsoid mask from a set of 3D points.

Anusha

Date Subject Author
6/15/12 Luca
6/15/12 Matt J
6/15/12 Luca
6/15/12 Matt J
6/15/12 Luca
6/15/12 Matt J
6/15/12 Luca
6/15/12 Matt J
9/27/12 Anu