mrcImageBinalization
mrcImageBinalization is Eos's Command that performs binalization to mrcImage. (In Additional, threshold specified, Ohtsu method ...)
Contents
List of option
Main option
| Option | Essential/Optional | Description | Default |
|---|---|---|---|
| -i | Essential | Input: mrcImage | NULL |
| -o | Essential | Output: mrcImage | NULL |
| -t | Optional | Value of threshold | 0 |
| -v | Optional | value | 0 |
| -near | Optional | Near[pixel]: Near-area also binary | 0 |
| -nLevel | Optional | nLevel: For creating histgram by Kittler and Ohtsu | 256 |
| -p | Optional | p | 0.5 |
| -c | Optional | ConfigurationFile | NULL |
| -m | Optional | Mode | 0 |
| -h | Optional | Help |
-m details
| Value | Description |
|---|---|
| 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) p range: 0.0 - 1.0 |
| 64 | Automatically Determine threshold by Differential-Histogram Method |
| 80 | Automatically Determine threshold by Laplacian-Histogram Method |
Execution example
Input file's image
![]() |
Min Max |
0 255 |
Example of options only essential
![]() |
Min Max |
1 1 |
Option -t
Case: t=20
![]() |
Min Max |
0 1 |
Option -near
Case: near=5, t=20
![]() |
Min Max |
0 1 |
Option -m
Case: m=1, t=20
![]() |
Min Max |
0 1 |
Case: m=2, t=50
![]() |
Min Max |
0 255 |
Case: m=2, t=50, v=255
![]() |
Min Max |
50 255 |
Case: m=3, t=50
![]() |
Min Max |
0 50 |
Case: m=3, t=50, v=255
![]() |
Min Max |
0 255 |
Case: m=16
![]() |
Min Max |
0 1 |
Case: m=32
![]() |
Min Max |
0 1 |
Case: m=48
![]() |
Min Max |
1 1 |
Case: m=48, p=0.1
![]() |
Min Max |
0 1 |
Case: m=64
![]() |
Min Max |
0 1 |
Case: m=80
![]() |
Min Max |
0 1 |














