Colour Models#

Adobe DNG SDK#

colour_hdri

xy_to_camera_neutral(xy, ...)

Convert given xy white balance chromaticity coordinates to Camera Neutral coordinates.

camera_neutral_to_xy(camera_neutral, ...[, ...])

Convert given Camera Neutral coordinates to xy white balance chromaticity coordinates.

matrix_XYZ_to_camera_space(xy, ...)

Return the CIE XYZ to Camera Space matrix for given xy white balance chromaticity coordinates.

matrix_camera_space_to_XYZ(xy, ...[, ...])

Return the Camera Space to CIE XYZ matrix for given xy white balance chromaticity coordinates.

RGB Models#

colour_hdri

camera_space_to_RGB(RGB, ...)

Convert given RGB array from camera space to given RGB colourspace.

camera_space_to_sRGB(RGB, M_XYZ_to_camera_space)

Convert given RGB array from camera space to sRGB colourspace.