01_Chapter 03 - Image Processing and Acquisition using Python_Part1
01_Chapter 03 - Image Processing and Acquisition using Python_Part1
3.1 Introduction
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 image 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 image(s) 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.
37
38 Image Processing and Acquisition using Python
Thus, every pixel in the image has a real number as its value. How-
ever, in reality as it is easier to store integers than to store floats; most
images have integers for pixel values.
3.2.1 Bit-Depth