Neural Image Compression
Compresses Whole Slide Images (WSI) with a convolutional neural network (CNN) described in . A patch of size 128x128x3 is compressed to 128 features. The algorithm saves the compressed slides with additional augmentations (flips and rotations) in the mha format, which can be read with SimpleITK .
The WSI must contain a magnification level with 0.5μm pixel spacing (± 0.05).
 D. Tellez, D. Hoppener, C. Verhoef, D. Grunhagen, P. Nierop, M. Drozdzal, J. van der Laak, and F. Ciompi, “Extending unsupervised neural image compression with supervised multitask learning,” in Medical Imaging with Deep Learning, 2020.  Lowekamp, Bradley Christopher, et al. "The design of SimpleITK." Frontiers in neuroinformatics 7 (2013): 45, https://simpleitk.readthedocs.io