Harris corner detector
Node: Harris corner detector
Harris corner detector is the most well known, or we can call it as the most tranditional way to detect the local features.
- Moravec's corner detector, basically manipulate on image intensity and find the edge (BUT could only correspond to 8 directions)
- image intensity could be representated as following:$$E(u,v)=\sum_{(x,y)\in{W}}w(x,y)[I(x+u,y+v)-I(x,y)]^2$$
- shift is given by function
is the Window function, it could be a Gaussian window means the vertical and horizontal shift of the point means the center point of the corner is the sum of sq of the shifted intensity - the larger as
, the higher posibility that the point (x,y) as corner
- To correspond to omniazimuth
- the function remain as forementioned
- use Taylor Expansion for the small shift of (x,y):$$I(x+u,y+v)\sim I(x,y)+I_x(x,y)u+I_y(x,y)v$$
- then, we can approximate the
as following:$$E(u,v)\sim \sum_{(x,y)\in{W}}w(x,y)[I_x(x,y)u+I_y(x,y)v]^2$$ - define
as the matrix:$$M = \sum_{(x,y)\in{W}}\left[\begin{array}{cc}I_xI_x & I_xI_y\I_xI_y & I_yI_y \end{array}\right]$$ - the
could be approximate as: $$E(x,y)\sim\left[\begin{array}{r}u & v \end{array}\right]M\left[\begin{array}{c}u\v \end{array}\right]$$ - use Sobel to cauculate the
and - define
use and which are eigen values of :$$R=det(M)-k(tr(M))^2$$ - where,
- we could deteremine that when:
is small, the area is Flat , the area is Edge is large, the area is Corner
References
Harris, C., & Stephens, M. (1988, August). A combined corner and edge detector. In Alvey vision conference (Vol. 15, No. 50, pp. 10-5244). (download)
動画:
Harris Corner and Edge Detector [E7] - YouTube
ウェブサイト: