阅读背景:

如何使用pylab查看RGB图像

来源:互联网 

I'm trying to view an 32x32 pixel RGB image in CIFAR-10 format. It's a numpy array where pixel values (uint8) are arranged as follows: "The first 1024 bytes are the red channel values, the next 1024 the green, and the final 1024 the blue. The values are stored in row-major order, so the first 32 bytes are the red channel values of the first row of the image." I'm trying to view an 32x32 pixel RGB image in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: