Difference between revisions of "mrcImagePixelDataGet"

From EosPedia
Jump to: navigation, search
(List of option)
(Execution example)
 
(6 intermediate revisions by the same user not shown)
Line 56: Line 56:
 
<td>Optional</td>
 
<td>Optional</td>
 
<td>ConfigurationFile</td>
 
<td>ConfigurationFile</td>
<td> </td>
+
<td>NULL</td>
 +
</tr>
 +
<tr>
 +
<td>-om</td>
 +
<td>Optional</td>
 +
<td>Output Mode</td>
 +
<td>0</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td>-m</td>
 
<td>-m</td>
 
<td>Optional</td>
 
<td>Optional</td>
<td>Mode</td>
+
<td>[[Interpolation]] Mode</td>
<td> </td>
+
<td>0</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 68: Line 74:
 
<td>Optional</td>
 
<td>Optional</td>
 
<td>Help</td>
 
<td>Help</td>
<td> </td>
+
<td> </td>
 
</tr>
 
</tr>
 
</div>
 
</div>
 
</table>
 
</table>
 +
<br>
 +
 +
=== -om details ===
 +
<table border="1">
 +
<tr>
 +
<th>Value</th>
 +
<th>Description</th>
 +
</tr>
 +
<tr>
 +
<td>+1</td>
 +
<td>with coordinates</td>
 +
</tr>
 +
</table>
 +
<br>
 +
 +
===-m  details===
 +
Setting of [[Interpolation]] method.
 +
<table border="1">
 +
<div align="left">
 +
<tr>
 +
<th>Value</th>
 +
<th>Description</th>
 +
</tr>
 +
<tr>
 +
<td>0</td>
 +
<td>Nearest neighbor method</td>
 +
</tr>
 +
<tr>
 +
<td>1</td>
 +
<td>Bi-linear interpolation method</td>
 +
</tr>
 +
<tr>
 +
<td>2</td>
 +
<td>Cubic convolution method</td>
 +
</tr>
 +
<tr>
 +
<td>3</td>
 +
<td>Polynomial interpolation method</td>
 +
</tr>
 +
</div>
 +
</table>
 +
<br>
  
 
== Execution example ==
 
== Execution example ==
Line 92: Line 140:
 
</tr>
 
</tr>
 
</table>
 
</table>
+
<br>
 +
 
 +
<div>The following file is for example of -In.</div>
 +
<div>[[:Media:Input-B120-s.mrc | -i file]]'s image</div>
 +
<table>
 +
<tr>
 +
<td>[[File:Input-B120.png]]</td>
 +
<td><p align="left">Min<br>
 +
Max<br>
 +
Mean<br>
 +
SD<br>
 +
SE<br></p>
 +
</td>
 +
<td><p align="left">0 (0, 0, 0)<br>
 +
65535 (49, 32, 0)<br>
 +
5410.81<br>
 +
12251.4<br>
 +
153.143<br></p>
 +
</td>
 +
</tr>
 +
</table>
 +
<br>
 +
 
 
===------Example of options only essential------===
 
===------Example of options only essential------===
 
<div>The pixel data of input file is shown as the following.</div>
 
<div>The pixel data of input file is shown as the following.</div>
Line 111: Line 181:
  
 
It doesn't effect -z, because z size of the image is 0.
 
It doesn't effect -z, because z size of the image is 0.
[[File:Input-mrcImagePixelDataGet.png]]
+
[[File:Input-mrcImagePixelDataGet.png]]<br>
 +
<br>
 +
 
 +
===------Option -In------===
 +
<div>-In file is as the following.</div>
 +
<pre>
 +
0 0 0
 +
44.5 31.5 0
 +
49 32 0
 +
 
 +
</pre>
 +
 
 +
====Case: No other settings====
 +
<div>Output</div>
 +
<pre>
 +
0.000000 0.000000 0.000000 : 0.000000
 +
44.500000 31.500000 0.000000 : 28013.000000
 +
49.000000 32.000000 0.000000 : 65535.000000
 +
</pre>
 +
<br>
 +
 
 +
<div>-o 's data</div>
 +
<pre>
 +
0.000000
 +
28013.000000
 +
65535.000000
 +
</pre>
 +
<br>
 +
 
 +
====Case: om=1 ====
 +
<div>Output</div>
 +
<pre>
 +
0.000000 0.000000 0.000000 : 0.000000
 +
44.500000 31.500000 0.000000 : 28013.000000
 +
49.000000 32.000000 0.000000 : 65535.000000
 +
</pre>
 +
<br>
 +
 
 +
<div>-o 's data</div>
 +
<pre>
 +
0.000000 0.000000 0.000000 0.000000
 +
44.500000 31.500000 0.000000 28013.000000
 +
49.000000 32.000000 0.000000 65535.000000
 +
</pre>
 +
<div>The coordinates are added in Output file.</div>
 +
<br>
 +
 
 +
====Case: m=1 ====
 +
<div>Output</div>
 +
<pre>
 +
0.000000 0.000000 0.000000 : 0.000000
 +
44.500000 31.500000 0.000000 : 28141.500000
 +
49.000000 32.000000 0.000000 : 65535.000000
 +
</pre>
 +
<div>There is difference about the gotten data  depending [[Interpolation]] method.</div>
 +
<br>
 +
 
 +
====Case: m=2 ====
 +
<div>Output</div>
 +
<pre>
 +
0.000000 0.000000 0.000000 : 0.000000
 +
44.500000 31.500000 0.000000 : 26298.328125
 +
49.000000 32.000000 0.000000 : 65535.000000
 +
</pre>
 +
<br>
 +
 
 +
====Case: m=3 ====
 +
<div>Output</div>
 +
<pre>
 +
0.000000 0.000000 0.000000 : 0.000000
 +
44.500000 31.500000 0.000000 : 26317704.905222
 +
49.000000 32.000000 0.000000 : 49474638.844293
 +
</pre>
 +
<br>

Latest revision as of 06:23, 5 August 2014

mrcImagePixelDataGetEos's Command that shows the pixel data.

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

B120-mrcImagePixelDataGet.png

Min

Max
Mean
SD

SE

-64.5759

93.0617
5.50826
20.7262

0.259078


The following file is for example of -In.
-i file's image
Input-B120.png

Min

Max
Mean
SD

SE

0 (0, 0, 0)

65535 (49, 32, 0)
5410.81
12251.4

153.143


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

The pixel data of input file is shown as the following.

Only.inputdata-mrcImagePixelDataGet.png

------Option -o------

-o: Output to specified file.
e.g. If "outputdatafile" file is specified, it outputs the following to outputdatafile.

B120.out-mrcImagePixelDataGet.png

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

Case: -x=10

Output→Out-x10-mrcImagePixelDataGet.png

Case: -x,-y=10

Output→Out-xy10-mrcImagePixelDataGet.png

Case: -x,-y,-z=10

Output→Out-xyz-mrcImagePixelDataGet.png

It doesn't effect -z, because z size of the image is 0. Input-mrcImagePixelDataGet.png

------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 : 28013.000000
49.000000 32.000000 0.000000 : 65535.000000


-o 's data
0.000000
28013.000000
65535.000000


Case: om=1

Output
0.000000 0.000000 0.000000 : 0.000000
44.500000 31.500000 0.000000 : 28013.000000
49.000000 32.000000 0.000000 : 65535.000000


-o 's data
0.000000 0.000000 0.000000 0.000000
44.500000 31.500000 0.000000 28013.000000
49.000000 32.000000 0.000000 65535.000000
The coordinates are added in Output file.


Case: m=1

Output
0.000000 0.000000 0.000000 : 0.000000
44.500000 31.500000 0.000000 : 28141.500000
49.000000 32.000000 0.000000 : 65535.000000
There is difference about the gotten data depending Interpolation method.


Case: m=2

Output
0.000000 0.000000 0.000000 : 0.000000
44.500000 31.500000 0.000000 : 26298.328125
49.000000 32.000000 0.000000 : 65535.000000


Case: m=3

Output
0.000000 0.000000 0.000000 : 0.000000
44.500000 31.500000 0.000000 : 26317704.905222
49.000000 32.000000 0.000000 : 49474638.844293