Vitaly Tuzov
e1a2c034e8
Updated findContours to use wide universal intrinsics
6 years ago
Alexander Alekhin
b74b05d1b3
Revert CV_TRY/CV_CATCH macros
...
This reverts commit 7349b8f5ce
(partially).
6 years ago
Hamdi Sahloul
5d54def264
Add semicolons after `CV_INSTRUMENT` macros
7 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
7 years ago
Alexander Alekhin
0f9f2696be
imgproc: small code refactoring (findContours -> l_cinfo)
7 years ago
Maksim Shabunin
cbb1e867e5
More issues found by static analysis
7 years ago
Alexander Alekhin
d5951bc033
build: eliminate GCC8 warnings
7 years ago
sergeybe
2266a8c85f
fix FindContours default offset for CV_LINK_RUNS method
7 years ago
Maksim Shabunin
7349b8f5ce
Build for embedded systems
7 years ago
Maksim Shabunin
1f23202ad8
Issues found by static analysis (5th round)
8 years ago
Maksim Shabunin
e0393f8557
Fixed some issues found by static analysis (4th round)
8 years ago
Maksim Shabunin
a769d69a9d
Fixed several issues found by static analysis
8 years ago
mschoeneck
4a4d94f266
Merge pull request #8694 from mschoeneck:Canny
...
Parallelize Canny with custom gradient (#8694 )
* New Canny implementation. Restructuring code in parallelCanny class. Align mag buffer and map.
* Fix warnings.
* Missing SIMD check added.
* Replaced local trailingZeros in contours.cpp. Use alignSize in canny.cpp
* Fix warnings in alignSize and allocate just minimum extra columns.
* Fix another warning in map.create.
* Exchange for loop by do loop to avoid double check at the beginning.
Define extra SIMD CANNY_CHECK to avoid unnecessary continue.
8 years ago
Tomoaki Teshima
6ab10fc3ac
suppress warnings on GCC 4.9 series
...
- check boundary strictly
- initialize the variable before using it
8 years ago
Alexander Alekhin
7dc673fd56
imgproc: fix findContours (submatrix input)
8 years ago
Alexander Alekhin
183c75358b
imgproc: fix trailingZeros for MSVS 2010
8 years ago
Vladislav Sovrasov
56c133d459
Disable redundant border initialization in findContours
8 years ago
Vladislav Sovrasov
1f4f50b9dc
findContours: integrate workaroung to allow contours detection on image border
9 years ago
Juha Reunanen
4e7f28811c
Merge pull request #7452 from reunanen:issue-7409-2.4
...
Fix findContours crash for very large images (v2.4)
* Cast step to size_t in order to avoid integer overflow when processing very large images
* Change assert to CV_Assert
9 years ago
Juha Reunanen
0f387cda8f
Merge pull request #7451 from reunanen:issue-7409
...
Fix findContours crash for very large images (#7451 )
* Cast step to size_t in order to avoid integer overflow when processing very large images
* Change assert to CV_Assert
9 years ago
matze
975d2e4294
Enable built in counting trailing zeros function for Intel compiler and clang.
9 years ago
matze
a865876c0f
Added CV_UNUSED to not used variable when build without SSE2 support.
9 years ago
matze
aaa255465e
Renamed haveSSE2 in haveSIMD. Conditional compilation for function header removed
9 years ago
matze
fd6f54c895
Bug fixed in findEndContours and icvFindContoursInInterval adjusted.
9 years ago
matze
f6451c7ae6
Varaible names renamed. Macro definitions fixed. findEndContourPoint function fixed. findContoursInInterval adjusted.
9 years ago
matze
25cf33d5c8
Warning fixed by adding a cast to char
9 years ago
matze
0acd818efc
Removed #elif defined(__INTEL_COMPILER) because it is disabled at the moment
9 years ago
matze
8af8c4d0aa
Improves findContours using SSE _mm_movemask_epi8 to find next contour point. Cleaned up code a little bit
9 years ago
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
9 years ago
Aman Verma
411be4fde8
Fix for #5481 , removing repeated/useless assignment in contours.cpp
10 years ago
Dikay900
7ca0557b40
typos in comments
10 years ago
Timur Sattarov
4762728fd5
More sensible error messages
10 years ago
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
11 years ago
Sander Mathijs van Veen
d25770ee76
Fix Python 2 bindings for findContours
...
The sanity check prevents Python 2 from calling findContours, because the
Python 2 bindings pass an empty matrix for `_contours`. If `_contours` is not
empty, the channel and depth check should determine whether the matrix is of
the correct type and size.
Note: the Python 2 bindings passes a matrix of type `STD_VECTOR_MAT` to
parameters of the type `OutputArrayOfArrays`.
11 years ago
unknown
ade46bd428
Fixed typos in comments
11 years ago
Roman Donchenko
7ea1bf3cf0
Fixed several problems found by PVS-Studio.
...
This fixes all problems from the article "Checking OpenCV with PVS-Studio"
<http://www.viva64.com/en/b/0191/ > that are not already fixed and are
not in 3rdparty or the legacy module.
The problems fixed are two instances of useless code and one instance
of unspecified behavior (right-shifting a negative number).
11 years ago
Artur Wieczorek
59250e8288
cv::findContours: Check if type of output data structure is right to store contours (vector<vector<Point>>).
11 years ago
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
12 years ago
Roman Donchenko
254d4ae429
Boring changes - imgproc.
12 years ago
Andrey Kamaev
13b31b0804
Move C++ basic structures to separate header and inverse dependency from C API
...
cv::Complex, cv::Point_ and cv::Point3_ are moved.
12 years ago
Vadim Pisarevsky
dc4d0398f3
converted few more comp. geometry functions to C++
12 years ago
Vadim Pisarevsky
c2241dccc5
converted fitline to C++, fixed Mat::checkVector().
12 years ago
Vadim Pisarevsky
457fa52111
convex hull converted to C++; other 2 functions in convhull.cpp are yet to be finished.
12 years ago
Vadim Pisarevsky
e3941d0965
refactored approxpoly
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
13 years ago
Andrey Kamaev
58f31819cc
Return drawContours back to imgproc
...
This partly reverts commit 6ca618277c
.
13 years ago
Andrey Kamaev
81a5988015
Merged the trunk r8467:8507 (inclusive) (big bunch of documentation fixes)
13 years ago
Andrey Kamaev
6ca618277c
More fixes for documentation.
13 years ago
Vadim Pisarevsky
d5a0088bbe
merged 2.4 into trunk
13 years ago
Andrey Pavlenko
13427c0cdf
fixing convexityDefects()
13 years ago