mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
This commit is contained in:
@@ -2528,6 +2528,8 @@ void cvStereoRectify( const CvMat* _cameraMatrix1, const CvMat* _cameraMatrix2,
|
||||
double c = _t[idx], nt = cvNorm(&t, 0, CV_L2);
|
||||
_uu[idx] = c > 0 ? 1 : -1;
|
||||
|
||||
CV_Assert(nt > 0.0);
|
||||
|
||||
// calculate global Z rotation
|
||||
cvCrossProduct(&t,&uu,&ww);
|
||||
double nw = cvNorm(&ww, 0, CV_L2);
|
||||
|
||||
Reference in New Issue
Block a user