From the course: Computer Vision on the Raspberry Pi 4

Unlock the full course today

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

Computing image gradients

Computing image gradients

- At this point, you should understand what convolution is and how it can be used to blur and sharpen images in this video, I'll explain what image gradients are and show how they can be computed, Using convolution. A gradient is a special kind of vector. And before I go further, I'd like to explain the basics of vectors. A vector is a quantity with magnitude and direction. If you've taken courses in physics or graphics, you've probably seen vectors represented by arrows. The arrows length identifies the vectors magnitude and its direction identifies the vectors direction. We described vectors in terms of their components. This slide illustrates a two dimensional vector named V and its component VX and VY VX is the component in the X axis. And V Y is the component in the y-axis. The magnitude of V equals the square root of the sum, of VX squared and VY squared. These orientation is the angle the vector makes with the…

Contents