Gantry detector tilt correction

Transforms CT DICOMs with Gantry tilt angle
801 Downloads
Updated 6 Aug 2012

View License

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.

Cite As

Denny Milakara (2024). Gantry detector tilt correction (https://www.mathworks.com/matlabcentral/fileexchange/28141-gantry-detector-tilt-correction), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on DICOM Format in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.5.0.0

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

1.4.0.0

Wrong sign for negative angles corrected.

1.2.0.0

Wrong transformation when tilt angle is negative.

1.0.0.0