Code covered by the BSD License  

Highlights from
Gantry detector tilt correction

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

Gantry detector tilt correction

by

 

06 Jul 2010 (Updated )

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 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
19 Feb 2013 jobi

Sir I have no idea of which input file to use . The demo DICOM images I have used have no gantry tilt.

Updates
13 Jul 2010

Wrong transformation when tilt angle is negative.

05 Jul 2011

Wrong sign for negative angles corrected.

06 Aug 2012

The transform matrix had always positiv sign. Now the transform matrix's sign is set to be opposite from the tilt angle.

Contact us