Limiter

std.Limiter(clip clip[, float[] min, float[] max, int[] planes=[0, 1, 2]])

Limits the pixel values to the range [min, max].

clip
Clip to process. It must have integer sample type and bit depth between 8 and 16, or float sample type and bit depth of 32. If there are any frames with other formats, an error will be returned.
min
Lower bound. Defaults to the lowest allowed value for the input. Can be specified for each plane individually.
max
Upper bound. Defaults to the highest allowed value for the input. Can be specified for each plane individually.
planes
Specifies which planes will be processed. Any unprocessed planes will be simply copied.