Merge pull request #7349 from JacksonLegge/fix-cli-awb
Fix Temperature Correlation White Balance in CLI
This commit is contained in:
commit
eecff83540
@ -277,10 +277,10 @@ private:
|
|||||||
currWB = ColorTemp(params.wb.temperature, params.wb.green, params.wb.equal, params.wb.method, params.wb.observer);
|
currWB = ColorTemp(params.wb.temperature, params.wb.green, params.wb.equal, params.wb.method, params.wb.observer);
|
||||||
ColorTemp currWBitc;
|
ColorTemp currWBitc;
|
||||||
|
|
||||||
if (params.wb.method == "autitcgreen" && flush) {
|
if (params.wb.method == "autitcgreen") {
|
||||||
imgsrc->getrgbloc(0, 0, fh, fw, 0, 0, fh, fw, params.wb);
|
imgsrc->getrgbloc(0, 0, fh, fw, 0, 0, fh, fw, params.wb);
|
||||||
}
|
}
|
||||||
const bool autowb = (params.wb.method == "autitcgreen" && imgsrc->isRAW() && flush);
|
const bool autowb = (params.wb.method == "autitcgreen" && imgsrc->isRAW());
|
||||||
ColorTemp autoWB;
|
ColorTemp autoWB;
|
||||||
int dread = 0;
|
int dread = 0;
|
||||||
int bia = 1;
|
int bia = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user