(self, img)
| 84 | class RGB2Lab(object): |
| 85 | """Convert RGB PIL image to ndarray Lab.""" |
| 86 | def __call__(self, img): |
| 87 | img = np.asarray(img, np.uint8) |
| 88 | img = color.rgb2lab(img) |
| 89 | return img |
| 90 | |
| 91 | |
| 92 | class RGB2YCbCr(object): |
nothing calls this directly
no outgoing calls
no test coverage detected