OpenCV 2.4:
src.copyTo(dst(Rect(left, top, src.cols, src.rows)));
OpenCV 2.x:
Mat dst_roi = dst(Rect(left, top, src.cols, src.rows));
src.copyTo(dst_roi);
More Related Contents:
- Setup OpenCV-2.3 for Visual Studio 2010
- Image Processing: Algorithm Improvement for ‘Coca-Cola Can’ Recognition
- using OpenCV and SVM with images
- Getting started with OpenCV 2.4 and MinGW on Windows 7
- What does OpenCV’s cvWaitKey( ) function do?
- OpenCV better detection of red color?
- OpenCV C++/Obj-C: Advanced square detection
- Simple illumination correction in images OpenCV C++
- imread not working in Opencv
- OpenCV Error: Assertion failed (size.width>0 && size.height>0) simple code
- how to check whether two matrices are identical in OpenCV
- Nonfree module is missing in OpenCV 3.0
- openCV program compile error “libopencv_core.so.2.4: cannot open shared object file: No such file or directory” in ubuntu 12.04
- OpenCv 2.3 C – How to isolate object inside image
- opencv multi channel element access
- OpenCV imread(filename) fails in debug mode when using release libraries
- Assertion failed (size.width>0 && size.height>0)
- How to correctly use cv::triangulatePoints()
- Calculating convexityDefects using OpenCV 2.4 in c++
- trying to use VideoCapture and imshow(), raises Assertion failed (size.width>0 && size.height>0) in cv::imshow
- opencv how can I select a region of image irregularly with mouse event? c/c++ [closed]
- How to detect region of large # of white pixels using OpenCV?
- How to set ROI in OpenCV?
- Why “cout” works weird for “unsigned char”?
- OpenCV Edge/Border detection based on color
- How to write video file in OpenCV 2.4.3
- OpenCV’s Canny Edge Detection in C++
- How to implement Tesseract to run with project in Visual Studio 2010
- OpenCV cv::Mat to std::ifstream for base64 encoding
- how to use gpu::Stream in OpenCV?