Is there an easy way to clip values of a database channel?

Is there an easy way to clip values of a database channel?

Answers

  • Hi Daniel,
    You can use channel math to create a new channel with clipped values.  Given a minimum and/or maximum clipping limit, try something like this
    /C0 = clipped channel
    /C1 = data channel
    /ClipMin = lower clipping limit
    /ClipMax = upper clipping limit
    C0 = (C1 < ClipMin || C1 > ClipMax)?DUMMY:C1