2011-05-02 94 views

回答

3

是的,这是一个很大的奇怪,但我认为出于效率的原因,strel返回一个特殊的类型,这是一个结构化元素类型。

You have to use the getnhood function as in this link,这样的事情:

se3 = strel('disk',15); 
    nhood = getnhood(se3); 
    imagesc(nhood); axis xy; colormap('gray'); 
+0

谢谢克里斯。它有助于。 – Cheung 2011-05-03 04:32:24