Maksim Shabunin
7e56908306
Merge pull request #25469 from mshabunin:cpp-emd
...
imgproc: refactor EMD to reduce C-API usage #25469
- added more tests for EMD
- refactored to remove CvArr
- used BufferArea for memory allocations
- renamed functions and variables and formatted the code
- kept legacy functions intact in separate header
2024-04-24 14:28:31 +03:00
Alexander Smorkalov
daa8f7dfc6
Partially back-port #25075 to 4.x
2024-03-05 12:15:39 +03:00
Alexander Smorkalov
fc98b31c3e
Partially backport C API removal in imgproc module to reduce conflicts with 5.x
2024-02-29 12:42:19 +03:00
yuki takehara
a6277370ca
Merge pull request #21107 from take1014:remove_assert_21038
...
resolves #21038
* remove C assert
* revert C header
* fix several points in review
* fix test_ds.cpp
2021-11-27 18:34:52 +00:00
Hamdi Sahloul
5d54def264
Add semicolons after CV_INSTRUMENT macros
2018-09-14 06:45:31 +09:00
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
2018-09-06 14:34:16 +03:00
Alexander Alekhin
b09a4a98d4
opencv: Use cv::AutoBuffer<>::data()
2018-07-04 19:11:29 +03:00
Maksim Shabunin
248e2c7d47
Fixed some issues found by static analysis
2017-09-08 12:22:12 +03:00
Maksim Shabunin
e0393f8557
Fixed some issues found by static analysis (4th round)
2017-06-30 12:26:53 +03:00
Maksim Shabunin
a769d69a9d
Fixed several issues found by static analysis
2017-06-28 18:06:18 +03:00
Hamdi Sahloul
6a856d677c
Wraps cv::EMD for Python and Java
2017-04-01 17:20:03 +09:00
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
2016-08-19 18:10:03 +03:00
Sergei Nosov
dce310e03c
provide better error messages
2016-07-12 18:03:28 +03:00
Vadim Pisarevsky
b91313a84e
initialize the output flow in EMD (thanks to Daniel DeMenthon for the bug report)
2015-03-26 16:26:41 +03:00
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
2012-10-17 15:57:49 +04:00
Vadim Pisarevsky
3636eec789
fixed flow matrix dimensionality in EMD
2011-07-27 20:13:50 +00:00
Vadim Pisarevsky
0c877f62e9
replaced "const InputArray&" => "InputArray"; made InputArray and OutputArray references. added "None()" constant (no array()).
2011-06-06 14:51:27 +00:00
Vadim Pisarevsky
abeeb40d46
a big patch; use special proxy types (Input/OutputArray, Input/OutputArrayOfArrays) for passing in vectors, matrices etc.
2011-04-17 13:14:45 +00:00
Vadim Pisarevsky
061b49e0b2
reworked nearly all of the OpenCV tests (except for opencv_gpu tests) - they now use the Google Test engine.
2011-02-09 20:55:11 +00:00
Vadim Pisarevsky
62fa7f6620
avoid crash in cvCalcEMD() when one of the histograms has only one non-zero element (ticket #396 ). Thanks to nburrus for the patch
2010-07-29 11:00:52 +00:00
Vadim Pisarevsky
127d6649a1
"atomic bomb" commit. Reorganized OpenCV directory structure
2010-05-11 17:44:00 +00:00