Local adjustments - issue #5974 Fixed bug in inverse Blur chrominance - bad behavior Blur and noise (#5989)

* Fixed bug in inverse Blur chrominance - and general bad behavior Blur and noise

* Improve avoid color shift

* Another improvment to avoid color shift
This commit is contained in:
Desmis
2020-11-09 20:22:07 +01:00
committed by GitHub
parent 8b33d06b6d
commit 1bd22668f2
3 changed files with 174 additions and 162 deletions

View File

@@ -238,7 +238,9 @@ public:
const LocwavCurve & loclmasCurvecolwav, bool lmasutilicolwav, int level_bl, int level_hl, int level_br, int level_hr,
int shortcu, bool delt, const float hueref, const float chromaref, const float lumaref,
float maxdE, float mindE, float maxdElim, float mindElim, float iterat, float limscope, int scope, bool fftt, float blu_ma, float cont_ma, int indic);
void avoidcolshi(struct local_params& lp, int sp, LabImage * original, LabImage *transformed, int cy, int cx);
void deltaEforMask(float **rdE, int bfw, int bfh, LabImage* bufcolorig, const float hueref, const float chromaref, const float lumaref,
float maxdE, float mindE, float maxdElim, float mindElim, float iterat, float limscope, int scope, float balance, float balanceh);
void discrete_laplacian_threshold(float * data_out, const float * data_in, size_t nx, size_t ny, float t);