mrcImageROI

From EosPedia
Jump to: navigation, search

mrcImageROI is Eos's Command that extracts the ROI from mrcImage file.

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------

Input-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
82.357
119.241

1.49051

Using image Added the Noise
  ------>
Input.noiseadd-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
96.8606
123.396

1.54245

------Example of options only essential------

Outdata-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
96.8606
123.396

1.54245

* There is no change in particular.

------Option -r------

Case: -r 10 10 70 20 70 70 10 60

Inputnoise1.m0r2-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
123.636
126.999

2.2585

------Option -x, -y------

Case: x=100, y=100
Inputnoise.x100y100-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
82.5123
118.972

1.18972

Case: x=50, y=50
Inputnoise.x50y50-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
125.118
127.03

2.5406

------Option -a------

Case: a=30
Inputnoise.a30-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
102.184
124.572

1.55715

------Option -W, -H------

Case: W=100, H=100
Inputnoise.w100h100-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
95.808
123.128

1.23128

Case: W=50, H=50
Inputnoise.w50h50-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
95.5624
123.048

2.46095



------Option -Shift------

Case: Shift=10
Inputnoise.shift1010-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
96.8606
124.572

1.55715

Case: Shift=30
Inputnoise.Shift3030-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
96.8606
123.396

1.54245



------Option -S------

Case: S=2
Inputnoise.S2-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
97.5262
123.5572

0.777089

Case: S=3
Inputnoise.S3-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
97.7599
123.612

0.519379

------Option -m------

The image processed -r was used as input file. (Since the change is easy to find.)
Case: m=0
Inputnoise1.m0r2-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
96.8606
123.396

1.54245

Case: m=1
Inputnoise1.m1r2-mrcImageROI.png

Min

Max
Mean
SD

SE

0

255
123.29
103.921

1.84808

Case: m=2
Inputnoise1.m2r2-mrcImageROI.png

Min

Max
Mean
SD

SE

-89.3528

354.475
123.427
120.789

2.14806

Case: m=3
Inputnoise1.m3r2-mrcImageROI.png

Min

Max
Mean
SD

SE

-44414.5

632802
133351
142680

2537.36