From bb85b0fdaa705ed2078fa2d1222792dfdc2a625d Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 20 Jan 2010 16:43:59 +0100 Subject: Better parameterisation of the streak region --- src/peaks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/peaks.c') diff --git a/src/peaks.c b/src/peaks.c index 502c5dad..88a96461 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -32,8 +32,8 @@ static int in_streak(int x, int y) { - if ( (y>512) && (y<768) && (abs(x-493)<15) ) return 1; - if ( (y>768) && (abs(x-480)<15) ) return 1; + if ( (y>512) && (y<600) && (abs(x-489)<15) ) return 1; + if ( (y>600) && (abs(x-480)<25) ) return 1; return 0; } -- cgit v1.2.3