Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.