Code covered by the BSD License  

Highlights from
Dicom Import GUI

4.8 | 4 ratings Rate this file 43 Downloads (last 30 days) File Size: 6.92 KB File ID: #41912
image thumbnail

Dicom Import GUI



23 May 2013 (Updated )

Sorts DICOM files into series and lets you select the series you want to load in a GUI

| Watch this File

File Information

DICOM files are usually quite chaotic to handle. This little tool helps you to find the datasets (DICOM series) you want to load. It sorts the DICOM files in a folder and optionally in all of its sub-folders into series of images and displays them in a GUI with a preview of the each series. Select the series you need and press <ENTER> to load the selected series alon with some header information.

NOTE: Use the mouse wheel or up-and down-keys to navigate through the series if there are more than 8 series. Close the GUI and load the sereis by pressing ENTER.


Read Medical Data 3 D inspired this file.

Required Products Image Processing Toolbox
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
23 Mar 2015 Ivan Shorokhov

I have following error, when I'm trying to load single DICOM image.

Attempted to access d3rdDimInd(2); index out of bounds because numel(d3rdDimInd)=1.

Error in DicomImport (line 314)
SDataOut(i).Aspect(3) = abs(d3rdDimInd(2) - d3rdDimInd(1));

Could you recommend me please how I can fix it?

12 Mar 2015 Christian Wuerslin

Hi Matthew,

unfortunately, I can't replicate your problem and I'm kinda jealous of your setup! Thanks for the hotfix.

- Christian

Comment only
09 Mar 2015 Matthew

on my 4 monitor tree, the figure 'Position' calculation does not work..... the resulting window ends up being off-screen on the bottom.....

if you have this problem, just set the x,y positions to 0 in both the try and the catch

'Position' , [0*(dScreenSize(3) - dFigureWidth )./2, ...
0*(dScreenSize(4) - dFigureHeight)./2, ...
dFigureWidth, dFigureHeight], ...

02 Apr 2014 Brent Foster  
23 Dec 2013 Earl DuBack

When I run apple version, I get figure consisting of 3 images because there are 3 sets of DICOM images. The text "Dicom Import [press enter to confirm] is there. The number of images in each set is 74,74,28. I suspect the figure is supposed to have all thumbnails in a set behind one another? that I am supposed to be able to move through using mouse or up/down arrow keys. BUT figure is frozen with no way to view any other images in set.

Comment only
23 Sep 2013 Matt J

Matt J (view profile)

Seems to work pretty well!

Just as a minor thing, it would be nice if the GUI had a scroll bar to move among the different series and to see better where you are within the list.

04 Jun 2013

Fixed the error that occurred when dicomread returned an empty aray (e.g. for MR spectro data).

Contact us