From 362b68c055956b55ac48c5b9d732bad51cf1176e Mon Sep 17 00:00:00 2001 From: Rodrigo Benenson Date: Tue, 8 Mar 2016 15:56:26 +0100 Subject: [PATCH] rgb2grey -> grey2rgb Simply added `grey2rgb = gray2rgb` to match the existing rgb2grey. --- skimage/color/colorconv.py | 1 + 1 file changed, 1 insertion(+) diff --git a/skimage/color/colorconv.py b/skimage/color/colorconv.py index 1eb63721..8f2b82c0 100644 --- a/skimage/color/colorconv.py +++ b/skimage/color/colorconv.py @@ -779,6 +779,7 @@ def gray2rgb(image, alpha=None): else: raise ValueError("Input image expected to be RGB, RGBA or gray.") +grey2rgb = gray2rgb def xyz2lab(xyz, illuminant="D65", observer="2"): """XYZ to CIE-LAB color space conversion.