Chapter 1. Detecting Edges and Applying Image Filters

In this chapter, we are going to see how to apply cool visual effects to images. We will learn how to use fundamental image processing operators. We are going to discuss edge detection and how we can use image filters to apply various effects on photos.

By the end of this chapter, you will know:

  • What is 2D convolution and how to use it
  • How to blur an image
  • How to detect edges in an image
  • How to apply motion blur to an image
  • How to sharpen and emboss an image
  • How to erode and dilate an image
  • How to create a vignette filter
  • How to enhance image contrast

    Tip

    Downloading the example code

    You can download the example code files from your account at http://www.packtpub.com for all the Packt Publishing books ...

Get OpenCV: Computer Vision Projects with 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.