Egor Smirnov
375fe81311
fix slice and expand
3 years ago
Zhuo Zhang
f5105bac65
remove const in seamless_cloding APIs for better semantics
3 years ago
KaurkerDevourer
9198e30688
Fix DpSeamFinder::hasOnlyOneNeighbor
...
std::lower_bound is linear for set
https://en.cppreference.com/w/cpp/algorithm/lower_bound
3 years ago
Artem Saratovtsev
1890157faa
Merge pull request #21635 from DumDereDum:issue_21595_3.4
...
Issue 21595 fix 3.4 branch
* bug fix; add test
* rewrite tests avoiding vector in tests
3 years ago
Yuriy Chernyshov
0898f372b1
Аix -Winvalid-noreturn under clang-cl
3 years ago
Alexander Alekhin
2b7803dbac
imgcodecs: add runtime checks to validate input
...
backport of commit: f9b1dbe2ac
3 years ago
Maksim Shabunin
a251474144
Update filters in ONNX tests
3 years ago
Alexander Alekhin
8d88bb06b2
core(vsx): update vec_absd() workaround condition
3 years ago
Suleyman TURKMEN
44db2eea70
update HOGDescriptor documentation
3 years ago
Vincent Rabaud
fc28ba3156
Merge pull request #21594 from vrabaud:3.4_msan
...
* Fix harmless MSAN error.
This is similar to https://github.com/opencv/opencv/pull/21527
A macro is also created to simplify the code.
* Declare fallback only once.
3 years ago
Alexander Alekhin
effce0573b
dnn: drop legacy Inference Engine NN builder API
3 years ago
Greg Fiumara
dae73938e8
Fix cv::FileStorage::Mode::Memory doxygen layout
3 years ago
Suleyman TURKMEN
ffee1a4126
fix cv::floodfill() for calling it with an empty mask
3 years ago
lamm45
5064b6f747
Update LineIterator documentation
3 years ago
Alexander Alekhin
1da48beeec
dnn(ngraph): fix output names
3 years ago
Alexander Alekhin
b57ff73086
dnn(ngraph): fix outputs handling, drop 'unconnected' logic
3 years ago
Alexander Alekhin
67978b5746
dnn(ngraph): add debuging messages
3 years ago
Alexander Alekhin
062f305d1a
dnn: don't fuse 'outputs' with OpenVINO backend
3 years ago
Alexander Alekhin
1f70d4e2a5
dnn(test): re-enable ONNX split tests for OpenVINO
3 years ago
Alexander Alekhin
aa5bc20c83
dnn(ngraph): fixup get_output_as_single_output_node() replacement patch
3 years ago
Maksim Shabunin
d1e76a34a0
3.4: Use modern OpenVINO package interface
...
original commit: 437af37b13
3 years ago
Alexander Alekhin
a7e6a1059c
dnn(test): fix outputs handling in ONNX conformance
...
- ONNX output is 1 tensor per defined output instead of N tensors from outputs of "output" layer
3 years ago
Alexander Alekhin
85719a0a5d
dnn: support outputs registration under new names
...
- fixed ONNX importer
3 years ago
Vincent Rabaud
b5b52afd35
Merge pull request #21527 from vrabaud:3.4_msan
...
* Fix wrong MSAN errors.
Because Fortran is called in Lapack, MSAN does not think the memory
has been written even though it is the case.
MSAN does no support well cross-language memory analysis.
* Make a dedicated check.
3 years ago
Vadim Levin
ef85b24a78
fix: wrong reference counter after module initialization
3 years ago
Alexander Alekhin
70b0274c8e
dnn: apply hint to ignore denormals processing
3 years ago
Alexander Alekhin
b1d484f827
core(parallel): propagate FP denormals mode
3 years ago
Alexander Alekhin
123519165d
core: FP denormals hints support
3 years ago
pkubaj
5d9ea394ba
Fix VSX detection on FreeBSD
...
hwcap should actually be long.
3 years ago
Vincent Rabaud
abb5c9fd92
Fix undefined behavior in line drawing.
...
Left shift of negative values is undefined.
3 years ago
Yuriy Chernyshov
d1b533d399
Disable -Wreturn-type-c-linkage under clang-cl
...
clang-cl defines both __clang__ and _MSC_VER, yet uses `#pragma GCC` to disable certain diagnostics.
At the time `-Wreturn-type-c-linkage` was reported by clang-cl.
This PR fixes this behavior by reordering defines.
3 years ago
Suleyman TURKMEN
2b5bb02817
Update imgcodecs.hpp
3 years ago
Alexander Alekhin
302d14adef
build: fix GCC12 compilation
3 years ago
Smirnov Egor
17b2d92a3d
add optional outputs support and fix graph links
3 years ago
Alexander Alekhin
82818e7324
cmake(highgui): update handling of OpenGL libraries
3 years ago
Vadim Levin
eca2d92791
fix: submodules creation and registration
...
- Add special case handling when submodule has the same name as parent
- `PyDict_SetItemString` doesn't steal reference, so reference count
should be explicitly decremented to transfer object life-time
ownership
- Add sanity checks for module registration input
3 years ago
Vadim Levin
76e34d6f2c
fix: handle possible PyModule_AddObject failure
...
Comment from Python documentation:
Unlike other functions that steal references, `PyModule_AddObject()` only
decrements the reference count of value on success.
This means that its return value must be checked, and calling code must
`Py_DECREF()` value manually on error.
3 years ago
Alexander Alekhin
b304730225
dnn: fix API - explicit ctors, const methods
3 years ago
Alexander Alekhin
80d9f624d0
dnn: don't use aligned load without alignment checks
...
- weights are unaligned in dasiamprn sample (comes from numpy)
3 years ago
Vincent Rabaud
4db3a388dd
Fix a potential UBSAN error.
...
We only use that value as uint64_t below anyway.
3 years ago
h6197627
649f747f8a
Merge pull request #21405 from h6197627:3.4
...
* Use c++ namespaces explicitly
* Add root cv c++ namespace
3 years ago
Alexander Alekhin
05dbaf7672
videoio(msmf): use info message in SourceReaderCB destructor
3 years ago
Christoph Rackwitz
f3e0479a8f
kmeans: assertion "There can't be more clusters than elements"
3 years ago
Vincent Rabaud
bf5e09d5ab
Remove unnecessary use of ref-capture in code example.
3 years ago
Stefano Allegretti
c685293297
Fix #21366
3 years ago
Joe Howse
c2209ad5e4
Doc warnings about experimental UMatUsageFlags
3 years ago
Alexander Alekhin
c5a86c22a4
core(ocl): add option to abort on OpenCL kernel build failure
...
- exceptions are catched by fallback CPU path
- OPENCV_OPENCL_ABORT_ON_BUILD_ERROR (disabled by default)
3 years ago
Alexander Alekhin
631126c77a
release: OpenCV 3.4.17
3 years ago
Alexander Alekhin
cdfa8a668b
python: use '((x,y), (w,h), angle)' in std::vector<RotatedRect>
3 years ago
Alexander Alekhin
f43fec7ee6
cmake: use find_package(OpenEXR) to support OpenEXR 3+
3 years ago