Harris Corner Detector

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Harris Corner Detector is a corner detection operator that is commonly used in computer vision algorithms to extract corners and infer features of an image. It was first introduced by Chris Harris and Mike Stephens in 1988 upon the improvement of Moravec's corner detector.[1] Compared to the previous one, Harris' corner detector takes the differential of the corner score into account with reference to direction directly, instead of using shifting patches for every 45 degree angles, and has been proved to be more accurate in distinguishing between edges and corners.[2] Since then, it has been improved and adopted in many algorithms to preprocess images for subsequent applications.

Introduction[edit]

A corner is a point whose local neighborhood stands in two dominant and different edge directions. In other words, a corner can be interpreted as the junction of two edges, where an edge is a sudden change in image brightness.[3] Corners are the important features in the image, and they are generally termed as interest points which are invariant to translation, rotation and illumination. Although corners are only a small percentage of the image, they contain the most important features in restoring image information, and they can be used to minimize the amount of processed data for motion tracking, image stitching, building 2D mosaics, stereo vision, image representation and other related computer vision areas.

In order to capture the corners from the image, researchers have proposed many different corner detectors including the Kanade-Lucas-Tomasi (KLT) operator and the Harris operator which are most simple, efficient and reliable for use in corner detection. These two popular methodologies are both closely associated with and based on the local structure matrix. Compared to the Kanade-Lucas-Tomasi corner detector, the Harris corner detector provides good repeatability under changing illumination and rotation, and therefore, it is more often used in stereo matching and image database retrieval. Although there still exists drawbacks and limitations, the Harris corner detector is still an important and fundamental technique for many computer vision applications.

Development of Harris Corner Detection Algorithm [1][edit]

Without loss of generality, we will assume a grayscale 2-dimensional image is used. Let this image be given by . Consider taking an image patch over the area and shifting it by . The sum of squared differences (SSD) between these two patches, denoted , is given by:

can be approximated by a Taylor expansion. Let and be the partial derivatives of , such that

This produces the approximation

which can be written in matrix form:

where M is the structure tensor,

Process of Harris Corner Detection Algorithm[4][5][6][edit]

Commonly, Harris corner detector algorithm can be divided into five steps.

1. Color to grayscale

2. Spatial derivative calculation

3. Structure tensor setup

4. Harris response calculation

5. Non-maximum suppression

Color to grayscale[edit]

If we use Harris corner detector in a color image, the first step is to convert it into a grayscale image, which will enhance the processing speed.

Spatial derivative calculation[edit]

Next, we are going to compute .

Structure tensor setup[edit]

With , , we can construct the structure tensor .

Harris response calculation[edit]

In this step, we will compute the smallest eigenvalue of the structure tensor with following approximation equation.

where .

Another common used Harris response calculation is shown as below,

where is an empirically determined constant; .

Non-maximum suppression[edit]

In order to pick up the optimal values to indicate corners, we find the local maxima as corners within the window which is a 3 by 3 filter.

Improvement[7][8][edit]

1. Harris-Laplace Corner Detector[9]

2. Differential Morphological Decomposition Based Corner Detector[10]

3. Multi-scale Bilateral Structure Tensor Based Corner Detector[11]

Applications[edit]

1. Image Alignment, Stitching and Registration[12]

2. 2D Mosaics Creation[13]

3. 3D Scene Modeling and Reconstruction[14]

4. Motion Detection[15]

5. Object Recognition[16]

6. Image Indexing and Content-based Retrieval[17]

7. Video Tracking[18]

See also[edit]

References[edit]

  1. ^ a b Chris Harris and Mike Stephens (1988). "A Combined Corner and Edge Detector". Alvey Vision Conference. 15.
  2. ^ Dey, Nilanjan and; et al. (2012). "A Comparative Study between Moravec and Harris Corner Detection of Noisy Images Using Adaptive Wavelet Thresholding Technique". arXiv preprint. p. 1209.1558.
  3. ^ Konstantinos G. Derpanis (2004). The harris corner detector. York University.
  4. ^ "Harris Operator Corner Detection using Sliding Window Method - Google Scholar". scholar.google.com. Retrieved 2015-11-29.
  5. ^ "The Comparison and Application of Corner Detection Algorithms - Google Scholar". scholar.google.com. Retrieved 2015-11-29.
  6. ^ Javier Sánchez, Nelson Monzón and Agustín Salgado (2018). "An Analysis and Implementation of the Harris Corner Detector". Image Processing On Line (IPOL). 8: 305–328. doi:10.5201/ipol.2018.229.
  7. ^ Bellavia, F.; Tegolo, D.; Valenti, C. (2011-03-01). "Improving Harris corner selection strategy". IET Computer Vision. 5 (2). doi:10.1049/iet-cvi.2009.0127.
  8. ^ Rosten, Edward; Drummond, Tom (2006-05-07). Leonardis, Aleš; Bischof, Horst; Pinz, Axel, eds. Machine Learning for High-Speed Corner Detection. Lecture Notes in Computer Science. Springer Berlin Heidelberg. pp. 430–443. doi:10.1007/11744023_34#page-1. ISBN 978-3-540-33832-1.
  9. ^ "A Comparison of Affine Region Detectors - Google Scholar". scholar.google.com. Retrieved 2015-11-29.
  10. ^ Gueguen, L.; Pesaresi, M. "Multi scale Harris corner detector based on Differential Morphological Decomposition". Pattern Recognition Letters. 32 (14): 1714–1719. doi:10.1016/j.patrec.2011.07.021.
  11. ^ "A Multi-scale Bilateral Structure Tensor Based Corner Detector - Google Scholar". scholar.google.com. Retrieved 2015-11-29.
  12. ^ Kang, Juan; Xiao, Chuangbai; Deng, M.; Yu, Jing; Liu, Haifeng (2011-08-01). "Image registration based on harris corner and mutual information". 2011 International Conference on Electronic and Mechanical Engineering and Information Technology (EMEIT). 7: 3434–3437. doi:10.1109/EMEIT.2011.6023066.
  13. ^ "Underwater Mosaic Creation using Video sequences from Different Altitudes - Google Scholar". scholar.google.com. Retrieved 2015-12-02.
  14. ^ "Automated reconstruction of 3D scenes from sequences of images - Google Scholar". scholar.google.com. Retrieved 2015-12-02.
  15. ^ Liu, Meng; Wu, Chengdong; Zhang, Yunzhou (2008-07-01). "Multi-resolution optical flow tracking algorithm based on multi-scale Harris corner points feature". Control and Decision Conference, 2008. CCDC 2008. Chinese: 5287–5291. doi:10.1109/CCDC.2008.4598340.
  16. ^ "Object Recognition from Local Scale-Invariant Features - Google Scholar". scholar.google.com. Retrieved 2015-11-29.
  17. ^ "Salient Points for Content Based Retrieval - Google Scholar". scholar.google.com. Retrieved 2015-12-02.
  18. ^ "Tracking and Recognition of Objects using SURF Descriptor and Harris Corner Detection - Google Scholar". scholar.google.com. Retrieved 2015-12-02.

External links[edit]