morphological opening of volumetric data.
    5 views (last 30 days)
  
       Show older comments
    
    Muhammad Shoaib
 on 27 Nov 2015
  
    
    
    
    
    Commented: Image Analyst
      
      
 on 27 Nov 2015
            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)
0 Comments
Accepted Answer
  Image Analyst
      
      
 on 27 Nov 2015
        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 Comments
  Image Analyst
      
      
 on 27 Nov 2015
				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.
See Also
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!

