mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
added hconcat & vconcat functions for joining matrices; moved some inline functions out of the headers; fixed several bugs in documentation; removed MatND from docs
This commit is contained in:
@@ -480,6 +480,15 @@ void repeat(const Mat& src, int ny, int nx, Mat& dst)
|
||||
memcpy( dst.data + y*dst.step, dst.data + (y - ssize.height)*dst.step, dsize.width );
|
||||
}
|
||||
|
||||
Mat repeat(const Mat& src, int ny, int nx)
|
||||
{
|
||||
if( nx == 1 && ny == 1 )
|
||||
return src;
|
||||
Mat dst;
|
||||
repeat(src, ny, nx, dst);
|
||||
return dst;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* dst = src */
|
||||
|
||||
Reference in New Issue
Block a user