Python, Machine Learning, Artificial Intelligence, Data Science, Data Analytics.
where we left: >>> f=misc.imread(‘demo.png’) >>> type(f) <class ‘numpy.ndarray’> >>> f.shape #This gives us the size of the array. The image is 1024x768. (768, 1024, 3) >>> f.dtype dtype(‘uint8’) #This means it is an 8ibit image (0–255) b. Opening a RAW file A RAW file is one with the extension