Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What should I use for 2D and 3D image visualisation with pan and zoom?
QtWS25 Last Chance

What should I use for 2D and 3D image visualisation with pan and zoom?

Scheduled Pinned Locked Moved General and Desktop
imagezoom
6 Posts 3 Posters 2.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pauljurczak
    wrote on 22 Aug 2015, 08:15 last edited by pauljurczak
    #1

    I'm prototyping computer vision algorithms in C++ and I have to display an image with various graphic overlays (lines, arrows, text, etc.), and I need to zoom, pan and pick. Since images may be over megapixel in size and each pixel may have text and graphics overlay, I prefer to build the data structure to display first (scene) and then display it with a single call, rather than call the graphics subsystem once per each element (text, line, etc.). I prefer a display method, which is easily extendible from 2D to 3D.

    I found Qt3D, QPainter and QOpenGLxxx classes, but I have very little experience with Qt and don't know, which of them is most suitable for my application. Any suggestions would be greatly appreciated.

    M 1 Reply Last reply 22 Aug 2015, 09:15
    0
    • P pauljurczak
      22 Aug 2015, 08:15

      I'm prototyping computer vision algorithms in C++ and I have to display an image with various graphic overlays (lines, arrows, text, etc.), and I need to zoom, pan and pick. Since images may be over megapixel in size and each pixel may have text and graphics overlay, I prefer to build the data structure to display first (scene) and then display it with a single call, rather than call the graphics subsystem once per each element (text, line, etc.). I prefer a display method, which is easily extendible from 2D to 3D.

      I found Qt3D, QPainter and QOpenGLxxx classes, but I have very little experience with Qt and don't know, which of them is most suitable for my application. Any suggestions would be greatly appreciated.

      M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 22 Aug 2015, 09:15 last edited by
      #2

      @pauljurczak
      HI and welcome
      QGraphicsView might be a good candidate.
      There is no clear path to 3d though.

      P 1 Reply Last reply 23 Aug 2015, 09:28
      1
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 22 Aug 2015, 22:01 last edited by
        #3

        Hi and welcome to devnet,

        @mrjj's suggestion is good for 2D visualization but since are planning on both 2 and 3D, I'd recommend taking a look at Qt3D

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        P 1 Reply Last reply 23 Aug 2015, 09:32
        1
        • M mrjj
          22 Aug 2015, 09:15

          @pauljurczak
          HI and welcome
          QGraphicsView might be a good candidate.
          There is no clear path to 3d though.

          P Offline
          P Offline
          pauljurczak
          wrote on 23 Aug 2015, 09:28 last edited by
          #4

          @mrjj said:

          QGraphicsView

          Thanks, I will play with QGraphicsView to get more familiar with Qt.

          1 Reply Last reply
          0
          • S SGaist
            22 Aug 2015, 22:01

            Hi and welcome to devnet,

            @mrjj's suggestion is good for 2D visualization but since are planning on both 2 and 3D, I'd recommend taking a look at Qt3D

            P Offline
            P Offline
            pauljurczak
            wrote on 23 Aug 2015, 09:32 last edited by pauljurczak
            #5

            @SGaist

            I will start with QGraphicsView, because there are books with chapters about it and several example projects in Qt distribution. Qt3D is more sparsely documented, so I will tackle it later when I really need 3D option. Thank you for your advice.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 23 Aug 2015, 12:22 last edited by
              #6

              The documentation of Qt3D is getting improved to match Qt's standard. The module with Qt 5.5 is a tech preview

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              1/6

              22 Aug 2015, 08:15

              • Login

              • Login or register to search.
              1 out of 6
              • First post
                1/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved