From ecc8c4640ad5b00604f29eeee43a98afa684ff86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Wed, 29 May 2013 21:23:07 +0200 Subject: [PATCH] Fix window size of sub-pixel corner detection --- doc/examples/plot_matching.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/examples/plot_matching.py b/doc/examples/plot_matching.py index 9c4fb4eb..2b83e17b 100644 --- a/doc/examples/plot_matching.py +++ b/doc/examples/plot_matching.py @@ -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):