mrcImageBinalization

提供: Eospedia
2013年10月30日 (水) 08:17時点におけるKinoshita (トーク | 投稿記録)による版

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

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


実行例

入力ファイルの画像

Input-mrcImageBinalization.png

最小

最大
平均値
標準偏差

標準誤差

0

255
21.0538
47.6709

0.595886

オプション必須項目のみの場合

Outdata-mrcImageBinalization.png

最小

最大
平均値
標準偏差

標準誤差

1

1
1
0

0

オプション -t

t=20で実行

Outdata-t20-mrcImageBinalization.png

最小

最大
平均値
標準偏差

標準誤差

0

1
0.200313
0.400234

0.00500293

オプション -near

near=5, t=20で実行

Outdata-near5t20-mrcImageBinalization.png

最小

最大
平均値
標準偏差

標準誤差

0

1
0.333125
0.471331

0.00589164

オプション -m

m=1, t=20で実行

Outdata-m1t20-mrcImageBinalization.png

最小

最大
平均値
標準偏差

標準誤差

0

1
0.800937
0.399295

0.00499119