Fixed SpotWb also for xtrans, #4589
This commit is contained in:
@@ -5139,7 +5139,7 @@ ColorTemp RawImageSource::getSpotWB (std::vector<Coord2D> &red, std::vector<Coor
|
||||
gloc /= gnbrs;
|
||||
bloc /= bnbrs;
|
||||
|
||||
if (rloc * initialGain < 64000. && gloc * initialGain < 64000. && bloc * initialGain < 64000.) {
|
||||
if (rloc < clmax[0] && gloc < clmax[1] && bloc < clmax[2]) {
|
||||
reds += rloc;
|
||||
greens += gloc;
|
||||
blues += bloc;
|
||||
|
||||
Reference in New Issue
Block a user