Be the first to rate this file! 11 downloads (last 30 days) File Size: 2.33 KB File ID: #24458

DICOM gantry tilt correction

by Phil Lewis

 

16 Jun 2009

Code covered by the BSD License  

Checks for gantry tilt in DICOM fileset and modifies the images

Download Now | Watch this File

File Information
Description

This is a modified version of a script uploaded by the user Denny. I grabbed a copy and unfortunately found it didn't work for me. So, I modified it and made some improvements.

Improvements include:

- Some timing code to show you how long it took to process each slice (average time only)
- Progress indicators (slice by slice)
- Removed quite a bit of redundant code, hopefully making it a little quicker
- Changed the image translation method to use a transformation matrix instead. Hopefully this will allow for a bit more flexibility with future modifications of the script, and performing different image manipulations

The same caveats apply to the original script regarding subdirectories etc, so I would advise you check it if you have any problems using this one. When I get some time I'll add some better error handling! Search for 'DICOM gantry tilt' and you'll find it (although you probably already did!)

Enjoy!

Phil

MATLAB release MATLAB 7.7 (R2008b)
Zip File Content  
Other Files gantrycorrect.m,
license.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
dicom Phil Lewis 17 Jun 2009 13:57:38
gantry Phil Lewis 17 Jun 2009 13:57:38
tilt Phil Lewis 17 Jun 2009 13:57:38
shear Phil Lewis 17 Jun 2009 13:57:38
correct Phil Lewis 17 Jun 2009 13:57:38
translate Phil Lewis 17 Jun 2009 13:57:38
image Phil Lewis 17 Jun 2009 13:57:38
transform Phil Lewis 17 Jun 2009 13:57:38
matrix Phil Lewis 17 Jun 2009 13:57:38
image processing Phil Lewis 17 Jun 2009 13:57:38
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com