GHS - more intuitive and simpler for the user

GHS (Generalized Hyperbolic Stretch) is an image processing algorithm, especially for difficult images that require a “tone mapper”.

It has the particularity of going off the beaten track by not using the usual concepts (and therefore vocabulary) - introduced by Adobe - ACES - Agx, etc. This complicates its understanding and use.

To make it more intuitive and easier to use, I added (easily) 2 features

  1. Automatically calculate black points and white points (not in Inverse GHS mode). This allows to compensate for example (as poor Dehaze does) the black point in foggy images and take into account the reconstruction of highlights
    As a reminder, unlike other Tone-mappers, these 2 points are in linear mode. The aim of the operation is to bring the data back into the interval [0 1]. Of course it is possible to retouch in manual mode, for example negative values ​​(depending on the images) to open up overly pronounced shadows and help GHS

  2. Provide an evaluation, estimation…, of the Symmetry Point (SP). This value, which has nothing to do with “middle gray,” is essential to understanding GHS and the results. By default, I chose 0.015. The evaluation seems good to me in RGB Luminance mode, acceptable in RGB mode and it is not provided for the other modes, because it has no value. It doesn’t make much sense to try to automate this, as it’s just an evaluation of the symmetry point from the data in linear mode. This point corresponds to the maximum of the histogram in linear mode and with the working profile. It is up to the user to choose and adapt this value by adjusting the slider (SP)

I open a pull request
Pull request 7442

Executables (Appimage, Windows)
ghsauto

I attach the link to Rawpedia which I cannot update
Rawpedia - GHS

Jacques

5 Likes

You can update the page in the git repo for rawpedia now.