mirror of
https://gitcode.com/gh_mirrors/es/esp32-opencv.git
synced 2025-08-15 03:01:04 +08:00

- tested with opencv build_type=debug and for build_type=release - TODO: test with pthread_pf enabled
64 lines
6.6 KiB
ReStructuredText
64 lines
6.6 KiB
ReStructuredText
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| Function name and arguments | BUILD_TYPE=Release |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| | 160x120 | 320x240 | 640x480 | 1024x768 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| All measures are in [ms] |
|
|
+================================================+=============+=============+=============+=============+
|
|
| |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| **Threshold** |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| binaryThreshold | 2.6 | 11 | 42 | 107 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| triangleThreshold | 3.9 | 17 | 66 | 168 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| OTSUThreshold | 6.5 | 20 | 69 | 171 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| toZeroThreshold | 2.6 | 11 | 42 | 107 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| **Blurring** |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| GaussianBlur 9x9 kernel | 34 | 128 | 504 | 1458 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| medianBlur 9x9 kernel | 56 | 273 | 1425 | 4091 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| bilateralFilter diameter=9 | 138 | 535 | 2119 | 5293 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| **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 | 277 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| **Edge detection** |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| Sobel | 14 | 50 | 187 | 497 |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| Canny | 32 | 108 | 375 | - |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| **Hough tranformations** |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| HoughLines | 313 | 681 | 2121 | - |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|
|
| HoughLines probabilistic | 608 | 1358 | 3766 | - |
|
|
+------------------------------------------------+-------------+-------------+-------------+-------------+
|