How do I save the dicom images in a .Json file for Matlab use

After I segmented the 3D image from a set of dicom images, I would like to save them all in a “.json” file that has all the dicom images saved to call the file in Matlab. Anyone can help in this point will be appreciated.

I would recommend to store 3D images in standard file formats, such as nrrd. In Matlab, you can load/saved nrrd files using nrrdread.m and nrrdwrite.m scripts available here.

1 Like