Federico Bolelli
9695165877
Merge pull request #19631 from prittt:sota-ccl
...
* Add Spaghetti algorithm for CCL
* Add stat tests for new and old algorithms
* Switch license header to short version
4 years ago
Gil Shotan
1612db5f91
Fix signed integer overflow in connected components
4 years ago
Arnaud Brejeon
ecbba852cf
Merge pull request #16415 from arnaudbrejeon:bug_fix_16410
...
* Fix bug 16410 and add test
* imgproc(connectedcomponents): avoid manual uninitialized allocations
* imgproc(connectedcomponents): force 'odd' chunk range size
* imgproc(connectedcomponents): reuse stripeFirstLabel{4/8}Connectivity
* imgproc(connectedcomponents): extend fix from PR14964
5 years ago
Alexander Alekhin
e7b6753a10
imgproc: avoid manual memory allocation in connectedcomponents.cpp
5 years ago
arnaudbrejeon
a37201abee
Fix crash, add assert and test
6 years ago
Hamdi Sahloul
a39e0daacf
Utilize CV_UNUSED macro
6 years ago
shengyu
72d3e14e8f
fix wrong indentation on github page (tab to space)
7 years ago
Alexander Alekhin
6b581c4e51
build: unreachable code after CV_Error() (part 2)
7 years ago
Alexander Alekhin
3b15f3e3b9
avoid calling of setNumThreads() to respect user settings
7 years ago
Alexander Alekhin
7f63b31ca8
avoid calling of setNumThreads() to respect user settings
7 years ago
Alexander Alekhin
5d36ee2fe7
imgproc: apply CV_OVERRIDE/CV_FINAL
7 years ago
luz.paz
d05714995c
Misc. modules/ cont. pt2
...
Found via `codespell`
7 years ago
Tony Lian
c8783f3e23
Merge pull request #9075 from TonyLianLong:master
...
Remove unnecessary Non-ASCII characters from source code (#9075 )
* Remove unnecessary Non-ASCII characters from source code
Remove unnecessary Non-ASCII characters and replace them with ASCII
characters
* Remove dashes in the @param statement
Remove dashes and place single space in the @param statement to keep
coding style
* misc: more fixes for non-ASCII symbols
* misc: fix non-ASCII symbol in CMake file
8 years ago
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
8 years ago
Vadim Pisarevsky
6473018d69
eliminated trailing whitespaces
8 years ago
Michele Cancilla
9405c6d206
Improvement of array of equivalences’ upper bound + fix some wrong comments
8 years ago
Tomoaki Teshima
822c67fdee
remove non ASCII character from comment
8 years ago
Michele Cancilla
89a0a46a69
Removed parallel version for CV_16U label type
8 years ago
Michele Cancilla
4b7fc59332
Fixed _P reserved variable name problem and changed getNumThreads with getNumberOfCPUs
8 years ago
Michele Cancilla
5b23c0b176
Fixed unnecessary black spaces;
...
Extended parallel version to all frameworks supported by OpenCV;
Added some documentation notes in modules/imgproc/include/opencv2/imgproc.hpp;
8 years ago
Michele Cancilla
0bc9a0db18
Improvement of sequential connected components Wu's algorithm and provide parallel version of both Wu's and Grana's algorithms (using TBB library)
8 years ago
Vadim Pisarevsky
5ddd25313f
Add Grana's connected components algorithm for 8-way connectivity. ( #6823 )
...
* Add Grana's connected components algorithm for 8-way connectivity. That algorithm is faster than Wu's one (currently implemented in opencv). For more details see https://github.com/prittt/YACCLAB .
* New functions signature and distance transform compatibility
* Add tests to imgproc/test/test_connectedcomponents.cpp
* Change of test_connectedcomponents.cpp for c++98 support
8 years ago
Vadim Pisarevsky
259e41da73
reverted "typedef _InputArray InputArray", fixed warning from doxygen
10 years ago
Vadim Pisarevsky
052593c760
1. Input/OutputArray optimizations;
...
2. Algorithm::load/save added (moved from StatModel)
3. copyrights updated; added copyright/licensing info for ffmpeg
4. some warnings from Xcode 6.x are fixed
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
10 years ago
Jason Newton
88b2fe9dbb
correct upper bound for maximum number of labels for 8-way connectivity
11 years ago
Roman Donchenko
9b92545ce6
War on Whitespace, master edition: trailing spaces.
11 years ago
Jason Newton
affab4f156
correct range computations, it is difficult to do the more efficient single pass 3N/2 implementations correctly in this particular setting without costing more than they save
11 years ago
Vadim Pisarevsky
31857082f4
probably fixed build problems on Android
12 years ago
Jason Newton
e1b60aa4e3
drop usage of macros... the type is already there!
12 years ago
Jason Newton
5f86eb8d63
proper dimensions from cv::Size in output stats/centroid
12 years ago
Vadim Pisarevsky
1eae455acb
fixed build warnings from VS; hopefully, fixes Android build too
12 years ago
Jason Newton
ad0bfdfb25
disable windows build warning for connectedcomponents template argument comparisons
12 years ago
Jason Newton
68e77ac051
use opencv's integer type convension
12 years ago
Jason Newton
d094e4bdbe
drop support for 8bit output for size cost relative to utility
12 years ago
Jason Newton
e70b3ef598
use a ltype parameter to determine result Label image type; export stats with differening types over different outputarrays
12 years ago
Jason Newton
00bdca7684
A few changes to comply with upstream requirements for merge.
...
-Change input/output order from (out Labeled, in Image) -> (in Image, Out Labeled) and convert
to Input/OutputArrays in the process.
-Adopt OutputArray for statistics export so that the algorithm is "wrapper friendly" and not requiring a new struct in
language bindings at the expense of using doubles for everything and slowing statistics computation down..
12 years ago
Jason Newton
d5aa679d3f
adjust output type to return int32... it should at least be unsigned but this breaks python bindings;
...
remove non-8bit input type support, not worth the binary size
12 years ago
Jason Newton
85880397c4
connectedcomponents: use opencv integral types, add to docs, fix up things for a python export
12 years ago
Jason Newton
4c0cb2576d
connectedComponents: peep-hole optimizations, mostly surrouding the fact that cv::Mat::at is expensive in a tight-loop -also added a "blobstats" version
12 years ago
Jason Newton
45b4f4f32b
connectedComponents: warning free version
12 years ago