Alexander Alekhin
b505cf84de
Merge pull request #16096 from YashasSamaga:cuda4dnn-region-optimize
2019-12-09 14:34:48 +00:00
Yashas Samaga B L
476a02739e
Merge pull request #16097 from YashasSamaga:cuda4dnn-optimize-resize-bilinear
...
cuda4dnn(resize): process multiple channels each iteration
* resize bilinear: process multiple chans. per iter.
* remove unused headers
* correct dispatch logic
* resize_nn: process multiple chans. per iter.
2019-12-09 17:31:27 +03:00
Paul Murphy
a011035ed6
Merge pull request #15257 from pmur:resize
...
* resize: HResizeLinear reduce duplicate work
There appears to be a 2x unroll of the HResizeLinear against k,
however the k value is only incremented by 1 during the unroll. This
results in k - 1 duplicate passes when k > 1.
Likewise, the final pass may not respect the work done by the vector
loop. Start it with the offset returned by the vector op if
implemented. Note, no vector ops are implemented today.
The performance is most noticable on a linear downscale. A set of
performance tests are added to characterize this. The performance
improvement is 10-50% depending on the scaling.
* imgproc: vectorize HResizeLinear
Performance is mostly gated by the gather operations
for x inputs.
Likewise, provide a 2x unroll against k, this reduces the
number of alpha gathers by 1/2 for larger k.
While not a 4x improvement, it still performs substantially
better under P9 for a 1.4x improvement. P8 baseline is
1.05-1.10x due to reduced VSX instruction set.
For float types, this results in a more modest
1.2x improvement.
* Update U8 processing for non-bitexact linear resize
* core: hal: vsx: improve v_load_expand_q
With a little help, we can do this quickly without gprs on
all VSX enabled targets.
* resize: Fix cn == 3 step per feedback
Per feedback, ensure we don't overrun. This was caught via the
failure observed in Test_TensorFlow.inception_accuracy.
2019-12-09 14:54:06 +03:00
Alexander Alekhin
734de34b7a
Merge pull request #16085 from alalek:imgproc_threshold_to_zero_ipp_bug
...
* imgproc(IPP): wrong result from threshold(THRESH_TOZERO)
* imgproc(IPP): disable IPP code to pass THRESH_TOZERO test
2019-12-09 14:51:02 +03:00
Alexander Alekhin
e0e683aedf
videoio(plugins): relax version check for FFmpeg wrapper on Windows
2019-12-09 14:47:38 +03:00
Dmitry Kurtaev
883c4c60c3
Remove Dummy layer
2019-12-09 12:49:47 +03:00
Alexander Alekhin
b1b505f783
dnn: clarify error message from getMemoryShapes()
2019-12-08 22:17:24 +00:00
Yashas
dd3f517fe9
optimize region kernels
2019-12-08 21:03:30 +05:30
Alexander Alekhin
65d606630d
Merge pull request #16084 from alalek:issue_15784
2019-12-07 22:33:11 +00:00
Alexander Alekhin
816f82682b
core(trace/itt): avoid calling __itt_thread_set_name() by default
...
- don't override current application thread names
- set name for own threads only
2019-12-07 21:41:15 +00:00
Dmitry Kurtaev
ad56838040
Replace .png to .dot
2019-12-07 15:03:28 +03:00
Alexander Alekhin
202ba124a5
Merge pull request #16087 from YashasSamaga:cuda4dnn-eltwise-div
2019-12-06 18:33:55 +00:00
Lubov Batanina
629d47fcd8
Merge pull request #15988 from l-bat:custom_layer
...
Test create custom layer in python
* check is contiguos
* Add custom layer test
* Fix test
* Remove assert
* Move assert to pyopencv dnn
* remove assert
* Add unregister
* Fix python2
* proto to bytearray
* Fix data type
2019-12-06 21:29:57 +03:00
Dmitry Kurtaev
beb5b291b9
Fix HETERO:FPGA,CPU plugin for IE backend
2019-12-06 19:35:11 +03:00
YashasSamaga
a91eca6ec2
add DIV support to EltwiseOp
2019-12-06 21:28:36 +05:30
Alexander Alekhin
c0503718cd
gapi(test): exclude 32F from bitwise_not case
2019-12-06 18:12:45 +03:00
Alexander Alekhin
51d54ad4f0
Merge pull request #16076 from l-bat:prior_ngraph
2019-12-06 14:08:21 +00:00
Alexander Alekhin
1ddcfc5c68
gapi: update CMakeLists.txt, fix TBB dependency handling
2019-12-06 16:36:42 +03:00
YashasSamaga
9b8ddba4d1
add ROIPoolingOp
2019-12-06 18:19:37 +05:30
Dmitry Matveev
b2b6f52d14
Merge pull request #16050 from dmatveev:dm/ocv42_gapi_doc_fixup
...
* G-API: Addressed various documentation issues
- Fixed various typos and missing references;
- Added brief documentaion on G_TYPED_KERNEL and G_COMPOUND_KERNEL macros;
- Briefly described GComputationT<>;
- Briefly described G-API data objects (in a group section).
* G-API: Some clean-ups in doxygen, also a chapter on Render API
* G-API: Expose more graph compilation arguments in the documentation
* G-API: Address documentation review comments
2019-12-06 15:36:02 +03:00
Alexander Alekhin
fb5db23463
Merge pull request #16079 from alalek:imgproc_color_clarify_error_message
2019-12-06 12:33:07 +00:00
Alexander Alekhin
0a35b97e75
Merge pull request #16070 from dkurt:backport_15611
2019-12-06 12:32:22 +00:00
Alexander Alekhin
15621532b8
Merge pull request #16077 from dmatveev:dm/gapi_narg_combine
2019-12-06 12:31:30 +00:00
Alexander Alekhin
b369c456f2
imgproc(color): clarify error message
2019-12-06 13:25:51 +03:00
Alexander Alekhin
c3023fb52b
pre: OpenCV 4.2.0 (version++)
2019-12-06 12:58:57 +03:00
Liubov Batanina
660a709840
Support Swish and Mish activations
2019-12-06 11:27:59 +03:00
Dmitry Matveev
ccf415c341
G-API: Added an arbitrary-argument version of cv::gapi::combine
...
- Now user doesn't need to do `combine(x, combine(y, combine(z, zz)))` but
just `combine(x, y, z, zz)`
2019-12-06 10:47:50 +03:00
Liubov Batanina
d99d18304a
Slice v1 op
2019-12-06 09:56:21 +03:00
Alexander Alekhin
76a27e3399
pre: OpenCV 3.4.9 (version++)
2019-12-05 18:28:38 +00:00
Dmitry Kurtaev
134094a442
Backport fix for autodetection of input shapes
2019-12-05 19:25:51 +03:00
Alexander Alekhin
8108fb0575
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-12-05 18:27:45 +03:00
Alexander Alekhin
c790779a37
Merge pull request #16024 from alalek:issue_15953
2019-12-05 14:23:48 +00:00
Alexander Alekhin
72f35e0626
Merge pull request #16052 from alalek:issue_16040
...
* calib3d: use normalized input in solvePnPGeneric()
* calib3d: java regression test for solvePnPGeneric
* calib3d: python regression test for solvePnPGeneric
2019-12-05 15:36:39 +03:00
Alexander Alekhin
f21bde4d9f
Merge pull request #16046 from alalek:issue_15990
...
* core: disable invalid constructors in C API by default
- C API objects will lose their default initializers through constructors
* samples: stop using of C API
2019-12-05 14:48:18 +03:00
Alexander Alekhin
986c5084a4
Merge pull request #16036 from dkurt:dnn_backport_15203
2019-12-05 09:56:00 +00:00
Alexander Alekhin
38180c2c97
Merge pull request #16014 from dkurt:dnn_ie_pooling_with_indices
2019-12-05 09:52:03 +00:00
Alexander Alekhin
95e36fd488
Merge pull request #16055 from alalek:issue_16041
2019-12-05 07:54:17 +00:00
Dmitry Kurtaev
d8e10f3a8d
Enable MaxPooling with indices in Inference Engine
2019-12-04 19:14:55 +03:00
cudawarped
b4a3c92867
Merge pull request #15957 from cudawarped:fix_cudacodec_python
...
Fix cudacodec python
* Add python bindings to cudacodec.
* Allow args with CV_OUT GpuMat& or CV_OUT cuda::GpuMat& to generate python bindings that allow the argument to be an optional output in the same way as OutputArray.
* Add wrapper flag to indicate that an OutputArray is a GpuMat.
* python: drop CV_GPU, extra checks in test
* Remove "cuda::GpuMat" check rom python parser
2019-12-04 18:57:58 +03:00
Alexander Alekhin
72315e7b00
Merge pull request #16045 from YashasSamaga:cuda4dnn-hotfix-log1p-expm1
2019-12-04 15:50:07 +00:00
Alexander Alekhin
1633c29f29
Merge pull request #16037 from alalek:dnn_test_fix_skip_vulkan
2019-12-04 15:49:47 +00:00
Alexander Alekhin
4dfa0a0383
bindings: basic support for #if preprocessor directives
...
- #if 0
- #ifdef __OPENCV_BUILD
2019-12-04 18:42:31 +03:00
Alexander Alekhin
818585fd12
core(tls): unblock TlsAbstraction destructor call
...
- required to unregister callbacks from system
2019-12-04 08:27:01 +00:00
Alexander Alekhin
529a241a26
Merge pull request #15972 from TolyaTalamanov:at/ftext-primitive
2019-12-03 20:09:21 +00:00
Pinaev Danil
5e3a7ac8a7
Merge pull request #16031 from aDanPin:dm/streaming_auto_meta
...
G-API-NG/Streaming: don't require explicit metadata in compileStreaming()
* First probably working version
Hardcode gose to setSource() :)
* Pre final version of move metadata declaration from compileStreaming() to setSource().
* G-API-NG/Streaming: recovered the existing Streaming functionality
- The auto-meta test is disabling since it crashes.
- Restored .gitignore
* G-API-NG/Streaming: Made the meta-less compileStreaming() work
- Works fine even with OpenCV backend;
- Fluid doesn't support such kind of compilation so far - to be fixed
* G-API-NG/Streaming: Fix Fluid to support meta-less compilation
- Introduced a notion of metadata-sensitive passes and slightly
refactored GCompiler and GFluidBackend to support that
- Fixed a TwoVideoSourcesFail test on streaming
* Add three smoke streaming tests to gapi_streaming_tests.
All three teste run pipeline with two different input sets
1) SmokeTest_Two_Const_Mats test run pipeline with two const Mats
2) SmokeTest_One_Video_One_Const_Scalar test run pipleline with Mat(video source) and const Scalar
3) SmokeTest_One_Video_One_Const_Vector test run pipeline with Mat(video source) and const Vector
# Please enter the commit message for your changes. Lines starting
* style fix
* Some review stuff
* Some review stuff
2019-12-03 19:14:13 +03:00
Alexander Alekhin
eb44e0a556
Merge pull request #16028 from catree:improve_calib3d_doc
2019-12-03 12:34:10 +00:00
Talamanov, Anatoliy
63b154396a
Implement cv::gapi::wip::draw::FText
2019-12-03 13:13:06 +03:00
YashasSamaga
fbb3f64a1a
fix expm1 and log1p for __half/__half2
2019-12-03 15:25:35 +05:30
Alexander Alekhin
0dc0bc80ae
dnn(test): fix Vulkan skip test tag
2019-12-02 18:22:10 +03:00
Dmitry Kurtaev
ca1ba7a53d
Backport for dnn input shape estimation
2019-12-02 16:28:59 +03:00
Alexander Alekhin
4b0132ed7a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-12-02 16:26:52 +03:00
Lubov Batanina
7523c777c5
Merge pull request #15537 from l-bat:ngraph
...
* Support nGraph
* Fix resize
2019-12-02 16:16:06 +03:00
catree
43d58aa760
Improve calib3d documentation:
...
- add reference to Rodrigues Jacobian
- add references to SE(3) and Lie Groups topics
- update some conventions and pinhole figure
2019-12-02 03:04:56 +01:00
Manjunath Bhat
78c5e41c23
Merge pull request #15808 from thebhatman:Mish_swish
...
* Added Swish and Mish activations
* Fixed whitespace errors
* Kernel implementation done
* Added function for launching kernel
* Changed type of 1.0
* Attempt to add test for Swish and Mish
* Resolving type mismatch for log
* exp from device
* Use log1pexp instead of adding 1
* Added openCL kernels
2019-12-02 00:06:17 +03:00
thebhatman
8a18d132fc
Port Swish and Mish layers
2019-12-01 11:55:39 +03:00
Alexander Alekhin
9a4404276a
calib3d: revert stereoRectify() changes from PRs: 6836, 6972, 6955
...
(1/4) Revert "Correct image borders and principal point computation in cv::stereoRectify"
This reverts commit 93ff1fb2f2
.
(2/4) Revert "fix calib3d changes in 6836 plus some others"
This reverts commit fa42a1cfc2
.
(3/4) Revert "fix compiler warning"
This reverts commit b3d55489d3
.
(4/4) Revert "add test for 6836"
This reverts commit d06b8c4ea9
.
2019-11-30 23:37:49 +00:00
sajarindider
101a147496
fixed Scheimpflug typo
2019-11-30 18:52:23 +00:00
Alexander Alekhin
01a28db949
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-11-29 18:57:33 +03:00
Vadim Levin
8d74101f07
Merge pull request #15955 from VadimLevin:dev/vlevin/generator_tests
...
Tests for argument conversion of Python bindings generator
* Tests for parsing elemental types from Python bindings
- Add positive and negative tests for int, float, double, size_t,
const char*, bool.
- Tests with wrong conversion behavior are skipped.
* Move implicit conversion of bool to integer/floating types to wrong
conversion behavior.
2019-11-29 16:24:13 +03:00
Alexander Alekhin
41af8aa046
Merge pull request #16017 from berak:fix_svm_train_auto
2019-11-29 11:38:22 +00:00
berak
0dfab6bbd0
ml: fix check in SVM::trainAuto
2019-11-28 20:33:58 +01:00
Pinaev Danil
53b6fb465c
Merge pull request #15695 from aDanPin:dp/incorrect_use_of_muve_fix
...
Fix incorrect use of std::move() in g-api perf tests
* First version
* Fix perfomace tests
Replace
c.apply(...);
with
cc = c.compile(...);
cc(...);
* Remove output meta arguments from .compile()
* Style fix
* Remove useless commented string
* Stick to common pattern : i.e. use gin() and gout() explicitly.
* Use cc(gin(...), gout(...)) in all cases.
2019-11-28 16:25:20 +03:00
Alexander Alekhin
873250f5de
Merge pull request #15998 from alalek:ts_count_skip_exception
2019-11-27 19:23:27 +00:00
Alexander Alekhin
6c37e10c83
Merge pull request #15994 from SSteve:affine_transform_docs
2019-11-27 19:23:09 +00:00
Alexander Alekhin
70146700aa
Merge pull request #15839 from alalek:core_simd_v_setall_template
2019-11-27 19:19:35 +00:00
atalaman
a7acb8805f
Merge pull request #15869 from TolyaTalamanov:at/plaidml-backend
...
G-API: Implement PlaidML2 backend
* PlaidML backend init version
* Add test
* Support multiply inputs/outputs in PlaidML2 backend
* Fix comment to review
* Add HAVE_PLAIDML macros
* Move plaidml tests to separate file
* Fix comment to review
* Fix cmake warning
* Fix comments to review
* Fix typos
overload -> overflow
* Fix comments to review
* Clean up
* Remove spaces from cmake scripts
* Disable tests with bitwise operations
* Use plaidml::exec::Binder
2019-11-27 18:21:00 +03:00
Dmitry Matveev
fb5e7964b3
Merge pull request #15753 from dmatveev:dm/ng-5000-security_barrier-interactive_face
...
G-API: Introduced Security Barrier & Interactive Face Detection samples
* G-API-NG/Samples: Added samples & relevant changes
- Security barrier camera sample
- Age/Gender/Emotions recognition sample
- GIEBackend now loads CPU extension libraries
- A couple of API-level workarounds added to deal with cv::Mat/Blob conversions
* G-API-NG/Samples: removed HAVE_INF_ENGINE remnants
2019-11-27 17:54:17 +03:00
Alexander Alekhin
5af747c6fd
Merge pull request #16001 from alalek:backport_15995
2019-11-26 18:35:28 +00:00
Brian Wignall
af997529a1
Fix some typos
2019-11-26 18:41:19 +03:00
Alexander Alekhin
5639f5a296
ts: count skipped tests via SkipTestException
...
- apply tag 'skip_other'
2019-11-26 18:34:04 +03:00
Brian Wignall
9276f1910b
Fix some typos
2019-11-25 19:55:07 -05:00
Steve Nicholson
0c644d1ec8
Rename parameter R to H in AffineWarper member declarations
2019-11-25 16:31:03 -08:00
Alexander Alekhin
a093a0e05c
Merge pull request #15986 from dkurt:fix_15863
2019-11-25 20:04:47 +00:00
Alexander Alekhin
cdc469786c
Merge pull request #15978 from alalek:videoio_refactor_v4l
2019-11-25 20:04:25 +00:00
Maksim Shabunin
5ff1fababc
Merge pull request #15959 from mshabunin:refactor-ml-tests
...
ml: refactored tests
* use parametrized tests where appropriate
* use stable theRNG in most tests
* use modern style with EXPECT_/ASSERT_ checks
2019-11-25 23:03:16 +03:00
Dmitry Kurtaev
6e14cc2189
Resolve https://github.com/opencv/opencv/issues/15863
2019-11-24 21:59:25 +03:00
Alexander Alekhin
501ff7f056
videoio(v4l2): use logging, update handling of EBUSY, device closing
...
- DEBUG logging compilation is enabled for all videoio backends
- eliminate output through perror(), stderr
2019-11-23 10:36:43 +00:00
Alexander Alekhin
ad0ab4109a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-11-22 22:47:13 +00:00
Vadim Levin
373160ce00
Merge pull request #15973 from VadimLevin:dev/vlevin/video_capture_inf_loop
...
* Fix infinite loop when trying to change state of the busy camera
- Add finite number of attempts in tryIoctl functions
10 by default.
* Introduced new flag for ioctl call to handle EBUSY
2019-11-23 01:10:16 +03:00
Alexander Alekhin
50ac880335
Merge pull request #15971 from alalek:core_kmeans_handle_overflow
2019-11-22 21:36:02 +00:00
Natsu
54e6f5c237
Merge pull request #15970 from akemimadoka:master
...
* Fix android armv7 c++_static init crash
* core: move initialization of 'ios_base::Init' for Android
2019-11-22 18:42:25 +03:00
Alexander Alekhin
3266ac7667
core(kmeans): bailout if can't select cluster center
2019-11-22 14:40:02 +00:00
Alexander Alekhin
ec55b6f6db
core: fix MSA build
2019-11-21 18:59:41 +03:00
Alexander Alekhin
86042af108
dnn: fix registration of custom OpenCVLayer
...
- do not require extensions library
2019-11-20 21:42:26 +00:00
Alexander Alekhin
e459a5108c
Merge pull request #15951 from alalek:python_reduce_code_size
2019-11-20 19:05:15 +00:00
Everton Constantino
75315fb297
Merge pull request #15494 from everton1984:hal_vector_get_n
...
Improving VSX performance of integral function
* Adding support for vector get function on VSX datatypes so the
integral function gains a bit of performance.
* Removing get as a datatype member function and implementing a new HAL
instruction v_extract_n to get the n-th element of a vector register.
* Adding SSE/NEON/AVX intrinsics.
* Implement new HAL instruction v_broadcast_element on VSX/AVX/NEON/SSE.
* core(simd): add tests for v_extract_n/v_broadcast_element
- updated docs
- commented out code to repair compilation
- added WASM and MSA default implementations
* core(simd): fix compilation
- x86: avoid _mm256_extract_epi64/32/16/8 with MSVS 2015
- x86: _mm_extract_epi64 is 64-bit only
* cleanup
2019-11-20 13:41:07 +03:00
Alexander Alekhin
5d96f984b1
python: reduce code size of cv2.cpp
2019-11-19 22:43:28 +00:00
Alexander Alekhin
318cba4ce3
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-11-19 19:48:49 +00:00
Alexander Alekhin
9d14c0b37a
Merge pull request #15939 from alalek:ffmpeg_update_3.4
2019-11-19 18:45:39 +00:00
Alexander Alekhin
2f636b4456
Merge pull request #15918 from alalek:python_debug_parameter
2019-11-19 18:39:56 +00:00
Alexander Alekhin
e07a488012
Merge pull request #15925 from alalek:core_test_simd_cpp_emulation
...
core(test): extending tests with SIMD C++ emulation code (intrin_cpp.hpp)
* core(test): test SIMD CPP emulation code (intrin_cpp.hpp)
* core(simd): eliminate build warnings from intrin_cpp.hpp
2019-11-19 21:08:45 +03:00
Alexander Alekhin
77bf5593e5
Merge pull request #15946 from alalek:fix_js_test_features2d
2019-11-19 14:25:28 +00:00
Alexander Alekhin
26513285dd
Merge pull request #15945 from alalek:dnn_ie_extension_handling
2019-11-19 14:25:12 +00:00
Alexander Alekhin
de64db3064
Merge pull request #15919 from alalek:python_fix_arginfo
2019-11-19 13:24:58 +00:00
Alexander Alekhin
cf93217365
Merge pull request #15935 from rgarnov:rg/fix_own_mat_empty
2019-11-19 11:08:19 +00:00
Alexander Alekhin
ec8db970f9
js(test): update features2d test
2019-11-19 07:40:12 +00:00
Alexander Alekhin
09d54c9f52
dnn: update InferenceEngine extension handling
2019-11-19 06:55:14 +00:00
Alexander Alekhin
3f431a16a3
videoio: fix ffmpeg wrapper build
2019-11-18 18:56:57 +00:00
Alexander Alekhin
593e240d7c
Merge pull request #15938 from alalek:backport_15290
2019-11-18 18:26:00 +00:00
cudawarped
aff8c9bd28
videoio: retrieve encoded frames through FFmpeg backend
...
- backport 15290
- add extra test case
2019-11-18 19:23:19 +03:00
cudawarped
0867e3188d
Merge pull request #15290 from cudawarped:ffmpeg_raw_retrieve
...
Add retrieve encoded frame to VideoCapture
* Add capacity to retrieve the encoded frame from a VideoCapture object.
* Correct raw codec and pixle format output from ffmpeg capture.
* Remove warnings from build.
* Added VideoCaptureRaw subclass.
* Include abstract base class VideoCaptureBase and rename new subclass VideoContainer as suggested by mshabunin.
* Remove using.
* Change base class name for compatibility with jave bindings generator.
* Move grab and retrieve and add override specifier
* Add setRaw and readRaw to IVideoCapture interface
-setRaw to disable video decoding and enable bitstream filters from mp4 to h254 and h265.
-readRaw to return the raw undecoded/filtered bitstream.
Add createRawCapture to initiate a backend with setRaw enabled.
Remove inheritance and use an independant VideoContainer subclass with IVideoCapture member.
* Address unused parameter warings.
Remove VideoContainer from python bindings as it no longer returns a Mat.
Use opencv type uchar instead of unsigned char.
Add missing destructor to VideoContainer class.
* Address build warnings and include all params in documentation.
* Include deprecated bitstream filtering API.
* Update codec_id query to work with older ffmpeg api's.
Change api version defines to be consistent - most recent api version first.
* Fix typo.
* Update test to work with naming of new files in the extra repo
* Investigate test failure
* Check bytes read by ffmpeg
* Removed mp4 video container test
* Applied suggested changes.
* videoio: rework API for extraction of RAW video streams
- FFmpeg only
* address review comments
2019-11-18 17:07:06 +03:00
Ruslan Garnov
1261559305
Fixed own::Mat::empty() for non md case
2019-11-18 16:38:33 +03:00
clunietp
2185bce4b7
Fix 13577
2019-11-18 07:41:34 -05:00
Orest Chura
af230ec133
Merge pull request #15888 from OrestChura:facebeautification_gapi_sample
...
Introducing the sample of Face Beautification algorithm implemented via Graph-API
* Introducing the sample of Face Beautification algorithm implemented via Graph-API
- 'gapi/samples/face_beautification.cpp' added
- FIXME added in 'gcpukernel.hpp'
* INF_ENGINE fix
- preprocessing clauses added not to run the sample without Inference Engine
* INF_ENGINE fix 2
- warnings removed
* Fixes
- checking IE version cut as there is no dependency
- some alignments fixed
- the comment about preprocessing commands fixed
* ie::backend() issue fix (according to dmatveev)
- as the sample needs the cv::gapi::ie::backend() to be defined regardless of having IE or not, there is its throw-error definition in `giebackend.cpp` now (by dmatveev)
- for the same reason, #includes in `giebackend.hpp` are fixed
- HAVE_INF_ENGINE check is removed from the sample
2019-11-18 15:13:05 +03:00
Alexander Alekhin
fc41c18c6f
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-11-18 13:56:24 +03:00
Alexander Alekhin
f4d55d512f
imgproc: fix bit-exact GaussianBlur() / sepFilter2D() ( #15855 )
...
* imgproc: fix bit-exact GaussianBlur() / sepFilter2D()
- avoid kernels with bad approximation
- GaussiabBlur - apply error-diffusion approximation for kernel (8-bit fraction)
* java(test): update features2d ref data
* test: update test_facedetect
2019-11-18 01:39:27 +03:00
Suleyman TURKMEN
eff514f8bb
Update seamless_cloning.cpp
2019-11-17 21:25:03 +03:00
Sebastián Gurin
955b20230c
Merge pull request #15503 from cancerberoSgx:js-test-puppeteer
...
Js test puppeteer
* run_puppeteer.js / tests
* js run test section
* rollback html
* whitespace
* js: update OpenCV.js tests infrastructure
* js: exclude puppeteer from default 'npm install'
* js: update notes
* js: more fixes in run_puppeteer
* fix build folder
2019-11-17 00:29:38 +03:00
Alexander Alekhin
686ea5c1a6
Merge pull request #15917 from ChipKerchner:demosaicingToHal2
2019-11-16 19:45:37 +00:00
Maxim Pashchenkov
1acadd363b
Merge pull request #15100 from Volskig:cam_multiplexing_function_v
...
Implement Camera Multiplexing API
* IdideoCapture + two wrong function
function waitAny
Add errors catcher
Stub for Python added.
Sifting warnings
One test added
Two tests for camera and Perf tests added
* Perf sync and async tests for waitAny() added, waitAnyInterior() deleted, getDeviceHandle() deleted
* Variable OPENCV_TEST_CAMERA_LIST added
* Without fps set
* ASSERT_FAILED for environment variable
* Perf tests is DISABLED_
* --Trailing whitespace
* Return false from cap.cpp deleted
* Two functions deleted from interface, +range for, +environment variable in test_camera
* Space deleted
* printf deleted, perror added
* CV_WRAP deleted, cv2 cleared from stubs
* -- space
* default timeout added
* @param changed
* place of waitAny changed
* --whitespace
* ++function description
* function description changed
* revert unused changes
* videoio: rework API for VideoCapture::waitAny()
2019-11-15 19:42:12 +03:00
Alexander Alekhin
7ec91aefc1
python: force using of ArgInfo
2019-11-15 19:16:22 +03:00
Alexander Alekhin
973b367da6
python: emit bindings conversion failures on OPENCV_PYTHON_DEBUG=1
2019-11-15 18:55:24 +03:00
ChipKerchner
1d33335e33
Convert demosiacing with variable number of gradients to HAL - 5.5x faster
2019-11-15 07:42:03 -06:00
Alexander Alekhin
1f57eb93fd
Merge pull request #15911 from l-bat:fix_reducel2
2019-11-15 11:04:05 +00:00
Alexander Alekhin
ac2dc29525
Merge pull request #15852 from akhakim:gauss_blur_kernel_5x5
2019-11-14 14:55:24 +00:00
Alexander Alekhin
6773b938b3
Merge pull request #15896 from alalek:build_gcc_9
2019-11-14 14:22:02 +00:00
Alexander Alekhin
d1c4e4b5a5
Merge pull request #15906 from anton-potapov:gapi_fluid_i420_support
2019-11-14 14:07:05 +00:00
Liubov Batanina
ac4fd4f4ae
Fix ReduceL2
2019-11-14 15:30:53 +03:00
Anna Khakimova
beb14c70da
GAPI Fluid: SIMD optimization for sep filters 5x5 kernel size (gaussBlur)
2019-11-14 13:42:20 +03:00
Alexander Alekhin
94f1c3d152
Merge pull request #15905 from alalek:issue_15904
2019-11-14 10:33:29 +00:00
Anton Potapov
b5426a8679
G-API (Fluid) core support for I420
...
- Extended NV12 support in Fluid Core engine to cover I420
2019-11-14 11:16:17 +03:00
Alexander Alekhin
7a52a4c134
Merge pull request #15874 from akhakim:runsepfilter_5x5_kernel_size
2019-11-13 14:53:14 +00:00
Alexander Alekhin
763b80d5fa
imgproc(IPP): disable ippiDistanceTransform_3x3_8u32f_C1R
2019-11-13 14:14:19 +03:00
Christoph Bachhuber
c638f085aa
Refactor for clarity and avoiding code duplication
...
Implement GArik's comments
Remove unnecessary c_str()
Fix brace position
2019-11-12 19:22:42 +01:00
Alexander Alekhin
7ecdcf6ca6
build: GCC9 compilation
2019-11-12 18:49:34 +03:00
Anna Khakimova
363976694e
GAPI Fluid: The run_sepfilter() has logic error into handler for 5x5 and larger kernels
2019-11-12 14:47:42 +03:00
Alexander Alekhin
b6a58818bb
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-11-11 20:25:42 +00:00
Alexander Alekhin
e0b5637474
Merge pull request #15877 from mshabunin:fix-gst-relative-34
2019-11-10 09:25:29 +00:00
Alexander Alekhin
e9dcecf9b4
Merge pull request #15826 from alalek:cmake_fix_itt_define_condition
2019-11-10 09:22:22 +00:00
Maksim Shabunin
fccf284088
Fixed relative paths handling in cap_gstreamer:
2019-11-09 11:34:30 +00:00
Lubov Batanina
cfc781949d
Merge pull request #15811 from l-bat:eltwise_div
...
Supported ONNX Squeeze, ReduceL2 and Eltwise::DIV
* Support eltwise div
* Fix test
* OpenCL support added
* refactoring
* fix code style
* Only squeeze with axes supported
2019-11-09 14:11:09 +03:00
Alexander Alekhin
af23375352
Merge pull request #15861 from dkurt:dnn_fix_get_input_layers
2019-11-08 22:01:07 +00:00
Alexander Alekhin
6053996253
Merge pull request #15319 from cancerberoSgx:fs
2019-11-08 13:20:09 +00:00
Sebastián Gurín
dd9262c318
expose FS
2019-11-08 15:13:25 +03:00
Alexander Alekhin
d66aa2e0ff
Merge pull request #15848 from alalek:backport_test_15842
2019-11-07 16:48:41 +00:00
Alexander Alekhin
5dd3e6052e
Merge pull request #15868 from alalek:issue_15857
2019-11-07 14:21:35 +00:00
Alexander Alekhin
f42d5399aa
core(persistence): add more checks for implementation limitations
2019-11-07 14:19:00 +03:00
Maksim Shabunin
ad5874779c
Install: added missing gapi headers
2019-11-07 14:03:46 +03:00
Dimitri Gerin
7c4158d8c2
Fix dnn::getLayerInputs
2019-11-07 08:13:33 +03:00
czgdp1807
07ef08e966
removed typo
2019-11-06 17:15:31 +05:30
Alexander Alekhin
54d9597522
Merge pull request #15814 from i-murzov:3.4-ocl-cleanup
2019-11-06 09:54:29 +00:00
Alexander Alekhin
f3e788b8ab
Merge pull request #15813 from i-murzov:3.4-ocl-empty-platform
2019-11-06 08:12:40 +00:00
Igor Murzov
cdbfdcc363
Fix OpenCL device detection when some OpenCL platform has no devices
...
It's not an error if some OpenCL platform has no devices. This makes
OpenCL device detection work correctly in the following scenario:
$ OPENCV_OPENCL_DEVICE=:GPU: ./opencv_test_dnn
OpenCV version: 4.1.2-dev
OpenCV VCS version: 4.1.2-80-g467748ee98-dirty
Build type: Debug
Compiler: /usr/bin/g++ (ver 7.4.0)
Parallel framework: pthreads
CPU features: SSE SSE2 SSE3 *SSE4.1 *SSE4.2 *FP16 *AVX *AVX2 *AVX512-SKX?
Intel(R) IPP version: ippIP AVX2 (l9) 2019.0.0 Gold (-) Jul 24 2018
OpenCL Platforms:
AMD Accelerated Parallel Processing
Portable Computing Language
CPU: pthread-AMD Ryzen 7 2700X Eight-Core Processor (OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-znver1)
NVIDIA CUDA
dGPU: GeForce GTX 1080 (OpenCL 1.2 CUDA)
Current OpenCL device:
Type = dGPU
Name = GeForce GTX 1080
Version = OpenCL 1.2 CUDA
Driver version = 430.26
2019-11-05 20:02:39 +03:00
Chip Kerchner
2112aa31e6
Merge pull request #15828 from ChipKerchner:momentsToHal
...
* Convert moments in tile algorithms to HAL (1.3x faster for VSX).
* Adding NEON code back in for non 64-bit platforms.
* Remove floats from post processing.
2019-11-05 18:52:35 +03:00
TH3CHARLie
2c2716de0f
core(test): add test for YAML parse multiple documents
...
- added removal of temporary file
2019-11-05 18:39:07 +03:00
Alexander Alekhin
dcf72e49e2
core(persistence): fix processing of multiple documents
2019-11-05 18:28:15 +03:00
Alexander Alekhin
c4c4ac28dc
revert changes in modules/core/src/persistence_yml.cpp (PR15842)
2019-11-05 18:24:16 +03:00
Igor Murzov
6d5b900324
Simplify OpenCL info dumping code:
...
* Reduce code nesting
* Drop redundant .c_str() calls
2019-11-05 14:49:49 +03:00
TH3CHARLie
a165f55579
Merge pull request #15842 from TH3CHARLie:yaml-fix
...
* fix yaml parse
* add test for YAML parse multiple documents
* remove trailing whitespace in test
2019-11-04 16:27:48 +03:00
Alexander Alekhin
0d7f770996
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-11-04 09:58:29 +00:00
Oleg Alexandrov
53139e6ebe
Merge pull request #15838 from oleg-alexandrov:patch-2
...
Correct stereoRectify documentation
2019-11-03 16:37:25 +03:00
Alexander Alekhin
a893969ec9
core(simd): v_setall template
2019-11-03 12:49:25 +00:00
Alexander Alekhin
d5bbb16066
Merge pull request #15834 from berak:python_fix_type_error
2019-11-02 18:50:46 +00:00
berak
b7c8e9e874
python: fix type error msg
2019-11-02 08:17:07 +01:00
Gael Colas
e65b51ca3c
Merge pull request #15821 from ColasGael:colasg-viz-color
...
Fix wrong definition of viz::Color::navy()
2019-11-01 22:37:34 +03:00
Oleg Alexandrov
d56535afce
Merge pull request #15820 from oleg-alexandrov:patch-1
...
Clarify stereoRectify() doc
The function stereoRectify() takes as input a coordinate transform between two cameras. It is ambiguous how it goes. I clarified that it goes from the second camera to the first.
2019-11-01 22:34:11 +03:00
yuriyluxriot
4e156a162f
Merge pull request #15812 from yuriyluxriot:fls_replaces_tls
...
* Use FlsAlloc/FlsFree/FlsGetValue/FlsSetValue instead of TlsAlloc/TlsFree/TlsGetValue/TlsSetValue to implment TLS value cleanup when thread has been terminated on Windows Vista and above
* Fix 32-bit build
* Fixed calling convention of cleanup callback
* WINAPI changed to NTAPI
* Use proper guard macro
2019-11-01 22:33:12 +03:00
Chip Kerchner
ed7e4273cd
Merge pull request #15555 from ChipKerchner:flipVectorize
...
* Vectorize flipHoriz and flipVert functions.
* Change v_load_mirror_1 to use vec_revb for VSX
* Only use vec_revb in ISA3.0
* Removing vec_revb code since some of the older compilers don't fully support it.
* Use new v_reverse intrinsic and cleanup code.
* Ensure there are no alignment issues with copies
2019-11-01 22:30:48 +03:00
ab-dragon
2947877871
[move sift.cpp] Merge pull request opencv/opencv_contrib#2301 from ab-dragon:conditionally_compute_dog_pyramid
...
Build DoG Pyramid if useProvideKeypoints is false
The buildDoGPyramid operation need not be performed unconditionally. In cases where it is not needed, both memory and speed performance can be improved
original commit: e45887e1c0
2019-11-01 21:28:18 +03:00
Alexander Alekhin
48073e6d95
pylint: eliminate warnings
2019-11-01 18:59:35 +03:00
Alexander Alekhin
657c17bb8c
cmake: fix ITT define condition
2019-11-01 15:07:49 +03:00
Alexander Alekhin
cec7cc037b
Merge pull request #15819 from alalek:ts_unblock_reporting_of_disabled_tests
2019-10-31 20:39:41 +00:00
Alexander Alekhin
5c12bafe80
Merge pull request #15805 from i-murzov:3.4
2019-10-31 20:39:16 +00:00
Ciprian Alexandru Pitis
d2e02779c4
Merge pull request #15799 from Cpitis:feature/parallelization
...
Parallelize pyrDown & calcSharrDeriv
* ::pyrDown has been parallelized
* CalcSharrDeriv parallelized
* Fixed whitespace
* Set granularity based on amount of threads enabled
* Granularity changed to cv::getNumThreads, now each thread should receive 1/n sized stripes
* imgproc: move PyrDownInvoker<CastOp>::operator() implementation
* imgproc(pyramid): remove syloopboundary()
* video: SharrDerivInvoker replace 'Mat*' => 'Mat&' fields
2019-10-31 23:38:49 +03:00
Oleg Alexandrov
af433d0352
Merge pull request #15780 from oleg-alexandrov:master
...
* Doc bugfix
The documentation page StereoBinaryBM and StereoBinarySGBM says that it returns a disparity that is scaled multiplied by 16. This scaling must be undone before calling reprojectImageTo3D, otherwise the results are wrong. The function reprojectImageTo3D() could do this scaling internally, maybe, but at least the documentation must explain that this has to be done.
* calib3d: update reprojectImageTo3D documentation
* calib3d: add StereoBM/StereoSGBM into notes list
2019-10-31 22:28:01 +03:00
Alexander Alekhin
ee044771a7
Merge pull request #15478 from terfendail:wintr_stereosgbm
2019-10-31 19:24:06 +00:00
Dizhenin Vlad
edc5518f68
Merge pull request #15608 from SimpleVlad:3.4
...
* Add flags for build js
* Add poi.json
* Rebase whitelist into JSON file
* Rework generator of white_list
* Fix small typos
* Transfer opencv_js.josn in opencv_js.config.py
* Edit OPENCV_JS_WHITELIST
* Write comment
* Add description
* Fix typos in desc
* flag's append deleeted
* Fix whitespace
* variable deleted
* fix comment on lines 229 and 235
2019-10-31 22:09:33 +03:00
Alexander Alekhin
79f792ad05
ts: do not block reporting of launched "DISABLED_" tests
...
If tests are run through GTest option `--gtest_also_run_disabled_tests`
2019-10-31 15:13:50 +03:00
Alexander Alekhin
469addeca3
Merge pull request #15763 from akhakim:dynamic_set_kernel_window_size
2019-10-31 11:10:45 +00:00
Anna Khakimova
c394847c35
GAPI Fluid: Dynamic window size
2019-10-30 17:09:54 +03:00
atalaman
ea64bb58a5
Merge pull request #15751 from TolyaTalamanov:at/refactor-render-tests
...
* Refactor render tests
* Fix comment to review
* Move ocv render tests stuff to specific file
* Add OCV prefix for render tests
* Fix comments to review
2019-10-30 13:33:39 +03:00
Igor Murzov
a9d23a6479
Fix wording in some tutorials
2019-10-30 13:27:17 +03:00
Alexander Alekhin
ea5499fa51
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-10-29 20:46:51 +00:00
Alexander Alekhin
bad4e5c3eb
Merge pull request #15692 from alalek:core_tls_handle_thread_termination
2019-10-29 20:40:35 +00:00
Alexander Alekhin
e86c888a92
Merge pull request #15791 from alalek:android_camera2_issue_14915
2019-10-29 19:10:00 +00:00
Chip Kerchner
a71ff50130
Merge pull request #15623 from ChipKerchner:optimizeHOGpipeline
...
* Use circular lut hustory buffer in computeGradient of HOG
* Initialize prefetch data outside main loop. Avoid code duplication.
2019-10-29 13:42:20 +03:00
Alexander Alekhin
cd6d79d106
gapi: fix opencv_world build
2019-10-28 18:53:14 +00:00
Alexander Alekhin
80c4cedd25
android: use .getRowStride() in JavaCamera2View
2019-10-28 18:45:56 +00:00
André Lippok
86a8ff6129
Fixed typo in assertion
2019-10-27 17:43:31 +01:00
Alexander Alekhin
d8ab83600b
Merge pull request #15761 from alalek:core_trace_itt_parameter
2019-10-26 21:39:08 +00:00
Alexander Alekhin
6ec5ae0215
core(trace): add ITT control parameter
...
- OPENCV_TRACE_ITT_ENABLE
2019-10-26 15:03:51 +00:00
Dmitry Budnikov
8dfba51884
add empty implementation
2019-10-25 17:50:09 +03:00
Alexander Alekhin
7cf1054d36
Merge pull request #15764 from ChipKerchner:demosaicingToHal
2019-10-25 13:49:46 +00:00
Vitaly Tuzov
42b1d04999
StereoSGBM algorithm updated to use wide universal intrinsics
2019-10-25 16:34:16 +03:00
Alexander Alekhin
055ffc0425
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-10-24 18:21:19 +00:00
Vitaly Tuzov
1ce5a724c7
Fixed StereoBM uniqueness check
2019-10-24 17:54:49 +03:00
Alexander Alekhin
d65fead337
Merge pull request #15752 from dkurt:fix_15750
2019-10-24 07:06:32 +00:00
Alexander Alekhin
17e2bf5717
core(tls): implement releasing of TLS on thread termination
...
- move TLS & instrumentation code out of core/utility.hpp
- (*) TLSData lost .gather() method (to dispose thread data on thread termination)
- use TLSDataAccumulator for reliable collecting of thread data
- prefer using of .detachData() + .cleanupDetachedData() instead of .gather() method
(*) API is broken: replace TLSData => TLSDataAccumulator if gather required
(objects disposal on threads termination is not available in accumulator mode)
2019-10-24 06:36:18 +00:00
Alexander Alekhin
87a692b89e
Merge pull request #15736 from akhakim:fix_for_ADE-859_using_namespace_cv_G_TYPED_KERNEL_fail_c++
2019-10-23 17:07:32 +00:00
ChipKerchner
c46f119e0e
Convert demosaic functions to HAL
2019-10-23 10:47:07 -05:00
Alexander Alekhin
09619c1c45
Merge pull request #15762 from rgarnov:return_exported_mkdatanode
2019-10-23 12:05:28 +00:00
Anna Khakimova
8bf5bed0a9
GAPI:Fix for using cv makes G_TYPED_KERNEL fail
2019-10-23 12:17:49 +03:00
Alexander Alekhin
5ffeebabad
Merge pull request #15759 from alalek:issue_15758
2019-10-22 21:40:10 +00:00
Ruslan Garnov
e89c1103ff
Returned GModel::mkDataNode() overload for external backends
2019-10-22 18:57:31 +03:00
Chip Kerchner
5a6a49405d
Merge pull request #15738 from ChipKerchner:bugInt64x2Comparison
...
Fixing bug with comparison of v_int64x2 or v_uint64x2
* Casting v_uint64x2 to v_float64x2 and comparing does NOT work in all cases. Rewrite using epi64 instructions - faster too.
* Fix bad merge.
* Fix equal comparsion for non-SSE4.1. Add test cases for v_int64x2 comparisons.
* Try to fix merge conflict.
* Only test v_int64x2 comparisons if CV_SIMD_64F
* Fix compiler warning.
2019-10-22 16:37:20 +03:00
Alexander Alekhin
fe4f27b99b
gapi: fix build
...
- gcc 4.8.4 (ARMv7)
2019-10-22 16:31:40 +03:00
Alexander Alekhin
1864b64f64
Merge pull request #15739 from dkurt:darknet_shortcut_asymm
2019-10-22 12:52:13 +00:00
anton-potapov
471b40040a
Merge pull request #15735 from anton-potapov:gapi_async_documentaion
...
* G-API: Doxygen documentatation for Async API
* G-API: Doxygen documentatation for Async API
- renamed local variable (reading parameter async) async ->
asyncNumReq in object_detection DNN sample
to avoid Doxygen erroneous linking the sample to cv::gapi::wip::async
documentation
2019-10-21 22:33:18 +03:00
Dmitry Kurtaev
dfe0368835
Fix custom IE layers in case of no MKLDNN plugin
2019-10-21 19:09:44 +03:00
Yashas Samaga B L
613c12e590
Merge pull request #14827 from YashasSamaga:cuda4dnn-csl-low
...
CUDA backend for the DNN module
* stub cuda4dnn design
* minor fixes for tests and doxygen
* add csl public api directory to module headers
* add low-level CSL components
* add high-level CSL components
* integrate csl::Tensor into backbone code
* switch to CPU iff unsupported; otherwise, fail on error
* add fully connected layer
* add softmax layer
* add activation layers
* support arbitary rank TensorDescriptor
* pass input wrappers to `initCUDA()`
* add 1d/2d/3d-convolution
* add pooling layer
* reorganize and refactor code
* fixes for gcc, clang and doxygen; remove cxx14/17 code
* add blank_layer
* add LRN layer
* add rounding modes for pooling layer
* split tensor.hpp into tensor.hpp and tensor_ops.hpp
* add concat layer
* add scale layer
* add batch normalization layer
* split math.cu into activations.cu and math.hpp
* add eltwise layer
* add flatten layer
* add tensor transform api
* add asymmetric padding support for convolution layer
* add reshape layer
* fix rebase issues
* add permute layer
* add padding support for concat layer
* refactor and reorganize code
* add normalize layer
* optimize bias addition in scale layer
* add prior box layer
* fix and optimize normalize layer
* add asymmetric padding support for pooling layer
* add event API
* improve pooling performance for some padding scenarios
* avoid over-allocation of compute resources to kernels
* improve prior box performance
* enable layer fusion
* add const layer
* add resize layer
* add slice layer
* add padding layer
* add deconvolution layer
* fix channelwise ReLU initialization
* add vector traits
* add vectorized versions of relu, clipped_relu, power
* add vectorized concat kernels
* improve concat_with_offsets performance
* vectorize scale and bias kernels
* add support for multi-billion element tensors
* vectorize prior box kernels
* fix address alignment check
* improve bias addition performance of conv/deconv/fc layers
* restructure code for supporting multiple targets
* add DNN_TARGET_CUDA_FP64
* add DNN_TARGET_FP16
* improve vectorization
* add region layer
* improve tensor API, add dynamic ranks
1. use ManagedPtr instead of a Tensor in backend wrapper
2. add new methods to tensor classes
- size_range: computes the combined size of for a given axis range
- tensor span/view can be constructed from a raw pointer and shape
3. the tensor classes can change their rank at runtime (previously rank was fixed at compile-time)
4. remove device code from tensor classes (as they are unused)
5. enforce strict conditions on tensor class APIs to improve debugging ability
* fix parametric relu activation
* add squeeze/unsqueeze tensor API
* add reorg layer
* optimize permute and enable 2d permute
* enable 1d and 2d slice
* add split layer
* add shuffle channel layer
* allow tensors of different ranks in reshape primitive
* patch SliceOp to allow Crop Layer
* allow extra shape inputs in reshape layer
* use `std::move_backward` instead of `std::move` for insert in resizable_static_array
* improve workspace management
* add spatial LRN
* add nms (cpu) to region layer
* add max pooling with argmax ( and a fix to limits.hpp)
* add max unpooling layer
* rename DNN_TARGET_CUDA_FP32 to DNN_TARGET_CUDA
* update supportBackend to be more rigorous
* remove stray include from preventing non-cuda build
* include op_cuda.hpp outside condition #if
* refactoring, fixes and many optimizations
* drop DNN_TARGET_CUDA_FP64
* fix gcc errors
* increase max. tensor rank limit to six
* add Interp layer
* drop custom layers; use BackendNode
* vectorize activation kernels
* fixes for gcc
* remove wrong assertion
* fix broken assertion in unpooling primitive
* fix build errors in non-CUDA build
* completely remove workspace from public API
* fix permute layer
* enable accuracy and perf. tests for DNN_TARGET_CUDA
* add asynchronous forward
* vectorize eltwise ops
* vectorize fill kernel
* fixes for gcc
* remove CSL headers from public API
* remove csl header source group from cmake
* update min. cudnn version in cmake
* add numerically stable FP32 log1pexp
* refactor code
* add FP16 specialization to cudnn based tensor addition
* vectorize scale1 and bias1 + minor refactoring
* fix doxygen build
* fix invalid alignment assertion
* clear backend wrappers before allocateLayers
* ignore memory lock failures
* do not allocate internal blobs
* integrate NVTX
* add numerically stable half precision log1pexp
* fix indentation, following coding style, improve docs
* remove accidental modification of IE code
* Revert "add asynchronous forward"
This reverts commit 1154b9da9da07e9b52f8a81bdcea48cf31c56f70.
* [cmake] throw error for unsupported CC versions
* fix rebase issues
* add more docs, refactor code, fix bugs
* minor refactoring and fixes
* resolve warnings/errors from clang
* remove haveCUDA() checks from supportBackend()
* remove NVTX integration
* changes based on review comments
* avoid exception when no CUDA device is present
* add color code for CUDA in Net::dump
2019-10-21 14:28:00 +03:00
Alexander Alekhin
fadb90c579
[move sift.cpp] xfeatures2d: use updated TLS API
...
original commit: 3e4fb8f415
2019-10-20 14:17:05 +00:00
Steve Nicholson
acb3b3bd4d
Add documentation and example program for intersectConvexConvex
2019-10-19 22:08:07 -07:00
TH3CHARLie
da0fec7308
fix incorrect imshow behavior
2019-10-19 20:34:18 +08:00
Dmitry Kurtaev
af61a15839
Fix Darknet eltwise
2019-10-19 12:54:15 +03:00
Alexander Alekhin
938d8dce06
Merge pull request #15685 from pmur:cnz64f-simd
2019-10-18 20:19:40 +00:00
Dmitry Matveev
2477103707
Merge pull request #15216 from dmatveev:dm/ng-0010-g-api-streaming-api
...
* G-API-NG/Streaming: Introduced a Streaming API
Now a GComputation can be compiled in a special "streaming" way
and then "played" on a video stream.
Currently only VideoCapture is supported as an input source.
* G-API-NG/Streaming: added threading & real streaming
* G-API-NG/Streaming: Added tests & docs on Copy kernel
- Added very simple pipeline tests, not all data types are covered yet
(in fact, only GMat is tested now);
- Started testing non-OCV backends in the streaming mode;
- Added required fixes to Fluid backend, likely it works OK now;
- Added required fixes to OCL backend, and now it is likely broken
- Also added a UMat-based (OCL) version of Copy kernel
* G-API-NG/Streaming: Added own concurrent queue class
- Used only if TBB is not available
* G-API-NG/Streaming: Fixing various issues
- Added missing header to CMakeLists.txt
- Fixed various CI issues and warnings
* G-API-NG/Streaming: Fixed a compile-time GScalar queue deadlock
- GStreamingExecutor blindly created island's input queues for
compile-time (value-initialized) GScalars which didn't have any
producers, making island actor threads wait there forever
* G-API-NG/Streaming: Dropped own version of Copy kernel
One was added into master already
* G-API-NG/Streaming: Addressed GArray<T> review comments
- Added tests on mov()
- Removed unnecessary changes in garray.hpp
* G-API-NG/Streaming: Added Doxygen comments to new public APIs
Also fixed some other comments in the code
* G-API-NG/Streaming: Removed debug info, added some comments & renamed vars
* G-API-NG/Streaming: Fixed own-vs-cv abstraction leak
- Now every island is triggered with own:: (instead of cv::)
data objects as inputs;
- Changes in Fluid backend required to support cv::Mat/Scalar were
reverted;
* G-API-NG/Streaming: use holds_alternative<> instead of index/index_of test
- Also fixed regression test comments
- Also added metadata check comments for GStreamingCompiled
* G-API-NG/Streaming: Made start()/stop() more robust
- Fixed various possible deadlocks
- Unified the shutdown code
- Added more tests covering different corner cases on start/stop
* G-API-NG/Streaming: Finally fixed Windows crashes
In fact the problem hasn't been Windows-only.
Island thread popped data from queues without preserving the Cmd
objects and without taking the ownership over data acquired so when
islands started to process the data, this data may be already freed.
Linux version worked only by occasion.
* G-API-NG/Streaming: Fixed (I hope so) Windows warnings
* G-API-NG/Streaming: fixed typos in internal comments
- Also added some more explanation on Streaming/OpenCL status
* G-API-NG/Streaming: Added more unit tests on streaming
- Various start()/stop()/setSource() call flow combinations
* G-API-NG/Streaming: Added tests on own concurrent bounded queue
* G-API-NG/Streaming: Added more tests on various data types, + more
- Vector/Scalar passed as input;
- Vector/Scalar passed in-between islands;
- Some more assertions;
- Also fixed a deadlock problem when inputs are mixed (1 constant, 1 stream)
* G-API-NG/Streaming: Added tests on output data types handling
- Vector
- Scalar
* G-API-NG/Streaming: Fixed test issues with IE + Windows warnings
* G-API-NG/Streaming: Decoupled G-API from videoio
- Now the core G-API doesn't use a cv::VideoCapture directly,
it comes in via an abstract interface;
- Polished a little bit the setSource()/start()/stop() semantics,
now setSource() is mandatory before ANY call to start().
* G-API-NG/Streaming: Fix STANDALONE build (errors brought by render)
2019-10-18 19:29:58 +03:00
Dmitry Kurtaev
adbd613660
Enable Eltwise layer with different numbers of inputs channels
2019-10-18 18:51:52 +03:00
Alexander Alekhin
24ebca5c59
core(simd): v_reverse() for MSA backend
2019-10-18 16:43:03 +03:00
Alexander Alekhin
ead7d6d80f
Merge pull request #15716 from alalek:javadoc_fix
2019-10-17 22:35:14 +00:00
Alexander Alekhin
34df28db2b
Merge pull request #15180 from terfendail:wintr_stereobm
2019-10-17 20:18:30 +00:00
atalaman
2ff12c4981
Merge pull request #15699 from TolyaTalamanov:at/graph-ocv-render-backend-skeleton
...
G-API: Implement OpenCV render backend
* Implement render opencv backend
* Fix comment to review
* Add comment
* Add wrappers for kernels
* Fix comments to review
* Fix comment to review
2019-10-17 21:04:03 +03:00
Alexander Alekhin
a2b3cd9a2c
Merge pull request #15709 from alalek:js_simd_reverse
2019-10-17 13:14:50 +00:00
Alexander Alekhin
d31da08d43
Merge pull request #15708 from alalek:js_simd_support_1.38.48
2019-10-17 13:14:34 +00:00
Alexander Alekhin
17e9fde75a
Merge pull request #15718 from alalek:pylint_warnings
2019-10-17 10:46:03 +00:00
jasjuang
4c7db02925
document CC_STAT_MAX in ConnectedComponentsTypes
2019-10-16 17:22:25 -07:00
Alexander Alekhin
0e40c8a031
fix pylint warnings
...
pylint 1.8.3
2019-10-16 18:49:33 +03:00
Alexander Alekhin
86e7d82418
javadoc: fix generation with OpenJDK 11
2019-10-16 18:14:07 +03:00
Adam Rankin
3b070517ad
COMP: Enabling build with recent VTK version
...
VTK_MAJOR_VERSION not found unless header is included
2019-10-16 10:04:41 -04:00
Alexander Alekhin
ad5d14ec0e
Merge pull request #15701 from alalek:issue_15691
2019-10-16 11:13:07 +00:00
Alexander Alekhin
bce653117f
Merge pull request #15700 from alalek:issue_12943
2019-10-16 11:12:49 +00:00
Christoph Schmidt-Hieber
194304bbe4
Support software triggering aravis cameras
...
If an aravis camera is software triggered, a trigger needs to be explicitly sent using `arv_camera_software_trigger`, otherwise the camera will not grab any frames.
2019-10-16 10:59:43 +02:00
Alexander Alekhin
ad172726c0
js(simd): v_reverse implementation
2019-10-15 18:46:08 +03:00
Alexander Alekhin
cc9b199ecb
Merge pull request #15704 from alalek:gapi_avoid_dynamic_initializers_in_optimized_code
2019-10-15 15:22:09 +00:00
Alexander Alekhin
b1a8de0901
js(simd): support Emscripten 1.38.48-upstream
2019-10-15 15:39:22 +03:00
Alexander Alekhin
823884b064
core(alloc): force initialization of memalign flag
...
- before main() launch
2019-10-15 13:07:11 +03:00
Alexander Alekhin
a84969bdcd
gapi: avoid dynamic initialization in dispatched files
2019-10-14 23:07:57 +00:00
Alexander Alekhin
6a7d1c15d3
core(ipp): skip huge input in flip()
...
- IPP/SSE4.2 works well
2019-10-14 18:26:19 +03:00
Alexander Alekhin
823e767eed
Merge pull request #15684 from OrestChura:id_helper_class_semicolon_issue
2019-10-14 09:46:41 +00:00
Alexander Alekhin
e42560bed5
Merge pull request #15659 from malfet:use-atomic-in-getExpTab32f
2019-10-12 20:27:58 +00:00
Alexander Alekhin
d6630ab35b
Merge pull request #15655 from malfet:use-atomic-in-parallel-for
2019-10-12 20:26:15 +00:00
Chip Kerchner
027769bf5d
Merge pull request #15662 from ChipKerchner:addVReverseIntrinsic
...
* New v_reverse HAL intrinsic for reversing the ordering of a vector
* Fix conflict.
* Try to resolve conflict again.
* Try one more time.
* Add _MM_SHUFFLE. Remove non-vectorize code in SSE2. Fix copy and paste issue with NEON.
* Change v_uint16x8 SSE2 version to use shuffles
2019-10-11 18:34:17 +03:00
Everton Constantino
9ca9249992
Merge pull request #15527 from everton1984:faster_acc
...
* Adding support for vectorized masking for uchar/ushort.
* Fixing bug where mask was zeroing the dst. Improved the way to calculate
the mask and tweaked for further performance improvements.
* Fixing mask comparison test.
* Restricting to one channel.
* Adding support for 3 channels, switch old approach to start using HAL's
v_select.
2019-10-11 18:32:59 +03:00
Paul E. Murphy
ec91a3d59d
core: vectorize countNonZero64f
...
Improves performance a bit. 2.2x on P9 and 2 - 3x on coffee lake
x86-64.
2019-10-11 09:02:46 -05:00
Alexander Alekhin
2f30c3fd4f
Merge pull request #15681 from mshabunin:fix-gapi-ie-test
2019-10-11 13:12:45 +00:00
OrestChura
2f9351d995
Fix warning issue:
...
- unnecessary extra semicolon after member function definition removed
2019-10-10 18:48:27 +03:00
Maksim Shabunin
230e44b01d
G-API: removed deprecated IE call from test
2019-10-10 12:58:59 +03:00
Alexander Alekhin
46206b4814
Merge tag '4.1.2'
2019-10-09 23:01:31 +00:00
Alexander Alekhin
4c71dbf0af
release: OpenCV 4.1.2
...
OpenCV 4.1.2
2019-10-09 22:53:14 +00:00
Alexander Alekhin
9efafc3e33
Merge pull request #15673 from TolyaTalamanov:at/fix-valgrind-issue
2019-10-09 22:48:24 +00:00
Alexander Alekhin
65573784c4
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-10-09 19:46:18 +00:00
Alexander Alekhin
dd4f591d54
Merge tag '3.4.8'
2019-10-09 18:33:35 +03:00
Alexander Alekhin
6bdb9ca725
OpenCV release (3.4.8)
...
OpenCV 3.4.8
2019-10-09 14:42:29 +03:00
Maksim Shabunin
1ca74c3c03
Merge pull request #15544 from mshabunin:disable_posix_memalign
...
* Disable posix_memalign by default
* core: fix memalign parameter handling
2019-10-09 14:06:12 +03:00
Alexander Smorkalov
c3a588037a
Merge pull request #15666 from seanm:Wnewline
2019-10-09 11:04:44 +00:00
Talamanov, Anatoliy
40215f99d7
Define operator<< for cv::gapi::wip::draw::Prim
2019-10-09 13:41:36 +03:00
Marcin Tolysz
3fd36c1be1
Merge pull request #15658 from tolysz:patch-1
...
* Cuda + OpenGL on ARM
There might be multiple ways of getting OpenCV compile on Tegra (NVIDIA Jetson) platform, but mainly they modify CUDA(8,9,10...) source code, this one fixes it for all installations.
( https://devtalk.nvidia.com/default/topic/1007290/jetson-tx2/building-opencv-with-opengl-support-/post/5141945/#5141945 et al.).
This way is exactly the same as the one proposed but the code change happens in OpenCV.
* Updated,
The link provided mentions: cuda8 + 9, I have cuda 10 + 10.1 (and can confirm it is still defined this way).
NVIDIA is probably using some other "secret" backend with Jetson.
2019-10-09 11:38:10 +03:00
Sean McBride
24effe8cd6
Fixed clang -Wnewline-eof warning by adding newline to end of file
2019-10-09 10:12:09 +03:00
Alexander Alekhin
6efdfee3f0
build: eliminate CUDA warnings
2019-10-08 15:30:02 +03:00
Pinaev Danil
9ab5e52f04
Merge pull request #15632 from aDanPin:dp/any_ref_tests
...
* Add a few more tests on `any`
Added tests:
- get_ref_to_val_from_any
- update_val_via_ref
* Style fix
2019-10-08 12:42:49 +03:00
Nikita Shulga
ec37364762
Use std::atomic in getExpTab32f and getLogTab32f
...
Reads and writes to volatile bool are not guaranteed to be atomic.
2019-10-07 16:35:07 -07:00
Nikita Shulga
23288b7cb5
Use atomic operations to modify flagNestedParallelFor
...
This ensures uniform behavior on any C++11 compliant compiler
2019-10-07 16:26:30 -07:00
Alexander Alekhin
4748aca61f
Merge pull request #15642 from alalek:issue_15597
2019-10-08 00:33:20 +03:00
Sayed Adel
f2fe6f40c2
Merge pull request #15510 from seiko2plus:issue15506
...
* core: rework and optimize SIMD implementation of dotProd
- add new universal intrinsics v_dotprod[int32], v_dotprod_expand[u&int8, u&int16, int32], v_cvt_f64(int64)
- add a boolean param for all v_dotprod&_expand intrinsics that change the behavior of addition order between
pairs in some platforms in order to reach the maximum optimization when the sum among all lanes is what only matters
- fix clang build on ppc64le
- support wide universal intrinsics for dotProd_32s
- remove raw SIMD and activate universal intrinsics for dotProd_8
- implement SIMD optimization for dotProd_s16&u16
- extend performance test data types of dotprod
- fix GCC VSX workaround of vec_mule and vec_mulo (in little-endian it must be swapped)
- optimize v_mul_expand(int32) on VSX
* core: remove boolean param from v_dotprod&_expand and implement v_dotprod_fast&v_dotprod_expand_fast
this changes made depend on "terfendail" review
2019-10-07 22:01:35 +03:00
Alexander Alekhin
7837ae0e19
Merge pull request #15654 from sturkmen72:patch-3
2019-10-07 16:15:04 +00:00
Alexander Alekhin
a007220c52
imgproc: update histogram test
2019-10-07 15:06:43 +03:00
Marcin Tolysz
53400d86e2
Fix compiler warnings for latest cuda npp which defines this itself as:
...
```
#define NPP_VER_MAJOR 10
#define NPP_VER_MINOR 2
#define NPP_VER_PATCH 0
#define NPP_VER_BUILD 243
#define NPP_VERSION (NPP_VER_MAJOR * 1000 + \
NPP_VER_MINOR * 100 + \
NPP_VER_PATCH)
2019-10-07 11:45:26 +01:00
Suleyman TURKMEN
c0489963bb
Update copy.cpp
2019-10-07 11:59:52 +03:00
Alexander Alekhin
626bfbf309
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-10-05 15:45:31 +00:00
Alexander Alekhin
98fc098216
Merge pull request #15646 from alalek:fix_avx512_detection
2019-10-05 15:30:09 +00:00
Alexander Alekhin
6d811f9879
Merge pull request #15641 from alalek:dnn_pytest_update_3.4
2019-10-05 15:28:52 +00:00
Alexander Alekhin
22d0c57a1c
Merge pull request #15602 from alalek:core_softfloat_ubsan_shift
2019-10-05 15:27:35 +00:00
Alexander Alekhin
c54753c185
Merge pull request #15638 from AsyaPronina:asyadev/gapi_filter2d_test
2019-10-05 11:22:11 +00:00
Alexander Alekhin
bdc097495a
fix avx512 detection
...
- renamed Cascade Lake AVX512_CEL => AVX512_CLX (align with Intel SDE tool)
- fixed CLX instruction sets (no IFMA/VBMI)
- added flag to bypass CPU baseline check: OPENCV_SKIP_CPU_BASELINE_CHECK
2019-10-05 11:03:57 +00:00
Alexander Alekhin
feff8bf972
Merge pull request #15626 from alalek:dnn_openvino_2019r3
2019-10-04 19:45:37 +00:00
AsyaPronina
4429352125
OpenCV G-API test for Filter2d has changed:
...
> Size parameter is changed from int to cv::Size type to allow rectangle kernels
> Kernel creation code is adopted for different kernel sizes to not create only white images on the output
2019-10-04 21:25:33 +03:00
Alexander Alekhin
f301f17b61
imgproc: accurate histogram value thresholding
2019-10-04 19:56:25 +03:00
Alexander Alekhin
c13a5ce229
Merge pull request #15622 from dkurt:enet_ie_cpu
2019-10-04 16:31:05 +00:00
Alexander Alekhin
ab5252c18e
dnn(pytest): backport changes from master, update test setUp()
2019-10-04 18:43:35 +03:00
Dmitry Kurtaev
e35fd463e7
Enable ENet with Inference Engine backend on CPU
2019-10-04 18:10:11 +03:00
Alexander Alekhin
fd11e3a81d
dnn: update IE tests
2019-10-04 17:49:10 +03:00
Alexander Alekhin
f0058bbed3
dnn(test): fix optional test data
2019-10-04 17:26:35 +03:00
Alexander Alekhin
22d86116ee
Merge pull request #15634 from alalek:issue_15083_4903
2019-10-04 11:54:54 +00:00
APrigarina
c99db2b9db
bug fix
2019-10-04 13:02:54 +03:00
Alexander Alekhin
c69245da1f
imgproc: fix fitLine() implementation
...
- update optimal solutions on each iteration
2019-10-03 21:23:52 +00:00
Alexander Alekhin
53c88f0f9e
Merge pull request #15627 from andrey-golubev:fix_perform_subst
2019-10-02 22:30:01 +00:00
andrey-golubev
d50babfc99
G-API: fix perform substitution UB/crash
2019-10-02 20:54:11 +03:00
Alexander Alekhin
2b66495a9d
dnn: use OpenVINO 2019R3 defines
2019-10-02 18:47:01 +03:00
Alexander Alekhin
3fb6617d62
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-10-02 17:49:19 +03:00
Alexander Alekhin
23bd1866ca
Merge pull request #15620 from alalek:issue_14727
2019-10-02 14:29:56 +00:00
Alexander Alekhin
59c182ed2b
Merge pull request #15467 from elmsfu:dshow/add_save_graph_file
2019-10-02 14:27:56 +00:00
Alexander Alekhin
c06115cb3f
Merge pull request #15619 from alalek:dnn_eltwise_sum_ie_ocl
2019-10-01 18:02:45 +00:00
Elms
8b483a91bc
dshow: Add ability to save direct show graph
2019-10-01 09:46:07 -07:00
Alexander Alekhin
8814645c8d
dnn(test): skip IE/OCL test for "sum"
2019-10-01 18:29:47 +03:00
Alexander Alekhin
77346d7286
core: workaround transform() inplace calls
2019-10-01 16:52:14 +03:00
Alexander Alekhin
3133bb49aa
Merge pull request #15492 from TolyaTalamanov:at/new-render-prims
2019-10-01 12:39:16 +00:00
Alexander Alekhin
440a937d24
dnn: increase async test timeout
2019-10-01 13:31:57 +03:00
Talamanov, Anatoliy
06067efa3f
Add new render primitives
2019-10-01 12:11:41 +03:00
Alexander Alekhin
ba0b3983c6
Merge pull request #15609 from sturkmen72:update_loadsave_cpp
2019-09-30 18:37:21 +00:00
Sebastián Gurin
a3144cbadc
Merge pull request #15480 from cancerberoSgx:estimateAffine2D
...
js - cv.estimateAffine2D, cv.warpPolar
2019-09-30 21:35:26 +03:00
ann
5c9a624a85
Merge pull request #15356 from APrigarina:3.4_version2
...
QR-Code detection: accuracy improvement
* first commit
* resize improvement
* resize improvement
* dummy commit
* warnings fix
* warnings fix
* warnings fix
* test added
* resize fix
* resize fix
* tests changed
* tests changed
2019-09-30 21:33:58 +03:00
Dmitry Kurtaev
fba9fdfd27
Fix autodetection of input size for dnn networks
2019-09-30 16:05:15 +03:00
Suleyman TURKMEN
d88d1c9935
Update loadsave.cpp
2019-09-28 23:24:17 +03:00
Alexander Alekhin
507ca291e1
Merge pull request #12670 from alalek:imgproc_getRotationMatrix2D_return_type
2019-09-28 18:03:34 +00:00
Alexander Alekhin
ed9bca969c
core: fix UBSAN in softfloat
2019-09-27 16:29:50 +03:00
Alexander Alekhin
aa61e79615
Merge pull request #15600 from alalek:imgproc_pyramid_fix_indexing
2019-09-27 10:21:52 +00:00
Brandon
25dee8383c
Merge pull request #15595 from frastlin:rodrigues
...
* Added Rodrigues to the JS embindgen.py and a unittest in test_calib3d.js on 3.4 base
2019-09-27 13:06:07 +03:00
Alexander Alekhin
f81e401cd0
imgproc: fix indexing issue in pyramids
...
UBSAN violation expression: 'tab = tabR - x;'
2019-09-26 18:09:47 +03:00
Alexander Alekhin
bc927f9788
Merge pull request #15591 from alalek:core_persistence_fix
2019-09-26 12:59:37 +00:00
Alexander Alekhin
e2a5a6a05c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-09-25 18:32:44 +00:00
Alexander Alekhin
7ce9428e96
Merge pull request #15580 from smbz:dnn-lstm-reverse
2019-09-25 15:54:06 +00:00
Andrey Golubev
9f4f9000bc
Merge pull request #15313 from andrey-golubev:map_subst_to_pattern
...
G-API: add transformation logic to GCompiler
* Introduce transformation logic to GCOmpiler
* Remove partialOk() method
* Fix minor issues
* Refactor code according to code review
1. Re-design matchPatternToSubstitute logic
2. Update transformations order
3. Replace check_transformations pass with a
one time check in GCompiler ctor
* Revert unused nodes handling in pattern matching
* Address minor code review issues
* Address code review comments:
1) Fix some mistakes
2) Add new tests for endless loops
3) Update GCompiler's transformations logic
* Simplify GCompiler check for endless loops
1. Simplify transformations endless loops check:
- Original idea wasn't a full solution
- Need to develop a good method (heuristic?) to find loops
in general case (TODO)
2. Remove irrelevant Endless Loops tests
3. Add new "bad arg" tests and unit tests
* Update comments
2019-09-25 18:19:45 +03:00
Alexander Alekhin
677b94c92e
Merge pull request #15579 from alalek:ocl_use_host_mem_ptr_flag
2019-09-25 15:12:59 +00:00
Andrew Ryrie
b88435fdc2
dnn: Allow LSTM layer to operate in reverse direction
...
This is useful for bidirectional LSTMs.
2019-09-25 14:12:43 +01:00
Alexander Alekhin
790927bb55
Merge pull request #15582 from terfendail:pyrdown_oob
2019-09-25 12:37:31 +00:00
Lubov Batanina
e923712d81
Merge pull request #15572 from l-bat:deconv3d
...
Fix computation of internal shapes in Deconvolution layer
* Fix computation of internal shapes
* Refactoring
2019-09-25 15:35:04 +03:00
Alexander Alekhin
eacadf0e73
core(ocl): add flag OPENCV_OPENCL_ENABLE_MEM_USE_HOST_PTR
...
to control CL_MEM_USE_HOST_PTR usage
2019-09-25 15:12:36 +03:00
Alexander Alekhin
6e246ee58c
core(persistence): fix reserveNodeSpace() implementation
...
- avoid data copying after buffer block shrink
- resize current block in case of single FileNode
2019-09-25 15:02:20 +03:00
Vitaly Tuzov
0a1b957331
StereoBM algorithm updated to use wide universal intrinsics
2019-09-25 14:37:12 +03:00
Vitaly Tuzov
1c17b3281a
Fixed OOB reading in pyrDown
2019-09-25 13:24:17 +03:00
Alexander Alekhin
d2cacac07a
Merge pull request #15573 from alalek:build_cxx11_warnings
2019-09-24 22:08:55 +00:00
Wenzhao Xiang
c2096771cb
Merge pull request #15371 from Wenzhao-Xiang:gsoc_2019
...
[GSoC 2019] Improve the performance of JavaScript version of OpenCV (OpenCV.js)
* [GSoC 2019]
Improve the performance of JavaScript version of OpenCV (OpenCV.js):
1. Create the base of OpenCV.js performance test:
This perf test is based on benchmark.js(https://benchmarkjs.com ). And first add `cvtColor`, `Resize`, `Threshold` into it.
2. Optimize the OpenCV.js performance by WASM threads:
This optimization is based on Web Worker API and SharedArrayBuffer, so it can be only used in browser.
3. Optimize the OpenCV.js performance by WASM SIMD:
Add WASM SIMD backend for OpenCV Universal Intrinsics. It's experimental as WASM SIMD is still in development.
* [GSoC2019]
1. use short license header
2. fix documentation node issue
3. remove the unused `hasSIMD128()` api
* [GSoC2019]
1. fix emscripten define
2. use fallback function for f16
* [GSoC2019]
Fix rebase issue
2019-09-24 16:30:42 +03:00
Alexander Alekhin
3cf9185159
Merge pull request #15538 from terfendail:wui_checkany
2019-09-23 15:52:24 +00:00
Maksim Shabunin
c8abf2ad14
backport: fixed warnings produced by clang-9.0.0
...
ea3dc78986
83fc27cb99
2019-09-23 18:36:18 +03:00
smirnov-alexey
bab8addcbb
Move maxval to threshold tests parameter
...
Fix documentation
2019-09-23 14:21:33 +03:00
Alexander Alekhin
c4d2e3c0b3
Merge pull request #15566 from alalek:issue_15558
2019-09-23 09:22:06 +00:00
Alexander Alekhin
b40fd6de32
Merge pull request #15565 from alalek:issue_15561
2019-09-23 09:21:49 +00:00
Alexander Alekhin
fcc69d5a60
core(test): fix check conditions
2019-09-22 11:28:41 +00:00
Alexander Alekhin
fef7fc343e
ml: add checks of empty train data
2019-09-22 11:12:19 +00:00
Alexander Alekhin
ad2854c8b3
imgcodecs: add check image.empty() in imwrite()/imencode()
2019-09-22 10:45:00 +00:00
Alexander Alekhin
a74fe2ec01
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-09-20 21:11:49 +00:00
mipsopen-fwu
b1ea91d8bd
Merge pull request #15422 from mipsopen-fwu:msa-dev
...
* Added MSA implementations for mips platforms. Intrinsics for MSA and build scripts for MIPS platforms are added.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Removed some unused code in mips.toolchain.cmake.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Added comments for mips toolchain configuration and disabled compiling warnings for libpng.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Fixed the build error of unsupported opcode 'pause' when mips isa_rev is less than 2.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* 1. Removed FP16 related item in MSA option defines in OpenCVCompilerOptimizations.cmake.
2. Use CV_CPU_COMPILE_MSA instead of __mips_msa for MSA feature check in cv_cpu_dispatch.h.
3. Removed hasSIMD128() in intrin_msa.hpp.
4. Define CPU_MSA as 150.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* 1. Removed unnecessary CV_SIMD128_64F guarding in intrin_msa.hpp.
2. Removed unnecessary CV_MSA related code block in dotProd_8u().
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* 1. Defined CPU_MSA_FLAGS_ON as "-mmsa".
2. Removed CV_SIMD128_64F guardings in intrin_msa.hpp.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
* Removed unused msa_mlal_u16() and msa_mlal_s16 from msa_macros.h.
Signed-off-by: Fei Wu <fwu@wavecomp.com>
2019-09-20 19:52:48 +03:00
Vitaly Tuzov
66842f5a18
Extended v_check_any/v_check_all universal intrinsics to support 64-bit integer
2019-09-19 18:31:31 +03:00
Alexander Alekhin
ee23a7575d
Merge pull request #15515 from dkurt:dnn_detection_model_fix
2019-09-18 12:19:14 +00:00
Alexander Alekhin
46fd112f9b
Merge pull request #15399 from terfendail:perf_stereobm
2019-09-17 14:26:43 +00:00
Vitaly Tuzov
cd7fa04985
Fixed out of bound reading in DIS optical flow evaluation implementation
2019-09-17 15:53:18 +03:00
Daniel Kapusi
d2872afce0
Merge pull request #15341 from DiebBlue:is5769
...
* issue 5769 fixed: cv::stereoRectify fails if given inliers mask of type vector<uchar>
* issue5769 fix using reshape and add regression test
* regression test with outlier detection, testing vector and mat data
* Size comparision of wrong vector within CV_Assert in regression test corrected
* cleanup test code
2019-09-17 00:04:05 +03:00
Alexander Alekhin
70c88a2087
Merge pull request #15517 from mshabunin:fix-osx-avfoundation-auth
2019-09-16 15:28:34 +00:00
Alexander Alekhin
7770ba1f10
Merge pull request #15491 from terfendail:undistort_fix
2019-09-16 15:24:29 +00:00
Vitaly Tuzov
7b3a752012
Fixed universal intrinsic undistort() implementation
2019-09-16 17:16:38 +03:00
Alexander Alekhin
b4c5b50a3e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-09-13 17:15:45 +00:00
Alexander Alekhin
03c4c67dad
Merge pull request #15518 from mshabunin:fix-osx-qt
2019-09-13 17:06:00 +00:00
Alexander Alekhin
48fa39f675
Merge pull request #15487 from dkurt:fix_ie_2019r1
2019-09-13 16:57:34 +00:00
Maksim Shabunin
5c0502b470
Fixed OSX build with Qt
2019-09-13 15:23:59 +03:00
Maksim Shabunin
f10fce9ab4
AVFoundation: backported runtime authorization check from master
2019-09-13 13:20:29 +03:00
Maksim Shabunin
aaad238c6e
AVFoundation: fix authorization request not being shown
2019-09-13 13:11:35 +03:00
Dmitry Kurtaev
3ddb005480
Fix DetectionModel in case of out of [0, 1] range detection prediction
2019-09-13 12:58:56 +03:00
Dmitry Kurtaev
0428f60d66
Fix OpenVINO 2019R1 compilation
2019-09-13 09:22:34 +03:00
Paul E. Murphy
b465c82696
core: workaround old gcc vec_mul{e,o} (Issue #15506 )
...
ISA 2.07 (aka POWER8) effectively extended the expanding multiply
operation to word types. The altivec intrinsics prior to gcc 8 did
not get the update.
Workaround this deficiency similar to other fixes.
This was exposed by commit 33fb253a66
which leverages the int -> dword expanding multiply.
This fixes Issue #15506
2019-09-12 09:54:02 -05:00
Maksim Shabunin
349f0cf5e9
Merge pull request #15443 from anton-potapov:fluid_internal_parallellism_fix_review_comments
2019-09-09 19:27:59 +00:00
Anton Potapov
758156a9b6
Fluid Internal Parallelism:
...
- add comments on signature of custom parallel_for
- use cv::parallel_for_ by default
2019-09-09 17:37:52 +03:00
Vitaly Tuzov
bf8b5ffeb1
Added performance test for StereoBM algorithm
2019-09-09 16:37:06 +03:00
Anton Potapov
8747082091
G-API: fixing CMake warning for standalone build
2019-09-09 16:23:04 +03:00
Alexander Alekhin
b3a0507546
Merge pull request #15475 from alalek:build_eliminate_warning_array_bounds
2019-09-06 15:57:52 +00:00
Alexander Alekhin
bdf23ce855
ts: eliminate -Warray-bounds warning
2019-09-06 18:06:02 +03:00
Alexander Alekhin
60488ffbbd
gapi(test): disable memory consumption check in valgrind runs
2019-09-06 17:02:30 +03:00
Yuhel Tanaka
a13862e924
Fix issue #6450
2019-09-06 11:56:04 +09:00
Alexander Alekhin
e7b6753a10
imgproc: avoid manual memory allocation in connectedcomponents.cpp
2019-09-05 16:20:08 +03:00
Alexander Alekhin
bea2c75452
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-09-05 14:29:22 +03:00
Jaime
fafada28eb
Merge pull request #14872 from AhiyaHiya:feature/topmost_window
...
* Added mechanism to set/toggle NORMAL window to TOPMOST window.
* highgui: remove unnecessary/legacy code
2019-09-05 13:55:17 +03:00
Alexander Alekhin
0a13633411
Merge pull request #15444 from alalek:ocl_fix_fft_kernel
2019-09-04 16:25:34 +00:00
Everton Constantino
76e403cf25
Merge pull request #15440 from everton1984:new_integral_tests
...
* Adding all possible data type interactions to the perf tests since some
use SIMD acceleration and others do not.
* Disabling full tests by default.
* Giving proper names, removing magic numbers and sanity checks of new
performance tests for the integral function.
* Giving proper names, making array static.
2019-09-04 19:14:00 +03:00
Matt Bennett
b17d16623a
Prevent empty _Jo matrix multiplication when using calibrateCameraRO with iFixedPoint > 0
2019-09-04 15:33:03 +01:00
Dmitry Kurtaev
ba703157cf
Merge pull request #15063 from dkurt:dnn_ie_ocv_layers
...
* Wrap unsupported by IE layers as custom layers
* Replace pointers to layers blobs to their shapes
* Enable Faster R-CNN with IE backend on CPU
2019-09-03 18:58:57 +03:00
Alexander Alekhin
8bd2720c28
core(ocl): fix fft kernel compilation
...
- error: variables in the local address space can only be declared in the outermost scope of a kernel function
2019-09-03 15:46:53 +03:00
Alexander Alekhin
7e46766c8d
Merge pull request #15437 from devnexen:fbsd_opencl_build_fix
2019-09-03 12:21:02 +00:00
Alexander Alekhin
61cc855564
Merge pull request #15442 from alalek:fix_15293
2019-09-03 12:05:57 +00:00
Alexander Alekhin
e736f590f7
Merge pull request #15436 from alalek:update_version_4.1.2-pre
2019-09-03 12:05:16 +00:00
Alexander Alekhin
9ef5373776
Merge pull request #15435 from alalek:update_version_3.4.8-pre
2019-09-03 12:04:23 +00:00
Alexander Alekhin
6d669dcd7d
gapi(test): fix 32S->8U type in OwnMatConversion.WithND
2019-09-03 14:00:28 +03:00
Alexander Alekhin
abd7d63b74
Merge pull request #15424 from mshabunin:add-cmake-docs
2019-09-03 10:50:45 +00:00
OrestChura
55c1720719
Merge pull request #15419 from OrestChura:gapi_headers_internal_flag_issue
...
* - headers in "infer/" and "infer/ie/" folders are included into gapi_ext_hdrs;
+ because of that a few #includes are required in the headers
- HAVE_INF_ENGINE flag check in headers "infer/ie.hpp" and "infer/ie/util.hpp" is deleted
* - the "ie/util.hpp" header is a private header now as it's used for tests; it's been moved to the scr directory to the place next to the implementation file "ie/giebackend.cpp"
- the path to this header in files "ie/giebackend.cpp" and "test/infer/gapi_infer_ie_test.cpp" is updated
- As it's private header now and explicitly depends on IE, the "HAVE_INF_ENGINE" flag check is returned
2019-09-03 13:22:12 +03:00
David Carlier
6769ee3748
OpenCL: FreeBSD build fix
2019-09-02 18:30:53 +01:00
Anton Potapov
f7b5900671
Fluid Internal Parallelism
...
- make static analysis happy
2019-09-02 16:16:01 +03:00
Alexey Smirnov
8a7e74673e
Merge pull request #15312 from smirnov-alexey:gapi_fluid_garray
...
* Support GArray as input in fluid kernels
* Create tests on GArray input in fluid
* Some fixes to fully support GArray
* Refactor code and change the kernel according to review
* Add histogram calculation as a G-API kernel
Add assert that input GArgs in fluid contain at least one GMat
2019-09-02 15:51:58 +03:00
Alexander Alekhin
3c62f3a8e3
pre: OpenCV 4.1.2 (version++)
2019-09-02 15:26:14 +03:00
Alexander Alekhin
48d41ab088
dnn: bump API version
2019-09-02 14:25:18 +03:00
Alexander Alekhin
0fda243a05
pre: OpenCV 3.4.8 (version++)
2019-09-02 14:20:49 +03:00
Alexander Alekhin
70dfae31a2
experimental version++
2019-09-02 14:17:36 +03:00
atinfinity
3b9f981358
removed tegra optimization
2019-09-01 21:22:06 +09:00
Alexander Alekhin
048ddbf9ee
Merge pull request #15339 from pmur:dotprod-32s-vsx
2019-08-31 11:16:04 +00:00
Alexander Alekhin
2a6527e751
Merge pull request #15402 from ChipKerchner:normUnroll
2019-08-31 11:10:05 +00:00
Chip Kerchner
26228e6b4d
Merge pull request #15358 from ChipKerchner:imgwarpToHal
...
* Convert ImgWarp from SSE SIMD to HAL - 2.8x faster on Power (VSX) and 15% speedup on x86
* Change compile flag from CV_SIMD128 to CV_SIMD128_64F for use of v_float64x2 type
* Changing WarpPerspectiveLine from class functions and dispatching to static functions.
* Re-add dynamic runtime and dispatch execution.
* RRestore SSE4_1 optimizations inside opt_SSE4_1 namespace
2019-08-31 13:47:58 +03:00
Maksim Shabunin
f3aab47f94
Assorted documentation fixes
...
* removed private flann documentation
* common tutorial images moved to doc/images
* grouping issues
2019-08-31 01:50:11 +03:00
Alexander Alekhin
1661e83939
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-08-30 16:22:42 +03:00
Alexander Alekhin
f224d740a3
Merge pull request #15414 from kuzi117:instr
2019-08-30 12:03:19 +00:00
Alexander Alekhin
e319340253
Merge pull request #15417 from alalek:ts_fix_callback_signature
2019-08-29 18:40:19 +00:00
Braedy Kuzma
9bf8b496d6
Use commonly supported instruction mnemonic.
2019-08-29 10:00:40 -06:00
Braedy Kuzma
d4120dd2fe
Disambiguate vecpopcnt for (u)dword2.
2019-08-29 09:54:56 -06:00
Alexander Alekhin
654d0c29ad
ts: fix callback function signature
...
detected by UBSAN
2019-08-29 15:09:32 +03:00
Alexander Alekhin
8d0b3dad5c
Merge pull request #15357 from ChipKerchner:fastCorner
2019-08-29 08:26:31 +00:00
Lubov Batanina
90eb529bc4
Merge pull request #15395 from l-bat:fully_connected
...
* Fix IE FullyConnected layer
* Fix MyriadX
2019-08-29 10:52:02 +03:00
Alexander Alekhin
6506c19ac3
Merge pull request #15407 from terfendail:test_check_any
2019-08-28 16:39:01 +00:00
Chip Kerchner
30a60d396b
Merge pull request #15274 from ChipKerchner:lkpyramidToHal
...
* Convert lkpyramid from SSE SIMD to HAL - 90% faster on Power (VSX).
* Replace stores with reduce_sum. Rework to handle endianess correctly.
* Fix compiler warnings by casting values explicitly to shorts
* Switch to CV_SIMD128 compiler definition. Unroll loop to 8 elements since we've already loaded the data.
2019-08-28 18:56:48 +03:00
Vitaly Tuzov
d134ec54c5
Extend tests for v_check_any and v_check_all intrinsics
2019-08-28 14:53:31 +03:00
Alexander Alekhin
ca7640e10f
Merge pull request #15401 from ChipKerchner:vectorReduceInt8Bug
2019-08-27 19:59:39 +00:00
ChipKerchner
288e6f9c07
Improve vectorization in the 'norm' functions
2019-08-27 12:15:19 -05:00
ChipKerchner
70b883cfeb
Fix macro bug with v_reduce_min and v_reduce_max for chars in VSX
2019-08-27 11:38:53 -05:00
Alexander Alekhin
1ae001d10a
Merge pull request #15378 from andrey-golubev:acc_tests_doc
2019-08-27 12:20:05 +00:00
Vitaly Tuzov
1b40528e1a
Fix for AVX2 implementation of v_check_any(), v_check_all() intrinsics
2019-08-27 14:31:23 +03:00
atinfinity
824465ea27
Merge pull request #15388 from atinfinity:impl-turbo-colormap
...
Implementation of colormap "Turbo" (#15388 )
* implemented turbo colormap
* add colormap image
* changed float value to avoid cast
* sorted flag check alphabetically
2019-08-26 17:55:10 +03:00
Dmitry Kurtaev
57676cf64d
Fix https://github.com/opencv/opencv/issues/15141
2019-08-24 23:14:26 +03:00
Alexander Alekhin
a7b954f655
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-08-23 19:24:37 +03:00
Alexander Alekhin
114674c3d9
Merge pull request #15383 from alalek:fix_15379
2019-08-23 16:19:36 +00:00
Alexander Alekhin
c05595e482
Merge pull request #15382 from alalek:fix_15287
2019-08-23 16:09:13 +00:00
Alexander Alekhin
d7409604b5
core: handle empty Mat in Mat_ assignment operators
2019-08-23 16:54:24 +03:00
Alexander Alekhin
29dbeb253c
build: fix build with ICC
2019-08-23 16:36:32 +03:00
Alexander Alekhin
5a497077f1
objdetect: add input check in HOG detector
2019-08-23 16:14:53 +03:00
Alexander Alekhin
576644a197
Merge pull request #15236 from dbudniko:dbudniko/g_api_copy_kernels
2019-08-23 10:47:47 +00:00
Andrey Golubev
410583e5f9
Document usage of accuracy tests model
2019-08-23 13:15:35 +03:00
Alexander Alekhin
56e832ee43
Merge pull request #15372 from alalek:core_stat_fix_intrin
2019-08-22 20:52:54 +00:00
Alexander Alekhin
601096f360
Merge pull request #15370 from alalek:core_fastmath_hpp_update
2019-08-22 17:05:38 +00:00
Kazuma Furuhashi
ccecd3405a
Merge pull request #15007 from 284km:fixatypo
...
s/last_occurence/last_occurrence/
2019-08-22 17:32:25 +03:00
Alexander Alekhin
8a0b93bc4d
core: update fastmath.hpp
2019-08-22 16:43:07 +03:00
Alexander Alekhin
8b1fe8f6e0
core: fix stat SIMD code
2019-08-22 16:37:26 +03:00
Alexander Alekhin
7243eda2ff
Merge pull request #15316 from sturkmen72:update_seamless_cloning_cpp
2019-08-22 11:37:38 +00:00
Alexander Alekhin
84b8a2fb05
Merge pull request #15303 from dkurt:fix_15296
2019-08-21 16:59:20 +00:00
Alexander Alekhin
4700722444
Merge pull request #15359 from mgehre:fix_dangling_pointer
2019-08-21 11:38:36 +00:00
Zyrin
869ea22f34
Use std::move in Mat_<T> move constructors
2019-08-21 11:12:00 +02:00
Zyrin
8ef8088686
Fix stack overflow on gcc with c++17 ( #15343 )
2019-08-21 10:57:03 +02:00
Matthias Gehre
0e92ac2af7
modules/core/src/ocl.cpp: Fix dangling pointer
...
Detected by clang trunk:
```
opencv/modules/core/src/ocl.cpp:4337:37: warning: object backing the pointer will be destroyed at the end of the full-expression [-Wdangling]
CV_OCL_CHECK_RESULT(retval, cv::format("clCreateBuffer(capacity=%lld) => %p", (long long int)entry.capacity_, (void*)entry.clBuffer_).c_str());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
opencv/modules/core/src/ocl.cpp:193:42: note: expanded from macro 'CV_OCL_CHECK_RESULT'
if (0) { const char* msg_ = (msg); CV_UNUSED(msg_); /* ensure const char* type (cv::String without c_str()) */ } \
```
because `cv::format` yields a temporary std::string, and thus `msg_` points to a destroyed buffer.
2019-08-20 23:30:34 +02:00
Philippe FOUBERT
b77a0039ee
Merge pull request #15351 from philippefoubert:pr_ximea
...
* Fix the detection of XIMEA on Windows (when it has been installed by another user with administrative privileges, for example).
* Change the flow: we first try HKEY_CURRENT_USER key and, if empty, then try HKEY_LOCAL_MACHINE
2019-08-21 00:01:34 +03:00
Paul E. Murphy
33fb253a66
core: vectorize dotProd_32s
...
Use 4x FMA chains to sum on SIMD 128 FP64 targets. On
x86 this showed about 1.4x improvement.
For PPC, do a full multiply (32x32->64b), convert to DP
then accumulate. This may be slightly less precise for
some inputs. But is 1.5x faster than the above which
is about 1.5x than the FMA above for ~2.5x speedup.
2019-08-20 15:28:36 -05:00
ChipKerchner
51ceabb2eb
Change fast corner flags in HAL version from char array to single int
2019-08-20 13:25:35 -05:00
Alexander Alekhin
6a439ae53d
videoio(doc): fix 'since' version
2019-08-20 13:15:56 +03:00
Alexander Alekhin
19a4b51371
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-08-16 18:48:08 +03:00
Suleyman TURKMEN
a1e96a7deb
Update seamless_cloning.cpp
2019-08-16 17:35:22 +03:00
luz.paz
fcc7d8dd4e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
backporting of commit: ec43292e1e
2019-08-16 17:34:29 +03:00
luz.paz
ec43292e1e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
2019-08-15 18:02:09 -04:00
Alexander Alekhin
0a02dd5f58
Merge pull request #15298 from smirnov-alexey:gapi_simplify_transform_tests
2019-08-15 10:09:14 +00:00
Alexander Alekhin
13ecd5bb25
Merge pull request #15122 from pmur:fast-math-improvements
2019-08-14 19:28:05 +00:00
Alexander Alekhin
a703b9ed84
Merge pull request #15101 from alalek:cmake_initialization
2019-08-14 19:17:07 +00:00
Dmitry Kurtaev
e4a80aee09
Fix #15296
2019-08-14 19:44:05 +03:00
ilbalance
0b5d0b83be
Merge pull request #15275 from ilbalance:js_inpaint
...
* in embindgen.py added inpaint function
* added test for inpaint function and fixed function in build_js
* fixed test for inpaint function
* rotate deleted, build_js.py fixed
2019-08-14 17:16:45 +03:00
Alexander Alekhin
32772a5436
3.4: backported changes from 'master' branch
2019-08-14 16:36:08 +03:00
smirnov-alexey
35e5f00cac
Simplify tests on GAPI_TRANSFORM
2019-08-14 13:37:40 +03:00
Alexander Alekhin
290da93845
Merge pull request #15285 from AsyaPronina:dev/asyadev/matching_requirements_test
2019-08-14 09:59:56 +00:00
Andrey Golubev
f6bb900259
Merge pull request #15238 from andrey-golubev:fluid_fix_journal
...
G-API: Fix Journal usage in Fluid backend (#15238 )
* Fix Journal usage in Fluid backend
* Delete dumpDotRequired(): invalid check
* Update mem consumption test
* Test that new test works
* Debug memory consumption function
* Increase iterations in test
* Re-write memory consumption measurement part
* Restore correct fix for Fluid journals
2019-08-14 10:03:52 +03:00
Diego
f7f2438478
Merge pull request #15082 from dvd42:segmentation-module
...
Segmentation module (#15082 )
2019-08-13 23:38:48 +03:00
Alexander Alekhin
2ad0487cec
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-08-13 18:32:29 +00:00
Alexander Alekhin
72ccb5fe6e
Merge pull request #15283 from smirnov-alexey:gapi_transform_tests
2019-08-13 14:45:18 +00:00
Alexander Alekhin
7c96857c02
Merge pull request #15292 from alalek:build_warnings_xcode_10_3
2019-08-13 14:18:48 +00:00
Alexander Alekhin
15b8a8d935
build: eliminate warnings with Xcode 10.3
2019-08-13 15:06:13 +03:00
Andrey Golubev
bf0765fc7f
Merge pull request #15282 from andrey-golubev:rename_argkind_opaque
...
* G-API: rename ArgKind OPAQUE to GOPAQUE
Rename ArgKind value to GOPAQUE to fix conflict in the
user code when wingdi.h is included: it defines OPAQUE
macro that (for some reason) is chosen instead of ArgKind
value
* Add compatibility with existing API
* Renamed GOPAQUE to OPAQUE_VAL
2019-08-13 13:57:27 +03:00
AsyaPronina
59de4d9ad8
Added Preproc use case test for graph pattern matching
2019-08-12 20:14:56 +03:00
Alexander Alekhin
e0cb01e2cf
Merge pull request #15249 from dkurt:dnn_ie_tests_2019r2
2019-08-12 16:32:38 +00:00
smirnov-alexey
4c168e95de
Extend test suite on GAPI_TRANSFORM macro
2019-08-12 16:44:05 +03:00
Alexander Alekhin
183fc43a67
Merge pull request #15217 from elatkin:15163_gapi_std_math
2019-08-12 09:41:11 +00:00
Alexander Alekhin
c95407f1bc
Merge pull request #14883 from AsyaPronina:dev/asyadev/pattern_matching
2019-08-09 20:52:52 +03:00
Lubov Batanina
f1ea9d86b9
Merge pull request #15203 from l-bat:determine_inp_shape
...
* Determine input shapes
* Add test
* Remove getInputShapes
* Fix model
* Fix constructors
* Add Caffe test
* Fix predict
2019-08-09 19:51:42 +03:00
AsyaPronina
e06efd5329
G-API: Added graph pattern matching routine and basic tests
2019-08-09 18:57:56 +03:00
Alexander Alekhin
358d69956a
Merge pull request #15198 from AsyaPronina:bump_to_new_ade_release
2019-08-09 15:24:01 +00:00
Hugo Lindström
935067ee05
Merge pull request #15265 from hugolm84:wince-armv7-supports-neon
...
* WINCE 8.0 requires ARMv7 Thumb2 and thus have NEON instructions
* Only add NEON if on _ARM_
2019-08-09 18:01:37 +03:00
Alexander Alekhin
212f0fb509
Merge pull request #15262 from alalek:fix_15252
2019-08-08 19:34:33 +00:00
Chip Kerchner
d513fb4c8e
Merge pull request #15199 from ChipKerchner:hogToHal
...
Convert HOG from SSE SIMD to HAL - 35-45% faster on Power (VSX) (#15199 )
* Convert SSE SIMD to HAL. 35-45% improvement for Power (VSX)
* Remove CV_NEON code. Use v_floor instead of 3 lines of code.
* Invert comparison logic to simplify code.
* Change initialization from v_load to constructor type.
2019-08-08 18:57:03 +03:00
Alexander Alekhin
596b8a5d06
Merge pull request #15263 from alalek:videoio_skip_msmf_tests3
2019-08-08 15:47:08 +00:00
Alexander Alekhin
6f267be6f1
Merge pull request #15260 from tomoaki0705:suppressNoisyWarning
2019-08-08 15:45:29 +00:00
Jake Howard
76b40a37e7
Merge pull request #15111 from RealOrangeOne:patch-1
...
* Remove unavoidable print of CV error
The return value covers whether the device exists.
This might be better hidden behind a debug flag, but I couldn't work out how to do that nicely.
* Use `CV_LOG_WARNING` macro to log rather than removing it entirely
2019-08-08 16:56:49 +03:00
Alexander Alekhin
a77275e650
videoio(test): skip unstable MSMF tests (3)
2019-08-08 16:25:19 +03:00
Alexander Alekhin
5e527d22e3
gapi: fix build with MSVS2017/2019
2019-08-08 16:13:25 +03:00
Tomoaki Teshima
40c71a2463
suppress noisy warning
...
* add -Wno-psabi when using GCC 6
* add -Wundef for CUDA 10
* add -Wdeprecated-declarations when using GCC 7
* add -Wstrict-aliasing and -Wtautological-compare for GCC 7
* replace cudaThreadSynchronize with cudaDeviceSynchronize
2019-08-08 21:49:32 +09:00
Alexander Alekhin
5ef548a985
cmake: update initialization
2019-08-08 15:23:16 +03:00
Paul E. Murphy
f38a61c66d
fast_math: implement optimized PPC routines
...
Implement cvRound using inline asm. No compiler support
exists today to properly optimize this. This results in
about a 4x speedup over the default rounding. Likewise,
simplify the growing number of rounding function overloads.
For P9 enabled targets, utilize the classification
testing instruction to test for Inf/Nan values. Operation
speedup is about 1.2x for FP32, and 1.5x for FP64 operands.
For P8 targets, fallback to the GCC nan inline. It provides
a 1.1/1.4x improvement for FP32/FP64 arguments.
2019-08-07 15:01:18 -05:00
Paul E. Murphy
3f92bcc11a
fast_math: selectively use GCC rounding builtins when available
...
Add a new macro definition OPENCV_USE_FASTMATH_GCC_BUILTINS to enable
usage of GCC inline math functions, if available and requested by the
user.
Likewise, enable it for POWER. This is nearly always a substantial
improvement over using integer manipulation as most operations can
be done in several instructions with no branching. The result is a
1.5-1.8x speedup in the ceil/floor operations.
1. As tested with AT 12.0-1 (GCC 8.3.1) compiler on P9 LE.
2019-08-07 15:01:18 -05:00
Paul E. Murphy
b2135be594
fast_math: add extra perf/unit tests
...
Add a basic sanity test to verify the rounding functions
work as expected.
Likewise, extend the rounding performance test to cover the
additional float -> int fast math functions.
2019-08-07 14:59:46 -05:00
AsyaPronina
816929c704
Bump to new ADE release v0.1.1f
2019-08-07 21:35:28 +03:00
Dmitry Kurtaev
a9839af903
Add preprocessing warps for separate parameters
2019-08-07 14:51:41 +03:00
Dmitry Kurtaev
6193e403e7
Enable some tests for 2019R2
2019-08-07 09:07:53 +03:00
Alexander Alekhin
32da0705cf
Merge pull request #15102 from dgel:force_input_format_ffmpeg
2019-08-06 20:52:57 +00:00
Alexander Alekhin
ba1a48c2ce
Merge pull request #14901 from fishjam:issue_8834
2019-08-06 20:52:21 +00:00
Alexander Alekhin
821f17d666
Merge pull request #15235 from pmur:vsx-v_signmask-vbpermq
2019-08-06 20:09:22 +00:00
Lubov Batanina
0e1ef8f8e1
Merge pull request #15184 from l-bat:IE_R2
...
Support new IE API (#15184 )
* Add support OpenVINO R2 for layers
* Add Core API
* Fix tests
* Fix expectNoFallbacksFromIE for ONNX nets
* Remove deprecated API
* Remove td
* Remove TargetDevice
* Fix Async
* Add test
* Fix detectMyriadX
* Fix test
* Fix warning
2019-08-06 22:20:26 +03:00
Douwe Gelling
96a27f4266
allow forcing the input format for ffmpeg backend with env var
2019-08-06 19:30:39 +03:00
fishjam
26ac5a3bdc
try to fix VideoCapture different time stamp
2019-08-06 19:04:22 +03:00
ilbalance
cf93a05d2d
Merge pull request #15230 from ilbalance:js_rotate
...
* in OpenCV.js added 'rotate' function and test sample
* value test added
2019-08-06 12:55:15 +03:00
Alexander Alekhin
174b4ce29d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-08-05 18:11:43 +00:00
Alexander Alekhin
a4b4432015
videoio(test): skip unstable MSMF tests (2)
2019-08-05 19:13:17 +03:00
Dmitry Budnikov
6427744063
perf tests are added
2019-08-05 19:04:14 +03:00
Alexander Alekhin
365323afec
Merge pull request #15234 from alalek:backport
2019-08-05 15:09:22 +00:00
Alexander Alekhin
99f709ca96
Merge pull request #15233 from alalek:videoio_skip_msmf_tests
2019-08-05 15:08:41 +00:00
Dmitry Matveev
0757a51e2b
Merge pull request #15090 from dmatveev:dm/ng-0001-g-api-inference-api
...
* G-API-NG/API: Introduced inference API and IE-based backend
- Very quick-n-dirty implementation
- OpenCV's own DNN module is not used
- No tests so far
* G-API-NG/IE: Refined IE backend, added more tests
* G-API-NG/IE: Fixed various CI warnings & build issues + tests
- Added tests on multi-dimensional own::Mat
- Added tests on GMatDesc with dimensions
- Documentation on infer.hpp
- Fixed more warnings + added a ROI list test
- Fix descr_of clash for vector<Mat> & standalone mode
- Fix build issue with gcc-4.8x
- Addressed review comments
* G-API-NG/IE: Addressed review comments
- Pass `false` to findDataFile()
- Add deprecation warning suppression macros for IE
2019-08-05 17:56:34 +03:00
Dmitry Budnikov
290078e0d0
copy kernels
2019-08-05 17:46:28 +03:00
Victor Romero
987bb2ca61
Fix build for UWP
...
backport of commit: f18cbd036a
2019-08-05 17:19:36 +03:00
TheGoddessInari
960bb540ec
Make sure to use defined(__GNUC__) instead of bare __GNUC__ in flann2 header.
...
This fixes a compiler error on MSVC with Unreal Engine (at least).
backport of commit: 4e998c9ade
2019-08-05 17:19:12 +03:00
John Smith
b9d6fc9dad
Fix cv::selectROI rectangle rendering issue
...
backport of commit: 95c65aff75
2019-08-05 17:18:30 +03:00
Paul E. Murphy
1031b7f4bc
hal: vsx: further optimize v_signmask
...
Use the quadword bit permutation instruction to creatively move
the sign bits to create the mask. Note that values above 127 will
result in 0.
2019-08-05 09:00:22 -05:00
Alexander Alekhin
406313bbc5
videoio(test): skip unstable MSMF tests
2019-08-05 16:57:26 +03:00
yaohai [姚海]
cadb4dee14
fix exif bug
2019-08-05 16:41:07 +03:00
Thang Tran
d659eb9327
core: fixed error message to avoid confusion
2019-08-04 17:17:03 +02:00
Evgeny Latkin
f17a6b478b
GAPI: use plain-C interface to math functions, sin/cos, etc.
...
- addresses #15163 : C++11 definition issue by @neheb
2019-08-04 08:07:46 +03:00
Victor Romero
f18cbd036a
Merge pull request #15207 from vicroms:fix-uwp-build
...
Fix build for UWP (#15207 )
* Guard non-WinRT calls to fix UWP build
* Remove unnecessary guard for WinRT
2019-08-03 22:53:38 +03:00
Alexander Alekhin
b584c23061
Merge pull request #15158 from dkurt:fix_tf_ssd_configs
2019-08-02 16:08:55 +00:00
Alexander Alekhin
ba934ff1ce
Merge pull request #15202 from hugolm84:support_build_shared_for_wince
2019-08-02 15:34:02 +00:00
Maksim Shabunin
b231e91d87
Fix for building with old V4L
2019-08-02 11:19:49 +03:00
Alexander Alekhin
f9cefc84a3
Merge pull request #15098 from RealJohnSmith:master
2019-08-01 16:35:07 +00:00
Alexander Alekhin
977d2c4330
Merge pull request #15197 from mshabunin:restore-ipp-cut
2019-08-01 16:33:37 +00:00
Andrey Golubev
fc85f3644d
Merge pull request #15190 from andrey-golubev:fluid_invalid_roi
...
G-API: verify y offset and height of Fluid output ROIs (#15190 )
* G-API: validate GFluidOutputRoi y and height
* Rearrange tested ROIs
2019-08-01 19:30:05 +03:00
Hugo Lindström
03fe1cb7fc
Support building shared libraries on WINCE.
2019-08-01 15:28:04 +02:00
Maksim Shabunin
4dadf17bd9
Merge pull request #15168 from dkurt:dnn_onnx_15120
2019-07-31 15:03:23 +00:00
Maksim Shabunin
6d5ac67681
Restored IPP call reduction
2019-07-31 15:41:22 +03:00
dcouwenh
d3cf0d2c06
Bayer VNG Demosaicing Fix #2 (Merge pull request #15086 )
...
* Update demosaicing.cpp
Fixed calculation of Bs for non-green pixels.
* Fixed cvtColor perf test for bayer VNG
2019-07-30 23:49:46 +03:00
Andrey Golubev
304e3ac12f
G-API: fix Fluid reshape with unused nodes (Merge pull request #15115 )
...
* G-API: fix fluid reshape with unused nodes
* Update test names
* Add FIXME for future improvement
2019-07-30 23:48:46 +03:00
Lubov Batanina
778f42ad34
Add high level API (Merge pull request #14780 )
...
* Add high level API
* Fix Model
* Add DetectionModel
* Add ClassificationModel
* Fix classify
* Add python test
* Fix pytest
* Fix comments to review
* Fix detect
* Fix docs
* Modify DetectionOutput postprocessing
* Fix test
* Extract ref boxes
* Fix draw rect
* fix test
* Add rect wrap
* Fix wrap
* Fix detect
* Fix Rect wrap
* Fix OCL_FP16
* Fix MyriadX
* Fix nms
* Fix NMS
* Fix coords
2019-07-30 23:07:37 +03:00
Lubov Batanina
5a6b23e8f3
Support for several min and max sizes in PriorBox layer (Merge pull request #15076 )
...
* Support for several min and max sizes in PriorBox layer
* Fix minSize
* Check size
* Modify initInfEngine
* Fix tests
* Fix IE support
* Add priorbox test
* Remove inputs
2019-07-30 17:23:47 +03:00
Maksim Shabunin
e90438fe3c
Merge pull request #14938 from LaurentBerger:face_clip
2019-07-30 14:18:51 +00:00
Maksim Shabunin
f7d5b39ec9
Merge pull request #15169 from dkurt:dnn_onnx_drop_vgg16
2019-07-30 14:15:34 +00:00
Maksim Shabunin
eec9fa9d5e
Merge pull request #15181 from berak:java_print_blob
2019-07-30 14:13:02 +00:00
berak
4d3989817c
java: fix Mat.toString() for higher dimensions
2019-07-29 19:39:09 +02:00
Dmitry Kurtaev
f9f160404a
Add support for slice from ONNX with multiple outputs
2019-07-28 21:20:25 +03:00
TheGoddessInari
4e998c9ade
Make sure to use defined(__GNUC__) instead of bare __GNUC__ in flann2 header.
...
This fixes a compiler error on MSVC with Unreal Engine (at least).
2019-07-28 10:21:15 -07:00
Dmitry Kurtaev
ebaefbb745
Remove VGG16 from ONNX test because there is VGG16_bn
2019-07-27 23:04:25 +03:00
Dmitry Kurtaev
47c5ee5d9c
Fixes for OpenCV face detection network
2019-07-27 17:25:09 +02:00
Dmitry Kurtaev
77d4e3e8d2
Fix 2019R2 tests
2019-07-27 13:30:15 +03:00
Dmitry Kurtaev
a0c3bb70a9
Modify SSD from TensorFlow graph generation script to enable MyriadX
2019-07-26 13:57:08 +03:00
Alexander Alekhin
3debb98805
Merge tag '4.1.1'
2019-07-26 03:34:59 +00:00
Alexander Alekhin
ddbd10c001
release: OpenCV 4.1.1
...
OpenCV 4.1.1
2019-07-26 03:24:45 +00:00
Alexander Alekhin
0cf479dd5c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-25 19:21:47 +00:00
Alexander Alekhin
2693ed9b22
Merge tag '3.4.7'
2019-07-25 19:19:49 +00:00
Alexander Alekhin
4a7ca5a291
OpenCV version++ (3.4.7)
...
OpenCV 3.4.7
2019-07-25 19:01:19 +00:00
Alexander Alekhin
7295983964
Merge pull request #15139 from alalek:openvino_2019R2
2019-07-25 18:59:56 +00:00
Alexander Alekhin
39a6889767
Merge pull request #15118 from dkurt:fix_15106
2019-07-25 18:56:32 +00:00
Chip Kerchner
0db4fb1835
Merge pull request #15136 from ChipKerchner:dotProd_unroll
...
* Unroll multiply and add instructions in dotProd_32f - 35% faster.
* Eliminate unnecessary v_reduce_sum instructions.
2019-07-25 21:21:32 +03:00
Dmitry Kurtaev
a2125594ea
Fix false positives of face detection network for large faces
2019-07-25 20:09:59 +03:00
Alexander Alekhin
1f736a95a7
Merge pull request #15131 from paroj:web
2019-07-25 16:25:57 +00:00
Alexander Alekhin
416c693b3f
dnn(test): OpenVINO 2019R2
2019-07-25 19:01:16 +03:00
Alexander Alekhin
321c74ccd6
objdetect: validate feature rectangle on reading
2019-07-25 18:58:53 +03:00
Alexander Alekhin
5691d998ea
core(persistence): added null ptr checks
2019-07-25 15:14:22 +03:00
Alexander Alekhin
6158bd2afa
Merge pull request #15103 from alalek:simd_intrinsics_in_user_code
2019-07-25 11:36:36 +00:00
Alexander Alekhin
d2911a8d41
dnn: use OpenVINO 2019R2 defines
2019-07-24 21:37:03 +00:00
Andrey Golubev
b10ec8ef8b
Merge pull request #14985 from andrey-golubev:gapi_fix_ocl_umat
...
* G-API: fix GOCLExecutable issue with UMat lifetime
Add tests on initialized/uninitialized outputs for all
backends
* Use proper clean-up procedure for magazine
* Rename InitOut test and reduce tested sizes
* Enable output allocation test
2019-07-24 23:36:18 +03:00
Alexey Smirnov
8313209704
Merge pull request #14952 from smirnov-alexey:gapi_transform_macro_rework
...
G-API: GAPI_TRANSFORM internal functionality rework (#14952 )
* Change internal pattern and substitute signatures and refactor tests
* Enhance GArrayU with type-checker function
Add a couple of new tests on GAPI_TRANSFORM
2019-07-24 23:29:52 +03:00
Alexander Alekhin
89f23a35c5
Merge pull request #15091 from anton-potapov:fluid_internal_parallellism_custom_pfor
2019-07-24 20:28:48 +00:00
Hugo Lindström
2ee00e7f7d
Merge pull request #15059 from hugolm84:improved-support-for-wince
...
* Improve support for Windows Embedded Compact
* Remove redundant set(WINCE true) and format CMake
2019-07-24 23:12:09 +03:00
Pavel Rojtberg
293729f48a
js: whitelist some more functions (calib3d , aruco)
2019-07-23 11:57:59 +02:00
Alexander Alekhin
79310a0051
Merge pull request #15105 from komakai:camera_permissions
2019-07-22 17:47:54 +00:00
Alexander Alekhin
426482e05b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-21 18:06:04 +00:00
Alexander Alekhin
ad092bf1ce
Merge pull request #15107 from dkurt:js_features2d_drawings
2019-07-21 17:57:19 +00:00
Alexander Alekhin
557990fdcf
Merge pull request #15104 from alalek:videoio_fix_debug_message
2019-07-21 17:56:41 +00:00
Dmitry Kurtaev
a66a1a24d7
Fix drawKeypoints and drawMatches for JS
2019-07-20 23:47:26 +03:00
Alexander Alekhin
099f4f9e7c
Merge pull request #15093 from tomoaki0705:fixCudaLegacyRansac
2019-07-20 08:07:14 +00:00
Giles Payne
2734291b35
Add CameraActivity utility class to automate Camera permission request handling
2019-07-20 13:40:10 +09:00
Alexander Alekhin
8bac8b513c
core: support SIMD intrinsics in user code
2019-07-19 20:33:32 +00:00
Lubov Batanina
781f4d439e
Merge pull request #15032 from l-bat:reduce_mean
...
* Added support for the ONNX "ReduceMean" Layer. (as this is the same as the GlobalAveragePool)
* Add ReduceMean test
* Fix ONNX importer
* Fix ReduceMean
* Add assert
* Split test
* Fix split test
2019-07-19 19:18:34 +03:00
John Smith
95c65aff75
Fix cv::selectROI rectangle rendering issue
2019-07-19 14:07:09 +02:00
Alexander Alekhin
61f589ddd0
videoio(gstreamer): more .get() checks
2019-07-19 13:16:58 +03:00
Alexander Alekhin
3361c59576
Merge pull request #15084 from lpea:calib3d_doc_fix
2019-07-19 10:11:35 +00:00
Anton Potapov
8936d55675
Fluid Internal Parallelism
...
- added ability to use custom implementation of "parallel for" function
2019-07-19 11:56:57 +03:00
Tomoaki Teshima
c6de84d868
cudalegacy: fix test failure of SolvePnPRansac
...
* use SOLVE_EPNP for the initial guess
2019-07-19 17:50:00 +09:00
Alexander Alekhin
228af2d617
videoio: fix debug message
2019-07-18 21:45:07 +00:00
Alexander Alekhin
199ddff13b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-18 20:25:25 +00:00
Alexander Alekhin
985e5014bc
Merge pull request #15058 from alalek:core_fix_base64_packed_struct_master
2019-07-18 19:09:08 +00:00
Alexander Alekhin
002904e445
Merge pull request #15050 from alalek:core_fix_base64_packed_struct
2019-07-18 19:07:06 +00:00
Vitaly Tuzov
e0f8bb83a6
Merge pull request #14994 from terfendail:wintr_undistort
...
WUI based implementation to initUndistortRectifyMap (#14994 )
* Add initUndistortRectifyMap performance test
* Move cv namespace boundaries
* Add wide universal intrinsics based implementation to initUndistortRectifyMap
* Dispatch undistort
2019-07-18 19:32:51 +03:00
Lubov Batanina
12fdaf895e
Merge pull request #15057 from l-bat:fix_vizualizer
...
* Fix dumpToFile
* Add test
* Fix test
2019-07-18 18:41:08 +03:00
Alexander Alekhin
e7bb0ecee0
gapi: fix build with unique_ptr
...
avoid generation of copy ctors with unique_ptr members
2019-07-18 14:08:42 +03:00
Guillaume Jacob
4a28ef8034
calib3d: fix format in findChessboardCornersSB doxygen
2019-07-18 10:04:47 +02:00
Liubov Batanina
0d2bc7b5fd
Fix TF Split layer
2019-07-17 15:50:50 +03:00
AsyaPronina
add1df4bcb
Fixed issue happened during merge
2019-07-16 20:47:34 +03:00
Alexander Alekhin
65d148d9a8
Merge pull request #15024 from alalek:android_stl_cxx_shared
2019-07-16 17:10:04 +00:00
Andrey Golubev
c9bd43c0f6
Merge pull request #14945 from andrey-golubev:delete_bool
...
G-API: clean up accuracy tests (#14945 )
* Delete createOutputMatrices flag
Update the way compile args function is created
Fix instantiation suffix print function
* Update comment (NB)
* Make printable comparison functions
* Use defines instead of objects for compile args
* Remove custom printers, use operator<< overload
* Remove SAME_TYPE and use -1 instead
* Delete createOutputMatrices flag in new tests
* Fix GetParam() printed values
* Update Resize tests: use CompareF object
* Address code review feedback
* Add default cases for operator<< overloads
* change throw to GAPI_Assert
2019-07-16 19:04:18 +03:00
Andrey Golubev
c11423df1e
Merge pull request #15012 from andrey-golubev:test_output
...
G-API: Add output allocation tests for backends (#15012 )
* Add output tests for backends
* Fix large size test: output is in fact reallocated
* Use cv::Mat copies for reallocation tracking
* Separate LargeSizeWithCorrectSubmatrix test
* Rename backed output allocation tests
* Address code review feedback
Update test names
Add illustrative "expect (non-)empty" checks
Rename mat "copy" to mat reference
Add more pointer checks
* Add illustrative checks
2019-07-16 19:01:45 +03:00
Alexander Alekhin
e4e0bb533d
Merge pull request #15052 from alalek:dnn_fix_required_data
2019-07-16 16:00:33 +00:00
Andrey Golubev
e629785a97
Merge pull request #15021 from andrey-golubev:gapi_fix_standalone_exports
...
* Fix G-API export specifier in standalone build
* Make dummy GAPI_EXPORTS in case of non-OpenCV builds
* Add old version under #if 0
2019-07-16 18:53:51 +03:00
Alexander Alekhin
3a2a74b655
Merge pull request #14968 from anton-potapov:fluid_internal_parallellism
2019-07-16 14:22:06 +00:00
Alexander Alekhin
f5e01f7b49
Merge pull request #15037 from hugolm84:noop-noexcept-for-vs13
2019-07-16 13:28:15 +00:00
Chip Kerchner
c9fcc12e3b
Merge pull request #15048 from ChipKerchner:reduceStoreGatheringThreshold
...
* Reduce store gathering pressures - speeds thresholds by up to 20%
* Rename temporary histogram array and initialize so that MACOSX builder is happy
2019-07-16 16:10:49 +03:00
Anton Potapov
97e88bd769
Fluid Internal Parallelism
...
- Added new graph compile time argument to specify multiple independent
ROIs (Tiles)
- Added new "executable" with serial loop other user specified
ROIs(Tiles)
- refactored graph traversal code into separate function to be called
once
- added saturate cast to Fluid AddCsimple test kernel
2019-07-16 16:09:14 +03:00
Alexander Alekhin
d4501f08b8
core(persistence): disable base64 tests due missing encoders
2019-07-16 15:37:58 +03:00
Alexander Alekhin
2df7736562
Merge branch 'core_fix_base64_packed_struct'
2019-07-16 15:35:43 +03:00
Alexander Alekhin
4ea8526e9f
core(persistence): fix writeRaw() / readRaw() struct support
...
- writeRaw(): support structs
- readRaw(): 'len' is buffer limit in bytes (documentation is fixed)
2019-07-16 14:03:39 +03:00
Alexander Alekhin
ee1de8f30d
Merge pull request #15053 from SciMad:fix-error-message
2019-07-16 09:55:06 +00:00
Alexander Alekhin
5ccb2a4cbd
dnn(test): fix required data
2019-07-16 07:53:50 +00:00
Madhav
bee510dbce
Fix error message on invalid seam finder parameter
2019-07-16 13:27:04 +05:45
Alexander Alekhin
c3b838b738
core(persistence): struct storage layout without alignment gaps
2019-07-15 21:37:20 +00:00
Alexander Alekhin
95415ac3a5
android: change ANDROID_STL='c++_shared'
...
- fixes crashes in face-detector application
- libc++_shared.so is bundled automatically via CMake helper project
2019-07-12 18:58:02 +00:00
Alexander Alekhin
f6c573880e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-12 18:45:06 +00:00
Alexander Alekhin
054c796213
Merge pull request #15026 from terfendail:gaussian_fix
2019-07-12 18:31:09 +00:00
Hugo Lindström
245c256b1c
Support compiliation for <=VS13
2019-07-12 19:02:36 +02:00
Alexander Alekhin
6aa07cdc7e
Merge pull request #15025 from alalek:issue_14281
2019-07-12 15:28:44 +00:00
Vitaly Tuzov
894ad33bf4
Fix pixel value evaluation overflow in bit-exact GaussianBlur implementation
2019-07-12 18:11:51 +03:00
Lubov Batanina
34f6b05467
Merge pull request #14996 from l-bat:ocv_deconv3d
...
* Support Deconvolution3D on IE backend
* Add test tag
* Fix tests
2019-07-12 15:51:44 +03:00
Alexander Alekhin
32c6e58bdb
imgproc: fix unaligned memory access
...
may cause crashes on ARM platform
2019-07-11 20:49:47 +00:00
Lubov Batanina
8bcd7e122a
Merge pull request #14842 from l-bat:ocv_conv3d
...
* Support Conv3D on OCV backend
* Add header
* Add perf tests
* Support pool3d
* Enable Resnet34_kinetics on OCV backend
* Add test
* Fix conv
* Optimize Conv2D
2019-07-11 20:13:52 +03:00
Alexander Alekhin
f663e8f903
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-09 19:57:57 +00:00
Alexander Alekhin
3c086fb2fe
Merge pull request #15001 from antmicro:v4l2-y10-support
2019-07-09 14:34:11 +00:00
Tomasz Gorochowik
4997a6bf06
V4L2: Add V4L2_PIX_FMT_Y10 (10 bit grey) support
2019-07-09 14:36:00 +02:00
Maksim Shabunin
2a9521661e
Fixed video writer filename check for plugins
2019-07-09 14:16:49 +03:00
Alexander Alekhin
eedbd1ad59
imgcodecs: force reshaping of imdecode() input into a single row
...
OpenCV upstream stuff may reinterpret vector as column.
2019-07-06 10:11:29 +00:00
Alexander Alekhin
7589225fc0
Merge pull request #14981 from alalek:android_camera_use_calc_frame_size_method
2019-07-06 08:20:20 +00:00
Alexander Alekhin
39a975cb29
Merge pull request #14983 from tomoaki0705:fixOclCvtColorMRGBA
2019-07-05 09:31:08 +00:00
Tomoaki Teshima
594a95839c
fix test failure of OCL_ImgProc/CvtColor8u.mRGBA2RGBA
2019-07-05 11:22:22 +09:00
Alexander Alekhin
3998b41d68
android: JavaCamera2View use calculateCameraFrameSize() method
...
from CameraBridgeViewBase (common base with JavaCameraView)
2019-07-04 21:43:09 +00:00
Diego
57fae4a6a1
Merge pull request #14858 from dvd42:instancenorm_onnx
...
Instancenorm onnx (#14858 )
* Onnx unsupported operation handling
* instance norm implementation
* Revert "Onnx unsupported operation handling"
* instance norm layer test
* onnx instancenorm layer
2019-07-04 21:15:04 +03:00
Alexander Alekhin
43eba3d750
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-04 18:44:13 +03:00
Ruslan Garnov
ad49138fae
Merge pull request #14917 from rgarnov:gapi_planar_kernels
...
G-API planar kernels (#14917 )
* Added resizeP with tests
* NV12 planar filters
* fix warnings in ResizeP test
* fix out mat ocv warning
* sz_on - > sz rename
* cpu tests new signature
* try to fix resizeP test
* trailing spaces remove
* doxygen doc fixed
* doxygen minor fix
* more doxygen fixes
* Doxygen corrected and extended after review.
2019-07-04 18:19:09 +03:00
Alexander Alekhin
3200fe0e53
Merge pull request #14970 from terfendail:undistort_avx2_fix
2019-07-04 14:01:27 +00:00
Vitaly Tuzov
82e5b961d3
Fixed initUndistortRectifyMap AVX2 implementation
2019-07-04 15:49:33 +03:00
Alexander Alekhin
e00b0f6f47
Merge pull request #14860 from vonchenplus:ocv_maxpoolgrad
2019-07-04 09:57:14 +03:00
Diego
6dfe2ddc21
Merge pull request #14959 from dvd42:onnx_clip
...
* onnx clip operation
2019-07-04 08:56:00 +03:00
Alexander Alekhin
fee87c5fdb
Merge pull request #14975 from alalek:clang_suppress_warnings
2019-07-03 22:33:26 +00:00
Alexander Alekhin
07fe1cd6b8
videoio: eliminate build warnings (clang)
2019-07-03 21:57:05 +00:00
Alexander Alekhin
bc95c609ff
ts: runtime check for misused 'optional' test data files
2019-07-03 20:07:44 +03:00
gal0is
206b546e5a
tensroflow support maxpoolgrad
2019-07-03 09:53:17 +08:00
Alexander Alekhin
097d81363b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-07-02 21:17:45 +00:00
Alexander Alekhin
2370079220
Merge pull request #14954 from rafagjordana:fix_blob_detection_insertion_sort
2019-07-02 21:14:02 +00:00
Rafa Gomez-Jordana
9a24886282
Fix blob detector insertion sort
2019-07-02 19:54:27 +00:00
arnaudbrejeon
a37201abee
Fix crash, add assert and test
2019-07-02 09:56:31 -07:00
Andrey Golubev
2bf8793632
Merge pull request #14946 from andrey-golubev:obj_not_ref
...
G-API: Use object instead of reference in extended lifetime case (#14946 )
* Use object instead of reference
* Make the object const
2019-07-02 19:03:45 +03:00
Alexander Alekhin
69560588fe
Merge pull request #14953 from alalek:core_static_analysis_eval_expr
2019-07-02 09:44:29 +00:00
armenpoghosov
edf2cbd5f7
Merge pull request #14828 from armenpoghosov:parmen_RANSACPointSetRegistrator_getSubset_disaster_cleanup
...
Parmen ransac point set registrator get subset disaster cleanup (#14828 )
2019-07-01 21:57:28 +03:00
Alexander Alekhin
6dea8309c5
Merge pull request #14880 from dkurt:dnn_ie_tests
2019-07-01 16:58:57 +00:00
Vitaly Tuzov
9befb7a1d7
Merge pull request #14916 from terfendail:wsignmask_deprecated
...
* Avoid using v_signmask universal intrinsic and mark it as deprecated
* Renamed v_find_negative to v_scan_forward
2019-07-01 19:53:51 +03:00
Alexander Alekhin
44836c7f78
core: evaluate CV_Error() parameters during static scans
2019-07-01 18:17:03 +03:00
Alexander Alekhin
65552bf403
dnn: fix build with Vulkan
2019-07-01 17:54:40 +03:00
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>
2019-06-30 19:04:25 +03:00
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>
2019-06-29 22:11:00 +02:00
Alexander Alekhin
6fdce865b8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-29 17:27:48 +00:00
Alexander Alekhin
453466eb1a
Merge pull request #14885 from anton-potapov:common_flow_explanatory_test_cases
2019-06-28 16:52:03 +00:00
Alexander Alekhin
49805f976a
Merge pull request #14923 from andrey-golubev:imgproc_tests_update_clean
2019-06-28 16:01:32 +00:00
Andrey Golubev
1666195984
Merge pull request #14922 from andrey-golubev:operators_tests_update_clean
...
G-API: Align operators tests to new test model (#14922 )
* Align operators tests to new test model
* Change init function in NotOperatorTest
2019-06-28 17:59:52 +03:00
Anton Potapov
3d345ca4c4
Async API for GAPI
...
- explanatory test cases for common usage models
2019-06-28 17:40:00 +03:00
atalaman
8dd596b7ba
Merge pull request #14892 from TolyaTalamanov:at/parameterized-render-tests
...
G-API: Parameterized render tests (#14892 )
* Init commit
* Add mat size as test parameter
* Add test for text render
* Add test for rect render
* Add tests for line and circle
* Remove old render tests
* Init output mats
* Remove methods input arguments
* Add comment about data loss in BGR2NV12 conversion
* Add edge test cases
* Replace default color for out mats black -> white
2019-06-28 17:11:03 +03:00
Dmitry Kurtaev
75f4c1abf2
Enable some tests for Inference Engine backend
2019-06-28 15:52:31 +03:00
Andrey Golubev
719912e46e
Align imgproc tests to new model
2019-06-28 14:31:50 +03:00
Andrey Golubev
75c567b6ab
Merge pull request #14757 from andrey-golubev:core_tests_update
...
G-API: Introduce new approach to write accuracy tests (#14757 )
* G-API: Introduce new common accuracy test fixture
* Enable Range<> to Seq<> implicit conversion
* Fix shadowing parameters
* Update license headers
* Rename ALIGNED_TYPE to SAME_TYPE
* Move MkRange to tests
* Fix TODO(agolubev) in test instantiations
* Squash simple fixture declarations in one line
* Remove unused line
* Fix Windows issues with macro expansion
* Choose between 1 or 2 matrix initialization
* Redesign common class behavior
Use "views" for GetParam() provided by GTest
base class instead of doing segregation
(with copy!) of common and specific parameters:
request common or specific parameter directly
by index from GetParam()-returned parameters
* Refine user-level API and usage of new test model
* Fix -fpermissive errors
* Remove unnecessary init calls
* Replace GCompileArgs member variable with func ptr
* Rename initMatsRandN to make its behavior explicit
Rename initMatsRandN to initMatrixRandN to eliminate confusion:
initMatsRandN only initialized first matrix (similarly to
initMatrixRandU)
* Fix common of initNothing
* Update copyright dates in missed files
* Add check for specific parameters
* Fix coment stlye
2019-06-28 13:07:41 +03:00
Alexander Alekhin
a743de0e24
dnn: adjust compilation options
2019-06-27 17:37:31 +03:00
Alexander Alekhin
c531e275cc
Merge pull request #14914 from Nuzhny007:3.4
2019-06-27 14:22:15 +00:00
Alexander Alekhin
e59c6caee5
Merge pull request #14905 from savuor:fix/inst_region_unique
2019-06-27 10:16:59 +00:00
Nuzhny007
031e57b359
Fixed names conflict with dldt
2019-06-27 13:13:48 +03:00
Dmitry Kurtaev
96a2f80bf2
Limit number of threads in CPU plugin of IE by OpenCV's getNumThreads
2019-06-27 12:09:00 +03:00
Rostislav Vasilikhin
f2f600f807
fixed multi instrumentations
2019-06-27 01:17:26 +03:00
Alexander Alekhin
b95e93c20a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-26 20:19:04 +00:00
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
2019-06-26 23:04:26 +03:00
Alexander Alekhin
c251915198
Merge pull request #14895 from alalek:dnn_ie_extensions_path
2019-06-26 20:03:57 +00:00
Alexander Alekhin
4112866821
Merge pull request #14886 from alalek:fix_grabcut_kmeans_call_14879
2019-06-26 20:03:04 +00:00
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
2019-06-26 19:35:11 +03:00
Alexander Alekhin
2172544bb7
Merge pull request #14890 from alalek:dnn_consistent_protobuf_readers
2019-06-26 14:13:03 +00:00
Alexander Alekhin
df7049d465
Merge pull request #14889 from alalek:issue_14863
2019-06-26 14:10:14 +00:00
Alexander Alekhin
01a41d86bc
Merge pull request #14775 from cudawarped:master
2019-06-26 13:35:21 +00:00
Alexander Alekhin
0a461e7922
Merge pull request #13252 from take1014:filter2d_13179
2019-06-26 13:34:10 +00:00
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.
2019-06-26 12:32:20 +03:00
Alexander Alekhin
333e51b217
dnn: configure plugin path for InferenceEngine
2019-06-26 06:41:01 +00:00
Alexander Alekhin
44d146af9a
Merge pull request #14814 from alalek:dnn_skip_test_tags
2019-06-25 22:00:25 +00:00
Alexander Alekhin
f3e9eb3371
dnn: both protobuf readers have similar behavior
...
- ReadProtoFromTextFile
- ReadProtoFromTextBuffer
2019-06-25 18:03:04 +03:00
Alexander Alekhin
63e4b35c19
Merge pull request #14849 from thangktran:thangktran/feature/fillPoly_and_fillConvexPoly_js_binding
2019-06-25 15:01:12 +00:00
Alexander Alekhin
e8a703a71d
core(intrin): v_load_low() workaround for aarch64+clang
2019-06-25 17:29:04 +03:00
Alexander Alekhin
4a6888ccf6
imgproc: fix kmeans() call from grabCut()
2019-06-25 13:42:04 +03:00
Alexander Alekhin
b58b2c5ae8
Merge pull request #14878 from JoeHowse:4.1.0-patches
2019-06-24 18:29:30 +00:00
atalaman
de60600126
Merge pull request #14820 from TolyaTalamanov:at/circle_and_line
...
G-API: Implement line and circle draw operations (#14820 )
* Implement line and circle draw operations
* Fix comments to review
2019-06-24 17:37:32 +03:00
Maksim Shabunin
46205a7235
videoio: fix GStreamer plugin build
2019-06-24 13:56:43 +03:00
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
2019-06-24 12:27:42 +03:00
Alexander Alekhin
894f208de3
dnn(test): replace SkipTestException with tags
2019-06-23 13:12:23 +00:00
Alexander Alekhin
f8c96cb18a
Merge pull request #14847 from alalek:dnn_fix_test_data_searching
2019-06-23 12:42:27 +00:00
Alexander Alekhin
e72f451173
Merge pull request #14305 from cameron-martin:calib3d-js
2019-06-22 16:43:40 +00:00
Lubov Batanina
16294437d5
Merge pull request #14833 from l-bat:ocv_eltwise3d
...
* Support Eltwise3d
* Refactoring
* Fix test
2019-06-22 10:13:28 +03:00
Alexander Alekhin
442bc80cd7
pre: OpenCV 4.1.1 (version++)
2019-06-21 19:18:50 +03:00
Alexander Alekhin
f84b08ff08
dnn: bump API version
2019-06-21 19:18:23 +03:00
Alexander Alekhin
f33f88de31
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-21 17:27:14 +03:00
Alexander Alekhin
779f59da6b
pre: OpenCV 3.4.7 (version++)
2019-06-21 16:57:17 +03:00
Alexander Alekhin
f5ddaef46b
experimental version++
2019-06-21 16:57:17 +03:00
Alexander Alekhin
aa6c66aa54
Merge pull request #14848 from alalek:build_warnings_avx512
2019-06-21 13:53:52 +00:00
Alexander Alekhin
e69ff71302
Merge pull request #14846 from alalek:videoio_gstreamer_issues_master
2019-06-21 13:51:22 +00:00
Alexander Alekhin
6b32bd5f15
Merge pull request #14834 from alalek:videoio_gstreamer_issues
2019-06-21 13:38:34 +00:00
Alexander Alekhin
2b2633c11f
videoio(gstreamer): port changes from 14834
2019-06-21 14:42:58 +03:00
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.
2019-06-21 13:13:53 +03:00
Thang Tran
2a67375239
js: added fillPoly() and fillConvexPoly()
2019-06-20 19:56:23 +02:00
Alexander Alekhin
5ac55fc132
core: eliminate AVX512 build warnings
...
from MSVS2017 and GCC8 -O1 mode
2019-06-20 20:00:09 +03:00
Joe Howse
729848caeb
core: revise syntax to support Visual C++ 2013
2019-06-20 13:57:17 -03:00
Alexander Alekhin
13a782c039
test: fix usage of findDataFile()
...
misused 'optional' mode
2019-06-20 18:20:14 +03:00
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)
2019-06-20 17:48:18 +03:00
Alexander Alekhin
ab24325df3
videoio(test): avoid raw ptr in ffmpeg tests
...
causes leaks if FFmpeg is disabled through OPENCV_VIDEOIO_PRIORITY_FFMPEG=0
2019-06-20 17:48:18 +03:00
Alexander Alekhin
681e0323f2
core: backport toLowerCase()/toUpperCase()
2019-06-20 17:48:18 +03:00
Alexander Alekhin
baf372ad3d
videoio(test): add extra videoio tests
2019-06-20 17:48:18 +03:00
Alexander Alekhin
9cb239247d
Merge pull request #14689 from anton-potapov:gapi_async_cacnel
2019-06-20 13:48:05 +00:00
Ruslan Garnov
7c0a9ff4c1
Added overload of contains<> for tuple
2019-06-20 14:40:14 +03:00
Alexander Alekhin
95d9cfb5c3
static analysis issues
2019-06-20 13:55:20 +03:00
Anton Potapov
8d75bfae47
Cancelation support fo Async GAPI
...
-
2019-06-19 13:41:39 +03:00
Alexander Alekhin
1d2ef6b2a1
Merge pull request #14774 from alalek:videoio_ffmpeg_plugin_win32
2019-06-17 14:47:48 +00:00
Alexey Smirnov
7f9a9f2a09
Merge pull request #14648 from smirnov-alexey:as/gapi_transform
...
* Introduce GAPI_TRANSFORM initial interface
Comes along with simple tests and kernel package changes
* Fix documentation and adjust combine() function
* Fix stuff after rebasing on master
* Remove redundant functionality
* Refactoring according to review feedback provided
* Fixes according to review feedback
* Reconsider transformations return and fix a warning
* Fixes from code review
* Add a new simple test
* Cleanup, added tests on GScalar, GMatP, GArray
2019-06-17 16:26:28 +03:00
Alexander Alekhin
26dfa5e77c
ffmpeg: win32 wrapper update
2019-06-16 16:20:40 +00:00
Alexander Alekhin
7b099e0fe2
videoio: plugins support on Win32
2019-06-16 15:25:25 +00:00
gal0is
bb7dc5f992
Solve the import issue in Python2.
2019-06-16 06:10:00 +08:00
Alexander Alekhin
66d7956e67
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-15 16:25:11 +00:00
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
2019-06-14 22:57:21 +03:00
Alexander Alekhin
8ca4252303
Merge pull request #14583 from FanaticsKang:fix_undistortPoint_bug
2019-06-14 18:30:26 +00:00
Ruslan Garnov
3df83dce7e
Merge pull request #14741 from rgarnov:gapi_fix_includes
...
Changed quotes to brackets when including public includes (#14741 )
2019-06-14 19:27:19 +03:00
Kang
549c53121a
fix the bug, when k[4] is negative, icdist may be negative at the edge of image.
2019-06-14 19:00:36 +03:00
Dmitry Kurtaev
dfdc91f8c9
dnn: fix MVN layer (issue 14683)
2019-06-14 18:38:05 +03:00
atalaman
d3c0f4ef98
Merge pull request #14700 from TolyaTalamanov:at/cv_gapi_render
...
G-API: Render (#14700 )
* cv::Render
Implement OCVRedner for BGR as input
* Support two plane cv::Render::run
* Snapshot
* Add RenderCreator
* text2Points
* Snapshot
* Refactoring tests
* Remove text2points
* Fix render input data type in tests
* Refactoring
* Fix headers
* Change struct fields name
* Fix headers
* Fix warnings
* Replace cv::Scalar -> cv::gapi::own::Scalar
* Add test
* PutText and rectangle case
* Fix comments to review
* Fix comments to review
* Fix comments to review
* Create render_priv.hpp
* Implement BGR2NV12
* Fix NV12 test
* Fix comments to review
* Add header for GAPI_Assert
2019-06-14 18:29:49 +03:00
Dmitry Kurtaev
eba696a41e
Merge pull request #14792 from dkurt:dnn_ie_min_version_r5
...
* Remove Inference Engine 2018R3 and 2018R4
* Fix 2018R5
2019-06-14 18:17:02 +03:00
Alexander Alekhin
54a14c877c
Merge pull request #14794 from terfendail:wui512_interleavenames
2019-06-14 14:20:34 +00:00
Alexander Alekhin
cf9bddcb89
Merge pull request #14805 from alalek:fix_valgrind_issues
2019-06-14 14:15:01 +00:00
Alexander Alekhin
3af1b6ecdc
valgrind: fix issues
2019-06-14 14:31:38 +03:00
Vitaly Tuzov
a29e59a770
Rename parameters in AVX512 implementation of v_load_deinterleave and v_store_interleave
2019-06-14 14:16:30 +03:00
Maksim Shabunin
ae31115017
Improved MediaSDK detection mechanism
2019-06-14 12:37:49 +03:00
Alexander Alekhin
f9eab2de5e
Merge pull request #14673 from janstarzy:hidden-vis-with-java7
2019-06-13 17:59:39 +00:00
Jan Starzynski
e9ed7eb68d
make -fvisibility=hidden work with java 1.7
2019-06-13 17:39:10 +02:00
Maksim Shabunin
5015829ce8
Fixed plugin installation location on Windows
2019-06-13 16:06:06 +03:00
Alexander Alekhin
81fad9e247
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-11 20:43:40 +00:00
Alexander Alekhin
1c661e7548
Merge pull request #14784 from alalek:backport_14779
2019-06-11 20:36:16 +00:00
Alexander Alekhin
a457fbdb58
Merge pull request #14783 from alalek:backport_14777
2019-06-11 20:12:01 +00:00
Alexander Alekhin
e7dbc4ff28
Merge pull request #14782 from alalek:core_fix_log_level_default
2019-06-11 20:11:32 +00:00
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
2019-06-11 23:07:39 +03:00
Alexander Alekhin
f8791f072d
core: avoid function type cast, make happy UBSAN
...
backporting of commit: d3d13c41c4
2019-06-11 19:36:47 +00:00
Alexander Alekhin
db7f689728
imgcodecs(tiff): add more checks
...
backporting of commit: f6230ae019
2019-06-11 19:22:24 +00:00
Alexander Alekhin
b4d3ff378e
Merge pull request #14720 from rgarnov:gapi_remove_lut3d
2019-06-11 16:24:54 +00:00
Alexander Alekhin
6c8ffe81d0
core: repair default log level
2019-06-11 19:19:10 +03:00
Maksim Shabunin
d60ac98ef2
Limited API support for Python3
2019-06-11 15:20:43 +03:00
Maksim Shabunin
10d61a2b44
Limited API support for Python3
2019-06-11 15:15:49 +03:00
Alexander Alekhin
3f67623c26
Merge pull request #14779 from alalek:oss_fuzz_14115
2019-06-11 11:35:28 +00:00
Alexander Alekhin
d3d13c41c4
core: avoid function type cast, make happy UBSAN
...
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14115
2019-06-11 07:06:29 +00:00
Alexander Alekhin
f6230ae019
imgcodecs(tiff): add more checks
...
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15154
2019-06-10 21:00:20 +00:00
Alexander Alekhin
11b020b9f9
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-10 19:05:28 +00:00
Maksim Shabunin
f99f58d99f
Allow setting IS_PART_OF_WORLD in command line, fix videoio plugin linking
2019-06-10 14:13:54 +03:00
atalaman
1aefa6779f
Merge pull request #14513 from TolyaTalamanov:at/color-convert-kernels
...
G-API: Implement color-convert kernels (#14513 )
* Implement color-convert kernels
* Fix rgb2yuv422 reference version
* Fix comments to review
* Restore NV12toBGR in imgproc.hpp
* Add accuracy tests
* Fix doxygen
* Fix ref version yuv422
* Fix warnings
* Fix typos
* Fix simd version yuv422
* Fix warnings
* Fix compile error
* Fix warning
* Remove comment
2019-06-10 14:09:30 +03:00
Alexander Alekhin
d2f9cfcf81
Merge pull request #14760 from ChipKerchner:3.4
2019-06-09 17:43:02 +00:00
Alexander Alekhin
52644f067e
Merge pull request #14764 from alalek:core_intrin_drop_hasSIMD_checks
2019-06-09 17:11:45 +00:00
Alexander Alekhin
417ac94456
Merge pull request #14767 from alalek:imgcodecs_test_exr
2019-06-08 22:44:37 +00:00
Alexander Alekhin
02bfd20760
imgcodecs(test): add OpenEXR I/O test
2019-06-08 21:30:26 +00:00
Alexander Alekhin
6d916c5bb4
Merge pull request #14440 from alalek:async_array
2019-06-08 20:57:15 +00:00
Alexander Alekhin
1e9ad5476d
core(intrin): drop hasSIMD128 checks
...
- use compile-time checks instead (`#if CV_SIMD128`)
- runtime checks are useless
2019-06-08 19:20:20 +00:00
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
2019-06-08 16:52:40 +03:00
Chip Kerchner Chip.Kerchner@ibm.com
058367f34c
Rewrite code in BGR2Gray functions so that auto vectorizer does a better job.
2019-06-07 11:48:05 -05:00
Alexander Alekhin
ddcf388270
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-07 19:02:55 +03:00
Alexander Alekhin
60fb1fde75
java: wrap StringIO() to support unicode strings
2019-06-07 17:05:58 +03:00
Alexander Alekhin
00367289bd
Merge pull request #14754 from allnes:java_qr_code
2019-06-07 12:49:25 +00:00
Alexander Nesterov
a9769b9202
Remove check and added binding tests
2019-06-07 14:53:40 +00:00
Alexander Alekhin
f5ca9d3fe1
python: visibility
2019-06-07 07:23:15 +00:00
Alexander Alekhin
4a8fd71a2e
core: fix visibility handling
2019-06-07 07:23:15 +00:00
Alexander Alekhin
5c05b7bc01
Merge pull request #14749 from alalek:fix_android_javadoc
2019-06-06 21:07:23 +00:00
Alexander Alekhin
c6deba6003
android: fix javadoc
2019-06-06 20:22:42 +00:00
Alexander Alekhin
08019732e2
Merge pull request #14729 from arnaudbrejeon:bug_fix_14722
2019-06-06 19:44:06 +00:00
Alexander Alekhin
aab9ef4290
Merge pull request #14667 from asashour:javadoc
2019-06-06 10:57:39 +00:00
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
2019-06-06 13:05:41 +03:00
Alexander Alekhin
94ec0e9b74
Merge pull request #14724 from asashour:typos
2019-06-06 10:01:03 +00:00
arnaudbrejeon
e8e020ffb7
Add test
2019-06-05 09:15:18 -07:00
arnaudbrejeon
e9b8571afc
Fix bug
2019-06-05 09:15:04 -07:00
Alexander Alekhin
f3de2b4be7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-06-05 19:11:52 +03:00
Alexander Alekhin
51631b90af
Merge pull request #14726 from alalek:backport_14716
2019-06-05 15:54:46 +00:00
Alexander Alekhin
a2445c44cb
imgcodecs: sanitize PAM decoding
...
backporting of commit: 76fca0e755
2019-06-05 18:12:43 +03:00
Ahmed Ashour
5c56b8ce92
java: generated code to have javadoc
2019-06-05 12:44:03 +02:00
Ahmed Ashour
1aca1d582e
Fix some typos
2019-06-05 12:24:13 +02:00
Lubov Batanina
3efd2df87f
Merge pull request #14682 from l-bat:axpy_layer
...
* Add Axpy layer
* Fix test
* fix caffe importer
2019-06-05 00:18:06 +03:00
Ted Steiner
f1fb002682
Merge pull request #14678 from tedsteiner:qnx
...
Fix build issue on QNX platform (#14678 )
* QNX compatibility
* core: unify gettimeofday() usage
2019-06-04 19:45:21 +03:00
Alexander Alekhin
d5a0d6783a
Merge pull request #14710 from bommo1:bommo1-14265
2019-06-04 16:44:42 +00:00
rasmus25
394bc91e07
Merge pull request #14718 from rasmus25:3.4
...
* Revert the bad parts of b085158d59
to fix https://github.com/opencv/opencv/issues/11131
but preserve the good parts to keep https://github.com/opencv/opencv/issues/10791 fixed
* calib3d: add regression test for stereoCalibrate to fix https://github.com/opencv/opencv/issues/11131
2019-06-04 18:43:42 +03:00
Ruslan Garnov
25e4bce1a6
Removed LUT3D API entry
2019-06-04 17:13:21 +03:00
Alexey Smirnov
e329c84d5e
Merge pull request #14684 from smirnov-alexey:as/convert2_test_extension
...
G-API: Add parameters alpha and beta in tests on ConvertTo kernel (#14684 )
* Add parameters alpha and beta in tests on ConvertTo kernel
* Change tolerance function
* Reduce number of test cases
2019-06-04 15:54:09 +03:00
Alexander Alekhin
76fca0e755
imgcodecs: sanitize PAM decoding
...
oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=13282
2019-06-03 22:19:42 +00:00
bommo1
a38157a1f4
Fix https://github.com/opencv/opencv/issues/14265
2019-06-03 23:05:03 +02:00
Alexander Alekhin
f355b3505f
Merge pull request #14661 from dkurt:ie_deconv_adj
2019-06-03 16:58:17 +00:00
Vitaly Tuzov
3b015dfc7d
Merge pull request #14210 from terfendail:wui_512
...
AVX512 wide universal intrinsics (#14210 )
* Added implementation of 512-bit wide universal intrinsics(WIP)
* Added implementation of 512-bit wide universal intrinsics: implemented WUI vector types(WIP)
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented load/store
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented fp16 load/store
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented recombine and zip, implemented non-saturating and saturating arithmetics
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented bit operations
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented comparisons
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented lane shifts and reduction
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented absolute values
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented rounding and cast to float
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented LUT
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented type extension/narrowing and matrix operations
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented load_deinterleave for 2 and 3 channels images
* Added implementation of 512-bit wide universal intrinsics(WIP): reimplemented load_deinterleave for 2- and implemented for 4-channel images
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented store_interleave
* Added implementation of 512-bit wide universal intrinsics(WIP): implemented signmask and checks
* Added implementation of 512-bit wide universal intrinsics(WIP): build fixes
* Added implementation of 512-bit wide universal intrinsics(WIP): reimplemented popcount in case AVX512_BITALG is unavailable
* Added implementation of 512-bit wide universal intrinsics(WIP): reimplemented zip
* Added implementation of 512-bit wide universal intrinsics(WIP): reimplemented rotate for s8 and s16
* Added implementation of 512-bit wide universal intrinsics(WIP): reimplemented interleave/deinterleave for s8 and s16
* Added implementation of 512-bit wide universal intrinsics(WIP): updated v512_set macros
* Added implementation of 512-bit wide universal intrinsics(WIP): fix for GCC wrong _mm512_abs_pd definition
* Added implementation of 512-bit wide universal intrinsics(WIP): reworked v_zip to avoid AVX512_VBMI intrinsics
* Added implementation of 512-bit wide universal intrinsics(WIP): reworked v_invsqrt to avoid AVX512_ER intrinsics
* Added implementation of 512-bit wide universal intrinsics(WIP): reworked v_rotate, v_popcount and interleave/deinterleave for U8 to avoid AVX512_VBMI intrinsics
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed integral image SIMD part
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed warnings
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed load_deinterleave for u8 and u16
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed v_invsqrt accuracy for f64
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed interleave/deinterleave for u32 and u64
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed interleave_pairs, interleave_quads and pack_triplets
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed rotate_left
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed rotate_left/right, part 2
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed 512-wide universal intrinsics based resize
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed findContours by avoiding use of uint64 dependent 512-wide v_signmask()
* Added implementation of 512-bit wide universal intrinsics(WIP): fixed trailing whitespaces
* Added implementation of 512-bit wide universal intrinsics(WIP): reworked specific intrinsic sets dependent parts to check availability of intrinsics based on CPU feature group defines
* Added implementation of 512-bit wide universal intrinsics(WIP):Updated AVX512 implementation of v_popcount to avoid AVX512VPOPCNTDQ intrinsics if unavailable.
* Added implementation of 512-bit wide universal intrinsics(WIP): Fixed universal intrinsics data initialisation, v_mul_wrap, v_floor, v_ceil and v_signmask.
* Added implementation of 512-bit wide universal intrinsics(WIP): Removed hasSIMD512()
* Added implementation of 512-bit wide universal intrinsics(WIP): Fixes for gcc build
* Added implementation of 512-bit wide universal intrinsics(WIP): Reworked v_signmask, v_check_any() and v_check_all() implementation.
2019-06-03 18:05:35 +03:00
Dmitry Kurtaev
9c0af1f675
Enable more deconvolution layer configurations with IE backend
2019-06-03 08:15:52 +03:00
David Carlier
9fd95b93f7
FreeBSD build fix
2019-06-02 20:25:42 +01:00
Yashas Samaga B L
ae279966c2
Merge pull request #14660 from YashasSamaga:dnn-cuda-build
...
add cuDNN dependency and setup build for cuda4dnn (#14660 )
* update cmake for cuda4dnn
- Adds FindCUDNN
- Adds new options:
* WITH_CUDA
* OPENCV_DNN_CUDA
- Adds CUDA4DNN preprocessor symbol for the DNN module
* FIX: append EXCLUDE_CUDA instead of overwrite
* remove cuDNN dependency for user apps
* fix unused variable warning
2019-06-02 14:47:15 +03:00
Vitaly Tuzov
723165f878
fix for AVX2 version of v_reduce_min intrinsic
2019-05-31 16:14:54 +03:00
Alexander Alekhin
805ab6331f
Merge pull request #14662 from dkurt:dnn_tf_fix_identity_switch
2019-05-30 20:22:17 +00:00
Lubov Batanina
f94253b82b
Merge pull request #14627 from l-bat:demo_kinetics
...
* Support 3D ResNet-34-kinetics
* Update sample
* Remove preprocess
* Change test
* Fix sample
2019-05-30 17:36:00 +03:00
Alexander Alekhin
8ea2f59d33
Merge pull request #14671 from alalek:dnn_test_fast_read
2019-05-30 06:48:34 +00:00
Alexander Alekhin
52548bde05
dnn(test): replace file content reading
2019-05-29 23:08:33 +03:00
Alexander Alekhin
29b3f66507
Merge pull request #14606 from asashour:java_inline_return
2019-05-29 20:03:54 +00:00
Dmitry Kurtaev
081d9bc73f
Fix Identity Switch from Keras
2019-05-29 17:13:21 +03:00
Alexander Alekhin
9f68376c91
gapi: fix visibility conflict in OpenCV builds
2019-05-29 15:06:08 +03:00
Alexander Alekhin
216988b0b1
Merge pull request #14582 from alalek:android_update_debug
2019-05-29 11:22:53 +00:00
Alexander Alekhin
53c771551c
Merge pull request #14473 from alalek:video_dis_update_opencl
...
video(DISOpticalFlow): update OpenCL implementation (#14473 )
* video(DIS): add code for profiling
* video(DIS): fix test parameters
* video(DIS): simplify OpenCL kernels
- parameters -> defines
- avoid float3
- const / local scope
- improve readability, replace Kernel::set() -> args()
* video(DIS): use CV_32FC2 buffers
2019-05-29 14:22:21 +03:00
Alexander Alekhin
43467a2ac7
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-05-28 18:29:48 +00:00
Alexander Alekhin
0d477d7364
Merge pull request #14651 from alalek:dnn_test_update_debug_tags
2019-05-28 16:26:49 +00:00
Ahmed Ashour
ca8a1d2cff
java: generated code inline return
2019-05-28 08:34:02 +02:00
Alexander Alekhin
38a3c1ce6b
dnn(test): update test tags for Debug build
2019-05-27 20:12:30 +00:00
LaurentBerger
a3be8d7cd7
dead link
2019-05-27 21:57:10 +02:00
Alexander Alekhin
483e9f341c
Merge pull request #14626 from dkurt:dnn_ie_slice_layer
2019-05-27 16:27:14 +00:00
Alexander Alekhin
aaf56c2839
Merge pull request #14649 from savuor:fix/luv_hls_read_oob
2019-05-27 16:24:55 +00:00
Alexey Nikolaev
05563f5bc4
Merge pull request #14592 from aleksey-nikolaev:master
...
VideoCapture Direct Show. Added getter for CV_CAP_PROP_CONVERT_RGB, CAP_PROP_CHANNEL properties. (#14592 )
* Added getter for CV_CAP_PROP_CONVERT_RGB, CAP_PROP_CHANNEL properties.
Some refactoring.
* One space less.
2019-05-27 19:18:36 +03:00
Lubov Batanina
61d3222a22
Merge pull request #14537 from l-bat:fix_network_vizualizer
...
Fix dnn visualizer (#14537 )
* Fixed print layer params
* Fix print
2019-05-27 19:17:07 +03:00
Alexander Alekhin
a81c0e6db9
Merge pull request #14447 from catree:fix_issue_14423
2019-05-27 15:00:21 +00:00
Alexander Alekhin
d73261844e
Merge pull request #14622 from asashour:junit
2019-05-27 14:55:45 +00:00
Alexander Alekhin
b07f951e6b
Merge pull request #14591 from thangktran:thangktran/feature/floodFill-on-opencv.js
2019-05-27 14:54:46 +00:00
Alexander Alekhin
42484f3bcb
Merge pull request #14647 from alalek:fix_coverity_issues
2019-05-27 14:32:02 +00:00
Alexander Alekhin
c5204a74c0
Merge pull request #14633 from alalek:java_test_filter
2019-05-27 14:13:25 +00:00
Alexander Alekhin
4a2544ff4b
Merge pull request #14632 from alalek:java_test_debug
2019-05-27 14:13:10 +00:00
Alexander Alekhin
c9b3e718db
Merge pull request #14609 from janstarzy:tiff-orientation-fix
2019-05-27 13:39:51 +00:00
Dmitry Kurtaev
44d21e5a79
Enable Slice layer on Inference Engine backend
2019-05-27 16:28:01 +03:00
Rostislav Vasilikhin
8c698262ea
rgb2hls_b: out of bounds read fixed
2019-05-27 16:19:52 +03:00
Alexander Alekhin
1094ed64e9
Merge pull request #14605 from terfendail:wsignmask_fixavx
2019-05-27 13:19:39 +00:00
Rostislav Vasilikhin
791ebd05fc
out of bounds read fixed in rgb2luv_b
2019-05-27 16:19:01 +03:00
Alexander Alekhin
483f28723c
calib3d: initialize local vars, fix indentation in for loops
2019-05-27 14:39:47 +03:00
Thang Tran
d1615ba11a
video:fixed DISOpticalFlow segfault from small img
2019-05-27 08:18:26 +02:00
utibenkei
898cf70210
Merge pull request #14597 from utibenkei:fix_java_missing_consts
...
* java: fix java missing_consts
* java: test Calib3d constants
2019-05-26 19:43:34 +03:00
Alexander Alekhin
b958498074
java(test): test package filtering
...
Usage example:
- run.py -a -t java --package=calib3d
2019-05-26 15:12:05 +00:00
Alexander Alekhin
171dd9eff5
java(test): enable debug mode to show useful stacktraces
2019-05-26 14:54:44 +00:00
David Carlier
a6144b8e1a
OpenBSD build fix
2019-05-25 10:18:34 +01:00
Rostislav Vasilikhin
e07ffe902e
Merge pull request #14616 from savuor:hsv_wide
...
HSV and HLS color conversions rewritten to wide intrinsics (#14616 )
* RGB2HSV_b vectorized
* RGB2HSV_f: widen
* RGB2HSV_f: shorten, more intuitive
* HSV2RGB_f and HSV2RGB_b widen
* hls2rgb_f widen
* instrumentation instead vx_cleanup
* RGB2HLS_f widen
* RGB2HLS_b rewritten to wide universal intrinsics
* define guard against no SIMD code
* hls2rgb_b rewritten
* extra define removed
* warning fixed
* hls2rgb_b: performance fixed
2019-05-24 23:01:08 +03:00
Alexander Alekhin
22701f0c27
imgcodecs(CAP_IMAGES): fix handling of input pattern
2019-05-24 22:13:25 +03:00
Vitaly Tuzov
f0fb91f2d4
Fixed v_signmask implementation for AVX2, updated universal intrinsics tests.
2019-05-24 19:34:54 +03:00
Ahmed Ashour
f9564e053d
java: test: use assertNotNull and assertFalse
2019-05-24 10:45:09 +02:00
Alexander Alekhin
166ecaeda8
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-05-23 19:50:20 +03:00
Jan Starzynski
fb9c083a51
handle all orientations properly
2019-05-23 16:51:25 +02:00
Ahmed Ashour
f3319f6140
java: remove redundant declaration of java.lang package
2019-05-23 14:06:34 +02:00
Ahmed Ashour
1050b5351e
java: add CvType.CV_16F
2019-05-23 08:49:01 +02:00
Alexander Alekhin
8bf9dda604
Merge pull request #14514 from mshabunin:fix-videoio-docs
2019-05-22 18:15:43 +00:00
Ruslan Garnov
54ff72a1cc
Merge pull request #14599 from rgarnov:gapi_aux_kernels
...
G-API aux kernels (#14599 )
* Removed gcpuimgproc.hpp and gcpucore.hpp
* Changed GModel::orderedInputs and orderedOutputs to get ConstGraph&
* Added auxiliaryKernels() method of GBackend::Priv
2019-05-22 21:13:13 +03:00
atalaman
cbb699efd2
Merge pull request #14151 from TolyaTalamanov:at/own-mat-output-doesnt-support
...
G-API: own::Mat as output computation doesn't work (#14151 )
* Fix bug with output own::Mat
* Fix comments to review
* Fix preprocess condition
* Fix comments to review
2019-05-22 19:57:08 +03:00
atalaman
d9dac9cd1b
Merge pull request #14150 from TolyaTalamanov:at/computation-doesnt-work-with-out-vector
...
G-API: GComputation doesn't work with output vector<cv::Mat> (#14150 )
* Fix bug with gcomputation output vector
* Add test fixture
* Fix comments to review
* Fix alignment
2019-05-22 19:13:15 +03:00
Maksim Shabunin
bcf7286ad9
Docs: updated videoio module overview
2019-05-22 15:35:34 +03:00
catree
7ed858e38e
Fix issue with solvePnPRansac and Nx3 1-channel input when the number of points is 5. Try to uniform the input shape of projectPoints and undistortPoints.
2019-05-22 14:19:16 +02:00
atalaman
935c02c0a3
Merge pull request #13851 from TolyaTalamanov:at/new-kernel-package-design
...
G-API: Kernel package design (#13851 )
* Remove cv::unite_policy from API
* Add check that all id in kernel package are unique
* Refactor checker id procedure
* Remove cv::gapi::GLookupOrder from API
* Implement cv::gapi::use_only
* Fix samples
* Fix docs
* Fix comments to review
* Remove unite_policy
* Fix GKernelPackage::backends()
* Fix comments to review
* Fix all_unique
* Fix comments to review
* Fix comments to review
* Remove out of date tests
2019-05-22 14:53:44 +03:00
Dmitry Kurtaev
26e426adb1
StridedSlice from TensorFlow
2019-05-22 12:45:52 +03:00
Alexander Alekhin
190467b6c1
Merge pull request #14586 from dianlujitao:master
2019-05-21 18:30:02 +00:00
Thang Tran
eb243847eb
js: added floodFill function to JS binding
...
previously floodFill() is white-list without any implementation.
floodFill() is now fully functional in JS.
2019-05-21 14:19:50 +02:00
Alexander Alekhin
de977cc9c8
Merge pull request #14474 from alalek:ocl_kernel_args_variadic
2019-05-20 18:18:02 +00:00
Alexander Alekhin
a433394870
Merge pull request #14362 from catree:feat_ippe
2019-05-20 18:16:52 +00:00
Rostislav Vasilikhin
e90e0ef9aa
Merge pull request #14106 from savuor:lab_wide
...
Lab, Luv and XYZ conversions rewritten to wide intrinsics (#14106 )
* rgb2xyz<float> re-vectorized
* rgb2xyz_i vectorized for ushort and uchar
* xyz2rgb<float> vectorized
* xyz2rgb_i vectorized for both uchar and ushort
* intermediate conversions (int->float) rewritten
* packed rgb2luv rewritten
* (some) float conversions rewritten
* burnt volatile int _3 and similar
* RGB2Lab_b rewritten
* tests: logging made better
* RGB2Lab_f (LRGB path) rewritten
* Lab2RGBfloat rewritten
* Lab2RGBinteger and Lab2RGB_b rewritten to wide universal intrinsics
* Luv2RGBinteger wide vectorized
* RGB2Lab_b fixed: v_sub_wrap instead of saturated sub
* warnings fixed
* trying to fix compilation on older compilers
* using 16x8 registers for 8-element dot product
* cleanup added
* splineInterpolate: loop unrolled, perf fix for f32x4
* Lab2RGBfloat: grab 2x more data to process on f32x4
* nrepeats for Luv2RGBfloat, +20% perf
* minor
* nrepeats to RGB2Lab_f
* Lab2RGBinteger: no tab for linear BGR
* nrepeats for RGB2Luvfloat
* Luv2RGBinteger: no tab for linear RGB
* +10% more to perf of Luv2RGBfloat
* nrepeats for 256-simd for Lab2RGBfloat
* less warnings
* BOM removed
* CV_SIMD_WIDTH used for lanes number checking
* trilinearPackedInterpolate: 128-bit specialization added
* fix build; no vx_cleanup(), instrumentation instead
2019-05-20 21:10:20 +03:00
dianlujitao
f0f50b757d
Fix LogSoftmax for ONNX
...
Fix wrong indentation as well while at it
2019-05-20 22:55:31 +08:00
catree
33cb9c5ca5
Add SOLVEPNP_IPPE for planar pose estimation. Add solvePnPGeneric function that returns all the pose solutions and the reprojection errors.
2019-05-20 11:56:54 +02:00
Alexander Alekhin
e4b9a58c15
Merge pull request #14578 from mshabunin:add-mfx-plugin
2019-05-19 19:36:16 +00:00
Alexander Alekhin
3c1267dbe6
android: update 'debug' information support
2019-05-19 16:09:45 +00:00
Alexander Alekhin
132253c9f3
dnn: use AsyncArray
2019-05-18 19:32:23 +00:00
Alexander Alekhin
9340af1a8a
core: Async API / AsyncArray
2019-05-18 19:32:23 +00:00
Alexander Alekhin
447116a93c
Merge pull request #14524 from kohei-us:onnx-load-binary-blob
2019-05-18 16:19:34 +00:00
Alexander Alekhin
d848594deb
Merge pull request #14445 from l-bat:batchnorm3d
2019-05-17 17:03:53 +00:00
Alexander Alekhin
b4ec8fe3ef
Merge pull request #14539 from rgarnov:gapi_fix_nv12_odd_slices
2019-05-17 16:59:52 +00:00
Maksim Shabunin
6fc6207e93
Added videoio plugin for MediaSDK
2019-05-17 17:24:53 +03:00
catree
b5e2ec4ea4
Fix typo in NormTypes documentation.
2019-05-16 19:22:41 +02:00
Kohei Yoshida
7b4aefedea
Add support for loading ONNX model from in-memory buffer.
2019-05-16 11:26:20 -04:00
Alexander Alekhin
30a595789c
Merge pull request #14463 from thangktran:thangktran/fix-imgproc-intersectConvexConvex
2019-05-16 14:50:20 +00:00
Alexander Alekhin
9003b60d65
Merge pull request #14567 from alalek:core_drop_ostream_string_overload
2019-05-16 11:32:13 +00:00
Alexander Alekhin
d93588dfeb
Merge pull request #14562 from alalek:calid3d_fix_examples_paragraph
2019-05-16 11:23:16 +00:00
Alexander Alekhin
e21262deba
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-05-16 04:40:39 +00:00
Alexander Alekhin
84fd8190f3
Merge pull request #14232 from terfendail:popcount_rework
2019-05-15 17:58:11 +00:00
Vitaly Tuzov
7a55f2af3b
Updated AVX2 implementation of v_popcount for u8.
2019-05-15 19:39:25 +03:00
Alexander Alekhin
8b192b76c0
Merge pull request #14561 from alalek:fix_ctors_with_uninitialized_vars
2019-05-15 16:21:07 +00:00
Daniel Ingram
962d57b4d6
Merge pull request #14559 from daniel-s-ingram:master
...
* Fix typo: 'divisble' -> 'divisible'
* Fix typo: 'One of arguments' -> 'One of the arguments'
2019-05-15 18:41:43 +03:00
Alexander Alekhin
a70e1eecd9
Merge pull request #14552 from dkurt:fixed_detections_out_blob
2019-05-15 15:17:05 +00:00
Alexander Alekhin
3e876c5066
Merge pull request #14505 from alalek:android_fix_14477
2019-05-15 12:58:23 +00:00
Alexander Alekhin
b8f9076de0
core: drop 'operator << (ostream, String)' overload
...
'cv::String' is 'std::string' in OpenCV 4.x
2019-05-15 14:00:02 +03:00
Alexander Alekhin
8936a0f3a5
android: fix JavaCamera2View UV plane handling
2019-05-15 07:57:50 +00:00
Alexander Alekhin
d784b40e24
calib3d(docs): examples paragraph is related to findHomography()
2019-05-14 19:20:40 +00:00
Alexander Alekhin
68012bfbf9
calib3d: fix uninitialized fields in ctors
2019-05-14 19:15:13 +00:00
Vitaly Tuzov
1220dd4877
Updated v_popcount description, reference implementation and test.
2019-05-14 18:59:40 +03:00
Vitaly Tuzov
96ab78dc4f
Reworked v_popcount implementation to provide number of bits in a single lane
2019-05-14 18:59:38 +03:00
Ruslan Garnov
50af4df1d7
Fixed roi inference to always produce even sizes for nv12
2019-05-14 18:37:33 +03:00
Liubov Batanina
dfa753c6b4
Support OCV backend
2019-05-14 16:44:57 +03:00
Dmitry Kurtaev
6389dfe49c
Fixed DetectionOutput output blob shape
2019-05-14 15:09:32 +03:00
Liubov Batanina
dadb1473c1
Add BatchNorm3d layer
2019-05-14 12:44:48 +03:00
Dmitry Kurtaev
c3b0a68a2b
Async mode for dnn's object detection sample
2019-05-14 09:58:47 +03:00
Alexander Alekhin
b2abd8ca41
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-05-07 16:04:54 +00:00
Alexander Alekhin
5ba8aa781c
Merge pull request #14460 from dkurt:dnn_tf_no_extra_clone
2019-05-07 14:48:50 +00:00
Maksim Shabunin
9a81ff7315
Backported AVFoundation fixes from master branch
2019-05-07 13:57:44 +03:00
Anton Potapov
c2e26c1527
Async API for GAPI
...
- minor cosmetic changes : comments, typos
2019-05-07 13:12:15 +03:00
Dmitry Kurtaev
471b83ccd5
Modify paddings computation for SAME pad mode
2019-05-06 10:49:10 +03:00
Alexander Alekhin
7bb8d89ef3
Merge pull request #14484 from dkurt:dnn_ie_fix_async_u8
2019-05-05 11:51:54 +00:00
Sayed Adel
5a77f4cee3
Merge pull request #14007 from seiko2plus:core_avx512_infa
...
* core: improve AVX512 infrastructure by adding more CPU features groups
* cmake: use groups for AVX512 optimization flags
* core: remove gap in CPU flags enumeration
* cmake: restore default CPU_DISPATCH
2019-05-05 14:19:49 +03:00
Dmitry Kurtaev
adc1ef9308
Fix uint8 input data for Async mode of dnn
2019-05-05 12:49:38 +03:00
Alexander Alekhin
610f5481c1
core(ocl): ocl::Kernels::args() via variadic template
2019-05-04 00:06:31 +00:00
Alexander Alekhin
03ec1ca0a4
Merge pull request #14403 from alalek:issue_14372
2019-05-03 20:41:51 +00:00
Alexander Alekhin
04caf0549d
video(DIS): OpenCL workaround for AMDGPU
2019-05-03 19:01:14 +00:00
Alexander Alekhin
0e1dd63f5e
video(DIS): use OpenCL shared mem
...
- fix perf test iterations
2019-05-03 18:58:26 +00:00
Alexander Alekhin
fc57129300
Merge pull request #14431 from catree:feat_solvePnPRefine
2019-05-02 20:44:58 +00:00
seungju
ceff82877d
fix a typo in md file
...
fix a typo in ml_intro.md, tress -> trees
2019-05-01 14:05:33 +02:00
Thang Tran
1aff378ae8
imgproc: fixed bug from intersectConvexConvex
...
Added checks for all of vertices from each contour instead of checking
only for the first vertex.
2019-05-01 11:06:30 +02:00
Alexander Alekhin
e28e3c9491
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-05-01 08:27:45 +00:00