Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Covert wiki tutorial from deprecated IplImage to Mat

Hello, this is the Opencv's wiki tutorial: How to Display more than one image in a single window. I tried to run the code on OpenCV 3.x and didn't work.

The tutorial uses IplImage that is the legacy Intel Image Processing Library for C language. The Detailed Description of the function states:

OpenCV handles ROIs differently. OpenCV functions require that the image size or ROI size of all source and destination images match exactly. On the other hand, the Intel Image Processing Library processes the area of intersection between the source and destination images (or ROIs), allowing them to vary independently.

So to display many images in one display, the images are transformed into Regions of Interest and then allocated to the display. Which is the best way to do it on OpenCV 3.x? Use the legacy IplImage or convert to Mat.

Conversion:I was trying to convert to Mat reading some SO and Q&A threads

Is it better to convert IplImage or maybe create a new program? Is it easy to convert this tutorial?

Covert Convert wiki tutorial from deprecated IplImage to Mat

Hello, this is the Opencv's wiki tutorial: How to Display more than one image in a single window. I tried to run the code on OpenCV 3.x and didn't work.

The tutorial uses IplImage that is the legacy Intel Image Processing Library for C language. The Detailed Description of the function states:

OpenCV handles ROIs differently. OpenCV functions require that the image size or ROI size of all source and destination images match exactly. On the other hand, the Intel Image Processing Library processes the area of intersection between the source and destination images (or ROIs), allowing them to vary independently.

So to display many images in one display, the images are transformed into Regions of Interest and then allocated to the display. Which is the best way to do it on OpenCV 3.x? Use the legacy IplImage or convert to Mat.

Conversion:I was trying to convert to Mat reading some SO and Q&A threads

Is it better to convert IplImage or maybe create a new program? Is it easy to convert this tutorial?