how to fill a surface to obtain a 3D mask
5 views (last 30 days)
Show older comments
Mads on 10 Jan 2018
Commented: Mads on 11 Jan 2018
I have a script that gives me 3D coordinates of the surface of a 3D object.
I would like to obtain a mask in 3D where everything on and inside the surface is true, and everthing outside the surface is false.
The mask could for example be of size 64-by-64-by-64.
Roughly speaking a 3D version of imfill() that tolerates not all points being connected once they are placed in the mask grid.
Image Analyst on 10 Jan 2018
Is there any problem with just doing it one slice at a time using imfill()?
Find more on Blocked Images in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!