[Chimera-users] How to change 32bit map into 16bit map

Jun Ha Song junhasong at berkeley.edu
Thu Apr 5 15:50:30 PDT 2018


Hello,

I sometimes invert my map using Fiji, and I also convert my 32bit map into
16bit map using Fiji's "Image →  Type  → 16-bit" function, but the only way
to retrieve the map from Fiji is to save the map as .tif stack, then use
IMOD's "tif2mrc" to get it back as .mrc file.

However, once I save my map as .tif, the pixel spacing information of the
map is set to 1,1,1. Because of this, I always have to re-adjust the pixel
spacing back to original using IMOD's "alterheader" once I use Fiji for any
kind of image adjustment.

I know I can invert a map in Chimera (without setting the pixel spacing to
1,1,1 like Fiji) by using "Volume Filter  → Filter Type : Scale  → Scale by
-1", but I don't know how to turn my 32bit map into 16bit map.

Although the "Value Type" of scale filter allows me to specify which bit I
want the map to be in, when I filter my float32 map with value type set to
either int16 or uint16, the filtered map shows histogram with only few
lines.

Can UCSF Chimera turn float32bit map into 16bit map?

Best,
Junha Song.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20180405/8c714d22/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ScaleFloat32to16int.png
Type: image/png
Size: 16884 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20180405/8c714d22/attachment.png>


More information about the Chimera-users mailing list