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