Anu
Posts:
63
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
|
|