best transition between method high and highlight
This commit is contained in:
parent
d669f2ff2e
commit
604020e1e2
@ -263,8 +263,10 @@ void RawImageSource::MSR(float** luminance, float** originalLuminance, float **e
|
|||||||
if (deh.retinexMethod == "highli" || deh.retinexMethod == "highliplus") {
|
if (deh.retinexMethod == "highli" || deh.retinexMethod == "highliplus") {
|
||||||
moderetinex = 3;
|
moderetinex = 3;
|
||||||
}
|
}
|
||||||
|
float aahi = 49.f/99.f;////reduce sensibility 50%
|
||||||
float high = 0.6f*(float) deh.highl;//reduce sensibility
|
float bbhi = 1.f - aahi;
|
||||||
|
float high;
|
||||||
|
high = bbhi + aahi*(float) deh.highl;
|
||||||
retinex_scales( RetinexScales, scal, moderetinex, nei, high );
|
retinex_scales( RetinexScales, scal, moderetinex, nei, high );
|
||||||
|
|
||||||
int H_L = height;
|
int H_L = height;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user