• This repository has been archived on 29/Jun/2021
  • Stars
    star
    478
  • Rank 91,544 (Top 2 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Filters and Utilities for Core Image

Vivid

CocoaPods Platform CocoaPods Version CocoaPods License

A set of filters and utilities for Apple's Core Image framework.

Available on both OS X and iOS.

Involving...

Core Image Filters

Filters

YUCIRGBToneCurve

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 0 to 1.

The defaults are [(0,0), (0.5,0.5), (1,1)]

Preview

YUCIColorLookup

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 kCIContextWorkingColorSpace key to specify a working color space when creating the CIContext object.

Preview

YUCISurfaceBlur

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.

Preview

YUCITriangularPixellate

Maps an image to colored triangles.

Preview

YUCIFXAA

A basic implementation of FXAA (Fast Approximate Anti-Aliasing).

Preview

YUCIHistogramEqualization

Perform a Histogram Equalization on the input image. Internally uses Accelerate.framework.

Preview

YUCIReflectedTile

Produces a tiled image from a source image by reflecting pixels over the edges.

Preview

YUCICLAHE

Perform a Contrast Limited Adaptive Histogram Equalization on the lightness channel of the input image.

Preview

Transitions

YUCICrossZoomTransition

A transition that pushes the inputImage toward the viewer and then snaps back with the inputTargetImage.

Preview

YUCIFlashTransition

Transitions from one image to another by creating a flash effect.

Preview

Generators

YUCIStarfieldGenerator

Generate a starfield image. Animatable by changing the inputTime parameter. Based on Star Nest by Pablo Romรกn Andrioli

Preview

YUCIBlobsGenerator

Generate a image with colorful blobs. Animatable by changing the inputTime parameter. Based on Blobs by @paulofalcao

Preview

Utilities

YUCIFilterConstructor

A singleton that conforms to CIFilterConstructor protocol.

Can be used in +[CIFilter registerFilterName:constructor:classAttributes:] to register a CIFilter. This filter constructor simply assume that the filterName is the class name of the custom CIFilter and calls [[FilterClass alloc] init] to construct a filter.

YUCIFilterPreviewGenerator

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.

Next

  • Add filter previews to readme.
  • AA for triangular pixellate filter.
  • CLAHE
  • Write a paper on the implementation of CLAHE.
  • Kuwahara filter

Related Projects

YUCIHighPassSkinSmoothing

An implementation of High Pass Skin Smoothing.

YUCIImageView

An image view for rendering CIImage with Metal/OpenGL/CoreGraphics.

MetalPetal

A image processing framework based on Metal.

More Repositories

1

YUCIHighPassSkinSmoothing

An implementation of High Pass Skin Smoothing using Apple's Core Image Framework
Objective-C
1,232
star
2

WUEmoticonsKeyboard

Customizable emotion icons keyboard for iOS.
Objective-C
339
star
3

YUGLTransition

OpenGL based transition for iOS.
Objective-C
201
star
4

YUDisplacementTransition

A GPU accelerated transition library makes use of displacement maps to create distortion effects.
Swift
136
star
5

YUGPUImageHighPassSkinSmoothing

An implementation of High Pass Skin Smoothing using GPUImage
Objective-C
136
star
6

MetalLibraryArchive

Extract Metal functions from .metallib files.
Swift
114
star
7

WUTextSuggestion

A text suggestion toolkit for iOS.
Objective-C
81
star
8

WAAccountStore

A universal and extensible account system
Objective-C
53
star
9

HexagonalBokehBlur

An implementation note for "Hexagonal Bokeh Blur Filter" in MetalPetal.
49
star
10

Accelerated-CLAHE

Accelerated Contrast Limited Adaptive Histogram Equalization
40
star
11

YUCIImageView

An image view for rendering CIImage with Metal/OpenGL/CoreGraphics. Available on iOS and OS X.
Objective-C
37
star
12

YUGPUImageCVPixelBufferInput

CVPixelBuffer input for GPUImage, iOS
Objective-C
31
star
13

TDWatchInterfaceMenu

Add menu item with a block as it's action handler to `WKInterfaceController`
Objective-C
31
star
14

UIControl-Sound

A simple UIControl category for adding sounds to UI controls such as UIButton, UISwitch, UISegmentedControl, UITextField, etc.
Objective-C
30
star
15

IdentityCLUTImageGenerator

Generate 2D identity color lookup table images.
Swift
18
star
16

MetalLibraryExplorer

Parse and disassemble .metallib files in browser
JavaScript
18
star
17

MDSOfferView

A view that imitates the download/offer button in the App Store app.
Objective-C
16
star
18

NSTimer-WeakTarget

A NSTimer category which adds the support of weak target for NSTimer.
Objective-C
15
star
19

Motivate-Desktop

Motivate Desktop for WordsMotivate.me
C#
12
star
20

LogDispatcher.Swift

A more powerful println(_:)
Swift
11
star
21

ColorLookupTable2Cube

Convert color lookup table images to Adobe Cube LUT files (.cube)
Swift
10
star
22

YUSCNSceneCIRenderExtension

Render a SCNScene to CIImages.
Objective-C
6
star
23

WAKeyValuePersistenceStore

A file based Key-Value persistence store for iOS and OS X.
Objective-C
6
star
24

AudioAlignment

Estimation of audio alignment relative to a given reference.
Swift
4
star
25

ThinPlateSplineTransform

TPS for Apple platforms.
Swift
3
star
26

AudioPrism

AudioPrism implements the `AnalyserNode` functionality defined in the Web Audio API.
Swift
3
star
27

llvm-wasm

Workflows that complie LLVM to WebAssembly using emscripten
2
star
28

BRAVIATVRemoteGuide

2
star
29

TuriObjectDetectionDataAnnotator

An Object Detection Data Annotator for Turi Create
Swift
2
star
30

UserDefaultsBacked

Swift
2
star