How to normalize a 3D volume

Hello folks, I would like to normalize a 3D volume but I can’t find a ressource. Please can you suggest to me a code or library, I would be grateful. Thanks in advance.

Normalize how?

A local normalization

How about NormalizeImageFilter or AdaptiveHistogramEqualization?

1 Like

Also this line normalize the data, or there’s a different between them?

sitk.RescaleIntensity(img, 0, 255)

NormalizeImageFilter normalizes an image by setting its mean to zero and variance to one. RescaleIntensity sets output to be in range 0-255 (in your case).

1 Like

Thank you so much.