morphological opening of volumetric data.
Show older comments
i understand the concept of opening of 2D binary images but never used such opening on volumetric date as in the code below. please explain
nhood = ones([3 3 3]);
bw = imopen(bw,nhood); % bw is binary volumetric MRI data (28 slices)
Accepted Answer
More Answers (1)
For 3D data you need a 3D morphological structuring element, given by a 3D matrix. You create a block of ones of height, width and depth = 3 using
ones([3 3 3])
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!