Skip to content

Commit dc45d7e

Browse files
committed
added WARP_RELATIVE_MAP to doc
1 parent 13e990a commit dc45d7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/cudawarping/include/opencv2/cudawarping.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ BORDER_REPLICATE , BORDER_CONSTANT , BORDER_REFLECT and BORDER_WRAP are supporte
7878
The function transforms the source image using the specified map:
7979
8080
\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
8182
8283
Values of pixels with non-integer coordinates are computed using the bilinear interpolation.
8384
@@ -101,6 +102,8 @@ Either dsize or both fx and fy must be non-zero.
101102
\f[\texttt{(double)dsize.height/src.rows}\f]
102103
@param interpolation Interpolation method. INTER_NEAREST , INTER_LINEAR and INTER_CUBIC are
103104
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)
104107
@param stream Stream for the asynchronous version.
105108
106109
@sa resize

0 commit comments

Comments
 (0)