<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Thanks, Henning.  Do any of the commonly-used processing programs (e.g. RELION, CryoSPARC) read or write mrcz format?
<div class=""><br class="">
</div>
<div class="">Matthew</div>
<div class=""><br class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font size="2" class=""><b class="">||  Matthew Cahn  |  Linux Administrator  |  Dept. of Molecular Biology / Research Computing  |  Princeton University  |  (609) 258-5404  |  <a href="mailto:mcahn@princeton.edu" class="">mcahn@princeton.edu</a>  ||<br class="">
</b></font><br class="">
</div>
</div>
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Aug 29, 2019, at 5:04 PM, Henning Stahlberg <<a href="mailto:henning.stahlberg@unibas.ch" class="">henning.stahlberg@unibas.ch</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="auto" class="">Hi,
<div class="">Gain corrected images are floating point. Loss-less compression of noisy floats is not trivial. The MRCZ format of Rob McLeod deals with that, see</div>
<div class=""> <a href="https://doi.org/10.1016/j.jsb.2017.11.012" class="">https://doi.org/10.1016/j.jsb.2017.11.012</a></div>
<div class="">Henning. <br class="">
<br class="">
<div dir="ltr" class="">Henning Stahlberg
<div class=""><a href="http://c-cina.org/" class="">http://c-cina.org</a></div>
<div class="">(sent from a mobile device)</div>
</div>
<div dir="ltr" class=""><br class="">
On Aug 29, 2019, at 22:51, Matthew H. Cahn <<a href="mailto:mcahn@princeton.edu" class="">mcahn@princeton.edu</a>> wrote:<br class="">
<br class="">
</div>
<blockquote type="cite" class="">
<div dir="ltr" class="">By the way, why don’t gain-corrected images compress well?  Doesn’t gain-correction just change the dynamic range of the pixels?
<div class=""><br class="">
</div>
<div class="">Matthew</div>
<div class=""><br class="">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<font size="2" class=""><b class="">||  Matthew Cahn  |  Linux Administrator  |  Dept. of Molecular Biology / Research Computing  |  Princeton University  |  (609) 258-5404  |  <a href="mailto:mcahn@princeton.edu" class="">mcahn@princeton.edu</a>  ||<br class="">
</b></font><br class="">
</div>
</div>
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On Aug 29, 2019, at 3:35 PM, Ali Punjani <<a href="mailto:alipunjani@cs.toronto.edu" class="">alipunjani@cs.toronto.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">
<div style="color:rgb(49,49,49);font-size:16px;word-spacing:1px" dir="auto" class="">
<div dir="auto" style="font-size:1rem" class="">Hi Matthew,</div>
</div>
<div dir="auto" style="color:rgb(49,49,49);font-size:16px;word-spacing:1px" class="">
<br class="">
</div>
<div dir="auto" style="color:rgb(49,49,49);word-spacing:1px;font-size:1rem" class="">
In cryoSPARC, LZW compressed tiff files are handled natively and decompressed in parallel on the fly as needed. They are never stored in decompressed form, so the original tiff files (created by IMOD, serialEM, etc) are retained throughout a project. This is
 a very common workflow, though as noted, for effective tiff compression the movies should not be gain corrected - the gain reference must be stored separately and provided at import time. </div>
</div>
<div dir="auto" style="color:rgb(49,49,49);word-spacing:1px;font-size:1rem" class="">
<br class="">
</div>
<div dir="auto" style="color:rgb(49,49,49);word-spacing:1px;font-size:1rem" class="">
Ali</div>
<div class=""><br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Aug 29, 2019 at 3:19 PM Matthew H. Cahn <<a href="mailto:mcahn@princeton.edu" class="">mcahn@princeton.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word" class="">Is it possible to convert mrc files to compressed tiff immediately after data collection, and use that compressed tiff for all the downstream processing?  For example, if I compress the mrc files from our Krios to
 tiff with LZW (lossless) compression, using IMOD’s mrc2tif, can motioncor2, RELION, CryoSPARC, etc. handle that format and keep everything compressed throughout the process?
<div class=""><br class="">
</div>
<div class="">— Matthew</div>
<div class=""><br class="">
<div class="">
<div style="word-wrap:break-word" class="">
<div style="font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class="">
<font size="2" class=""><b class="">||  Matthew Cahn  |  Linux Administrator  |  Dept. of Molecular Biology / Research Computing  |  Princeton University  |  (609) 258-5404  |  <a href="mailto:mcahn@princeton.edu" target="_blank" class="">mcahn@princeton.edu</a>
  ||<br class="">
</b></font><br class="">
</div>
</div>
</div>
<br class="">
</div>
</div>
_______________________________________________<br class="">
3dem mailing list<br class="">
<a href="mailto:3dem@ncmir.ucsd.edu" target="_blank" class="">3dem@ncmir.ucsd.edu</a><br class="">
<a href="https://mail.ncmir.ucsd.edu/mailman/listinfo/3dem" rel="noreferrer" target="_blank" class="">https://mail.ncmir.ucsd.edu/mailman/listinfo/3dem</a><br class="">
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</blockquote>
<blockquote type="cite" class="">
<div dir="ltr" class=""><span class="">_______________________________________________</span><br class="">
<span class="">3dem mailing list</span><br class="">
<span class=""><a href="mailto:3dem@ncmir.ucsd.edu" class="">3dem@ncmir.ucsd.edu</a></span><br class="">
<span class=""><a href="https://mail.ncmir.ucsd.edu/mailman/listinfo/3dem" class="">https://mail.ncmir.ucsd.edu/mailman/listinfo/3dem</a></span><br class="">
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>