tiff2mrc

From EosPedia
Jump to: navigation, search

tiff2mrc is Eos's Command.

List of option

Main option

Option Essential/Optional Description Default
-i Essential Input: tiff NULL
-o Essential Output: mrcImage NULL
-r Optional Resolution[A] 2.5
-t Optional x OptimalTime 1.0
-d Optional Directory Number 0
-I Optional Inverse(Black<->White) 0
-Signed Optional Original image is Signed or Not Unsigned
-Offset Optional OffsetValue 0.0
-Max Optional MaxValue:2^Max 16
-Min Optional MinValue:2^Min: without 0 1
-realMin Optional Real Min 0.0
-realMax Optional Real Max 0.0
-realMaxBit Optional RealMaxVauleBit 14
-sin Optional sin File from Zeiss NULL
-c Optional ConfigurationFile NULL
-S Optional ShrinkMode 8
-M Optional Mode1 m=0: 0
m=1: 2
-m Optional Mode2 0
-h Optional Help  

-M details

Value Description
0x0000000f Direct or Log
0x000000f0 Which Color R: 00 G: 10 B: 20

-m details

Value Description
0 Direct
1 Log10(65535/data)


Execution example

Input file image

Input-B120.png


Case: Options only essential

Output data by mrcImageInfo
Min:               0 (0, 0, 0)
Max:             255 (49, 32, 0)
Mean:         21.0538
SD:          47.6709
SE:         0.595886
Sum:          134744
Output data by mrcInfo
N            : (        80,         80,          1)
Mode         :           0  mrcCharImage         
StartN       : (         0,          0,          0)
M            : (         1,          1,          1)
Length       : (     2.500,      2.500,      2.500)
A,B,G        : (     90.00,      90.00,      90.00)
C,R,S        : (         1,          2,          3)
Min,Max,Mean : (         0,        255,       21.1)


Option -r

Case: r=5

Output data by mrcImageInfo
Min:               0 (0, 0, 0)
Max:             255 (49, 32, 0)
Mean:         21.0538
SD:          47.6709
SE:         0.595886
Sum:          134744
Output data by mrcInfo
N            : (        80,         80,          1)
Mode         :           0  mrcCharImage         
StartN       : (         0,          0,          0)
M            : (         1,          1,          1)
Length       : (     5.000,      5.000,      5.000)
A,B,G        : (     90.00,      90.00,      90.00)
C,R,S        : (         1,          2,          3)
Min,Max,Mean : (         0,        255,       21.1)


Option -I

Output data by mrcImageInfo
Min:               0 (49, 32, 0)
Max:             255 (0, 0, 0)
Mean:         233.946
SD:          47.6709
SE:         0.595886
Sum:     1.49726e+06
Output data by mrcInfo
N            : (        80,         80,          1)
Mode         :           0  mrcCharImage         
StartN       : (         0,          0,          0)
M            : (         1,          1,          1)
Length       : (     2.500,      2.500,      2.500)
A,B,G        : (     90.00,      90.00,      90.00)
C,R,S        : (         1,          2,          3)
Min,Max,Mean : (         0,        255,        234)

Option -Offset

Case: Offset=1

Output data by mrcImageInfo
Min:               0 (49, 32, 0)
Max:             255 (36, 38, 0)
Mean:         22.0138
SD:          47.5819
SE:         0.594774
Sum:          140888
Output data by mrcInfo
N            : (        80,         80,          1)
Mode         :           0  mrcCharImage         
StartN       : (         0,          0,          0)
M            : (         1,          1,          1)
Length       : (     2.500,      2.500,      2.500)
A,B,G        : (     90.00,      90.00,      90.00)
C,R,S        : (         1,          2,          3)
Min,Max,Mean : (         0,        255,         22)


Option -realMin, -realMax

Case: realMin=64, realMax=128

Output data by mrcImageInfo
Min:              64 (0, 0, 0)
Max:             128 (49, 32, 0)
Mean:          69.165
SD:          11.7927
SE:         0.147408
Sum:          442656
Output data by mrcInfo
N            : (        80,         80,          1)
Mode         :           0  mrcCharImage         
StartN       : (         0,          0,          0)
M            : (         1,          1,          1)
Length       : (     2.500,      2.500,      2.500)
A,B,G        : (     90.00,      90.00,      90.00)
C,R,S        : (         1,          2,          3)
Min,Max,Mean : (        64,        128,       69.2)


Option -realMaxBit

Case: realMaxBit=1, realMin=64, realMax=128

Output data by mrcImageInfo
Min:               0 (44, 15, 0)
Max:             192 (45, 17, 0)
Mean:           72.44
SD:          39.3767
SE:         0.492209
Sum:          463616
Output data by mrcInfo
N            : (        80,         80,          1)
Mode         :           0  mrcCharImage         
StartN       : (         0,          0,          0)
M            : (         1,          1,          1)
Length       : (     2.500,      2.500,      2.500)
A,B,G        : (     90.00,      90.00,      90.00)
C,R,S        : (         1,          2,          3)
Min,Max,Mean : (         0,        192,       72.4)


Option -S

Case: S=2

Output data by mrcImageInfo
Min:               0 (0, 0, 0)
Max:             245 (18, 19, 0)
Mean:         20.9556
SD:          47.2215
SE:          1.18054
Sum:           33529
Output data by mrcInfo
N            : (        40,         40,          1)
Mode         :           0  mrcCharImage         
StartN       : (         0,          0,          0)
M            : (         1,          1,          1)
Length       : (     5.000,      5.000,      2.500)
A,B,G        : (     90.00,      90.00,      90.00)
C,R,S        : (         1,          2,          3)
Min,Max,Mean : (         0,        245,         21)


Option -m

Case: m=1

Output data by mrcImageInfo
Min:               0 (49, 32, 0)
Max:         2.40654 (0, 0, 0)
Mean:         1.97942
SD:         0.788953
SE:       0.00986191
Sum:         12668.3
Output data by mrcInfo
N            : (        80,         80,          1)
Mode         :           2  mrcFloatImage         
StartN       : (         0,          0,          0)
M            : (         1,          1,          1)
Length       : (     2.500,      2.500,      2.500)
A,B,G        : (     90.00,      90.00,      90.00)
C,R,S        : (         1,          2,          3)
Min,Max,Mean : (         0,       2.41,       1.98)