From: hackbard Date: Tue, 13 Sep 2005 22:29:28 +0000 (+0000) Subject: support: meanvalue/sum of multiple fts X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a13637c42a53e4bebeb12e2a81413c5fdd83764b;p=physik%2Fnlsop.git support: meanvalue/sum of multiple fts --- 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