locallab: dedup softlight code

This commit is contained in:
heckflosse
2019-04-08 15:08:26 +02:00
parent 7970afa400
commit 7f3fdb8f6c
7 changed files with 15 additions and 41 deletions

View File

@@ -48,6 +48,7 @@ struct DehazeParams;
struct DirPyrDenoiseParams;
struct LocallabParams;
struct SharpeningParams;
struct SoftLightParams;
struct VibranceParams;
struct VignettingParams;
struct WaveletParams;
@@ -409,8 +410,7 @@ public:
// void shadowsHighlights(LabImage *lab);
void shadowsHighlights(LabImage *lab, bool ena, int labmode, int hightli, int shado, int rad, int scal, int hltonal, int shtonal);
void softLight(LabImage *lab);
void softLightloc(LabImage *lab, LabImage *dst, float blend);
void softLight(LabImage *lab, const SoftLightParams &softLightParams);
void labColorCorrectionRegions(LabImage *lab);
Image8* lab2rgb(LabImage* lab, int cx, int cy, int cw, int ch, const procparams::ColorManagementParams &icm, bool consider_histogram_settings = true);