Fix deprecation warnings in matching example

This commit is contained in:
Johannes Schönberger
2014-04-11 10:46:30 -04:00
parent 691dc07771
commit 1a1476841d
+1 -1
View File
@@ -72,7 +72,7 @@ def gaussian_weights(window_ext, sigma=1):
def match_corner(coord, window_ext=5):
r, c = np.round(coord)
r, c = np.round(coord).astype(np.intp)
window_orig = img_orig[r-window_ext:r+window_ext+1,
c-window_ext:c+window_ext+1, :]