White balance was not applied for standard images at 1:1 scale
This commit is contained in:
@@ -187,9 +187,9 @@ void Image16::getStdImage (ColorTemp ctemp, int tran, Imagefloat* image, Preview
|
||||
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 {
|
||||
|
@@ -161,9 +161,9 @@ void Image8::getStdImage (ColorTemp ctemp, int tran, Imagefloat* image, PreviewP
|
||||
convertTo(r(src_y, src_x), r_);
|
||||
convertTo(g(src_y, src_x), g_);
|
||||
convertTo(b(src_y, src_x), b_);
|
||||
lineR[dst_x] = r_;
|
||||
lineG[dst_x] = g_;
|
||||
lineB[dst_x] = b_;
|
||||
lineR[dst_x] = CLIP(rm2*r_);
|
||||
lineG[dst_x] = CLIP(gm2*g_);
|
||||
lineB[dst_x] = CLIP(bm2*b_);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user