Join Simon Allardice for an in-depth discussion in this video Creating a Core Image filter chain, part of Code Clinic: Swift.
- I want to apply multiple filters…using Core Image.…We'll begin with two images,…use one filter to blend them,…and another filter to get the average…pixel color of the blended section…of that image.…Now remember these images are different sizes,…and by default, when I blend them,…they will both orient down to the bottom left,…which is there, position 0, 0.…But there is another filter,…a transform filter, that I can apply…to move the small image,…step by step reapplying that transform filter,…telling it to shift its internal origin point…by one pixel along the x or the y axis.…
But also, because they're different sizes,…whenever we blend them, the result will be…the size of the larger image…with the small one blended somewhere in it.…So when we're measuring the results of the blend,…we only want to look at that region…where the images are currently overlapping.…That's fine, the filters can be restricted…to look at a certain section,…on area, of that.…Hopefully when they match, we'll find…a dark section and we'll find…
Simon introduces challenges and then provides an overview of his solutions in Swift. Challenges include topics such as statistical analysis, searching directories for images, and accessing peripheral devices.
Skill Level Intermediate
1. Problem One: Exploring Lake Pend Oreille
2. Problem Two: Image Analysis
3. Problem 3: Eight Queens
4. Problem 4 - Accessing Peripherals
5. Problem 5 - Recursion and Directories
6. Problem 6 - Building the Web
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.