© Ashwin Pajankar 2017

Ashwin Pajankar, Raspberry Pi Supercomputing and Scientific Programming, 10.1007/978-1-4842-2878-4_13

13. Image Processing with SciPy

Ashwin Pajankar

(1)Nashik, Maharashtra, India

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 ∼/bookmkdir Dataset

The sample image dataset is available in the Downloads section online ...

Get Raspberry Pi Supercomputing and Scientific Programming: MPI4PY, NumPy, and SciPy for Enthusiasts now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.