Classes | Typedefs | Enumerations | Functions | Variables
compat.hpp File Reference

Go to the source code of this file.

Classes

struct  CvRandState
 
struct  _CvPixelPosition8u
 
struct  _CvPixelPosition8s
 
struct  _CvPixelPosition32f
 
struct  CvSURFPoint
 
struct  CvSURFParams
 
struct  CvMSERParams
 Maximal Stable Regions Parameters. More...
 
struct  CvStarKeypoint
 
struct  CvStarDetectorParams
 

Typedefs

typedef int CvMatType
 
typedef int CvDisMaskType
 
typedef CvMat CvMatArray
 
typedef int CvThreshType
 
typedef int CvAdaptiveThreshMethod
 
typedef int CvCompareMethod
 
typedef int CvFontFace
 
typedef int CvPolyApproxMethod
 
typedef int CvContoursMatchMethod
 
typedef int CvContourTreesMatchMethod
 
typedef int CvCoeffType
 
typedef int CvRodriguesType
 
typedef int CvElementShape
 
typedef int CvMorphOp
 
typedef int CvTemplMatchMethod
 
typedef CvPoint2D64f CvPoint2D64d
 
typedef CvPoint3D64f CvPoint3D64d
 
typedef CvBox2D CvBox2D32f
 
typedef struct CvRandState CvRandState
 
typedef int CvDisType
 
typedef int CvChainApproxMethod
 
typedef int CvContourRetrievalMode
 
typedef struct _CvPixelPosition8u CvPixelPosition8u
 
typedef struct _CvPixelPosition8s CvPixelPosition8s
 
typedef struct _CvPixelPosition32f CvPixelPosition32f
 
typedef float * CvVect32f
 
typedef float * CvMatr32f
 
typedef double * CvVect64d
 
typedef double * CvMatr64d
 
typedef struct CvSURFPoint CvSURFPoint
 
typedef struct CvSURFParams CvSURFParams
 
typedef struct CvMSERParams CvMSERParams
 Maximal Stable Regions Parameters. More...
 
typedef struct CvStarKeypoint CvStarKeypoint
 
typedef struct CvStarDetectorParams CvStarDetectorParams
 

Enumerations

enum  {
  CV_MAT32F = CV_32FC1, CV_MAT3x1_32F = CV_32FC1, CV_MAT4x1_32F = CV_32FC1, CV_MAT3x3_32F = CV_32FC1,
  CV_MAT4x4_32F = CV_32FC1, CV_MAT64D = CV_64FC1, CV_MAT3x1_64D = CV_64FC1, CV_MAT4x1_64D = CV_64FC1,
  CV_MAT3x3_64D = CV_64FC1, CV_MAT4x4_64D = CV_64FC1
}
 
enum  { IPL_GAUSSIAN_5x5 = 7 }
 
enum  {
  CV_SHIFT_NONE = 2, CV_SHIFT_LEFT = 1, CV_SHIFT_RIGHT = 3, CV_SHIFT_UP = 6,
  CV_SHIFT_DOWN = 10, CV_SHIFT_LU = 5, CV_SHIFT_RU = 7, CV_SHIFT_LD = 9,
  CV_SHIFT_RD = 11
}
 
enum  { CV_RODRIGUES_M2V = 0, CV_RODRIGUES_V2M = 1 }
 

Functions

CV_EXPORTS CvMat cvMatArray (int rows, int cols, int type, int count, void *data CV_DEFAULT(0))
 
CV_EXPORTS double cvMean (const CvArr *image, const CvArr *mask CV_DEFAULT(0))
 
CV_EXPORTS double cvSumPixels (const CvArr *image)
 
CV_EXPORTS void cvMean_StdDev (const CvArr *image, double *mean, double *sdv, const CvArr *mask CV_DEFAULT(0))
 
CV_EXPORTS void cvmPerspectiveProject (const CvMat *mat, const CvArr *src, CvArr *dst)
 
CV_EXPORTS void cvFillImage (CvArr *mat, double color)
 
CV_EXPORTS void cvRandSetRange (CvRandState *state, double param1, double param2, int index CV_DEFAULT(-1))
 
CV_EXPORTS void cvRandInit (CvRandState *state, double param1, double param2, int seed, int disttype CV_DEFAULT(CV_RAND_UNI))
 
CV_EXPORTS void cvRand (CvRandState *state, CvArr *arr)
 
CV_EXPORTS void cvbRand (CvRandState *state, float *dst, int len)
 
CV_EXPORTS void cvbCartToPolar (const float *y, const float *x, float *magnitude, float *angle, int len)
 
CV_EXPORTS void cvbFastArctan (const float *y, const float *x, float *angle, int len)
 
CV_EXPORTS void cvbSqrt (const float *x, float *y, int len)
 
CV_EXPORTS void cvbInvSqrt (const float *x, float *y, int len)
 
CV_EXPORTS void cvbReciprocal (const float *x, float *y, int len)
 
CV_EXPORTS void cvbFastExp (const float *x, double *y, int len)
 
CV_EXPORTS void cvbFastLog (const double *x, float *y, int len)
 
CV_EXPORTS CvRect cvContourBoundingRect (void *point_set, int update CV_DEFAULT(0))
 
CV_EXPORTS double cvPseudoInverse (const CvArr *src, CvArr *dst)
 
CV_EXPORTS void cvConvexHull (CvPoint *points, int num_points, CvRect *bound_rect, int orientation, int *hull, int *hullsize)
 
CV_EXPORTS void cvMinAreaRect (CvPoint *points, int n, int left, int bottom, int right, int top, CvPoint2D32f *anchor, CvPoint2D32f *vect1, CvPoint2D32f *vect2)
 
CV_EXPORTS void cvFitLine3D (CvPoint3D32f *points, int count, int dist, void *param, float reps, float aeps, float *line)
 
CV_EXPORTS void cvFitLine2D (CvPoint2D32f *points, int count, int dist, void *param, float reps, float aeps, float *line)
 
CV_EXPORTS void cvFitEllipse (const CvPoint2D32f *points, int count, CvBox2D *box)
 
CV_EXPORTS void cvProject3D (CvPoint3D32f *points3D, int count, CvPoint2D32f *points2D, int xIndx CV_DEFAULT(0), int yIndx CV_DEFAULT(1))
 
CV_EXPORTS int cvHoughLines (CvArr *image, double rho, double theta, int threshold, float *lines, int linesNumber)
 
CV_EXPORTS int cvHoughLinesP (CvArr *image, double rho, double theta, int threshold, int lineLength, int lineGap, int *lines, int linesNumber)
 
CV_EXPORTS int cvHoughLinesSDiv (CvArr *image, double rho, int srn, double theta, int stn, int threshold, float *lines, int linesNumber)
 
CV_EXPORTS float cvCalcEMD (const float *signature1, int size1, const float *signature2, int size2, int dims, int dist_type CV_DEFAULT(CV_DIST_L2), CvDistanceFunction dist_func CV_DEFAULT(0), float *lower_bound CV_DEFAULT(0), void *user_param CV_DEFAULT(0))
 
CV_EXPORTS void cvKMeans (int num_clusters, float **samples, int num_samples, int vec_size, CvTermCriteria termcrit, int *cluster_idx)
 
CV_EXPORTS void cvStartScanGraph (CvGraph *graph, CvGraphScanner *scanner, CvGraphVtx *vtx CV_DEFAULT(NULL), int mask CV_DEFAULT(CV_GRAPH_ALL_ITEMS))
 
CV_EXPORTS void cvEndScanGraph (CvGraphScanner *scanner)
 
CV_EXPORTS void cvLineAA (CvArr *img, CvPoint pt1, CvPoint pt2, double color, int scale CV_DEFAULT(0))
 
CV_EXPORTS void cvCircleAA (CvArr *img, CvPoint center, int radius, double color, int scale CV_DEFAULT(0))
 
CV_EXPORTS void cvEllipseAA (CvArr *img, CvPoint center, CvSize axes, double angle, double start_angle, double end_angle, double color, int scale CV_DEFAULT(0))
 
CV_EXPORTS void cvPolyLineAA (CvArr *img, CvPoint **pts, int *npts, int contours, int is_closed, double color, int scale CV_DEFAULT(0))
 
CV_EXPORTS void cvUnDistortOnce (const CvArr *src, CvArr *dst, const float *intrinsic_matrix, const float *distortion_coeffs, int interpolate)
 
CV_EXPORTS void cvUnDistortInit (const CvArr *src, CvArr *undistortion_map, const float *A, const float *k, int interpolate)
 
CV_EXPORTS void cvUnDistort (const CvArr *src, CvArr *dst, const CvArr *undistortion_map, int interpolate)
 
CV_EXPORTS void cvFindFundamentalMatrix (int *points1, int *points2, int numpoints, int method, float *matrix)
 
CV_EXPORTS int cvFindChessBoardCornerGuesses (const void *arr, void *thresharr, CvMemStorage *storage, CvSize pattern_size, CvPoint2D32f *corners, int *corner_count)
 
CV_EXPORTS void cvCalibrateCamera (int image_count, int *_point_counts, CvSize image_size, CvPoint2D32f *_image_points, CvPoint3D32f *_object_points, float *_distortion_coeffs, float *_camera_matrix, float *_translation_vectors, float *_rotation_matrices, int flags)
 
CV_EXPORTS void cvCalibrateCamera_64d (int image_count, int *_point_counts, CvSize image_size, CvPoint2D64f *_image_points, CvPoint3D64f *_object_points, double *_distortion_coeffs, double *_camera_matrix, double *_translation_vectors, double *_rotation_matrices, int flags)
 
CV_EXPORTS void cvFindExtrinsicCameraParams (int point_count, CvSize image_size, CvPoint2D32f *_image_points, CvPoint3D32f *_object_points, float *focal_length, CvPoint2D32f principal_point, float *_distortion_coeffs, float *_rotation_vector, float *_translation_vector)
 
CV_EXPORTS void cvFindExtrinsicCameraParams_64d (int point_count, CvSize image_size, CvPoint2D64f *_image_points, CvPoint3D64f *_object_points, double *focal_length, CvPoint2D64f principal_point, double *_distortion_coeffs, double *_rotation_vector, double *_translation_vector)
 
CV_EXPORTS void cvRodrigues (CvMat *rotation_matrix, CvMat *rotation_vector, CvMat *jacobian, int conv_type)
 
CV_EXPORTS 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)
 
CV_EXPORTS void cvProjectPointsSimple (int point_count, CvPoint3D64f *_object_points, double *_rotation_matrix, double *_translation_vector, double *_camera_matrix, double *_distortion, CvPoint2D64f *_image_points)
 
CV_INLINE CvSURFPoint cvSURFPoint (CvPoint2D32f pt, int laplacian, int size, float dir CV_DEFAULT(0), float hessian CV_DEFAULT(0))
 
 CVAPI (CvSURFParams) cvSURFParams(double hessianThreshold
 
int extended CV_DEFAULT (0))
 
 CVAPI (void) cvExtractSURF(const CvArr *img
 
 CVAPI (CvMSERParams) cvMSERParams(int delta CV_DEFAULT(5)
 
int min_area CV_DEFAULT (60)
 
int min_area int max_area CV_DEFAULT (14400)
 
int min_area int max_area
float max_variation 
CV_DEFAULT (.25f)
 
int min_area int max_area
float max_variation float
min_diversity int
max_evolution 
CV_DEFAULT (200)
 
int min_area int max_area
float max_variation float
min_diversity int
max_evolution double
area_threshold 
CV_DEFAULT (1.01)
 
int min_area int max_area
float max_variation float
min_diversity int
max_evolution double
area_threshold double
min_margin int edge_blur_size 
CV_DEFAULT (5))
 
CV_INLINE CvStarKeypoint cvStarKeypoint (CvPoint pt, int size, float response)
 
CV_INLINE CvStarDetectorParams cvStarDetectorParams (int maxSize CV_DEFAULT(45), int responseThreshold CV_DEFAULT(30), int lineThresholdProjected CV_DEFAULT(10), int lineThresholdBinarized CV_DEFAULT(8), int suppressNonmaxSize CV_DEFAULT(5))
 
 CVAPI (CvSeq *) cvGetStarKeypoints(const CvArr *img
 
CvMemStorage
CvStarDetectorParams params 
CV_DEFAULT (cvStarDetectorParams()))
 

Variables

const CvArrmask
 
const CvArr CvSeq ** keypoints
 
const CvArr CvSeq CvSeq ** descriptors
 
const CvArr CvSeq CvSeq
CvMemStorage
storage
 
const CvArr CvSeq CvSeq
CvMemStorage CvSURFParams 
params
 
CvArr_mask
 
CvArr CvSeq ** contours
 

Typedef Documentation

typedef int CvMatType
typedef int CvDisMaskType
typedef CvMat CvMatArray
typedef int CvThreshType
typedef int CvFontFace
typedef int CvCoeffType
typedef int CvMorphOp
typedef struct CvRandState CvRandState
typedef int CvDisType
typedef float* CvVect32f
typedef float* CvMatr32f
typedef double* CvVect64d
typedef double* CvMatr64d
typedef struct CvSURFPoint CvSURFPoint
typedef struct CvSURFParams CvSURFParams
typedef struct CvMSERParams CvMSERParams

Maximal Stable Regions Parameters.

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

CV_EXPORTS CvMat cvMatArray ( int  rows,
int  cols,
int  type,
int  count,
void *data   CV_DEFAULT
)
CV_EXPORTS double cvMean ( const CvArr image,
const CvArr *mask   CV_DEFAULT
)
CV_EXPORTS double cvSumPixels ( const CvArr image)
CV_EXPORTS void cvMean_StdDev ( const CvArr image,
double *  mean,
double *  sdv,
const CvArr *mask   CV_DEFAULT
)
CV_EXPORTS void cvmPerspectiveProject ( const CvMat mat,
const CvArr src,
CvArr dst 
)
CV_EXPORTS void cvFillImage ( CvArr mat,
double  color 
)
CV_EXPORTS void cvRandSetRange ( CvRandState state,
double  param1,
double  param2,
int index   CV_DEFAULT-1 
)
CV_EXPORTS void cvRandInit ( CvRandState state,
double  param1,
double  param2,
int  seed,
int disttype   CV_DEFAULTCV_RAND_UNI 
)
CV_EXPORTS void cvRand ( CvRandState state,
CvArr arr 
)
CV_EXPORTS void cvbRand ( CvRandState state,
float *  dst,
int  len 
)
CV_EXPORTS void cvbCartToPolar ( const float *  y,
const float *  x,
float *  magnitude,
float *  angle,
int  len 
)
CV_EXPORTS void cvbFastArctan ( const float *  y,
const float *  x,
float *  angle,
int  len 
)
CV_EXPORTS void cvbSqrt ( const float *  x,
float *  y,
int  len 
)
CV_EXPORTS void cvbInvSqrt ( const float *  x,
float *  y,
int  len 
)
CV_EXPORTS void cvbReciprocal ( const float *  x,
float *  y,
int  len 
)
CV_EXPORTS void cvbFastExp ( const float *  x,
double *  y,
int  len 
)
CV_EXPORTS void cvbFastLog ( const double *  x,
float *  y,
int  len 
)
CV_EXPORTS CvRect cvContourBoundingRect ( void point_set,
int update   CV_DEFAULT
)
CV_EXPORTS double cvPseudoInverse ( const CvArr src,
CvArr dst 
)
CV_EXPORTS void cvConvexHull ( CvPoint points,
int  num_points,
CvRect bound_rect,
int  orientation,
int hull,
int hullsize 
)
CV_EXPORTS void cvMinAreaRect ( CvPoint points,
int  n,
int  left,
int  bottom,
int  right,
int  top,
CvPoint2D32f anchor,
CvPoint2D32f vect1,
CvPoint2D32f vect2 
)
CV_EXPORTS void cvFitLine3D ( CvPoint3D32f points,
int  count,
int  dist,
void param,
float  reps,
float  aeps,
float *  line 
)
CV_EXPORTS void cvFitLine2D ( CvPoint2D32f points,
int  count,
int  dist,
void param,
float  reps,
float  aeps,
float *  line 
)
CV_EXPORTS void cvFitEllipse ( const CvPoint2D32f points,
int  count,
CvBox2D box 
)
CV_EXPORTS void cvProject3D ( CvPoint3D32f points3D,
int  count,
CvPoint2D32f points2D,
int xIndx   CV_DEFAULT0,
int yIndx   CV_DEFAULT
)
CV_EXPORTS int cvHoughLines ( CvArr image,
double  rho,
double  theta,
int  threshold,
float *  lines,
int  linesNumber 
)
CV_EXPORTS int cvHoughLinesP ( CvArr image,
double  rho,
double  theta,
int  threshold,
int  lineLength,
int  lineGap,
int lines,
int  linesNumber 
)
CV_EXPORTS int cvHoughLinesSDiv ( CvArr image,
double  rho,
int  srn,
double  theta,
int  stn,
int  threshold,
float *  lines,
int  linesNumber 
)
CV_EXPORTS float cvCalcEMD ( const float *  signature1,
int  size1,
const float *  signature2,
int  size2,
int  dims,
int dist_type   CV_DEFAULTCV_DIST_L2,
CvDistanceFunction dist_func   CV_DEFAULT0,
float *lower_bound   CV_DEFAULT0,
void *user_param   CV_DEFAULT
)
CV_EXPORTS void cvKMeans ( int  num_clusters,
float **  samples,
int  num_samples,
int  vec_size,
CvTermCriteria  termcrit,
int cluster_idx 
)
CV_EXPORTS void cvStartScanGraph ( CvGraph graph,
CvGraphScanner scanner,
CvGraphVtx *vtx   CV_DEFAULTNULL,
int mask   CV_DEFAULTCV_GRAPH_ALL_ITEMS 
)
CV_EXPORTS void cvEndScanGraph ( CvGraphScanner scanner)
CV_EXPORTS void cvLineAA ( CvArr img,
CvPoint  pt1,
CvPoint  pt2,
double  color,
int scale   CV_DEFAULT
)
CV_EXPORTS void cvCircleAA ( CvArr img,
CvPoint  center,
int  radius,
double  color,
int scale   CV_DEFAULT
)
CV_EXPORTS void cvEllipseAA ( CvArr img,
CvPoint  center,
CvSize  axes,
double  angle,
double  start_angle,
double  end_angle,
double  color,
int scale   CV_DEFAULT
)
CV_EXPORTS void cvPolyLineAA ( CvArr img,
CvPoint **  pts,
int npts,
int  contours,
int  is_closed,
double  color,
int scale   CV_DEFAULT
)
CV_EXPORTS void cvUnDistortOnce ( const CvArr src,
CvArr dst,
const float *  intrinsic_matrix,
const float *  distortion_coeffs,
int  interpolate 
)
CV_EXPORTS void cvUnDistortInit ( const CvArr src,
CvArr undistortion_map,
const float *  A,
const float *  k,
int  interpolate 
)
CV_EXPORTS void cvUnDistort ( const CvArr src,
CvArr dst,
const CvArr undistortion_map,
int  interpolate 
)
CV_EXPORTS void cvFindFundamentalMatrix ( int points1,
int points2,
int  numpoints,
int  method,
float *  matrix 
)
CV_EXPORTS int cvFindChessBoardCornerGuesses ( const void arr,
void thresharr,
CvMemStorage storage,
CvSize  pattern_size,
CvPoint2D32f corners,
int corner_count 
)
CV_EXPORTS void cvCalibrateCamera ( int  image_count,
int _point_counts,
CvSize  image_size,
CvPoint2D32f _image_points,
CvPoint3D32f _object_points,
float *  _distortion_coeffs,
float *  _camera_matrix,
float *  _translation_vectors,
float *  _rotation_matrices,
int  flags 
)
CV_EXPORTS void cvCalibrateCamera_64d ( int  image_count,
int _point_counts,
CvSize  image_size,
CvPoint2D64f _image_points,
CvPoint3D64f _object_points,
double *  _distortion_coeffs,
double *  _camera_matrix,
double *  _translation_vectors,
double *  _rotation_matrices,
int  flags 
)
CV_EXPORTS void cvFindExtrinsicCameraParams ( int  point_count,
CvSize  image_size,
CvPoint2D32f _image_points,
CvPoint3D32f _object_points,
float *  focal_length,
CvPoint2D32f  principal_point,
float *  _distortion_coeffs,
float *  _rotation_vector,
float *  _translation_vector 
)
CV_EXPORTS void cvFindExtrinsicCameraParams_64d ( int  point_count,
CvSize  image_size,
CvPoint2D64f _image_points,
CvPoint3D64f _object_points,
double *  focal_length,
CvPoint2D64f  principal_point,
double *  _distortion_coeffs,
double *  _rotation_vector,
double *  _translation_vector 
)
CV_EXPORTS void cvRodrigues ( CvMat rotation_matrix,
CvMat rotation_vector,
CvMat jacobian,
int  conv_type 
)
CV_EXPORTS 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 
)
CV_EXPORTS void cvProjectPointsSimple ( int  point_count,
CvPoint3D64f _object_points,
double *  _rotation_matrix,
double *  _translation_vector,
double *  _camera_matrix,
double *  _distortion,
CvPoint2D64f _image_points 
)
CV_INLINE CvSURFPoint cvSURFPoint ( CvPoint2D32f  pt,
int  laplacian,
int  size,
float dir   CV_DEFAULT0,
float hessian   CV_DEFAULT
)
CVAPI ( CvSURFParams  )
int extended CV_DEFAULT ( )
CVAPI ( void  ) const
CVAPI ( CvMSERParams  )
int min_area CV_DEFAULT ( 60  )
int min_area int max_area CV_DEFAULT ( 14400  )
const int naive const double rho const double tau CV_DEFAULT ( 25f)
int min_area int max_area float max_variation float min_diversity int max_evolution CV_DEFAULT ( 200  )
int min_area int max_area float max_variation float min_diversity int max_evolution double area_threshold CV_DEFAULT ( 1.  01)
int min_area int max_area float max_variation float min_diversity int max_evolution double area_threshold double min_margin int edge_blur_size CV_DEFAULT ( )
CV_INLINE CvStarKeypoint cvStarKeypoint ( CvPoint  pt,
int  size,
float  response 
)
CV_INLINE CvStarDetectorParams cvStarDetectorParams ( int maxSize   CV_DEFAULT45,
int responseThreshold   CV_DEFAULT30,
int lineThresholdProjected   CV_DEFAULT10,
int lineThresholdBinarized   CV_DEFAULT8,
int suppressNonmaxSize   CV_DEFAULT
)
CVAPI ( CvSeq ) const

Variable Documentation

const CvArr* mask
const CvArr CvSeq** keypoints
const CvArr CvSeq CvSeq** descriptors
CvMemStorage* storage
CvArr* _mask
CvArr CvSeq** contours