locallab: dedup dehaze code

This commit is contained in:
heckflosse
2019-04-08 14:44:02 +02:00
parent d2f7db7182
commit 7970afa400
7 changed files with 28 additions and 143 deletions

View File

@@ -753,7 +753,7 @@ void Crop::update(int todo)
}
if (need_fattal) {
parent->ipf.dehaze(f);
parent->ipf.dehaze(f, params.dehaze);
parent->ipf.ToneMapFattal02(f);
}