© Himanshu Singh 2019
Himanshu SinghPractical Machine Learning and Image Processinghttps://doi.org/10.1007/978-1-4842-4149-3_4

4. Advanced Image Processing Using OpenCV

Himanshu Singh1 
(1)
Allahabad, Uttar Pradesh, India
 
Now that we have looked at the basic image processing techniques using the Scikit Image library, we can move on to its more advanced aspects. In this chapter, we use one of the most comprehensive computer vision libraries: OpenCV and examine the following concepts:
  • Blending two images

  • Changing the contrast and brightness of an image

  • Adding text to images

  • Smoothing images

  • Changing the shape of images

  • Effecting image thresholding

  • Calculating gradients to detect edges

  • Performing histogram equalization

Blending Two Images

Suppose you have two ...

Get Practical Machine Learning and Image Processing: For Facial Recognition, Object Detection, and Pattern Recognition Using Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.