| OpenCV 3.4.3 Open Source Computer Vision

Classes | Macros | Functions
C API
Video Analysis

## Classes
struct | CvKalman

## Macros
#define | CV_LKFLOW_GET_MIN_EIGENVALS 8
#define | CV_LKFLOW_INITIAL_GUESSES 4
#define | CV_LKFLOW_PYR_A_READY 1
#define | CV_LKFLOW_PYR_B_READY 2
#define | cvKalmanUpdateByMeasurement cvKalmanCorrect
#define | cvKalmanUpdateByTime cvKalmanPredict

## Functions
void | cvCalcAffineFlowPyrLK (const CvArr *prev, const CvArr *curr, CvArr *prev_pyr, CvArr *curr_pyr, const CvPoint2D32f *prev_features, CvPoint2D32f *curr_features, float *matrices, int count, CvSize win_size, int level, char *status, float *track_error, CvTermCriteria criteria, int flags)
double | cvCalcGlobalOrientation (const CvArr *orientation, const CvArr *mask, const CvArr *mhi, double timestamp, double duration)
void | cvCalcMotionGradient (const CvArr *mhi, CvArr *mask, CvArr *orientation, double delta1, double delta2, int aperture_size=3)
void | cvCalcOpticalFlowFarneback (const CvArr *prev, const CvArr *next, CvArr *flow, double pyr_scale, int levels, int winsize, int iterations, int poly_n, double poly_sigma, int flags)
void | cvCalcOpticalFlowPyrLK (const CvArr *prev, const CvArr *curr, CvArr *prev_pyr, CvArr *curr_pyr, const CvPoint2D32f *prev_features, CvPoint2D32f *curr_features, int count, CvSize win_size, int level, char *status, float *track_error, CvTermCriteria criteria, int flags)
int | cvCamShift (const CvArr *prob_image, CvRect window, CvTermCriteria criteria, CvConnectedComp *comp, CvBox2D *box=NULL)
CvKalman * | cvCreateKalman (int dynam_params, int measure_params, int control_params=0)
int | cvEstimateRigidTransform (const CvArr *A, const CvArr *B, CvMat *M, int full_affine)
const CvMat * | cvKalmanCorrect (CvKalman *kalman, const CvMat *measurement)
const CvMat * | cvKalmanPredict (CvKalman *kalman, const CvMat *control=NULL)
int | cvMeanShift (const CvArr *prob_image, CvRect window, CvTermCriteria criteria, CvConnectedComp *comp)
void | cvReleaseKalman (CvKalman **kalman)
CvSeq * | cvSegmentMotion (const CvArr *mhi, CvArr *seg_mask, CvMemStorage *storage, double timestamp, double seg_thresh)
void | cvUpdateMotionHistory (const CvArr *silhouette, CvArr *mhi, double timestamp, double duration)

## Detailed Description

## Macro Definition Documentation

## § CV_LKFLOW_GET_MIN_EIGENVALS

#define CV_LKFLOW_GET_MIN_EIGENVALS 8

## § CV_LKFLOW_INITIAL_GUESSES

#define CV_LKFLOW_INITIAL_GUESSES 4

## § CV_LKFLOW_PYR_A_READY

#define CV_LKFLOW_PYR_A_READY 1

## § CV_LKFLOW_PYR_B_READY

#define CV_LKFLOW_PYR_B_READY 2

## § cvKalmanUpdateByMeasurement

#define cvKalmanUpdateByMeasurement cvKalmanCorrect

## § cvKalmanUpdateByTime

#define cvKalmanUpdateByTime cvKalmanPredict

## Function Documentation

## § cvCalcAffineFlowPyrLK()

void cvCalcAffineFlowPyrLK | ( | const CvArr * | prev,
|  | const CvArr * | curr,
|  | CvArr * | prev_pyr,
|  | CvArr * | curr_pyr,
|  | const CvPoint2D32f * | prev_features,
|  | CvPoint2D32f * | curr_features,
|  | float * | matrices,
|  | int | count,
|  | CvSize | win_size,
|  | int | level,
|  | char * | status,
|  | float * | track_error,
|  | CvTermCriteria | criteria,
|  | int | flags
| ) |  |

## § cvCalcGlobalOrientation()

double cvCalcGlobalOrientation | ( | const CvArr * | orientation,
|  | const CvArr * | mask,
|  | const CvArr * | mhi,
|  | double | timestamp,
|  | double | duration
| ) |  |

## § cvCalcMotionGradient()

void cvCalcMotionGradient | ( | const CvArr * | mhi,
|  | CvArr * | mask,
|  | CvArr * | orientation,
|  | double | delta1,
|  | double | delta2,
|  | int | aperture_size = `3`
| ) |  |

## § cvCalcOpticalFlowFarneback()

void cvCalcOpticalFlowFarneback | ( | const CvArr * | prev,
|  | const CvArr * | next,
|  | CvArr * | flow,
|  | double | pyr_scale,
|  | int | levels,
|  | int | winsize,
|  | int | iterations,
|  | int | poly_n,
|  | double | poly_sigma,
|  | int | flags
| ) |  |

## § cvCalcOpticalFlowPyrLK()

void cvCalcOpticalFlowPyrLK | ( | const CvArr * | prev,
|  | const CvArr * | curr,
|  | CvArr * | prev_pyr,
|  | CvArr * | curr_pyr,
|  | const CvPoint2D32f * | prev_features,
|  | CvPoint2D32f * | curr_features,
|  | int | count,
|  | CvSize | win_size,
|  | int | level,
|  | char * | status,
|  | float * | track_error,
|  | CvTermCriteria | criteria,
|  | int | flags
| ) |  |

## § cvCamShift()

int cvCamShift | ( | const CvArr * | prob_image,
|  | CvRect | window,
|  | CvTermCriteria | criteria,
|  | CvConnectedComp * | comp,
|  | CvBox2D * | box = `NULL`
| ) |  |

## § cvCreateKalman()

CvKalman* cvCreateKalman | ( | int | dynam_params,
|  | int | measure_params,
|  | int | control_params = `0`
| ) |  |

## § cvEstimateRigidTransform()

int cvEstimateRigidTransform | ( | const CvArr * | A,
|  | const CvArr * | B,
|  | CvMat * | M,
|  | int | full_affine
| ) |  |

## § cvKalmanCorrect()

const CvMat* cvKalmanCorrect | ( | CvKalman * | kalman,
|  | const CvMat * | measurement
| ) |  |

## § cvKalmanPredict()

const CvMat* cvKalmanPredict | ( | CvKalman * | kalman,
|  | const CvMat * | control = `NULL`
| ) |  |

## § cvMeanShift()

int cvMeanShift | ( | const CvArr * | prob_image,
|  | CvRect | window,
|  | CvTermCriteria | criteria,
|  | CvConnectedComp * | comp
| ) |  |

## § cvReleaseKalman()

void cvReleaseKalman | ( | CvKalman ** | kalman | ) |

## § cvSegmentMotion()

CvSeq* cvSegmentMotion | ( | const CvArr * | mhi,
|  | CvArr * | seg_mask,
|  | CvMemStorage * | storage,
|  | double | timestamp,
|  | double | seg_thresh
| ) |  |

## § cvUpdateMotionHistory()

void cvUpdateMotionHistory | ( | const CvArr * | silhouette,
|  | CvArr * | mhi,
|  | double | timestamp,
|  | double | duration
| ) |  |