237 Commits

Author SHA1 Message Date
Desmis
e98288ab31 Wavelet levels - enable Toning in some cases 2021-03-30 16:49:25 +02:00
Desmis
c0e67b64c8 Fixed crash wavelet edge sharpness in some cases 2021-03-18 09:40:34 +01:00
Ingo Weyrich
045bc1cd9a Cleanup and removed stopwatch, #6143 2021-02-28 14:16:20 +01:00
Ingo Weyrich
1f9a8b69a2 Clarify expression by adding parentheses, #6143 2021-02-28 11:14:56 +01:00
Ingo Weyrich
966cbfe276 speedup for a loop in wavelet code , #6143 2021-02-28 10:40:59 +01:00
Ingo Weyrich
7a4ad241a2
Merge pull request #6138 from Beep6581/issue_6137
Speedup for wavelets/final touchup/local contrast
2021-02-27 17:18:52 +01:00
Ingo Weyrich
84d463fbb9 Segfault in wavelet/denoise, fixes #6140 2021-02-26 17:18:45 +01:00
Ingo Weyrich
4f880b346a add a cppcheck-suppress 2021-02-26 14:19:52 +01:00
Ingo Weyrich
fb72b6c626 Keep original code, Optimizer will catch that 2021-02-26 13:47:08 +01:00
Ingo Weyrich
d3c536b0d8 Fix clang build 2021-02-26 13:01:02 +01:00
Ingo Weyrich
d7327e8b05 left original code in comments 2021-02-26 12:41:23 +01:00
Ingo Weyrich
10e0ab4eaa Speedup final touchup local contrast 2021-02-25 23:10:37 +01:00
Ingo Weyrich
9ba266c21f added some stopwatches 2021-02-25 22:44:50 +01:00
Ingo Weyrich
f727477710
Make some more files cppcheck clean (#6133)
* Make some more files cppcheck clean

* revert change of dcrop.cc from last commit

* Replace calculation: y = pow(x, 1/ (2.f * 2.f)) by y = sqrt(sqrt(x))

* Revert "Replace calculation: y = pow(x, 1/ (2.f * 2.f)) by y = sqrt(sqrt(x))"

This reverts commit d639c67249f1723fa9f9e55e0442afcb862eba91.
2021-02-24 22:39:23 +01:00
Desmis
79545293d6 Review ipwavelet denoise enable 2020-11-30 08:44:15 +01:00
Desmis
784be4a5e8 Suppress warning 2020-10-27 10:57:15 +01:00
Desmis
85bd064454 Fixed enable denoise wavelet level - enable denoise chroma 2020-10-27 09:55:04 +01:00
Desmis
344735bb8b Change call edge to Ftblockdn 2020-10-12 11:13:32 +02:00
Desmis
8e9e397130 Fixed crash by changing level with preview size 2020-10-12 08:35:09 +02:00
Desmis
0511458502 Fixed crash when preview too small for denoise 2020-10-11 18:38:01 +02:00
Desmis
17940b3103 Two others crash fixed in wavelet when enable with none 2020-10-11 16:12:24 +02:00
Desmis
8e92c13b28 Fixed crash issue 5945 2020-10-11 12:41:19 +02:00
Desmis
5fd640f977
Change GUI to disable denoise if level sup to 7 (#5942) 2020-10-09 16:53:03 +02:00
Desmis
075011cc78
Fixed bad behavior structure mask - suppress warning BENCHFUN ipwavelet (#5920)
* Change tooltip settings

* Change colo and light tooltip

* Change mask color and light tooltip

* Others change to tooltip mask

* Another change to tooltip color and light

* Change all mask in locallabtolls.cc

* Change all masks in locallabtools2.cc

* Change tooltip shape detection

* Fixed bad behavior structure mask

* Suppress BENCHFUN in ipwavelet.cc
2020-09-28 18:11:45 +02:00
Desmis
bc3cd93e70 Added directional contrast to final touchup alone 2020-09-25 17:59:32 +02:00
Desmis
e3568e86d4 Add Final touchup to enable wavelet decomposition 2020-09-25 17:30:42 +02:00
Desmis
c65a27ce19 Wavelet levels - Fixed crash in rare cases in flat areas 2020-09-02 18:21:02 +02:00
Desmis
467bac3dea
Wavelet levels: denoise and guided filter with hue curve and local contrast (#5894)
* First wavelet denoise

* Gui for wavel denoise

* First version local contrast and denoise

* Second version local contrast and denoise

* second version GUI equalizer

* enable equalizer local contrast denoise 1234

* change local contrast curve defaut

* disable local contrast when curve 1

* denmethod in advanced - standard

* Simulate slider denoise with curve

* Some various chnages

* Chnage reference local contrast

* GUI part reference local contrast

* Enable reference noise mix denoise for local contrast denoise

* Improvment to reference local contrast denoise

* Display comment in console

* Best format string in console

* Change agressive denoise limit to 50 - added tooltip

* Added method quality denoise - change madL in ftblockdn

* Change equalizer 1234 settings - added high level local contrast

* added high levels local contrast curve

* Fixed sigma local contrast

* clean format code

* Some improvments

* normalize level slider high level threshold

* change ordonate curve high level contrast

* Fixed bad level for curve high levels - simplify GUI standard

* several changes - guidefilter final - new double slider threshold

* save provisory work

* save GUI work GF threshold

* save provisory work

* Fixed some bad behavior GUI

* save GUI Hue GF

* Curve Hue for GF

* OMP for hue GF

* addes noisevarhue and fixed some bug

* save GUI equalizer hue

* enable equalizer hue

* Fixed bad behavior GUI in advanced mode

* change some default values

* Others change default values

* Change in progressivity slider threshold local contrast

* simplifie algorithm and GUI

* Added tooltip and chnage some labels

* Change labels and tooltip wavelet denoise

* added level 5 denoise

* Change typo in label guided theshold

* Various changes labels tooltip

* Change minimum wavelet level

* Added level 5 to denoise

* Change slider sigm for a double slider sigm03 sigm45

* small delay for double slider sigm

* Fixed wrong values sigm

* Hide level56 in standard complexity

* Improve in standard complexity

* Various improvment levels 14

* interaction 56 14 - advanced complexity
2020-08-30 08:16:31 +02:00
Desmis
130fbb8eb2
Local complexity - Add 'Basic' to 'Standard'(Normal) and 'Advanced'(Expert) (#5858)
* Mode simple to color and light

* Exposure complex

* Vibrance and SH complex

* Soft and Blur complex

* Common mask complex

* Sharp Retinex complex

* Localcontrast complex

* Change label tooltip complex

* Change labels and tooltip

* Change tooltip french

* Change default value scope TM

* Some forgotten hide..with basic in inverse mode

* Another hide in basic and inverse

* Change some type in labels

* Change typo contrast

* Refine some labels tootips

* Change after review Ingo - thanks

* Improve history behaviour when changing local adjustments complexity mode

* Added normal to original retinex - basic to dehaze

* Fixed bad behavior normal expert Color and Light

* Improve edge sharpness

* Another improvment edge sharpness

* various improvement

* locallab: speedup and reduced memory usage for wavcontrast4()

* remove file

* French labels complexity

* calckoe(): cleanup, speedup and bugfix for 3x3 gaussian kernels

* calckoe(): cleanup for 3x3 gaussian kernels

* calckoe(): fill koeli[] with zeroes if level <= 1 && tloww >= 75.f

* GUI part fixes and cleanup

* Fix in Locallab Settings panel

Additionnal minor fix in Preferences windows

* Change default mode complexity in preferences - basic

* Change complexity in option

* Improve gui when lauch first image

Co-authored-by: Ingo Weyrich <heckflosse67@gmx.de>
Co-authored-by: Pandagrapher <pierre.cab@gmail.com>
2020-08-10 13:18:21 +02:00
Desmis
e0d3353d72
Wavelet levels - choice complexity standard - advanced (#5869)
* Added in option edghi edglo limrad

* Hide choice edgesharpness slider curve

* First normal expert

* Second normal expert

* Changes in normal expert contrast chroma residual

* Change label complexity wavelet

* French + hide sigmafin standard

* Added tooltip complexty wavelet
2020-08-02 15:52:01 +02:00
Desmis
6b749bcbff
Wavecrash - fixed crash in wavelet specially when using "edge sharpening" (#5854)
* Add epsil to all log calculation

* add another epsil to log

* Another eps value in koeli calculation

* Avoid negative L values after reconstruct

* Suppress all changes except negatives values reconstruct
2020-07-20 06:40:18 +02:00
Ingo Weyrich
f03a19ebf1 Cleanup and speedup for a loop in wavelet denoise 2020-07-08 13:28:27 +02:00
Ingo Weyrich
d65e00b3df Wavelet Blur levels chroma: use LUT for pyramid, reduce memory usage, speedup 2020-07-07 13:10:16 +02:00
Ingo Weyrich
e269b38d1e Wavelet Blur levels: use LUT for pyramid, reduce memory usage, speedup 2020-07-06 15:25:04 +02:00
luz.paz
a41aa73124 Fix various typos
Found via  codespell v2.0.dev0  
```
codespell -q 3 -I ../rawtherapy-whitelist.txt -S ./rtdata/languages -L bord,hist,fo,reall,bloc,alph,dof,thre,makro,chang,currentry,portugues,vektor,ue
```
2020-06-18 14:53:04 -04:00
Ingo Weyrich
f23c2e9de0 locallab: speedup for wavcontrast4 and clarimerge 2020-06-16 15:35:42 +02:00
Ingo Weyrich
33733658be Fix a bug I introduced with last merge commit 2020-06-14 22:19:07 +02:00
Ingo Weyrich
beb8fd8f74 Merge branch 'dev' into newlocallab2 2020-06-14 22:03:26 +02:00
Ingo Weyrich
8730afc041 Merge branch 'const-wavelet-decomposition' into cleanup_59 2020-06-14 17:35:09 +02:00
Ingo Weyrich
9f00747681 Merge branch 'dev' into cleanup_59 2020-06-14 17:11:15 +02:00
Desmis
c6129a7714 merge with dev 2020-06-12 08:05:55 +02:00
Ingo Weyrich
43d5de7bac iplocallab.cc: further cleanups; also removed some debug code 2020-06-11 18:32:27 +02:00
Desmis
122d0b6d70 Change labels tooltips damper 2020-06-11 10:25:49 +02:00
Desmis
22843898a7 Improve contrast wavelet 2020-06-10 16:21:50 +02:00
Desmis
dcc9699f3a change behavior level contrast - reset slider extra 2020-06-10 08:42:34 +02:00
Desmis
32ba066dac Change parameters coarser values 2020-06-09 16:01:46 +02:00
Desmis
371add936b Improve finer and coarser levels with maxlevels 2020-06-09 13:16:34 +02:00
Desmis
ad48610dfb Improve and clean code 2020-06-09 11:00:48 +02:00
Desmis
79e797097e Test sliders 2020-06-08 20:01:12 +02:00
Ingo Weyrich
48648170e9 Some more cleanups 2020-06-02 19:46:13 +02:00