Fix window size of sub-pixel corner detection

This commit is contained in:
Johannes Schönberger
2013-05-29 21:23:07 +02:00
parent 2832b7a9a5
commit ecc8c4640a
+2 -2
View File
@@ -55,9 +55,9 @@ coords_warped = corner_peaks(corner_harris(img_warped_gray),
threshold_rel=0.001, min_distance=5)
# determine sub-pixel corner position
coords_orig_subpix = corner_subpix(img_orig_gray, coords_orig, window_size=10)
coords_orig_subpix = corner_subpix(img_orig_gray, coords_orig, window_size=9)
coords_warped_subpix = corner_subpix(img_warped_gray, coords_warped,
window_size=10)
window_size=9)
def gaussian_weights(window_ext, sigma=1):