Difference between revisions of "mrcImagePixelDataGet"
From EosPedia
(→Execution example) |
(→om=1) |
||
Line 210: | Line 210: | ||
<br> | <br> | ||
− | ====om=1 ==== | + | ====Case: om=1 ==== |
<div>Output</div> | <div>Output</div> | ||
<pre> | <pre> |
Revision as of 05:46, 5 August 2014
mrcImagePixelDataGetは Eos's Command that shows the pixel data.
Contents
List of option
Option | Essential/Optional | Description | Default |
---|---|---|---|
-i | Essential | Input: mrcImage | NULL |
-o | Optional | Output: ASCII | NULL |
-x | Optional | Input: x | 0.0 |
-y | Optional | Input: y | 0.0 |
-z | Optional | Input: z | 0.0 |
-In | Optional | Input:eosPoint | stdin |
-cuda | Optional | cudaDeviceID | 0 |
-c | Optional | ConfigurationFile | NULL |
-om | Optional | Output Mode | 0 |
-m | Optional | Interpolation Mode | 0 |
-h | Optional | Help |
-om details
Value | Description |
---|---|
+1 | with coordinates |
-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------
![]() |
Min Max |
-64.5759 93.0617 |
The following file is for example of -In.
![]() |
Min Max |
0 (0, 0, 0) 255 (49, 32, 0) |
------Example of options only essential------
The pixel data of input file is shown as the following.
------Option -o------
-o: Output to specified file.
e.g. If "outputdatafile" file is specified, it outputs the following to outputdatafile.
------Option -x,-y,-z------
Case: -x=10
Case: -x,-y=10
Case: -x,-y,-z=10
It doesn't effect -z, because z size of the image is 0.
------Option -In------
-In file is as the following.
0 0 0 44.5 31.5 0 49 32 0
Case: No other settings
Output
0.000000 0.000000 0.000000 : 0.000000 44.500000 31.500000 0.000000 : 109.000000 49.000000 32.000000 0.000000 : 255.000000
-o 's data
0.000000 109.000000 255.000000
Case: om=1
Output
0.000000 0.000000 0.000000 : 0.000000 44.500000 31.500000 0.000000 : 109.000000 49.000000 32.000000 0.000000 : 255.000000
-o 's data
0.000000 0.000000 0.000000 0.000000 44.500000 31.500000 0.000000 109.000000 49.000000 32.000000 0.000000 255.000000
The coordinates are added in Output file.