O'Reilly logo

iOS Application Development with OpenCV 3 by Joseph Howse

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Blending Images

Let's complete our work on the LightWork app, which we started in Chapter 2, Capturing, Storing, and Sharing Photos. LightWork can already control the iOS device's cameras, capture an image, convert its format, save it, and share it via social media. However, the app is missing the ability to load and reprocess old images. We are going to change this by enabling the user to achieve the following results:

  • Select an image from the user's Photos library.
  • Select an algorithm that defines how to blend two images. We will support some simple arithmetic algorithms as well as an edge-finding algorithm that reduces one of the images to a line drawing.
  • Using the selected blending algorithm, blend the selected image with the background. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required