Get1D CvScalar
CvArr arr
- int idx0
+ int idx
Get2D CvScalar
CvArr arr
int idx0
int idx2
GetND CvScalar
CvArr arr
- ints idx
+ ints indices
GetReal1D double
CvArr arr
int idx0
int col
Set1D
CvArr arr
- int idx0
+ int idx
CvScalar value
Set2D
CvArr arr
CvScalar value
SetND
CvArr arr
- ints idx
+ ints indices
CvScalar value
SetReal1D
CvArr arr
- int idx0
+ int idx
double value
SetReal2D
CvArr arr
double value
SetRealND
CvArr arr
- ints idx
+ ints indices
double value
mSet
CvMat mat
CvPoint pt2
CvScalar color
int thickness 1
- int line_type 8
+ int lineType 8
int shift 0
Rectangle
CvArr img
CvPoint pt2
CvScalar color
int thickness 1
- int line_type 8
+ int lineType 8
int shift 0
Circle
CvArr img
- CvPoint pt1
+ CvPoint center
int radius
CvScalar color
int thickness 1
- int line_type 8
+ int lineType 8
int shift 0
Ellipse
CvArr img
- CvPoint pt1
+ CvPoint center
CvSize axes
double angle
double start_angle
double end_angle
CvScalar color
int thickness 1
- int line_type 8
+ int lineType 8
int shift 0
EllipseBox
CvArr img
CvBox2D box
CvScalar color
int thickness 1
- int line_type 8
+ int lineType 8
int shift 0
FillPoly
CvArr img
- pts_npts_contours pts
+ pts_npts_contours polys
CvScalar color
- int line_type 8
+ int lineType 8
int shift 0
FillConvexPoly
CvArr img
CvPoints pn
CvScalar color
- int line_type 8
+ int lineType 8
int shift 0
PolyLine
CvArr img
- pts_npts_contours pts
+ pts_npts_contours polys
int is_closed
CvScalar color
int thickness 1
- int line_type 8
+ int lineType 8
int shift 0
#Text
InitFont font
CvFont font /O
- int font_face
+ int fontFace
double hscale
double vscale
double shear 0
int thickness 1
- int line_type 8
+ int lineType 8
PutText
CvArr img
char* text
CvPoint org
CvFont* font
CvScalar color
-GetTextSize text_size,baseline
- char* text_string
+GetTextSize textSize,baseline
+ char* textString
CvFont* font
- CvSize text_size /O
+ CvSize textSize /O
int baseline /O
# Point Sets and Contours
CvScalar hole_color
int max_level
int thickness 1
- int line_type 8
+ int lineType 8
CvPoint offset cvPoint(0,0)
# RTTI and Generic Functions
Save
char* filename
- generic struct_ptr
+ generic structPtr
char* name NULL
char* comment NULL
Load generic
GetRows submat
CvArr arr
CvMat submat /J:arr,O,A
- int start_row
- int end_row
- int delta_row 1
+ int startRow
+ int endRow
+ int deltaRow 1
GetCol submat
CvArr arr
CvMat submat /J:arr,O,A
GetCols submat
CvArr arr
CvMat submat /J:arr,O,A
- int start_col
- int end_col
+ int startCol
+ int endCol
GetDiag submat
CvArr arr
CvMat submat /J:arr,O,A
Copy
CvArr src
CvArr dst
- CvArr msk NULL
+ CvArr mask NULL
Set
CvArr arr
CvScalar value
- CvArr msk NULL
+ CvArr mask NULL
SetZero
CvArr arr
Zero
Flip
CvArr src
CvArr dst NULL
- int flip_mode 0
+ int flipMode 0
Split
CvArr src
CvArr dst0
MixChannels
cvarr_count src /K
cvarr_count dst
- intpair from_to
+ intpair fromTo
RandShuffle
CvArr mat
CvRNG* rng
CvArr dst
CvArr mask NULL
AddS
- CvArr src1
+ CvArr src
CvScalar value
CvArr dst
CvArr mask NULL
CvArr dst
CvArr mask NULL
SubS
- CvArr src1
+ CvArr src
CvScalar value
CvArr dst
CvArr mask NULL
SubRS
- CvArr src1
+ CvArr src
CvScalar value
CvArr dst
CvArr mask NULL
CvArr dst
CvArr mask NULL
AndS
- CvArr src1
+ CvArr src
CvScalar value
CvArr dst
CvArr mask NULL
CvArr dst
CvArr mask NULL
OrS
- CvArr src1
+ CvArr src
CvScalar value
CvArr dst
CvArr mask NULL
CvArr dst
CvArr mask NULL
XorS
- CvArr src1
+ CvArr src
CvScalar value
CvArr dst
CvArr mask NULL
CvArr src1
CvArr src2
CvArr dst
- int cmp_op
+ int cmpOp
CmpS
CvArr src
double value
CvArr dst
- int cmp_op
+ int cmpOp
InRange
CvArr src
CvArr lower
Avg CvScalar
CvArr arr
CvArr mask NULL
-AvgSdv mean,std_dev
+AvgSdv mean,stdDev
CvArr arr
CvScalar mean /O
- CvScalar std_dev /O
+ CvScalar stdDev /O
CvArr mask NULL
-MinMaxLoc min_val,max_val,min_loc,max_loc
+MinMaxLoc minVal,maxVal,minLoc,maxLoc
CvArr arr
- double min_val /O
- double max_val /O
- CvPoint min_loc /O
- CvPoint max_loc /O
+ double minVal /O
+ double maxVal /O
+ CvPoint minLoc /O
+ CvPoint maxLoc /O
CvArr mask NULL
Norm double
CvArr arr1
CvArr arr2
- int norm_type CV_L2
+ int normType CV_L2
CvArr mask NULL
Reduce
CvArr src
CvArr dst
int order
CvArr delta NULL
+ double scale 1.0
Trace CvScalar
CvArr mat
Transpose
int method CV_LU
SVD
CvArr A
- CvArr W /O
- CvArr U /O
- CvArr V /O
+ CvArr W
+ CvArr U NULL
+ CvArr V NULL
int flags 0
SVBkSb
CvArr W
CvArr evects
CvArr evals
double eps
+ int lowindex 0
+ int highindex 0
CalcCovarMatrix
cvarr_count vects /K
- CvArr cov_mat
+ CvArr covMat
CvArr avg
int flags
Mahalonobis
CvArr y
CvArr magnitude
CvArr angle NULL
- int angle_in_degrees
+ int angleInDegrees 0
PolarToCart
CvArr magnitude
- CvArr angle NULL
+ CvArr angle
CvArr x
CvArr y
- int angle_in_degrees
+ int angleInDegrees 0
Pow
CvArr src
CvArr dst
RandArr
CvRNG* rng
CvArr arr
- int dist_type
+ int distType
CvScalar param1
CvScalar param2
RandInt unsigned
CvArr src
CvArr dst
int flags
- int nonzero_rows 0
+ int nonzeroRows 0
GetOptimalDFTSize int
int size0
MulSpectrums
double max_val 0
KMeans2
CvArr samples
- int cluster_count
+ int nclusters
CvArr labels
CvTermCriteria termcrit
CvArr dst
int xorder
int yorder
- int aperture_size 3
+ int apertureSize 3
Laplace
CvArr src
CvArr dst
- int aperture_size 3
+ int apertureSize 3
Canny
CvArr image
CvArr edges
PreCornerDetect
CvArr image
CvArr corners
- int aperture_size 3
+ int apertureSize 3
CornerEigenValsAndVecs
CvArr image
CvArr eigenvv
- int block_size
+ int blockSize
int aperture_size 3
CornerMinEigenVal
CvArr image
CvArr eigenval
- int block_size
+ int blockSize
int aperture_size 3
CornerHarris
CvArr image
CvArr harris_dst
- int block_size
+ int blockSize
int aperture_size 3
double k 0.04
FindCornerSubPix corners
CvSize win
CvSize zero_zone
CvTermCriteria criteria
-GoodFeaturesToTrack corners
+GoodFeaturesToTrack cornerCount
CvArr image
- CvArr eig_image
- CvArr temp_image
- cvpoint2d32f_count corners
- double quality_level
- double min_distance
+ CvArr eigImage
+ CvArr tempImage
+ cvpoint2d32f_count cornerCount
+ double qualityLevel
+ double minDistance
CvArr mask NULL
- int block_size 3
- int use_harris 0
+ int blockSize 3
+ int useHarris 0
double k 0.04
ExtractSURF keypoints,descriptors
CvArr image
GetQuadrangleSubPix
CvArr src
CvArr dst
- CvMat map_matrix
+ CvMat mapMatrix
Resize
CvArr src
CvArr dst
WarpAffine
CvArr src
CvArr dst
- CvMat map_matrix
+ CvMat mapMatrix
int flags CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS
CvScalar fillval cvScalarAll(0)
GetAffineTransform
CvPoint2D32f* src
CvPoint2D32f* dst
- CvMat map_matrix
+ CvMat mapMatrix
GetRotationMatrix2D
CvPoint2D32f center
double angle
double scale
- CvMat map_matrix
+ CvMat mapMatrix
WarpPerspective
CvArr src
CvArr dst
- CvMat map_matrix
+ CvMat mapMatrix
int flags CV_INTER_LINEAR+CV_WARP_FILL_OUTLIERS
CvScalar fillval cvScalarAll(0)
GetPerspectiveTransform
CvPoint2D32f* src
CvPoint2D32f* dst
- CvMat map_matrix
+ CvMat mapMatrix
Remap
CvArr src
CvArr dst
CreateStructuringElementEx IplConvKernel*
int cols
int rows
- int anchor_x
- int anchor_y
+ int anchorX
+ int anchorY
int shape
ints values {NULL,0}
Erode
CvArr image
CvArr sum
CvArr sqsum NULL
- CvArr tilted_sum NULL
+ CvArr tiltedSum NULL
CvtColor
CvArr src
CvArr dst
CvArr src
CvArr dst
double threshold
- double max_value
- int threshold_type
+ double maxValue
+ int thresholdType
AdaptiveThreshold
CvArr src
CvArr dst
- double max_value
+ double maxValue
int adaptive_method CV_ADAPTIVE_THRESH_MEAN_C /ch_adaptive_method
- int threshold_type CV_THRESH_BINARY /ch_threshold_type
- int block_size 3
+ int thresholdType CV_THRESH_BINARY /ch_threshold_type
+ int blockSize 3
double param1 5
# Pyramids and the Applications
ArcLength double
cvarrseq curve
CvSlice slice CV_WHOLE_SEQ
- int is_closed -1
+ int isClosed -1
CreateContourTree CvContourTree*
CvSeq contour
CvMemStorage storage
CvRect* rect1
CvRect* rect2
# TODO PointSeqFromMat
-BoxPoints pt
+BoxPoints points
CvBox2D box
- CvPoint2D32f_4 pt /O,A
+ CvPoint2D32f_4 points /O,A
FitEllipse2 CvBox2D
CvArr points
ConvexHull2 CvSeq*
int measure_dist
MinAreaRect2 CvBox2D
cvarrseq points
- CvMemStorage storage
+ CvMemStorage storage NULL
MinEnclosingCircle int,center,radius
cvarrseq points
CvPoint2D32f center /O
double scale_factor 1.1 /ch_doubleAbove1
int min_neighbors 3
int flags 0
-# CvSize min_size cvSize(0,0)
+ CvSize min_size cvSize(0,0)
+ComputeCorrespondEpilines
+ CvMat points
+ int whichImage
+ CvMat F
+ CvMat lines
+ConvertPointsHomogeneous
+ CvMat src
+ CvMat dst
ProjectPoints2
- CvMat object_points
- CvMat rotation_vector
- CvMat translation_vector
- CvMat intrinsic_matrix
- CvMat distortion_coeffs
- CvMat image_points
+ CvMat objectPoints
+ CvMat rvec
+ CvMat tvec
+ CvMat cameraMatrix
+ CvMat distCoeffs
+ CvMat imagePoints
CvMat dpdrot NULL
CvMat dpdt NULL
CvMat dpdf NULL
CvMat dpdc NULL
CvMat dpddist NULL
-FindHomography homography
- CvMat src_points
- CvMat dst_points
- CvMat homography
+ReprojectImageTo3D
+ CvArr disparity
+ CvArr _3dImage
+ CvMat Q
+ int handleMissingValues 0
+RQDecomp3x3 eulerAngles
+ CvMat M
+ CvMat R
+ CvMat Q
+ CvMat Qx NULL
+ CvMat Qy NULL
+ CvMat Qz NULL
+ CvPoint3D64f eulerAngles /O
+FindHomography H
+ CvMat srcPoints
+ CvMat dstPoints
+ CvMat H
int method 0
double ransacReprojThreshold 0.0
- CvMat mask NULL
+ CvMat status NULL
+CreateStereoBMState CvStereoBMState*
+ int preset CV_STEREO_BM_BASIC
+ int numberOfDisparities 0
+CreateStereoGCState CvStereoGCState*
+ int numberOfDisparities
+ int maxIters
+FindStereoCorrespondenceBM
+ CvArr left
+ CvArr right
+ CvArr disparity
+ CvStereoBMState* state
+FindStereoCorrespondenceGC
+ CvArr left
+ CvArr right
+ CvArr dispLeft
+ CvArr dispRight
+ CvStereoGCState* state
+ int useDisparityGuess 0
+#CalcImageHomography
+# floats line
+# CvPoint3D32f center
+# floats intrinsic
+# floats intrinsic
CalibrateCamera2
- CvMat object_points
- CvMat image_points
- CvMat point_counts
- CvSize image_size
- CvMat intrinsic_matrix
- CvMat distortion_coeffs
- CvMat rotation_vectors
- CvMat translation_vectors
+ CvMat objectPoints
+ CvMat imagePoints
+ CvMat pointCounts
+ CvSize imageSize
+ CvMat cameraMatrix
+ CvMat distCoeffs
+ CvMat rvecs
+ CvMat tvecs
int flags 0
CalibrationMatrixValues fovx,fovy,focalLength,principalPoint,pixelAspectRatio
CvMat calibMatr
CvPoint2D64f principalPoint /O
double pixelAspectRatio /O
FindExtrinsicCameraParams2
- CvMat object_points
- CvMat image_points
- CvMat intrinsic_matrix
- CvMat distortion_coeffs
- CvMat rotation_vector
- CvMat translation_vector
+ CvMat objectPoints
+ CvMat imagePoints
+ CvMat cameraMatrix
+ CvMat distCoeffs
+ CvMat rvec
+ CvMat tvec
+ int useExtrinsicGuess 0
+FindFundamentalMat int
+ CvMat points1
+ CvMat points2
+ CvMat fundamentalMatrix
+ int method CV_FM_RANSAC
+ double param1 1.
+ double param2 0.99
+ CvMat status NULL
StereoCalibrate
- CvMat object_points
- CvMat image_points1
- CvMat image_points2
- CvMat point_counts
- CvMat camera_matrix1
- CvMat dist_coeffs1
- CvMat camera_matrix2
- CvMat dist_coeffs2
- CvSize image_size
+ CvMat objectPoints
+ CvMat imagePoints1
+ CvMat imagePoints2
+ CvMat pointCounts
+ CvMat cameraMatrix1
+ CvMat distCoeffs1
+ CvMat cameraMatrix2
+ CvMat distCoeffs2
+ CvSize imageSize
CvMat R
CvMat T
CvMat E NULL
CvMat newCameraMatrix
CvSize newImageSize cvSize(0,0)
CvRect* validPixROI NULL
-StereoRectify
- CvMat camera_matrix1
- CvMat camera_matrix2
- CvMat dist_coeffs1
- CvMat dist_coeffs2
- CvSize image_size
+InitIntrinsicParams2D
+ CvMat objectPoints
+ CvMat imagePoints
+ CvMat npoints
+ CvSize imageSize
+ CvMat cameraMatrix
+ double aspectRatio 1.
+StereoRectify roi1,roi2
+ CvMat cameraMatrix1
+ CvMat cameraMatrix2
+ CvMat distCoeffs1
+ CvMat distCoeffs2
+ CvSize imageSize
CvMat R
CvMat T
CvMat R1
int flags CV_CALIB_ZERO_DISPARITY
double alpha -1
CvSize newImageSize cvSize(0,0)
- CvRect* roi1 NULL
- CvRect* roi2 NULL
+ CvRect roi1 /O
+ CvRect roi2 /O
StereoRectifyUncalibrated
CvMat points1
CvMat points2
CvMat F
- CvSize image_size
+ CvSize imageSize
CvMat H1
CvMat H2
double threshold 5
Undistort2
CvArr src
CvArr dst
- CvMat intrinsic_matrix
- CvMat distortion_coeffs
+ CvMat cameraMatrix
+ CvMat distCoeffs
InitUndistortMap
- CvMat camera_matrix
- CvMat distortion_coeffs
- CvArr mapx
- CvArr mapy
+ CvMat cameraMatrix
+ CvMat distCoeffs
+ CvArr map1
+ CvArr map2
InitUndistortRectifyMap
- CvMat camera_matrix
- CvMat dist_coeffs
+ CvMat cameraMatrix
+ CvMat distCoeffs
CvMat R
- CvMat new_camera_matrix
- CvArr mapx
- CvArr mapy
+ CvMat newCameraMatrix
+ CvArr map1
+ CvArr map2
UndistortPoints
CvMat src
CvMat dst
- CvMat camera_matrix
- CvMat dist_coeffs
+ CvMat cameraMatrix
+ CvMat distCoeffs
CvMat R NULL
CvMat P NULL
+DecomposeProjectionMatrix eulerAngles
+ CvMat projMatrix
+ CvMat cameraMatrix
+ CvMat rotMatrix
+ CvMat transVect
+ CvMat rotMatrX NULL
+ CvMat rotMatrY NULL
+ CvMat rotMatrZ NULL
+ CvPoint3D64f eulerAngles /O
DrawChessboardCorners
CvArr image
- CvSize pattern_size
+ CvSize patternSize
CvPoint2D32fs corners
- int pattern_was_found
+ int patternWasFound
CreatePOSITObject CvPOSITObject*
CvPoint3D32fs points
-POSIT rotation_matrix,translation_vector
+POSIT rotationMatrix,translation_vector
CvPOSITObject* posit_object
- CvPoint2D32f* image_points
+ CvPoint2D32f* imagePoints
double focal_length
CvTermCriteria criteria
- CvMatr32f_i rotation_matrix /O,A
+ CvMatr32f_i rotationMatrix /O,A
CvVect32f_i translation_vector /O,A
EstimateRigidTransform
CvArr orientation /ch_matF
double delta1
double delta2
- int aperture_size 3 /ch_aperture
+ int apertureSize 3 /ch_aperture
CalcGlobalOrientation double
CvArr orientation
CvArr mask
CvArr mhi
double timestamp
double duration
-SegmentMotion
+SegmentMotion CvSeq*
CvArr mhi
CvArr seg_mask
CvMemStorage storage
CvTermCriteria criteria
CvConnectedComp comp /O
CvBox2D box /O
+CreateKalman CvKalman*
+ int dynam_params
+ int measure_params
+ int control_params 0
+KalmanCorrect ROCvMat*
+ CvKalman* kalman
+ CvMat measurement
+KalmanPredict ROCvMat*
+ CvKalman* kalman
+ CvMat control NULL
SnakeImage
IplImage image
CvPoints points
CalcOpticalFlowLK
CvArr prev
CvArr curr
- CvSize win_size
+ CvSize winSize
CvArr velx
CvArr vely
CalcOpticalFlowBM
CvArr prev /ch_image8
CvArr curr /ch_image8
- CvSize block_size
- CvSize shift_size
+ CvSize blockSize
+ CvSize shiftSize
CvSize max_range
- int use_previous
+ int usePrevious
CvArr velx /ch_vel
CvArr vely /ch_vel
CalcOpticalFlowHS
CvArr prev /ch_image8
CvArr curr /ch_image8
- int use_previous
+ int usePrevious
CvArr velx /ch_vel_64
CvArr vely /ch_vel_64
double lambda
char* name
CvArr image
GetTrackbarPos
- char* trackbar_name
- char* window_name
+ char* trackbarName
+ char* windowName
SetTrackbarPos
- char* trackbar_name
- char* window_name
+ char* trackbarName
+ char* windowName
int pos
#WaitKey int
# int delay 0
CvArr image
CaptureFromFile CvCapture*
char* filename
+CreateFileCapture CvCapture*
+ char* filename
CaptureFromCAM CvCapture*
int index
CreateCameraCapture CvCapture*
int iscolor CV_LOAD_IMAGE_COLOR
StartWindowThread
+GetTickCount int64
+GetTickFrequency int64
+
# cvaux stuff
HOGDetectMultiScale CvSeq*
CvArr image
CvSize cell_size cvSize(8,8)
int nbins 9
int gammaCorrection 1
+
+# These functions are handwritten in cv.cpp; they appear here as 'doconly' declarations
+# so that their documentation can be auto-generated
+ApproxPoly /doconly
+ cvarrseq src_seq
+ CvMemStorage storage
+ int method
+ double parameter 0.0
+ int parameter2 0
+CalcEMD2 /doconly
+ CvArr signature1
+ CvArr signature2
+ int distance_type
+ PyCallableObject* distance_func NULL
+ CvArr cost_matrix NULL
+ CvArr flow NULL
+ float lower_bound 0.0
+ PyObject* userdata NULL
+CalcOpticalFlowPyrLK currFeatures,status,track_error /doconly
+ CvArr prev
+ CvArr curr
+ CvArr prevPyr
+ CvArr currPyr
+ CvPoint2D32f* prevFeatures
+ CvSize winSize
+ int level
+ CvTermCriteria criteria
+ int flags
+ CvPoint2D32f* guesses
+ CvPoint2D32f currFeatures /O
+ char status /O
+ float track_error /O
+ClipLine point1,point2 /doconly
+ CvSize imgSize
+ CvPoint pt1
+ CvPoint pt2
+CreateData /doconly
+ CvArr arr
+CreateHist /doconly
+ ints dims
+ int type
+ ranges ranges None
+ int uniform 1
+CreateImageHeader /doconly
+ int size
+ int depth
+ int channels
+CreateImage /doconly
+ int size
+ int depth
+ int channels
+CreateMatHeader /doconly
+ int rows
+ int cols
+ int type
+CreateMat /doconly
+ int rows
+ int cols
+ int type
+CreateMatNDHeader /doconly
+ ints dims
+ int type
+CreateMatND /doconly
+ ints dims
+ int type
+CreateMemStorage /doconly
+ int blockSize
+CreateTrackbar /doconly
+ char* trackbarName
+ char* windowName
+ int value
+ int count
+ PyCallableObject* onChange
+FindChessboardCorners corners /doconly
+ CvArr image
+ CvSize patternSize
+ CvPoint2D32fs corners /O
+ int flags CV_CALIB_CB_ADAPTIVE_THRESH
+FindContours /doconly
+ CvArr image
+ CvMemStorage storage
+ int mode CV_RETR_LIST
+ int method CV_CHAIN_APPROX_SIMPLE
+ CvPoint offset (0,0)
+FitLine line /doconly
+ CvArr points
+ int dist_type
+ double param
+ double reps
+ double aeps
+ PyObject* line /O
+GetDims /doconly
+ CvArr arr
+GetHuMoments hu /doconly
+ CvMoments moments
+ PyObject* hu /O
+GetImage /doconly
+ CvMat arr
+GetMat /doconly
+ IplImage arr
+ int allowND 0
+GetMinMaxHistValue min_value,max_value,min_idx,max_idx /doconly
+ CvHistogram hist
+ CvScalar min_value /O
+ CvScalar max_value /O
+ ints min_idx /O
+ ints max_idx /O
+InitLineIterator line_iterator /doconly
+ CvArr image
+ CvPoint pt1
+ CvPoint pt2
+ iter line_iterator /O
+ int connectivity 8
+ int left_to_right 0
+LoadImageM /doconly
+ char* filename
+ int iscolor CV_LOAD_IMAGE_COLOR
+LoadImage /doconly
+ char* filename
+ int iscolor CV_LOAD_IMAGE_COLOR
+ReshapeMatND /doconly
+ CvMat arr
+ int newCn
+ ints newDims
+Reshape /doconly
+ CvArr arr
+ int newCn
+ int newRows
+SetData /doconly
+ CvArr arr
+ PyObject* data
+ int step
+SetMouseCallback /doconly
+ char* windowName
+ PyCallableObject* onMouse
+ PyObject* param None
+Subdiv2DLocate loc,where /doconly
+ CvSubdiv2D* subdiv
+ CvPoint2D32f pt
+ int loc /O
+ edgeorpoint where /O
+WaitKey /doconly
+ int delay 0