mrcImageBinalization
提供: Eospedia
mrcImageBinalizationとは画像の2値化(閾値指定、大津の方法などの自動閾値指定を含む)を行うEosのコマンドである。
目次
オプション一覧
メインオプション
オプション | 必須項目/選択項目 | 説明 | デフォルト |
---|---|---|---|
-i | 必須 | 入力ファイル: mrcImage | NULL |
-o | 必須 | 出力ファイル: mrcImage | NULL |
-t | 選択 | 閾値 | 0 |
-v | 選択 | 値 | 0 |
-near | 選択 | Near[pixel]: Near-area also binary | 0 |
-nLevel | 選択 | nLevel: For creating histgram by Kittler and Ohtsu | 256 |
-p | 選択 | p | 0.5 |
-c | 選択 | コンフィグファイル設定 | NULL |
-m | 選択 | モードを設定 | 0 |
-h | 選択 | ヘルプを表示 |
モードの詳細
モード | 説明 |
---|---|
0 | Under thresHold, 0. Above thresHold, 1. |
1 | Above thresHold, 0. Under thresHold, 1. |
2 | Under thresHold, value. Above thresHold, unchanged. |
3 | Above thresHold, value. Under thresHold, unchanged. |
16 | Automatically Determine threshold by Kittler Method |
32 | Automatically Determine threshold by Ohtsu Method |
48 | Automatically Determine threshold by p-tile Method p range: 0.0 - 1.0 |
64 | Automatically Determine threshold by Differential-Histogram Method |
80 | Automatically Determine threshold by Laplacian-Histogram Method |
実行例
入力ファイルの画像
最小 最大 |
0 255 |
オプション必須項目のみの場合
最小 最大 |
1 1 |
オプション -t
t=20で実行
最小 最大 |
0 1 |
オプション -near
near=5, t=20で実行
最小 最大 |
0 1 |
オプション -m
m=1, t=20で実行
最小 最大 |
0 1 |