Developer Reference

  • 2020
  • 07/15/2020
  • Public Content

Image Geometry Transforms

This chapter describes the Intel® IPP image processing functions that perform geometric operations of resizing, rotating, warping and remapping an image.
Most functions performing geometric transform of an image use an interpolation algorithm to resample the image. The type of interpolation method to be used is passed to the function in the
parameter for rotate, warp, and remap. For resize transform, the interpolation type is part of the function name.
The following interpolation algorithms are used:
  • nearest neighbor
  • linear interpolation
  • cubic convolution
  • supersampling
  • interpolation using Lanczos window function
  • interpolation with two-parameter cubic filters
  • optional edge smoothing of the destination image.
The nearest neighbor algorithm is the fastest, while other methods yield higher quality results, but are slower.
Use one of the following constant identifiers for the applicable interpolation methods:
Nearest neighbor interpolation.
Linear interpolation.
Cubic interpolation.
Interpolation using 3-lobed Lanczos window function.
Interpolation using B-spline.
Interpolation using Catmull-Rom spline.
Interpolation using special cubic filter.
Supersampling interpolation.
Interpolation with two-parameter cubic filters.
For certain functions, you can combine the above interpolation algorithms with additional smoothing (antialiasing) of edges to which the original image borders are transformed. To use this edge smoothing, set the parameter
to the bitwise
and the desired interpolation mode, or use the special function flags.
You can use interpolation with edge smoothing option only in those geometric transform functions where this option is explicitly listed in the parameters definition section.
See appendix B “Interpolation in Image Geometric Transform Functions” for more information on the interpolation algorithms that are used in the library.
Super Sampling mode of resize transform has several limitations. It can be used only:
  • for reducing image size
  • for full images resize, while other interpolation modes can be used for full and tiled images for better speed/memory performance.

Product and Performance Information


Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804