User`s guide

OpenCV Provider Users Guide - 66 -
ORiN Forum
DENSO WAVE Inc.
1 CV_INTER_LINEAR bilinear interpolation.
2 CV_INTER_AREA resampling using pixel area relation. It is preferred
method for image decimation that gives moire-free
results. In case of zooming it is similar to
CV_INTER_NN method.
3 CV_INTER_CUBIC bicubic interpolation.
<Warp>
=
8 CV_WARP_FILL_OUTLIERS F
ill all the destination image pixels. If
some of them correspond to outliers in
the source image, they are set to 0.
16 CV_WARP_INVERSE_MAP Indicates that matrix is inverse transform
from destination image to source and,
thus, can b
e used directly for pixel
interpolation. Otherwise, the function
finds the inverse transform from matrix.
Return value
<Image>
= VT_UI1|VT_ARRAY: Changed Image
Explanation
Affine transformation.
If Output Image ID=0, return value is changed image data. If Output Image Id <> 0,
the change image is stored in the specified ID image memory, and return value is
Empty.
The changed image data is output by the bitmap file format of the Windows standard.
Color output format is 24bit color bitmap image, and
grayscale output format is 8bit
bitmap image.
WarpPerspective
Format
object
.WarpPerspective<Output ID>, <Extrinsic matrix>, <Flag>
Parameters
<Output ID>
= VT_I4Output Image ID
<Extrinsic matrix>
= VT_R8|VT_ARRAYTransformation matrix
(
<r11>,<r21>,<r31>,<r12>,<r22>,<r32>,<r13>,<r23>,<r33>
)
<r11>
= VT_R8
<r21>
= VT_R8
<r31>
= VT_R8
<r12>
= VT_R8