Hands-On Image Processing with Python
上QQ阅读APP看书,第一时间看更新

Data structures to store images

As we have already discussed, PIL uses the Image object to store an image, whereas scikit-image uses the numpy ndarray data structure to store the image data. The next section describes how to convert between these two data structures.