mrcImageHoleFilling

提供: Eospedia
2016年9月27日 (火) 04:18時点におけるTacyas (トーク | 投稿記録)による版

(差分) ←前の版 | 最新版 (差分) | 次の版→ (差分)
移動: 案内検索

mrcImageHoleFillingとはmrcImageファイル(2値画像:2D or 3D)の穴を埋めるためのEosコマンドである。

アルゴリズム

 背景(0)を、指定した近傍(4,8,6,18,26)でラベル化し、その中で最大面積のもの以外を穴であるとして判断し、前景(1)で埋めた画像を返す。

オプション一覧

メインオプション

オプション 必須項目/選択項目 説明 デフォルト
-i 必須 入力ファイル(mrcImage) NULL
-o 必須 出力ファイル(mrcImage) NULL
-n 選択 近傍の定義(4, 8 (2D), 6, 18, 26 (3D)) 4
-bA 選択 出力ファイル(mrcImage):背景の面積を計算したファイル NULL
-bL 選択 出力ファイル(mrcImage):背景のラベル化画像 NULL

モードの詳細

モード 説明


実行例

$ mrcImageHoleFilling -i test2.bin -o test2.nohole.4 -n 4
$ mrcImageHoleFilling -i test2.bin -o test2.nohole.8 -n 8

入力ファイル(test2.bin) mrcImageHoleFilling-test2.bin.gif

出力ファイル(test2.nohole.4) mrcImageHoleFilling-test2.nohole.4.gif

出力ファイル(test2.nohole.8) mrcImageHoleFilling-test2.nohole.8.gif


参考文献