decompose
分解した構造化要素のシーケンスを返す
説明
例
構造化要素の分解を表示
円板型の構造化要素を作成します。
se = strel('square',5)
se = strel is a square shaped structuring element with properties: Neighborhood: [5x5 logical] Dimensionality: 2
構造化要素の分解を抽出します。
seq = decompose(se)
seq = 2x1 strel array with properties: Neighborhood Dimensionality
imdilate
で full オプションを指定して、分解された構造化要素を使用する連続的な膨張処理により 5 行 5 列の正方形が確実に作成されることを確認します。
imdilate(1,seq,'full')
ans = 5×5
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
構造化要素の分解の抽出
ボール形状の構造化要素を作成します。
se = offsetstrel('ball',5, 6.5)
se = offsetstrel is a ball shaped offset structuring element with properties: Offset: [11x11 double] Dimensionality: 2
構造化要素の分解を取得します。
seq = decompose(se)
seq = 1x8 offsetstrel array with properties: Offset Dimensionality
入力引数
SE
— 構造化要素
strel
または offsetstrel
オブジェクト
構造化要素。strel
または offsetstrel
オブジェクトとして指定します。
出力引数
SEQ
— 構造化要素のシーケンス
strel
または offsetstrel
オブジェクトの配列
目的の形状を近似する構造化要素のシーケンス。strel
または offsetstrel
オブジェクトの配列として返されます。
バージョン履歴
R2006a より前に導入
参考
トピック
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)