Raspberry Pi Image Processing Programming: With NumPy, SciPy, Matplotlib, and OpenCV, 2nd Edition
- Length: 263 pages
- Edition: 2
- Language: English
- Publisher: Apress
- Publication Date: 2022-09-21
- ISBN-10: 1484282698
- ISBN-13: 9781484282694
- Sales Rank: #11968024 (See Top 100 Books)
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
Who This Book Is For
Raspberry Pi and IoT enthusiasts, and Python and Open Source professionals
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
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/Apress
2. In the Find a repository… box, search the book title: Raspberry Pi Image Processing Programming: With NumPy, SciPy, Matplotlib, and OpenCV, 2nd Edition
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.