Local Links

External Links

Contact

Search this site

Image Scaling Comparison


This page compares several available graphics scaling (resizing) functions:

  • Intel® Integrated Performance Primitives (IPP), ippiResize_8u_C1R()
  • Apple's vImage framework, vImageScale_Planar8()
  • Self-written code that partitions input pixels by their weight, adding them up to generate the output pixel values. No resampling.

A given picture was scaled down by about 37%. Speed values are related to iterations per second, i.e. the higher the faster.

Original picture, scaled down in browser:   
IPP Resize (#1 - IPPI_INTER_NN): Speed: 2700  
IPP Resize (#2 - IPPI_INTER_LINEAR): Speed: 860IPP Resize (#4 - IPPI_INTER_CUBIC): Speed: 250IPP Resize (#16 - IPPI_INTER_LANCZOS): Speed: 145
IPP Resize (#8 - IPPI_INTER_SUPER): Speed: 40My own algo, averaging: Speed: 200 
Apple's vImage (Lanczos 3): Speed: 390 (multiple threads)  
Page last modified on 2009-05-20, 18:52 UTC (do)
Powered by PmWiki