From a13637c42a53e4bebeb12e2a81413c5fdd83764b Mon Sep 17 00:00:00 2001 From: hackbard Date: Tue, 13 Sep 2005 22:29:28 +0000 Subject: [PATCH] support: meanvalue/sum of multiple fts --- linescan.c | 54 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 21 deletions(-) diff --git a/linescan.c b/linescan.c index 889446c..bbabc66 100644 --- a/linescan.c +++ b/linescan.c @@ -16,33 +16,45 @@ int main(int argc,char **argv) { t_bmp bmp; - int x,y,d; - double val; + int i,x,y,d; + double *val=NULL; + char set=1; + + for(i=1;i\n",argv[0]); - return -1; } - bmp_init(&bmp,2); - bmp.mode=READ; - strcpy(bmp.file,argv[1]); - - bmp_read_file(&bmp); - - dprintf(2,"width = %d ... delta x = %d.\n",bmp.info.width,DX); - - x=bmp.info.width/2; for(y=0;y