1 理论 图像可以分为RGB(3通道,每个通道 的值是0-255),灰度图(单通道,值范围0-255),二值图(0:黑色,1:白色)。 fig,ax = plt.subplots(2,1,figsize = (5,5)) ax[0].imshow