encode_srgb#

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

Encodes a linear 16-bit image to 8-bit sRGB.

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

  • dst – Optional destination array of dtype np.uint8

Returns:

The sRGB encoded image of dtype np.uint8