PDA

View Full Version : make 1 picture from 2 duplicated images



Lapsio
28th October 2012, 12:04
Hi. I've never done anything more than simple display or mask image in Qt so I'm not especially good at image operations in Qt - and now I have to make 1 picture from 2 and I don't exactly know how to do this.

I have one image:


._______________
| |
| 1 | y
|_______________|
x

And I want to make:


._______________
| | |
| 1 | 1 | y
|_______|_______|
x

with exactly the same dimensions of whole picture (and both images stretched).
I'd be also graceful for some tutorials about actions like this (scaling, duplicating, mirroring and other conversions) because maybe I'll have to do something more with these pictures in near future. I also wonder if better Idea isn't to do this with OpenCV. Are this convertions fast enough in Qt to make it in real time for images like 600x300 with 20fps and cpu usage under 15% (on average machine like core duo 2.6GHz)?

amleto
28th October 2012, 12:39
pleaes clarify - you say both images stretched, but you also say exactly same dimensions of whole picture.

but your diagram just shows two 'originals' pasted together.