mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Minimize usages of legacy C API inside the library
This commit is contained in:
@@ -56,7 +56,7 @@ FarnebackPolyExp( const Mat& src, Mat& dst, int n, double sigma )
|
||||
{
|
||||
int k, x, y;
|
||||
|
||||
assert( src.type() == CV_32FC1 );
|
||||
CV_Assert( src.type() == CV_32FC1 );
|
||||
int width = src.cols;
|
||||
int height = src.rows;
|
||||
AutoBuffer<float> kbuf(n*6 + 3), _row((width + n*2)*3);
|
||||
|
||||
Reference in New Issue
Block a user