pixelshift: Fixed wrong ISO dependency

This commit is contained in:
heckflosse 2016-11-24 21:17:40 +01:00
parent 28358d6bf2
commit d84b54cfe0

View File

@ -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