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

DICOM gantry tilt correction

by Phil Lewis

 

16 Jun 2009

Checks for gantry tilt in DICOM fileset and modifies the images

| 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)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
15 Aug 2011 Yannick

Does not work for negative angles, neither for non-uniformly sliced data.

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

Contact us at files@mathworks.com