From dc552f03aabae8096b99b1d388a76c3cab5919b3 Mon Sep 17 00:00:00 2001 From: Alex Izvorski Date: Sat, 30 Apr 2016 02:51:17 -0700 Subject: [PATCH] Change notes in the docs --- skimage/color/colorconv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skimage/color/colorconv.py b/skimage/color/colorconv.py index 583c2136..a9429f66 100644 --- a/skimage/color/colorconv.py +++ b/skimage/color/colorconv.py @@ -1577,7 +1577,7 @@ def rgb2ycbcr(rgb): Notes ----- - The destination color space is sometimes also called "YUV" + Y is between 16 and 235. This is the color space which is commonly used by video codecs, it is sometimes incorrectly called "YUV" """ arr = _convert(ycbcr_from_rgb, rgb) arr[..., 0] += 16 @@ -1677,7 +1677,7 @@ def ycbcr2rgb(ycbcr): Notes ----- - The source color space is sometimes also called "YUV" + Y is between 16 and 235. This is the color space which is commonly used by video codecs, it is sometimes incorrectly called "YUV" """ arr = ycbcr.copy() arr[..., 0] -= 16