Hi Akmal,
There is a built-in function dicomread in the Image Processing Toolbox in MATLAB which reads input files with .dcm extension. The output is either a m-by-n matrix, m-by-n-by-3 array or 4-D array.
Hope it helps!
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!