Specifications
Intel
®
Image Processing Library Reference Manual
11-28
11
Arbitrary Transforms
To perform special geometric transforms not covered in the above sections,
the Image Processing Library includes the
iplRemap() function. Unlike
other geometric transform functions,
iplRemap() uses coordinate tables
supplied by the application. For each pixel in the destination image, you
have to provide coordinates of the source image’s point which you would
like to be mapped to that destination pixel.
Remap
Re-maps the image using a
coordinate look-up table.
void iplRemap(IplImage*
srcImage
, IplImage*
xMap
,
IplImage *
yMap
, IplImage*
dstImage
,
int interpolate );
srcImage
Thesourceimage.
dstImage
The resultant image.
xMap
One-channel 32-bit floating-point image storing
the table of x-coordinates.
yMap
One-channel 32-bit floating-point image storing
the table of y-coordinates.
interpolate
The type of interpolation to perform for
resampling. Can be one of the following:
IPL_INTER_NN Nearest neighbor.
IPL_INTER_LINEAR Linear interpolation.
IPL_INTER_CUBIC Cubic interpolation.