importnumpyasnpimportimageioimportmatplotlib.pyplotaspltimg=imageio.im read (r ' e : (vai hingen (数据) orginal initition ) 、g、br、g、b=NP.dsplit(img,3 ) ),并将r、g、b图像合并为彩色rgb图像RGB_img的dpi=80 ) PLT.subplot(221 ) PLT.im shimg cmap='gray ' ) PLT.xlabel ) PLT.subplot ) 222 ) PLT.im shoot cmap=' gray ' (PLT.xlabel (b ' ) PLT.subplot ) 224