possibly fixed itcwb from command line?

This commit is contained in:
Jackson Legge 2025-04-03 18:08:38 -06:00
parent 2a53427c65
commit 255d9e8336

View File

@ -277,10 +277,10 @@ private:
currWB = ColorTemp(params.wb.temperature, params.wb.green, params.wb.equal, params.wb.method, params.wb.observer);
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);
}
const bool autowb = (params.wb.method == "autitcgreen" && imgsrc->isRAW() && flush);
const bool autowb = (params.wb.method == "autitcgreen" && imgsrc->isRAW());
ColorTemp autoWB;
int dread = 0;
int bia = 1;