mrcImageROI
mrcImageROI is Eos's Command that extracts the ROI from mrcImage file.
Contents
- 1 List of option
- 2 Execution example
List of option
Main option
Option | Essential/Optional | Description | Default |
---|---|---|---|
-i | Essential | Input: mrcImage(2D) | NULL |
-o | Essential | Output: mrcImage(2D ROI) | NULL |
-r | Optional | Rectangle ROI (blx, bly, brx, bry, trx, try, tlx, tly) | (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) |
-x | Optional | Width before expansion | 1.0(Default is set by -r) |
-y | Optional | Height before expansion | 1.0(Default is set by -r) |
-a | Optional | This value [degree] is added to angle of current source image. | 0.0 |
-W | Optional | Width after expansion[Pixel] | 1.0 |
-H | Optional | Height after expansion[Pixel] | 1.0 |
-Shift | Optional | ROI ARea Shift [Pixel](ShiftX, ShiftY) | (0.0, 0.0) |
-truePitch | Optional | truePitch [A] | 430.0 |
-dY | Optional | Number of turePitch | 0.0 |
-Ly | Optional | Header Length y [A/Pixel] | 5.0 |
-S | Optional | When inputfile is shrinked | 1 |
-c | Optional | ConfigurationFile | NULL |
-m | Optional | Mode | 0 |
-h | Optional | Help |
-m details
Setting of Interpolation method.
Value | Description |
---|---|
0 | Nearest neighbor method |
1 | Bi-linear interpolation method |
2 | Cubic convolution method |
3 | Polynomial interpolation method |
Execution example
------Input file's image------
![]() |
Min Max |
0 255 |
Using image Added the Noise ------> |
![]() |
Min Max |
0 255 |
------Example of options only essential------
![]() |
Min Max |
0 255 |
* There is no change in particular. |
------Option -r------
Case: -r 10 10 70 20 70 70 10 60
![]() |
Min Max |
0 255 |
------Option -x, -y------
Case: x=100, y=100 | ||
![]() |
Min Max |
0 255 |
Case: x=50, y=50 | ||
![]() |
Min Max |
0 255 |
------Option -a------
Case: a=30 | ||
![]() |
Min Max |
0 255 |
------Option -W, -H------
Case: W=100, H=100 | ||
![]() |
Min Max |
0 255 |
Case: W=50, H=50 | ||
![]() |
Min Max |
0 255 |
------Option -Shift------
Case: Shift=10 | ||
![]() |
Min Max |
0 255 |
Case: Shift=30 | ||
![]() |
Min Max |
0 255 |
------Option -S------
Case: S=2 | ||
![]() |
Min Max |
0 255 |
Case: S=3 | ||
![]() |
Min Max |
0 255 |