@techstark/opencv-js 4.9.0-release.1 → 4.9.0-release.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/types/opencv/_types.d.ts +1 -0
- package/dist/src/types/opencv/_types.js +1 -0
- package/dist/src/types/opencv/_types.js.map +1 -1
- package/dist/src/types/opencv/fisheye.d.ts +16 -0
- package/dist/src/types/opencv/fisheye.js +3 -0
- package/dist/src/types/opencv/fisheye.js.map +1 -0
- package/package.json +1 -1
- package/src/types/opencv/_types.ts +1 -0
- package/src/types/opencv/fisheye.ts +26 -0
|
@@ -15,6 +15,7 @@ export * from "./DynamicBitset";
|
|
|
15
15
|
export * from "./Exception";
|
|
16
16
|
export * from "./Feature2D";
|
|
17
17
|
export * from "./features2d_draw";
|
|
18
|
+
export * from "./fisheye";
|
|
18
19
|
export * from "./FlannBasedMatcher";
|
|
19
20
|
export * from "./HOGDescriptor";
|
|
20
21
|
export * from "./imgproc_color_conversions";
|
|
@@ -31,6 +31,7 @@ __exportStar(require("./DynamicBitset"), exports);
|
|
|
31
31
|
__exportStar(require("./Exception"), exports);
|
|
32
32
|
__exportStar(require("./Feature2D"), exports);
|
|
33
33
|
__exportStar(require("./features2d_draw"), exports);
|
|
34
|
+
__exportStar(require("./fisheye"), exports);
|
|
34
35
|
__exportStar(require("./FlannBasedMatcher"), exports);
|
|
35
36
|
__exportStar(require("./HOGDescriptor"), exports);
|
|
36
37
|
__exportStar(require("./imgproc_color_conversions"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_types.js","sourceRoot":"","sources":["../../../../src/types/opencv/_types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,8CAA4B;AAC5B,+CAA6B;AAC7B,8CAA4B;AAC5B,+CAA6B;AAC7B,4CAA0B;AAC1B,sDAAoC;AACpC,+CAA6B;AAC7B,iDAA+B;AAC/B,uDAAqC;AACrC,+CAA6B;AAC7B,sDAAoC;AACpC,wCAAsB;AACtB,kDAAgC;AAChC,8CAA4B;AAC5B,8CAA4B;AAC5B,oDAAkC;AAClC,sDAAoC;AACpC,kDAAgC;AAChC,8DAA4C;AAC5C,iDAA+B;AAC/B,oDAAkC;AAClC,mDAAiC;AACjC,iDAA+B;AAC/B,iDAA+B;AAC/B,mDAAiC;AACjC,kDAAgC;AAChC,sDAAoC;AACpC,2CAAyB;AACzB,6CAA2B;AAC3B,wCAAsB;AACtB,4CAA0B;AAC1B,0CAAwB;AACxB,yCAAuB;AACvB,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,wCAAsB;AACtB,kDAAgC;AAChC,gDAA8B;AAC9B,+CAA6B;AAC7B,8CAA4B;AAC5B,gDAA8B;AAC9B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"_types.js","sourceRoot":"","sources":["../../../../src/types/opencv/_types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,8CAA4B;AAC5B,+CAA6B;AAC7B,8CAA4B;AAC5B,+CAA6B;AAC7B,4CAA0B;AAC1B,sDAAoC;AACpC,+CAA6B;AAC7B,iDAA+B;AAC/B,uDAAqC;AACrC,+CAA6B;AAC7B,sDAAoC;AACpC,wCAAsB;AACtB,kDAAgC;AAChC,8CAA4B;AAC5B,8CAA4B;AAC5B,oDAAkC;AAClC,4CAA0B;AAC1B,sDAAoC;AACpC,kDAAgC;AAChC,8DAA4C;AAC5C,iDAA+B;AAC/B,oDAAkC;AAClC,mDAAiC;AACjC,iDAA+B;AAC/B,iDAA+B;AAC/B,mDAAiC;AACjC,kDAAgC;AAChC,sDAAoC;AACpC,2CAAyB;AACzB,6CAA2B;AAC3B,wCAAsB;AACtB,4CAA0B;AAC1B,0CAAwB;AACxB,yCAAuB;AACvB,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,wCAAsB;AACtB,kDAAgC;AAChC,gDAA8B;AAC9B,+CAA6B;AAC7B,8CAA4B;AAC5B,gDAA8B;AAC9B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { InputArray, OutputArray, int, Size } from "./_types";
|
|
2
|
+
/**
|
|
3
|
+
* Computes the undistortion and rectification maps for the image transform using remap.
|
|
4
|
+
* If D is empty, zero distortion is used. If R or P is empty, identity matrices are used.
|
|
5
|
+
*
|
|
6
|
+
* @param {InputArray} K - Camera intrinsic matrix.
|
|
7
|
+
* @param {InputArray} D - Input vector of distortion coefficients (k1, k2, k3, k4).
|
|
8
|
+
* @param {InputArray} R - Rectification transformation in the object space: 3x3 1-channel, or vector: 3x1/1x3 1-channel or 1x1 3-channel.
|
|
9
|
+
* @param {InputArray} P - New camera intrinsic matrix (3x3) or new projection matrix (3x4).
|
|
10
|
+
* @param {Size} size - Undistorted image size.
|
|
11
|
+
* @param {int} m1type - Type of the first output map that can be CV_32FC1 or CV_16SC2. See convertMaps for details.
|
|
12
|
+
* @param {OutputArray} map1 - The first output map.
|
|
13
|
+
* @param {OutputArray} map2 - The second output map.
|
|
14
|
+
* @return {void}
|
|
15
|
+
*/
|
|
16
|
+
export declare function fisheye_initUndistortRectifyMap(K: InputArray, D: InputArray, R: InputArray, P: InputArray, size: Size, m1type: int, map1: OutputArray, map2: OutputArray): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fisheye.js","sourceRoot":"","sources":["../../../../src/types/opencv/fisheye.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -15,6 +15,7 @@ export * from "./DynamicBitset";
|
|
|
15
15
|
export * from "./Exception";
|
|
16
16
|
export * from "./Feature2D";
|
|
17
17
|
export * from "./features2d_draw";
|
|
18
|
+
export * from "./fisheye";
|
|
18
19
|
export * from "./FlannBasedMatcher";
|
|
19
20
|
export * from "./HOGDescriptor";
|
|
20
21
|
export * from "./imgproc_color_conversions";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { InputArray, OutputArray, int, Size } from "./_types";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Computes the undistortion and rectification maps for the image transform using remap.
|
|
5
|
+
* If D is empty, zero distortion is used. If R or P is empty, identity matrices are used.
|
|
6
|
+
*
|
|
7
|
+
* @param {InputArray} K - Camera intrinsic matrix.
|
|
8
|
+
* @param {InputArray} D - Input vector of distortion coefficients (k1, k2, k3, k4).
|
|
9
|
+
* @param {InputArray} R - Rectification transformation in the object space: 3x3 1-channel, or vector: 3x1/1x3 1-channel or 1x1 3-channel.
|
|
10
|
+
* @param {InputArray} P - New camera intrinsic matrix (3x3) or new projection matrix (3x4).
|
|
11
|
+
* @param {Size} size - Undistorted image size.
|
|
12
|
+
* @param {int} m1type - Type of the first output map that can be CV_32FC1 or CV_16SC2. See convertMaps for details.
|
|
13
|
+
* @param {OutputArray} map1 - The first output map.
|
|
14
|
+
* @param {OutputArray} map2 - The second output map.
|
|
15
|
+
* @return {void}
|
|
16
|
+
*/
|
|
17
|
+
export declare function fisheye_initUndistortRectifyMap(
|
|
18
|
+
K: InputArray,
|
|
19
|
+
D: InputArray,
|
|
20
|
+
R: InputArray,
|
|
21
|
+
P: InputArray,
|
|
22
|
+
size: Size,
|
|
23
|
+
m1type: int,
|
|
24
|
+
map1: OutputArray,
|
|
25
|
+
map2: OutputArray,
|
|
26
|
+
): void;
|