In this chapter, we will cover the following recipes:
NumPy is famous for its efficient arrays. This fame is partly due to the ease of indexing. We will demonstrate advanced indexing tricks using images. Before diving into indexing, we will install the necessary software—SciPy and PIL. If you feel it is required, review the Installing matplotlib recipe in Chapter 1, Winding Along with IPython.
In this chapter and in other chapters, we will use the following imports:
import numpy as np import matplotlib.pyplot ...