Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

copying to images side by side to create a wider image

hi all, I am trying to get frames from 2 kinect devices and merge them to a unified wider image.

so basically I need to get the 2x 640x480 frames (images) and place them in another image of resolution 1280x480..

As I am very new to opencv I am not sure what search terms to use to find even a remotely relevant result.. I tried setting the ROI of the left half of the image, assign pixel values to the ROI, then setting the right part as the ROI and setting the other frame into this region. In the end I draw the 1280x480 wide image, but I only see the frame data that I assigned last to the wide image..

what am I doing wrong? What is the proper way to do it?

thank you