Back to Projects List
Histology AI model annotations imported into IDC
Presenter location: In-person
- Curtis Lisle (KnowledgeVis, USA)
- Daniela Schacherer (MEVIS, Germany)
- David Clunie (PixelMed, USA)
- Maximillian Fischer (DKFZ, Germany)
- Andrey Fedorov (Brigham and Women's Hospital, USA)
- Chris Bridge (Brigham and Women's Hospital, USA)
This project focuses on importing whole slide image (WSI) histology images and trained deep learning models into the Imaging Data Commons for access by others. We have developed tissue-level segmentation models for detecting subtypes of rhabdomyosarcoma (RMS) in whole slides. Our project is releasing WSIs and the corresponding models trained on the slide images.
This project will test reading DICOM-WSI imagery (including compression) and focus on how to write out model segmentation results as DICOM-WSI annotations for upload to IDC. We also have classification and regression models, so we need to decide how to write non-imagery classification results as DICOM, as well.
- Write out model segmentation image results as DICOM-WSI Segmentation or Parametric Map objects
- Test models on sample DICOM-WSI images
- Determine where to how to store regression and classification model results as DICOM annotations
Approach and Plan
- Verify the algorithms run on DICOM-WSI source images (including compression)
- Understand the semantics associated with DICOM Segmentation and Parametric Map objects (there is a lot to learn here. DICOM is powerful, but comes with some complexity).
- Start with example workflow code from Max. He generated a DICOM parametric map to save the output of his model.
- Write output formatter code to generate proper DICOM for single class and multi-class segmentation images
- Test output annotations in Slim viewer
Progress and Next Steps
- Used Kitware’s Large-Image package for reading DICOM images.
- Executed Rhabdomyosarcoma detection model (reading DICOM-WSI images)
- Daniela and Chris from the IDC program were a great help with how to navigate DICOM. The HighDicom library is designed nicely.
- Thanks to David Clunie for explaining DICOM segmentation objects
- After many tries, we generated a multi-class segmentation map (a BINARY segmentation type in DICOM)
- We Previewed the image and the matching segmentation in the Slim viewer running on my laptop
Here is the model output drawn as an RGB pseudocolor image. Each tissue class determined by the
model is given a different color:
Here is the stained pathology slide image and the model output written as a DICOM segmentation image and
overlayed in the Slim viewer developed by the IDC program. The viewer is zoomed into the right part of the image:
After Project Week
We want to extend this algorithm to address segmentation images of the same extent, but different resolution than the original image. For this week, we kept the same resolution between the source image and the segmentation image generated by the model.
Background and References
- starting example code from Max and Chris Gorman: https://github.com/maxfscher/DICOMwsiWorkflow.git
- Repository containing the model execution code and the dicom output logic, based on the HighDicom library: Github Link