| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] | SDC Morphology Toolbox V1.1 15Jan02 |
mm3d b6=mmsedisk(1,'3D','city-block'); mmseshow(b6) ans(:,:,1) = 0 0 0 0 1 0 0 0 0 ans(:,:,2) = 0 1 0 1 1 1 0 1 0 ans(:,:,3) = 0 0 0 0 1 0 0 0 0 |
b26=mmsedisk(1,'3D','chessboard'); mmseshow(b26) ans(:,:,1) = 1 1 1 1 1 1 1 1 1 ans(:,:,2) = 1 1 1 1 1 1 1 1 1 ans(:,:,3) = 1 1 1 1 1 1 1 1 1 |
b18=mmsedisk(1,'3D','EUCLIDEAN'); mmseshow(b18) ans(:,:,1) = 0 1 0 1 1 1 0 1 0 ans(:,:,2) = 1 1 1 1 1 1 1 1 1 ans(:,:,3) = 0 1 0 1 1 1 0 1 0 |
f=logical(uint8(ones(50,50,50))); f(25,25,25)=0; d6=mmdist(f,b26,'EUCLIDEAN'); clf; p = patch(isosurface(d6, 20), ... 'FaceColor', 'red',... 'EdgeColor', 'none'); view(3); daspect([1,1,1]); camlight; grid on;
|
| [Top] [Up] [Prev] [Next] | [Up] [Basic Concepts] [Demonstrations] [Functions] |
|
| Copyright (c) 1998-2002 by SDC Information Systems | ||