LaurentBerger
5132102863
typo in kmeans doc
2018-11-04 21:30:31 +01:00
Alexander Alekhin
4395c1b9f8
videoio: backport "VideoCapture(int index, int apiPreference)" interface
2018-11-04 17:27:47 +00:00
Alexander Alekhin
79dc0ed175
docs: intro formatting update, minor cleanup
2018-11-04 02:36:24 +00:00
Alexander Alekhin
c6d2f0399a
videoio: fix build of standalone ffmpeg plugin
2018-11-03 02:17:47 +00:00
fegorsch
ce00d38bd9
Add test for symmetric circles with clustering
2018-11-02 15:13:46 +01:00
Vitaly Tuzov
877de883b0
medianBlur() implementation moved to separate file
2018-11-02 16:28:23 +03:00
Vadim Pisarevsky
d9b8a9d90e
Merge pull request #13013 from berak:java_MatOfRotatedRect
2018-11-02 12:36:06 +00:00
fegorsch
30bf4a5e34
CircleGridClusterFinder: map circle pattern width and height correctly
...
During the cluster-based detection of circle grids, the detected circle
pattern has to be mapped to 3D-points. When doing this the width (i.e.
more circles) and height (i.e. less circles) of the pattern need to
be identified in image coordinates.
Until now this was done by assuming that the shorter side in image
coordinates (length in pixels) corresponds to the height in 3D.
This assumption does not hold if we look at the pattern from
a perspective where the projection of the width is shorter
than the projection of the height. This in turn lead to misdetections in
although the circle pattern was clearly visible.
Instead count how many circles have been detected along two edges of the
projected quadrangle and use the one with more circles as width and the
one with less as height.
2018-11-02 12:03:20 +01:00
Vitaly Tuzov
0fda551dbc
Updated medianBlur implementations to use wide universal intrinsics
2018-11-02 12:26:23 +03:00
Alexander Alekhin
a724525c00
Merge pull request #10584 from eruffaldi:F10583_videoio_ffmpeg_lossless
2018-11-01 16:57:11 +00:00
berak
0cd14e3fb4
java: add support for MatOfRotatedRect
2018-11-01 15:37:23 +01:00
Alexander Alekhin
a1816e8c77
Merge pull request #13002 from dkurt:onnx_padding
2018-11-01 11:40:22 +00:00
Ilari Venäläinen
e6c41f0de6
Merge pull request #12989 from venalil:fix_thresholded_tiff_read
...
* Fix reading of black-and-white (thresholded) TIFF images
I recently updated my local OpenCV version to 3.4.3 and found out that
I could not read my TIFF images related to my project. After debugging I
found out that there has been some static analysis fixes made
that accidentally have broken reading those black-and-white TIFF images.
Commit hash in which reading of mentioned TIFF images has been broken:
cbb1e867e5
Basically the fix is to revert back to the same functionality that has been there before,
when black-and-white images are read bpp (bitspersample) is 1.
Without the case 1: this TiffDecoder::readHeader() function always return false.
* Added type and default error message
* Added stdexcept include
* Use CV_Error instead of throw std::runtime_error
* imgcodecs(test): add TIFF B/W decoding tests
2018-11-01 14:34:34 +03:00
Emanuele Ruffaldi
b4398d62b2
ffmpeg for lossy
2018-11-01 00:06:29 +00:00
Dmitry Kurtaev
a6f9170f10
Add ONNX's padding import
2018-10-31 18:24:05 +03:00
Suleyman TURKMEN
4d0ed5c13c
Merge pull request #12971 from sturkmen72:upd_imgproc_hpp
...
* Update imgproc.hpp
* update color conversion codes
2018-10-31 18:08:24 +03:00
Vadim Pisarevsky
b669e9f648
Merge pull request #12994 from vpisarev:fix_imshow_mac
2018-10-31 11:13:28 +00:00
Vadim Pisarevsky
ebdc870296
fixed imshow on mac; before that just the window titlebar was shown, without the window content.
2018-10-31 10:40:58 +03:00
Alexander Alekhin
850053f9ca
Merge pull request #12982 from eldruin:python-gen-close-file
2018-10-30 18:41:23 +00:00
Rostislav Vasilikhin
fa91d621fa
Merge pull request #12876 from savuor:color_rgb2rgb_wide
...
* RGB2RGB initially rewritten
* NEON impl removed
* templated version added for ushort, float
* data copying allowed for RGB2RGB
* inplace processing fixed
* fields to local vars
* no zeroupper until it's fixed
* vx_cleanup() added back
2018-10-30 18:36:23 +03:00
Alexander Alekhin
2268ed1b6e
Merge pull request #12948 from catree:add_drawFrameAxes
2018-10-30 13:33:01 +00:00
Sayed Adel
93ffebc273
core: reimplement SIMD arithmetic, logic and comparison operations into wide universal intrinsics
...
- initialize arithmetic dispatcher
- add new universal intrinsic v_absdiffs
- add new universal intrinsic v_pack_b
- add accumulate version of universal intrinsic v_round
- fix sse/avx2:uint8 multiplication overflow
- reimplement arithmetic, logic and comparison operations into wide universal intrinsics
with full support for all types
- reimplement IPP arithmetic, logic and comparison operations in a sperate file arithm_ipp.hpp
- avoid scalar multiplication if scaling factor eq 1 and use integer multiplication
- move C arithmetic operations to precomp.hpp and delete [arithm_simd|arithm_core].hpp
- add compatibility with new opencv4 divide policy
2018-10-30 12:48:31 +02:00
Alexander Alekhin
76b6f6b017
Merge pull request #12938 from dkurt:java_ndim_mat
2018-10-29 17:06:44 +00:00
Diego Barrios Romero
7a884ab6a5
Fix closing input file
2018-10-29 13:05:46 +01:00
Vadim Pisarevsky
792079ad33
Merge pull request #12964 from savuor:fix/zeroupper_all
2018-10-29 11:35:57 +00:00
Vadim Pisarevsky
a9d77b5c64
Merge pull request #12966 from catree:fix_distortion_image
2018-10-29 11:27:49 +00:00
Alexander Nesterov
aba66352dd
Fix dataset: russian.jpg
2018-10-29 10:30:49 -01:00
Alexander Alekhin
6c444ced08
Merge pull request #12954 from seanm:MinorMac
2018-10-28 14:52:32 +00:00
Alexander Alekhin
012f36e47d
Merge pull request #12958 from kamino410:doc_dist_param
2018-10-27 16:28:57 +00:00
root
1196eb33fc
remove non-ideal pairs when using crosscheck in batchdistance
2018-10-26 20:25:24 +00:00
catree
d37164bab6
Fix distortion figure in calib3d. Positive radial distortion corresponds to pincushion distortion and negative to barrel distortion. Add another figure that illustrates the influence of k1 in the distortion effect.
2018-10-26 20:27:37 +02:00
Alexander Alekhin
cc2f8f1778
Merge pull request #12946 from HenryDev:patch-1
2018-10-26 18:26:06 +00:00
Rostislav Vasilikhin
daff6e6484
_mm256_zeroupper replaced by zeroall
2018-10-26 18:12:07 +03:00
Alexander Alekhin
3e0c72ea84
core(ipp): disable SSE4.2 meanStdDev() optimization for CV_32F
2018-10-26 15:57:26 +03:00
kamino410
3972c526ce
fix document about camera distortion parameters
2018-10-26 19:55:46 +09:00
Sean McBride
75f67ed207
Fixed a few comments related to macOS support
2018-10-25 15:16:55 -04:00
catree
644846c702
Add a function that draws frame axes. Useful for debugging purpose and to check the correctness of the output of a pose estimation method.
2018-10-25 18:38:19 +02:00
Alexander Alekhin
defeda2f70
Merge pull request #12905 from tomoaki0705:fixQrcodePeakyFailure
2018-10-25 16:24:56 +00:00
Henry
4102855edd
Update intro.markdown
...
"as opposed to" is a phrase of opposed meaning distinguished from or in contrast with. e.g., "an approach that is theoretical as opposed to practical"
synonyms: in contrast with, as against, as contrasted with, rather than, instead of, as an alternative to
example: "we use only steam, as opposed to chemical products, to clean our house"
2018-10-25 10:54:07 -05:00
Alexander Alekhin
602989ae9e
Merge pull request #12935 from alalek:python_so_warning
2018-10-25 15:11:44 +00:00
Alexander Alekhin
f50b58b509
Merge pull request #12854 from allnes:detect_qr_code
2018-10-25 14:16:55 +00:00
Alexander Alekhin
b184b19970
Merge pull request #12934 from alalek:issue_12932
2018-10-25 11:28:13 +00:00
Alexander Alekhin
55676b7173
Merge pull request #12928 from alalek:fix_typo_3.4
2018-10-25 11:04:59 +00:00
Dmitry Kurtaev
92f754c675
Add methods to reshape Mat in Java by array of shapes and retreive sizes of each dimension.
2018-10-25 10:48:23 +03:00
Alexander Alekhin
aa6e296236
python: eliminate DeprecationWarning: SO -> EXT_SUFFIX
...
- https://python.readthedocs.io/en/stable/whatsnew/3.4.html
- The `sysconfig` key `SO` is deprecated, it has been replaced by `EXT_SUFFIX`
2018-10-25 04:23:45 +00:00
Alexander Alekhin
7f608db244
core: move compiler defines from base.hpp into cvdef.h
2018-10-25 03:02:01 +00:00
Alexander Nesterov
d305fd4fca
Added perf tests with sanity check
2018-10-24 16:37:56 +00:00
Alexander Alekhin
8486f1b8f0
Merge pull request #12888 from alalek:cmake_fix_objdetect
2018-10-24 16:22:26 +00:00
Alexander Alekhin
a1bd39441f
videoio: fix typo
2018-10-24 19:12:35 +03:00
Alexander Alekhin
9a12aa45ad
Merge pull request #12881 from huangqinjin:orb
2018-10-24 13:28:57 +00:00
Alexander Alekhin
2c029aae46
Merge pull request #12914 from seiko2plus:issue12830
2018-10-24 13:15:23 +00:00
maver1
e397434cb6
Merge pull request #12877 from maver1:3.4
...
* Updated ICV packages and IPP integration
* core(test): minMaxIdx IPP regression test
* core(ipp): workaround minMaxIdx problem
* core(ipp): workaround meanStdDev() CV_32FC3 buffer overrun
* Returned semicolon after CV_INSTRUMENT_REGION_IPP()
2018-10-24 15:02:53 +03:00
Antonio Borondo
7a3cb2280b
Recognize ConvolutionDepthwise as Convolution
2018-10-24 08:37:51 +01:00
Sayed Adel
8b26906d6d
core:vsx change behavior of v_round to rounding to nearest even
2018-10-24 06:31:31 +00:00
Tomoaki Teshima
d3f75df0a6
objdetect: fix test failure of QR code on Aarch64
...
* use boundingRect instead of manual loop
2018-10-24 09:35:02 +09:00
huangqinjin
1fbaa48cec
ORB: compute default norm by wta_k
2018-10-22 10:10:49 +08:00
Mansoo Kim
6974fce183
cmake: fix objdetect QR decoder link_libraries
2018-10-21 15:13:43 +00:00
Apoorv Goel
d8ffddd075
Merge pull request #12871 from UnderscoreAsterisk:document-Distance
...
* Document distance functors in dist.h
* Add spec for Distance
* Generate appropriate links for symbols
2018-10-20 11:15:13 +03:00
Dmitry Kurtaev
e7015f6ae8
Fix ENet test
2018-10-19 17:43:26 +03:00
Alexander Alekhin
9c9fb1c6d0
Merge pull request #12867 from UnderscoreAsterisk:document-radiusSearch
2018-10-18 07:52:49 +00:00
Alexander Alekhin
80c64fce11
Merge pull request #12832 from kmansoo:fix-compile-errors-on-nvcc10
2018-10-18 07:51:47 +00:00
Apoorv
a7dfa261d8
Add documentation for radiusSearch
2018-10-18 04:09:16 +05:30
Mansoo Kim
4d1f0ef2d9
cuda: fix build with CUDA 10.x
2018-10-17 17:35:40 +00:00
Alexander Alekhin
df6728e64c
Merge pull request #12852 from nangchoo:bugfix/increase_magic_threshold_for_perf_test
2018-10-17 17:31:19 +00:00
Alexander Alekhin
6d9e66eca1
Merge pull request #12864 from dkurt:dnn_ie_get_batch_size
2018-10-17 14:02:25 +00:00
Dmitry Kurtaev
365451dab0
Implement getBatchSize for Intel's Inference Engine networks
2018-10-17 14:02:37 +03:00
Alexander Alekhin
c09a3cf098
Merge pull request #12860 from janisozaur:include-guards
2018-10-17 08:20:31 +00:00
Alexander Alekhin
842341fc16
Merge pull request #12859 from janisozaur:empty-block
2018-10-17 08:20:08 +00:00
Michał Janiszewski
85b9960f62
Fix clashing include guards
...
Relevant guards can be found in
ef5579dc86/modules/features2d/src/kaze/AKAZEConfig.h (L8)
and
ef5579dc86/modules/ml/include/opencv2/ml.hpp (L44)
2018-10-16 22:59:38 +02:00
Michał Janiszewski
5640b36f6d
Remove unused empty block
2018-10-16 22:51:03 +02:00
Michał Janiszewski
c8e6ce304f
Catch exceptions by const-reference
...
Exceptions caught by value incur needless cost in C++, most of them can
be caught by const-reference, especially as nearly none are actually
used. This could allow compiler generate a slightly more efficient code.
2018-10-16 22:43:54 +02:00
Paul Shin
1c468add20
Increased the acceptable error margin for perf testing
...
- This is to accommodate the variabiilty in floating-point operations in new platforms/compilers
- Specifically due to the error margin found in NVIDIA Jetson TX2
2018-10-15 20:03:39 -07:00
Alexander Alekhin
24ced3d657
Merge pull request #12846 from alalek:issue_12834
2018-10-15 19:19:46 +00:00
Alexander Alekhin
c5a5d7eb51
Merge pull request #12843 from alalek:fix_qrdecode_input_validation
2018-10-15 19:18:58 +00:00
Alexander Alekhin
ab2c16b2e5
Merge pull request #12829 from tomoaki0705:fixTestVideoOpenCLPyrLK
2018-10-15 19:18:24 +00:00
Alexander Alekhin
113793fee7
Merge pull request #12837 from dkurt:dnn_fix_ie
2018-10-15 19:17:18 +00:00
Alexander Alekhin
b54a70a538
videoio: return -1 is incorrect for function with 'bool' result
2018-10-15 18:20:15 +00:00
Alexander Alekhin
6d2cfac303
objdetect: validate QRdecode inputs
...
- drop unnecessary matrix initialization
2018-10-15 17:16:17 +00:00
Alexander Alekhin
f8a27d2603
Merge pull request #12775 from radomsak:radomsak_dnn_fix_caffe_importer_reused_layers
2018-10-15 14:44:23 +00:00
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
2018-10-15 17:35:21 +03:00
Alexander Alekhin
72eccb7694
Merge pull request #12825 from alalek:issue_8413_3.4
2018-10-15 14:23:21 +00:00
Tomoaki Teshima
803f86b9ca
fix test failure of PyrLKOpticalFlow.Mat
...
* remove race condition
* upload _prevPts to OpenCL device explicitly before calling "sparse"
2018-10-15 22:57:08 +09:00
Alexander Alekhin
7bac615d8f
Merge pull request #12344 from terfendail:core_wintr
2018-10-15 13:48:15 +00:00
Dmitry Kurtaev
dc3406eed9
Fix Pooling and Convolution layers from Intel's Inference Engine
2018-10-15 16:40:28 +03:00
Alexander Alekhin
1cc3f7abbb
Merge pull request #12516 from seiko2plus:changeUnvMultiply16
2018-10-15 12:07:40 +00:00
Adam Radomski
70177143a7
Added test caffe importer layers sharing weights
2018-10-15 11:42:26 +02:00
Vitaly Tuzov
43d9256096
Replaced core module calls to universal intrinsics with wide universal intrinsics
2018-10-15 11:46:45 +03:00
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
2018-10-14 21:18:05 +03:00
Alexander Alekhin
5677a683a5
core(test): zero values divide test (3.x)
2018-10-14 02:23:17 +00:00
Alexander Alekhin
c813ad5533
core(ocl): replace ambiguous 'depth' to 'DEPTH_dst'
...
- always pass DEPTH_dst value to core/arithm kernel
2018-10-14 02:18:04 +00:00
tompollok
0b77600718
change area() emptiness checks to empty()
2018-10-13 21:35:10 +02:00
Alexander Alekhin
429a643f42
Merge pull request #12805 from drkoller:imwritedoc
2018-10-13 13:20:33 +00:00
Alexander Alekhin
d2a66d3c99
Merge pull request #12815 from alalek:issue_12812
2018-10-13 13:12:55 +00:00
Alexander Alekhin
0f41daeba5
Merge pull request #12641 from dkurt:dnn_samples_args_autofill
2018-10-13 12:28:08 +00:00
drkoller
978ad4981e
Clean up documentation for imread and imwrite
2018-10-12 17:08:01 -04:00
Alexander Alekhin
8c4f886f5f
core: re-throw allocation exception if there is no fallback
2018-10-12 19:10:06 +00:00
Alexander Alekhin
0d63c4c28e
Merge pull request #12811 from take1014:resize_large_image
2018-10-12 16:59:25 +00:00
take1014
24af70c7e0
resolves 11283
2018-10-12 23:08:25 +09:00
Sayed Adel
9dc1d388af
imgproc: Enable VSX on pyrDown & pyrUp
2018-10-11 23:03:57 +00:00
Alexander Alekhin
91c6d36ff8
Merge pull request #12796 from alalek:fix_openmp_performance
2018-10-11 19:29:04 +00:00