buildOpticalFlowPyramid
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
yes, it's normal. When set flag withDerivatives, output vector size = purCount * 2