Ycbcr图像读取

若原图像是灰度图像:

scipy.misc.imread(path, flatten=True, mode='YCbCr').astype(np.float)

若原图像是彩色图像:

scipy.misc.imread(path, mode='YCbCr').astype(np.float)

猜你喜欢

转载自blog.csdn.net/weixin_41855385/article/details/84446666