buildOpticalFlowPyramid

asked 2013-11-26 04:31:16 -0500

tenta4 gravatar image

updated 2013-11-26 04:34:01 -0500

Is this normal, that when i build pyramid with level = 4, function creates vector <mat> with size = 8?

It's sample code.

cv::buildOpticalFlowPyramid(queryImage, mQueryData->mPyr, cv::Size(15, 15), 3);

Here size of each mat

D/CMarkerlessRecognitionStrategy(32362): size: 432 240

D/CMarkerlessRecognitionStrategy(32362): size: 432 240

D/CMarkerlessRecognitionStrategy(32362): size: 216 120

D/CMarkerlessRecognitionStrategy(32362): size: 216 120

D/CMarkerlessRecognitionStrategy(32362): size: 108 60

D/CMarkerlessRecognitionStrategy(32362): size: 108 60

D/CMarkerlessRecognitionStrategy(32362): size: 54 30

D/CMarkerlessRecognitionStrategy(32362): size: 54 30

edit retag flag offensive close merge delete

Comments

yes, it's normal. When set flag withDerivatives, output vector size = purCount * 2

tenta4 gravatar imagetenta4 ( 2013-11-26 04:53:20 -0500 )edit