Abstract
This chapter describes Core Image, an image processing and analysis framework for iOS and macOS, and discusses how to use Core Image to implement image filtering and face detection.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
In this example, the filter is CISepiaTone, which maps the colors of an image to various shades of brown.
- 2.
The official Core Image Filter Reference [5] lists the filters currently available, their characteristics and parameters, and shows a sample image produced by each filter.
- 3.
The functionality for discovering which filters are available is not limited to built-in filters; it can be used for any category, such as kCICategoryVideo (which means the filter can be used for video) or kCICategoryBlur (which includes all blurring filters).
- 4.
In fact, Core Image can even reorganize filters when applying them in a different order will produce the same result more efficiently [8]
- 5.
See [12] for another example, if interested.
- 6.
For a complete list of compositing filters, you can query the CICategoryCompositeOperation category.
- 7.
For a list of generator filters, you can query the CICategoryGenerator and CICategoryGradient categories.
- 8.
For the complete list of transition filters, you can query the CICategoryTransition category.
- 9.
Face detection should not be confused with face recognition. Core Image does not contain any built-in method for face recognition.
- 10.
- 11.
References
Auto Enhancing Images. https://apple.co/2VdbyDD. Accessed: 2020-06-23.
CIDetector Class Reference. https://apple.co/3hT2TzH. Accessed: 2020-06-23.
CIFilter Class Reference. https://apple.co/2YoPHLq. Accessed: 2020-06-23.
Core Image and Video. https://bit.ly/2Nofmxm. Accessed: 2020-06-23.
Core Image Filter Reference. https://apple.co/3fO0LaM. Accessed: 2020-06-23.
Core Image Kernel Language Reference. https://apple.co/2VbrWnV. Accessed: 2020-06-23.
Core Image Programming Guide. https://apple.co/37hvKZT. Accessed: 2020-06-09.
Core Image Programming Guide—Processing Images. https://apple.co/37UFqJX. Accessed: 2020-06-23.
Core Image Reference Collection. https://apple.co/30t8Xst. Accessed: 2020-06-10.
Core Image Tutorial: Getting Started. https://bit.ly/2Yq9aLv. Accessed: 2020-06-23.
Detecting Faces in an Image. https://apple.co/2BAXlti. Accessed: 2020-06-23.
Processing an Image Using Built-in Filters. https://apple.co/3doFqmN. Accessed: 2020-06-23.
Querying the System for Filters. https://apple.co/3hU99Y9. Accessed: 2020-06-23.
Subclassing CIFilter: Recipes for Custom Effects. https://apple.co/3i1JGw7. Accessed: 2020-06-23.
S. J. Gladman. Core Image for Swift: Advanced Image Processing for iOS. Reaction Diffusion Limited, 2016.
W. Moore. An Introduction to Core Image. https://bit.ly/2VebFii. Accessed: 2020-06-23.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2020 The Author(s)
About this chapter
Cite this chapter
Marques, O. (2020). Core Image. In: Image Processing and Computer Vision in iOS. SpringerBriefs in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-030-54032-6_3
Download citation
DOI: https://doi.org/10.1007/978-3-030-54032-6_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-54030-2
Online ISBN: 978-3-030-54032-6
eBook Packages: Computer ScienceComputer Science (R0)