copy part of a image Mat to another one
Hello,
Using the source code from this link (http://docs.opencv.org/doc/tutorials/imgproc/shapedescriptors/find_contours/find_contours.html) I have a CV_8UC3 mat with which contain a black background and the contour of my image (I've filled the contour using CV_FILLED parameter).
I would like to know it is it possible to copy/insert only the contour from my CV_8UC3 mat to the original image? (both image have the same size).
I've searched on the internet and tried function like copyTo(), ROI but without success.
I really thank you for your help