Optimal Image Data Compression For Whole Slide Images
Whole slide scanning is rapidly entering routine pathology laboratories. Modern scanners enable digitization of tens or even hundreds of thousands slides each year. If all WSI images are stored permanently, hundreds of terabytes image files need to be stored. It is essential to use image storage methods that preserve the scan image quality, but also keep storage costs in a reasonable level.
Today all WSIs are stored with lossy compression methods using a variety of different file formats. At the practical level it is important to find an image file format, which results in small-sized image files but retaining image quality as â€œvisually losslessâ€.
In this study we compared file formats ofHamamatsu, Aperio, and 3D-Histech scanners to standard JPEG2000 and to JPEG2000 specially optimized for brightfield histology WSIs. As for image quality readout we used standardized resolution charts, and evaluation by three pathologists who ranked the images by their visual quality, when displayed on a 4K computer monitor.
Differences in WSI file sizes of scanned images deemed â€œvisually losslessâ€ were significant. If we set Hamamatsu Nanozoomer .NDPI file size (using its default â€œjpeg80 qualityâ€) as 100%, the size of a â€œvisually losslessâ€ JPEG2000 file was only 15-20% of that. Comparisons to Aperio and 3D-Histech files (.svs and .mrxs at their default settings) yielded similar results. A further optimization of JPEG2000 was done by treating empty slide area as uniform white-grey surface, which could be maximally compressed. Using this algorithm, JPEG2000 file sizes were only half, or even smaller, of original JPEG2000. Variation was due to the proportion of empty slide area on the scan. We anticipate that wavelet-based image compression methods, such as JPEG2000, have a significant advantage in saving storage costs of scanned whole slide image. In routine pathology laboratories applying WSI technology widely to their histology material, absolute cost savings can be substantial.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
1. Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
4. In case of virtual slide publication the authors agree to copy the article in a structural modified version to the journal's VS archive.