【发布时间】:2018-04-04 02:30:53
【问题描述】:
我有一个 3d 二进制图像,我试图在 MATLAB 2015b 中对其进行 3d 膨胀。我试过了:
se=strel('sphere',20);
3Ddilated=imdilate(3Dimage,se);
但我得到了:
Error using strel>ParseInputs (line 1223)
Expected input number 1, STREL_TYPE, to match one of these strings:
'arbitrary', 'square', 'diamond', 'rectangle', 'octagon', 'line', 'pair', 'periodicline', 'disk', 'ball'
The input, 'sphere', did not match any of the valid strings.
Error in strel (line 147)
[type,params] = ParseInputs(varargin{:});
strel 在 2015b 中不做 'sphere' 吗?有什么好的选择吗?
【问题讨论】: