aboutsummaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-03-18 11:05:41 +0100
committerThomas White <taw@physics.org>2010-03-18 11:05:41 +0100
commit88c08418710ab2c72d51f6fce13ad2d78e0706f6 (patch)
treea6e7451341a1bda9307c1c71eb77a1cae898699f /src/render.c
parent7678f34afc9df872af539d56c8110e578e683b08 (diff)
Separate CM subtraction and noise filter
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render.c b/src/render.c
index 432b81ab..a4be5a14 100644
--- a/src/render.c
+++ b/src/render.c
@@ -77,7 +77,8 @@ float *render_get_image_binned(DisplayWindow *dw, int binning, float *max)
hdf5_read(dw->hdfile, image);
dw->image_dirty = 0;
- if ( dw->clean ) clean_image(image);
+ if ( dw->cmfilter ) filter_cm(image);
+ if ( dw->noisefilter ) filter_noise(image);
/* Deal with the old image, if existing */
if ( dw->image != NULL ) {