Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

 cvSetImageROI(dst,cvRect(i*bgr_frame->width,j*bgr_frame->height,
 bgr_frame->width,bgr_frame->height));

 cvCopy(bgr_frame,dst,NULL);
 cvResetImageROI(dst);

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

 IplImage* dst=cvCreateImage(cvSize(dstWidth,dstHeight),IPL_DEPTH_8U,3); 
 cvSetImageROI(dst,cvRect(i*bgr_frame->width,j*bgr_frame->height,
 bgr_frame->width,bgr_frame->height));

 cvCopy(bgr_frame,dst,NULL);
 cvResetImageROI(dst);

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

 IplImage* dst=cvCreateImage(cvSize(dstWidth,dstHeight),IPL_DEPTH_8U,3); 
 cvSetImageROI(dst,cvRect(i*bgr_frame->width,j*bgr_frame->height,
 bgr_frame->width,bgr_frame->height));

 cvCopy(bgr_frame,dst,NULL);
 cvResetImageROI(dst);