Skip to content

Commit 27998c6

Browse files
committed
fixed doc
1 parent dc45d7e commit 27998c6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

modules/cudawarping/include/opencv2/cudawarping.hpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ namespace cv { namespace cuda {
7070
@param ymap Y values. Only CV_32FC1 type is supported.
7171
@param interpolation Interpolation method (see resize ). INTER_NEAREST , INTER_LINEAR and
7272
INTER_CUBIC are supported for now.
73+
The extra flag WARP_RELATIVE_MAP can be ORed to the interpolation method
74+
(e.g. INTER_LINEAR | WARP_RELATIVE_MAP)
7375
@param borderMode Pixel extrapolation method (see borderInterpolate ). BORDER_REFLECT101 ,
7476
BORDER_REPLICATE , BORDER_CONSTANT , BORDER_REFLECT and BORDER_WRAP are supported for now.
7577
@param borderValue Value used in case of a constant border. By default, it is 0.
@@ -78,7 +80,10 @@ BORDER_REPLICATE , BORDER_CONSTANT , BORDER_REFLECT and BORDER_WRAP are supporte
7880
The function transforms the source image using the specified map:
7981
8082
\f[\texttt{dst} (x,y) = \texttt{src} (xmap(x,y), ymap(x,y))\f]
81-
\f[\texttt{dst} (x,y) = \texttt{src} (x+map_x(x,y),y+map_y(x,y))\f] with WARP_RELATIVE_MAP
83+
84+
with the WARP_RELATIVE_MAP flag :
85+
86+
\f[\texttt{dst} (x,y) = \texttt{src} (x+map_x(x,y),y+map_y(x,y))\f]
8287
8388
Values of pixels with non-integer coordinates are computed using the bilinear interpolation.
8489
@@ -102,8 +107,6 @@ Either dsize or both fx and fy must be non-zero.
102107
\f[\texttt{(double)dsize.height/src.rows}\f]
103108
@param interpolation Interpolation method. INTER_NEAREST , INTER_LINEAR and INTER_CUBIC are
104109
supported for now.
105-
The extra flag WARP_RELATIVE_MAP that can be ORed to the interpolation method
106-
(e.g. INTER_LINEAR | WARP_RELATIVE_MAP)
107110
@param stream Stream for the asynchronous version.
108111
109112
@sa resize

0 commit comments

Comments
 (0)