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:
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:
P. Corke, Robotics, Vision & Control for Python, Springer, 2023, Section 12.3.1.
Important
Uses OpenCV function
cv2.cornerHarriswhich accepts single-channel, CV_8U, CV_32F or CV_64F images (color images are automatically converted to greyscale).- Seealso: