From the course: OpenCV for Python Developers

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Blur, dilation, and erosion

Blur, dilation, and erosion

- [Instructor] In this module, we will take a look at a few useful filtering functions often used to pre-process or adjust an image prior to doing more complex operations. These operations help reduce noise or unwanted variances of an image or threshold. The goal is to make the image easier to work with. The three filters are the Gaussian Blur, the Erosion and Dilation filters. The Gaussian Blur filter smooths an image by averaging pixel values with its neighbors. It's called a Gaussian Blur because the average has a Gaussian falloff effect. In other words, pixels that are closer to the target pixel have a higher impact with the average than pixels that are far away. This is how the smoothing works. It is often used as a decent way to smooth out noise in an image as a precursor to other processing. Let's see how to use Gaussian Blurs in OpenCV. Now opening the script editor, I have the chapter two module six file open,…

Contents