Results 1 to 2 of 2

Thread: make 1 picture from 2 duplicated images

  1. #1
    Join Date
    Jul 2012
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default make 1 picture from 2 duplicated images

    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:
    Qt Code:
    1. ._______________
    2. | |
    3. | 1 | y
    4. |_______________|
    5. x
    To copy to clipboard, switch view to plain text mode 
    And I want to make:
    Qt Code:
    1. ._______________
    2. | | |
    3. | 1 | 1 | y
    4. |_______|_______|
    5. x
    To copy to clipboard, switch view to plain text mode 
    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)?

  2. #2
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: make 1 picture from 2 duplicated images

    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.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Similar Threads

  1. Replies: 3
    Last Post: 8th March 2012, 23:51
  2. Replies: 2
    Last Post: 23rd February 2012, 01:11
  3. How to make QSvg Format Images
    By Sergex in forum Qt Programming
    Replies: 1
    Last Post: 6th October 2011, 13:24
  4. Replies: 1
    Last Post: 9th November 2009, 09:27
  5. Replies: 33
    Last Post: 8th July 2008, 07:23

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.