Hounsfield Calibration
Performs a Hounsfield unit calibration for a CT dataset
Input
One 3D CT volume.
Output
A Hounsfield calibration CT volume (16bit).
Description
Each voxel of the input volume will be converted to the corresponding HU value. The mapping from input values to HU values are given as control points. Depending on the mode, in between these points a linear or a spline based interpolation will be used to compute the values. The values get clamped at the borders.
Parameters:
valueToHUmappingMapping from image values to HU values in ascending order. E.g. (-0.2 -400 0.4 1000) maps -0.2 to a HU value of -400 and 0.4 to 1000HU.lutFileFile with a each line representing a data pair “from to” with two integer values for the calibration seperated by a whitespace. LUT files are prioritized over valueToHUmapping.useSplineInterpFlag indicating if a spline interpolation is supposed to be used to interpolate in-between the control points. Otherwise a piecewise linear interpolation will be usedconverTo12BitFlag if the output is supposed to be converted to 12bit.