Exporting DICOM and JPEG files directly from 3D slicer

Hi all!

I have annotated some brain MRI images in 3D slicer and would like to know how can I export those annotated 2D and 3D images in DICOM or any other format. I would like to know a direct method of exporting so I can use the images to train Machine Learning algorithms.

I hope to hear from you soon.

Hi all!

I am annotating brain MRI images in 3D slicer but when I export those images to binary label maps, some overlapping layers do not convert.
I would like to know how to solve this issue.

Thanks

I would recommend to export to .seg.nrrd file format. It preserves the segmentation’s geometry (origin, spacing, axis directions, extents), supports overlapping labels, and can store essential metadata, such segment names, colors, terminology.

You can then use slicerio · PyPI package in your machine learning scripts to get the voxels of each segment as a numpy array and access all metadata.