The value added to a convolved pixel before it is converted back to its intended storage format.
- iOS 9.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 9.0+
- Metal Performance Shaders
This value can be used to convert negative values into a representable range for an unsigned pixel format. For example, many edge detection filters produce results in the range
[-k,k]. By scaling the filter weights by
0 and adding
0, the results will be in the range
[0,1] suitable for use with unsigned normalized formats.
This value can be used in combination with renormalization of the filter weights to do video ranging as part of the convolution effect. It can also just be used to increase the brightness of the image.
The default value is