© 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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.