In the last chapter, we studied signal processing with SciPy. We studied a few of the major classes of functions offered by SciPy, consolidated under scipy.signal. In this chapter, we will study a SciPy package, scipy.misc, and a few examples of using it for image processing.
First Image Processing Program
The scipy.misc module is used for basic image processing operations. Create a directory called Dataset to store all the sample images we are going to use.
cd ∼/book
mkdir Dataset
The sample image dataset is available in the Downloads section online ...