https://au.mathworks.com/help/medical-imaging/ref/dicomfile.getpixeldata.html
getPixelData - Get pixel data of DICOM file - MATLAB
This MATLAB function gets the pixel data pixelData of the DICOM file specified by the dicomFile object dFile.
getpixeldatadicomfile