Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
想要获得3张分别只有R\G\B通道值,另外两通道值为0的单通道图像。
可以调用 r = img.to_grayscale(rgb_channel = 1,copy=True) g = img.to_grayscale(rgb_channel = 2,copy=True) b = img.to_grayscale(rgb_channel = 3,copy=True)