FIX: rgb2hed and hed2rgb can work with both signed and unsigned image.