From the course: Computer Vision on the Raspberry Pi 4
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Theory of convolution
From the course: Computer Vision on the Raspberry Pi 4
Theory of convolution
- Now that you understand basic image processing. It's time to look at convolution. Convolution plays a central role in computer vision, and the better you understand it, the better you'll understand the content of this course. Convolution accepts an image and a two dimensional array called a kernel. It produces a second image with the same size as the original. If you've used tools like blur and sharpen in Photoshop, then you should have an idea of what convolution can do. Many sources present convolution using equations, but I'm going to approach the topic more gradually I'll start by discussing dot products in one and two dimensions. Once this is clear, I'll explain how convolution works. The dot product is a common operation in linear algebra and graphical rendering. It measures the similarity of two arrays by multiplying their corresponding elements and adding the products together. This slide computes the dot product…