Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Computer Vision with OpenCV 3 and Qt5

You're reading from  Computer Vision with OpenCV 3 and Qt5

Product type Book
Published in Jan 2018
Publisher Packt
ISBN-13 9781788472395
Pages 486 pages
Edition 1st Edition
Languages
Author (1):
Amin Ahmadi Tazehkandi Amin Ahmadi Tazehkandi
Profile icon Amin Ahmadi Tazehkandi

Table of Contents (19) Chapters

Title Page
Dedication
Packt Upsell
Foreword
Contributors
Preface
Introduction to OpenCV and Qt Creating Our First Qt and OpenCV Project Creating a Comprehensive Qt+OpenCV Project Mat and QImage The Graphics View Framework Image Processing in OpenCV Features and Descriptors Multithreading Video Analysis Debugging and Testing Linking and Deployment Qt Quick Applications Other Books You May Enjoy

MeanShift and CamShift


What we learned until now in this chapter, apart from the use cases that we already saw, was meant to prepare us for correctly using the and CamShift algorithms, since they extensively benefit from histograms and back-projection images. But what are the and CAMShift algorithms?

Let's start with the MeanShift and then move on to CamShift, which is basically the enhanced version of the same algorithm. So, a very practical definition for MeanShift (as it is stated in the current OpenCV documentation) is the following:

Finds an object on a back projection image

That's quite a simple yet practical definition of the MeanShift algorithm, and we are going to stick to that more or less when we work with it. However, it's worth noting the underlying algorithm, since it helps with using it easily and much more efficiently. To start describing how MeanShift works, first, we need to think about the white pixels in a back-projection image (or binary images in general) as scattered...

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 $15.99/month. Cancel anytime}