TERSE: Efficient compression of the diffraction data
Abstract
High-throughput data collection in crystallography poses significant challenges in handling massive amounts of data. Here, we present TERSE, a novel lossless compression algorithm specifically designed for diffraction data. We compare TERSE with the established lossless compression algorithms implemented in gzip, CBF, and HDF5, in terms of compression efficiency and speed, using continuous rotation electron diffraction data of an inorganic compound. Our results show that TERSE outperforms these algorithms by achieving a higher data compression at a speed that is at least an order of magnitude faster. TERSE files are byte-order independent and the algorithm can be readily implemented in hardware. By providing a tailored solution for diffraction data, TERSE facilitates more efficient data analysis and interpretation while mitigating storage and transmission concerns. TERSE C++20 compression/decompression code and an ImageJ/Fiji java plugin for reading TERSE files are open-sourced on GitHub under the permissive MIT license. SynopsisWe present a fast and lossless algorithm for compressing diffraction data, achieving up to 85% reduction in file size while processing up to 2000 512x512 frames per second. This breakthrough in compression technology is a significant step towards more efficient analysis and storage of large diffraction datasets.
02 /Specification & Classification
Click any tag to browse matching papersReproducibility 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
- 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
- Artifact-Minimized High-Ratio Image Compression with Preserved Analysis Fidelity
Bin Duan, Logan A. Walker, … Dawen Cai·bioRxiv·Jul 17, 2024
- A real-time compression library for microscopy images
Bálint Balázs, J.R. Deschamps, … Lars Hufnagel·bioRxiv·Jul 21, 2017
- 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
- 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
- Foldcomp: a library and format for compressing and indexing large protein structure sets
Hyunbin Kim, Milot Mirdita, Martin Steinegger·BioinformaticsPeer-reviewed·Mar 24, 2023