Boris Fomitchev
c48807c383
Merge pull request #9418 from borisfom:cuda9
...
CUDA9 build fixed, added detection (#9418 )
* CUDA9 build fixed, added detection
* Replacing deprecated __shfl_xxx with __shfl_sync, fixing bogus CUDA9 warnings
2017-08-24 07:11:44 +00:00
Alexander Alekhin
d0509f6702
Merge pull request #9449 from ribalda:ocv
2017-08-23 19:40:36 +00:00
Alexander Alekhin
8285924cf3
ts: eliminate build warning '-Wself-assign'
2017-08-23 19:08:55 +03:00
Ricardo Ribalda Delgado
6fc5697950
ocl: Fix OpenCL library detection in Linux
...
OpenCL runtime does not require OpenCL development file (libOpenCL.so),
just the "run" library (so.1).
This patch searches for the run library (so.1) if the dev library (.so)
is not found.
Web search shows that this error has been present since at least 2015
http://answers.opencv.org/question/80532/haveopencl-return-false/
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
2017-08-23 16:38:06 +02:00
Alexander Alekhin
aacae20657
imgcodesc: fix code problems with integer overflow / address arithmetic / UB
2017-08-23 17:27:27 +03:00
Alexander Alekhin
c9fe702671
Merge pull request #9447 from dkurt:qt_windows
2017-08-23 14:19:45 +00:00
Dmitry Kurtaev
7123d9c376
Added 1ms delay to let system decorate Qt windows
2017-08-23 15:48:52 +03:00
Alexander Alekhin
a893b147dc
Merge pull request #9428 from csukuangfj:fix-commandline-parser
2017-08-23 12:48:28 +00:00
Pavel Vlasov
a57718e1ac
ICV2017u3 package update;
...
- Optimizations set change. Now IPP integrations will provide code for SSE42, AVX2 and AVX512 (SKX) CPUs only. For HW below SSE42 IPP code is disabled.
- Performance regressions fixes for IPP code paths;
- cv::boxFilter integration improvement;
- cv::filter2D integration improvement;
2017-08-23 14:24:43 +03:00
Aleksandr Rybnikov
8b1146deb2
Added function to get timings for layers
2017-08-23 13:40:05 +03:00
KUANG Fangjun
97ec91ad67
fix cv::CommandLineParser.
...
It should handle bool value not only of "true" but also of "TRUE" and "True".
2017-08-23 11:38:58 +02:00
Alexander Alekhin
a710317aa0
Merge pull request #9421 from csukuangfj:fix-doc
2017-08-22 20:51:49 +00:00
Alexander Alekhin
f0fb665407
Merge pull request #9376 from alalek:imgcodecs_refactoring
2017-08-22 16:32:47 +00:00
Dmitry Kurtaev
e74c475162
Removed 3rdparty serialized NumPy arrays parser
2017-08-22 18:14:32 +03:00
Alexander Alekhin
af09cb2834
Merge pull request #9347 from kschwan:fix-docs
...
Fix doxygen comment in BFMatcher
2017-08-22 13:55:03 +00:00
Alexander Alekhin
5adc0bf3a7
Merge pull request #9434 from alalek:fix_numpy_warning
2017-08-22 13:44:47 +00:00
Alexander Alekhin
ea6fe71a50
python: eliminate -Wundef warning about NPY_INTERNAL_BUILD
...
numpy 1.13.0+
2017-08-22 11:56:55 +03:00
Boris Fomitchev
76f7fb5231
Extending CPU dispatch to the tests; fixing a typo
2017-08-21 20:58:12 -07:00
Dmitry Kurtaev
54f0616a13
Deconvolution layer from TensorFlow
2017-08-21 21:38:07 +03:00
Steven Puttemans
9b173e2db1
fix description of setTrackbarMin
2017-08-21 12:47:04 +02:00
KUANG Fangjun
336996152a
Improve the documentation.
2017-08-20 17:21:39 +02:00
Emanuele Ruffaldi
588ca5d126
videoio for mingw32: added STRSAFE_NO_DEPRECATE and realpath
2017-08-19 23:51:02 +02:00
Alexander Alekhin
8c84763ed3
vtk: eliminate 'override' build warning
2017-08-19 16:05:52 +00:00
Alexander Alekhin
87a98e4562
cmake: CMP0026 NEW
2017-08-19 15:15:05 +00:00
Alexander Alekhin
b6949c5088
cmake: CMP0022 NEW
2017-08-19 15:15:05 +00:00
Camille Barneaud
d5e64f4eb2
Avoid HOGDescriptor with sigma = 0
...
Solve #9307 .
2017-08-19 15:03:16 +02:00
Vladislav Sovrasov
2b8f888ea4
videoio: remove throw lists since they are deprecated in cxx11 (and gcc7 produces a warning)
2017-08-18 12:07:24 +03:00
Alexander Alekhin
316fb26f5b
Merge pull request #9397 from alalek:memcpy_null_guard
2017-08-18 08:47:17 +00:00
Alexander Alekhin
a835517049
Merge pull request #9369 from alalek:cpp_refactor_gtk
2017-08-17 20:05:56 +00:00
Alexander Alekhin
5c325466e0
Merge pull request #8847 from Cartucho:java_highgui
2017-08-17 20:04:33 +00:00
Nishant Arora
98db804541
Merge pull request #9210 from whizzzkid/fixing-cuda
...
Fixing explicitly call download method for cuda::GpuMat object
2017-08-17 16:32:53 +00:00
Alexander Alekhin
71e1889825
core: fix memcpy with zero size
2017-08-17 18:30:31 +03:00
Dmitry Kurtaev
4e28c00e7b
Fix Halide buffer behavior in case of OpenCL device memory allocation
2017-08-17 13:27:54 +03:00
Jiri Horner
a5b5684670
Merge pull request #9330 from hrnr:akaze_ocl
...
[GSOC] Enable OCL for AKAZE (#9330 )
* revert e0489cb
- reenable OCL for AKAZE
* deal with conversion internally in AKAZE
* pass InputArray directly to AKAZE to allow distiguishing input Mat/UMat. deal with conversion there
* ensure that keypoints orientations are always computed. prevents misuse of internal AKAZE class.
* covert internal AKAZE functions to use InputArray/OutputArray
* make internal functions private in AKAZE
* split OCL and CPU paths in AKAZE
* create 2 separate pyramids, 1 for OCL and 1 for CPU
* template functions that use temporaries to always store them as correct type (UMat/Mat)
* remove variable used only in OCL path
causes unused variable warning
* update AKAZE documentation
* run ocl version only when ocl is enabled
* add tests for OCL path in AKAZE
* relax condition for keypoints angle
2017-08-16 16:46:11 +00:00
Alexander Alekhin
78a310630f
imgproc(test): add checks for remove() call
2017-08-16 18:56:42 +03:00
Alexander Alekhin
999f41fb4f
imgcodecs: refactoring, improve code quality
2017-08-16 18:56:41 +03:00
Alexander Alekhin
0d854db361
build: workaround GCC 7.1.1 compilation issue with sanitize flags
...
Version: gcc (GCC) 7.1.1 20170622 (Red Hat 7.1.1-3)
Flags: -fsanitize=address,undefined
2017-08-16 14:06:30 +03:00
Alexander Alekhin
fdb3d4ff60
Merge pull request #9379 from berak:imgproc_hanning
2017-08-16 10:28:19 +00:00
berak
e7b9cfa8f2
imgproc:fix winSize in createHanningWindow()
2017-08-16 08:53:45 +02:00
Alexander Alekhin
1d4a29f149
Merge pull request #9366 from martinsey:brisk-detection-parameter-extension
2017-08-15 10:48:11 +00:00
Martin Seyferth
e5f129424c
brisk add detection threshold for custom sampling pattern
2017-08-15 11:41:04 +02:00
Rostislav Vasilikhin
66b0651607
Merge pull request #9329 from savuor:softfloat_sincos
...
SoftFloat: added sin, cos and docs (#9329 )
* softfloat: comparison operators made inline, min() max() eps() isSubnormal() added
* softfloat: get/set sign/exp
* softfloat: get/set frac
* softfloat: tests rewritten with new tools
* softfloat: added pi(), sin(), cos()
* softfloat: more comments
* softfloat: updated sincos arg reduction
* softfloat: initial tests for sincos added
* softfloat: test works, code cleanup is pending
* softfloat: sincos argreduce rewritten
* softfloat: sincos refactored and simplified
* softfloat sincos: epsilons calibrated
* softfloat: junk code removed from tests
* softfloat: docs added
* inline comparisons undone; warning fixed
2017-08-15 09:23:26 +00:00
Alexander Alekhin
803274e207
Merge pull request #9358 from azatsman:master
2017-08-15 09:16:45 +00:00
Alexander Alekhin
9e239c7a1e
highgui: refactor GTK backend
...
- eliminate legacy C code, used fields
- fix mutex synchronization issues
- set trackbar min/max without unnecessary truncation; allow negative values
2017-08-14 19:33:00 +00:00
Alexander Alekhin
6b2510d312
Merge pull request #9317 from sturkmen72:warpPerspective_demo
2017-08-14 13:15:48 +00:00
Alexander Alekhin
a048cb9f0d
Merge pull request #9338 from dkurt:fix_ocl
2017-08-14 12:56:07 +00:00
Alexander Alekhin
87598c8749
Merge pull request #9365 from alalek:build_fix_parallel
2017-08-14 10:28:53 +00:00
Alexander Alekhin
ca9a88785e
core(build): fix compilation of parallel.cpp (OpenMP configuration)
2017-08-14 11:42:49 +03:00
Alexander Alekhin
2072168a1c
Merge pull request #9360 from tomoaki0705:suppressCalib3dWarning
2017-08-14 08:10:58 +00:00
Tomoaki Teshima
800f656402
suppress warning message
2017-08-14 08:26:06 +09:00
Alex Zatsman
e2bfd1a036
Changed NORM_RELATIVE_INF, NORM_RELATIVE_L1 and NORM_RELATIVE_L2 to
...
NORM_RELATIVE | NORM_INF, NORM_RELATIVE | NORM_L1 and NORM_RELATIVE | NORM_L2
respectively in the documentation for cv::norm and cv::NormTypes
2017-08-13 11:55:35 -04:00
Kim Lindberg Schwaner
7f9fe6f1f2
Fix doxy comment for BFMatcher::create()
...
A missing asterisk caused doxygen to not generate documentation for the
BFMatcher::create() method.
2017-08-11 14:18:53 +02:00
Alexander Alekhin
ef2b73043d
Merge pull request #9342 from alalek:fix_parallel_for
2017-08-10 20:22:44 +00:00
Suleyman TURKMEN
8bb3863f52
New example - warpPerspective_demo.cpp
...
An example program shows using cv::findHomography and cv::warpPerspective for image warping
2017-08-10 15:08:13 +03:00
Alexander Alekhin
fa288af58b
Merge pull request #9343 from PhilLab:patch-4
2017-08-10 10:25:36 +00:00
Alexander Alekhin
0e7edca7e3
Merge pull request #9340 from paroj:stereocalib_cpp
2017-08-10 10:24:29 +00:00
Alexander Alekhin
9e5a8ba9f5
Merge pull request #9339 from johnhany:Fix-SyntaxError-check-tests-py
2017-08-10 10:20:05 +00:00
Philipp Hasper
2c7a15b195
Clarified documentation cv::RotatedRect::points
2017-08-10 11:06:40 +02:00
Alexander Alekhin
0ebabe17df
core: fix flag processing for nested regions in cv::parallel_for_()
2017-08-10 08:37:47 +00:00
Pavel Rojtberg
5ada462773
calib3d: use cpp functions in cvStereoCalibrate to make it more readable
2017-08-09 17:21:14 +02:00
John Hany
69e19b88c2
Fix SyntaxError with print
2017-08-09 21:25:16 +08:00
Dmitry Kurtaev
41519d3ac0
Fixed some OpenCL interface bugs
2017-08-09 11:54:55 +03:00
Vladislav Sovrasov
9a10bdbae5
core: use new assert in matmul.cpp
2017-08-08 23:00:11 +03:00
KUANG, Fangjun
4bbe67451d
fix some typos in the documentation.
2017-08-08 17:32:04 +02:00
Vladislav Sovrasov
651a1d2869
videoio: don't pass zero fps to 3rd-party codecs
2017-08-08 15:17:42 +03:00
David Geldreich
7c334f45c6
trainAuto: uses parallel_for_ to dispatch all parameters combination to test
2017-08-08 13:27:02 +02:00
Vladislav Sovrasov
5e68b28ad3
core: fix file not closed when exception in FS
2017-08-07 21:03:59 +03:00
Vladislav Sovrasov
aa54acd54d
core: add a test to reproduce #9312
2017-08-07 16:16:14 +03:00
Alexander Alekhin
87c27a074d
Merge tag '3.3.0'
...
OpenCV 3.3.0
2017-08-04 00:00:18 +00:00
Alexander Alekhin
4af3ca4e4d
OpenCV version++
...
OpenCV 3.3.0
2017-08-03 23:58:23 +00:00
Alexander Alekhin
94dbc35d92
features2d(test): more AKAZE tests
2017-08-03 22:54:45 +00:00
Alexander Alekhin
ad2e864a9a
akaze: more fixes
...
- boundary checks
- div by zero guard
- fixed bilinear interpolation (another case)
- reduce memory allocation
2017-08-03 21:45:35 +00:00
Alexander Alekhin
e0489cb4a6
akaze: fix T-API interfaces, disable OpenCL code
...
- OpenCL kernels don't handle matrices properly. Assumptions are not checked.
- OpenCL/T-API integration is not correct.
2017-08-03 20:35:06 +00:00
Alexander Alekhin
922ac1a1ec
Merge pull request #9303 from alalek:akaze_update
2017-08-03 17:17:03 +00:00
Alexander Alekhin
c95a97389d
Merge pull request #9235 from sturkmen72:patch-3
2017-08-03 17:04:28 +00:00
Alexander Alekhin
2a8322ddbb
akaze: uninitialized field
2017-08-03 20:04:21 +03:00
Alexander Alekhin
cfb964834c
stitching(perf): increase test check tolerance
2017-08-03 19:51:46 +03:00
Alexander Alekhin
73c3d14a66
akaze: fRound -> cvRound, fix bilinear interpolation
2017-08-03 19:51:46 +03:00
Alexander Alekhin
f6ceeaa2e5
akaze: getAngle() -> fastAtan2()
2017-08-03 19:51:46 +03:00
Alexander Alekhin
6847cc9f1c
akaze: remove usage of int8_t / uint8_t
2017-08-03 19:51:46 +03:00
Alexander Alekhin
411d36ff13
features2d(test): update descriptor regression test
2017-08-03 19:51:46 +03:00
Alexander Alekhin
63ae5f00b1
features2d(test): enable debug messages
2017-08-03 19:51:46 +03:00
Alexander Alekhin
43e0912516
akaze: resolve issue with using of uninitialized memory
2017-08-03 19:51:45 +03:00
Alexander Alekhin
64533009b3
akaze: optimize allocations
2017-08-03 19:51:45 +03:00
Alexander Alekhin
8aca8d90d6
akaze: replace ceil()
...
- integer division => divUp()
- cast to 'int' => cvCeil()
2017-08-03 19:51:45 +03:00
Alexander Alekhin
9ca39821c8
core: divUp function
2017-08-03 19:51:45 +03:00
Alexander Alekhin
dcc63d7408
Merge pull request #9248 from alalek:alloc_refactoring
2017-08-03 16:25:29 +00:00
Vladislav Sovrasov
5375a77f84
core: add multi-argument CV_Assert
2017-08-03 15:31:05 +03:00
Alexander Alekhin
2f4a3e40eb
Merge pull request #9287 from dkurt:tensorflow_unit_tests
2017-08-03 12:21:23 +00:00
Alexander Alekhin
15aa0df23c
Merge pull request #9297 from alalek:akaze_remove_rand
2017-08-03 09:21:22 +00:00
Jiri Horner
3166d0c667
Merge pull request #9249 from hrnr:akaze_part3
...
[GSOC] Speeding-up AKAZE, part #3 (#9249 )
* use finding of scale extremas from fast_akaze
* incorporade finding of extremas and subpixel refinement from Hideaki Suzuki's fast_akaze (https://github.com/h2suzuki/fast_akaze )
* use opencv parallel framework
* do not search for keypoints near the border, where we can't compute sensible descriptors (bugs fixed in ffd9ad99f4
, 2c5389594b
), but the descriptors were not 100% correct. this is a better solution
this version produces less keypoints with the same treshold. It is more effective in pruning similar keypoints (which do not bring any new information), so we have less keypoints, but with high quality. Accuracy is about the same.
* incorporate bugfix from upstream
* fix bug in subpixel refinement
* see commit db3dc22981e856ca8111f2f7fe57d9c2e0286efc in Pablo's repo
* rework finding of scale space extremas
* store just keypoints positions
* store positions in uchar mask for effective spatial search for neighbours
* construct keypoints structs at the very end
* lower inlier threshold in test
* win32 has lower accuracy
2017-08-03 08:35:07 +00:00
dkurt
339793143c
Unit tests for TensorFlow importer
2017-08-03 11:29:48 +03:00
Alexander Alekhin
8be1ba708e
features2d: don't use rand(), because it is not thread-safe
...
Results are not stable with srand()
2017-08-02 23:48:54 +03:00
Alexander Alekhin
0bd357e7ec
Merge pull request #9296 from dkurt:halide_device_interface
2017-08-02 20:26:30 +00:00
Alexander Alekhin
d8c70e2e73
Merge pull request #9286 from alalek:rect_size_empty
2017-08-02 20:20:16 +00:00
dkurt
b1ef44b1ac
Replace halide_opencl_device_interface
2017-08-02 20:38:30 +03:00
Aleksandr Rybnikov
8d6b8b45b6
Added ELU and test for it
2017-08-02 11:13:59 +03:00
Alexander Alekhin
321c0ec533
core: empty() for Rect/Size templates
...
Check for empty objects via .area() is not a good practice due overflows
2017-08-01 17:19:18 +03:00
Alexander Alekhin
4ad45af53f
Merge pull request #9253 from jbms:fix/image-decoding-tempfile
2017-08-01 13:47:15 +00:00
Alexander Alekhin
37a7e08b38
Merge pull request #9097 from piotr-semenov:fix/cv_rect_monoid_identity
2017-08-01 13:06:37 +00:00
Alexander Alekhin
bab4bc0968
Merge pull request #9284 from ipuustin:dnn-opencl-fixes
2017-08-01 13:06:01 +00:00
Alexander Alekhin
f6c4901b8f
Merge pull request #9279 from alalek:ocl_fix_program_cache
2017-08-01 13:05:43 +00:00
Jiri Horner
bb6496d9e5
Merge pull request #8951 from hrnr:akaze_part2
...
[GSOC] Speeding-up AKAZE, part #2 (#8951 )
* feature2d: instrument more functions used in AKAZE
* rework Compute_Determinant_Hessian_Response
* this takes 84% of time of Feature_Detection
* run everything in parallel
* compute Scharr kernels just once
* compute sigma more efficiently
* allocate all matrices in evolution without zeroing
* features2d: add one bigger image to tests
* now test have images: 600x768, 900x600 and 1385x700 to cover different resolutions
* explicitly zero Lx and Ly
* add Lflow and Lstep to evolution as in original AKAZE code
* reworked computing keypoints orientation
integrated faster function from https://github.com/h2suzuki/fast_akaze
* use standard fastAtan2 instead of getAngle
* compute keypoints orientation in parallel
* fix visual studio warnings
* replace some wrapped functions with direct calls to OpenCV functions
* improved readability for people familiar with opencv
* do not same image twice in base level
* rework diffusity stencil
* use one pass stencil for diffusity from https://github.com/h2suzuki/fast_akaze
* improve locality in Create_Scale_Space
* always compute determinat od hessian and spacial derivatives
* this needs to be computed always as we need derivatives while computing descriptors
* fixed tests of AKAZE with KAZE descriptors which have been affected by this
Currently it computes all first and second order derivatives together and the determiant of the hessian. For descriptors it would be enough to compute just first order derivates, but it is not probably worth it optimize for scenario where descriptors and keypoints are computed separately, since it is already very inefficient. When computing keypoint and descriptors together it is faster to do it the current way (preserves locality).
* parallelize non linear diffusion computation
* do multiplication right in the nlp diffusity kernel
* rework kfactor computation
* get rid of sharing buffers when creating scale space pyramid, the performace impact is neglegible
* features2d: initialize TBB scheduler in perf tests
* ensures more stable output
* more reasonable profiles, since the first call of parallel_for_ is not getting big performace hit
* compute_kfactor: interleave finding of maximum and computing distance
* no need to go twice through the data
* start to use UMats in AKAZE to leverage OpenCl in the future
* fixed bug that prevented computing determinant for scale pyramid of size 1 (just the base image)
* all descriptors now support writing to uninitialized memory
* use InputArray and OutputArray for input image and descriptors, allows to make use UMAt that user passes to us
* enable use of all existing ocl paths in AKAZE
* all parts that uses ocl-enabled functions should use ocl by now
* imgproc: fix dispatching of IPP version when OCL is disabled
* when OCL is disabled IPP version should be always prefered (even when the dst is UMat)
* get rid of copy in DeterminantHessian response
* this slows CPU version considerably
* do no run in parallel when running with OCL
* store derivations as UMat in pyramid
* enables OCL path computing of determint hessian
* will allow to compute descriptors on GPU in the future
* port diffusivity to OCL
* diffusivity itself is not a blocker, but this saves us downloading and uploading derivations
* implement kernel for nonlinear scalar diffusion step
* download the pyramid from GPU just once
we don't want to downlaod matrices ad hoc from gpu when the function in AKAZE needs it. There is a HUGE mapping overhead and without shared memory support a LOT of unnecessary transfers.
This maps/downloads matrices just once.
* fix bug with uninitialized values in non linear diffusion
* this was causing spurious segfaults in stitching tests due to propagation of NaNs
* added new test, which checks for NaNs (added new debug asserts for NaNs)
* valgrind now says everything is ok
* add nonlinear diffusion step OCL implementation
* Lt in pyramid changed to UMat, it will be downlaoded from GPU along with Lx, Ly
* fix bug in pm_g2 kernel. OpenCV mangles dimensions passed to OpenCL, so we need to check for boundaries in each OCL kernel.
* port computing of determinant to OCL
* computing of determinant is not a blocker, but with this change we don't need to download all spatial derivatives to CPU, we only download determinant
* make Ldet in the pyramid UMat, download it from CPU together with the other parts of the pyramid
* add profiling macros
* fix visual studio warning
* instrument non_linear_diffusion
* remove changes I have made to TEvolution
* TEvolution is used only in KAZE now
* Revert "features2d: initialize TBB scheduler in perf tests"
This reverts commit ba81e2a711
.
2017-08-01 12:46:01 +00:00
Ismo Puustinen
c2de5cf735
dnn: force floating point literals to be float.
...
In OpenCL code in activations.cl, make the type of floating point
literals to be float. Otherwise the values will be interpreted as
doubles, causing Beignet to have type conversion issues.
2017-08-01 15:02:24 +03:00
Alexander Alekhin
2959e7aba9
Merge pull request #9188 from arrybn:mobilenet_ssd_sample
2017-08-01 11:12:54 +00:00
Aleksandr Rybnikov
ce1cc352d9
MobileNet SSD sample
2017-08-01 12:30:27 +03:00
Jeremy Maitin-Shepard
350d483a70
grfmt_tiff: support in-memory TIFF encoding and decoding
...
Previously, only file-based encoding and decoding were supported with
the libtiff library, leading to the possible use of temporary files.
This fixes issue #8483 .
2017-07-31 10:22:11 -07:00
Alexander Alekhin
d34eec3ab3
Merge pull request #9278 from alalek:ts_perf_threads
2017-07-31 16:21:51 +00:00
Jeremy Maitin-Shepard
2be955a0ef
loadsave: check for errors when using temp file
...
Previously, the return value of fwrite and fclose were not properly
checked, leading to possible silent truncation of the data if writing
failed, e.g. due to lack of disk space.
Fixes issue #9251 .
2017-07-31 09:02:42 -07:00
Alexander Alekhin
16fb74425e
ocl: fix program cache key
2017-07-31 17:24:08 +03:00
Alexander Alekhin
3786d30320
Merge pull request #9225 from paroj:reproject_cpp
2017-07-31 14:11:37 +00:00
Alexander Alekhin
50b9a5afa9
ts(perf): initialize ThreadPool
2017-07-31 16:51:08 +03:00
Alexander Alekhin
06a9c16961
Merge pull request #9275 from alalek:cmake_protobuf_optional
2017-07-31 12:03:54 +00:00
Alexander Alekhin
d22506092e
Merge pull request #9274 from alalek:ipp_meanstddev
2017-07-31 12:02:59 +00:00
Alexander Alekhin
728bd68977
Merge pull request #9272 from tomoaki0705:fixCudaBuild
2017-07-31 12:02:40 +00:00
Alexander Alekhin
cbced23de4
cmake: don't include protobuf on disabled DNN module
2017-07-31 14:18:59 +03:00
Alexander Alekhin
e58a778bd5
core(stat): disable IPP optimization in meanStdDev (cn > 1)
2017-07-31 14:09:18 +03:00
Tomoaki Teshima
1c49796e8e
guad for CUDA correctly
2017-07-31 18:42:36 +09:00
Alexander Alekhin
46f05f2db6
python: disable assertion in NumpyAllocator
2017-07-30 14:44:11 +03:00
Alexander Alekhin
15a6586062
python: stitching simple test
2017-07-30 14:44:10 +03:00
Alexander Alekhin
fffd0f5b68
Merge pull request #9241 from alalek:tlsSlotsSize
2017-07-30 09:53:39 +00:00
Suleyman TURKMEN
89480801b8
some improvements on tutorials
2017-07-29 20:08:19 +03:00
Alexander Alekhin
b46e741c95
core(alloc): drop unused code, use memalign() functions instead of hacks
...
valgrind provides better detection without memory buffer hacks
2017-07-27 18:10:41 +03:00
Alexander Alekhin
34f9c039c5
Merge pull request #9238 from alalek:valgrind_fixes
2017-07-27 14:33:01 +00:00
Alexander Alekhin
d35422b523
core(tls): hide assertions from Thread Sanitizer
2017-07-27 17:31:51 +03:00
Alexander Alekhin
68ef903a7c
core(tls): don't use tlsSlots without synchronization
2017-07-26 22:45:55 +03:00
Alexander Alekhin
06407b4d14
Merge pull request #9233 from LaurentBerger:dnndoc
2017-07-26 16:25:28 +00:00
Alexander Alekhin
12213f9985
flann: fix out of buffer access
2017-07-26 18:17:03 +03:00
Alexander Alekhin
caa5e3b4c5
imgproc: fix vectorized code of accumulate
2017-07-26 17:21:46 +03:00
Alexander Alekhin
2e17251160
calib3d: fix invalid memory access
2017-07-26 17:21:46 +03:00
Alexander Alekhin
3f102e5d3a
dnn: protobuf shutdown
2017-07-26 17:21:46 +03:00
Alexander Alekhin
aad6d28e13
ts: don't run large videoio test (valgrind)
2017-07-26 17:21:46 +03:00
Alexander Alekhin
1650c664bc
ts: don't run imgcodecs tests on large images (valgrind)
2017-07-26 17:21:46 +03:00
Alexander Alekhin
d17b099994
ts: don't run DNN tests with large models (valgrind)
2017-07-26 17:21:46 +03:00
Alexander Alekhin
bf0173bf38
ts: update valgrind suppressions
2017-07-26 17:21:45 +03:00
Alexander Alekhin
b4e300b78b
Merge pull request #9236 from dkurt:fix_json_bool
2017-07-26 13:08:13 +00:00
Alexander Alekhin
402a77e7f7
Merge pull request #9237 from alalek:fix_winrt_build
2017-07-26 10:42:49 +00:00
Alexander Alekhin
2ca561f104
Merge pull request #9217 from alalek:cleanup_3rdparty
2017-07-26 10:38:28 +00:00
dkurt
583b327523
Fix JSON booleans without quotes
2017-07-26 12:51:06 +03:00
LaurentBerger
69fd57bc96
update tutorial link for dnn
2017-07-25 19:32:17 +02:00
Alexander Alekhin
c512bf6c66
Merge pull request #9232 from dkurt:json_named_nodes
2017-07-25 15:56:03 +00:00
Alexander Alekhin
bcff9fd067
Merge pull request #9229 from alalek:dnn_torch_memory_leaks
2017-07-25 13:23:18 +00:00
dkurt
3515f6ec33
Missed NAMED bit of JSON nodes tag
2017-07-25 13:39:32 +03:00
Alexander Alekhin
602f047fe8
build: replace WIN32 => _WIN32
2017-07-25 13:30:48 +03:00
Alexander Alekhin
7f3eea6325
core: fix Mat/UMat cleanup on exceptions in deallocate()
2017-07-25 12:27:30 +03:00
Alexander Alekhin
878a6906cc
dnn: fix torch importer memory leaks
2017-07-25 12:20:55 +03:00
Pavel Rojtberg
94fdd45b75
calib3d: rewrite reprojectImageTo3D using Matx expressions
...
about the same speed, but significatly more readable
2017-07-24 17:36:31 +02:00
dkurt
70ff3804e9
Fix SqueezeNet Halide performance test
2017-07-24 10:45:04 +03:00
Alexander Alekhin
432d0fd707
Merge pull request #9213 from tomoaki0705:fixDnnBaseline
2017-07-21 13:34:47 +00:00
Alexander Alekhin
e45d5446f2
cleanup unused 3rdparty files
2017-07-21 15:20:13 +03:00
Tomoaki Teshima
0f91faddae
fix linker error when trying CPU_BASELINE=AVX
2017-07-21 21:13:47 +09:00
Alexander Alekhin
bc3c7e80a6
Merge pull request #9209 from alalek:fix_persistence_format
2017-07-21 10:55:40 +00:00
Alexander Alekhin
544eb4be1f
IPP: update minMaxIdx, disable some AVX optimizations with mask
2017-07-21 12:56:36 +03:00
Alexander Alekhin
d9e092325b
test: regression test for IPP minMaxIdx problem
2017-07-21 12:55:07 +03:00
Alexander Alekhin
ec7ce81401
core: fix FileStorage format detection in case of .gz archives
2017-07-20 19:58:36 +03:00
Alexander Alekhin
5bc291937f
test: FileStorage format regression test
2017-07-20 19:58:10 +03:00
Alexander Alekhin
9313978f61
Merge pull request #9190 from alalek:update_java_build
2017-07-20 15:32:47 +00:00
Alexander Alekhin
ce6b06efb9
Merge pull request #9203 from tomoaki0705:eliminateRandFromTest
2017-07-20 15:31:41 +00:00
Alexander Alekhin
928552ac9e
Merge pull request #9206 from tomoaki0705:fixC11VS2012
2017-07-20 15:27:25 +00:00
Alexander Alekhin
ab58cac236
Merge pull request #9194 from tomoaki0705:fixBuildErrorDnn
2017-07-20 15:27:07 +00:00
Tomoaki Teshima
71496e3be4
fix build error on Visual Studio 2012
2017-07-20 22:56:05 +09:00
Tomoaki Teshima
e63d628677
remove some rand functions
...
* make test more reproducible
2017-07-20 22:43:11 +09:00
Alexander Alekhin
dcb3c4ff1e
Merge pull request #9189 from tomoaki0705:fixCalib3dRandom
2017-07-20 12:24:34 +00:00
Alexander Alekhin
ad183481c0
perf: skip stitching OpenCL test on Win32 platform
2017-07-20 14:14:22 +03:00
Alexander Alekhin
08c94aa5c0
build: reuse int32_t workaround from softfloat.hpp
2017-07-20 14:01:21 +03:00
Tomoaki Teshima
1989bc33a7
fix build error on Visual Studio 2012
2017-07-20 11:00:04 +09:00
Tomoaki Teshima
46bee83005
fix the test fail on Calib3d_SolvePnP.accuracy
...
* move array size to enum
* move array size to member variable
* loosen the eps of SOLVEPNP_P3P
* loosen the eps in Calib3d_SolveP3P.accuracy
2017-07-20 06:32:32 +09:00
Alexander Alekhin
2360291c3e
java: update source files processing, maven stuff
2017-07-19 22:39:23 +03:00
Alexander Alekhin
ca479c3f5b
Merge pull request #9161 from alalek:separate_debug_symbols
2017-07-19 15:34:43 +00:00
Alexander Alekhin
773365405f
Merge pull request #9037 from arrybn:googlenet_test
2017-07-18 16:35:00 +00:00
Alexander Alekhin
cb0a61b9ba
Merge pull request #9181 from alalek:stitching_perf_test
2017-07-18 15:53:32 +00:00
Aleksandr Rybnikov
7d1140340e
Rewrote googlenet tests
2017-07-18 18:49:14 +03:00
Alexander Alekhin
862242aa8d
stitching(perf): check for available OpenCL memory
2017-07-18 17:26:21 +03:00
Alexander Alekhin
1ff6c758ec
photo: crash workaround for MSVC 2015 32-bit
2017-07-18 16:04:35 +03:00
Rostislav Vasilikhin
70b984434d
RGB2Lab_f and trilinear interpolation code are in separate branch; cubeRoot(x) instead of std::pow(x, 1.f/3.f)
...
file with internal accuracy&speed tests moved to lab_tetra branch
2017-07-17 21:59:54 +03:00
Alexander Alekhin
e5ed9cc612
Merge pull request #8498 from savuor:bit_exact_lab
2017-07-17 14:01:05 +00:00
Alexander Alekhin
1fbf914348
Merge pull request #9176 from alalek:fix_nightly_builds
2017-07-17 13:37:46 +00:00
Alexander Alekhin
4bb4a349c9
imgproc: fix warp optimizations
2017-07-17 15:12:41 +03:00
Alexander Alekhin
b4716b1d92
core: fix convertTo() AVX2 optimization
2017-07-17 15:02:14 +03:00
Alexander Alekhin
acc8589083
core: clarify documentation of cv::Mat::deallocate() method
2017-07-17 13:31:47 +03:00
Shuyu Liang
c10d08f795
Fix typo in imgproc.hpp
2017-07-17 15:51:10 +08:00
Rostislav Vasilikhin
4b75be801e
initial version of Lab2RGB_f tetrahedral interpolation written
...
RGB2Lab_f added, bugs fixed, moved to float
several bugs fixed
LUT fixed, no switch in tetraInterpolate()
temporary code; to be removed and rewritten
before refactoring
extra interpolations removed, some things to do left
added Lab2RGB_b +XYZ version, etc.
basic version is done, to be sped up
tetra refactored
interpolations: LUT for weights, refactor., etc.
address arithm optimized
initial version of vectorized code added (not compiling now)
compilation fixed, now segfaults
a lot of fixes, vectorization temp. disabled
fixed trilinear shift size, max error dropped from 19 to 10
fixed several bugs (255 vs 256, signed vs unsigned, bIdx)
minor changes
packed: address arithmetics fixed
shorter code
experiments with pure integer calculations
Lab2RGB max error decreased to 2; need to clean the code
ready for vectorization; need cleaning
vectorized, to be debugged
precision fixed, max error is 2
Lab->XYZ shortened
minor fixes
Lab2RGB_f version fixed, to be completely rewritten using _b code
RGB2Lab_f vectorized
minors
moved to separate file
refactored Lab2RGB to float and int versions
minor fix
Lab2RGB_f vectorized
minor refactoring
Lab2RGBint refactored: process methods, vectorize by 4 pix
Lab2RGB_f int version is done
cleanup extra code
code copied to color.cpp
fixed blue idx bug
optimizations enabled when testing; mulFracConst introduced
divConst -> mulFracConst
calc min time in perf instead of avg
minors
process() slightly sped up
Lab2RGB_f: disabled int version
reinterpret added, minor fixes in names
some warnings fixed
changes transferred to color.cpp
RGB2Lab_f code (and trilinear interpolation code) moved to rgb2lab_faster
whitespace
shift negative fixed
more warnings fixed
"constant condition" warnings fixed, little speed up
minor changes
test_photo decolor fixed
changes copied to test_lab.cpp
idx bounds checking in LUT init
several fixes
WIP: softfloat almost integrated
test_lab partially rewritten to SoftFloat
color.cpp rewritten to SoftFloat
test_lab.cpp: accuracy code added
several fixes
RGB2Lab_b testing fixed
splineBuild() rewritten to SoftFloat
accuracy control improved
rounding fixed
Luv <=> RGB: rewritten to SoftFloat
OCL cvtColor Lab and Lut rewritten to SoftFloat
minor fixes
refactored to new SoftFloat interface
round() -> cvRound, etc.
fixed OCL tests
softfloat.cpp: internal functions made static, unused ones removed
meaningful constants
extra lines removed
unused function removed
unfinished work
it works, need to fix TODOs
refactoring; more calls rewritten
mulFracConst removed
constants made bit exact; minors
changes moved to color.cpp
fixed 1 bug and 4 warnings
OCL: fixed constants
pow(x, _1_3f) replaced by cubeRoot(x)
fixed compilation on MSVC32
magic constants explained
file with internal accuracy&speed tests moved to lab_tetra branch
2017-07-17 00:32:30 +03:00
Alexander Alekhin
c455fc0334
Merge pull request #9133 from sovrasov:mser_add_test
2017-07-14 19:38:05 +00:00
Alexander Alekhin
42c0914382
Merge pull request #9086 from catree:improve_solvePnPRansac
2017-07-14 17:28:47 +00:00
Alexander Alekhin
49e1f6b161
Merge pull request #9091 from alalek:update_ffmpeg
2017-07-14 17:25:35 +00:00
Alexander Alekhin
1a4c22fc46
Merge pull request #9095 from alalek:fix_gstreamer
2017-07-14 17:24:14 +00:00
Alexander Alekhin
d07eb9ad60
Merge pull request #9157 from zhmu:opencv-dshow-allow-enable-disable-of-debug-messages
2017-07-14 17:18:31 +00:00
Alexander Alekhin
5a54acef4e
Merge pull request #9130 from alalek:android_define
2017-07-14 17:17:24 +00:00
Vladislav Sovrasov
e5fbb4f5d2
Merge pull request #9034 from sovrasov:mats_from_initializer_list
...
Add constructors taking initializer_list for some of OpenCV data types (#9034 )
* Add a constructor taking initializer_list for Matx
* Add a constructor taking initializer list for Mat and Mat_
* Add one more method to initialize Mat to the corresponding tutorial
* Add a note how to initialize Matx
* CV_CXX_11->CV_CXX11
2017-07-14 17:17:09 +00:00
Alexander Alekhin
11626fe32c
Merge pull request #8975 from sovrasov:fs_additional_errors
2017-07-14 17:13:50 +00:00
Alexander Alekhin
63e89bc326
Merge pull request #9048 from sovrasov:morph_hitmiss_fix
...
imgproc: fix MORPH_HITMISS operation when kernel has no negative values
2017-07-14 17:13:06 +00:00
Satoshi Tanaka
96a3c7954d
Merge pull request #8914 from stnk20:gstreamer_yuv
...
Add gstreamer capture capability for some YUV formats (#8914 )
* Add gstreamer capture capability for some YUV formats.(only for gstreamer-1.0)
* avoid cross initialization error
* add checking if pipeline is manualpipeline, for compatibility.
2017-07-14 17:11:30 +00:00
Vladislav Sovrasov
25af743902
mser: add a couple of new regression tests
2017-07-14 20:07:32 +03:00
gylns
6d1cdcf601
Merge pull request #8910 from gylns:mser
...
fix the MSER history's size issue (#8910 )
* simplify growHistory and merge
* add assertion for history's size
* MSER: fix merging components' history
2017-07-14 16:58:56 +00:00
Alexander Alekhin
dc59476c34
Merge pull request #9078 from arrybn:resnet_squeezenet_tests
...
Added tests for ResNet-50 and SqueezeNet v1.1
2017-07-14 16:50:25 +00:00
Alexander Alekhin
4e39d0371d
Merge pull request #9074 from alalek:cpu_dispatch_core_hamming
...
cpu dispatch(core): hamming
2017-07-14 16:48:07 +00:00
Alexander Alekhin
11feae6631
Merge pull request #9041 from terfendail:filter_avx
...
AVX optimized implementation of separable filters migrated
2017-07-14 16:45:27 +00:00
Alexander Alekhin
eef78f5664
Merge pull request #9061 from terfendail:convert_avx
...
AVX and SSE4.1 optimized conversion migrated
2017-07-14 16:43:54 +00:00
Alexander Alekhin
9ef742bbf4
Merge pull request #9082 from terfendail:imgwarp_avx
...
AVX and SSE4.1 optimized implementation of resize and warp functions migrated
2017-07-14 16:42:42 +00:00
Alexander Alekhin
928bfe0b93
Merge pull request #9088 from sovrasov:no_nostl
...
core: get rid of OPENCV_NOSTL definition
2017-07-14 16:26:03 +00:00
Alexander Alekhin
86e8a105a5
Merge pull request #9090 from vpisarev:dnn_optim_scale_concat
2017-07-14 16:21:24 +00:00
Alexander Alekhin
fe7fd4c312
Merge pull request #9098 from savuor:fix/luv_div
2017-07-14 15:46:03 +00:00
Vadim Pisarevsky
0488d9bdb2
optimize out scaleLayer & concatLayer whenever possible
...
fixed problem in concat layer by disabling memory re-use in layers with multiple inputs
trying to fix the tests when Halide is used to run deep nets
another attempt to fix Halide tests
see if the Halide tests will pass with concat layer fusion turned off
trying to fix failures in halide tests; another try
one more experiment to make halide_concat & halide_enet tests pass
continue attempts to fix halide tests
moving on
uncomment parallel concat layer
seemingly fixed failures in Halide tests and re-enabled concat layer fusion; thanks to dkurt for the patch
2017-07-14 18:30:53 +03:00
Alexander Alekhin
431e2e6d68
Merge pull request #9042 from terfendail:haar_avx
...
AVX optimized implementation of haar migrated to separate file
2017-07-14 15:05:11 +00:00
Alexander Alekhin
9439872a62
Merge pull request #9021 from terfendail:corner_avx
2017-07-14 14:58:06 +00:00
Alexander Alekhin
f6dd549e58
Merge pull request #9027 from terfendail:undistort_avx
2017-07-14 14:56:42 +00:00
Alexander Alekhin
454bc7a674
Merge pull request #9063 from alalek:hamming_perf_test
2017-07-14 14:46:17 +00:00
Alexander Alekhin
8f4b534937
Merge pull request #9093 from wzw-intel:histogram
2017-07-14 14:38:55 +00:00
Alexander Alekhin
e251ed7773
Merge pull request #9122 from ivsgroup:fix_msvc_virtual_destructor
2017-07-14 14:37:22 +00:00
Alexander Alekhin
7d17d20dce
Merge pull request #9153 from sovrasov:fix_tangent_dist_flag
2017-07-14 14:35:51 +00:00
Alexander Alekhin
10e6491c22
Merge pull request #9024 from tomoaki0705:featureDispatchAccumulate
2017-07-14 14:30:06 +00:00
Alexander Alekhin
f448d75aa8
build: added DEBUG build guard
...
To prevent linkage of binary incompatible DEBUG/RELEASE binaries/runtimes
2017-07-14 01:25:31 +03:00
Alexander Alekhin
4784c7be5f
dnn: cleanup dispatched code, fix SIMD128 types
2017-07-13 19:00:34 +03:00
Alexander Alekhin
c3e6de293f
dnn: code cleanup, refactor detection output layer
2017-07-13 19:00:34 +03:00
Alexander Alekhin
544908d06c
dnn: some minor fixes in docs, indentation, unused code
2017-07-13 15:33:49 +03:00
Alexander Alekhin
520da7aaaf
Merge pull request #9111 from vpisarev:dnn_optim_avx1
2017-07-13 12:27:05 +00:00
Vladislav Sovrasov
bb0f9d6bc4
core: use matlab-style in 2d fftShift
2017-07-13 13:33:02 +03:00
Rink Springer
df7fb00c21
dshow: Only show debugging messages if environment variable OPENCV_DSHOW_DEBUG is explicitly set to non-zero
...
Based on discussion at: https://github.com/opencv/opencv/pull/9051
2017-07-13 11:44:20 +02:00
Vladislav Sovrasov
fa17267e05
calib3d: fix not working CALIB_FIX_TANGENT_DIST flag
2017-07-13 10:49:35 +03:00
Alexander Alekhin
ed4de20fd1
Merge pull request #9107 from alalek:static_analyze_python
2017-07-12 16:45:14 +00:00
Alexander Alekhin
9b9e685dbc
Merge pull request #9142 from alalek:vzeroupper_guard_unused_warning
2017-07-12 16:44:00 +00:00
Alexander Alekhin
49bb0bf9c8
Merge pull request #9149 from alalek:ocl_fp16_test
2017-07-12 16:23:33 +00:00
Alexander Alekhin
d6c5e18e24
core(test): fix input data for OCL FP16 test
2017-07-12 18:51:11 +03:00
Vladislav Sovrasov
a683a496ea
core: use matlab-style 1d fftShift in pc
2017-07-12 18:01:58 +03:00
Alexander Alekhin
5ebfb52a4a
ipp(minmaxIdx): disable SSE4.2 optimizations for 32f datatype
...
NaN values handling issue
2017-07-12 16:06:18 +03:00
PkLab.net
6dd9e18b2e
add std::string overload for cv::read()
2017-07-12 15:51:11 +03:00
Vladislav Sovrasov
5b833db558
core: forbid conversion real->int in some cases in FileStorage
2017-07-12 15:50:57 +03:00
Alexander Alekhin
e7cc2eea1d
build: fix unused variable warning for vzeroupper guard
2017-07-11 16:46:35 +03:00
Alexander Alekhin
9365817bfd
Merge pull request #9131 from dkurt:fix_eltwise_layer
2017-07-11 07:18:42 +00:00
Maksim Shabunin
02db592014
Fixed several issues found by static analysis (Windows specific)
2017-07-10 23:14:02 +03:00
dkurt
3203635765
Eltwise layer fixes
2017-07-10 12:58:11 +03:00
Alexander Alekhin
a4a47b538c
build: detect Android via '__ANDROID__' macro
...
https://sourceforge.net/p/predef/wiki/OperatingSystems
2017-07-10 12:43:59 +03:00
Pascal Thomet
309c962169
core/bufferpool.hpp: let msvc accept a non virtual protected destructor
...
BufferPoolController has a non virtual protected destructor (which is legitimate)
However, Visual Studio sees this as a bug, if you enable more warnings, like below
```
add_compile_options(/W3) # level 3 warnings
add_compile_options(/we4265) # warning about missing virtual destructors
```
This is a proposition in order to silence this warning.
See https://github.com/ivsgroup/boost_warnings_minimal_demo for a demo of the same problem
with boost/exception.hpp
2017-07-08 16:15:26 +02:00
Alexander Alekhin
da8dbf6cf5
ocl: async cl_buffer cleanup queue (for event callback)
2017-07-07 13:41:20 +03:00
Tomoaki Teshima
e7d5dbfec0
dispatch accumulate series
...
- use universal intrinsic for base
- dispatch for float/double version using AVX
- AVX2 optimization not done yet
2017-07-07 18:45:30 +09:00
Vadim Pisarevsky
ed9564106c
reuse AVX2-optimized kernels for AVX1 CPUs (like IvyBridge)
2017-07-06 21:36:59 +03:00
Alexander Alekhin
b32d914aab
static analyze: python dynamic_cast checks
2017-07-06 17:11:51 +03:00
Alexander Alekhin
daee982106
ocl: rework events handling with clSetEventCallback
2017-07-06 13:25:32 +03:00
Vitaly Tuzov
526d1d6db1
AVX optimized implementation of undistort migrated to separate file
2017-07-06 12:08:25 +03:00
Rostislav Vasilikhin
aa621d6f3c
magic constants explained
2017-07-06 00:30:53 +03:00
Rostislav Vasilikhin
704c688225
OCL code fixed, fix for NEON added
2017-07-05 22:08:49 +03:00
Rostislav Vasilikhin
6c71988c54
RGB2Luv_f: R, G, B limited to [0, 1]
2017-07-05 22:08:49 +03:00
Rostislav Vasilikhin
82811d0706
Luv: singularities fixed
2017-07-05 22:08:49 +03:00
Piotr Semenov
c5b5d5c8d3
Fix. Now cv::Rect() is the identity under cv::Rect::operator| operation
2017-07-05 19:01:13 +03:00
Alexander Alekhin
cc862e996e
videoio: fixes for GStreamer support
...
- emulated frame counter (with autodetection of GStreamer broken behavior)
- skip 'seek' tests if seeking is not supported by backend
- update 'fps' and total frames checks (increase error tolerance)
- update synthetic image generation
2017-07-05 16:52:48 +03:00
wzw
635342ab73
ocl_calcHist1: Use proper local size for merge_histogram kernel
...
merge_histogram kernel only need "BINS" theads to accumulate the
histgrams, it is not efficient to directly use maxGroupSize as
local size if maxGroupSize is far greater then BINS.
2017-07-05 21:24:09 +08:00
catree
98c78e0acd
Use directly solvePnP when the number of input points is equal to the number of model points. Enable useExtrinsicGuess parameter. Return rvec and tvec estimated using all the inliers instead of the best rvec and tvec estimated during the Minimal Sample Sets step. Document the behavior of solvePnPRansac.
2017-07-05 13:17:38 +02:00
Alexander Alekhin
6833b46a05
videoio(test): fix message
2017-07-05 13:45:34 +03:00
Vitaly Tuzov
fadf25acd6
SSE4_1 optimized implementation of resize and warp functions migrated to separate file
2017-07-04 17:05:36 +03:00
Vitaly Tuzov
77264dcca9
AVX optimized implementation of haar migrated to separate file
2017-07-04 16:54:48 +03:00
Vitaly Tuzov
5448d9186a
AVX and SSE4.1 optimized conversion implementations migrated to separate files
2017-07-04 14:48:01 +03:00
Vladislav Sovrasov
2a2a1dc5b4
Get rid of OPENCV_NOSTL definition
2017-07-04 14:17:02 +03:00
Vitaly Tuzov
4d0f789e0a
AVX optimized implementation of separable filters migrated to separate file
2017-07-04 13:47:47 +03:00
Aleksandr Rybnikov
d3c14ce3ea
Added tests for ResNet-50 and SqueezeNet v1.1
2017-07-04 12:19:27 +03:00
Vladislav Sovrasov
42936d3227
imgproc: fix MORPH_HITMISS operation when kernel has no negative values
2017-07-04 11:17:44 +03:00
Alexander Alekhin
7b8e6307f8
Merge pull request #9080 from alalek:version_3.3.0-rc
...
version 3.3.0-rc
2017-07-03 16:21:45 +00:00
Alexander Alekhin
823353d3ac
Merge pull request #9067 from D-Alex:master
...
Fix error message fisheye CALIB_CHECK_COND
2017-07-03 16:20:03 +00:00
Tony Lian
c8783f3e23
Merge pull request #9075 from TonyLianLong:master
...
Remove unnecessary Non-ASCII characters from source code (#9075 )
* Remove unnecessary Non-ASCII characters from source code
Remove unnecessary Non-ASCII characters and replace them with ASCII
characters
* Remove dashes in the @param statement
Remove dashes and place single space in the @param statement to keep
coding style
* misc: more fixes for non-ASCII symbols
* misc: fix non-ASCII symbol in CMake file
2017-07-03 16:14:17 +00:00
Alexander Alekhin
9aaf6a66a3
Merge pull request #9073 from berak:dnn_fix_tutorial_links
2017-07-03 16:11:10 +00:00
Alexander Alekhin
ced9d2357c
Merge pull request #9070 from catree:imshow_64bits_doc
2017-07-03 16:10:13 +00:00
Alexander Alekhin
8aa3011f2d
Merge pull request #9064 from sadika9:patch-1
2017-07-03 16:07:53 +00:00
Alexander Alekhin
7bb9237d99
Merge pull request #9060 from alalek:canny_inplace_bug
2017-07-03 16:06:50 +00:00
Alexander Alekhin
11a726ceb3
Merge pull request #9057 from alalek:static_build_workaround
2017-07-03 16:05:31 +00:00
Alexander Alekhin
7621cc19dc
Merge pull request #9054 from zhmu:upstream
2017-07-03 16:04:11 +00:00
Alexander Alekhin
5590aea411
Merge pull request #8998 from abratchik:DNN.java.wrappers.fix
2017-07-03 16:02:49 +00:00
Vitaly Tuzov
3681dcef1a
AVX optimized implementation of resize and warp functions migrated to separate file
2017-07-03 18:18:20 +03:00
Alexander Alekhin
1b8d363231
version 3.3.0-rc
2017-07-03 16:47:05 +03:00
Alexander Alekhin
108188e42f
Merge pull request #9032 from sovrasov:mat_doc_update
2017-07-03 12:46:42 +00:00
Vladislav Sovrasov
f42b7d03b4
core: add a test of iteration through the Mat_ with range-based for
2017-07-03 12:49:17 +03:00
Vladislav Sovrasov
267fdc4c91
Add a note about cxx11 range-based loop in Mat_ documentation
2017-07-03 12:49:11 +03:00
Alexander Alekhin
32d1eb36df
dnn: fix links
2017-07-03 12:44:27 +03:00
Alexander Alekhin
b3f5e3bf94
core(stat): optimize size of binaries, drop AVX dispatch (no imrovements)
2017-07-02 22:45:10 +00:00
Alexander Alekhin
b66c349bba
core(stat): add required CV_AVX_GUARD
...
Added guard with 'vzeroupper' instruction
2017-07-02 22:45:10 +00:00
Alexander Alekhin
c45d3568ae
core(stat): register dispatched code, fix build
2017-07-02 22:45:10 +00:00
Alexander Alekhin
6a6222d21c
core(stat): remove useless checks
2017-07-02 22:45:10 +00:00
Alexander Alekhin
880052d3f3
core(stat): create dispatch.cpp file
2017-07-02 22:45:10 +00:00
Alexander Alekhin
85afbd409b
core(stat): move implementations into .hpp file w/o changes
2017-07-02 22:45:09 +00:00
Alexander Alekhin
03c3e0edcf
core(stat): stat.cpp minor refactoring
...
- remove unused code
- added: #if CV_ENABLE_UNROLLED in Hamming's functions
2017-07-02 22:45:09 +00:00
berak
34c0ab5878
dnn: fix some tutorial links
2017-07-02 10:09:27 +02:00
abratchik
8f7181429f
add java wrappers to dnn module
2017-07-02 11:46:20 +04:00
catree
d06619ab15
Add 64-bit imshow behavior in the documentation.
2017-07-02 00:41:29 +02:00
Alexander Duda
5ca7dcc6e7
Fix error message fisheye CALIB_CHECK_COND
...
The old error message was not giving any hint which input array (image)
led to an ill conditioned matrix. This made it near impossible to
identify poor images in a larger set.
A better approach would be to implement a checker function which gives
each image a rating before the real calibration is performed. This could
also include some image properties like sharpness, etc.
2017-07-01 13:31:21 -02:30
Maksim Shabunin
1f23202ad8
Issues found by static analysis (5th round)
2017-07-01 18:56:24 +03:00
tribta
6512a4b7e3
OpenCV Java Highgui Class
...
The objective is to:
*Reduce greatly the number of lines of code in the Java codes;
*Make it easy for Java users to add a trackbar and show the results;
*Get the code more similar between C++, Java and Python, making the tutorials more uniform.
2017-07-01 11:07:20 +01:00
Sadika Sumanapala
40e1f2fc03
Fix style
2017-07-01 06:59:27 +05:30
Alexander Alekhin
582bb3c311
core(perf): added Hamming tests
2017-07-01 00:49:18 +00:00
Alexander Alekhin
cdf2a59afa
canny: disallow broken inplace arguments
2017-06-30 19:32:16 +03:00
Alexander Alekhin
c5a6846866
static build workaround
2017-06-30 18:17:32 +03:00
Rink Springer
3ce1bca670
Prevent crash when attempting to create training data without responses.
...
This is at least useful when using an SVM one-class linear classifier, so there are valid use cases.
2017-06-30 15:36:47 +02:00
Alexander Alekhin
6ea6e4bceb
binding: fix headers processing
2017-06-30 14:53:21 +03:00
Alexander Alekhin
2db45c8a85
hdr_parser: ignore lines with 'CV__' macros
2017-06-30 14:36:08 +03:00
Alexander Alekhin
a84a5e8f1a
Merge pull request #8936 from terfendail:clipline_fix
2017-06-30 10:55:09 +00:00
Maksim Shabunin
638a01a014
Merge pull request #9038 from mshabunin:fix-static-4
2017-06-30 10:39:36 +00:00
Maksim Shabunin
90d2f8b5fe
Merge pull request #9035 from alalek:dnn_fix_halide_tests
2017-06-30 10:29:13 +00:00
Maksim Shabunin
e0393f8557
Fixed some issues found by static analysis (4th round)
2017-06-30 12:26:53 +03:00
Neil Shipp
3f72ff215e
Fix WinRT build breaks in highgui and videoio.
2017-06-29 17:56:09 -07:00
Alexander Alekhin
64b483c65b
Merge pull request #9033 from alalek:sgbm_disable_perf_in_debug
2017-06-29 16:16:55 +00:00
Aleksandr Rybnikov
fab4f4b9d5
Disabled logging in caffe parser in release
2017-06-29 17:36:48 +03:00
Alexander Alekhin
72a765d766
dnn: fix compilation of Halide tests
2017-06-29 16:36:34 +03:00
Vitaly Tuzov
1ed9a58b64
AVX optimized implementation of Harris corner detector migrated to separate file
2017-06-29 15:19:23 +03:00
Vadim Pisarevsky
2ac819018d
Merge pull request #9014 from sovrasov:compare_scalars_fix
2017-06-29 11:14:44 +00:00
Vadim Pisarevsky
5f1b6ee889
Merge pull request #9017 from sovrasov:parallel_for_cxx11
2017-06-29 11:12:57 +00:00
Vadim Pisarevsky
ac49a17a82
Merge pull request #9022 from dkurt:keep_conv_weights_for_halide
2017-06-29 11:09:17 +00:00
Vadim Pisarevsky
fb1dcdd17d
Merge pull request #9029 from alalek:dnn_cleanup_torch
2017-06-29 11:07:35 +00:00
Alexander Alekhin
b84cbeec8c
calib3d(perf): disable SGBM tests in debug mode
...
because they are too long (takes minutes)
2017-06-29 12:49:47 +03:00
Maksim Shabunin
f6a33c4826
Merge pull request #9031 from huangqinjin:gtk
2017-06-29 07:59:56 +00:00
Maksim Shabunin
f1a56cb4b7
Merge pull request #9028 from alalek:dnn_experimental_namespace
2017-06-29 07:37:04 +00:00
Maksim Shabunin
9087778b06
Merge pull request #8895 from lewisjb:python-docstrings
2017-06-29 07:35:33 +00:00
Maksim Shabunin
ace0701a46
Merge pull request #9019 from alalek:dnn_trace
2017-06-29 07:33:46 +00:00
Maksim Shabunin
ca9622145e
Merge pull request #9026 from alalek:remove_danger_define
2017-06-29 07:28:38 +00:00
huangqinjin
aa75b6067c
gtk: check NULL before unref
2017-06-29 11:35:34 +08:00
Alexander Alekhin
511e50c19c
dnn: cleanup torch integration code
2017-06-28 21:49:37 +00:00
Alexander Alekhin
324851882a
Merge pull request #9025 from mshabunin:fix-static-3
2017-06-28 20:50:21 +00:00
Alexander Alekhin
da0960321b
dnn: added "hidden" experimental namespace
...
Main purpose of this namespace is to avoid using of incompatible
binaries that will cause applications crashes.
This additional namespace will not impact "Source code API".
This change allows to maintain ABI checks (with easy filtering out).
2017-06-28 20:36:57 +00:00
Alexander Alekhin
b9a2d7b600
build: remove #define to prevent unexpected impact on user applications
2017-06-28 18:50:55 +03:00
Maksim Shabunin
a769d69a9d
Fixed several issues found by static analysis
2017-06-28 18:06:18 +03:00
dkurt
b46f5b1b38
Align convolutional layer weights separately from origin ones
2017-06-28 17:05:56 +03:00
Vladislav Sovrasov
08db55fb62
core: add CV_CXX_11 flag to cvdef.h
2017-06-28 16:17:53 +03:00
Vladislav Sovrasov
3c748ccf10
core: add an ability to use cxx11 lambda as a parallel_for_ body
2017-06-28 16:16:05 +03:00
Tong Ke
8088d6785a
Merge pull request #8585 from tonyke1993:ap3p
...
Enable p3p and ap3p in solvePnPRansac (#8585 )
* add paper info
* allow p3p and ap3p being RANSAC kernel
* keep previous code
* apply catrees comment
* fix getMat
* add comment
* add solvep3p test
* test return value
* fix warnings
2017-06-28 15:27:30 +03:00
Vladislav Sovrasov
35a1ecef2a
core: fix infinite recursion in compare
2017-06-28 15:00:52 +03:00
Alexander Alekhin
ed10383359
dnn: added trace macros
2017-06-28 14:57:26 +03:00
Alexander Alekhin
dcf3d988d5
Merge pull request #8543 from csukuangfj:fix-String
2017-06-28 11:20:29 +00:00
Vadim Pisarevsky
7567eb8433
Merge pull request #8953 from mattmyne:cocoa_window_32_64_objc_fix
2017-06-28 10:56:21 +00:00
Vadim Pisarevsky
c5faa9aefa
Merge pull request #9013 from arrybn:ssd_last_layers_optim
2017-06-28 10:38:55 +00:00
Vadim Pisarevsky
bbb14d3746
Merge pull request #9003 from dkurt:halide_bug_fixes
2017-06-28 08:48:27 +00:00
Aleksandr Rybnikov
ec321e651f
Removed usage of std::map in DetectionOutput layer
2017-06-28 11:31:38 +03:00
Vadim Pisarevsky
2ae849091c
Merge pull request #9009 from alalek:fix_dnn_initialization
2017-06-28 08:26:29 +00:00
Vadim Pisarevsky
8b3d6603d5
another round of dnn optimization ( #9011 )
...
* another round of dnn optimization:
* increased malloc alignment across OpenCV from 16 to 64 bytes to make it AVX2 and even AVX-512 friendly
* improved SIMD optimization of pooling layer, optimized average pooling
* cleaned up convolution layer implementation
* made activation layer "attacheable" to all other layers, including fully connected and addition layer.
* fixed bug in the fusion algorithm: "LayerData::consumers" should not be cleared, because it desctibes the topology.
* greatly optimized permutation layer, which improved SSD performance
* parallelized element-wise binary/ternary/... ops (sum, prod, max)
* also, added missing copyrights to many of the layer implementation files
* temporarily disabled (again) the check for intermediate blobs consistency; fixed warnings from various builders
2017-06-28 11:15:22 +03:00
Alexander Alekhin
00dd433368
dnn: fix LayerFactory initialization
2017-06-27 23:19:53 +03:00
Alexander Alekhin
82ec76c123
Merge pull request #8990 from mshabunin:fix-static-2
2017-06-27 14:53:26 +00:00
Maksim Shabunin
1c4fb418cf
Merge pull request #9007 from alalek:issue_9001
2017-06-27 14:38:43 +00:00
Maksim Shabunin
58c5be0002
Merge pull request #9006 from alalek:videoio_synchronize_ffmpeg_open
2017-06-27 14:19:07 +00:00
Vadim Pisarevsky
9e9f57c139
Merge pull request #9004 from alalek:fix_build_flann_sdl
2017-06-27 14:05:23 +00:00
Alexander Alekhin
f8a75c4361
dispatch: added CV_TRY_${OPT} macro, fix dnn build
...
- 1: OPT is available directly or via dispatcher
- 0: optimization is not compiled at all
2017-06-27 17:05:15 +03:00
Alexander Alekhin
a87d6b098f
videoio: synchronize ffmpeg open() call
2017-06-27 16:32:32 +03:00
Alexander Alekhin
22d2207d41
flann: fix build with MSVC /sdl option
2017-06-27 15:25:19 +03:00
Alexander Alekhin
9ee60dbff2
Merge pull request #8963 from likan999:fix-java-camera-view
2017-06-27 11:57:13 +00:00
dkurt
121789f78e
Fixed some bugs from Halide tests
2017-06-27 14:52:46 +03:00
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
2017-06-27 14:30:26 +03:00
Alexander Alekhin
b991665b5d
Merge pull request #9000 from alalek:fix_winpack_build
2017-06-27 11:10:46 +00:00
Alexander Alekhin
eff47b1260
Merge pull request #8997 from alalek:fix_build_warnings
2017-06-27 09:57:39 +00:00
Alexander Alekhin
16d1bbf2ea
dnn: fix build
...
- winpack
- opencv_world
2017-06-27 09:07:01 +03:00
Alexander Alekhin
650830b9d6
build: eliminate warning
2017-06-27 08:16:40 +03:00
Alexander Alekhin
45cbc512bf
build: fix viz tests
...
removed test_precomp.cpp
2017-06-27 08:03:27 +03:00
Vadim Pisarevsky
ef2e5a9f82
Merge pull request #8988 from sovrasov:repeat_src_eq_dst_fix
2017-06-26 21:58:26 +00:00
Vadim Pisarevsky
48924cd874
Merge pull request #8989 from alalek:move_dnn_module
2017-06-26 21:57:26 +00:00
Alexander Alekhin
986d27e49c
dnn: fix failed Torch tests
...
"Torch invalid argument 2: position must be smaller than LLONG_MAX"
These conditions are always true for "long position" argument.
2017-06-26 22:02:22 +03:00
Rostislav Vasilikhin
e63feba8e2
fixed typo
2017-06-26 20:19:18 +03:00
Alexander Alekhin
93091ba203
dnn: AVX2 fix invalid unaligned read
2017-06-26 19:48:42 +03:00
Alexander Alekhin
623de337e8
dnn: fix build warnings
2017-06-26 19:48:42 +03:00
Alexander Alekhin
006966e629
trace: initial support for code trace
2017-06-26 17:07:13 +03:00
Alexander Alekhin
e49c429162
viz: fix tests build
2017-06-26 17:05:06 +03:00
Vitaly Tuzov
3d7fd4132b
Fixed clipLine evaluation for very long lines
2017-06-26 16:00:29 +03:00
Alexander Alekhin
ee54bafe6b
dnn: fix dnn python test files
2017-06-26 15:13:00 +03:00
Alexander Alekhin
e03569f3a8
dnn: remove obsolete "build opencv_contrib with dnn module" tutorial
2017-06-26 15:12:00 +03:00
Alexander Alekhin
382e38941c
dnn: fix documentation links
2017-06-26 15:10:50 +03:00
Alexander Alekhin
14de8ac951
dnn: move samples
2017-06-26 14:51:12 +03:00
Alexander Alekhin
6031c79197
dnn: remove unused README
2017-06-26 14:51:12 +03:00
Alexander Alekhin
7f12836df9
dnn: fix public headers guards
2017-06-26 14:21:33 +03:00
Vladislav Sovrasov
4f9871817a
core: forbid handling of the case when src=dst in cv::repeat
2017-06-26 14:02:52 +03:00
Alexander Alekhin
93729784bb
dnn: move module from opencv_contrib
...
e6f63c7a38/modules/dnn
2017-06-26 13:41:51 +03:00
Maksim Shabunin
8c27ceb9de
Merge pull request #8981 from alalek:port_8979
2017-06-26 09:25:23 +00:00
Alexander Alekhin
d7597a8610
videoio: do not mix CV_CAP
and CAP_
APIs enum values
2017-06-25 23:35:33 +03:00
Alexander Alekhin
460e9bf0af
videoio: drop changes from legacy C-API header
2017-06-25 23:25:56 +03:00
Alexander Alekhin
23f4bff742
videoio: update VideoWriter apiPreference parameter position
2017-06-25 22:57:24 +03:00
catree
a084501ecf
Add a note to morphologyEx documentation to clarify the behavior when iterations > 1.
2017-06-25 00:16:16 +02:00
Alexander Alekhin
35a2f2fef9
videoio(macosx): fix array access exception in AVFoundation
2017-06-24 11:07:57 +03:00
James Clarke
25020f2672
fast_math.hpp: Use __asm__ rather than asm; fixes including with -std=c99
2017-06-23 15:28:09 +01:00
Vadim Pisarevsky
fa7e7e0ff9
Merge pull request #8900 from alalek:update_android_build
2017-06-23 10:58:53 +00:00
Maksim Shabunin
d27009c775
Merge pull request #8856 from mshabunin:media-tests-upgrade
2017-06-22 11:45:52 +00:00
likan999
74127d44d0
More accurate condition to detect emulator
...
Previous commit, 6f39f9a
, tries to fix the color issue for emulator. But the condition for detecting emulator is incomplete, e.g. it stops working for emulators using Google Play, whose Build.BRAND=="google". https://stackoverflow.com/a/21505193 shows a more accurate condition for this.
2017-06-22 00:47:15 -07:00
678098
d0ab595f52
batch-oriented mutex locking in parallel haar detect loop body
2017-06-21 23:25:57 +03:00
dkurt
e74fed5c84
Catch SkipTestException in performance tests
2017-06-21 21:30:52 +03:00
Dmitry Kurtaev
16368a275b
cmake: add Halide support ( #8794 )
2017-06-21 14:33:47 +03:00
Jiri Horner
5f20e802d2
Merge pull request #8869 from hrnr:akaze_part1
...
[GSOC] Speeding-up AKAZE, part #1 (#8869 )
* ts: expand arguments before stringifications in CV_ENUM and CV_FLAGS
added protective macros to always force macro expansion of arguments. This allows using CV_ENUM and CV_FLAGS with macro arguments.
* feature2d: unify perf test
use the same test for all detectors/descriptors we have.
* added AKAZE tests
* features2d: extend perf tests
* add BRISK, KAZE, MSER
* run all extract tests on AKAZE keypoints, so that the test si more comparable for the speed of extraction
* feature2d: rework opencl perf tests
use the same configuration as cpu tests
* feature2d: fix descriptors allocation for AKAZE and KAZE
fix crash when descriptors are UMat
* feature2d: name enum to fix build with older gcc
* Revert "ts: expand arguments before stringifications in CV_ENUM and CV_FLAGS"
This reverts commit 19538cac1e
.
This wasn't a great idea after all. There is a lot of flags implemented as #define, that we don't want to expand.
* feature2d: fix expansion problems with CV_ENUM in perf
* expand arguments before passing them to CV_ENUM. This does not need modifications of CV_ENUM.
* added include guards to `perf_feature2d.hpp`
* feature2d: fix crash in AKAZE when using KAZE descriptors
* out-of-bound access in Get_MSURF_Descriptor_64
* this happened reliably when running on provided keypoints (not computed by the same instance)
* feature2d: added regression tests for AKAZE
* test with both MLDB and KAZE keypoints
* feature2d: do not compute keypoints orientation twice
* always compute keypoints orientation, when computing keypoints
* do not recompute keypoint orientation when computing descriptors
this allows to test detection and extraction separately
* features2d: fix crash in AKAZE
* out-of-bound reads near the image edge
* same as the bug in KAZE descriptors
* feature2d: refactor invariance testing
* split detectors and descriptors tests
* rewrite to google test to simplify debugging
* add tests for AKAZE and one test for ORB
* stitching: add tests with AKAZE feature finder
* added basic stitching cpu and ocl tests
* fix bug in AKAZE wrapper for stitching pipeline causing lots of
! OPENCV warning: getUMat()/getMat() call chain possible problem.
! Base object is dead, while nested/derived object is still alive or processed.
! Please check lifetime of UMat/Mat objects!
2017-06-21 14:33:09 +03:00
Vadim Pisarevsky
437ca0b62a
Merge pull request #8949 from alalek:fix_sortIdx
2017-06-21 11:23:10 +00:00
Matt Bennett
05acf40aff
remove ARC and auto synthesize assumptions in cocoa_window.mm
2017-06-21 12:00:26 +01:00
Alexander Alekhin
3e3e2dd512
android: make optional "cpufeatures", build fixes for NDK r15
2017-06-21 13:34:19 +03:00
Vadim Pisarevsky
2c30f358dc
Merge pull request #8947 from alalek:vs_version
2017-06-21 09:33:52 +00:00
Alexander Alekhin
d3ebe665e0
core: fix IPP optimization for sortIdx
2017-06-21 03:04:16 +00:00
Alexander Alekhin
9067310166
core(test): added cv::sortIdx accuracy tests
2017-06-21 03:04:16 +00:00
Maksim Shabunin
87b569d812
Rewritten some tests in videoio and imgcodecs modules
...
general:
- all iterative tests have been replaced with parameterized tests
- old-style try..catch tests have been modified to use EXPECT_/ASSERT_ gtest macros
- added temporary files cleanup
- modified MatComparator error message formatting
imgcodecs:
- test_grfmt.cpp split to test_jpg.cpp, test_png.cpp, test_tiff.cpp, etc.
videoio:
- added public HAVE_VIDEO_INPUT, HAVE_VIDEO_OUTPUT definitions to cvconfig.h
- built-in MotionJPEG codec could not be tested on some platforms (read_write test was disabled if ffmpeg is off, encoding/decoding was handled by ffmpeg otherwise).
- image-related tests moved to imgcodecs (Videoio_Image)
- several property get/set tests have been combined into one
- added MotionJPEG test video to opencv_extra
2017-06-20 18:20:41 +03:00
Maksim Shabunin
8b664d6122
Merge pull request #8825 from mshabunin:media-sdk-support
2017-06-20 15:15:51 +00:00
Alexander Alekhin
43b03b6517
Merge pull request #8864 from sovrasov:calib_flags_update
2017-06-20 15:12:50 +00:00
Alexander Alekhin
a9cc87636f
build: update modules descriptions
2017-06-20 15:45:23 +03:00
Maksim Shabunin
c06f3d63e8
Initial version of MediaSDK integration:
...
- cmake dependencies search (WITH_MFX option)
- raw H264, H265, MPEG2 encoding and decoding
- tests for supported formats
2017-06-20 12:15:10 +03:00
Maksim Shabunin
68d01972fe
Merge pull request #8883 from abratchik:DNN.java.wrappers.fix
2017-06-20 09:05:53 +00:00
Maksim Shabunin
1f4067112f
Merge pull request #8920 from sovrasov:video_vriter_ext
2017-06-19 10:52:34 +00:00
Vladislav Sovrasov
f1c16f42b4
video: add one more constructor for VideoWriter
2017-06-19 12:11:14 +03:00
abratchik
037d8fbdcd
Refactor OpenCV Java Wrapping
2017-06-15 20:35:12 +04:00
Alexander Alekhin
3ea02e4fcc
Merge pull request #8925 from savuor:fix/softfloat_comments
2017-06-15 16:12:30 +00:00
Alexander Alekhin
b21b694444
Merge pull request #8924 from tomoaki0705:fixWarningResize
2017-06-15 16:11:18 +00:00
Alexander Alekhin
7580db09ad
Merge pull request #8922 from tomoaki0705:fixWarningJetsonTK1
2017-06-15 16:09:35 +00:00
Rostislav Vasilikhin
939c8e8a99
float constant replaced by int hex representations
2017-06-15 15:10:41 +03:00
Tomoaki Teshima
5ad3ddc1b6
suppress warning
...
- check if compiler is Intel compiler
- remove not referenced variables
2017-06-15 18:59:48 +09:00
Tomoaki Teshima
bd215fbf33
suppress warning on Jetson TK1
2017-06-15 18:28:13 +09:00
Alexander Alekhin
26e9b42a44
Merge pull request #8915 from sovrasov:deniose_add_assert
2017-06-14 19:17:28 +00:00
Alexander Alekhin
4f35a592a1
Merge pull request #8912 from alalek:fix_cxx11_mac_flann
2017-06-14 19:15:21 +00:00
Alexander Alekhin
9b902adea6
Merge pull request #8832 from terfendail:perf_accumulate_fix
2017-06-14 18:49:09 +00:00
Rostislav Vasilikhin
29593635ed
licence updated
2017-06-14 21:20:10 +03:00
Rostislav Vasilikhin
2ad612f475
removed MSVC warning suppression
2017-06-14 21:00:06 +03:00
Alexander Alekhin
cf86f88c71
Merge pull request #8911 from alalek:fix_vsum4
2017-06-14 12:00:58 +00:00
Vladislav Sovrasov
234ad8fbee
photo: add assertion on empty image in denoising
2017-06-14 13:57:07 +03:00
Alexander Alekhin
e23b59da5c
build: fix v_reduce_sum4 (requires SSE3)
2017-06-14 09:37:06 +00:00
lewisjb
078b4cc971
Added Python Docstrings
2017-06-14 16:46:08 +10:00
Alexander Alekhin
9fa90c8851
Merge pull request #8899 from tomoaki0705:fixSuppressWarningsUnreachable
2017-06-14 01:07:47 +00:00
Alexander Alekhin
cc52523375
flann: add normal assignment operator for cvflann::any
2017-06-14 00:55:52 +00:00
Vadim Pisarevsky
f49f056d29
Merge pull request #8907 from vpisarev:dnn_fast_conv
2017-06-13 21:04:31 +00:00
Vadim Pisarevsky
e72e34ec36
Merge pull request #8843 from terfendail:resizenn_patch
2017-06-13 17:29:30 +00:00
Vladislav Sovrasov
c0e456dee2
calib3d: use calibration flags from the new enums
2017-06-13 19:55:53 +03:00
Vladislav Sovrasov
d121d1c528
calib3d: add CALIB_FIX_TANGENT_DIST flag
2017-06-13 19:40:49 +03:00
Vitaly Tuzov
3a5e036feb
Updated fix for accumulate performance test in case of multiple iterations
2017-06-13 19:23:34 +03:00
Vitaly Tuzov
2de1aac665
Updated alignment declarations to CV_DECL_ALIGNED macro
2017-06-13 18:44:38 +03:00
Vadim Pisarevsky
fbafc700ea
added v_reduce_sum4() universal intrinsic; corrected number of threads in cv::getNumThreads() in the case of GCD
2017-06-13 18:04:00 +03:00
Tomoaki Teshima
94848a3e1f
suppress unreachable code warning
...
- fix the define condition based on the comment
2017-06-13 08:11:04 +09:00
Alexander Alekhin
a3189e36c0
Merge pull request #8753 from RyuheiMori:fix-cpu-feature-detection-on-android
2017-06-12 16:08:08 +00:00
Alexander Alekhin
3dee87b697
update CPU detection on ANDROID patch
2017-06-11 05:06:49 +00:00
Alexander Alekhin
e665be1d70
photo: fix integer overflow
...
There is no cast to wide integer type:
std::numeric_limits<ST>::max() * std::numeric_limits<ST>::max()
2017-06-09 00:19:29 +00:00
Alexander Alekhin
0213b508dc
Merge pull request #8868 from alalek:fix_build_softfloat
2017-06-08 20:22:53 +00:00
Alexander Alekhin
ea93bcc347
Merge pull request #8863 from LukeZheZhu:pyrlk_small_winsize
2017-06-08 20:15:04 +00:00
Alexander Alekhin
e3c0d11b55
Merge pull request #8876 from alalek:fix_build_msvs
2017-06-08 19:53:29 +00:00
Maksim Shabunin
f71ea4dfe9
Merge pull request #8816 from mshabunin:sprintf-fix
...
Fixed snprintf for VS 2013 (#8816 )
* Fixed snprintf for VS 2013
* snprintf: removed declaration from header, changed implementation
* cv_snprintf corrected according to comments
* update snprintf patch
2017-06-08 21:53:16 +02:00
Alexander Alekhin
5c0a287ce8
build: fix warning
...
C4189: 'clImageUV' : local variable is initialized but not referenced
2017-06-08 20:40:36 +03:00
Alexander Alekhin
781515c514
build: fix "ambiguous call" (MSVS2010)
2017-06-08 20:40:35 +03:00
Alexander Alekhin
515e01e649
Merge pull request #8852 from BKNio:testsForVideoStab
2017-06-08 13:36:51 +00:00
Dinar
1887dcb397
add tests for videostab;
2017-06-08 09:36:17 +03:00
Alexander Alekhin
fc84c48bd7
Merge pull request #8860 from alalek:fix_java_headers
2017-06-08 02:43:09 +00:00
Alexander Alekhin
71517a910a
build: fix errors for MSVS2010-2013, reduce default softfloat scope
2017-06-08 01:09:21 +00:00
Vadim Pisarevsky
31c79668c8
Merge pull request #8803 from 4ekmah:sgbm_modehh4_SIMD
2017-06-07 13:35:53 +00:00
LukeZhu
cc47ee3b43
Modify the pyrlk.cl to support winSize from 8*8 to 24*24 for optical flow
2017-06-07 17:46:50 +08:00
Alexander Alekhin
59798b3f7c
java: use module's public headers only
2017-06-06 21:10:02 +03:00
Alexander Alekhin
125abe2fe4
Merge pull request #8838 from tomoaki0705:dispatchFp16
2017-06-06 15:31:42 +00:00
Tomoaki Teshima
e269ef96cb
update convertFp16 using CV_CPU_CALL_FP16
...
* avoid link error (move the implementation of software version to header)
* make getConvertFuncFp16 local (move from precomp.hpp to convert.hpp)
* fix error on 32bit x86
2017-06-06 22:26:51 +09:00
Pyotr Chekmaryov
a113e8f088
Fixing buildbot's messages.
2017-06-04 20:32:07 +03:00
Alexander Alekhin
3933958b34
photo(test): fix MergeRobertson test for AARCH64 build
2017-06-03 16:57:23 +03:00
Maksim Shabunin
9bb17caa24
Merge pull request #8842 from delftrobotics-forks:compile_fix_circlesgrid_debug
2017-06-02 10:19:33 +00:00
Vitaly Tuzov
59373a1ae1
AVX and SSE optimizations for resize NN
2017-06-01 19:08:55 +03:00
rmensing
79bb920dee
Compile fix for circlesgrid in debug.
2017-06-01 16:00:13 +02:00
Woody Chow
f743603b0a
Fallback to single threaded version of IPP gaussian blur / bilateral filter when the mutlithreaded version cannot be called.
2017-06-01 13:34:50 +09:00
Woody Chow
d22fb5f949
Multithread IPP gaussian blur
2017-05-31 18:16:47 +09:00
Werner Palfinger
0f42031b10
fixed typo in pyopencv_from Point3d
2017-05-30 16:49:23 +02:00
Maksim Shabunin
fdba548858
Merge pull request #8818 from mshabunin:java-cleanup-fix
2017-05-29 14:53:19 +00:00
Vadim Pisarevsky
89af053aed
Merge pull request #8797 from sovrasov:hog_sse_fix
2017-05-29 14:32:47 +00:00
Vadim Pisarevsky
c397361aa6
Merge pull request #8798 from BKNio:fix_motionEstimation
2017-05-29 14:31:03 +00:00
Rostislav Vasilikhin
c6a3a18894
SoftFloat integrated ( #8668 )
...
* everything is put into softfloat.cpp and softfloat.hpp
* WIP: try to integrate softfloat into OpenCV
* extra functions removed
* softfloat made stateless
* CV_EXPORTS added
* operators fixed
* exp added, log: WIP
* log32 fixed
* shorter names; a lot of TODOs
* log64 rewritten
* cbrt32 added
* minors, refactoring
* "inline" -> "CV_INLINE"
* cast to bool warnings fixed
* several warnings fixed
* fixed warning about unsigned unary minus
* fixed warnings on type cast
* inline -> CV_INLINE
* special cases processing added (NaNs, Infs, etc.)
* constants for NaN and Inf added
* more macros and helper functions added
* added (or fixed) tests for pow32, pow64, cbrt32
* exp-like functions fixed
* minor changes
* fixed random number generation for tests
* tests for exp32 and exp64: values are compared to SoftFloat-based naive implementation
* minor warning fix
* pow(f, i) 32/64: special cases handling added
* unused functions removed
* refactoring is in progress (not compiling)
* CV_inline added
* unions {uint_t, float_t} removed
* tests compilation fixed
* static const members -> static methods returning const
* reinterpret_cast
* warning fixed
* const-ness fixed
* all FP calculations (even compile-time) are done in SoftFloat + minor fixes
* pow(f, i) removed from interface (can cause incorrect cast) to internals of pow(f, f), tests fixed
* CV_INLINE -> inline
* internal constants moved to .cpp file
* toInt_minMag() methods merged into toInt() methods
* macros moved to .cpp file
* refactoring: types renamed to softfloat and softdouble; explicit constructors, etc.
* toFloat(), toDouble() -> operator float(), operator double()
* removed f32/f64 prefixes from functions names
* toType() methods removed, round() and trunc() functions added
* minor change
* minors
* MSVC: warnings fixed
* added int cvRound(), cvFloor, cvCeil, cvTrunc, saturate_cast<T>()
* typo fixed
* type cast fixed
2017-05-29 17:07:25 +03:00
Alexander Alekhin
d54b1ad88a
Merge pull request #8805 from catree:solvePnP_doc
2017-05-29 13:52:15 +00:00
Alexander Alekhin
36918b3bb8
Merge pull request #8814 from woodychow:openmp_num_threads
2017-05-29 13:17:41 +00:00
catree
542cdb2c39
Improve solvePnP doc, add assert >= 4 in solvePnP, escape underscore character for Scalar_ documentation.
...
Add reference to SOLVEPNP_ITERATIVE in the doc.
2017-05-29 14:59:14 +02:00
Maksim Shabunin
f4e18125b4
Do not clean src and gen directories when java is disabled
2017-05-29 13:54:36 +03:00
Woody Chow
5a4f2b5d27
Add function to sort keypoints that are calculated in parallel to ensure stable output
2017-05-29 17:59:20 +09:00
Woody Chow
6e00c7651b
Use num_threads clause of #pragma omp parallel instead to avoid calling omp_set_num_threads for the entire application
2017-05-29 14:16:10 +09:00
Pyotr Chekmaryov
c26fd68236
Performance tests are added.
2017-05-26 22:48:03 +00:00
Dinar Ahmatnurov
f241a371b3
fix estimateGlobalMotionRansac;
2017-05-26 16:10:07 +03:00
Vadim Pisarevsky
ee257ffe9e
Merge pull request #8455 from terfendail:ovxhal_skipsmall
2017-05-26 12:10:18 +00:00
Vladislav Sovrasov
6c164d86b9
obdetect: fix in SSE code
2017-05-26 14:26:05 +03:00
n001519
cc3fdd005e
fix the mser issue
2017-05-26 16:51:54 +08:00
Vitaly Tuzov
1d62a025b3
Moved size restrictions for OpenVX processed images to corresponding cpp files
2017-05-25 19:25:17 +03:00
Vadim Pisarevsky
11af7b7e55
Merge pull request #8307 from AhiyaHiya:dev_xcode_macos_universal_binary
2017-05-25 15:54:13 +00:00
Vadim Pisarevsky
ec49eb813c
Merge pull request #8314 from chacha21:fix_cuda_absdiff
2017-05-25 09:09:20 +00:00
Vadim Pisarevsky
2a5e12ccb5
Merge pull request #8789 from vpisarev:parallel_ccomp
2017-05-24 17:10:42 +00:00
Vadim Pisarevsky
ea8be57871
Merge pull request #8788 from sovrasov:calib_doc_update
2017-05-24 13:59:21 +00:00
Vadim Pisarevsky
6473018d69
eliminated trailing whitespaces
2017-05-24 16:54:12 +03:00
Vadim Pisarevsky
affb60093d
Merge branch 'master' of https://github.com/MicheleCancilla/opencv into parallel_ccomp
2017-05-24 16:51:18 +03:00
mschoeneck
4a4d94f266
Merge pull request #8694 from mschoeneck:Canny
...
Parallelize Canny with custom gradient (#8694 )
* New Canny implementation. Restructuring code in parallelCanny class. Align mag buffer and map.
* Fix warnings.
* Missing SIMD check added.
* Replaced local trailingZeros in contours.cpp. Use alignSize in canny.cpp
* Fix warnings in alignSize and allocate just minimum extra columns.
* Fix another warning in map.create.
* Exchange for loop by do loop to avoid double check at the beginning.
Define extra SIMD CANNY_CHECK to avoid unnecessary continue.
2017-05-24 16:20:25 +03:00
Vladislav Sovrasov
bf8415283a
calib3d: replace defines with enum values
2017-05-24 15:50:41 +03:00
Vadim Pisarevsky
2e056fbe8a
Merge pull request #6854 from sturkmen72:patch-8
2017-05-24 12:45:00 +00:00
Vadim Pisarevsky
9734ee13e5
Merge pull request #7865 from LaurentBerger:UserColormap
2017-05-24 12:43:55 +00:00
Vadim Pisarevsky
057c10baac
Merge pull request #8377 from ottogin:interpMultichannelImg
2017-05-24 12:38:41 +00:00
Alexander Alekhin
7bd3ccd929
Merge pull request #8713 from grundman:patch-6
2017-05-24 12:34:12 +00:00
Vadim Pisarevsky
37b1bc9d58
Merge pull request #8776 from sovrasov:inpaint_adv_formats
2017-05-24 12:17:45 +00:00
Alexander Alekhin
27649de50b
Merge pull request #8717 from sovrasov:robertson_weight_change
2017-05-24 11:45:34 +00:00
Matthias Grundmann
cf4e9e5ce2
Update matrix.cpp
...
Fix race condition in getDefaultAllocator and setDefaultAllocator interaction / not threadsafe currently
2017-05-24 13:55:18 +03:00
krishraghuram
9ea2f5211e
Correct the existing documented T-API functions to match the doxygen format ( #8758 )
...
* Correct the existing documented T-API functions to match the doxygen format.
* docs: fix comments style
* T-API documentation: minor formatting changes
2017-05-24 13:31:35 +03:00
Maksim Shabunin
9f0bbdada2
Merge pull request #8386 from jtkb:feature/cmake-maven-it-module
2017-05-24 10:17:03 +00:00
Vladislav Sovrasov
d9ffc4c83e
photo: add support of all types of 1c images in inpaint
2017-05-24 10:24:59 +03:00
Vadzim Piatrou
2ddaaf69fa
Inpainting support for any 1-channel input images
2017-05-24 10:20:21 +03:00
Vadim Pisarevsky
19464a3ed8
Merge pull request #8780 from vpisarev:fix_boxfilter
2017-05-23 21:46:13 +00:00
Vadim Pisarevsky
246f47fe96
Merge pull request #8778 from mshabunin:pr6853
2017-05-23 19:08:31 +00:00
Vadim Pisarevsky
7c3577f7ae
Merge pull request #8779 from vpisarev:empty_cmp_fix
2017-05-23 19:06:57 +00:00
Vadim Pisarevsky
883d925f59
replaced SSE2 code with universal intrinsics; improved accuracy of the box filter; it should now be bit-exact
2017-05-23 20:04:35 +03:00
Alexander Alekhin
15a2c7724d
Merge pull request #8743 from tomoaki0705:featureConvertFp16UMat
2017-05-23 15:32:12 +00:00
Vadim Pisarevsky
1ce61f3129
Merge pull request #8777 from mshabunin:pr6852
2017-05-23 15:19:36 +00:00
Vadim Pisarevsky
4eda8efd42
resolves https://github.com/opencv/opencv/issues/7792
2017-05-23 18:16:40 +03:00
Maksim Shabunin
7cefb52fda
V4L: do not return frame if it can not be retrieved
2017-05-23 18:03:17 +03:00
Vadim Pisarevsky
a065e4b9aa
Merge pull request #8769 from mshabunin:kw-fixes
2017-05-23 14:59:36 +00:00
Vadim Pisarevsky
55ee8b2917
Merge pull request #8182 from chacha21:drawing_performance
2017-05-23 14:53:12 +00:00
Alexander Alekhin
0448260ed7
Merge pull request #8542 from jveitchmichaelis:update-cudadevo-doc
...
Update documentation for getCudaEnabledDeviceCount
2017-05-23 17:07:20 +03:00
remi
8ee8710c02
Modifications to reduce the code through a loop
...
AKAZE refactoring: fixed indentation and made more minor modifications
2017-05-23 16:36:55 +03:00
Alexander Alekhin
715b88c4cb
Merge pull request #8775 from mshabunin:ipp-count-fix
2017-05-23 13:29:16 +00:00
Tomoaki Teshima
d81cdb8e1c
add OpenCL version of convertFp16 and test
...
* disable vector operation for now
* brush up the implementation based on comment
2017-05-23 20:00:21 +09:00
Vadim Pisarevsky
b59df66709
Merge pull request #8698 from cdcseacave:fix_Mat_release
2017-05-23 10:44:12 +00:00
Vadim Pisarevsky
c3762fb2c3
Merge pull request #8731 from ylemkimon:patch-1
2017-05-23 10:42:49 +00:00
Vadim Pisarevsky
2a791ea676
Merge pull request #8745 from Neio:aravis_bayer_gr_8
2017-05-23 10:40:33 +00:00
Maksim Shabunin
f23b6ba652
Fixed multidimensional count non-zero IPP implementation
2017-05-23 13:23:59 +03:00
Maksim Shabunin
b04ed5956e
Fixed several issues found by static analysis in core module
2017-05-23 12:35:31 +03:00
Alexander Alekhin
c5e9d1adae
macro for static analysis tools
2017-05-23 12:35:31 +03:00
Vladislav Sovrasov
2c2b1405a3
Add test for Mat_::release()
2017-05-23 12:20:48 +03:00
cDc
003745432f
fix Mat_ release #8680
2017-05-23 12:19:57 +03:00
Alexander Alekhin
0e60b26513
Merge pull request #8773 from kvaghel1:Issue-8763
2017-05-23 07:57:55 +00:00