- Hands-On Image Processing with Python
- Sandipan Dey
- 45字
- 2025-02-22 06:42:25
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.