Alexander Alekhin
44836c7f78
core: evaluate CV_Error() parameters during static scans
6 years ago
StefanBruens
3e4a195b61
Merge pull request #14936 from StefanBruens:crosscorr_cleanup
...
Crosscorr cleanup (#14936 )
* Simplify code for convolution destination type/size
For the 2d filter code, destination size equals source size, and the
crossCorr function even (re-)creates the output matrix with the given size.
The number of channels also have to match. The destination type() is the
one used to create the output matrix, so we can use its type() here.
This is a preparatory patch.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
* Remove redundant destination size and type parameters from crossCorr
All calling sites of crossCorr already use (...,
mat, mat.size(), mat.type(), ...), so the parameters are redundant.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
6 years ago
Stefan Brüns
e9a2e665b2
Explicitly default operator= for Vec<T, n>
...
Due to the explicitly declared copy constructor Vec<T, n>::Vec(Vec <T,n>&)
GCC 9 warns if there is no assignment operator, as having one typically
requires the other (rule-of-three, constructor/desctructor/assginment).
As the values are just a plain array the default assignment operator does
the right thing. Tell the compiler explicitly to default it.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
6 years ago
Dmitry Kurtaev
75f4c1abf2
Enable some tests for Inference Engine backend
6 years ago
Alexander Alekhin
a743de0e24
dnn: adjust compilation options
6 years ago
Nuzhny007
031e57b359
Fixed names conflict with dldt
6 years ago
Dmitry Kurtaev
96a2f80bf2
Limit number of threads in CPU plugin of IE by OpenCV's getNumThreads
6 years ago
Rostislav Vasilikhin
f2f600f807
fixed multi instrumentations
6 years ago
Alexander Alekhin
24790e4061
Merge pull request #14899 from alalek:dnn_fix_bnll_layer
...
* dnn: fix BNLLLayer implementation
details: https://github.com/BVLC/caffe/blame/1.0/src/caffe/layers/bnll_layer.cpp#L17
* dnn: enable OCV/OpenCL BNLL layer
6 years ago
Apoorv Goel
5b521bb778
Merge pull request #14898 from UnderscoreAsterisk:flann-warnings-and-4376
...
Keep a local copy of `features` from `flann::GenericIndex ` constructor (#14898 )
* Fix warnings on Windows
* Fix #4376
6 years ago
James Bowley
daa308f81c
Update obsolete flag in Intel video decoder.
...
Old flag resulted in software implementation being selected when the Intel decoder is not the primary adapter.
6 years ago
Alexander Alekhin
333e51b217
dnn: configure plugin path for InferenceEngine
6 years ago
Alexander Alekhin
f3e9eb3371
dnn: both protobuf readers have similar behavior
...
- ReadProtoFromTextFile
- ReadProtoFromTextBuffer
6 years ago
Alexander Alekhin
e8a703a71d
core(intrin): v_load_low() workaround for aarch64+clang
6 years ago
Alexander Alekhin
4a6888ccf6
imgproc: fix kmeans() call from grabCut()
6 years ago
Feng Chen
5620306c70
Merge pull request #14845 from vonchenplus:ocv_mirrorpad
...
* tensorflow support mirror pad
* revert macro define
* revert macro define
* reduce code duplication
* revert macro define
6 years ago
Alexander Alekhin
894f208de3
dnn(test): replace SkipTestException with tags
6 years ago
Lubov Batanina
16294437d5
Merge pull request #14833 from l-bat:ocv_eltwise3d
...
* Support Eltwise3d
* Refactoring
* Fix test
6 years ago
Alexander Alekhin
779f59da6b
pre: OpenCV 3.4.7 (version++)
6 years ago
Alexander Alekhin
f5ddaef46b
experimental version++
6 years ago
Cameron Martin
0ae053fdf8
js: Add findHomography js bindings.
...
Removed constants from legacy C api and switched out header with shorter version.
Removed blank line that was failing CI.
6 years ago
Thang Tran
2a67375239
js: added fillPoly() and fillConvexPoly()
6 years ago
Alexander Alekhin
5ac55fc132
core: eliminate AVX512 build warnings
...
from MSVS2017 and GCC8 -O1 mode
6 years ago
Alexander Alekhin
13a782c039
test: fix usage of findDataFile()
...
misused 'optional' mode
6 years ago
Alexander Alekhin
8ab6efb8c0
videoio: refactor GStreamer backend
...
- exception safe smart pointers, fixed many memory leaks
- fixed errors handling
- fixed strings handling
- fixed file existence check
- fixed toFraction() implementation
- add 'drop=true' for v4l2 input
- avoid overriding custom pipelines sink's 'max-buffers' value
- updated valgrind supression rules
- added support for GStreamer native leaks tracking (via gst_deinit() call)
- repaired capturing through GStreamer0.10 (fixed CV_8UC1)
6 years ago
Alexander Alekhin
ab24325df3
videoio(test): avoid raw ptr in ffmpeg tests
...
causes leaks if FFmpeg is disabled through OPENCV_VIDEOIO_PRIORITY_FFMPEG=0
6 years ago
Alexander Alekhin
681e0323f2
core: backport toLowerCase()/toUpperCase()
6 years ago
Alexander Alekhin
baf372ad3d
videoio(test): add extra videoio tests
6 years ago
Alexander Alekhin
95d9cfb5c3
static analysis issues
6 years ago
gal0is
bb7dc5f992
Solve the import issue in Python2.
6 years ago
Kang Yifei
ba0ed79635
Merge pull request #14800 from FanaticsKang:add_undistortPoint_test
...
Test request by #14583 (#14800 )
* add test to show the undistort bug
* move test to calib3d
6 years ago
Kang
549c53121a
fix the bug, when k[4] is negative, icdist may be negative at the edge of image.
6 years ago
Dmitry Kurtaev
dfdc91f8c9
dnn: fix MVN layer (issue 14683)
6 years ago
Dmitry Kurtaev
eba696a41e
Merge pull request #14792 from dkurt:dnn_ie_min_version_r5
...
* Remove Inference Engine 2018R3 and 2018R4
* Fix 2018R5
6 years ago
Vitaly Tuzov
a29e59a770
Rename parameters in AVX512 implementation of v_load_deinterleave and v_store_interleave
6 years ago
Jan Starzynski
e9ed7eb68d
make -fvisibility=hidden work with java 1.7
6 years ago
Vitaly Tuzov
d2aadabc5e
Merge pull request #14743 from terfendail:wui512_fixvswarn
...
Fix for MSVS2019 build warnings (#14743 )
* AVX512 arch support for MSVS
* Fix for MSVS2019 build warnings: updated integral() AVX512 implementation
* Fix for MSVS2019 build warnings: reworked v_rotate_right AVX512 implementation
* fix indentation
6 years ago
Alexander Alekhin
f8791f072d
core: avoid function type cast, make happy UBSAN
...
backporting of commit: d3d13c41c4
6 years ago
Alexander Alekhin
db7f689728
imgcodecs(tiff): add more checks
...
backporting of commit: f6230ae019
6 years ago
Maksim Shabunin
10d61a2b44
Limited API support for Python3
6 years ago
Alexander Alekhin
02bfd20760
imgcodecs(test): add OpenEXR I/O test
6 years ago
Alexander Alekhin
1e9ad5476d
core(intrin): drop hasSIMD128 checks
...
- use compile-time checks instead (`#if CV_SIMD128`)
- runtime checks are useless
6 years ago
Lubov Batanina
5e80191d27
Merge pull request #14697 from l-bat:Slice_ONNX
...
* Support Slice layer in ONNX importer
* Add IE support
* Fix ONNX importer
* Fix Slice
6 years ago
Chip Kerchner Chip.Kerchner@ibm.com
058367f34c
Rewrite code in BGR2Gray functions so that auto vectorizer does a better job.
6 years ago
Alexander Alekhin
60fb1fde75
java: wrap StringIO() to support unicode strings
6 years ago
Alexander Nesterov
a9769b9202
Remove check and added binding tests
6 years ago
Alexander Alekhin
f5ca9d3fe1
python: visibility
6 years ago
Alexander Alekhin
4a8fd71a2e
core: fix visibility handling
6 years ago
Alexander Alekhin
c6deba6003
android: fix javadoc
6 years ago
utibenkei
03382d29cc
Merge pull request #14693 from utibenkei:fix_java_simpleblobdetector
...
* java: fix java SimpleBlobDetector
* add SIMPLEBLOBFeatureDetectorTest
* add package org.opencv.test.features2d;
* fix SIMPLEBLOBFeatureDetectorTest
6 years ago