Skip to main content

Core Image

  • Chapter
  • First Online:
Image Processing and Computer Vision in iOS

Part of the book series: SpringerBriefs in Computer Science ((BRIEFSCOMPUTER))

  • 388 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    In this example, the filter is CISepiaTone, which maps the colors of an image to various shades of brown.

  2. 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. 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. 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. 5.

    See [12] for another example, if interested.

  6. 6.

    For a complete list of compositing filters, you can query the CICategoryCompositeOperation category.

  7. 7.

    For a list of generator filters, you can query the CICategoryGenerator and CICategoryGradient categories.

  8. 8.

    For the complete list of transition filters, you can query the CICategoryTransition category.

  9. 9.

    Face detection should not be confused with face recognition. Core Image does not contain any built-in method for face recognition.

  10. 10.

    https://github.com/objcio/issue-21-core-image-explorer.

  11. 11.

    https://github.com/FlexMonkey/Filterpedia.

References

  1. Auto Enhancing Images. https://apple.co/2VdbyDD. Accessed: 2020-06-23.

  2. CIDetector Class Reference. https://apple.co/3hT2TzH. Accessed: 2020-06-23.

  3. CIFilter Class Reference. https://apple.co/2YoPHLq. Accessed: 2020-06-23.

  4. Core Image and Video. https://bit.ly/2Nofmxm. Accessed: 2020-06-23.

  5. Core Image Filter Reference. https://apple.co/3fO0LaM. Accessed: 2020-06-23.

  6. Core Image Kernel Language Reference. https://apple.co/2VbrWnV. Accessed: 2020-06-23.

  7. Core Image Programming Guide. https://apple.co/37hvKZT. Accessed: 2020-06-09.

  8. Core Image Programming Guide—Processing Images. https://apple.co/37UFqJX. Accessed: 2020-06-23.

  9. Core Image Reference Collection. https://apple.co/30t8Xst. Accessed: 2020-06-10.

  10. Core Image Tutorial: Getting Started. https://bit.ly/2Yq9aLv. Accessed: 2020-06-23.

  11. Detecting Faces in an Image. https://apple.co/2BAXlti. Accessed: 2020-06-23.

  12. Processing an Image Using Built-in Filters. https://apple.co/3doFqmN. Accessed: 2020-06-23.

  13. Querying the System for Filters. https://apple.co/3hU99Y9. Accessed: 2020-06-23.

  14. Subclassing CIFilter: Recipes for Custom Effects. https://apple.co/3i1JGw7. Accessed: 2020-06-23.

  15. S. J. Gladman. Core Image for Swift: Advanced Image Processing for iOS. Reaction Diffusion Limited, 2016.

    Google Scholar 

  16. W. Moore. An Introduction to Core Image. https://bit.ly/2VebFii. Accessed: 2020-06-23.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 The Author(s)

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics