xyz2rgb_cv2

typhon.physics.xyz2rgb_cv2()[source]

Create transformation matrix from xyz to RGB Values taken from reverse engineering open cv’s cv2.cvtColor(I, cv2.COLOR_XYZ2RGB).

Returns:

transformation matrix (3x3).

Return type:

m_xyz2rgb (2darray)

References

https://docs.opencv.org/3.4/de/d25/imgproc_color_conversions.html#color_convert_rgb_xyz