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
Copy file name to clipboardExpand all lines: docs/pages/availablefunctions.md
+48-12Lines changed: 48 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1758,14 +1758,28 @@ Blurs an image using a Gaussian filter.
1758
1758
1759
1759
```js
1760
1760
invoke(
1761
-
name:'GaussianBlur',
1762
-
src: Mat,
1763
-
dst: Mat,
1764
-
ksize: Size,
1765
-
sigmaX: number,
1766
-
sigmaY: number,
1767
-
borderType: BorderTypes
1768
-
):void;
1761
+
name:'GaussianBlur',
1762
+
src: Mat,
1763
+
dst: Mat,
1764
+
ksize: Size,
1765
+
sigmaX: number
1766
+
):void;
1767
+
invoke(
1768
+
name:'GaussianBlur',
1769
+
src: Mat,
1770
+
dst: Mat,
1771
+
ksize: Size,
1772
+
sigmaX: number
1773
+
):void;
1774
+
invoke(
1775
+
name:'GaussianBlur',
1776
+
src: Mat,
1777
+
dst: Mat,
1778
+
ksize: Size,
1779
+
sigmaX: number,
1780
+
sigmaY: number,
1781
+
borderType: BorderTypes
1782
+
):void;
1769
1783
```
1770
1784
1771
1785
### getGaborKernel
@@ -1831,11 +1845,12 @@ Returns a structuring element of the specified size and shape for morphological
1831
1845
- anchor Anchor position within the element. The default value means that the anchor is at the center. Note that only the shape of a cross-shaped element depends on the anchor position. In other cases the anchor just regulates how much the result of the morphological operation is shifted..
Copy file name to clipboardExpand all lines: src/functions/ImageProcessing/ImageFiltering.ts
+49Lines changed: 49 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -148,6 +148,20 @@ export type ImageFiltering = {
148
148
* @param sigmaY Gaussian kernel standard deviation in Y direction; if sigmaY is zero, it is set to be equal to sigmaX, if both sigmas are zeros, they are computed from ksize.width and ksize.height, respectively (see getGaussianKernel for details); to fully control the result regardless of possible future modifications of all this semantics, it is recommended to specify all of ksize, sigmaX, and sigmaY.
149
149
* @param borderType pixel extrapolation method, see BorderTypes. BORDER_WRAP is not supported.
150
150
*/
151
+
invoke(
152
+
name: 'GaussianBlur',
153
+
src: Mat,
154
+
dst: Mat,
155
+
ksize: Size,
156
+
sigmaX: number
157
+
): void;
158
+
invoke(
159
+
name: 'GaussianBlur',
160
+
src: Mat,
161
+
dst: Mat,
162
+
ksize: Size,
163
+
sigmaX: number
164
+
): void;
151
165
invoke(
152
166
name: 'GaussianBlur',
153
167
src: Mat,
@@ -198,6 +212,7 @@ export type ImageFiltering = {
198
212
* @param ksize Size of the structuring element.
199
213
* @param anchor Anchor position within the element. The default value means that the anchor is at the center. Note that only the shape of a cross-shaped element depends on the anchor position. In other cases the anchor just regulates how much the result of the morphological operation is shifted.
0 commit comments