TL;DR
This paper introduces the Medical Image Streaming Toolkit (MIST), a novel system that allows researchers to access large medical imaging datasets at various resolutions and formats from a single, high-resolution source. MIST significantly reduces storage and bandwidth requirements without compromising image quality, making deep learning research in medical imaging more accessible and efficient.
What Problem Does This Paper Address?
The explosion of large-scale medical imaging datasets has been a boon for deep learning (DL) research in medical image analysis. However, this growth comes with significant challenges:
- Storage and Bandwidth: Hosting and accessing these massive datasets (often terabytes in size) incurs substantial costs for storage infrastructure and requires considerable bandwidth, making it difficult for many research institutions to manage.
- Diverse User Needs: Researchers have varying requirements for data resolution and format. For instance, some might need high-resolution DICOM files for detailed analysis, while others might prefer downsampled NIfTI files for faster training of classification models. Storing multiple versions of each dataset to cater to these diverse needs leads to data duplication and further exacerbates storage issues.
- Preprocessing Overhead: Converting raw medical image formats (like DICOM) into DL-friendly formats (like NIfTI) and resizing them to specific resolutions is a time-consuming and computationally intensive preprocessing step that researchers often have to perform independently.
These challenges create significant barriers to entry and slow down research progress in medical imaging DL.
Methods
The core of the proposed solution is the Medical Image Streaming Toolkit (MIST), a format-agnostic database designed to address the aforementioned problems. MIST operates on two key principles:
- Format-Agnostic Representation: MIST ingests medical images in their original formats (DICOM, NIfTI, PNG, JPG, etc.) and stores them in a unified, format-agnostic representation. This involves separating the pixel data from its associated metadata.
- Progressive Encoding and Sub-Resolution Streaming: The pixel data is then encoded using the High-Throughput JPEG 2000 (HTJ2K) codec. HTJ2K is a progressive encoding format that allows for the creation of a bytestream from which images can be decoded at various resolutions. This means a single high-resolution encoded image can be streamed as lower-resolution versions by decoding only a portion of the bytestream. MIST also handles format conversion on-the-fly, mapping relevant metadata from the source to the target format.
MIST prioritizes a strict format hierarchy: DICOM can be converted "down" to NIfTI or non-medical formats, while NIfTI can only be converted "down" to non-medical formats. This ensures that metadata is preserved during conversion.
Datasets
The authors evaluated MIST on eight popular, large-scale medical imaging datasets, covering diverse body parts, modalities, and formats:
- NIH-ChestX-ray14 (PNG)
- MSD-Liver (NIfTI)
- AMOS (NIfTI)
- LIDC-IDRI (DICOM)
- NSCLC-Radiomics (DICOM)
- TCGA-KIRC (DICOM)
- TCGA-BRCA (DICOM)
- UPENN-GBM (DICOM)
These datasets represent a good cross-section of commonly used medical imaging data in DL research.
Key Insights and Ideas
- Single Source of Truth: The fundamental idea of storing data once in a high-resolution, format-agnostic way and streaming it in various forms is a powerful paradigm shift for managing large datasets.
- Progressive Encoding is Key: Leveraging HTJ2K's progressive nature is crucial for enabling efficient sub-resolution streaming. This allows users to request only the data they need, drastically reducing download times and storage.
- Format Conversion on Demand: MIST's ability to convert formats dynamically means researchers don't need to pre-process data into their preferred format, saving significant time and computational resources.
- Metadata Preservation: The careful handling of metadata during format conversion is essential for maintaining the clinical relevance and usability of the streamed images.
Key Results
MIST demonstrated significant improvements across several metrics:
- Data Storage Reduction: MIST reduced the total amount of data stored and transmitted by hosts by an average of 56.22% across the eight datasets. Some datasets saw reductions as high as 71.55% (TCGA-BRCA).
- Data Transmission Reduction: Downloading datasets at sub-resolutions led to further reductions in transmitted data. At the smallest sub-resolution, MIST reduced total data transmission by an average of 96.10%.
- Image Quality Preservation:
- Lossless reconstruction of pixel data from MIST-encoded images showed no impact on image quality, with mean SSIM of 1.00 and mean PSNR of infinity.
- When accessing sub-resolution images, image quality metrics (SSIM and PSNR) decreased but remained high. For example, at the smallest sub-resolution, mean SSIM was 0.83 ± 0.06.
- Preliminary DL experiments showed that MIST-encoded sub-resolution images did not negatively impact model performance in 2D classification and 3D segmentation tasks.
Limitations and Future Work
The authors acknowledge several limitations and suggest future directions:
- Further Validation: While quantitative metrics are promising, further validation of MIST-encoded datasets for training DL models is needed.
- Image-Specific Variations: The decrease in storage and transmission can vary significantly between individual images due to differences in their original resolution and number of decomposition levels.
- Exclusion of Unsupported Data: Some series were excluded due to unsupported pixel data (e.g., exceeding 16-bit depth).
- NIfTI Volume Handling: Encoding and decoding each slice of a NIfTI volume separately adds an extra step for volume reconstruction.
- Complex DICOM Metadata: The current use of JSON for metadata storage might not scale efficiently for complex DICOM metadata. Future work will focus on addressing these limitations, including exploring better metadata handling strategies and conducting more extensive validation in real-world research settings.
Summary updated