OpenCV 2 Computer Vision Application Programming Cookbook
✍ Scribed by Robert Laganière
- Publisher
- Packt Publishing
- Year
- 2011
- Tongue
- English
- Leaves
- 304
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
This is a cookbook that shows results obtained on real images with detailed explanations and the relevant screenshots. The recipes contain code accompanied with suitable explanations that will facilitate your learning. If you are a novice C++ programmer who wants to learn how to use the OpenCV library to build computer vision applications, then this cookbook is appropriate for you. It is also suitable for professional software developers wishing to be introduced to the concepts of computer vision programming. It can be used as a companion book in university-level computer vision courses. It constitutes an excellent reference for graduate students and researchers in image processing and computer vision. The book provides a good combination of basic to advanced recipes. Basic knowledge of C++ is required.
✦ Table of Contents
Cover
......Page 1
Copyright......Page 3
Credits......Page 4
About the Author......Page 5
About the Reviewers......Page 6
www.PacktPub.com......Page 8
Table of Contents......Page 10
Preface......Page 14
Introduction......Page 20
Installing the OpenCV library......Page 21
Creating an OpenCV project with MS Visual C++......Page 24
Creating an OpenCV project with Qt......Page 32
Loading, displaying, and saving images......Page 39
Creating a GUI application using Qt......Page 43
Introduction......Page 50
Accessing pixel values......Page 51
Scanning an image with pointers......Page 54
Scanning an image with iterators......Page 62
Writing efficient image scanning loops......Page 64
Scanning an image with neighbor access......Page 68
Performing simple image arithmetic......Page 72
Defining regions of interest......Page 76
Introduction......Page 82
Using the Strategy pattern in algorithm design......Page 83
Using a Controller to communicate with processing modules......Page 89
Using the Singleton design pattern......Page 93
Using the Model-View-Controller architecture to design an application......Page 95
Converting color spaces......Page 98
Computing the image histogram......Page 102
Applying look-up tables to modify image appearance......Page 109
Equalizing the image histogram......Page 114
Backprojecting a histogram to detect specific image content......Page 116
Using the mean shift algorithm to find an object......Page 121
Retrieving similar images using histogram comparison......Page 125
Introduction......Page 130
Eroding and dilating images using morphological filters......Page 131
Opening and closing images using morphological filters......Page 135
Detecting edges and corners using morphological filters......Page 138
Segmenting images using watersheds......Page 144
Extracting foreground objects with the GrabCut algorithm......Page 150
Introduction......Page 154
Filtering images using low-pass filters......Page 155
Filtering images using a median filter......Page 160
Applying directional filters to detect edges......Page 161
Computing the Laplacian of an image......Page 169
Introduction......Page 176
Detecting image contours with the Canny operator......Page 177
Detecting lines in images with the Hough transform......Page 180
Fitting a line to a set of points......Page 191
Extracting the components' contours......Page 195
Computing components' shape descriptors......Page 199
Introduction......Page 204
Detecting Harris corners......Page 205
Detecting FAST features......Page 216
Detecting the scale-invariant SURF features......Page 219
Describing SURF features......Page 225
Introduction......Page 230
Calibrating a camera......Page 232
Computing the fundamental matrix of an image pair......Page 241
Matching images using random sample consensus......Page 246
Computing a homography between two images......Page 255
Introduction......Page 260
Reading video sequences......Page 261
Processing the video frames......Page 264
Writing video sequences......Page 274
Tracking feature points in video......Page 279
Extracting the foreground objects in video......Page 285
Index......Page 292
📜 SIMILAR VOLUMES
2nd Edition. — Packt Publishing, 2014. — Code Only. — ISBN-10: 1782161481, ISBN-13: 978-1-78216-148-6.<br/>На англ. языке.<br/><strong>Код примеров к выложенной здесь книге в форматах <a class="object-link fpm" data-file-id="1649835" href="/file/1649835/">PDF</a>, <a class="object-link fpm" data-fil
Making your applications see has never been easier with OpenCV. With it, you can teach your robot how to follow your cat, write a program to correctly identify the members of One Direction, or even help you find the right colors for your redecoration.<br /><br />OpenCV 3 Computer Vision Application
Over 100 recipes to help you build computer vision applications that make the most of the popular C library OpenCV 3About This Book*Written to the latest, gold-standard specification of OpenCV 3*Master OpenCV, the open source library of the computer vision community*Master fundamental concepts in co
Code. Over 100 recipes to help you build computer vision applications that make the most of the popular C library OpenCV 3About This Book*Written to the latest, gold-standard specification of OpenCV 3*Master OpenCV, the open source library of the computer vision community*Master fundamental concepts