Preface
1. Overview
What Is OpenCV?
Who Uses OpenCV?
What Is Computer Vision?
The Origin of OpenCV
Downloading and Installing OpenCV
Getting the Latest OpenCV via CVS
More OpenCV Documentation
OpenCV Structure and Content
Portability
Exercises
2. Introduction to OpenCV
Getting Started
First Program--Display a Picture
Second Program--AVI Video
Moving Around
A Simple Transformation
A Not-So-Simple Transformation
Input from a Camera
Writing to an AVI File
Onward
Exercises
3. Gettingto KnowOpenCV
OpenCV Primitive Data Types
CvMat Matrix Structure
IplImage Data Structure
Matrix and Image Operators
Drawing Things
Data Persistence
Integrated Performance Primitives
Summary
Exercises
4. HighGUI
A Portable Graphics Toolkit
Creating a Window
Loading an Image
Displaying Images
Working with Video
ConvertImage
Exercises
5. Image Processing
Overview
Smoothing
Image Morphology
Flood Fill
Resize
Image Pyramids
Threshold
Exercises
6. Image Transforms
Overview
Convolution
Gradients and Sobel Derivatives
Laplace
Canny
Hough Transforms
Remap
Stretch, Shrink, Warp, and Rotate
CartToPolar and PolarToCart
LogPolar
Discrete Fourier Transform (DFT)
Discrete Cosine Transform (DCT)
Integral Images
Distance Transform
Histogram Equalization
Exercises
7. Histograms and Matching
Basic Histogram Data Structure
Accessing Histograms
Basic Manipulations with Histograms
Some More Complicated Stuff
Exercises
8. Contours
Memory Storage
Sequences
Contour Finding
Another Contour Example
More to Do with Contours
Matching Contours
Exercises
9. Image Parts and Segmentation
Parts and Segments
Background Subtraction
Watershed Algorithm
Image Repair by Inpainting
Mean-Shift Segmentation
Delaunay Triangulation, Voronoi Tesselation
Exercises
10. Tracking and Motion
The Basics of Tracking
Corner Finding
Subpixel Corners
Invariant Features
Optical Flow
Mean-Shift and Camshift Tracking
Motion Templates
Estimators
The Condensation Algorithm
Exercises
11. Camera Models and Calibration
Camera Model
Calibration
Undistortion
Putting Calibration All Together
Rodrigues Transform
Exercises
12. Projection and 3D Vision
Projections
Affine and Perspective Transformations
POSIT: 3D Pose Estimation
Stereo Imaging
Structure from Motion
Fitting Lines in Two and Three Dimensions
Exercises
13. Machine Learning
What Is Machine Learning
Common Routines in the ML Library
Mahalanobis Distance
K-Means
Naive/Normal Bayes Classifier
Binary Decision Trees
Boosting
Random Trees
Face Detection or Haar Classifier
Other Machine Learning Algorithms
Exercises
14. OpenCV's Future
Past and Future
Directions
OpenCV for Artists
Afterword
Bibliography
Index