Merge pull request #1989 from rodrigob/patch-1

rgb2grey -> grey2rgb
This commit is contained in:
Steven Silvester
2016-03-08 09:44:55 -06:00
+1
View File
@@ -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.