Patch to restore functionality to line denoise.

This commit is contained in:
Emil Martinec
2010-11-23 08:28:41 -06:00
parent 999a0eb03c
commit 4b361aebca

View File

@@ -64,7 +64,7 @@ void RawImageSource::CLASS cfa_linedn(float noise)
int ex, ey;
int verbose=1;
const float clip_pt = 0.8*ri->defgain;
const float clip_pt = 0.8*ri->defgain * 65535.0;
float eps=1e-5; //tolerance to avoid dividing by zero