From d84b54cfe0e65e021500bbe90ccc1aa7dc71510e Mon Sep 17 00:00:00 2001 From: heckflosse Date: Thu, 24 Nov 2016 21:17:40 +0100 Subject: [PATCH] pixelshift: Fixed wrong ISO dependency --- rtengine/pixelshift.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtengine/pixelshift.cc b/rtengine/pixelshift.cc index c3f2cb986..8e7a38fcd 100644 --- a/rtengine/pixelshift.cc +++ b/rtengine/pixelshift.cc @@ -86,7 +86,7 @@ void RawImageSource::pixelshift_simple(int winx, int winy, int winw, int winh, b log2Lut[i>>1] = lutStrength * log2(i) / 100.f; } const float scaleGreen = 1.f / scale_mul[1]; - eperIso *= (idata->getISOSpeed() / 100); + eperIso *= (100 / idata->getISOSpeed()); prnu /= 100.f; // If the values of two corresponding green pixels differ my more then motionThreshold %, the pixel will be treated as a badGreen pixel