Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newlocallab2 : Local adjustments - Improve GUI and fixed some bugs #5755

Merged
merged 1,582 commits into from
Jun 17, 2020
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
1582 commits
Select commit Hold shift + click to select a range
b0bba78
Added edge performance daubechies wavelet in settings
Desmis Feb 1, 2020
22e99e0
Improve preview dE denoise
Desmis Feb 1, 2020
dccc4bd
Chnage tooltip - suppress warning
Desmis Feb 1, 2020
5909026
Improve preview modification for blur
Desmis Feb 2, 2020
bca77e4
Added Daub20 disabled
Desmis Feb 2, 2020
04a979f
merge with dev
Desmis Feb 3, 2020
3ad362c
Change checkbox by combobox for luma-chroma in Smooth Blur - chnage n…
Desmis Feb 3, 2020
75d9573
Improvment to Smooth Blur
Desmis Feb 3, 2020
f7aa9a4
Improvment to smooth blur
Desmis Feb 4, 2020
113d178
Change to guide range
Desmis Feb 4, 2020
d563b06
merge with dev
Desmis Feb 6, 2020
3a2d810
Chnage some labels and tooltip
Desmis Feb 6, 2020
f1eda66
Another change tooltip
Desmis Feb 6, 2020
a76298b
merge with dev
Desmis Feb 6, 2020
ff8c074
Change max blur chroma level pyramid
Desmis Feb 6, 2020
c984a95
Merge branch 'dev' into newlocallab
heckflosse Feb 7, 2020
b74d315
Merge branch 'dev' into newlocallab
heckflosse Feb 7, 2020
8356fd4
Merge branch 'dev' into newlocallab
heckflosse Feb 7, 2020
54fdc84
Merge branch 'dev' into newlocallab
heckflosse Feb 8, 2020
209eccb
Add improved copy/paste or save/load for Locallab spots
Pandagrapher Feb 20, 2020
e573de7
merge with dev
Desmis Mar 19, 2020
b1af4b8
Format rawimagesource
Desmis Mar 20, 2020
c405eab
merge with dev
Desmis Mar 24, 2020
821abcc
merge with dev
Desmis Mar 25, 2020
c062d65
merge with dev
Desmis Mar 29, 2020
428bd61
merge with dev
Desmis Mar 31, 2020
fb23a3c
Merge with dev
Desmis Apr 4, 2020
753cf61
merge with dev
Desmis Apr 5, 2020
1df6bfc
merge with dev
Desmis Apr 8, 2020
10ed56e
merge with dev
Desmis Apr 13, 2020
4ea4663
Merge with 'dev/newlocallab'...
Pandagrapher Apr 16, 2020
78ce750
Fix error in 'updateExposureGUI3' function
Pandagrapher Apr 16, 2020
9013700
Fixes several issues in Locallab GUI
Pandagrapher Apr 17, 2020
9d468bc
Avoid a case where no spot is selected using Ctrl+click on treeview
Pandagrapher Apr 17, 2020
f0e78b2
merge with dev
Desmis Apr 18, 2020
2b8ee07
chnage ppversion
Desmis Apr 18, 2020
8e53487
Fix issue where clipboard RT-spots weren't paste with fill mode active
Pandagrapher Apr 18, 2020
99b4a05
Fixes several cases where mask visibility wasn't resetted
Pandagrapher Apr 18, 2020
dd4eb44
Merge Locallab tool "Denoise" into Locallab tool "Blur & Noise"
Pandagrapher Apr 19, 2020
7197d2c
Defines default visibility of Locallab tool expanders
Pandagrapher Apr 20, 2020
cca6b09
Merge remote-tracking branch 'dev/newlocallab' into newlocallab
Pandagrapher Apr 20, 2020
a126a72
Fix issues in Locallab Exposure GUI according to Complexity mode
Pandagrapher Apr 20, 2020
eec3bdc
Change denoise parameters wavelet and DCT
Desmis Apr 20, 2020
bef184a
GUI part - adde sigma to Wavelet Range Compression
Desmis Apr 20, 2020
266b219
Added Damper to dynamic compression wavelet
Desmis Apr 21, 2020
f2d867b
Added slider sigmabl - disactivated blurcbdl
Desmis Apr 21, 2020
4af3ffa
Added damper to wavelet level blur
Desmis Apr 21, 2020
07e6d07
Added GUI sigmaed to edge sharpness wavelet
Desmis Apr 21, 2020
bc760b8
Added damper to edge sharpness wavelet
Desmis Apr 21, 2020
de04f63
Harmonize show frame - box in wavelet
Desmis Apr 21, 2020
2c7adc1
Updates in RT-spot panel GUI
Pandagrapher Apr 22, 2020
c974799
Chnage some labels
Desmis Apr 23, 2020
192c9b1
Update storage method in .pp3 files for RT-spot points
Pandagrapher Apr 23, 2020
a368b54
Improvement of Exposure locallab tool according to complexity mode
Pandagrapher Apr 23, 2020
de2f66a
Fix issue where selected spot was not saved correctly right after
Pandagrapher Apr 23, 2020
32f66da
Locallab tools code cleanup and format
Pandagrapher Apr 23, 2020
5d66b89
merge with dev
Desmis Apr 24, 2020
50ad85b
Merge remote-tracking branch 'dev/newlocallab' into newlocallab
Pandagrapher Apr 24, 2020
ae04854
Merge pull request #5727 from Pandagrapher/newlocallab
Desmis Apr 24, 2020
53f98d5
Change formating in procparams.cc
Desmis Apr 24, 2020
02e24bb
Fixed - I hope - warning in ipretinex iplocallab
Desmis Apr 24, 2020
da10ea2
Fixed another waring newhr in iplocallab
Desmis Apr 24, 2020
a111c71
Fixes warnings in Locallab GUI during clang10 compilation
Pandagrapher Apr 24, 2020
101d226
Fixes another warnings in Locallab GUI during clang10 compilation
Pandagrapher Apr 24, 2020
cc8bb73
Merge pull request #5731 from Pandagrapher/newlocallab
Desmis Apr 24, 2020
40678e7
Try to fix warning in labimage advice benitoite
Desmis Apr 25, 2020
4fc3278
Fix labimage warning
Floessie Apr 25, 2020
48ea474
Restore `procparams.cc` formatting
Floessie Apr 25, 2020
70eeedd
Fix newly introduced SEGV in `ProcParams::save()`
Floessie Apr 26, 2020
1ca10eb
Save GUI for local wavelet residual shadows Highlight
Desmis Apr 26, 2020
2673504
Added shadows highlight to residual image wavelet pyramid
Desmis Apr 26, 2020
0189cc0
Added directional contrast to wavelet pyramid
Desmis Apr 27, 2020
083ff5a
Improve GUI directional contrast
Desmis Apr 27, 2020
2833a31
Change tooltip merge file with brush
Desmis Apr 27, 2020
3dd21f5
merge with dev
Desmis Apr 28, 2020
9048380
Improve soft radius wavelet pyramid
Desmis Apr 28, 2020
dd070db
Added Damper to wavelet local contrast and gradient
Desmis Apr 29, 2020
b1c43b3
Enable Help Local adjustment with Rawpedia fr
Desmis Apr 30, 2020
62fe43f
Fixed bad behavior slider strength in Soft Light
Desmis Apr 30, 2020
0196b31
Change some default sliders settings wavelet
Desmis May 1, 2020
778e9af
Added checkbutton in settings forced change in BW
Desmis May 2, 2020
2d517d6
Added tooltip checkbox bw
Desmis May 2, 2020
d0d79c7
Improve complexity mode management for Locallab tools
Pandagrapher May 3, 2020
bdb8a95
Use default complexity mode defined in preferences when adding tool
Pandagrapher May 4, 2020
65c008a
Merge with branch 'dev/newlocallab'...
Pandagrapher May 5, 2020
aa41870
Various changes in Locallab GUI
Pandagrapher May 6, 2020
bb95dd7
Improves Locallab tools advice tooltips management
Pandagrapher May 8, 2020
fb3d2e4
Various improvments to labels and default choice
Desmis May 8, 2020
2cfa6d6
Merge pull request #5743 from Pandagrapher/newlocallab
Desmis May 8, 2020
ae9aa99
Bugfixes for Locallab GUI
Pandagrapher May 8, 2020
ecda62d
Merge remote-tracking branch 'dev/newlocallab' into newlocallab
Pandagrapher May 8, 2020
ba48130
Merge pull request #5744 from Pandagrapher/newlocallab
Desmis May 8, 2020
b1314dc
merge with dev
Desmis May 8, 2020
8bffa1e
Bad behavior equalizer blue red denoise
Desmis May 8, 2020
a6b2944
Change labels and tooltip
Desmis May 9, 2020
cff409b
Denoise - Fixed bug madL size and change limit bishrink
Desmis May 10, 2020
e6252e1
merge with dev
Desmis May 10, 2020
fd8f260
Change labels - spelling
Desmis May 11, 2020
df2ffe4
re enable tone equalizer and chnage tooltip order Shape detection
Desmis May 11, 2020
325c385
suppress unused complexsoft in iplocallab
Desmis May 11, 2020
9204fc3
Fixes issue when deleting locallab tool with mask preview active
Pandagrapher May 12, 2020
276dd89
Save GUI part for deltaE preview in Locallab settings panel
Pandagrapher May 12, 2020
fb4f646
Use previewDeltaE information to show deltaE
Desmis May 12, 2020
38dbb1b
Add PrevdeltaE to sharpening
Desmis May 12, 2020
bd3037a
Some minor fixes in Locallab GUI
Pandagrapher May 12, 2020
ceeea73
Merge pull request #5750 from Pandagrapher/newlocallab
Desmis May 12, 2020
b73e9f1
merge with dev
Desmis May 12, 2020
a806d00
Merge with dev
Desmis May 13, 2020
7fb0dac
merge with dev
Desmis May 13, 2020
24bad48
Change tooltip
Desmis May 13, 2020
56e145f
Change expcomp visibility and fixed bug issue 5752
Desmis May 14, 2020
af0b286
Suppress message in improccoordinator.cc
Desmis May 14, 2020
9ece3ba
Hide button reset show modifications
Desmis May 14, 2020
59dca9f
Change behvior slider expcomp
Desmis May 15, 2020
4c9ee2b
merge with dev
Desmis May 15, 2020
98e2e96
Change sensitivity slider lightness Color and light
Desmis May 15, 2020
e2c562d
Fixed Gtk critical in GUI excomp thanks to Pandagrapher
Desmis May 16, 2020
cdd933a
iplocallab.cc : code review part one
heckflosse May 16, 2020
b9161bd
Cppcheck GUI
Desmis May 17, 2020
07dbe64
iplocallab.cc : code review part two, mainly speedups, review still n…
heckflosse May 17, 2020
6b204d9
Merge branch 'newlocallab2' of https://github.com/Beep6581/RawTherape…
heckflosse May 17, 2020
7e1cb68
Fixed crash Color and light expert mak wavelet - disable mask blur
Desmis May 18, 2020
0577bb6
merge with dev
Desmis May 18, 2020
e06d197
Suppress warning in iplocallab
Desmis May 18, 2020
c5127b3
Small chnage in iplocallab to show modifications with original retinex
Desmis May 18, 2020
73a4676
Change some tooltips
Desmis May 20, 2020
61ce016
Merge branch 'dev' into newlocallab2
heckflosse May 20, 2020
3a4fa13
Add tooltip inverse
Desmis May 20, 2020
0dd9b42
Merge branch 'newlocallab2' of https://github.com/Beep6581/RawTherape…
heckflosse May 20, 2020
a804f34
Others chnage to tooltips ang GUI hide some functions
Desmis May 21, 2020
849c345
Anothers small changes to tooltips Label
Desmis May 21, 2020
3f10eca
iplocallab.cc : code review part three, mainly speedups, review still…
heckflosse May 21, 2020
50dfcdf
Merge branch 'newlocallab2' of https://github.com/Beep6581/RawTherape…
heckflosse May 21, 2020
665e7c6
Change label Feather gradient
Desmis May 21, 2020
9695450
various changes to gui labels and tooltips
Desmis May 22, 2020
1ec53ae
iplocallab.cc : code review part four, mainly speedups, review still …
heckflosse May 22, 2020
9b811c2
Replace scope color exposure SH vibrance by Scope color tools in sett…
Desmis May 22, 2020
0ed18da
Change tooltip color preview deltaE
Desmis May 23, 2020
de61755
Add tooltip E Log
Desmis May 23, 2020
bb28eb0
iplocallab.cc : code review part five, speedups, bugfixes and cleanup…
heckflosse May 23, 2020
3cac370
Merge branch 'newlocallab2' of https://github.com/Beep6581/RawTherape…
heckflosse May 23, 2020
9f2f841
Iprove GUI encoding log to allow tooltip
Desmis May 24, 2020
3f18abf
Tooltip for Encoding log
Desmis May 24, 2020
d384ede
Added tootip to original retinex
Desmis May 24, 2020
7583cdf
Add tooltip to exposure Ipol pde
Desmis May 24, 2020
ca3a895
Added tooltip to merge file - color and light expert
Desmis May 24, 2020
33c583a
Enable scope exposure when selection PDE or Fatal
Desmis May 24, 2020
1249103
Various small chnages to GUI and tooltips color and light - exposure
Desmis May 25, 2020
b95f13d
Change and harmonize scope(s) default values
Desmis May 25, 2020
40b2227
Added tooltip wavelet pyramid
Desmis May 25, 2020
0abab0e
Another addition wavelet pyramid tooltip
Desmis May 25, 2020
f63b7ba
Added tooltip to equalizer and TRC
Desmis May 26, 2020
c05de65
Added tooltip for mask
Desmis May 26, 2020
4dfbda0
Reenable preview deltaE in mask and modifications
Desmis May 27, 2020
a2c6715
Remove compilation warnings in Locallab GUI
Pandagrapher May 27, 2020
96891cf
Activate Locallab tools by default for newly added ones
Pandagrapher May 27, 2020
3b5295f
Update Locallab preview deltaE GUI
Pandagrapher May 27, 2020
c803a83
Merge pull request #5776 from Pandagrapher/newlocallab2
Desmis May 27, 2020
822053f
Added Tooltip to controlspotpanel.cc
Desmis May 28, 2020
c33835a
Fix non-SSE2 build
Floessie May 28, 2020
cac83d3
Improvment to tooltips
Desmis May 28, 2020
2549865
Merge branch 'dev' into newlocallab2
heckflosse May 30, 2020
c4c9737
iplocallab.cc : code review part six, speedups and cleanups, review s…
heckflosse May 30, 2020
befe19c
Activate forgotten tooltip
Desmis May 30, 2020
9233320
ImProcFunctions::softproc() : Cleanup, speedup, and reduced memory usage
heckflosse May 30, 2020
6e0ad0a
Merge branch 'newlocallab2' of https://github.com/Beep6581/RawTherape…
heckflosse May 30, 2020
c13dc68
Harmonize GUI softradius
Desmis May 30, 2020
0f4a8dc
iplocallab.cc: fix some issues found by cppcheck 2.0
heckflosse May 30, 2020
0130173
Merge branch 'newlocallab2' of https://github.com/Beep6581/RawTherape…
heckflosse May 30, 2020
b73905c
Change setLogScale values for softradius
Desmis May 31, 2020
0c1179a
iplocallab.cc : code review part seven, cleanups, review still not co…
heckflosse May 31, 2020
af4d458
Change some defaults settings - add tooltip Laplacian mask - chnage t…
Desmis Jun 1, 2020
0e24f81
Others changes to mask tooltip
Desmis Jun 1, 2020
2f67d59
iplocallab.cc: fix all cppcheck scope issues
heckflosse Jun 1, 2020
8b424fb
Merge branch 'newlocallab2' of https://github.com/Beep6581/RawTherape…
heckflosse Jun 1, 2020
404f2dd
Others Tooltip for mask
Desmis Jun 1, 2020
bdef177
Merge branch 'dev' into newlocallab2
heckflosse Jun 1, 2020
f6714b2
iplocallab.cc: further cleanups
heckflosse Jun 1, 2020
2b4fcfe
Reenable preview deltaE sharp
Desmis Jun 2, 2020
e19dad8
Fixed bug mask when merge = 0
Desmis Jun 2, 2020
a577679
Adde tooltip rgb curve special
Desmis Jun 2, 2020
53848f7
Change some labels
Desmis Jun 2, 2020
456b391
Fixed bug in tone mapping equalizer
Desmis Jun 2, 2020
f799900
Suppress unused code
Desmis Jun 2, 2020
9c3039b
Merge branch 'newlocallab2' of https://github.com/Beep6581/RawTherape…
heckflosse Jun 2, 2020
4f3d2ac
newlocallab2: further cleanups
heckflosse Jun 3, 2020
c1fa8a8
Fixed bug in procparams blurcol
Desmis Jun 3, 2020
17f981e
Fixes bug with 'blurcol' and 'lcradius' when FFT is active
Pandagrapher Jun 3, 2020
2bdadc3
iplocallab.cc: further cleanups
heckflosse Jun 3, 2020
0fe30f3
Merge branch 'newlocallab2' of https://github.com/Beep6581/RawTherape…
heckflosse Jun 3, 2020
bebaa77
Added tooltip avoid color shift
Desmis Jun 4, 2020
c3f38f2
Added tooltip to normalize luminance TM retinex
Desmis Jun 4, 2020
25d8330
Chnage too long labels Retinex Exposure
Desmis Jun 4, 2020
1ef4b8b
Others labels too long
Desmis Jun 4, 2020
9a2a9a3
Hide TRC in SH mode
Desmis Jun 5, 2020
3e0b2be
Reenable chroma compensation Exposure
Desmis Jun 5, 2020
8a8fba5
Change sharp behavior
Desmis Jun 5, 2020
4ae6e01
Change behavior exposure PDE Ipol
Desmis Jun 5, 2020
7868cc1
Improvments to sharp
Desmis Jun 5, 2020
3e9ba6e
Fixed bad behavior Exposure PDE Ipol
Desmis Jun 5, 2020
136e2b8
exlabLocal: speedup and bugfix(race condition)
heckflosse Jun 6, 2020
7bdf06b
iplocallab.cc: further cleanup
heckflosse Jun 6, 2020
188f778
Merge branch 'dev' into newlocallab2
heckflosse Jun 6, 2020
b3aad8c
Fixed bug in merge file Previous Spot
Desmis Jun 7, 2020
ee50635
Change hard light overlay mode - thanks to Ingo
Desmis Jun 7, 2020
05786c5
Add forgotten a= in overlay
Desmis Jun 7, 2020
675e6aa
iplocallab.cc: further cleanups
heckflosse Jun 7, 2020
01c59f3
Fixed crash in output softlight illusion
Desmis Jun 7, 2020
683761c
iplocallab.cc: further cleanups
heckflosse Jun 7, 2020
92d8e99
iplocallab.cc: further cleanups
heckflosse Jun 7, 2020
e9218c3
iplocallab.cc: further cleanups
heckflosse Jun 7, 2020
15ddc2d
Change tooltip Fattal
Desmis Jun 8, 2020
79549dc
iplocallab.cc: further cleanups
heckflosse Jun 8, 2020
ab54873
Small changes to typo Tooltip
Desmis Jun 8, 2020
1a0da3f
Change label denoise equalizer red blue
Desmis Jun 9, 2020
c2e5b47
iplocallab.cc: further cleanups
heckflosse Jun 9, 2020
15230f3
Merge branch 'newlocallab2' of https://github.com/Beep6581/RawTherape…
heckflosse Jun 9, 2020
da954d9
iplocallab.cc: further cleanups
heckflosse Jun 10, 2020
ccb1726
iplocallab.cc: further cleanups
heckflosse Jun 10, 2020
67bbba5
Fix segfault I introduced 2 commits ago
heckflosse Jun 11, 2020
933fee8
iplocallab.cc: further cleanups
heckflosse Jun 11, 2020
30b90ae
Disabled Retinex enable by default
Desmis Jun 11, 2020
43d5de7
iplocallab.cc: further cleanups; also removed some debug code
heckflosse Jun 11, 2020
d44332b
Merge branch 'newlocallab2' of https://github.com/Beep6581/RawTherape…
heckflosse Jun 11, 2020
8224c4f
Change default settings retinex
Desmis Jun 12, 2020
c6129a7
merge with dev
Desmis Jun 12, 2020
c618a50
Added tooltip to retinex (without text)
Desmis Jun 12, 2020
b4c674c
Added text to tooltip retinex
Desmis Jun 12, 2020
14c593e
Merge branch 'dev' into newlocallab2
heckflosse Jun 12, 2020
5a77595
Merge branch 'dev' into newlocallab2
heckflosse Jun 12, 2020
6729a1f
Small change to retinex tooltip
Desmis Jun 12, 2020
486cf75
iplocallab.cc: further cleanups
heckflosse Jun 12, 2020
e0cefec
iplocallab.cc: further cleanups
heckflosse Jun 12, 2020
f040327
Merge branch 'dev' into newlocallab2
heckflosse Jun 12, 2020
7bf5967
iplocallab.cc: SobelCannyLuma(): removed omp because at the small pro…
heckflosse Jun 12, 2020
8ae82da
moved SobelCannyLuma() to anonymous namespace
heckflosse Jun 12, 2020
52464c3
Simplify GUI structure spot
Desmis Jun 13, 2020
6b05400
Added tooltip to tone mapping
Desmis Jun 13, 2020
8cfb3d6
Added tootip CBDL
Desmis Jun 13, 2020
a439908
Update AUTHORS.txt
Pandagrapher Jun 13, 2020
92bb05f
Fix in last commit in AUTHORS.txt
Pandagrapher Jun 13, 2020
d0e4437
Change some tooltips
Desmis Jun 14, 2020
beb8fd8
Merge branch 'dev' into newlocallab2
heckflosse Jun 14, 2020
3373365
Fix a bug I introduced with last merge commit
heckflosse Jun 14, 2020
ec05f4b
Same change TM for local and ciecam
Desmis Jun 15, 2020
dd1798f
Fix non-SSE build
Floessie Jun 16, 2020
f23c2e9
locallab: speedup for wavcontrast4 and clarimerge
heckflosse Jun 16, 2020
3df226a
Merge branch 'dev' into newlocallab2
heckflosse Jun 16, 2020
9e61a36
Added mask for denoise and blur
Desmis Jun 16, 2020
4345010
Suppress choice preview dE for blur denoise
Desmis Jun 16, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified rtdata/dcpprofiles/NIKON D50.dcp
Binary file not shown.
1,034 changes: 1,009 additions & 25 deletions rtdata/languages/default

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion rtdata/themes/RawTherapee-GTK3-20_.css
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,7 @@ flowboxchild:selected {
background-color: #363636;
}

#LocallabToolPanel frame,
#ExpanderBox frame,
#ExpanderBox2 frame,
#ExpanderBox3 frame {
Expand All @@ -761,18 +762,22 @@ flowboxchild:selected {
padding: 0.25em;
}

#LocallabToolPanel frame > label, #LocallabToolPanel frame frame > label,
#ExpanderBox frame > label, #ExpanderBox frame frame > label,
#ExpanderBox2 frame > label, #ExpanderBox2 frame frame > label,
#ExpanderBox3 frame > label, #ExpanderBox3 frame frame > label {
margin-left: 7pt;
margin-top: 0;
}

#LocallabToolPanel frame > box, #LocallabToolPanel frame frame > box, #LocallabToolPanel frame > grid, #LocallabToolPanel frame frame > grid,
#ExpanderBox frame > box, #ExpanderBox frame frame > box, #ExpanderBox frame > grid, #ExpanderBox frame frame > grid,
#ExpanderBox2 frame > box, #ExpanderBox2 frame frame > box, #ExpanderBox2 frame > grid, #ExpanderBox2 frame frame > grid,
#ExpanderBox3 frame > box, #ExpanderBox3 frame frame > box, #ExpanderBox3 frame > grid, #ExpanderBox3 frame frame > grid {
margin: 0.1666666666666666em;
}

#LocallabToolPanel > box > checkbutton, #LocallabToolPanel > box > box, #LocallabToolPanel > grid > checkbutton, #LocallabToolPanel > box > grid, #LocallabToolPanel > grid > grid, #LocallabToolPanel frame > box > grid, #LocallabToolPanel frame > grid > grid, #LocallabToolPanel frame > grid > box,
#ExpanderBox > box > checkbutton, #ExpanderBox > box > box, #ExpanderBox > grid > checkbutton, #ExpanderBox > box > grid, #ExpanderBox > grid > grid, #ExpanderBox frame > box > grid, #ExpanderBox frame > grid > grid, #ExpanderBox frame > grid > box,
#ExpanderBox2 > box > checkbutton, #ExpanderBox2 > box > box, #ExpanderBox2 > grid > checkbutton, #ExpanderBox2 > box > grid, #ExpanderBox2 > grid > grid, #ExpanderBox2 frame > box > grid, #ExpanderBox2 frame > grid > grid, #ExpanderBox2 frame > grid > box,
#ExpanderBox3 > box > checkbutton, #ExpanderBox3 > box > box, #ExpanderBox3 > grid > checkbutton, #ExpanderBox3 > box > grid, #ExpanderBox3 > grid > grid, #ExpanderBox3 frame > box > grid, #ExpanderBox3 frame > grid > grid, #ExpanderBox3 frame > grid > box {
Expand All @@ -796,6 +801,7 @@ flowboxchild:selected {
}

/* Sub-tool (MyExpander) background */
#LocallabToolPanel > box, #LocallabToolPanel > grid,
#ExpanderBox2 > box, #ExpanderBox2 > grid {
background-color: #3B3B3B;
border: 0.0833333333333333em solid #2A2A2A;
Expand All @@ -804,10 +810,12 @@ flowboxchild:selected {
padding: 0.25em;
}

#LocallabToolPanel drawingarea,
#ExpanderBox2 drawingarea {
background-color: #3B3B3B;
}

#LocallabToolPanel frame > border,
#ExpanderBox2 frame > border {
background-color: #414141;
border: 0.0833333333333333em solid #373737;
Expand All @@ -816,10 +824,12 @@ flowboxchild:selected {
padding: 0.25em;
}

#LocallabToolPanel frame drawingarea,
#ExpanderBox2 frame drawingarea {
background-color: #414141;
}

#LocallabToolPanel frame frame > border,
#ExpanderBox2 frame frame > border {
background-color: #474747;
border: 0.0833333333333333em solid #3D3D3D;
Expand All @@ -828,6 +838,7 @@ flowboxchild:selected {
padding: 0.25em;
}

#LocallabToolPanel frame frame drawingarea,
#ExpanderBox2 frame frame drawingarea {
background-color: #474747;
}
Expand All @@ -854,7 +865,7 @@ flowboxchild:selected {
color: #D8D8D8;
}

#ExpanderBox2 separator, #ExpanderBox3 separator {
#LocallabToolPanel separator, #ExpanderBox2 separator, #ExpanderBox3 separator {
color: #292929;
}

Expand Down
2 changes: 2 additions & 0 deletions rtengine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ set(RTENGINESOURCEFILES
impulse_denoise.cc
init.cc
ipdehaze.cc
ipgrain.cc
iplab2rgb.cc
iplocallab.cc
iplabregions.cc
iplocalcontrast.cc
ipresize.cc
Expand Down
2 changes: 1 addition & 1 deletion rtengine/EdgePreservingDecomposition.cc
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ void EdgePreservingDecomposition::CompressDynamicRange(float *Source, float Scal
float temp;

if(DetailBoost > 0.f) {
float betemp = expf(-(2.f - DetailBoost + 0.694f)) - 1.f; //0.694 = log(2)
float betemp = expf(-(2.f - DetailBoost + 0.693147f)) - 1.f; //0.694 = log(2)
temp = 1.2f * xlogf( -betemp);
} else {
temp = CompressionExponent - 1.0f;
Expand Down
35 changes: 35 additions & 0 deletions rtengine/color.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ LUTf Color::igammatab_srgb;
LUTf Color::igammatab_srgb1;
LUTf Color::gammatab_srgb;
LUTf Color::gammatab_srgb1;
LUTf Color::gammatab_srgb327;
LUTf Color::gammatab_bt709;
LUTf Color::igammatab_bt709;

LUTf Color::denoiseGammaTab;
LUTf Color::denoiseIGammaTab;
Expand Down Expand Up @@ -130,9 +133,12 @@ void Color::init ()
gammatabThumb(maxindex, 0);

igammatab_srgb(maxindex, 0);
igammatab_bt709(maxindex, 0);
igammatab_srgb1(maxindex, 0);
gammatab_srgb(maxindex, 0);
gammatab_bt709(maxindex, 0);
gammatab_srgb1(maxindex, 0);
gammatab_srgb327(32768, 0);

denoiseGammaTab(maxindex, 0);
denoiseIGammaTab(maxindex, 0);
Expand Down Expand Up @@ -197,6 +203,18 @@ void Color::init ()
}
#ifdef _OPENMP
#pragma omp section
#endif
{
for (int i = 0; i < 32768; i++)
{
gammatab_srgb327[i] = gamma2(i / 32767.0);
}

gammatab_srgb327 *= 32767.f;
// gamma2curve.share(gammatab_srgb, LUT_CLIP_BELOW | LUT_CLIP_ABOVE); // shares the buffer with gammatab_srgb but has different clip flags
}
#ifdef _OPENMP
#pragma omp section
#endif
{
for (int i = 0; i < maxindex; i++)
Expand All @@ -206,6 +224,7 @@ void Color::init ()

igammatab_srgb *= 65535.f;
}

#ifdef _OPENMP
#pragma omp section
#endif
Expand Down Expand Up @@ -282,6 +301,22 @@ void Color::init ()
break;
}

#ifdef _OPENMP
#pragma omp section
#endif

for (int i = 0; i < maxindex; i++) {
gammatab_bt709[i] = 65535.0 * gamma709(i / 65535.0);
}

#ifdef _OPENMP
#pragma omp section
#endif

for (int i = 0; i < maxindex; i++) {
igammatab_bt709[i] = 65535.0 * igamma709(i / 65535.0);
}

#ifdef _OPENMP
#pragma omp section
#endif
Expand Down
62 changes: 59 additions & 3 deletions rtengine/color.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,15 @@ class Color
static LUTf igammatab_srgb;
static LUTf igammatab_srgb1;
static LUTf gammatab_srgb;
static LUTf gammatab_srgb327;
static LUTf gammatab_srgb1;
static LUTf gammatab_bt709;

static LUTf denoiseGammaTab;
static LUTf denoiseIGammaTab;

static LUTf igammatab_24_17;
static LUTf igammatab_bt709;
static LUTf gammatab_24_17a;
static LUTf gammatab_13_2;
static LUTf igammatab_13_2;
Expand Down Expand Up @@ -1150,23 +1153,25 @@ class Color
}


/*
/*
* @brief Get the gamma value for Gamma=2.2 Slope=4.5
* @param x red, green or blue channel's value [0 ; 1]
* @return the gamma modified's value [0 ; 1]
*
*/
static inline double gamma709 (double x) {
return x <= 0.0176 ? x*4.5 : 1.0954*exp(log(x)/2.2)-0.0954;
}

/*
* @brief Get the inverse gamma value for Gamma=2.2 Slope=4.5
* @param x red, green or blue channel's value [0 ; 1]
* @return the inverse gamma modified's value [0 ; 1]
*
*/
static inline double igamma709 (double x) {
return x <= 0.0795 ? x/4.5 : exp(log((x+0.0954)/1.0954)*2.2);
}
*/




Expand Down Expand Up @@ -1494,6 +1499,57 @@ class Color
static void skinredfloat ( float J, float h, float sres, float Sp, float dred, float protect_red, int sk, float rstprotection, float ko, float &s);
// static void scaleredcdbl ( float skinprot, float param, float limit, float HH, float deltaHH, float &scale,float &scaleext);

static inline void pregamutlab(float lum, float hue, float &chr) //big approximation to limit gamut (Prophoto) before good gamut procedure for locallab chroma, to avoid crash
{
if (lum >= 95.0f) {
if (hue > 1.5f && hue < 2.f) {
chr = 120.f;
} else if (hue > 0.7f && hue <= 1.5f) {
chr = 60.f;
} else {
chr = 40.f;
}
} else if (lum > 75.f) {
if (hue > 1.f && hue < 3.14f) {
chr = 130.f;
} else if (hue > -0.4f && hue <= 1.f) {
chr = 80.f;
} else if (hue > -3.15f && hue < -2.f) {
chr = 80.f;
} else {
chr = 60.f;
}

} else if (lum > 35.f) {
chr = 100.f;
} else if (lum > 20.f) {
if (hue < -1.f && hue > -2.f) {
chr = 120.f;
} else {
chr = 80.f;
}
} else if (lum > 7.f) {
if (hue < -1.f && hue > -1.8f) {
chr = 120.f;
} else {
chr = 60.f;
}

} else {
if (hue < -1.f && hue > -1.6f) {
chr = 80.f;
} else {
chr = 40.f;
}

}

// if(lum < 4.f) {
// chr = 0.1f;
// }
}


static inline void SkinSatCbdl (float lum, float hue, float chrom, float skinprot, float &scale, bool neg, float b_l, float t_l, float t_r)
{

Expand Down
10 changes: 9 additions & 1 deletion rtengine/cplx_wavelet_dec.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,14 @@ wavelet_decomposition::wavelet_decomposition(E * src, int width, int height, int
//n=0 lopass, n=1 hipass
}
}
/* } else if(wavfilt_len == 22) {
for (int n = 0; n < 2; n++) {
for (int i = 0; i < wavfilt_len; i++) {
wavfilt_anal[wavfilt_len * (n) + i] = Daub4_anal22[n][i];
wavfilt_synth[wavfilt_len * (n) + i] = Daub4_anal22[n][wavfilt_len - 1 - i];
//n=0 lopass, n=1 hipass
}
} */
} else if(wavfilt_len == 4) {
for (int n = 0; n < 2; n++) {
for (int i = 0; i < wavfilt_len; i++) {
Expand All @@ -144,7 +152,7 @@ wavelet_decomposition::wavelet_decomposition(E * src, int width, int height, int
}
}
}

//printf("OK cplx\n");
// after coefficient rotation, data structure is:
// wavelet_decomp[scale][channel={lo,hi1,hi2,hi3}][pixel_array]

Expand Down
13 changes: 8 additions & 5 deletions rtengine/cplx_wavelet_filter_coeffs.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@ const float Daub4_anal16[2][16] ALIGNED16 = {//Daub 14
{0.f, 0.f, 0.055049715f, 0.28039564f, 0.515574245f, 0.33218624f, -0.10175691f, -0.158417505f, 0.05042335f, 0.057001725f, -0.026891225f, -0.01171997f, 0.008874895f, 0.0003037575f, -0.0012739524f, 0.0002501134f},
{ -0.0002501134f, -0.0012739524f, -0.0003037575f, 0.008874895f, 0.01171997f , -0.026891225f, -0.057001725f, 0.05042335f, 0.158417505f, -0.10175691f, -0.33218624f, 0.515574245f, -0.28039564f, 0.055049715f, 0.f, 0.f}
};
/*
const double Daub4_anal22[2][22] ALIGNED16 = {//Daub 20
{0., 0., 0.01885858, 0.13306109, 0.37278754, 0.48681406, 0.19881887, -0.1766681, -0.13855494, 0.09006372, 0.0658015, -0.05048328, -0.02082962, 0.0234849, 0.0025502185, -0.0075895, 0.0009866625, 0.0014088433, -0.00048497392, -0.0000823545, 0.00006617718, -0.000009379205},
{0.000009379205, -0.00006617718, 0.0000823545, 0.00048497392, -0.0014088433, -0.0009866627, 0.0075895, -0.0025502185, -0.0234849, 0.02082962, 0.05048328, -0.0658015, -0.09006372, 0.13855494, 0.1766681, -0.19881887, -0.48681406, -0.37278754, -0.13306109, -0.01885858, 0., 0.}

const float Daub4_anal22[2][22] ALIGNED16 = {//Daub 20
{0.f, 0.f, 0.01885858f, 0.13306109f, 0.37278535f, 0.48681406f, 0.19881887f, -0.1766681f, -0.13855494f, 0.09006372f, 0.0658015f, -0.05048328f, -0.02082962f,
0.0234849f, 0.002550218f, -0.0075895f, 0.0009866627f, 0.001408843f, -0.000484973f, -0.0000823545f, 0.0000661271f, -0.00000939f},
{0.00000939f, -0.0000661271f, 0.0000823545f, 0.000484973f, -0.001408843f, -0.0009866627f, 0.0075895f, -0.002550218f, -0.0234849f,
0.02082962f, 0.05048328f, -0.0658015f, -0.09006372f, 0.13855494f, 0.1766681f, -0.19881887f, -0.48681406f, -0.37278535f, -0.13306109f, -0.01885858f, 0.f, 0.f}
};
*/

// if necessary ?? we can add D20 !!
}

Loading