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