Hi,
I am working on MRI images of BraTs2020 image dataset. I want to normalized them to 1. I use the NormalizedImageFilter, But this does not happen and it is often seen in numbers greater than 1 (rage 2-3).
Please guide me to this.
Thanks.
You can change the intensity range of an image easily. For example, you can cast the image to float or double using Cast Scalar Volume module (an integer valued volume normalized to 0-1 would end up all black), and then you can use Simple Filters module → RescaleIntensityImageFilter).
However, this kind of image normalization and augmentation is typically done as part of your neural network training and not as a preprocessing step - see TorchIO and MONAI examples.
Thank you for your answer.
It is works very well.