Threshold

Reduces all colors in an image to a duotone, and optionally limits the range of midtones preserved in the image. The result is an extremely high-contrast image that defaults to black and white—but you can reduce the image to any two colors.

Canvas showing effect of Threshold filter

Adjust this filter using the parameter controls in the Filters Inspector: