Bicubic QImage interpolation implementation?



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


  • Lifetime Qt Champion

    Hi,

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

    Hope it helps



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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.