morphological opening of volumetric data.
Mostrar comentarios más antiguos
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)
Respuesta aceptada
Más respuestas (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])
Categorías
Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!