From f2a9e9d553b5223392ee7b18dd37c8aaeb627601 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 2 May 2012 09:14:41 +0200 Subject: harris: Check for n=2 neighbours --- harris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/harris.c b/harris.c index 0fdefb7..50d7ff9 100644 --- a/harris.c +++ b/harris.c @@ -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) { -- cgit