Segment 2D radiographs (e.g. abdominal x-rays) using MONAILabel and Slicer? #829
-
I am an experienced 3D Slicer user and have been exploring MONAILabel use for CT segmentation. So far, I am impressed with the relative ease of setting up MONAILabel and getting to an iteratively improvable segmentation model which interacts well with Slicer. I am also interested in exploring the use of MONAILabel and Slicer for 2D images. I realize that Slicer is primarily oriented towards 3D images, but it handles 2D images just fine and it is an environment I know well. I also see that there is a Pathology app in addition to the Radiology app, and I assume the Pathology app is set up to operate on 2D images (please correct me if I am wrong about this). So I have two related questions: Can the pathology app be easily modified to operate on 2D radiographs rather than slide images? (I assume the answer to this is yes, but am not sure if there are issues I should be aware of). Second, can the pathology app be used from Slicer? And are there any issues to be aware of in that respect? Nearly all the documentation I can find relates to the Radiology app, so I am not as clear on how the Pathology app works. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
I can confirm that MONAILabel with 3D Slicer can be used for segmentation of 2D X-ray images. My team uses single DICOM files for the images and .seg.nrrd files for the annotations to allow overlapping segmentations. We have completed several segmentation tasks with X-ray images. Each time, we proceeded like this:
|
Beta Was this translation helpful? Give feedback.
-
As @jlvahldiek mentioned you can continue using the radiology app to modify and support your 2D models. Client is secondary. You can see deepgrow 2D model.. (however it still works on 3D but takes care of slicing it and running infer on single slice).. this kind may not be required if you have a viewer which takes care of loading 2D images and updating the masks accordingly. |
Beta Was this translation helpful? Give feedback.
-
Hi there, I just found this thread, which goes in the direction of my problem. I would like to make use of the interactive segmentation functionalities in 3D Slicer for annotating 2D-images and improving the segmentation model over time to reduce the annotation effort. I am running the MONAI Label radiology sample app with deepgrow_2d selected when starting the server. The input are some random 2D-images (I am aware that the pretrained deepgrow_2d model will bring any benefit with these images). When I place a foreground or background point from the "SmartEdit / Deepgrow"-tab, I am getting the error as shown in the picture below. The error seems to be related to the shape of the input image. But unfortunately, I don't know how to solve the problem. |
Beta Was this translation helpful? Give feedback.
-
Even though it's deepgrow 2d.. the current version/model needs 3D (volume) input.. heavily trained on CT images.. it won't work on PNG with 3 channel.. |
Beta Was this translation helpful? Give feedback.
I can confirm that MONAILabel with 3D Slicer can be used for segmentation of 2D X-ray images.
My team uses single DICOM files for the images and .seg.nrrd files for the annotations to allow overlapping segmentations.
We have completed several segmentation tasks with X-ray images. Each time, we proceeded like this: