rescale pixel values when deriving window/level