mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-13 17:45:20 +08:00
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user