<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Andrea,<div class=""><br class=""></div><div class=""> I added saving of TIFF maps in ChimeraX, will be in tomorrow's ChimeraX builds.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://www.rbvi.ucsf.edu/chimerax/download.html#daily" class="">https://www.rbvi.ucsf.edu/chimerax/download.html#daily</a></div><div class=""><br class=""></div><div class="">It saves a normal TIFF file but there is a tag (ImageDescription) used by ImageJ that has the pixel size, so I called the format "ImageJ TIFF map" in ChimeraX. By default it saves all z-planes in one file</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>save mymap.tif format imagejtiff</div><div class=""><br class=""></div><div class="">If you have more than one map open in ChimeraX you need to specify which one to save</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>save mymap.tif format imagejtiff model #1</div><div class=""><br class=""></div><div class="">If you want to save each z-plane as a separate file</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>save mymap_{z}.tif format imagejtiff</div><div class=""><br class=""></div><div class="">The {z} in the name will files mymap_000.tif, mymap_001.tif, ... where the {z} is replace by the plane number (starting at 0).</div><div class=""><br class=""></div><div class="">The "format imagejtiff" option is needed because without that it just saves a photo of the graphics window. Currently the Save dialog shown by menu File / Save... cannot save ImageJ TIFF because there are two types of files with suffix ".tif", graphics photos and ImageJ and we need to add some magic to the code that can handle that situation. That will be done later. But for now you have to use the command.</div><div class=""><br class=""></div><div class="">Another limitation of the ImageJ TIFF save is it only handle single channel data. In the future I could make it handle multichannel (e.g. light microscopy with red,green,blue channels) data.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div class=""><br class=""></div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 15, 2020, at 9:21 AM, Andrea Dallapè <<a href="mailto:andrea.dallape@unitn.it" class="">andrea.dallape@unitn.it</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class="">Hi Tom,</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">thank you for your prompt and kind reply.</div><div dir="auto" class="">It would be amazing! My idea is to have each plane of the map in a separate TIFF file (ie 400 plane, 400 images). I didn’t know about the pixel size, but I will use ImageJ, so it seems to be perfect.</div><div dir="auto" class="">Thank you for your help and efforts.</div><div dir="auto" class="">Have a great day,</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Andrea</div><div class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno mar 15 dic 2020 alle 18:11 Tom Goddard <<a href="mailto:goddard@sonic.net" class="">goddard@sonic.net</a>> ha scritto:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">Hi Andrea,<br class="">
<br class="">
ChimeraX does not have a command to write map data in TIFF format. But I could add that ability today. Do you want each plane of a map written to a separate TIFF file, or all planes written to one file, or do you just want to show one specific plane and write it out as TIFF? You know the TIFF format doesn't have the pixel size for your map unless it is written in using some specific extra info for example using an ImageJ TIFF header or OME TIFF header. What software do you intend to use these TIFF images in?<br class="">
<br class="">
Tom<br class="">
<br class="">
<br class="">
> On Dec 15, 2020, at 4:19 AM, Andrea Dallapè <<a href="mailto:andrea.dallape@unitn.it" target="_blank" class="">andrea.dallape@unitn.it</a>> wrote:<br class="">
> <br class="">
> Hi all,<br class="">
> <br class="">
> I really hope that you all are healthy and safe.<br class="">
> I would like to ask you if there is a method/command script to extract TIFF images from a density map. Basically, I used the "plane" option in Volume Viewer to see all the planes contained in the map.<br class="">
> Now I would like to extract all the planes in TIFF images. Is this possible? Could you suggest to me how to deal with it?<br class="">
> Thank you for your kind attention.<br class="">
> Have a great day,<br class="">
> <br class="">
> Andrea<br class="">
> _______________________________________________<br class="">
> ChimeraX-users mailing list<br class="">
> <a href="mailto:ChimeraX-users@cgl.ucsf.edu" target="_blank" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">
> Manage subscription:<br class="">
> <a href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users" rel="noreferrer" target="_blank" class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a><br class="">
<br class="">
</blockquote></div></div>
</div></blockquote></div><br class=""></div></body></html>