Re: Clamping results to valid range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 21, 2014 at 4:39 PM, Nanley Chery <nanleychery@xxxxxxxxx> wrote:
> Why don't operations like gegl:add and gegl:multiply clamp the resulting
> values between 0.0 and 1.0? Won't this potentially result in garbage rgb
> values?

The RGB values used by GEGL are not bounded by the gamut of a color
space. Out of gamut values are not garbage, but can occur both as
intermediate/temporary values - in operations like unsharp mask, as
well as for HDR[1] and if the RGB data originates in a color space
with a larger gamut than the one currently used.

If any operation, or an application like GIMP, requests the data with
an 8bit or 16bit representation the data is clamped then.

1: http://en.wikipedia.org/wiki/High-dynamic-range_imaging

/pippin
_______________________________________________
gegl-developer-list mailing list
List address:    gegl-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gegl-developer-list




[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux