Yes, this is very strange, but I assume that, for reasons of efficiency, it strelreturns a special type that has the structure element type.
You should use the getnhood function, as in this link , something like this:
se3 = strel('disk',15);
nhood = getnhood(se3);
imagesc(nhood); axis xy; colormap('gray');
source
share