Code covered by the BSD License  

Highlights from
Interactive DICOM 3D Viewer

5.0

5.0 | 2 ratings Rate this file 136 Downloads (last 30 days) File Size: 78.6 KB File ID: #28353
image thumbnail

Interactive DICOM 3D Viewer

by

 

01 Aug 2010 (Updated )

Viewer allows user to look through cross sections of a dicom image set.

| Watch this File

File Information
Description

The interactive viewer allows a user to select a folder with one set of dicom images. The viewer assembles the images in order and displays them as one 3D dataset. User can then scroll through and look at axial, sagittal, and coronal views. A zoom feature and measuring tool have also been added.

Acknowledgements

This file inspired Dicom Operator Esme Process.

Required Products Image Processing Toolbox
MATLAB release MATLAB 8.0 (R2012b)
Other requirements Large image sets may run into memory problems.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
22 Apr 2014 Kallie Brown

Those functions are indeed the issue. the files should use array indexing instead of structure indexing.
in sortDirectory :
d = dir('*.dcm'); instead of ls
metadata = dicominfo(d(i).name);

in gatherImages:
topimage = dicomread(d(1).name);
metadata = dicominfo(d(1).name);

Cool submission! Thank you

03 Oct 2013 mat

Thank you.
I have the same problem as Ghizelda agerweij.

17 Jun 2011 medical imaging

thank you
i've the same probleme as Ghizelda agerweij

13 Jun 2011 Eric Johnston

Hi Ghizelda,
The .dcm images are sorted by instance number. I'm guessing that the file might contain sets of images that are not compatible (maybe they have overlapping instance numbers?) As a test you could copy out my "sortDirectory" function and "gatherImages" function and see if they work on your folder.

10 May 2011 Ghizelda lagerweij

Thanks for the nice file for 3d DICOM viewer. There is only one problem. After compiling the file, I get an error: " You selected a folder that does not contain .dcm images"

Why? I am current that I have .dcm images. All the images are PET/CT scan images. Are there different .dcm images/files?

I think that the problem is between lines 86-119.

02 Dec 2010 Crtistian Capannini

How can i convert into matlab gui? thanks!

01 Dec 2010 Crtistian Capannini

Ehm i want find a mode to convert *.m to a gui interface but i can't do it.

Updates
05 Aug 2010

Bug removed: axial, coronal views can now scroll through entire set without ever hitting an error.

13 Jun 2011

Can Capture a an image as a figure.

12 Sep 2012

Updated to include an App file for R2012b

Contact us