#include <cv.h>
#include <cxmisc.h>
#include <float.h>
#include <stdio.h>
#include "mylkpyramid.h"
Go to the source code of this file.
Defines | |
#define | CV_8TO32F(x) icv8x32fTab_cv[(x)+256] |
#define | icvTransformVector_64d(matr, src, dst, w, h) icvMulMatrix_64d( matr, w, h, src, 1, w, dst ) |
Functions | |
static void | intersect (CvPoint2D32f pt, CvSize win_size, CvSize imgSize, CvPoint *min_pt, CvPoint *max_pt) |
static void | icvInitPyramidalAlgorithm (const PyrImage *imgA, const PyrImage *imgB, CvTermCriteria *criteria, int max_iters, int flags, uchar ***imgI, uchar ***imgJ, int **step, CvSize **size, float **scale, uchar **buffer) |
static void | icvCalcIxIy_32f (const float *src, int src_step, float *dstX, float *dstY, int dst_step, CvSize src_size, const float *smooth_k, float *buffer0) |
static const void * | icvAdjustRect (const void *srcptr, int src_step, int pix_size, CvSize src_size, CvSize win_size, CvPoint ip, CvRect *pRect) |
static CvStatus | mycvGetRectSubPix_8u32f_C1R (const uchar *src, int src_step, CvSize src_size, float *dst, int dst_step, CvSize win_size, CvPoint2D32f center) |
CvStatus CV_STDCALL | icvGetQuadrangleSubPix_8u32f_C1R (const unsigned char *src, int src_step, CvSize src_size, float *dst, int dst_step, CvSize win_size, const float *matrix) |
CV_INLINE void | icvMulMatrix_64d (const float *src1, int w1, int h1, const float *src2, int w2, int h2, float *dst) |
void | myCalcOpticalFlowPyrLK (const PyrImage *arrA, const PyrImage *arrB, const CvPoint2D32f *featuresA, CvPoint2D32f *featuresB, int count, CvSize winSize, int level, char *status, float *error, CvTermCriteria criteria, int flags) |
static void | icvGetRTMatrix (const CvPoint2D32f *a, const CvPoint2D32f *b, int count, CvMat *M, int full_affine) |
CV_IMPL int | cvEstimateRigidTransform (const CvArr *_A, const CvArr *_B, CvMat *_M, int full_affine) |
Variables | |
static const float | icv8x32fTab_cv [] |
#define CV_8TO32F | ( | x | ) | icv8x32fTab_cv[(x)+256] |
#define icvTransformVector_64d | ( | matr, | |||
src, | |||||
dst, | |||||
w, | |||||
h | ) | icvMulMatrix_64d( matr, w, h, src, 1, w, dst ) |
Definition at line 496 of file mylkpyramid.cpp.
CV_IMPL int cvEstimateRigidTransform | ( | const CvArr * | _A, | |
const CvArr * | _B, | |||
CvMat * | _M, | |||
int | full_affine | |||
) |
static const void* icvAdjustRect | ( | const void * | srcptr, | |
int | src_step, | |||
int | pix_size, | |||
CvSize | src_size, | |||
CvSize | win_size, | |||
CvPoint | ip, | |||
CvRect * | pRect | |||
) | [static] |
static void icvCalcIxIy_32f | ( | const float * | src, | |
int | src_step, | |||
float * | dstX, | |||
float * | dstY, | |||
int | dst_step, | |||
CvSize | src_size, | |||
const float * | smooth_k, | |||
float * | buffer0 | |||
) | [static] |
CvStatus CV_STDCALL icvGetQuadrangleSubPix_8u32f_C1R | ( | const unsigned char * | src, | |
int | src_step, | |||
CvSize | src_size, | |||
float * | dst, | |||
int | dst_step, | |||
CvSize | win_size, | |||
const float * | matrix | |||
) |
static void icvGetRTMatrix | ( | const CvPoint2D32f * | a, | |
const CvPoint2D32f * | b, | |||
int | count, | |||
CvMat * | M, | |||
int | full_affine | |||
) | [static] |
static void icvInitPyramidalAlgorithm | ( | const PyrImage * | imgA, | |
const PyrImage * | imgB, | |||
CvTermCriteria * | criteria, | |||
int | max_iters, | |||
int | flags, | |||
uchar *** | imgI, | |||
uchar *** | imgJ, | |||
int ** | step, | |||
CvSize ** | size, | |||
float ** | scale, | |||
uchar ** | buffer | |||
) | [static] |
Definition at line 75 of file mylkpyramid.cpp.
References PyrImage::images, and PyrImage::nbLev.
Referenced by myCalcOpticalFlowPyrLK().
CV_INLINE void icvMulMatrix_64d | ( | const float * | src1, | |
int | w1, | |||
int | h1, | |||
const float * | src2, | |||
int | w2, | |||
int | h2, | |||
float * | dst | |||
) |
Definition at line 499 of file mylkpyramid.cpp.
static void intersect | ( | CvPoint2D32f | pt, | |
CvSize | win_size, | |||
CvSize | imgSize, | |||
CvPoint * | min_pt, | |||
CvPoint * | max_pt | |||
) | [static] |
void myCalcOpticalFlowPyrLK | ( | const PyrImage * | arrA, | |
const PyrImage * | arrB, | |||
const CvPoint2D32f * | featuresA, | |||
CvPoint2D32f * | featuresB, | |||
int | count, | |||
CvSize | winSize, | |||
int | level, | |||
char * | status, | |||
float * | error, | |||
CvTermCriteria | criteria, | |||
int | flags | |||
) |
Definition at line 523 of file mylkpyramid.cpp.
References icvCalcIxIy_32f(), icvInitPyramidalAlgorithm(), PyrImage::images, intersect(), mycvGetRectSubPix_8u32f_C1R(), and PyrImage::nbLev.
Referenced by kpt_tracker::track_ncclk().
static CvStatus mycvGetRectSubPix_8u32f_C1R | ( | const uchar * | src, | |
int | src_step, | |||
CvSize | src_size, | |||
float * | dst, | |||
int | dst_step, | |||
CvSize | win_size, | |||
CvPoint2D32f | center | |||
) | [static] |
Definition at line 370 of file mylkpyramid.cpp.
References CV_8TO32F, and icvAdjustRect().
Referenced by myCalcOpticalFlowPyrLK().
const float icv8x32fTab_cv[] [static] |
Definition at line 209 of file mylkpyramid.cpp.