mrcImageTrans
From EosPedia
								
												
				mrcImageTrans is Eos's Command that performs move, rotation of an image by using 4x4 matrix.
Contents
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
| Min 				Max | 0 (0, 0, 0) 				3500.79 (49, 53, 30) | 
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 
	| Min 				Max | 0 (0, 0, 0) 				3500.79 (35, 52, 30) | 
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 
	| Min 				Max | 0 (0, 0, 0) 				3500.79 (55, 72, 50) | 






