Set pixels range for 32-bit.
Add 32-bit support.
Remove duplicated code.
Do not build LUT for 32-bit images.
Remove whitespace.
Review mapping and store mapped values.
Merge pull request #2955 from jburel/32-bit

32 bit