Learning OpenCV 3 Computer Vision with Python by Minichino Joe & Howse Joseph

Learning OpenCV 3 Computer Vision with Python by Minichino Joe & Howse Joseph

Author:Minichino, Joe & Howse, Joseph [Minichino, Joe]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2015-09-29T04:00:00+00:00


The most important parameter here is the third one, which defines the aperture of the Sobel operator. The Sobel operator performs the change detection in the rows and columns of an image to detect edges, and it does this using a kernel. The OpenCV cornerHarris function uses a Sobel operator whose aperture is defined by this parameter. In plain english, it defines how sensitive corner detection is. It must be between 3 and 31 and be an odd value. At value 3, all those diagonal lines in the black squares of the chessboard will register as corners when they touch the border of the square. At 23, only the corners of each square will be detected as corners.

Consider the following line:

img[dst>0.01 * dst.max()] = [0, 0, 255]



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.