File Exchange

image thumbnail

Gantry detector tilt correction

version 1.5 (2.32 KB) by

Transforms CT DICOMs with Gantry tilt angle

2 Downloads

Updated

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.

Comments and Ratings (1)

jobi

jobi (view profile)

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

Updates

1.5

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

1.4

Wrong sign for negative angles corrected.

1.2

Wrong transformation when tilt angle is negative.

MATLAB Release
MATLAB 7.9 (R2009b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video