why are the red rectangle areas not of the same size?
I am first trying the stereocalibration and stereorectify with OpenCV3 on VS2017. But the red rectangle areas not of the same size all the time. Why? I have used 13 pairs of pictures for calibration.
question is unclear.
what do those red rectangles mean, and where is the code for it ?
if (useCalibrated) { Rect vroi(cvRound(validRoi[k].xsf), cvRound(validRoi[k].ysf), cvRound(validRoi[k].widthsf), cvRound(validRoi[k].heightsf)); rectangle(canvasPart, vroi, Scalar(0, 0, 255), 3, 8); }
I don't understand where 'validRoi[k]' comes from and means... The rectangle areas of the test pictures provided by OpenCV seem to be of the same size, but mine don't...
oh , it seems to be from here ?
yes. I was trying to run the test code provided by OpenCV, and this problem showed up...