Erode/dilate commands in three dimensions?

Hello,
I have a few questions about the erode/dilate commands in MATLAB:
1) What the default values are? 2) How to change them? 3) If it's possible to erode in 3-D, can you please send me a script?
Thank you. Any and all help is appreciated.

回答 (1 件)

Sean de Wolski
Sean de Wolski 2012 年 6 月 5 日

0 投票

  1. packopt: notpacked, shape: same
  2. imerode(im,se,'full')
  3. Yes.
%sample_script.m
imerode(rand(10,10,10)>.2,strel('disk',3))

1 件のコメント

hello
hello 2012 年 6 月 6 日
Thank you for your response!

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeGenomics and Next Generation Sequencing についてさらに検索

質問済み:

2012 年 6 月 5 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by