AdjustContrastd & ShiftIntensityd explanation #6461
-
Hi as far as I know ScaleIntensityd can rescale HU units to specific range right ? But it means that for example when I apply ScaleIntensityd with range -200 to 200 HU then I can adjust contrast only within this range with AdjustContrastd/ShiftIntensityd ? Or these transforms operate on pixel level values ranged from 0 to 255 ? I am confused... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @hreso110100, if you want to apply scaling from [a_min, a_max] to [b_min, b_max] with the clip option. I would suggest you use Hope it can help you, thanks! |
Beta Was this translation helpful? Give feedback.
Hi @hreso110100, if you want to apply scaling from [a_min, a_max] to [b_min, b_max] with the clip option. I would suggest you use
ScaleIntensityRange
instead ofScaleIntensity
.ScaleIntensityd
means scale the whole image array to [minv, maxv] in pixel level, the output will be in this range.Hope it can help you, thanks!