Alexander Alekhin
6d2cfac303
objdetect: validate QRdecode inputs
...
- drop unnecessary matrix initialization
6 years ago
Alexander Alekhin
f185640eda
Merge pull request #12799 from alalek:update_build_js
...
* js: update build script
- support emscipten 1.38.12 (wasm is ON by default)
- verbose build messages
* js: use builtin Math functions
* js: disable tracing code completelly
6 years ago
Tomoaki Teshima
803f86b9ca
fix test failure of PyrLKOpticalFlow.Mat
...
* remove race condition
* upload _prevPts to OpenCL device explicitly before calling "sparse"
6 years ago
Dmitry Kurtaev
dc3406eed9
Fix Pooling and Convolution layers from Intel's Inference Engine
6 years ago
Adam Radomski
70177143a7
Added test caffe importer layers sharing weights
6 years ago
Vitaly Tuzov
43d9256096
Replaced core module calls to universal intrinsics with wide universal intrinsics
6 years ago
tellowkrinkle
803ff64b14
Merge pull request #12697 from tellowkrinkle:FasterCocoaWindows
...
* Make cocoa windows draw faster
* Use a CALayer for rendering when possible Uses GPU to scale images, which is important because retina macs will want window sizes much larger (in pixels) than the image
* Fix mouse logic for cocoa windows
* Only halve resolution on retina if image is larger than display
6 years ago
Alexander Alekhin
5677a683a5
core(test): zero values divide test (3.x)
6 years ago
Alexander Alekhin
c813ad5533
core(ocl): replace ambiguous 'depth' to 'DEPTH_dst'
...
- always pass DEPTH_dst value to core/arithm kernel
6 years ago
tompollok
0b77600718
change area() emptiness checks to empty()
6 years ago
drkoller
978ad4981e
Clean up documentation for imread and imwrite
6 years ago
Alexander Alekhin
8c4f886f5f
core: re-throw allocation exception if there is no fallback
6 years ago
take1014
24af70c7e0
resolves 11283
6 years ago
Sayed Adel
9dc1d388af
imgproc: Enable VSX on pyrDown & pyrUp
6 years ago
Tomoaki Teshima
944710de4e
update the threshold
...
* fix test failure of cudaimgproc convert color bgr2lab series
6 years ago
Sayed Adel
8965f3ae06
imgproc:simd Enable VSX and wide universal intrinsics for accumulate operations
...
- improve cpu dispatching calls to allow more SIMD extentions
(SSE4.1, AVX2, VSX)
- wide universal intrinsics
- replace dummy v_expand with v_expand_low
- replace v_expand + v_mul_wrap with v_mul_expand for product accumulate operations
- use FMA for accumulate operations
- add mask and more types to accumulate's performance tests
6 years ago
Sayed Adel
5771fd693d
Change behaviour of 16-bit multiply operator
...
- redefine 16-bit multiply operator to perform saturating multiply
instead of non-saturating multiply
- implement 8-bit multiply operator to perform saturating multiply
- implement v_mul_wrap() for 8-bit, 16-bit non-saturating multiply
- improve performance of v_mul_hi() for VSX
- update intrin tests with new changes
- replace unv 16-bit multiplication operator with v_mul_wrap due behavior changes
- Several improvements depend on vpisarev review
* initial forward declarations for universal intrinsics
* move emulating SSE intrinsics into separate file
* implement v_mul_expand for 8-bit
* reimplement saturating multiply using v_mul_expand + v_pack
* map v_expand, v_load_expand, v_load_expand_q to sse4.1
* fix overflow avx2::v_pack(uint32)
* implement two universal intrinsics v_expand_low and v_expand_high
6 years ago
Vitaly Tuzov
1ff11c84ab
Fixed meanStdDev() implementation for the case input matrix has more than 4 channels
6 years ago
Alexander Alekhin
4e62900009
core: call omp_set_dynamic() for better CPU usage
...
Similar to 'OMP_DYNAMIC=TRUE'.
6 years ago
Alexander Alekhin
7813eef92b
fix build warnings
6 years ago
Vitaly Tuzov
cc10e6b344
pyrDown and pyrUp SSE2 implementations replaced with wide universal intrinsics implementations
6 years ago
Alexander Alekhin
11e2a216c5
ocl(win32): bypass deallocate() during process termination
6 years ago
Alexander Alekhin
404893810c
cmake: fix Python detection for standalone bindings
6 years ago
Alexander Nesterov
53ec8f286b
Added QR code decoding.
6 years ago
Alexander Alekhin
70f2ee917e
cmake: add DllMain() into each OpenCV DLL
...
to detect process termination after ExitProcess() call
6 years ago
Adam Radomski
cc3ec5d453
Fix dnn caffe importer extract blobs from reused layers
6 years ago
Hamdi Sahloul
c4d434fd6f
CUDA/BgSegm: fix the threshold of MOG2.Update test when detectShadow=true ( #12762 )
6 years ago
Apoorv Goel
b8aa0cddab
Merge pull request #12777 from UnderscoreAsterisk:document-cvtColorTwoPlane
...
* Add documentation for cvtColorTwoPlane
* Change brief and add links
6 years ago
Lubov Batanina
50811e04f2
Merge pull request #12596 from l-bat:l-bat/shufflenet_onnx
...
* Add Shufflenet support in ONNX
* Add test for transpose layer
6 years ago
Vitaly Tuzov
9d602f2752
Replaced SSE2 area resize implementation with wide universal intrinsic implementation
6 years ago
Dmitry Kurtaev
7649e537b7
Fix JavaScript bindings for features2d module
6 years ago
Hamdi Sahloul
2faa4cd933
TS/CUDA: Show device ID in case of multiple devices
6 years ago
Alexander Alekhin
18bf91a08b
core: update allocSingleton implementation, valgrind suppression
6 years ago
Alexander Alekhin
634dd656d5
dnn: don't use Mat expressions with async UMat functions
6 years ago
Alexander Alekhin
9d02d42afe
dnn(ocl4dnn): don't use getUMat()
...
especially in CPU only processing
6 years ago
Anush Elangovan
630a94b8b7
_tzcnt_u32() is undefined in clang-cl so use alternate impl
...
_tzcnt_u32() is not exported by clang-cl intrin.h so check for
clang-cl and enable an alterate for _tzcnt_u32()
Some discussions:
http://lists.llvm.org/pipermail/cfe-dev/2016-October/051329.html
https://bugs.llvm.org/show_bug.cgi?id=30506
TEST=Build with clang-cl
6 years ago
Rostislav Vasilikhin
da5e0ef461
ocl::KernelArg::Local(): added size argument
6 years ago
Alexander Alekhin
0926a84a45
cmake: define CV_ErrorNoReturn under CV_STATIC_ANALYSIS
...
to avoid build break without `__OPENCV_BUILD`
6 years ago
Tomoaki Teshima
7294ae0f17
fix test failure of StereoBeliefPropagation
...
* if the src has odd number of height, access error happens
* it could happen on width, too
* check both dst and src range in both width and height
6 years ago
Apoorv Goel
0ffc186680
Merge pull request #12731 from UnderscoreAsterisk:fix-12012
...
* fix #12012
* Replace CV_StsBadFlag with Error::StsBadFlag
6 years ago
Alexander Alekhin
eec468fa13
dnn(ocl4dnn): calculate activation expression once
...
- to avoid multiple conditional calls via sub_group() functions
6 years ago
Peter Rekdal Sunde
042c486b68
Obtain fourcc when `AVStream` is network stream
...
The `codec_tag` is only available when opening a file from disk. If `AVStream` is a network stream then `fourcc` must be obtained using `codec_id`. I have tested the following scenarios:
1) Open a `.mp4` file and verify that `codec_tag` is returned (old behavior)
2) Open a `rtsp` stream and verify that `codec_fourcc` is returned (Tested with a MJPEG, H264 and H265 stream)
6 years ago
Tomoaki Teshima
fa8684b5c8
fix test failure of cudafilters Median_Accuracy
...
* avoid race condition
6 years ago
Vitaly Tuzov
283348afc3
SSE2 code in invert() replaced with universal intrinsics
6 years ago
Suleyman TURKMEN
ee0c985491
Merge pull request #12649 from sturkmen72:patch-9
...
Update hog.cpp (#12649 )
6 years ago
Alexander Alekhin
94201b7cf9
ocl: OPENCV_OPENCL_BUILD_EXTRA_OPTIONS parameter
6 years ago
Maksim Shabunin
15632c6305
Added support for multi-path configuration parameter (env)
6 years ago
Vitaly Tuzov
6b84990620
integral() implementation updated to utilize wide universal intrinsics
6 years ago
Antonio Borondo
28e55dc5f3
Fix documentation of cv::cuda::compare
6 years ago
Alexander Alekhin
0f031b6680
dnn(ocl4dnn): drop weights_buf
...
- avoid memory access violation during "prefetch" stage
6 years ago