Revert latest commit (kind of) and disable automatic global green equilibration for OLYMPUS E-M1MarkII
This commit is contained in:
parent
72cd11aa21
commit
e542a38f85
@ -48,10 +48,10 @@ void RawImageSource::green_equilibrate_global(array2D<float> &rawData)
|
||||
double avgg = 0.;
|
||||
int ng = 0;
|
||||
for (int j = border + ((FC(i, border) & 1) ^ 1); j < W - border; j += 2) {
|
||||
if(rawData[i][j] > 0.f) {
|
||||
// if(rawData[i][j] > 0.f) {
|
||||
avgg += rawData[i][j];
|
||||
ng++;
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
if (i & 1) {
|
||||
|
@ -1952,7 +1952,7 @@ void RawImageSource::preprocess (const RAWParams &raw, const LensProfParams &le
|
||||
for(int i = 0; i < 4; ++i) {
|
||||
green_equilibrate_global(*rawDataFrames[i]);
|
||||
}
|
||||
} else {
|
||||
} else if(idata->getModel() != "E-M1MarkII") {
|
||||
green_equilibrate_global(rawData);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user