Feel Core Image: Live Image Processing
summary
Core Image is shown as a fully GPU‑accelerated pipeline you can use today: build filter graphs with CIImage, CIFilter, CIContext, write three kernel types (color, warp, general kernels), and render directly into an MTKView. Demos include a starburst (bright‑pixel mask + motion blur), a sinusoidal carnival mirror (warp kernel), and a sampler box blur (slow for large radii). Notes: 200+ built‑in filters, CIContext options like cacheIntermediates, highQualityDownsample and memoryTarget (default 256MB, max ~512MB), Vision face landmarks enable mask‑based lip tint and eye bump distortions; examples run and highlight tiling/ROI issues on very large (13,000px) images.
AI-written summary · about
chapters (36)
- 0:00Introduction to Core Image
- 1:03Talk overview and plan
- 2:27Core Image basics and framework history
- 3:32Core Image objects: CIImage, CIContext, CIFilter
- 4:38Creating and applying first effects
- 6:24Combining filters into complex effects
- 7:50Blending images with masks
- 9:39Understanding filter graphs and rendering
- 11:25Manual rendering with Core Graphics image
- 12:08CIContext options and optimizations
- 15:55Rendering directly to Metal view
- 17:21Metal Image View setup
- 19:04Rendering to Metal view directly
- 21:33Comparison of rendering approaches
- 22:57Advanced rendering techniques
- 23:38Core Image fundamentals recap
- 24:00Custom shaders with Core Image kernels
- 25:45Setting up Metal for custom kernels
- 26:27Creating a color kernel effect
- 29:59Implementing the starburst filter
- 31:26Debugging custom effects
- 33:16Warp kernel for geometry effects
- 34:20Implementing the carnival mirror effect
- 36:27Testing the geometry effect
- 36:49General kernel for box blur
- 39:39Implementing the blur effect
- 41:02Region of interest callback explained
- 42:27Debugging tiling and scaling issues
- 45:01Combining Core Image with Vision framework
- 45:22Real-world example: face filters
- 46:25Detecting face landmarks with Vision
- 48:38Creating a lips beauty filter
- 51:46Eyes beauty filter with geometry warp
- 54:54Production considerations for face filters
- 55:39Workshop recap and resources
- 56:00Closing and Q&A
