# Image Depth Maps Tutorial for iOS: Getting Started

**URL:** <https://forums.kodeco.com/t/image-depth-maps-tutorial-for-ios-getting-started/36377>\
**Category:** 🎓 Courses & Articles\
**Created:** [November 8, 2017, 2:00pm UTC](https://forums.kodeco.com/t/image-depth-maps-tutorial-for-ios-getting-started/36377 "2017-11-08T14:00:37Z")\
**Posts on this page:** 3\
**Page:** 4

<div class="post-metadata">

**Author:** ![toojuice](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/toojuice/32/100912_2.png) [@toojuice](https://forums.kodeco.com/u/toojuice)\
**Post date:** [April 26, 2018, 10:22am UTC](https://forums.kodeco.com/t/image-depth-maps-tutorial-for-ios-getting-started/36377/62 "2018-04-26T10:22:42Z")

</div>

Take a look at the `spotlightHighlight(_:_:_:)`, `colorHighlight(_:_:_:)`, and `blur(_:_:_:)` functions in **DepthImageFilters.swift** from the final project.

Each of these functions converts a `CIImage` to a `CGImage` to a `UIImage`. You should be able to do the same using the `CIImage` from the depth map to create a `UIImage` that can be saved.

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [April 26, 2018, 8:58pm UTC](https://forums.kodeco.com/t/image-depth-maps-tutorial-for-ios-getting-started/36377/63 "2018-04-26T20:58:26Z")

</div>

This tutorial is more than six months old so questions are no longer supported at the moment for it. Thank you!

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [April 26, 2018, 8:58pm UTC](https://forums.kodeco.com/t/image-depth-maps-tutorial-for-ios-getting-started/36377/64 "2018-04-26T20:58:30Z")

</div>

Closed on April 26, 2018, 8:58pm UTC



[Previous page](https://forums.kodeco.com/t/image-depth-maps-tutorial-for-ios-getting-started/36377.md?page=3)
