Restored highlight clipping when highlight reconstruction is turned off.
This commit is contained in:
parent
8ac9e46f4f
commit
810432f38e
@ -317,12 +317,12 @@ void RawImageSource::getImage (ColorTemp ctemp, int tran, Imagefloat* image, Pre
|
|||||||
rtot*=rm;
|
rtot*=rm;
|
||||||
gtot*=gm;
|
gtot*=gm;
|
||||||
btot*=bm;
|
btot*=bm;
|
||||||
/*if (!hrp.enabled)
|
if (!hrp.enabled)
|
||||||
{
|
{
|
||||||
rtot=CLIP(rtot);
|
rtot=CLIP(rtot);
|
||||||
gtot=CLIP(gtot);
|
gtot=CLIP(gtot);
|
||||||
btot=CLIP(btot);
|
btot=CLIP(btot);
|
||||||
}*/
|
}
|
||||||
line_red[j] = rtot;
|
line_red[j] = rtot;
|
||||||
line_grn[j] = gtot;
|
line_grn[j] = gtot;
|
||||||
line_blue[j] = btot;
|
line_blue[j] = btot;
|
||||||
@ -341,12 +341,12 @@ void RawImageSource::getImage (ColorTemp ctemp, int tran, Imagefloat* image, Pre
|
|||||||
rtot*=rm;
|
rtot*=rm;
|
||||||
gtot*=gm;
|
gtot*=gm;
|
||||||
btot*=bm;
|
btot*=bm;
|
||||||
/*if (!hrp.enabled)
|
if (!hrp.enabled)
|
||||||
{
|
{
|
||||||
rtot=CLIP(rtot);
|
rtot=CLIP(rtot);
|
||||||
gtot=CLIP(gtot);
|
gtot=CLIP(gtot);
|
||||||
btot=CLIP(btot);
|
btot=CLIP(btot);
|
||||||
}*/
|
}
|
||||||
line_red[j] = rtot;
|
line_red[j] = rtot;
|
||||||
line_grn[j] = gtot;
|
line_grn[j] = gtot;
|
||||||
line_blue[j] = btot;
|
line_blue[j] = btot;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user