mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-01 12:50:48 +08:00
Add comment to explain meaning of structure matrix of harris
This commit is contained in:
@@ -58,6 +58,7 @@ def harris(image, method='k', k=0.05, eps=1e-6, sigma=1):
|
||||
imx = ndimage.sobel(image, axis=0, mode='constant', cval=0)
|
||||
imy = ndimage.sobel(image, axis=1, mode='constant', cval=0)
|
||||
|
||||
# sum of squared differences / structure tensore
|
||||
Axx = ndimage.gaussian_filter(imx * imx, sigma,
|
||||
mode='constant', cval=0)
|
||||
Axy = ndimage.gaussian_filter(imx * imy, sigma,
|
||||
|
||||
Reference in New Issue
Block a user