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. QImage column first support
Forum Updated to NodeBB v4.3 + New Features

QImage column first support

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 3 Posters 675 Views 1 Watching
  • 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.
  • Z Offline
    Z Offline
    zxpatric
    wrote on last edited by
    #1

    Hi,

    I am wondering if Qt team has a plan to support column first QImage. To convert from column first data (naturally acquired by column based scanning) to traditional row first QImage is not a quick operation but assume when QImage data is used elsewhere (such as rendering), it will be as easy as row first or column first.

    Or if there are other solutions, please suggest.

    Thanks,
    Patrick.

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @zxpatric said in QImage column first support:

      Or if there are other solutions, please suggest.

      Return an image for Qt::DisplayRole

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      Z 1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        This forum is not the right place to talk about what the Qt folks are going to implement as it is a user forum.

        That said, do you have an example of such an image ?
        Most of the acquisition system I saw usually provide low-level data like a Beyer matrix that you have to convert to something usable in terms of image processing if they do not already provide raw RGB or YUV data.

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

        Z 1 Reply Last reply
        1
        • Christian EhrlicherC Christian Ehrlicher

          @zxpatric said in QImage column first support:

          Or if there are other solutions, please suggest.

          Return an image for Qt::DisplayRole

          Z Offline
          Z Offline
          zxpatric
          wrote on last edited by zxpatric
          #4

          @Christian-Ehrlicher Can you elaborate a bit further? if I have a buffer with image raw data in column first memory alignment, how do I construct a QImage without expensive transpose operation?

          Qt::DisplayRole 0 The key data to be rendered in the form of text.

          1 Reply Last reply
          0
          • SGaistS SGaist

            Hi,

            This forum is not the right place to talk about what the Qt folks are going to implement as it is a user forum.

            That said, do you have an example of such an image ?
            Most of the acquisition system I saw usually provide low-level data like a Beyer matrix that you have to convert to something usable in terms of image processing if they do not already provide raw RGB or YUV data.

            Z Offline
            Z Offline
            zxpatric
            wrote on last edited by
            #5

            @SGaist Imagine there is a vertical sensor and it scans while rotating around an parallel axis. The data coming out of the sensor are genuinely in the form of column first. Image transposing is not a cheap operation and I assume on the rendering side, it is just a matter of switch the two for loops if rendering is a naive iteration or column-first vectorization instead of row-first vectorization.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              I worked with a vertical linear sensor, however, the camera using that sensor was generating the image as a Bayer matrix rather than sending data column by column.

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

              Z 1 Reply Last reply
              0
              • SGaistS SGaist

                I worked with a vertical linear sensor, however, the camera using that sensor was generating the image as a Bayer matrix rather than sending data column by column.

                Z Offline
                Z Offline
                zxpatric
                wrote on last edited by
                #7

                @SGaist Do you know which forum is for feature request towards Qt developers?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by SGaist
                  #8

                  None, forums are not for feature request.

                  You can do that on the bug tracking system.

                  Some recommendations:

                  • be precise
                  • give as much details as possible
                  • provide references to support your use case

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

                  Z 1 Reply Last reply
                  1
                  • SGaistS SGaist

                    None, forums are not for feature request.

                    You can do that on the bug tracking system.

                    Some recommendations:

                    • be precise
                    • give as much details as possible
                    • provide references to support your use case
                    Z Offline
                    Z Offline
                    zxpatric
                    wrote on last edited by
                    #9

                    @SGaist Thanks a lot!

                    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