Image.Harris_corner_strength#

Image.Harris_corner_strength(k: float = 0.04, h: int = 2) Any[source]#

Harris corner strength image

Parameters:
  • k (float, optional) – Harris parameter, defaults to 0.04

  • h (int, optional) – kernel half width, defaults to 2

Returns:

Harris corner strength image

Return type:

Image

Returns an image containing Harris corner strength values. This is positive for high gradient in orthogonal directions, and negative for high gradient in a single direction.

References:

Important

Uses OpenCV function cv2.cornerHarris which accepts single-channel, CV_8U, CV_32F or CV_64F images (color images are automatically converted to greyscale).

Seealso:

gradients Harris cv2.cornerHarris