Bugfix for green equilibration.

This commit is contained in:
Emil Martinec
2011-06-28 08:59:11 -05:00
parent 80b639c64c
commit dd5747601f
2 changed files with 100 additions and 152 deletions

View File

@@ -1054,7 +1054,7 @@ void RawImageSource::preprocess (const RAWParams &raw, HRecParams hrp)
if (ri->ISGREEN(i,j)) {
float currData;
currData = (float)(rawData[i][j] * ((i&1) ? corrg2 : corrg1));
rawData[i][j] = CLIP(currData);
rawData[i][j] = (currData);
}
}