Code covered by the BSD License  

Highlights from
Gantry detector tilt correction

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 2.3 KB File ID: #28141

Gantry detector tilt correction

by Denny Milakara

 

06 Jul 2010 (Updated 05 Jul 2011)

Transforms CT DICOMs with Gantry tilt angle

| Watch this File

File Information
Description

User Phil Lewis reasonably modified my first script by using 'imtransform' instead of translation. Still the problem with incorrect transformation of overlapping slices remained. I modified it to calculate the offset by using 'SliceLocation' and not the 'InstanceNumber'. Also there is more returned information in the command window for the user, who can now select input and output directory or overwrite the input files. If there is more than one series in a input folder, this folder will be skipped. Also mixed modalities or modality different than CT, as well as Gantry-free files will not be transformed.
If you have some specific need like transforming several series at the time or similar, feel free to contact me.

MATLAB release MATLAB 7.9 (2009b)
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.
Updates
13 Jul 2010

Wrong transformation when tilt angle is negative.

05 Jul 2011

Wrong sign for negative angles corrected.

Tag Activity for this File
Tag Applied By Date/Time
image processing Denny Milakara 06 Jul 2010 12:48:00
ct Denny Milakara 06 Jul 2010 12:48:00
gantry Denny Milakara 06 Jul 2010 12:48:00
tilt Denny Milakara 06 Jul 2010 12:48:01
transform Denny Milakara 06 Jul 2010 12:48:01
medical Denny Milakara 06 Jul 2010 12:48:01
dicom Denny Milakara 06 Jul 2010 12:48:01
gantry tilt Denny Milakara 05 Jul 2011 11:27:17

Contact us at files@mathworks.com