Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2009-07-24 00:37:41
Size: 35
Editor: 10
Comment:
Revision 5 as of 2010-05-05 20:02:46
Size: 693
Editor: gtang
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= e2proc2d.py = = e2proc2d =
||<35%><<TableOfContents>> ||
Line 3: Line 4:
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. The following example is for 2D mrc image. You can do similar conversion to 3D mrc image by calling e2proc3d.py.

{{{
[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. The following example is for 2D mrc image. You can do similar conversion to 3D mrc image by calling e2proc3d.py.

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