「mrcImageHoleFilling」の版間の差分

提供: Eospedia
移動: 案内検索
行60: 行60:
  
 
== 実行例 ==
 
== 実行例 ==
 +
 +
$ mrcImageHoleFilling -i test2.bin -o test2.nohole.4 -n 4
 +
$ mrcImageHoleFilling -i test2.bin -o test2.nohole.8 -n 8
 +
 +
入力ファイル(test2.bin)
 +
 +
出力ファイル(test2.nohole.4)
 +
 +
出力ファイル(test2.nohole.8)
 +
  
 
== 参考文献 ==
 
== 参考文献 ==

2016年9月27日 (火) 03:56時点における版

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)

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

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


参考文献