RSS/Atom feed Twitter
Site is read-only, email is disabled

'gimp-levels' procedure with GEGL activated.

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

'gimp-levels' procedure with GEGL activated. Aliet Exposito 15 Jul 03:17
  'gimp-levels' procedure with GEGL activated. Elle Stone 15 Jul 17:37
   'gimp-levels' procedure with GEGL activated. Richard Gitschlag 16 Jul 15:13
Aliet Exposito
2012-07-15 03:17:28 UTC (over 12 years ago)

'gimp-levels' procedure with GEGL activated.

Hello there...
I am using GIMP 2.8 on Ubuntu Lucid, compiled from source code by me and encountered an issue when using the Levels Tool or 'gimp-levels' procedure with GEGL activated.
If I pull the high(right) slider down to, say, 150 the layer gets extremely white, burned white.
If I deactivate the 'Use GEGL' the layer doesn't get that white, more close to what I would expect by looking at the histogram. To replicate the GEGL activated levels, I have to set the high setting down to 75/80, almost its half, with GEGL deactivated. This affects my workflow, specially with High-Pass Masking Sharpening Filters who use 'gimp-levels' to boost contrast in the Sharpening Layer, the result of such filters with GEGL activated is a white useless layer. Before 2.8 I used every devel release, and the levels worked the same way with GEGL and without it, now I have to switch on and off the option every time I want to use 'gimp-levels' or the Levels Tool. If this strong effect is the intended behaviour, then how could I use the procedure correctly? To try and fix the High-Pass scripts and make them compatible with 2.8 and GEGL... Best Regards,
Aliet Expósito García

--

Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/

Elle Stone
2012-07-15 17:37:27 UTC (over 12 years ago)

'gimp-levels' procedure with GEGL activated.

If I pull the high(right) slider down to, say, 150 the layer gets extremely white, burned white.
If I deactivate the 'Use GEGL' the layer doesn't get that white, more close to what I would expect by looking at the histogram.

I noticed something similar with levels, with 2.8. At least on my computer (opensuse, 2.8 compiled from source) there are three places where "gegl" can be activated in 2.8: "View, Use Gegl", "Colors, Use Gegl", and also "Tools, Gegl Operation".

If I use levels to raise the black point of an image (use the lower left slider rather than the upper right slider) from 0 to 25 (ten percent of 255), the shadows should be brighter than they used to be, the midtones affected less, and the highlights hardly at all.

Levels with nothing checked or with "View, Use Gegl" checked (and "Colors, Use Gegl" not checked) acts as expected.

"Tools, Gegl Operation, levels" using 0.10 (ten percent of 1 rather than ten percent of 255) also acts as expected, producing the same effect as above.

But Levels with "Colors, Use Gegl" checked affects the midtones more than the shadows. The difference is noticeable with an sRGB image, drastic with a linear gamma image.

Elle

Richard Gitschlag
2012-07-16 15:13:52 UTC (over 12 years ago)

'gimp-levels' procedure with GEGL activated.

Date: Sun, 15 Jul 2012 13:37:27 -0400 From: l.elle.stone@gmail.com
To: exposito.ssp@infomed.sld.cu
CC: gimp-developer-list@gnome.org
Subject: Re: [Gimp-developer] 'gimp-levels' procedure with GEGL activated.

...But Levels with "Colors, Use Gegl" checked affects the midtones more than the shadows. The difference is noticeable with an sRGB image, drastic with a linear gamma image.

Elle

-- http://ninedegreesbelow.com
Articles and tutorials on open source digital imaging and photography _______________________________________________ gimp-developer-list mailing list
gimp-developer-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-developer-list

Go to the Curves tool and adjust the white point down to 128. This should darken the image by 50% (eyedropper verifies that white is now 50% grey), however if you do the same with Colors > GEGL activated then your results are quite different - instead of coming out at 50% grey, the same white pixel now comes out at 22% dark grey - which is clearly incorrect behavior.

But it's also conveniently about a 0.45 gamma correction from the correct value....

-- Stratadrake strata_ranger@hotmail.com
--------------------
Numbers may not lie, but neither do they tell the whole truth.