Registration of image adjusted in contrast

Good morning,
I have to perform an image registration, and I would like to do it after changing the contrast, using “adjust window level …” of the two images i’m using.
However, if I perform registration of the processed images, the intensity information is actually taken from the original images.
Is there a way to force the registration algorithm touse the info of the new processed image?

I’m quite sure there must be a way to do that with itk filters. Try to explore the simpleFilters extension