Sciweavers

Share

Book

OpenCV - Open Source Computer Vision Reference Manual

5 years 8 months ago
OpenCV - Open Source Computer Vision Reference Manual
OpenCV is a C/C++ computer vision library originally developed by Intel. It is free for commercial and research use under a BSD license. The library is cross-platform. It is highly optimized and intended for real-time applications. The library supports the following features: Image data manipulation (allocation, release, copying, setting, conversion). Image and video I/O (file and camera based input, image/video file output). Matrix and vector manipulation and linear algebra routines (products, solvers, eigenvalues, SVD). Various dynamic data structures (lists, queues, sets, trees, graphs). Basic image processing (filtering, edge detection, corner detection, sampling and interpolation, color conversion, morphological operations, histograms, image pyramids). Structural analysis (connected components, contour processing, distance transform, various moments, template matching, Hough transform, polygonal approximation, line fitting, ellipse fitting, Delaunay triangulation). Camer...
Intel
Added 13 Jan 2009
Updated 05 Dec 2010
Authors Intel
Features
1. Image data manipulation (allocation, release, copying, setting, conversion).
2. Image and video I/O (file and camera based input, image/video file output).
3. Matrix and vector manipulation and linear algebra routines (products, solvers, eigenvalues, SVD).
4. Various dynamic data structures (lists, queues, sets, trees, graphs).
5. Basic image processing (filtering, edge detection, corner detection, sampling and interpolation, color conversion, morphological operations, histograms, image pyramids).
6. Structural analysis (connected components, contour processing, distance transform, various moments, template matching, Hough transform, polygonal approximation, line fitting, ellipse fitting, Delaunay triangulation).
7. Camera calibration (finding and tracking calibration patterns, calibration, fundamental matrix estimation, homography estimation, stereo correspondence).
8. Motion analysis (optical flow, motion segmentation, and tracking).
9. Object recognition (eigen-methods, HMM).
10. Basic GUI (display image/video, keyboard and mouse handling, scroll-bars).
11. Image labeling (line, conic, polygon, text drawing)
12. Statistical machine learning(Naive Bayes classifier, k-nearest neighbor algorithm, Support Vector Machine, Decision Trees, Boosting, Random forest, Expectation Maximization, Neural Networks)
The software can be downloaded from here
Chapter Contents
Chapter 1
Overview
About This Software
Why We Need OpenCV Library
Relation Between OpenCV and Other Libraries
Data Types Supported
Error Handling
Hardware and Software Requirements
Platforms Supported
About This Manual
Manual Organization
Function Descriptions
Audience for This Manual
On-line Version
Related Publications
Notational Conventions
Font Conventions
Naming Conventions
Function Name Conventions
Chapter 2
Motion Analysis and Object Tracking
Background Subtraction
Motion Templates
Motion Representation and Normal Optical Flow Method
Motion Representation
A) Updating MHI Images
B) Making Motion Gradient Image
C) Finding Regional Orientation or Normal Optical Flow
Motion Segmentation
CamShift
Mass Center Calculation for 2D Probability Distribution
CamShift Algorithm
Calculation of 2D Orientation
Active Contours
Optical Flow
Lucas & Kanade Technique
Horn & Schunck Technique
Block Matching
Estimators
Models
Estimators
Kalman Filtering
ConDensation Algorithm
Chapter 3
Image Analysis
Contour Retrieving
Basic Definitions
Contour Representation
Contour Retrieving Algorithm
Features
Fixed Filters
Sobel Derivatives
Optimal Filter Kernels with Floating Point Coefficients
First Derivatives
Second Derivatives
Laplacian Approximation
Feature Detection
Corner Detection
Canny Edge Detector
Hough Transform
Image Statistics
Pyramids
Morphology
Flat Structuring Elements for Gray Scale
Distance Transform
Thresholding
Flood Filling
Histogram
Histograms and Signatures
Example Ground Distances
Lower Boundary for EMD
Chapter 4
Structural Analysis
Contour Processing
Polygonal Approximation
Douglas-Peucker Approximation
Contours Moments
Hierarchical Representation of Contours
Geometry
Ellipse Fitting
Line Fitting
Convexity Defects
Chapter 5
Object Recognition
Eigen Objects
Embedded Hidden Markov Models
Chapter 6
3D Reconstruction
Camera Calibration
Camera Parameters
Pattern
View Morphing
Algorithm
Using Functions for View Morphing Algorithm
POSIT
Geometric Image Formation
Pose Approximation Method
Algorithm
Gesture Recognition
Chapter 7
Basic Structures and Operations
Image Functions
Dynamic Data Structures
Memory Storage
Sequences
Writing and Reading Sequences
Sets
Graphs
Matrix Operations
Interchangability between IplImage and CvMat
Drawing Primitives
Utility
Chapter 8
Library Technical Organization and System Functions
Error Handling
Memory Management
Interaction With Low-Level Optimized Functions
User DLL Creation
Chapter 9
Motion Analysis and Object Tracking Reference
Background Subtraction Functions
Acc
SquareAcc
MultiplyAcc
RunningAvg
Motion Templates Functions
UpdateMotionHistory
CalcMotionGradient
CalcGlobalOrientation
SegmentMotion
CamShift Functions
CamShift
MeanShift
Active Contours Function
SnakeImage
Optical Flow Functions
CalcOpticalFlowHS
CalcOpticalFlowLK
CalcOpticalFlowBM
CalcOpticalFlowPyrLK
Estimators Functions
CreateKalman
ReleaseKalman
KalmanUpdateByTime
KalmanUpdateByMeasurement
CreateConDensation
ReleaseConDensation
ConDensInitSampleSet
ConDensUpdateByTime
Estimators Data Types
Chapter 10
Image Analysis Reference
Contour Retrieving Functions
FindContours
StartFindContours
FindNextContour
SubstituteContour
EndFindContours
Features Functions
Fixed Filters Functions
Laplace
Sobel
Feature Detection Functions
Canny
PreCornerDetect
CornerEigenValsAndVecs
CornerMinEigenVal
FindCornerSubPix
GoodFeaturesToTrack
Hough Transform Functions
HoughLines
HoughLinesSDiv
HoughLinesP
Image Statistics Functions
CountNonZero
SumPixels
Mean
Mean_StdDev
MinMaxLoc
Norm
Moments
GetSpatialMoment
GetCentralMoment
GetNormalizedCentralMoment
GetHuMoments
Pyramid Functions
PyrDown
PyrUp
PyrSegmentation
Morphology Functions
CreateStructuringElementEx
ReleaseStructuringElement
Erode
Dilate
MorphologyEx
Distance Transform Function
DistTransform
Threshold Functions
AdaptiveThreshold
Threshold
Flood Filling Function
FloodFill
Histogram Functions
CreateHist
ReleaseHist
MakeHistHeaderForArray
QueryHistValue_1D
QueryHistValue_2D
QueryHistValue_3D
QueryHistValue_nD
GetHistValue_1D
GetHistValue_2D
GetHistValue_3D
GetHistValue_nD
GetMinMaxHistValue
NormalizeHist
ThreshHist
CompareHist
CopyHist
SetHistBinRanges
CalcHist
CalcBackProject
CalcBackProjectPatch
CalcEMD
CalcContrastHist
Pyramid Data Types
Histogram Data Types
Chapter 11
Structural Analysis Reference
Contour Processing Functions
ApproxChains
StartReadChainPoints
ReadChainPoint
ApproxPoly
DrawContours
ContourBoundingRect
ContoursMoments
ContourArea
MatchContours
CreateContourTree
ContourFromContourTree
MatchContourTrees
Geometry Functions
FitEllipse
FitLine2D
FitLine3D
Project3D
ConvexHull
ContourConvexHull
ConvexHullApprox
ContourConvexHullApprox
CheckContourConvexity
ConvexityDefects
MinAreaRect
CalcPGH
MinEnclosingCircle
Contour Processing Data Types
Geometry Data Types
Chapter 12
Object Recognition Reference
Eigen Objects Functions
CalcCovarMatrixEx
CalcEigenObjects
CalcDecompCoeff
EigenDecomposite
EigenProjection
Use of Eigen Object Functions
Embedded Hidden Markov Models Functions
Create2DHMM
Release2DHMM
CreateObsInfo
ReleaseObsInfo
ImgToObs_DCT
UniformImgSegm
InitMixSegm
EstimateHMMStateParams
EstimateTransProb
EstimateObsProb
EViterbi
MixSegmL2
HMM Structures
Chapter 13
3D Reconstruction Reference
Camera Calibration Functions
CalibrateCamera
CalibrateCamera_64d
FindExtrinsicCameraParams
FindExtrinsicCameraParams_64d
Rodrigues
Rodrigues_64d
UnDistortOnce
UnDistortInit
UnDistort
FindChessBoardCornerGuesses
View Morphing Functions
FindFundamentalMatrix
MakeScanlines
PreWarpImage
FindRuns
DynamicCorrespondMulti
MakeAlphaScanlines
MorphEpilinesMulti
PostWarpImage
DeleteMoire
POSIT Functions
CreatePOSITObject
POSIT
ReleasePOSITObject
Gesture Recognition Functions
FindHandRegion
FindHandRegionA
CreateHandMask
CalcImageHomography
CalcProbDensity
MaxRect
Chapter 14
Basic Structures and Operations Reference
Image Functions Reference
CreateImageHeader
CreateImage
ReleaseImageHeader
ReleaseImage
CreateImageData
ReleaseImageData
SetImageData
SetImageCOI
SetImageROI
GetImageRawData
InitImageHeader
CopyImage
Pixel Access Macros
CV_INIT_PIXEL_POS
CV_MOVE_TO
CV_MOVE
CV_MOVE_WRAP
CV_MOVE_PARAM
CV_MOVE_PARAM_WRAP
Dynamic Data Structures Reference
Memory Storage Reference
CreateMemStorage
CreateChildMemStorage
ReleaseMemStorage
ClearMemStorage
SaveMemStoragePos
RestoreMemStoragePos
Sequence Reference
CreateSeq
SetSeqBlockSize
SeqPush
SeqPop
SeqPushFront
SeqPopFront
SeqPushMulti
SeqPopMulti
SeqInsert
SeqRemove
ClearSeq
GetSeqElem
SeqElemIdx
CvtSeqToArray
MakeSeqHeaderForArray
Writing and Reading Sequences Reference
StartAppendToSeq
StartWriteSeqEndWriteSeq
FlushSeqWriter
StartReadSeq
GetSeqReaderPos
SetSeqReaderPos
Sets Reference
CreateSet
SetAdd
SetRemove
GetSetElem
ClearSet
Graphs Reference
CreateGraph
GraphAddVtx
GraphRemoveVtx
GraphRemoveVtxByPtr
GraphAddEdge
GraphAddEdgeByPtr
GraphRemoveEdge
GraphRemoveEdgeByPtr
FindGraphEdge
FindGraphEdgeByPtr
GraphVtxDegree
GraphVtxDegreeByPtr
ClearGraph
GetGraphVtx
GraphVtxIdx
GraphEdgeIdx
Graphs Data Structures
Matrix Operations Reference
CreateMat
CreateMatHeader
ReleaseMat
ReleaseMatHeader
InitMatHeader
CloneMat
SetData
GetMat
GetAt
SetAt
GetAtPtr
GetSubArr
GetRow
GetCol
GetDiag
GetRawData
GetSize
CreateData
AllocArray
ReleaseData
FreeArray
Copy
Set
Add
AddS
Sub
SubS
SubRS
Mul
And
AndS
Or
OrS
Xor
XorS
DotProduct
CrossProduct
ScaleAdd
MatMulAdd
MatMulAddS
MulTransposed
Invert
Trace
Det
Mahalonobis
Transpose
Flip
Reshape
SetZero
SetIdentity
SVD
PseudoInv
EigenVV
PerspectiveTransform
Drawing Primitives Reference
Line
LineAA
Rectangle
Circle
Ellipse
EllipseAA
FillPoly
FillConvexPoly
PolyLine
PolyLineAA
InitFont
PutText
GetTextSize
Utility Reference
AbsDiff
AbsDiffS
MatchTemplate
CvtPixToPlane
CvtPlaneToPix
ConvertScale
LUT
InitLineIterator
SampleLine
GetRectSubPix
bFastArctan
Sqrt
bSqrt
InvSqrt
bInvSqrt
bReciprocal
bCartToPolar
bFastExp
bFastLog
RandInit
bRand
Rand
FillImage
RandSetRange
KMeans
Chapter 15
System Functions
LoadPrimitives
GetLibraryInfo 
Comments (0)
books