Instantly share code, notes, and snippets.

Embed
What would you like to do?
OpenCV: paste a image
cv::Mat image=cv::imread("./image.png",-1);
cv::Rect rect(startColumn,startRow,image.cols,image.rows);
cv::Mat subdst=dst(rect);
image.copyTo(subdst);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment