rgb2grey -> grey2rgb

Simply added `grey2rgb = gray2rgb` to match the existing rgb2grey.
This commit is contained in:
Rodrigo Benenson
2016-03-08 15:56:26 +01:00
parent b0e12ea530
commit 362b68c055
+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.