ABSTRACT

We begin this chapter with an introduction to images, image types,

and data structures in Python. Image processing operations can be

imagined as a workflow similar to Figure 3.1. The workflow begins with

reading an image. The output is then processed using either low-level or

high-level operations. Low-level operations operate on individual pixels.

Such operations include filtering, morphology, thresholding etc. High-

level operations include image understanding, pattern recognition etc.

Once processed, the images are either written to disk or visualized. The

visualization may be performed during the course of processing as well.

We will discuss this workflow and the functions using Python as an

example.