Specifications

Intel
®
ImageProcessingLibraryReferenceManual
B-2
B
TableB-1liststhesupportedinterpolationmodesforallgeometric
transformfunctions.Forcertainfunctions,youcancombinetheabove
interpolationalgorithmswithadditionalsmoothing(antialiasing)ofedges
towhichtheoriginalimage’sbordersaretransformed.Tousethisedge
smoothing,settheparameter
interpolate
to the bitwise OR of
IPL_SMOOTH_EDGEandthedesiredinterpolationmode.Forexample,in
ordertorotateanimagewithcubicinterpolationandsmooththerotated
image’sedges,youpassto
iplRotate()thefollowingvalue:
interpolate
=IPL_INTER_CUBIC|IPL_SMOOTH_EDGE.
TableB-1 InterpolationModesSupportedbyGeometricTransformFunctions
Function Nearestneighbor Linear Cubic Super-sampling Edgesmoothing
Mirror
Thisfunctiondoesnotneedinterpolation
Rotate
xxx x
Zoom
xxx
Decimate
xxxx
DecimateBlur
xxx
Resize
xxxx
WarpAffine
xxx x
WarpBilinear
xxx x
WarpBilinearQ
xxx x
Warp
Perspective
xxx x
Warp
PerspectiveQ
xxx x
Shear
xxx x
Thesectionsthatfollowprovidemoredetailsoneachinterpolationmode.