mrcImageTrans

From EosPedia
Jump to: navigation, search

mrcImageTrans is Eos's Command that performs move, rotation of an image by using 4x4 matrix.


List of option

Main option

Option Essential/Optional Description Default
-i Essential Input: mrcImage(3D) NULL
-o Essential Output: mrcImage(3D) NULL
-M Essential Input: ASCII(4x4 matrix) NULL
-c Optional ConfigurationFile NULL
-m Optional InterpolationのMode 0
-h Optional Help  


-m details

Setting Interpolation method.

Value Description
0 Nearest neighbor method
1 Bi-linear interpolation method
2 Cubic convolution method
3 Polynomial interpolation method


-M format

data(0, 0) data(0, 1) data(0, 2) data(0, 3)
data(1, 0) data(1, 1) data(1, 2) data(1, 3)
data(2, 0) data(2, 1) data(2, 2) data(2, 3)
data(3, 0) data(3, 1) data(3, 2) data(3, 3)
It can be created by matrix3DFromEulerAngle.


Execution example

Input file's data

-i image

Input file

Input-mrcImageTrans.png
xy-plane

Input1-mrcImageTrans.png
yz-plane

Min

Max
Mean
SD

SE

0 (0, 0, 0)

3500.79 (49, 53, 30)
11.0585
118.123

0.118123


Example of options only essential

30° rotation around the Z-axis

-M 's data
       0.866025       -0.500000        0.000000 
       0.500000        0.866025        0.000000 
       0.000000        0.000000        1.000000 
       0.000000        0.000000        0.000000 

Outdata-mrcImageTrans.png
xy-plane

Outdata1-mrcImageTrans.png
yz-plane

Min

Max
Mean
SD

SE

0 (0, 0, 0)

3500.79 (35, 52, 30)
11.0851
118.917

0.118917


30° rotation around the Z-axis + parallel transformation (x+20, y+20, z+20)

-M 's data
       0.866025       -0.500000        0.000000 
       0.500000        0.866025        0.000000 
       0.000000        0.000000        1.000000 
       20.000000        20.000000        20.000000 

Outdata2-mrcImageTrans.png
xy-plane

Outdata3-mrcImageTrans.png
yz-plane

Min

Max
Mean
SD

SE

0 (0, 0, 0)

3500.79 (55, 72, 50)
11.0851
118.917

0.118917