November 2013
Intermediate to advanced
576 pages
19h 3m
English
Chaining filters is the process of applying more than one filter to a source image. With the combination of filters applied to a source image, interesting effects can be produced, as shown in Figure 19.6.
Figure 19.6 Sample app: filter list.
When a user taps Add Filter (refer to Figure 19.5), the addFilter: method of the ICFFilterProcessing protocol gets called in ICFViewController. The method checks to see whether the filter to be added is the first filter, in which case it leaves the source image as the inputImage for the filter. If it is not the first filter, the method uses the outputImage of the last filter as the inputImage ...
Read now
Unlock full access