This topic weaves in and out of those lengthy and spicy threads from time to time. Yet, I don’t think I have created a topic on it. In my PlayRaw entries, whenever you see the words interpolate, fix or filter (bad or unwanted) pixels, you know something is up. In that step, I attempt to deal with the baddies commonly known as out-of-gamut colours, which manifest as negative numbers in a RGB pixel. Could affect one channel, two or all three.
The following two posts reinvigorated my interest in continuing this discussion. (Obviously, an echo of previous posts we have written.)
The issue has to do with negative values post demosaicing and ICC conversion by the raw processor. The common way of dealing with them is to clip, except that would introduce colour shifts or simply black if all 3 channels are negative. “Modulation”, as proposed by @snibgo, is out of the question in this case because I don’t think that these negative values were simply values near the boundary being pushed out.
What I am doing currently is inpainting them at the risk of introducing more artifacts. In this thread, I would like to compile a list of techniques and options available in apps thus far and also where the state-of-the-art is at. Perhaps, I can find a better way than my current strategy. Naturally, I prefer simplicity because I am not a math, programming or colour genius by any stretch of the imagination. I just like to learn and try new things.