pyguymer3.media.yuv2rgb¶
- pyguymer3.media.yuv2rgb(im, /, *, version='SDTV')[source]¶
Convert array-like YUV image to RGB colourspace
- Parameters:
version (str, optional) – “SDTV” is ITU-R BT.601 version (default); “HDTV” is ITU-R BT.709 version
Notes
This function was obtained from a question on StackOverflow [1]. The licence of this function is unknown but as of February 2017 the author, “wim” [2], says “Code included below, for future readers to use:”. I have copied the code and use it for personal use only.
References