Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2009-07-24 02:49:42
Size: 64
Editor: bcm-10-134
Comment:
Revision 4 as of 2010-05-05 19:55:07
Size: 582
Editor: gtang
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
||<35%><<TableOfContents>> ||
Line 3: Line 4:
||<35%><<TableOfContents>>||
Line 5: Line 5:
Large e2proc2d See [[EMAN2/Programs/e2boxer#tipsandtricks|e3boxer Tips and Tricks]] for more.

== Convert MRC image's storage type ==
By default, the image will be saved as float type, i.e., 4 bytes (16 bit) for each pixel. For MRC format, we can save image as short (2 bytes/16bit) or byte. e2proc2d.py provide options to convert mrc image between these storage types.

{{{
[someone@localhost]$e2proc2d.py --mrc16bit float-image.mrc short-image.mrc
}}}

{{{
[someone@localhost]$e2proc2d.py --mrc8bit float-image.mrc byte-image.mrc
}}}

e2proc2d

See e3boxer Tips and Tricks for more.

Convert MRC image's storage type

By default, the image will be saved as float type, i.e., 4 bytes (16 bit) for each pixel. For MRC format, we can save image as short (2 bytes/16bit) or byte. e2proc2d.py provide options to convert mrc image between these storage types.

[someone@localhost]$e2proc2d.py --mrc16bit float-image.mrc short-image.mrc

[someone@localhost]$e2proc2d.py --mrc8bit float-image.mrc byte-image.mrc

EMAN2/Programs/e2proc2d (last edited 2016-10-20 14:06:05 by SteveLudtke)