Ask Your Question

copying to images side by side to create a wider image

asked 2013-11-23 17:28:20 -0500

synthnassizer gravatar 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

edit retag flag offensive close merge delete


1 answer

Sort by ยป oldest newest most voted

answered 2013-11-23 20:04:05 -0500

zulfiqar gravatar image

updated 2013-11-23 20:05:36 -0500

I am usin this code to make a single image by joining multiple images

 IplImage* dst=cvCreateImage(cvSize(dstWidth,dstHeight),IPL_DEPTH_8U,3); 

edit flag offensive delete link more

Question Tools


Asked: 2013-11-23 17:28:20 -0500

Seen: 3,000 times

Last updated: Nov 23 '13