Is it possible to rescale intensity of a volume?

I want to rescale a Volume created reading a wrongly calibrated dicom file. Is this possible?

Usually this is automatically done with the RescaleIntercept and RescaleSlope from the dicom header but when those values are wrong or missing then I need to do this manually.

You can modify the pixel values directly:

https://www.slicer.org/wiki/Documentation/Nightly/Developers/Python_scripting#Accessing_Volume_data_as_numpy_array

1 Like

Hi Alex,

I have one idea how to do this. Download the “ImageMaker” module. Create two images: one with the desired offset, and one with the desired scale. Then use the “Add Volume” and “Multiply Volume” modules in the “Filter” menu to adjust your image.

Of course, any better idea is welcome J

Greg

The easiest way to do this IMO is use the “ShiftScaleImageFilter” from the Simple Filters module. Just enter your correction factor as the scale factor.

2 Likes

Does this also apply for the calibration of CBCT to MDCT?

I have a CBCT and MDCT of the same specimen and I want to “convert” the grey values in CBCT accordingly the ones in MDCT and consequently be able to measure “HU” values in the CBCT volume?

How can I calculate the correction factor?