From d273ade6ec56734dce9c2b0eecc632e31e494b74 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 8 Feb 2010 15:14:21 +0100 Subject: Add --clean-image option to hdfsee --- src/hdfsee.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/hdfsee.c') diff --git a/src/hdfsee.c b/src/hdfsee.c index 3d578fbf..5306059b 100644 --- a/src/hdfsee.c +++ b/src/hdfsee.c @@ -36,8 +36,11 @@ static void show_help(const char *s) " -h, --help Display this help message.\n" "\n" " -p, --peak-overlay= Draw circles in positions listed in file.\n" -" -i, --int-boost= Multiple intensity by .\n" +" -i, --int-boost= Multiply intensity by .\n" " -b, --binning= Set display binning to .\n" +" --clean-image Perform common-mode noise subtraction and\n" +" background removal on images before\n" +" proceeding.\n" "\n"); } @@ -76,6 +79,7 @@ int main(int argc, char *argv[]) char *peaks = NULL; int boost = 1; int binning = 2; + int config_clean = 0; /* Long options */ const struct option longopts[] = { @@ -83,6 +87,7 @@ int main(int argc, char *argv[]) {"peak-overlay", 1, NULL, 'p'}, {"int-boost", 1, NULL, 'i'}, {"binning", 1, NULL, 'b'}, + {"clean-image", 0, &config_clean, 1}, {0, 0, NULL, 0} }; @@ -140,7 +145,8 @@ int main(int argc, char *argv[]) for ( i=0; i