Using DICOM folders of data instead of nifti files for image volumes. #1008
Replies: 3 comments 7 replies
-
There are often several ways to interpret a set of DICOM files in a folder and select what series are relevant. If you are feeling lucky and only interested in image (not segmentations, structure sets, etc.) then you can use tools such as dcm2niix to extract most likely interesting nrrd or nifti images. If you have more heterogeneous data set (that has not been filtered for removing duplicate, low-quality, potentially incorrectly named, oriented, etc.) then I would recommend to iterate through all the studies and visually verify data quality and select relevant series. You can do this in 3D Slicer by drag-and-dropping the entire folder structure into 3D Slicer, then loading them using the DICOM module and export the relevant data objects to research file formats. 3D Slicer can import not just 3D images but also 4D image sequences and DICOM Segmentation Objects, RT Structure Sets, and many other data types that you might need. |
Beta Was this translation helpful? Give feedback.
-
Hi @stevenagl12 , the current sample apps starts and creates workflow based on data load such as You can try specify image reader such as ITKreader, there is a parameter can set DICOM series. for infer or trainer and load image as preferred. Thanks for using MONAI Label |
Beta Was this translation helpful? Give feedback.
-
Nice discussion :) Currently, the radiology app in MONAI Label supports the local file archive datastore in which images have to be in nrrd, nifti or compressed nifti format OR in a DICOM Web server (i.e. Orthanc) This means that if you want the images to remain on a DICOM Web server, I suggest you use MONAI Label like this:
To this question:
If the unlabelled images are in DICOM format, my suggestion is to put them in a DICOM Web server and then run batch inference. Otherwise, convert them into NRRD format, start the MONAI Label server pointing to that folder (local datastore) and then run batch inference. i.e. Hope this helps, |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a quick question. So if you have a directory architecture where you have a folder for each patient that contains all of the image data for that patient, can you use a dicom series reader such as SimpleITK to parse these dicom files into an image volume for building a dataset for monai label? Is there currently a script for this or would it need to be specialized in the config or inference scripts for monailabel.
Also, if you have a separate folder of unannotated images that you would like to run inference on, how do you specific this?
Beta Was this translation helpful? Give feedback.
All reactions