bioRxivBioinformaticsPreprint
MRCZ - A proposed fast compressed MRC file format and direct detector normalization strategies
Robert A. McLeodiD, Ricardo Diogo RighettoiD, Andy Stewart, Henning StahlbergiD
Abstract
The introduction of high-speed CMOS detectors is fast marching the field of transmission electron microscopy into an intersection with the computer science field of big data. Automated data pipelines to control the instrument and the initial processing steps are imposing more and more onerous requirements on data transfer and archiving. We present a proposal for expansion of the venerable MRC file format to combine integer decimation and lossless compression to reduce storage requirements and improve file read/write times by >1000 % compared to uncompressed floating-point data. The integer decimation of data necessitates application of the gain normalization and outlier pixel removal at the data destination, rather than the source. With direct electron detectors, the normalization step is typically provided by the vendor and is not open-source. We provide robustly tested normalization algorithms that perform at-least as well as vendor software. We show that the generation of hot pixels is a highly dynamic process in direct electron detectors, and that outlier pixels must be detected on a stack-by-stack basis. In comparison, the low-frequency bias features of the detectors induced by the electronics on-top of the active layer, are extremely stable with time. Therefore we introduce a stochastic-based approach to identify outlier pixels and smoothly filter them, such that the degree of correlated noise in micrograph stacks is reduced. Both a priori and a posteriori gain normalization approaches that are compatible with pipeline image processing are discussed. The a priori approach adds a gamma-correction to the gain reference, and the a posteriori approach normalized by a moving average of time-adjacent stacks, with the current stack being knocked-out, known as the KOMA (knock-out moving average) filter. The combination of outlier filter and KOMA normalization over ~25 frames can reduce the correlated noise in movies to nearly zero. Sample libraries and a command-line utility are hosted at github.com/em-MRCZ and released under the BSD license.
- research focus: benchmarking
- research focus: software / tool
- approach: statistical model
- approach: experimental assay
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- The impact of data reduction and lossy image formats on electron microscope images
Edward T. Eng, Mykhailo Kopylov, … Clinton S. Potter·bioRxiv·Oct 24, 2018
- Massive Compression for High Data Rate Macromolecular Crystallography (HDRMX): Impact on Diffraction Data and Subsequent Structural Analysis
Herbert Jacob Bernstein, Alexei S. Soares, … Jean Jakoncic·Journal of Synchrotron RadiationPeer-reviewed·Feb 6, 2025
- A real-time compression library for microscopy images
Bálint Balázs, J.R. Deschamps, … Lars Hufnagel·bioRxiv·Jul 21, 2017
- Electron Event Representation (EER) data enables efficient cryoEM file storage with full preservation of spatial and temporal resolution
H. Guo, E. Franken, … J. L. Rubinstein·bioRxiv·Apr 28, 2020
- Throughput and Resolution with a Next Generation Direct Electron Detector
J. H. Mendez, A. Mehrani, … S. M. Stagg·bioRxiv·May 3, 2019
- A Comparison of Lossless Compression Methods in Microscopy Data Storage Applications
Logan A. Walker, Ye Li, … Dawen Cai·International Conference on Software Engineering and Information Management (ICSIM)Peer-reviewed·Jan 31, 2023