You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- dst output image that has the size dsize and the same type as src .
2225
+
- M 3x3 transformation matrix
2226
+
- size size of the output image
2227
+
- flags combination of interpolation methods (INTER_LINEAR or INTER_NEAREST) and the optional flag WARP_INVERSE_MAP, that sets M as the inverse transformation
2228
+
- borderMode pixel extrapolation method (BORDER_CONSTANT or BORDER_REPLICATE).
2229
+
- borderValue value used in case of a constant border; by default, it equals 0.
* Calculates a perspective transform from four pairs of the corresponding points.
8
+
* @param name Function name.
9
+
* @param src Coordinates of quadrangle vertices in the source image.
10
+
* @param dst Coordinates of the corresponding quadrangle vertices in the destination image.
11
+
* @param solveMethod method passed to cv::solve (DecompTypes)
12
+
*/
13
+
invoke(
14
+
name: 'getPerspectiveTransform',
15
+
src: PointVector,
16
+
dst: PointVector,
17
+
solveMethod: DecompTypes
18
+
): Mat;
19
+
20
+
/**
21
+
* Applies a perspective transformation to an image.
22
+
* @param name Function name.
23
+
* @param src input image.
24
+
* @param dst output image that has the size dsize and the same type as src .
25
+
* @param M 3x3 transformation matrix
26
+
* @param size size of the output image
27
+
* @param flags combination of interpolation methods (INTER_LINEAR or INTER_NEAREST) and the optional flag WARP_INVERSE_MAP, that sets M as the inverse transformation
28
+
* @param borderMode pixel extrapolation method (BORDER_CONSTANT or BORDER_REPLICATE).
29
+
* @param borderValue value used in case of a constant border; by default, it equals 0.
0 commit comments