【问题标题】:Visualize/plot the morphological structuring element in Matlab在 Matlab 中可视化/绘制形态结构元素
【发布时间】:2016-04-04 17:37:01
【问题描述】:

有人可以帮助可视化或绘制由函数“strel”创建的仅用于“磁盘”结构的形态结构元素,在 Matlab 中?谢谢。

【问题讨论】:

    标签: matlab


    【解决方案1】:

    是的,这很奇怪,但我假设出于效率原因,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');
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-06-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多