Hamdi Sahloul
5d54def264
Add semicolons after `CV_INSTRUMENT` macros
6 years ago
Vitaly Tuzov
29770e13e8
Fixed bit-exact resize SIMD implementation for AVX2 baseline
6 years ago
Mark Harfouche
095b0d3272
Fix BayerXX2RGBA when blue is on the first line.
6 years ago
take1014
57ae3ac7a2
fix document about HoughLines
6 years ago
Mark Harfouche
53bbed89ae
Output RGBA images when bayer_xx2YYYA is called
6 years ago
Hamdi Sahloul
a39e0daacf
Utilize CV_UNUSED macro
6 years ago
Alexander Alekhin
24e72e151a
imgproc: grabcut numeric stability
6 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
6 years ago
Alexander Alekhin
ad146e5a6b
core: remove constructors from C API structures
...
POD structures can't have constructors.
6 years ago
Rostislav Vasilikhin
da7e1cfb49
Merge pull request #12279 from savuor:cvtcolor_bgr2gray_8u_15bits
...
* bgr2gray 8u fixed to be in conformance with IPP code
* coefficients fixed so their sum is 32768
* java test for CascadeDetect fixed: equalizeHist added
6 years ago
Alexander Alekhin
e70526625f
imgproc: fix Subdiv2D::getTriangleList()
6 years ago
Alexander Alekhin
acce95f446
backport fixes for static analyzer warnings
...
Commits:
- 09837928d9
- 10fb88d027
Excluded changes with std::atomic (C++98 requirement)
6 years ago
cyy
10fb88d027
Merge pull request #12391 from DEEPIR:master
...
fix some errors found by static analyzer. (#12391 )
* fix possible divided by zero and by negative values
* only 4 elements are used in these arrays
* fix uninitialized member
* use boolean type for semantic boolean variables
* avoid invalid array index
* to avoid exception and because base64_beg is only used in this block
* use std::atomic<bool> to avoid thread control race condition
6 years ago
Vitaly Tuzov
f9a5c4d181
Fixed bit-exact resize wide intrinsics implementation for 16U
6 years ago
Alexander Alekhin
1e362ff5c3
imgproc(GaussianBlur): restore processing order
6 years ago
yuki takehara
cb7ee27cd9
Fix bug in distanceTransform ( #12278 )
...
* fix 12218
* Update test_distancetransform.cpp
marked the test as "BIGDATA_TEST" in order to skip it on low-mem platforms
* modify test
* use a smaller image in the test
* fix test code
6 years ago
cyy
09837928d9
Merge pull request #12357 from DEEPIR:master
...
* fix some static analyzer warnings
* fix some static analyzer warnings
* fix race condition of workthread control
6 years ago
Alexander Alekhin
0f9f2696be
imgproc: small code refactoring (findContours -> l_cinfo)
6 years ago
Alexander Alekhin
65a0587ce8
imgproc(segmentation): don't increase mask NULL pointer
...
Avoid manual address arithmetic
6 years ago
Vitaly Tuzov
0f2b535fcc
Bit-exact GaussianBlur reworked to use wide intrinsics ( #12073 )
...
* Bit-exact GaussianBlur reworked to use wide intrinsics
* Added v_mul_hi universal intrinsic
* Removed custom SSE2 branch from bit-exact GaussianBlur
* Removed loop unrolling for gaussianBlur horizontal smoothing
6 years ago
Vitaly Tuzov
e345cb03d5
Bit-exact resize reworked to use wide intrinsics ( #12038 )
...
* Bit-exact resize reworked to use wide intrinsics
* Reworked bit-exact resize row data loading
* Added bit-exact resize row data loaders for SIMD256 and SIMD512
* Fixed type punned pointer dereferencing warning
* Reworked loading of source data for SIMD256 and SIMD512 bit-exact resize
6 years ago
Jakub Golinowski
9f1218b00b
Merge pull request #11897 from Jakub-Golinowski:hpx_backend
...
* Add HPX backend for OpenCV implementation
Adds hpx backend for cv::parallel_for_() calls respecting the nstripes chunking parameter. C++ code for the backend is added to modules/core/parallel.cpp. Also, the necessary changes to cmake files are introduced.
Backend can operate in 2 versions (selectable by cmake build option WITH_HPX_STARTSTOP): hpx (runtime always on) and hpx_startstop (start and stop the backend for each cv::parallel_for_() call)
* WIP: Conditionally include hpx_main.hpp to tests in core module
Header hpx_main.hpp is included to both core/perf/perf_main.cpp and core/test/test_main.cpp.
The changes to cmake files for linking hpx library to above mentioned test executalbles are proposed but have issues.
* Add coditional iclusion of hpx_main.hpp to cpp cpu modules
* Remove start/stop version of hpx backend
6 years ago
take1014
e1ee744e15
resolve #5788
6 years ago
Hamdi Sahloul
532eace7d6
Extensive wrapping of CUDA functionalities for Python
6 years ago
take1014
1ae477a46d
fix typo
6 years ago
Suleyman TURKMEN
6d165dae5e
related moved enums
6 years ago
Suleyman TURKMEN
d8cd1d8fcc
Merge pull request #12246 from sturkmen72:move_enums
...
* Update core.hpp
* Update imgproc.hpp
* Update ImgprocTest.java
* Update CameraCalibrator.java
* Update OnCameraFrameRender.java
* Update FindContoursDemo.java
* Update IntroductionToSVMDemo.java
* Update NonLinearSVMsDemo.java
* Update IntroductionToPCADemo.java
* Update Smoothing.java
* Update MainActivity.java
* Update CalcBackProjectDemo1.java
* Update CornerSubPixDemo.java
* Update CornerDetectorDemo.java
* Update GoodFeaturesToTrackDemo.java
6 years ago
Kuang Fangjun
ab8ba047a5
fix a typo.
6 years ago
Kuang Fangjun
cecc19381f
fix an error in the formula for cv::cornerSubPix
6 years ago
Suleyman TURKMEN
c61bc3a0cb
Update documentation and samples
6 years ago
Alexander Alekhin
98c5ce9347
imgproc(test): refactor test_intersection.cpp
...
don't use legacy test API
6 years ago
Alexander Alekhin
f89defad5d
imgproc: fix rotatedRectangleIntersection()
6 years ago
Bahram Dahi
96f92c6705
imgproc(tests): intersetion calculation of RotatedRect
6 years ago
Alexander Alekhin
a0cff0be94
imgproc(cvtColor): slightly improve error messages
...
Do not try to process empty inputs.
6 years ago
Alexander Alekhin
b00758babe
imgproc(cvtColor): temporary disable IPP for 8U GRAY2BGR mode
...
Details 12176
6 years ago
tompollok
061149cbbd
imgproc: update cornerSubPix documentation
6 years ago
CJ Smith
da41ac9e60
Merge pull request #12106 from CJSmith-0141:warpPerspective_typofix
...
* Fixes typo in function name hal::warpPerspective.
* Fixes remaining typos in word Perspective (was Perspectve).
6 years ago
Kuang Fangjun
83039c8752
fix a typo.
6 years ago
Alexander Alekhin
d044ac1c66
imgproc(getPerspectiveTransform): add solveMethod parameter
...
drop compatibility workaround via runtime parameter
6 years ago
Maksim Shabunin
cbb1e867e5
More issues found by static analysis
6 years ago
Maksim Shabunin
e0603bb45f
Fixed several issues found by static analysis tools
6 years ago
Maksim Shabunin
c473718bc2
Check for empty Mat in compare, operator= and RNG::fill, fixed related tests
7 years ago
Maksim Shabunin
1da46fe6fb
Fixed issues found by static analysis (mostly DBZ)
7 years ago
Alexander Alekhin
d5951bc033
build: eliminate GCC8 warnings
7 years ago
Alexander Alekhin
0155851929
imgproc(getPerspectiveTransform): add configuration parameter
7 years ago
Alexander Alekhin
71c6cb9c22
imgproc(getPerspectiveTransform): solve(DECOMP_SVD -> LU)
7 years ago
Alexander Alekhin
2170811e48
imgproc(perf): update getPerspectiveTransform perf test
...
Function is very fast, so 0.000 ms results are useless.
1000 runs requires 25ms on i7-6700K.
7 years ago
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
7 years ago
gnthibault
b46fef327e
Fixed Assertin error due to Size.area() overflowing
7 years ago
Vitaly Tuzov
2e22f8e790
Fix for morphologyEx MORPH_HITMISS mode
7 years ago