Harris Corner Detection - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English

In order to understand Harris Corner Detection, let us consider a grayscale image. Sweep a window w(x,y) (with displacements u in the x-direction and v in the y-direction), I calculates the variation of intensity w(x,y).


image74

Where:

  • w(x,y) is the window position at (x,y)
  • I(x,y) is the intensity at (x,y)
  • I(x+u,y+v) is the intensity at the moved window (x+u,y+v).

Since we are looking for windows with corners, we are looking for windows with a large variation in intensity. Hence, we have to maximize the equation above, specifically the term:


image75

Using Taylor expansion:


image76

Expanding the equation and cancelling I(x,y) with -I(x,y):


image77

The above equation can be expressed in a matrix form as:


image78

So, our equation is now:


image79

A score is calculated for each window, to determine if it can possibly contain a corner:


image80
Where,
  • image81
  • image82