How to apply RescaleIntensityImageFilter automatically by a python script

Hi.
I’m developing a very simple script to load MR and automatically rescale Intensity range for furter analisys. I need access to the filter module and I’m using:
slicer.modules.simplefilters

but how I can access to RescaleIntensityImageFilter() ?

See a complete example in the script repository.

1 Like