Skip to content

Instantly share code, notes, and snippets.

@JoshuaSullivan
Created October 11, 2020 22:44
Show Gist options
  • Save JoshuaSullivan/c3c167ac2b503efbfe6916a7405a0b98 to your computer and use it in GitHub Desktop.
Save JoshuaSullivan/c3c167ac2b503efbfe6916a7405a0b98 to your computer and use it in GitHub Desktop.
Enumerations of the 3 new CoreImage Filters in iOS 14.0
=========================
Color Absolute Difference
=========================
[Availability]
iOS: 14
macOS: 11.0
[Categories]
Color Adjustment, Video, Interlaced, Non-Square Pixels, Still Image, Built-In
[Inputs]
Image (inputImage)
Class: CIImage
Type: Image
Description: The first input image for differencing.
Image2 (inputImage2)
Class: CIImage
Description: The second input image for differencing.
[Outputs]
outputImage
===============
Color Threshold
===============
[Availability]
iOS: 14
macOS: 11.0
[Categories]
Color Adjustment, Video, Interlaced, Non-Square Pixels, Still Image, Built-In
[Inputs]
Image (inputImage)
Class: CIImage
Type: Image
Description: The image to use as an input image. For filters that also use a background image, this is the foreground image.
Threshold (inputThreshold)
Class: NSNumber
Type: Scalar
Default: 0.5
[Outputs]
outputImage
====================
Color Threshold Otsu
====================
[Availability]
iOS: 14
macOS: 11.0
[Categories]
Color Adjustment, Video, Interlaced, Non-Square Pixels, Still Image, Built-In
[Inputs]
Image (inputImage)
Class: CIImage
Type: Image
Description: The image to use as an input image. For filters that also use a background image, this is the foreground image.
[Outputs]
outputImage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment