How to modify imageDatastore function to be able to support reading DCM medical images.

1 view (last 30 days)
I am in the process of developing code to be able to utlize Matlab's deep learning capabilities for medical image classification. To be able to accomplish this I need to be able to utlize the imageDatastore function. This function does not support reading dcm images. Is there a way to modify this function to be able to support reading dcm images?

Accepted Answer

Image Analyst
Image Analyst on 19 Nov 2018
Did you try dicomread()?
imds = imageDatastore('peppers.png','ReadFcn',@dicomread);
or something like that? See the help. Or else just use it to get the filenames and read it with a call to dicomread().

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!