Page 1 of 1

Selective -clamp may be needed

Posted: 2013-04-24T01:23:54-07:00
by pipe
When I was thinking about the problem with negative values and gamma, I realized that a similar problem may show up with other algorithms, and that it would be great to have a -clamp that only clips values below 0.0.

If -clamp had not already been used to clamp both the upper and lower range, I would have suggested that -clamp only cut everything below 0.0, and +clamp cut everything above 1.0.

I haven't thought much about this, so I'm just going to post here to see if it's been considered already, and if some more experienced users/developers have any insights. Maybe a parameter for -clamp [lower,upper], where lower or upper could somehow be left out if you only want to clamp one range?

Re: Selective -clamp may be needed

Posted: 2013-04-25T02:55:47-07:00
by anthony
We could have a +clamp {method}