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. Bicubic QImage interpolation implementation?

Bicubic QImage interpolation implementation?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.7k 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.
  • V Offline
    V Offline
    Violet Giraffe
    wrote on last edited by
    #1

    I'm searching for an algorithm for extreme image downscaling that retains the most sharp result. Both of the QImage's built-in scale algorithms produce very soft, unacceptable result. I've experimented with resize algorithms in Photoshop and found out that bicubic sharp is by far the best. Now, implementing it from scratch feels like re-inventing the wheel. Could there be any library or code snippet for resizing QImage with bicubic interpolation?

    Google turned up nothing, which is weird.

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

      Hi,

      You could look at OpenCV for that kind of operation and create the QImage from the result.

      Hope it helps

      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
      • V Offline
        V Offline
        Violet Giraffe
        wrote on last edited by
        #3

        Hi, thanks a lot. I totally forgot about OpenCV, and somehow it didn't turn up during my research.

        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