Book Image

OpenCV Computer Vision Application Programming Cookbook Second Edition

By : Robert Laganiere
Book Image

OpenCV Computer Vision Application Programming Cookbook Second Edition

By: Robert Laganiere

Overview of this book

Table of Contents (18 chapters)
OpenCV Computer Vision Application Programming Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Counting the Pixels with Histograms

In this chapter, we will cover the following recipes:

  • Computing the image histogram

  • Applying look-up tables to modify the image appearance

  • Equalizing the image histogram

  • Backprojecting a histogram to detect the specific image content

  • Using the mean shift algorithm to find an object

  • Retrieving similar images using the histogram comparison

  • Counting pixels with integral images