Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
OpenCV Android Programming By Example

You're reading from   OpenCV Android Programming By Example Leverage OpenCV to develop vision-aware and intelligent Android applications.

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781783550593
Length 202 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Chapter 2. App 1 - Building Your Own Darkroom

In this chapter, you will learn about how images are stored and represented in OpenCV and how to utilize this representation to implement interesting algorithms that will enhance how your images look.

We will first explain the digital image representation and different color spaces to explore the important Mat class in OpenCV.

Then, we will go through the steps to load an image from your phone gallery and display it on your device screen regardless of the image resolution.

Finally, you will learn about the image histograms and how to calculate and use them to enhance your images, whether they are black and white or colored.

We will cover the following topics in this chapter:

  • Digital images
  • Processing the images stored on your phone
  • Calculating an image histogram
  • Enhancing the image contrast
You have been reading a chapter from
OpenCV Android Programming By Example
Published in: Dec 2015
Publisher:
ISBN-13: 9781783550593
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 $19.99/month. Cancel anytime
Banner background image