No BSD License  

Highlights from
Reading a sequence of Dicoms

5.0

5.0 | 1 rating Rate this file 16 Downloads (last 30 days) File Size: 2.83 KB File ID: #10068

Reading a sequence of Dicoms

by Nipun Patel

 

20 Feb 2006 (Updated 21 Feb 2006)

Read a sequence of dicom images

| Watch this File

File Information
Description

This is a simple functino to import a series of dicom files using the dicomread function.

Please go through the comments in the code. It is quite a simple one but might be handy to use it quickly.

Philosophy:
I wanted to have a reliable, commented code for ease of use so that I can focus on bigger issues in the project.

I came to know that when you use uigetfile to choose a bunch of files to be read there is a constraint. (This applies to 32 bit Windows) There is a limit to the length of the string(filenames) that can be appended and hence you will have trouble reading the files after you go beyond a ceratin number irrespective of the size of the files. Reading them in this manner solves that issue.

Currently,
I have tested this function on "IPL (Image Processing Library used on OpenVMS systems) generated dicoms" and "Analyze (medical image analysis software developed by Mayo Clinic www.analyzedirect.com) generated Dicoms"

Detaled Comments are written inside the function.

Your feedback is appreciated.

Required Products Image Processing Toolbox
MATLAB release MATLAB 7 (R14)
Other requirements Works atleast on Windows and Debian Linux. I don't think there would be any issue as long as the filenames are correct.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
23 Oct 2006 lessing Cárdenas

tahnks

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
medical Nipun Patel 22 Oct 2008 08:16:24
dicoms Nipun Patel 22 Oct 2008 08:16:24
import Nipun Patel 22 Oct 2008 08:16:24
dicom images Nipun Patel 22 Oct 2008 08:16:24
dicomread function Nipun Patel 22 Oct 2008 08:16:24

Contact us at files@mathworks.com