Changing the range of the voxel values

I have an image that has their values in a range of 0 and 0.4, but I’d like to rescale its intensities to the range 0 - 1. Then I used the function RescaleIntensity(image, 0, 1), but the function returns me a black image. So, what am I doing wrong?

Thanks.

How are you visualizing the resulting image? The values might be OK, and only visualization expecting values 0-255, so both 0 and 1 are essentially black.

1 Like