The Math Forum

Search All of the Math Forum:

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

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

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

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

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$>...
> "Luca " <l.presottoRE@MOVE.campus.unimib.NOTit> wrote in message <jrff58$1nq$>...
> >
> > 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.


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.