<span>Understand the concepts of image processing with Python 3 and create applications using Raspberry Pi 4. This book covers image processing with the latest release of Python 3, using Raspberry Pi OS and Raspberry Pi 4B with the 8 GB RAM model as the preferred computing platform.<br>This second e
Raspberry Pi Image Processing Programming: With NumPy, SciPy, Matplotlib, and OpenCV
✍ Scribed by Ashwin Pajankar
- Publisher
- Apress
- Year
- 2022
- Tongue
- English
- Leaves
- 254
- Edition
- 2
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
Understand the concepts of image processing with Python 3 and create applications using Raspberry Pi 4. This book covers image processing with the latest release of Python 3, using Raspberry Pi OS and Raspberry Pi 4B with the 8 GB RAM model as the preferred computing platform.
This second edition begins with the installation of Raspberry Pi OS on the latest model of Raspberry Pi and then introduces Python programming language, IDEs for Python, and digital image processing. It also illustrates the theoretical foundations of Image processing followed by advanced operations in image processing. You'll then review image processing with NumPy, and Matplotlib followed by transformations, interpolation, and measurements of images.
Different types of filters such as Kernels convolution filters, low pass filters, high pass filters, and Fourier filters are discussed in a clear, methodical manner. Additionally, the book examines various image processing techniques such as Morphology, Thresholding, and Segmentation, followed by a chapter on live webcam input with OpenCV, an image processing library with Python. The book concludes with an appendix covering a new library for image processing with Python, pgmagik, followed by a few important tips and tricks relevant to RPi.
What You'll Learn
- Get started with Raspberry Pi and Python
- Understand Image Processing with Pillow
- See how image processing is processed using Numpy and Matplotlib
- Use Pi camera and webcam
Raspberry Pi and IoT enthusiasts, and Python and Open Source professionals
✦ Table of Contents
Table of Contents
About the Author
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: Introduction to Single-Board Computers and Raspberry Pi
Single-Board Computers (SBCs)
Differences Between SBCs and Regular Computers
System on Chips (SoCs)
SoC versus Regular CPU
History of SBCs
Popular SBC Families
The Raspberry Pi
Raspberry Pi Setup
Prepare the microSD Card
Booting Up Raspberry Pi
Accessing Raspberry Pi Remotely
Configuring Raspberry Pi
The Raspberry Pi OS
The config.txt File
Updating the RPi
Updating the Firmware
Updating and Upgrading Raspberry Pi OS
Shutting Down and Restarting RPi
Summary
Chapter 2: Introduction to Python and Digital Image Processing
A Brief History of the Python Programming Language
Features of Python
Python 3
Python 2 and Python 3 on Raspberry Pi OS
Running a Python Program and Python Modes
Interactive Mode
Script Mode
IDEs for Python
IDLE
Geany
Thonny IDE
Introduction to Digital Image Processing
Signal Processing
Image Processing
Analog Image Processing
Digital Image Processing
Using Raspberry Pi and Python for Digital Image Processing (DIP)
Exercise
Summary
Chapter 3: Getting Started
Image Sources
Using a Webcam
guvcview
fswebcam
The Pi Camera Module
raspistill
Python 3 for Digital Image Processing
Working with Images
Summary
Chapter 4: Basic Operations on Images
Image Module
Image Channels
Colorspace Conversion
Image Blending
Resizing an Image
Rotating an Image
Crop and Paste Operations
Copying and Saving Images to a File
Knowing the Value of a Particular Pixel
Mandelbrot Set
Julia Set
Noise and Gradients
ImageChops Module
ImageOps
Summary
Chapter 5: Advanced Operations on Images
ImageFilter Module
The ImageEnhance Module
Color Quantization
Histograms and Equalization
Histogram Equalization
Summary
Chapter 6: Introduction to the Scientific Python Ecosystem
The Scientific Python Ecosystem
Simple Examples
Matplotlib
Image Channels
Conversion Between PIL Image Objects and NumPy ndarrays
Summary
Chapter 7: Transformations and Measurements
Transformations
Measurements
Summary
Chapter 8: Filters
Kernels, Convolution, and Correlation
Low-Pass Filters
Blurring
Noise Reduction
High-Pass Filters
Fourier Filters
Summary
Chapter 9: Morphology, Thresholding, and Segmentation
Distance Transforms
Morphology and Morphological Operations
Structuring Element
Binary Morphological Operations
Grayscale Morphological Operations
Thresholding and Segmentation
Summary
Chapter 10: Video Processing
Introduction to OpenCV Library
Converting the Colorspace of Image
Separating Color Channels in Live Webcam Stream
More Operations on Live Webcam Stream
Geometric Transformation
Convolution
Correlation
Filtering
Morphological Operations
Summary
Conclusion
Appendix
pgmagick Image Processing
Connecting a Display
Using a VGA Display
Booting Up After Connecting a Display
Connecting to Ethernet/ Wired Network
Remote Desktop with VNC
Index
📜 SIMILAR VOLUMES
<span>Understand the concepts of image processing with Python 3 and create applications using Raspberry Pi 4. This book covers image processing with the latest release of Python 3, using Raspberry Pi OS and Raspberry Pi 4B with the 8 GB RAM model as the preferred computing platform.<br>This second e
<b>Gain a working knowledge of practical image processing and with scikit-image.</b> <b>Key Features</b> ● Comprehensive coverage of various aspects of scientific Python and concepts in image processing. ● Covers various additional topics such as Raspberry Pi, conda package manager, and
<span> Gain a working knowledge of practical image processing and with scikit-image.</span><span><br><br> </span><span>Key Features</span><ul><li><span><span>Comprehensive coverage of various aspects of scientific Python and concepts in image processing.</span></span></li><li><span><span>Covers vari
<div><div><span>Build an inexpensive cluster of multiple Raspberry Pi computers and install all the required libraries to write parallel and scientific programs in Python 3. This book covers setting up your Raspberry Pis, installing the necessary software, and making a cluster of multiple Pis.</span