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?

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 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.

    mrjjM 1 Reply Last reply
    0
    • P pauljurczak

      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.

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on 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
      1
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on 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
        1
        • mrjjM mrjj

          @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 last edited by
          #4

          @mrjj said:

          QGraphicsView

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

          1 Reply Last reply
          0
          • SGaistS SGaist

            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 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
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on 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

              • Login

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