mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Merge branch 4.x
This commit is contained in:
@@ -56,7 +56,7 @@ static int cvTsRodrigues( const CvMat* src, CvMat* dst, CvMat* jacobian )
|
||||
|
||||
if( jacobian )
|
||||
{
|
||||
assert( (jacobian->rows == 9 && jacobian->cols == 3) ||
|
||||
CV_Assert( (jacobian->rows == 9 && jacobian->cols == 3) ||
|
||||
(jacobian->rows == 3 && jacobian->cols == 9) );
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ static int cvTsRodrigues( const CvMat* src, CvMat* dst, CvMat* jacobian )
|
||||
double r[3], theta;
|
||||
CvMat _r = cvMat( src->rows, src->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(src->type)), r);
|
||||
|
||||
assert( dst->rows == 3 && dst->cols == 3 );
|
||||
CV_Assert( dst->rows == 3 && dst->cols == 3 );
|
||||
|
||||
cvConvert( src, &_r );
|
||||
|
||||
@@ -320,7 +320,7 @@ static int cvTsRodrigues( const CvMat* src, CvMat* dst, CvMat* jacobian )
|
||||
}
|
||||
else
|
||||
{
|
||||
assert(0);
|
||||
CV_Assert(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -406,7 +406,7 @@ static void test_convertHomogeneous( const Mat& _src, Mat& _dst )
|
||||
}
|
||||
else
|
||||
{
|
||||
assert( count == dst.cols );
|
||||
CV_Assert( count == dst.cols );
|
||||
ddims = dst.channels()*dst.rows;
|
||||
if( dst.rows == 1 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user