:param dst:Destination image with the size the same as ``xmap`` and the type the same as ``src`` .
:param xmap:X values. Only ``CV_32FC1`` type is supported.
:param ymap:Y values. Only ``CV_32FC1`` type is supported.
:param interpolation:Interpolation method (see :ocv:func:`resize` ). ``INTER_NEAREST`` , ``INTER_LINEAR`` and ``INTER_CUBIC`` are supported for now.
:param borderMode:Pixel extrapolation method (see :ocv:func:`borderInterpolate` ). ``BORDER_REFLECT101`` , ``BORDER_REPLICATE`` , ``BORDER_CONSTANT`` , ``BORDER_REFLECT`` and ``BORDER_WRAP`` are supported for now.
:param borderValue:Value used in case of a constant border. By default, it is 0.
:param stream:Stream for the asynchronous version.
The function transforms the source image using the specified map:
:param dst:Destination image with the same type as ``src`` . The size is ``dsize`` (when it is non-zero) or the size is computed from ``src.size()`` , ``fx`` , and ``fy`` .
:param dsize:Destination image size. If it is zero, it is computed as:
:param src:Source image. ``CV_8U`` , ``CV_16U`` , ``CV_32S`` , or ``CV_32F`` depth and 1, 3, or 4 channels are supported.
:param dst:Destination image with the same type as ``src`` . The size is ``dsize`` .
:param M:*2x3* transformation matrix.
:param dsize:Size of the destination image.
:param flags:Combination of interpolation methods (see :ocv:func:`resize`) and the optional flag ``WARP_INVERSE_MAP`` specifying that ``M`` is an inverse transformation ( ``dst=>src`` ). Only ``INTER_NEAREST`` , ``INTER_LINEAR`` , and ``INTER_CUBIC`` interpolation methods are supported.
:param stream:Stream for the asynchronous version.
..seealso:::ocv:func:`warpAffine`
gpu::buildWarpAffineMaps
------------------------
Builds transformation maps for affine transformation.
:param src:Source image. ``CV_8U`` , ``CV_16U`` , ``CV_32S`` , or ``CV_32F`` depth and 1, 3, or 4 channels are supported.
:param dst:Destination image with the same type as ``src`` . The size is ``dsize`` .
:param M:*3x3* transformation matrix.
:param dsize:Size of the destination image.
:param flags:Combination of interpolation methods (see :ocv:func:`resize` ) and the optional flag ``WARP_INVERSE_MAP`` specifying that ``M`` is the inverse transformation ( ``dst => src`` ). Only ``INTER_NEAREST`` , ``INTER_LINEAR`` , and ``INTER_CUBIC`` interpolation methods are supported.
:param stream:Stream for the asynchronous version.
..seealso:::ocv:func:`warpPerspective`
gpu::buildWarpPerspectiveMaps
-----------------------------
Builds transformation maps for perspective transformation.