aboutsummaryrefslogtreecommitdiff
path: root/src/hdfsee.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-03-11 17:44:27 +0100
committerThomas White <taw@physics.org>2013-03-11 17:45:52 +0100
commit4b7fbbbfdea27b9098af5174dee9910baae0ab31 (patch)
tree29ed9ab1f9a50c57b5f3dfd150e01cb2b1450da1 /src/hdfsee.c
parent6af905071a4865bc4481226d9319a3f5740efae8 (diff)
Get rid of "--filter-cm"
This was completely specific to pnCCDs, and not even properly general to the different configurations there.
Diffstat (limited to 'src/hdfsee.c')
-rw-r--r--src/hdfsee.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/hdfsee.c b/src/hdfsee.c
index 2db58f41..24d6d9cc 100644
--- a/src/hdfsee.c
+++ b/src/hdfsee.c
@@ -58,11 +58,10 @@ static void show_help(const char *s)
" --ring-size=<n> Set the size for those circles.\n"
" -i, --int-boost=<n> Multiply intensity by <n>.\n"
" -b, --binning=<n> Set display binning to <n>.\n"
-" --filter-cm Perform common-mode noise subtraction.\n"
-" --filter-noise Apply an aggressive noise filter which\n"
-" sets all pixels in each 3x3 region to\n"
-" zero if any of them have negative\n"
-" values.\n"
+" --filter-noise Apply an aggressive noise filter to the\n"
+" image data.\n"
+" --median-filter=<n> Apply a median filter to the image data.\n"
+
" --show-rings Overlay rings that indicate resolution.\n"
" --simple-rings=XX,YY,... Overlay rings at specified radii XX, YY, ...\n"
" in pixel units.\n"
@@ -113,7 +112,6 @@ int main(int argc, char *argv[])
char *peaks = NULL;
double boost = 1.0;
int binning = 2;
- int config_cmfilter = 0;
int config_noisefilter = 0;
int config_showrings = 0;
int colscale = SCALE_COLOUR;
@@ -132,7 +130,6 @@ int main(int argc, char *argv[])
{"peak-overlay", 1, NULL, 'p'},
{"int-boost", 1, NULL, 'i'},
{"binning", 1, NULL, 'b'},
- {"filter-cm", 0, &config_cmfilter, 1},
{"filter-noise", 0, &config_noisefilter, 1},
{"colscale", 1, NULL, 'c'},
{"image", 1, NULL, 'e'},
@@ -264,7 +261,6 @@ int main(int argc, char *argv[])
for ( i=0; i<nfiles; i++ ) {
main_window_list[i] = displaywindow_open(argv[optind+i], peaks,
boost, binning,
- config_cmfilter,
config_noisefilter,
colscale, element,
geometry,