mrcImageROIs
mrcImageROIs is Eos's Command that cuts out multiple ROIs required.
Contents
- 1 Algorithm
- 2 List of option
- 3 Execution example
- 4 References
Algorithm
List of option
Main option
Option | Essential/Optional | Description | Default |
---|---|---|---|
-i | Essential | Input: mrcImage | NULL |
-I | Essential | Input:ASCII(ROI Information) | NULL |
-o | Optional | Output: Montage file | stdout(Standard output by default) |
-S | Optional | Input: when the shrink ratio between Input file and image with ROI Information is different. | NULL (No Shrink) |
-w | Optional | Input: Width of all | 0.0 (Depending to ROI Information) |
-h | Optional | Input: Height of all | 0.0 (Depending to ROI Information) |
-m | Optional | Interpolation mode | 0 |
-M | Optional | Output file's format | 2 |
-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 |
-M details
Setting format of output file.
Value | Description |
---|---|
0 | Char |
1 | Short |
2 | Float |
ROI Information file's format
OutputFileName Shape Parameter
Rectangle (4 corners)
OutFileName Rect blx bly brx bry trx try tlx tly
Rectangle (Center and Size)
OutFileName Rect2 centerx centery width height
Center and Radius
OutFileName Circle centerx centery radius
Execution example
------Input file's image------
![]() |
Min Max |
0 255 |
Using image Added the Noise ------> |
![]() |
Min Max |
0 255 |
------Infomation file's data------
Format pattern1: OutFileName Rect blx bly brx bry trx try tlx tly
inputnoise-0000.roi Rect 6 6 26 6 26 26 6 26 inputnoise-0001.roi Rect 20 6 40 6 40 26 20 26 inputnoise-0002.roi Rect 40 6 60 6 60 26 40 26 inputnoise-0003.roi Rect 54 6 74 6 74 26 54 26 inputnoise-0004.roi Rect 6 20 26 20 26 40 6 40 inputnoise-0005.roi Rect 20 20 40 20 40 40 20 40 inputnoise-0006.roi Rect 40 20 60 20 60 40 40 40 inputnoise-0007.roi Rect 54 20 74 20 74 40 54 40 inputnoise-0008.roi Rect 6 40 26 40 26 60 6 60 inputnoise-0009.roi Rect 20 40 40 40 40 60 20 60 inputnoise-0010.roi Rect 40 40 60 40 60 60 40 60 inputnoise-0011.roi Rect 54 40 74 40 74 60 54 60 inputnoise-0012.roi Rect 6 54 26 54 26 74 6 74 inputnoise-0013.roi Rect 20 54 40 54 40 74 20 74 inputnoise-0014.roi Rect 40 54 60 54 60 74 40 74 inputnoise-0015.roi Rect 54 54 74 54 74 74 54 74
Format pattern2: OutFileName Rect2 centerx centery width height
------Example of options only essential------
Case: Infomation file: Rect
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Case: Infomation file: Rect2
------Option -o------
![]() |
Min Max |
-168.927 160.828 |
------Option -S------
Example of 15th image from Infomation file
Case: -S=3
![]() |
Min Max |
0 255 |
Case: -S=5
![]() |
Min Max |
0 255 |
------Option -width,-height------
Case: -width=10,-height=10
![]() |
Min Max |
0 255 |
Case: -width=50,-height=50
![]() |
Min Max |
0 255 |
------Option -M------
Using Infomation file: Rect
Case: M=0
![]() |
Min Max |
0 165 |
Case: M=1
![]() |
Min Max |
0 65445 |
Case: M=2
![]() |
Min Max |
-168.927 160.828 |
------Option -m------
Using Infomation file: Rect2
Case: m=0
![]() |
Min Max |
0 255 |
Case: m=1
![]() |
Min Max |
0 255 |
Case: m=2
![]() |
Min Max |
-65.1789 323.14 |
Case: m=3
![]() |
Min Max |
-13045.1 399922 |