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
#define CV_GET_CURRENT
(
pos,
cs
)
((pos).currline + (pos).
x * (cs))
#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) )
#define CV_MOVE_DOWN
(
pos,
cs
)
(((pos).currline += (pos).step) != (pos).bottomline ? (pos).currline + (pos).
x*(cs) : 0 )
#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) )
#define CV_MOVE_LD
(
pos,
cs
#define CV_MOVE_LD_WRAP
(
pos,
cs
#define CV_MOVE_LEFT
(
pos,
cs
)
( --(pos).
x >= 0 ? (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_LU
(
pos,
cs
#define CV_MOVE_LU_WRAP
(
pos,
cs
#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 )
#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) )
#define CV_MOVE_RD
(
pos,
cs
#define CV_MOVE_RD_WRAP
(
pos,
cs
#define CV_MOVE_RIGHT
(
pos,
cs
)
( ++(pos).
x < (pos).width ? (pos).currline + (pos).
x*(cs) : 0 )
#define CV_MOVE_RIGHT_WRAP
(
pos,
cs
)
((pos).currline + ( ++(pos).
x < (pos).width ? (pos).
x : ((pos).
x = 0))*(cs) )
#define CV_MOVE_RU
(
pos,
cs
#define CV_MOVE_RU_WRAP
(
pos,
cs
#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) )
#define CV_MOVE_UP
(
pos,
cs
)
(((pos).currline -= (pos).step) != (pos).topline ? (pos).currline + (pos).
x*(cs) : 0 )
#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) )
#define cvCalcHistMask
(
img,
mask,
hist,
doNotClear
#define cvContourMoments
(
contour,
moments
#define cvCopyImage
(
src,
dst
#define cvGetHistValue_1D
(
hist,
idx0
)
((float*)
cvPtr1D( (hist)->bins, (idx0), 0))
#define cvGetHistValue_2D
(
hist,
idx0,
idx1
)
((float*)
cvPtr2D( (hist)->bins, (idx0), (idx1), 0))
#define cvGetHistValue_3D
(
hist,
idx0,
idx1,
idx2
)
((float*)
cvPtr3D( (hist)->bins, (idx0), (idx1), (idx2), 0))
#define cvGetHistValue_nD
(
hist,
idx
)
((float*)
cvPtrND( (hist)->bins, (idx), 0))
#define cvmAdd
(
src1,
src2,
dst
)
cvAdd( src1, src2, dst, 0 )
#define cvmCopy
(
src,
dst
#define cvmCrossProduct
(
vec1,
vec2,
dst
#define cvmDet
(
mat )
cvDet( mat )
#define cvmDotProduct
(
vec1,
vec2
#define cvMean_StdDevMask
(
img,
mask,
mean,
sdv
#define cvmEigenVV
(
mat,
evec,
eval,
eps
#define cvMinMaxLocMask
(
img,
mask,
min_val,
max_val,
min_loc,
max_loc
)
cvMinMaxLoc(img, min_val, max_val, min_loc, max_loc, mask)
#define cvmInvert
(
src,
dst
#define cvmMahalanobis
(
vec1,
vec2,
mat
#define cvmMul
(
src1,
src2,
dst
#define cvmMulTransposed
(
src,
dst,
order
#define cvmScale
(
src,
dst,
scale
#define cvmSub
(
src1,
src2,
dst
)
cvSub( src1, src2, dst, 0 )
#define cvmTrace
(
mat )
(
cvTrace( mat )).val[0]
#define cvmTranspose
(
src,
dst
#define cvNormMask
(
imgA,
imgB,
mask,
normType
)
cvNorm(imgA,imgB,normType,mask)
#define cvQueryHistValue_1D
(
hist,
idx0
#define cvQueryHistValue_2D
(
hist,
idx0,
idx1
#define cvQueryHistValue_3D
(
hist,
idx0,
idx1,
idx2
)
((float)
cvGetReal3D( (hist)->bins, (idx0), (idx1), (idx2)))
#define cvQueryHistValue_nD
(
hist,
idx
#define cvRandNext
(
_state )
cvRandInt( &(_state)->state )
#define cvRunningAvgMask
(
imgY,
imgU,
mask,
alpha
#define cvSetAt
(
arr,
val,
Typedef Documentation
Enumeration Type Documentation
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 |
Enumerator |
---|
IPL_GAUSSIAN_5x5 |
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 |
Enumerator |
---|
CV_RODRIGUES_M2V |
CV_RODRIGUES_V2M |
Function Documentation
void cvbCartToPolar
(
const float *
y,
const float *
x,
float *
magnitude,
float *
angle,
)
void cvbFastArctan
(
const float *
y,
const float *
x,
float *
angle,
)
void cvbFastExp
(
const float *
x,
double *
y,
)
void cvbFastLog
(
const double *
x,
float *
y,
)
void cvbInvSqrt
(
const float *
x,
float *
y,
)
void cvbReciprocal
(
const float *
x,
float *
y,
)
void cvbSqrt
(
const float *
x,
float *
y,
)
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
)
void cvCalibrateCamera
(
int
image_count,
float *
_distortion_coeffs,
float *
_camera_matrix,
float *
_translation_vectors,
float *
_rotation_matrices,
)
void cvCalibrateCamera_64d
(
int
image_count,
double *
_distortion_coeffs,
double *
_camera_matrix,
double *
_translation_vectors,
double *
_rotation_matrices,
)
double
angle,
double
start_angle,
double
end_angle,
double
color,
)
int useProvidedKeyPts
CV_DEFAULT0
)
int cvFindChessBoardCornerGuesses
(
const
void *
arr,
)
void cvFindExtrinsicCameraParams
(
int
point_count,
float *
focal_length,
float *
_distortion_coeffs,
float *
_rotation_vector,
float *
_translation_vector
)
void cvFindExtrinsicCameraParams_64d
(
int
point_count,
double *
focal_length,
double *
_distortion_coeffs,
double *
_rotation_vector,
double *
_translation_vector
)
void cvFindFundamentalMatrix
(
int *
points1,
float *
matrix
)
float
reps,
float
aeps,
float *
line
)
float
reps,
float
aeps,
float *
line
)
double
rho,
double
theta,
float *
lines,
)
double
rho,
double
theta,
)
double
rho,
double
theta,
float *
lines,
)
double cvMean
(
const
CvArr *
image,
const
CvArr *mask
CV_DEFAULT0
)
double *
mean,
double *
sdv,
const
CvArr *mask
CV_DEFAULT0
)
void cvmPerspectiveProject
(
const
CvMat *
mat,
)
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
)
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
)
void cvProjectPointsSimple
(
int
point_count,
double *
_rotation_matrix,
double *
_translation_vector,
double *
_camera_matrix,
double *
_distortion,
)
double cvPseudoInverse
(
const
CvArr *
src,
)
double
param1,
double
param2,
int disttype
CV_DEFAULTCV_RAND_UNI
)
double
param1,
double
param2,
)
int responseThreshold
CV_DEFAULT30,
int lineThresholdProjected
CV_DEFAULT10,
int lineThresholdBinarized
CV_DEFAULT8,
int suppressNonmaxSize
CV_DEFAULT5
)
int mask
CV_DEFAULTCV_GRAPH_ALL_ITEMS
)
double cvSumPixels
(
const
CvArr *
image )
float dir
CV_DEFAULT0,
float hessian
CV_DEFAULT0
)
const
CvArr *
undistortion_map,
)
CvArr *
undistortion_map,
const float *
A,
const float *
k,
)
const float *
intrinsic_matrix,
const float *
distortion_coeffs,
)