Classes
Macros
#define
cvMinMaxLocMask(img, mask, min_val, max_val, min_loc, max_loc)
cvMinMaxLoc(img, min_val, max_val, min_loc, max_loc, mask)
#define
cvmAdd(src1, src2, dst)
cvAdd( src1, src2, dst, 0 )
#define
cvmSub(src1, src2, dst)
cvSub( src1, src2, dst, 0 )
#define
CV_MOVE_LEFT(pos, cs) ( --(pos).
x >= 0 ? (pos).currline + (pos).
x*(cs) : 0 )
#define
CV_MOVE_RIGHT(pos, cs) ( ++(pos).
x < (pos).width ? (pos).currline + (pos).
x*(cs) : 0 )
#define
CV_MOVE_UP(pos, cs) (((pos).currline -= (pos).step) != (pos).topline ? (pos).currline + (pos).
x*(cs) : 0 )
#define
CV_MOVE_DOWN(pos, cs) (((pos).currline += (pos).step) != (pos).bottomline ? (pos).currline + (pos).
x*(cs) : 0 )
#define
CV_MOVE_LEFT_WRAP(pos, cs) ((pos).currline + ( --(pos).
x >= 0 ? (pos).
x : ((pos).
x = (pos).width-1))*(cs))
#define
CV_MOVE_RIGHT_WRAP(pos, cs) ((pos).currline + ( ++(pos).
x < (pos).width ? (pos).
x : ((pos).
x = 0))*(cs) )
Typedefs
Enumerations
Functions
void cvProjectPoints (
int point_count,
CvPoint3D64f *_object_points, double *_rotation_vector, double *_translation_vector, double *focal_length,
CvPoint2D64f principal_point, double *_distortion,
CvPoint2D64f *_image_points, double *_deriv_points_rotation_matrix, double *_deriv_points_translation_vect, double *_deriv_points_focal, double *_deriv_points_principal_point, double *_deriv_points_distortion_coeffs)
Macro Definition Documentation
§ CV_GET_CURRENT
#define CV_GET_CURRENT
(
pos,
cs
)
((pos).currline + (pos).
x * (cs))
§ CV_INIT_PIXEL_POS
#define CV_INIT_PIXEL_POS
(
pos,
origin,
_step,
roi,
_x,
_y,
orientation
)
Value:( \
(pos).step = (_step)/sizeof((pos).currline[0]) * (orientation ? -1 : 1), \
(pos).width = (roi).width, \
(pos).height = (roi).height, \
(pos).bottomline = (origin) + (pos).step*(pos).height, \
(pos).topline = (origin) - (pos).step, \
(pos).step_arr[0] = 0, \
(pos).step_arr[1] = -(pos).step, \
(pos).step_arr[2] = (pos).step, \
(pos).x = (_x), \
(pos).currline = (origin) + (pos).step*(_y) )
§ CV_IS_SET_ELEM_EXISTS
§ CV_MOVE_DOWN
#define CV_MOVE_DOWN
(
pos,
cs
)
(((pos).currline += (pos).step) != (pos).bottomline ? (pos).currline + (pos).
x*(cs) : 0 )
§ CV_MOVE_DOWN_WRAP
#define CV_MOVE_DOWN_WRAP
(
pos,
cs
)
Value:((((pos).currline += (pos).step) != (pos).bottomline ? \
(pos).currline : ((pos).currline = (pos).topline + (pos).step)) + (pos).
x*(cs) )
§ CV_MOVE_LD
#define CV_MOVE_LD
(
pos,
cs
§ CV_MOVE_LD_WRAP
#define CV_MOVE_LD_WRAP
(
pos,
cs
§ CV_MOVE_LEFT
#define CV_MOVE_LEFT
(
pos,
cs
)
( --(pos).
x >= 0 ? (pos).currline + (pos).
x*(cs) : 0 )
§ CV_MOVE_LEFT_WRAP
#define CV_MOVE_LEFT_WRAP
(
pos,
cs
)
((pos).currline + ( --(pos).
x >= 0 ? (pos).
x : ((pos).
x = (pos).width-1))*(cs))
§ CV_MOVE_LU
#define CV_MOVE_LU
(
pos,
cs
§ CV_MOVE_LU_WRAP
#define CV_MOVE_LU_WRAP
(
pos,
cs
§ CV_MOVE_PARAM
#define CV_MOVE_PARAM
(
pos,
shift,
cs
)
Value:( (pos).currline += (pos).step_arr[(shift)>>2], (pos).x += ((shift)&3)-2, \
((pos).currline != (pos).topline && (pos).currline != (pos).bottomline && \
(pos).
x >= 0 && (pos).x < (pos).width) ? (pos).currline + (pos).x*(cs) : 0 )
§ CV_MOVE_PARAM_WRAP
#define CV_MOVE_PARAM_WRAP
(
pos,
shift,
cs
)
Value:( (pos).currline += (pos).step_arr[(shift)>>2], \
(pos).currline = ((pos).currline == (pos).topline ? \
(pos).bottomline - (pos).step : \
(pos).currline == (pos).bottomline ? \
(pos).topline + (pos).step : (pos).currline), \
\
(pos).
x += ((shift)&3)-2, \
(pos).x = ((pos).
x < 0 ? (pos).width-1 : (pos).
x >= (pos).width ? 0 : (pos).
x), \
\
(pos).currline + (pos).x*(cs) )
§ CV_MOVE_RD
#define CV_MOVE_RD
(
pos,
cs
§ CV_MOVE_RD_WRAP
#define CV_MOVE_RD_WRAP
(
pos,
cs
§ CV_MOVE_RIGHT
#define CV_MOVE_RIGHT
(
pos,
cs
)
( ++(pos).
x < (pos).width ? (pos).currline + (pos).
x*(cs) : 0 )
§ CV_MOVE_RIGHT_WRAP
#define CV_MOVE_RIGHT_WRAP
(
pos,
cs
)
((pos).currline + ( ++(pos).
x < (pos).width ? (pos).
x : ((pos).
x = 0))*(cs) )
§ CV_MOVE_RU
#define CV_MOVE_RU
(
pos,
cs
§ CV_MOVE_RU_WRAP
#define CV_MOVE_RU_WRAP
(
pos,
cs
§ CV_MOVE_TO
#define CV_MOVE_TO
(
pos,
_x,
_y,
cs
)
Value:((pos).currline = (_y) >= 0 && (_y) < (pos).height ? (pos).topline + ((_y)+1)*(pos).step : 0, \
(pos).
x = (_x) >= 0 && (_x) < (pos).width ? (_x) : 0, (pos).currline + (_x) * (cs) )
§ CV_MOVE_UP
#define CV_MOVE_UP
(
pos,
cs
)
(((pos).currline -= (pos).step) != (pos).topline ? (pos).currline + (pos).
x*(cs) : 0 )
§ CV_MOVE_UP_WRAP
#define CV_MOVE_UP_WRAP
(
pos,
cs
)
Value:((((pos).currline -= (pos).step) != (pos).topline ? \
(pos).currline : ((pos).currline = (pos).bottomline - (pos).step)) + (pos).
x*(cs) )
§ cvAccMask
§ cvCalcHistMask
#define cvCalcHistMask
(
img,
mask,
hist,
doNotClear
§ cvContourMoments
#define cvContourMoments
(
contour,
moments
§ cvConvertPointsHomogenious
§ cvCopyImage
#define cvCopyImage
(
src,
dst
§ cvCreateImageData
§ cvCvtPixToPlane
§ cvCvtPlaneToPix
§ cvGetAt
§ cvGetHistValue_1D
#define cvGetHistValue_1D
(
hist,
idx0
)
((float*)
cvPtr1D( (hist)->bins, (idx0), 0))
§ cvGetHistValue_2D
#define cvGetHistValue_2D
(
hist,
idx0,
idx1
)
((float*)
cvPtr2D( (hist)->bins, (idx0), (idx1), 0))
§ cvGetHistValue_3D
#define cvGetHistValue_3D
(
hist,
idx0,
idx1,
idx2
)
((float*)
cvPtr3D( (hist)->bins, (idx0), (idx1), (idx2), 0))
§ cvGetHistValue_nD
#define cvGetHistValue_nD
(
hist,
idx
)
((float*)
cvPtrND( (hist)->bins, (idx), 0))
§ cvGetImageRawData
§ cvGetPtrAt
§ cvIntegralImage
§ cvmAdd
#define cvmAdd
(
src1,
src2,
dst
)
cvAdd( src1, src2, dst, 0 )
§ cvMake2DPoints
§ cvMake3DPoints
§ cvmAlloc
§ cvmAllocArray
§ cvMatchContours
§ cvmCopy
#define cvmCopy
(
src,
dst
§ cvmCrossProduct
#define cvmCrossProduct
(
vec1,
vec2,
dst
§ cvmDet
#define cvmDet
(
mat )
cvDet( mat )
§ cvmDotProduct
#define cvmDotProduct
(
vec1,
vec2
§ cvMean_StdDevMask
#define cvMean_StdDevMask
(
img,
mask,
mean,
sdv
§ cvMeanMask
§ cvmEigenVV
#define cvmEigenVV
(
mat,
evec,
eval,
eps
§ cvmFree
§ cvmFreeArray
§ cvMinMaxLocMask
#define cvMinMaxLocMask
(
img,
mask,
min_val,
max_val,
min_loc,
max_loc
)
cvMinMaxLoc(img, min_val, max_val, min_loc, max_loc, mask)
§ cvmInvert
#define cvmInvert
(
src,
dst
§ cvmMahalanobis
#define cvmMahalanobis
(
vec1,
vec2,
mat
§ cvmMul
#define cvmMul
(
src1,
src2,
dst
§ cvmMulTransposed
#define cvmMulTransposed
(
src,
dst,
order
§ cvmScale
#define cvmScale
(
src,
dst,
scale
§ cvmSetIdentity
§ cvmSetZero
§ cvmSub
#define cvmSub
(
src1,
src2,
dst
)
cvSub( src1, src2, dst, 0 )
§ cvmTrace
#define cvmTrace
(
mat )
(
cvTrace( mat )).val[0]
§ cvmTranspose
#define cvmTranspose
(
src,
dst
§ cvMultiplyAccMask
§ cvNormMask
#define cvNormMask
(
imgA,
imgB,
mask,
normType
)
cvNorm(imgA,imgB,normType,mask)
§ cvPseudoInv
§ cvQueryHistValue_1D
#define cvQueryHistValue_1D
(
hist,
idx0
§ cvQueryHistValue_2D
#define cvQueryHistValue_2D
(
hist,
idx0,
idx1
§ cvQueryHistValue_3D
#define cvQueryHistValue_3D
(
hist,
idx0,
idx1,
idx2
)
((float)
cvGetReal3D( (hist)->bins, (idx0), (idx1), (idx2)))
§ cvQueryHistValue_nD
#define cvQueryHistValue_nD
(
hist,
idx
§ cvRandNext
#define cvRandNext
(
_state )
cvRandInt( &(_state)->state )
§ cvReleaseImageData
§ cvReleaseMatHeader
§ cvRemoveMemoryManager
§ cvRunningAvgMask
#define cvRunningAvgMask
(
imgY,
imgU,
mask,
alpha
§ cvSetAt
#define cvSetAt
(
arr,
val,
§ cvSetHistThresh
§ cvSetImageData
§ cvSquareAccMask
§ cvUpdateMHIByTime
§ cvWarpPerspectiveQMatrix
Typedef Documentation
§ CvAdaptiveThreshMethod
§ CvBox2D32f
§ CvChainApproxMethod
§ CvCoeffType
§ CvCompareMethod
§ CvContourRetrievalMode
§ CvContoursMatchMethod
§ CvContourTreesMatchMethod
§ CvDisMaskType
§ CvDisType
§ CvElementShape
§ CvFontFace
§ CvMatArray
§ CvMatr32f
§ CvMatr64d
§ CvMatType
§ CvMorphOp
§ CvPoint2D64d
§ CvPoint3D64d
§ CvPolyApproxMethod
§ CvRodriguesType
§ CvTemplMatchMethod
§ CvThreshType
§ CvVect32f
§ CvVect64d
Enumeration Type Documentation
§ anonymous enum
Enumerator |
---|
CV_MAT32F |
CV_MAT3x1_32F |
CV_MAT4x1_32F |
CV_MAT3x3_32F |
CV_MAT4x4_32F |
CV_MAT64D |
CV_MAT3x1_64D |
CV_MAT4x1_64D |
CV_MAT3x3_64D |
CV_MAT4x4_64D |
§ anonymous enum
Enumerator |
---|
IPL_GAUSSIAN_5x5 |
§ anonymous enum
Enumerator |
---|
CV_SHIFT_NONE |
CV_SHIFT_LEFT |
CV_SHIFT_RIGHT |
CV_SHIFT_UP |
CV_SHIFT_DOWN |
CV_SHIFT_LU |
CV_SHIFT_RU |
CV_SHIFT_LD |
CV_SHIFT_RD |
§ anonymous enum
Enumerator |
---|
CV_RODRIGUES_M2V |
CV_RODRIGUES_V2M |
Function Documentation
§ cvbCartToPolar()
void cvbCartToPolar
(
const float *
y,
const float *
x,
float *
magnitude,
float *
angle,
)
§ cvbFastArctan()
void cvbFastArctan
(
const float *
y,
const float *
x,
float *
angle,
)
§ cvbFastExp()
void cvbFastExp
(
const float *
x,
double *
y,
)
§ cvbFastLog()
void cvbFastLog
(
const double *
x,
float *
y,
)
§ cvbInvSqrt()
void cvbInvSqrt
(
const float *
x,
float *
y,
)
§ cvbRand()
§ cvbReciprocal()
void cvbReciprocal
(
const float *
x,
float *
y,
)
§ cvbSqrt()
void cvbSqrt
(
const float *
x,
float *
y,
)
§ cvCalcEMD()
float cvCalcEMD
(
const float *
signature1,
const float *
signature2,
int dist_type
CV_DEFAULTCV_DIST_L2,
float *lower_bound
CV_DEFAULT0,
void *user_param
CV_DEFAULT0
)
§ cvCalibrateCamera()
void cvCalibrateCamera
(
int
image_count,
float *
_distortion_coeffs,
float *
_camera_matrix,
float *
_translation_vectors,
float *
_rotation_matrices,
)
§ cvCalibrateCamera_64d()
void cvCalibrateCamera_64d
(
int
image_count,
double *
_distortion_coeffs,
double *
_camera_matrix,
double *
_translation_vectors,
double *
_rotation_matrices,
)
§ cvCircleAA()
§ cvContourBoundingRect()
§ cvConvexHull()
§ cvEllipseAA()
double
angle,
double
start_angle,
double
end_angle,
double
color,
)
§ cvEndScanGraph()
§ cvExtractMSER()
§ cvExtractSURF()
int useProvidedKeyPts
CV_DEFAULT0
)
§ cvFillImage()
§ cvFindChessBoardCornerGuesses()
int cvFindChessBoardCornerGuesses
(
const
void *
arr,
)
§ cvFindExtrinsicCameraParams()
void cvFindExtrinsicCameraParams
(
int
point_count,
float *
focal_length,
float *
_distortion_coeffs,
float *
_rotation_vector,
float *
_translation_vector
)
§ cvFindExtrinsicCameraParams_64d()
void cvFindExtrinsicCameraParams_64d
(
int
point_count,
double *
focal_length,
double *
_distortion_coeffs,
double *
_rotation_vector,
double *
_translation_vector
)
§ cvFindFundamentalMatrix()
void cvFindFundamentalMatrix
(
int *
points1,
float *
matrix
)
§ cvFitEllipse()
§ cvFitLine2D()
float
reps,
float
aeps,
float *
line
)
§ cvFitLine3D()
float
reps,
float
aeps,
float *
line
)
§ cvGetStarKeypoints()
§ cvHoughLines()
double
rho,
double
theta,
float *
lines,
)
§ cvHoughLinesP()
double
rho,
double
theta,
)
§ cvHoughLinesSDiv()
double
rho,
double
theta,
float *
lines,
)
§ cvKMeans()
§ cvLineAA()
§ cvMatArray()
§ cvMean()
double cvMean
(
const
CvArr *
image,
const
CvArr *mask
CV_DEFAULT0
)
§ cvMean_StdDev()
double *
mean,
double *
sdv,
const
CvArr *mask
CV_DEFAULT0
)
§ cvMinAreaRect()
§ cvmPerspectiveProject()
void cvmPerspectiveProject
(
const
CvMat *
mat,
)
§ cvMSERParams()
int min_area
CV_DEFAULT60,
int max_area
CV_DEFAULT14400,
float max_variation
CV_DEFAULT.25f,
float min_diversity
CV_DEFAULT.2f,
int max_evolution
CV_DEFAULT200,
double area_threshold
CV_DEFAULT1.01,
double min_margin
CV_DEFAULT.003,
int edge_blur_size
CV_DEFAULT5
)
§ cvPolyLineAA()
§ cvProject3D()
§ cvProjectPoints()
void cvProjectPoints
(
int
point_count,
double *
_rotation_vector,
double *
_translation_vector,
double *
focal_length,
double *
_distortion,
double *
_deriv_points_rotation_matrix,
double *
_deriv_points_translation_vect,
double *
_deriv_points_focal,
double *
_deriv_points_principal_point,
double *
_deriv_points_distortion_coeffs
)
§ cvProjectPointsSimple()
void cvProjectPointsSimple
(
int
point_count,
double *
_rotation_matrix,
double *
_translation_vector,
double *
_camera_matrix,
double *
_distortion,
)
§ cvPseudoInverse()
double cvPseudoInverse
(
const
CvArr *
src,
)
§ cvRand()
§ cvRandInit()
double
param1,
double
param2,
int disttype
CV_DEFAULTCV_RAND_UNI
)
§ cvRandSetRange()
double
param1,
double
param2,
)
§ cvRodrigues()
§ cvStarDetectorParams()
int responseThreshold
CV_DEFAULT30,
int lineThresholdProjected
CV_DEFAULT10,
int lineThresholdBinarized
CV_DEFAULT8,
int suppressNonmaxSize
CV_DEFAULT5
)
§ cvStarKeypoint()
§ cvStartScanGraph()
int mask
CV_DEFAULTCV_GRAPH_ALL_ITEMS
)
§ cvSumPixels()
double cvSumPixels
(
const
CvArr *
image )
§ cvSURFParams()
§ cvSURFPoint()
float dir
CV_DEFAULT0,
float hessian
CV_DEFAULT0
)
§ cvUnDistort()
const
CvArr *
undistortion_map,
)
§ cvUnDistortInit()
CvArr *
undistortion_map,
const float *
A,
const float *
k,
)
§ cvUnDistortOnce()
const float *
intrinsic_matrix,
const float *
distortion_coeffs,
)