Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
iOS Application Development with OpenCV 3

You're reading from   iOS Application Development with OpenCV 3 Create four mobile apps and explore the world through photography and computer vision

Arrow left icon
Product type Paperback
Published in Jun 2016
Publisher Packt
ISBN-13 9781785289491
Length 228 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Joseph Howse Joseph Howse
Author Profile Icon Joseph Howse
Joseph Howse
Arrow right icon
View More author details
Toc

Table of Contents (7) Chapters Close

Preface 1. Setting Up Software and Hardware FREE CHAPTER 2. Capturing, Storing, and Sharing Photos 3. Blending Images 4. Detecting and Merging Faces of Mammals 5. Classifying Coins and Commodities Index

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. The background may be the LightWork app's static background image or a frame of live video from the camera.

Compared to the groundwork that we have already done, these additional features are simple, so this chapter...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime