White balance was not applied for standard images at 1:1 scale

This commit is contained in:
natureh 510
2013-03-16 02:10:58 +01:00
parent 70f7b061c9
commit cc32c232a4
3 changed files with 9 additions and 9 deletions

View File

@@ -178,9 +178,9 @@ void Imagefloat::getStdImage (ColorTemp ctemp, int tran, Imagefloat* image, Prev
if (src_x>=maxx)
continue;
lineR[dst_x] = r(src_y, src_x);
lineG[dst_x] = g(src_y, src_x);
lineB[dst_x] = b(src_y, src_x);
lineR[dst_x] = CLIP(rm2*r(src_y, src_x));
lineG[dst_x] = CLIP(gm2*g(src_y, src_x));
lineB[dst_x] = CLIP(bm2*b(src_y, src_x));
}
}
else {