Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Image Processing with Python

You're reading from   Hands-On Image Processing with Python Expert techniques for advanced image analysis and effective interpretation of image data

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781789343731
Length 492 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Sandipan Dey Sandipan Dey
Author Profile Icon Sandipan Dey
Sandipan Dey
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Title Page
Copyright and Credits
Dedication
About Packt
Contributors
Preface
1. Getting Started with Image Processing 2. Sampling, Fourier Transform, and Convolution FREE CHAPTER 3. Convolution and Frequency Domain Filtering 4. Image Enhancement 5. Image Enhancement Using Derivatives 6. Morphological Image Processing 7. Extracting Image Features and Descriptors 8. Image Segmentation 9. Classical Machine Learning Methods in Image Processing 10. Deep Learning in Image Processing - Image Classification 11. Deep Learning in Image Processing - Object Detection, and more 12. Additional Problems in Image Processing 1. Other Books You May Enjoy Index

The image processing pipeline


The following steps describe the basic steps in the image processing pipeline:

  1. Acquisition and storage: The image needs to be captured (using a camera, for example) and stored on some device (such as a hard disk) as a file (for example, a JPEG file). 
  2. Load into memory and save to disk: The image needs to be read from the disk into memory and stored using some data structure (for example, numpy ndarray), and the data structure needs to be serialized into an image file later, possibly after running some algorithms on the image.
  3. Manipulation, enhancement, and restoration: We need to run some pre-processingalgorithmsto do the following:
    • Run a few transformations on the image (sampling and manipulation; for example, grayscale conversion)
    • Enhance the quality of the image (filtering; for example, deblurring)
    • Restore the image from noise degradation
  4. Segmentation: The image needs to be segmented in order to extract the objects of interest.
  5. Information extraction/representation: The image needs to be represented in some alternative form; for example, one of the following:
    • Some hand-crafted feature-descriptor can be computed (for example, HOG descriptors, with classical image processing) from the image
    • Some features can be automatically learned from the image (for example, the weights and bias values learned in the hidden layers of a neural net with deep learning)
    • The image is going to be represented using that alternative representation 
  1. Image understanding/interpretation: This representation will be used to understand the image better with the following:
    • Image classification (for example, whether an image contains a human object or not)
    • Object recognition (for example, finding the location of the car objects in an image with a bounding box)

The following diagram describes the different steps in image processing:

The next figure represents different modules that we are going to use for different image processing tasks:

Apart from these libraries, we are going to use the following:

  • scipy.ndimageandopencvfor different image processing tasks
  • scikit-learn for classical machine learning
  • tensorflow and keras for deep learning
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime