Bug 355727 - Colour adjustment filter layers clamp HDR images
Summary: Colour adjustment filter layers clamp HDR images
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Filter Layers (show other bugs)
Version: 2.9.8
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
: 375915 444439 (view as bug list)
Depends on:
Blocks: 463651
  Show dependency treegraph
 
Reported: 2015-11-22 12:17 UTC by rebuilderster
Modified: 2022-12-31 02:31 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rebuilderster 2015-11-22 12:17:35 UTC
I have an HDR layer I'm trying to color correct a portion of with a filter mask layer - Color Adjustment in this case. As soon as I make any adjustment to the image with the layer, any values above 1 are clamped off.

Filter layers exhibit somewhat different behaviour, although in a different way: As soon as a filter layer is applied over an HDR layer, the superbright portions of the HDR image seem to get remapped to fit within a 0-1 colorspace. So unlike with the filter mask layer I used, the values are not outright clamped to 1, but instead remapped in some fashion.

This is a bummer, since being able to work with float images is a huge plus for Krita in my book.

Reproducible: Always
Comment 1 wolthera 2015-11-22 14:47:43 UTC
Were you by any change using 'lightness'? The lightness curve is known to clamp values, being a LAB lightness curve. Use RGB instead, and delete all nodes from the lightness curve(krita then won't process it), if it still clamps regardless, we have a problem.

We should probably add a warning there about clamping.
Comment 2 rebuilderster 2015-11-22 17:37:37 UTC
I was using 'RGBA'. Of course, even if the color adjustments didn't clamp, you'd still have the issue that the UI is designed for non-float images - you can't edit values above 0. For the curves tool in Nuke, for example, this is handled by allowing the user to zoom in and out of the adjustment curve, placing nodes wherever they like. It's a bit finicky there, to be honest.

What would really be great would be a new color correction tool duplicating the kinds of tools compositing software generally has - Nuke's grade node has everything you need IMO. Basically if you can adjust Blackpoint, Whitepoint, lift, gain, offset, multiply and gamma you can get quite far. Maybe it's best I write a feature request for this...
Comment 3 rebuilderster 2015-11-22 17:38:54 UTC
by 'values above 0' I meant 'above 1', of course.
Comment 4 wolthera 2015-11-22 20:06:34 UTC
I can promote this to a wishbug you know :D

Yeah, our OCIO expert also suggested we use the offset/gain system, but somehow that seemed to have slipped past.

Anyway, I am confirming this, because even without a filter mask I am able to reproduce the same thing.
Comment 5 wolthera 2017-02-02 20:20:18 UTC
*** Bug 375915 has been marked as a duplicate of this bug. ***
Comment 6 amyspark 2021-10-26 21:13:28 UTC
*** Bug 444439 has been marked as a duplicate of this bug. ***