Image Processing in Python - LiU

from matplotlib import pyplot as plt The rst line imports the NumPy library, and renames it to the more compact np. ... For the nal dimension (the color dimension) all information is kept. The nal two lines print the sizes of the original image, and of the new smaller image. ... instead of the usual RGB. ................
................