Hi,
There is a mode='F' in PIL which enables 32bit floating point images. Have you tried it?
Also, if you really need to use original images (numpy array possibly), you can use Kornia 1 after converting images to tensors. It works directly on tensors and supports many different transforms.
Bests