Revert change to is_rgb

This commit is contained in:
Juan Nunez-Iglesias
2013-07-02 13:22:13 +02:00
parent 1c116a9905
commit f0d586a32f
+1 -1
View File
@@ -90,7 +90,7 @@ def is_rgb(image):
Input image.
"""
return (image.ndim in (3, 4) and image.shape[-1] in (3, 4))
return (image.ndim == 3 and image.shape[2] in (3, 4))
@deprecated()