A filter that returns a specified value for each pixel with a value greater than a specified threshold or 0 otherwise.
Mac Catalyst 13.0+Beta
Metal Performance Shaders
An MPSImageThresholdBinary filter converts a single channel image to a binary image. If the input image is not a single channel image, the function first converts the input image into a single channel luminance image using the linear gray color transform, and then it applies the threshold.
A filter that clamps the return value to an upper specified value.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.