morphological opening of volumetric data.

조회 수: 1 (최근 30일)
Muhammad Shoaib
Muhammad Shoaib 2015년 11월 27일
댓글: Image Analyst 2015년 11월 27일
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)

채택된 답변

Image Analyst
Image Analyst 2015년 11월 27일
What's your question? A morphological opening is a local min followed by a local max. If you have a question, please ask it.
  댓글 수: 3
Muhammad Shoaib
Muhammad Shoaib 2015년 11월 27일
waiting for an answer . . .
Image Analyst
Image Analyst 2015년 11월 27일
The remaining 3 is the number of "planes" or "slices" in the third dimension. For an analogy, the first two would describe a sheet of paper 3 cm wide by 3 cm long, and the next 3 would mean that there are 3 sheets of paper stacked on top of each other in the third, or "z", direction. So essentially you're telling it to look at every one of the 27 voxels in a 3-by-3-by-3 cube. If you set any of those voxels to 0 or false, then it would tell it so skip considering that/those voxel(s) when computing the local min and local max.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Thorsten
Thorsten 2015년 11월 27일
편집: Thorsten 2015년 11월 27일
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])

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by