Change ndimage test image to fit uint8 range