Add contrast and texture step one - #21590
Conversation
TurboGit
left a comment
There was a problem hiding this comment.
Some comments after a first code review.
TurboGit
left a comment
There was a problem hiding this comment.
Question, what is the status? Do you want this to be merged as a first iteration or want to wait for adding more?
On my side a second code review, see new comments.
And tested too, works nice to me.
|
@TurboGit I feel done with what I defined as the first step in the issue discussion. Next steps are:
|
|
@jandren : Thanks, and fine by me with integration now as a first step. Code look good to me and it works nice on my side. One point that I'd like to discuss:
Do you agree with that? Otherwise what are the arguments to keep both? So if you agree:
|
|
Ok for squashing all before merging? |
Enable scene refered editing of details in images. The core principle of the module is to modifiy the log difference between a luminance estimate and its low pass version filtered using the exposure invariant guided filter (eigf, same as in tone equalizer). Its in this way easy to target different detail sizes. Work based on initial idea by Co-authored-by: bjoern <wilecoyote2015@gmail.com> And further efforts by Co-authored-by: Christian Bouhon <christian.bouhon@outlook.be> Co-authored-by: Dan Zwell <devel@zwell.net>
e85d93f to
8c1ca12
Compare
|
I do agree on this being the replacement module for the display refereed module "local contrast". Made the needed changes for that in the module groups. Branch is rebased and squashed with contributions as Co-authors. |
|
@jandren : Perfect then, I'll do another testing round and will merge if all is ok. |
|
I tried, very nice results to me and not overloaded. |
TurboGit
left a comment
There was a problem hiding this comment.
Works for me, a glitch you've removed the "local contrast" from the "all modules" group :)
I'll fix just after merging.
|
I'm getting a compiler segfault when building current master. |
Step one of implementing and merging a new scene referred local contrast module, named "contrast & texture".
See: #20626 (comment)
This is based on work by @wilecoyote2015 which presented the original idea and @Christian-Bouhon who took it further with integrating multiple sliders for different detail levels and some per-pixel operations. This PR is my attempt at making something cleaner and reviewable from those attempts and to then follow up with more functionality later.
The core principle of the module is to modifiy the log difference between a luminance estimate and its low pass version filtered using the exposure invariant guided filter (eigf, same as in tone equalizer). Its in this way easy to target different detail sizes.
It works well for clouds and landscapes:


Portraits for more punchy skin textures (there have also been good examples of smoothing over at discuss earlier):


Noise can suppressed quite well when needed and the effect is directly visible in the details preview (mask symbol to the right of the gain slider):
ISO 100 noise bias = 0.0001

ISO 25600, noise bias = 0.0001

ISO 25600, noise bias = 0.1
