Filters and Utilities for Core Image
A set of filters and utilities for Apple's Core Image framework.
Available on both OS X and iOS.
Involving...
Adjusts tone response of the R, G, and B channels of an image.
The filter takes in an array of control points that define the spline curve for each color component, or for all three in the composite.
These are stored as
CIVectors in an
NSArray, with normalized X and Y coordinates from
0to
1.
The defaults are
[(0,0), (0.5,0.5), (1,1)]
Uses a color lookup table (LUT) to remap the colors in an image. The default LUT can be found at
Sources/YUCIColorLookupTableDefault.png
This filter may not work well in the default light-linear working color space. Use
kCIContextWorkingColorSpacekey to specify a working color space when creating the
CIContextobject.
A bilateral filter. Blurs an image while preserving edges. This filter is almost identical to Photoshop's "Surface Blur" filter.
Useful for creating special effects and for removing noise or graininess. Slow on large
inputRadius.
Maps an image to colored triangles.
A basic implementation of FXAA (Fast Approximate Anti-Aliasing).
Perform a Histogram Equalization on the input image. Internally uses
Accelerate.framework.
Produces a tiled image from a source image by reflecting pixels over the edges.
Perform a Contrast Limited Adaptive Histogram Equalization on the lightness channel of the input image.
A transition that pushes the
inputImagetoward the viewer and then snaps back with the
inputTargetImage.
Transitions from one image to another by creating a flash effect.
Generate a starfield image. Animatable by changing the
inputTimeparameter. Based on Star Nest by Pablo Román Andrioli
Generate a image with colorful blobs. Animatable by changing the
inputTimeparameter. Based on Blobs by @paulofalcao
A singleton that conforms to
CIFilterConstructorprotocol.
Can be used in
+[CIFilter registerFilterName:constructor:classAttributes:]to register a
CIFilter. This filter constructor simply assume that the
filterNameis the class name of the custom
CIFilterand calls
[[FilterClass alloc] init]to construct a filter.
Can be used to generate a preview image/gif for a filter. All the preview images/gifs on this page are generated by this utility. For demonstration/testing purposes only, do not use it in your production code.
An implementation of High Pass Skin Smoothing.
An image view for rendering CIImage with Metal/OpenGL/CoreGraphics.
A image processing framework based on Metal.