Hi Guys, in this post we look at how to add two images and display them in a single image (adding images vertically).
Btw, My other programs in OpenCV will be posted here
Btw, My other programs in OpenCV will be posted here
- Basically we need to set the ROI of resultant image to size of first image and copy the entire image using cvCopy.
- Next, we set the ROI of resultant image to end of the resultant image and copy the second image to the end of the resulant image.
- Save image and Show Image.
//the code has been included with comments and they are self-explanatory.
No comments:
Post a Comment