Lines Matching refs:patchSize
307 CvSize patchSize = cvSize( winSize.width * 2 + 1, winSize.height * 2 + 1 ); in cvCalcOpticalFlowPyrLK() local
308 int patchLen = patchSize.width * patchSize.height; in cvCalcOpticalFlowPyrLK()
309 int srcPatchLen = (patchSize.width + 2)*(patchSize.height + 2); in cvCalcOpticalFlowPyrLK()
488 u.x += (minI.x - (patchSize.width - maxI.x + 1))*0.5f; in cvCalcOpticalFlowPyrLK()
489 u.y += (minI.y - (patchSize.height - maxI.y + 1))*0.5f; in cvCalcOpticalFlowPyrLK()
519 _v.x = v.x + (minJ.x - (patchSize.width - maxJ.x + 1))*0.5f; in cvCalcOpticalFlowPyrLK()
520 _v.y = v.y + (minJ.y - (patchSize.height - maxJ.y + 1))*0.5f; in cvCalcOpticalFlowPyrLK()
696 CvSize patchSize = cvSize( winSize.width * 2 + 1, winSize.height * 2 + 1 ); in cvCalcAffineFlowPyrLK() local
697 int patchLen = patchSize.width * patchSize.height; in cvCalcAffineFlowPyrLK()
698 int patchStep = patchSize.width * sizeof( patchI[0] ); in cvCalcAffineFlowPyrLK()
700 CvSize srcPatchSize = cvSize( patchSize.width + 2, patchSize.height + 2 ); in cvCalcAffineFlowPyrLK()
849 for( k = 0; k < patchSize.height; k++ ) in cvCalcAffineFlowPyrLK()
850 memcpy( patchI + k * patchSize.width, in cvCalcAffineFlowPyrLK()
916 meanI /= patchSize.width*patchSize.height; in cvCalcAffineFlowPyrLK()
945 levelSize, patchJ, patchStep, patchSize, Av ) < 0 ) in cvCalcAffineFlowPyrLK()
955 meanJ = meanJ / (patchSize.width * patchSize.height) - meanI; in cvCalcAffineFlowPyrLK()
1012 for( y = 0, k = 0; y < patchSize.height; y++ ) in cvCalcAffineFlowPyrLK()
1014 for( x = 0; x < patchSize.width; x++, k++ ) in cvCalcAffineFlowPyrLK()