mirror of
https://gitcode.com/gh_mirrors/es/esp32-opencv.git
synced 2025-08-15 03:01:04 +08:00
63 lines
6.4 KiB
ReStructuredText
63 lines
6.4 KiB
ReStructuredText
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| Function name and arguments | BUILD_TYPE=Release |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| | 160x120 | 320x240 | 640x480 | 1024x768 |
|
|
+================================================+=============+=============+=============+=============+
|
|
| |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| **Threshold** |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| binaryThreshold | 2.5 | 11 | 42 | 107 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| triangleThreshold | 3.9 | 17 | 66 | 168 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| OTSUThreshold | 6.5 | 20 | 69 | 171 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| toZeroThreshold | 2.6 | 11 | 42 | 107 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| **Blurring** |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| GaussianBlur 3x3 kernel | 5.6 | 20 | 76 | 192 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| medianBlur 3x3 kernel | 22 | 90 | 360 | 926 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| bilateralFilter diameter=5 | 51 | 190 | 743 | 1854 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| **Morphological tranforms** |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| erode 5x5 kernel | 6.2 | 22 | 84 | 214 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| dilate 5x5 kernel | 6.2 | 22 | 84 | 214 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| open 5x5 kernel | 11 | 41 | 158 | 400 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| **Resize image** |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| resize linear interpolation | 3.8 | 16 | 59 | 147 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| resize cubic interpolation | 6.5 | 27 | 108 | 275 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| **Edge detection** |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| Sobel | 14 | 50 | 187 | 497 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| Canny | 32 | 108 | 375 | ERR |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| **Hough tranformations** |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| HoughLines | 314 | 686 | 2121 | ERR |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| HoughLines probabilistic | 603 | 1352 | 3765 | ERR |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
|