Skip to content

Latest commit

 

History

History

HarrisCornerDetection

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Harris Corner Detection

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.

Harris Corner Detector function

cv2.cornerHarris(img, blockSize, ksize, k)

The arguments here mean:

  1. img - Input image, it should be grayscale and float32 type.
  2. blockSize - It is the size of neighbourhood considered for corner detection
  3. ksize - Aperture parameter of Sobel derivative used.
  4. k - Harris detector free parameter in the equation.

Advantages

  1. It is simple to compute, and is fast enough.
  2. Also, it is popular because it is rotation, scale and illumination variation independent.

Results

alt text
Input image


alt text
Output image

Links for more information

You can go through this link for understanding the mathematics behind it.