Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


Math Forum » Discussions » Software » comp.soft-sys.matlab

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

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   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
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"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



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.