decode_srgb#

deltacamera.decode_srgb(im, dst=None)[source]#

Decodes an 8-bit sRGB image to linear 16-bit.

Parameters:
  • im – Input pixel values of dtype np.uint8

  • dst – Optional destination array of dtype np.uint16

Returns:

The linear decoded image of dtype np.uint16