diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-05-02 09:14:41 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-05-02 09:14:41 +0200 |
commit | f2a9e9d553b5223392ee7b18dd37c8aaeb627601 (patch) | |
tree | 04d3ac5cfafb3893ad774fc19c2b582e3c0fbe83 | |
parent | 262a592405e86e44d8e0d653f2964ef6f3d9a430 (diff) | |
download | cv-f2a9e9d553b5223392ee7b18dd37c8aaeb627601.tar.gz cv-f2a9e9d553b5223392ee7b18dd37c8aaeb627601.tar.bz2 cv-f2a9e9d553b5223392ee7b18dd37c8aaeb627601.zip |
harris: Check for n=2 neighbours
-rw-r--r-- | harris.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -141,7 +141,7 @@ check_neighbours(struct mat2 *m, int x, int y, int width, int height) { int i, j; gboolean max = TRUE; - int n = 3; + int n = 2; for (j = MAX(0, y-n); j < MIN(y+n, height-1); ++j) { for (i = MAX(0, x-n); i < MIN(x+n, width-1); ++i) { |