Alexander Alekhin
21fff4dfb6
Merge pull request #8654 from paroj:py_vector_ptr
2017-04-27 18:23:42 +00:00
Robert Bragg
8f5ea7deda
core: avoid clash with _N define from ctype.h in headers
...
This updates the public headers to use _Nm instead of _N in templates
since _N is defined by the widely used ctype.h.
2017-04-27 14:45:24 +01:00
Michele Cancilla
9405c6d206
Improvement of array of equivalences’ upper bound + fix some wrong comments
2017-04-27 12:53:33 +02:00
Pyotr Chekmaryov
d6bc6895a6
Test data correction.
2017-04-27 10:05:55 +00:00
Vitaly Tuzov
2492c299f3
Extended set of existing performance test to OpenVX HAL suitable execution modes
2017-04-27 12:32:29 +03:00
Pavel Rojtberg
930611dfa8
python: move Ptr specializations above generic_vec to allow vector_Ptr_T
2017-04-27 11:28:31 +02:00
Alexander Alekhin
75f28245a8
core: fix persistence bug in RAW I/O code
...
- persistence.cpp code expects special sizeof value for passed structures
- this assumption is lead to memory corruption problems
- fixed/workarounded test to prevent memory corruption on Linux 32-bit systems
2017-04-26 17:19:26 +03:00
Alexander Alekhin
133b91a026
android: build fixes
...
- eliminate CMake 3.5+ warnings
- removed usage of dropped "OPENCV_CAMERA_MODULES" variable
- partial support for Android NDK 11+
2017-04-26 14:24:51 +03:00
Alexander Alekhin
26be2402a3
Merge pull request #8629 from lupustr3:pvlasov/icv2017u2_update2
2017-04-26 10:45:37 +00:00
Pyotr Chekmaryov
21be2aa677
Memory repaired + Cleanup.
2017-04-25 21:00:31 +00:00
Alexander Alekhin
3db496f677
Merge pull request #8558 from grundman:patch-4
2017-04-25 16:03:02 +00:00
Pavel Vlasov
11c2ffaf1c
Update for IPP for OpenCV 2017u2 integration;
...
Updated integrations for:
cv::split
cv::merge
cv::insertChannel
cv::extractChannel
cv::Mat::convertTo - now with scaled conversions support
cv::LUT - disabled due to performance issues
Mat::copyTo
Mat::setTo
cv::flip
cv::copyMakeBorder - currently disabled
cv::polarToCart
cv::pow - ipp pow function was removed due to performance issues
cv::hal::magnitude32f/64f - disabled for <= SSE42, poor performance
cv::countNonZero
cv::minMaxIdx
cv::norm
cv::canny - new integration. Disabled for threaded;
cv::cornerHarris
cv::boxFilter
cv::bilateralFilter
cv::integral
2017-04-25 15:53:12 +03:00
Alexander Alekhin
41d55c5095
Merge pull request #8620 from saskatchewancatch:8457
2017-04-25 12:22:51 +00:00
saskatchewancatch
3fe18392ef
Updated comments for cv::ellipse and cv::ellipse2Poly to clarify some behaviour that has confused some users.
...
Amend: Delete trailing whitespace to make doc tests happy
2017-04-25 14:31:46 +03:00
Alexander Alekhin
56a0a50da3
Merge pull request #8603 from alalek:fix_test_name
2017-04-25 10:36:03 +00:00
Alexander Alekhin
c744eff30d
Merge pull request #8646 from saskatchewancatch:i8632
2017-04-25 10:33:17 +00:00
Alexander Alekhin
a7e80f7c10
Merge pull request #8645 from brian-armstrong-discord:bugfix_inmemory_exif
2017-04-25 10:32:00 +00:00
Alexander Alekhin
c4d4248e49
Merge pull request #8639 from berak:fix_webp_grayscale
2017-04-25 10:29:59 +00:00
Vadim Pisarevsky
96aaac186d
Merge pull request #8616 from vpisarev:dnn4
2017-04-25 06:32:16 +00:00
saskatchewancatch
d363e2789f
8632: Corrected cv::seamlessClone doc to reflect actual name of flag used in code
2017-04-24 21:01:38 -06:00
Brian Armstrong
40dc0bcd63
fix ByteStreamBuffer
2017-04-24 18:07:47 -07:00
berak
cbda9b332b
imgcodecs: fix webp IMREAD_GRAYSCALE loading
2017-04-24 11:56:23 +02:00
Alexander Alekhin
fe21487f91
Merge pull request #8618 from pwuertz:umat-pyopencl
2017-04-23 13:49:24 +00:00
daB0bby
566630595d
Fixes typo
2017-04-22 12:32:18 +02:00
Peter Würtz
4c095a76c0
Add docstring for UMat::handle
2017-04-22 09:44:29 +02:00
Peter Würtz
a4c70aebd0
Expose UMat OpenCL handles and buffer information to python
2017-04-22 09:42:27 +02:00
Pyotr Chekmaryov
7ffa49e02c
Vertical passes added and we have working parralel version.
2017-04-22 00:00:08 +00:00
Alexander Alekhin
8eade61ec7
Merge pull request #8612 from sovrasov:roi_selector
2017-04-21 17:20:28 +00:00
Tomoaki Teshima
0f5aaade61
fix test error on VS2012
2017-04-21 23:07:46 +09:00
Alexander Alekhin
b4f22803cd
Merge pull request #8593 from devnexen:test_fixes
2017-04-21 12:41:10 +00:00
Alexander Alekhin
f1c8094f5f
Merge pull request #8575 from lupustr3:pvlasov/icv2017u2_initial_update
2017-04-21 10:55:29 +00:00
Vladislav Sovrasov
ad7cf58450
highgui: add ROI selector
2017-04-21 13:29:35 +03:00
Alessandro Gentilini
fc8f1890c0
Fix markdown format.
2017-04-21 10:29:13 +02:00
Pavel Vlasov
35c7216846
IPP for OpenCV 2017u2 initial enabling patch;
2017-04-20 20:26:30 +03:00
Vadim Pisarevsky
dd54f7a22a
got rid of Blob and BlobShape completely; use cv::Mat and std::vector<int> instead
2017-04-19 23:20:17 +03:00
Arnaud Brejeon
636ab095b0
Merge pull request #8535 from arnaudbrejeon:std_array
...
Add support for std::array<T, N> (#8535 )
* Add support for std::array<T, N>
* Add std::array<Mat, N> support
* Remove UMat constructor with std::array parameter
2017-04-19 13:13:39 +03:00
insoow
2922738b6d
Merge pull request #8104 from insoow:master
...
Gemm kernels for Intel GPU (#8104 )
* Fix an issue with Kernel object reset release when consecutive Kernel::run calls
Kernel::run launch OCL gpu kernels and set a event callback function
to decreate the ref count of UMat or remove UMat when the lauched workloads
are completed. However, for some OCL kernels requires multiple call of
Kernel::run function with some kernel parameter changes (e.g., input
and output buffer offset) to get the final computation result.
In the case, the current implementation requires unnecessary
synchronization and cleanupMat.
This fix requires the user to specify whether there will be more work or not.
If there is no remaining computation, the Kernel::run will reset the
kernel object
Signed-off-by: Woo, Insoo <insoo.woo@intel.com>
* GEMM kernel optimization for Intel GEN
The optimized kernels uses cl_intel_subgroups extension for better
performance.
Note: This optimized kernels will be part of ISAAC in a code generation
way under MIT license.
Signed-off-by: Woo, Insoo <insoo.woo@intel.com>
* Fix API compatibility error
This patch fixes a OCV API compatibility error. The error was reported
due to the interface changes of Kernel::run. To resolve the issue,
An overloaded function of Kernel::run is added. It take a flag indicating
whether there are more work to be done with the kernel object without
releasing resources related to it.
Signed-off-by: Woo, Insoo <insoo.woo@intel.com>
* Renaming intel_gpu_gemm.cpp to intel_gpu_gemm.inl.hpp
Signed-off-by: Woo, Insoo <insoo.woo@intel.com>
* Revert "Fix API compatibility error"
This reverts commit 2ef427db91
.
Conflicts:
modules/core/src/intel_gpu_gemm.inl.hpp
* Revert "Fix an issue with Kernel object reset release when consecutive Kernel::run calls"
This reverts commit cc7f9f5469
.
* Fix the case of uninitialization D
When C is null and beta is non-zero, D is used without initialization.
This resloves the issue
Signed-off-by: Woo, Insoo <insoo.woo@intel.com>
* fix potential output error due to 0 * nan
Signed-off-by: Woo, Insoo <insoo.woo@intel.com>
* whitespace fix, eliminate non-ASCII symbols
* fix build warning
2017-04-19 12:57:54 +03:00
Alexander Alekhin
dd304dbe05
test: fix min/max name mismatching
2017-04-18 22:25:00 +03:00
David Carlier
bacc210606
fixing segfaults occuring when launching those unit tests
2017-04-18 09:50:17 +01:00
Alexander Alekhin
2be4f2c4dc
Merge pull request #8589 from tomoaki0705:fixTypoCalib3d
2017-04-17 14:20:25 +00:00
Alexander Alekhin
0d10eb5173
Merge pull request #8565 from iglesias:fix/bgsknn-initialization
2017-04-17 08:08:34 +00:00
Tomoaki Teshima
62c17dc3cf
fix typo and align white spaces
2017-04-17 08:32:08 +09:00
Pyotr Chekmaryov
20036b82d3
There added parallel realization of vertical passes for MODE_HH4.
2017-04-15 21:51:15 +00:00
Alexander Alekhin
10787c68d0
Merge pull request #8581 from ysolovyov:zlib-ios-fix
2017-04-14 20:12:19 +00:00
brian-armstrong-discord
9e054d3880
Merge pull request #8492 from brian-armstrong-discord:exif_inmemory
...
autorotate in-memory jpegs (#8492 )
* autorotate in-memory jpegs
* correct indentation (4 spaces)
* imgcodecs: don't apply EXIF rotation for unloaded images
* videoio: don't try to rotate MJPEG stream
* imgcodecs: ByteStreamBuffer::seekoff support all seek "dir"
* imgcodecs: fix condition: "off == egptr() - eback()" is valid offset
2017-04-14 23:12:07 +03:00
Yuriy Solovyov
26ccc09c46
Fix zlib issue on iOS
2017-04-14 17:16:00 +03:00
Alexander Alekhin
b37f0c5ac2
Merge pull request #8522 from zongwave:master
2017-04-14 11:40:07 +00:00
Vitaly Tuzov
9dc36a1ece
Tuned restrictions for Canny, Warp, FAST, Accumulate and Convolution OpenVX HAL calls on small images
2017-04-14 13:20:25 +03:00
zongwave
1fc60e6d64
Add method KeypointBasedMotionEstimator::estimate(InputArray, InputArray) to support both cpu & opencl algorithm processing
...
the orignal estimate function has input parameters defined as "Mat", this prevent users to call into algorithm opencl path
2017-04-14 10:08:48 +08:00
Alexander Alekhin
85321807dd
Merge pull request #8567 from tomoaki0705:fixCbrtVS2012
2017-04-12 13:46:09 +00:00
Tomoaki Teshima
c145f28c71
fix build error on VS2012
2017-04-12 20:09:00 +09:00
Alexander Alekhin
4d3cef35c2
Merge pull request #8564 from orisano:patch-1
2017-04-12 08:52:08 +00:00
Alexander Alekhin
ab9bbf645c
Merge pull request #8559 from liquidmetal:feature/utsinh_allocate_ecc
2017-04-12 08:39:10 +00:00
orisano
550ca10ec6
Remove stdout log when destructor called.
2017-04-12 17:12:25 +09:00
Fernando Iglesias Garcia
21e698053f
Initialize background model in background subtraction KNN.
...
The method does cvCheckPixelBackgroundNP (which reads bgmodel)
before it is ever updated (in cvUpdatePixelBackgroundNP). This
initialization is thus needed to avoid reads of unitialized values.
2017-04-12 10:11:50 +02:00
Utkarsh Sinha
0330934c8b
Updating documentation.
2017-04-11 06:42:20 -07:00
Vitaly Tuzov
4c0d833dec
Disabled vxuConvolution call for sepFilter evaluation
2017-04-11 15:57:20 +03:00
Alexander Alekhin
8ba95cd498
Merge pull request #8548 from csukuangfj:fix-typo-RNG
2017-04-11 11:46:06 +00:00
Vitaly Tuzov
87bb74312b
Disabled vxuConvolution call for Sobel, GaussianBlur and Box filter evaluation
2017-04-11 14:11:55 +03:00
Alexander Alekhin
4e31eef77d
Merge pull request #8540 from tomoaki0705:fixWaringPhoto
2017-04-11 10:36:01 +00:00
Alexander Alekhin
a2af1d4f71
Merge pull request #8458 from grundman:patch-2
2017-04-11 10:06:34 +00:00
Alexander Alekhin
c839a2ccb1
Merge pull request #8525 from nnorwitz:master
2017-04-11 09:30:09 +00:00
Tomoaki Teshima
ccc8767b55
suppress warning on Jetson TK1
2017-04-11 18:27:12 +09:00
Utkarsh Sinha
b9c2d88e69
If the user passes an empty output matrix, initialize it to identity.
2017-04-10 20:43:33 -07:00
Matthias Grundmann
e0fe3cce71
Update autotuned_index.h
...
Add missing sstream header for decl of std::ostringstream in line 104
2017-04-10 12:07:28 -07:00
Matthias Grundmann
fce7469961
Update utility.hpp
...
Adding missing header for ostream decl. in line 384
2017-04-10 12:04:09 -07:00
Fangjun KUANG
4065778255
fix typos.
2017-04-10 09:32:50 +02:00
Vitaly Tuzov
0f1a56da7c
Changed restrictions for OpenVX HAL calls on small images
2017-04-09 01:17:57 +03:00
Fangjun KUANG
ff31d069d0
avoid allocating memory for string with a length of zero.
...
Remove the specifier "explicit", because the constructor has no parameter. There is no point to add it here.
2017-04-07 20:46:17 +02:00
jveitchmichaelis
8f19363c07
Update documentation for getCudaEnabledDeviceCount
...
Inform users that getCudaEnabledDeviceCount can return -1 in some cases.
2017-04-07 14:30:14 +01:00
Tong Ke
0a63ab36bb
Merge pull request #8301 from tonyke1993:p3p_alg
...
New p3p algorithm (accepted by CVPR 2017) (#8301 )
* add p3p source code
* indent 4
* update publication info
* fix filename
* interface done
* plug in done, test needed
* debugging
* for test
* a working version
* clean p3p code
* test
* test
* fix warning, blank line
* apply patch from @catree
* add reference info
* namespace, indent 4
* static solveQuartic
* put small functions to anonymous namespace
2017-04-07 09:48:34 +03:00
Alexander Alekhin
2561c59698
Merge pull request #8524 from mshabunin:java-fixes
2017-04-06 20:49:33 +00:00
nnorwitz
24e8cd1a78
Use %% for inline assembly rather than % so this compiles with clang.
...
Same as 9210cefb36
but for this file too.
2017-04-06 12:54:56 -07:00
Vitaly Tuzov
bf62dca45a
Extended restrictions for OpenVX HAL calls on small images
2017-04-06 18:17:34 +03:00
Vitaly Tuzov
bf5b7843e8
Extended set of OpenVX HAL calls disabled for small images
2017-04-06 18:17:32 +03:00
nnorwitz
9210cefb36
Use %% for inline assembly rather than % so this compiles with clang.
2017-04-05 10:57:50 -07:00
Maksim Shabunin
4d62f1de1e
Added javadoc generation
2017-04-05 18:18:39 +03:00
Maksim Shabunin
8b455e8bb3
Fixed Algorithm.save and other methods work in Java
2017-04-05 17:48:38 +03:00
Alexander Alekhin
fd93ae08b6
Merge pull request #8523 from mshabunin:fix-cvtcolor-ocl
2017-04-05 10:02:01 +00:00
Maksim Shabunin
ce50df564c
Fixed cvtColor OCL compilation issue (BGRA2mBGRA)
2017-04-05 11:48:29 +03:00
Alexander Alekhin
bd786f3bea
Merge pull request #8520 from tomoaki0705:cudaWarningsSuppress
2017-04-05 06:34:45 +00:00
Tomoaki Teshima
731b5b206f
suppress warnings from cuda
2017-04-05 08:30:16 +09:00
Alexander Alekhin
e5d9b608c4
cmake: fix fp16 support
2017-04-04 20:34:58 +03:00
Alexander Alekhin
d15d9f558d
Merge pull request #8514 from paroj:v4lretval
2017-04-04 15:01:21 +00:00
Pavel Rojtberg
d92d82d194
cap_v4l: SetProperty - do not return false while setting video size
2017-04-04 15:07:02 +02:00
Alexander Alekhin
e93aa158cf
Merge pull request #8496 from Sahloul:fixes/wrappers/imgproc/EMD
2017-04-03 20:55:51 +00:00
Alexander Alekhin
297ba85323
Merge pull request #8441 from alalek:dispatch_mathfuncs_core
2017-04-03 14:03:49 +00:00
Vadim Pisarevsky
36e8017580
Merge pull request #8465 from claudiofantacci:enh/cudastreamhog
2017-04-03 09:58:21 +00:00
Vadim Pisarevsky
4aa51f6a32
Merge pull request #8484 from berak:patch-2
2017-04-03 09:57:58 +00:00
Vadim Pisarevsky
a973d93dcb
Merge pull request #8504 from bcr3ative:fixStereoBMROI
2017-04-03 09:57:34 +00:00
Vadim Pisarevsky
2409924dbc
Merge pull request #8342 from grundman:patch-1
2017-04-03 09:34:53 +00:00
Alexander Alekhin
c049275512
Merge pull request #8502 from tomoaki0705:fixWarningsArrayBound
2017-04-02 10:15:47 +00:00
Alexander Alekhin
bbdd8ba078
Merge pull request #8506 from sergiud:mat-move-assignment-dont-copy
2017-04-02 10:13:17 +00:00
Sergiu Deitsch
4f31759965
prevent copying in cv::Mat_<T> move assignment
2017-04-01 21:53:30 +02:00
Tomoaki Teshima
6ab10fc3ac
suppress warnings on GCC 4.9 series
...
- check boundary strictly
- initialize the variable before using it
2017-04-01 20:53:50 +09:00
Paolo Perkovic
dd576c89a3
Fix StereoBM ROI selection
...
- Fix StereoBM ROI (Region of interest) selection for stereo
images used by block matching algorithm
2017-04-01 13:29:44 +02:00
Hamdi Sahloul
89088937a7
Avoid memory leakage in smart pointers wrapper
2017-04-01 18:27:57 +09:00
Hamdi Sahloul
6a856d677c
Wraps cv::EMD for Python and Java
2017-04-01 17:20:03 +09:00
Alexander Alekhin
0ae297ad95
Merge pull request #8497 from Sahloul:fixes/wrappers/ptr
2017-03-31 20:52:46 +00:00
Hamdi Sahloul
c75b589f89
Wraps smart pointers properly
2017-04-01 03:19:29 +09:00
Alexander Alekhin
b67382cbeb
Merge pull request #8494 from tomoaki0705:fixWarningCuda
2017-03-31 15:42:01 +00:00
Tomoaki Teshima
507071cc6f
suppress warnings on Jetson TK1
2017-03-31 08:20:59 +09:00
berak
3e0b63f65b
fix comment in optim.hpp
2017-03-30 11:07:52 +02:00
Alexander Alekhin
f34b2f7b8d
Merge pull request #8470 from superbort:stitching-estimators
2017-03-28 13:08:24 +00:00
Alexander Broemmer
b2524f4571
Clear old CameraParameters in AffineBasedEstimator
...
AffineBasedEstimator crashed when called with an existing CameraParameters.
This happens e.g. when using Stitcher in SCANS mode.
CameraraParameters is now cleared before any calculation is executed.
2017-03-28 15:19:25 +02:00
Alexander Alekhin
7cc97fd96c
Merge pull request #8421 from mshabunin:download-cache
2017-03-28 11:13:14 +00:00
Matthias Grundmann
de52887c49
Update circlesgrid.cpp
...
Use identity matrix if homography finding failed. Current behavior zeros out all points.
Update circlesgrid.cpp
Addressed comments
Update circlesgrid.cpp
removed whitespace
2017-03-28 10:56:12 +03:00
Pyotr Chekmaryov
106413a3ea
Simplest test added and code debuged.
2017-03-27 21:40:17 +00:00
Claudio
4709b9d2d8
Add cuda::streams to by_rows and 8UC1 functions
...
Fix #8177
2017-03-27 10:54:07 +02:00
Claudio
dd3655f6a6
Align parameter code style between hog .cu and .cpp files
2017-03-27 10:53:37 +02:00
Claudio
35f66340d7
Add cuda::Stream capability to cuda::HOG::compute
...
In the previous version only the default stream was/could be used, i.e.
cv::cuda::Stream::Null().
With this change, HOG::compute() will now run in parallel over different
cuda::Streams.
The code has been reordered so that all data allocation is completed
first, then all the kernels are run in parallel over streams.
Fix #8177
2017-03-27 10:53:22 +02:00
Artem Lukoyanov
84a0a91d16
Merge branch 'master' of https://github.com/opencv/opencv into interpMultichannelImg
...
Added assertios to remap and warpAffine functions
As @mshabunin said, remap and warpAffine functions do not support more than 4 channels in
Bicubic and Lanczos4 interpolation modes. Assertions were added. Appropriate test was chenged.
resolves #8272
2017-03-24 23:58:51 +03:00
Matthias Grundmann
13540bf7f4
Update bgfg_gaussmix2.cpp
...
Addressed comments.
2017-03-24 13:26:32 -07:00
Alexander Alekhin
49e16a3c9f
Merge pull request #8448 from jexner:foreach-segfault-fix
2017-03-24 18:25:30 +00:00
Alexander Alekhin
e7cad594c1
Merge pull request #8454 from superbort:reuse-stitching
2017-03-24 14:38:54 +00:00
Julian Exner
46af07575e
Add test case for cv::Mat::forEach
...
This test case uses a matrix with more dimensions than columns. Without
the fix in
b45e784beb
this crashes with a segmentation fault, hangs or simply fails with wrong
values.
2017-03-24 15:34:58 +01:00
Alexander Broemmer
30d26acee0
Make stitching panoramas reusable after estimating transform once
...
Stitcher will now make a working copy of the CameraParams object to avoid side effects when composing Panorama.
Makes it possible to estimate transform once and then compose multiple panoramas. Useful for setup with fixed cameras.
2017-03-24 14:20:43 +01:00
Maksim Shabunin
e72d353b45
Download cache
2017-03-24 16:19:56 +03:00
Artem Lukoyanov
c4ae5c0ee5
Added assertios to remap and warpAffine functions
...
Remap and warpAffine functions do not support more than 4 channels in
Bicubic and Lanczos4 interpolation modes. Assertions were added.
resolve #8272
2017-03-24 11:19:58 +03:00
Alexander Alekhin
d0c64fca2b
Merge pull request #8433 from csukuangfj:issue-8189
2017-03-23 20:20:07 +00:00
jexner
b45e784beb
Fix segmentation fault in cv::Mat::forEach
...
This issue concerns only matrices with more dimensions than columns.
See https://github.com/opencv/opencv/issues/8447
2017-03-23 18:48:59 +01:00
Fangjun KUANG
da94d85789
add more info to the error code.
2017-03-23 14:40:34 +01:00
Fangjun KUANG
f82d64c6e5
Add more info to the error code.
2017-03-23 14:34:24 +01:00
Alexander Alekhin
1e6ce1d2f8
core(mathfuncs_core): cpu optimization dispatched code
2017-03-23 16:17:10 +03:00
Alexander Alekhin
17e5e4cd5a
core: CPU target dispatcher update
...
- use suffixes like '.avx.cpp'
- added CMake-generated files for '.simd.hpp' optimization approach
- wrap HAL intrinsic headers into separate namespaces for different build flags
- automatic vzeroupper insertion (via CV_INSTRUMENT_REGION macro)
2017-03-23 16:12:11 +03:00
Julian Tanke
f70cc29edb
export SVM::trainAuto to python #7224 ( #8373 )
...
* export SVM::trainAuto to python #7224
* workaround for ABI compatibility of SVM::trainAuto
* add parameter comments to new SVM::trainAuto function
* Export ParamGrid member variables
2017-03-23 16:00:19 +03:00
Chaoshuai Lu
de7018539d
Fix UIImageToMat method by taking image scale information into account
2017-03-22 22:33:13 -07:00
Chaoshuai Lu
874fb7ae78
Fix MatToUIImage method crash when the step is not equal to cols * elemSize()
2017-03-22 22:04:27 -07:00
Fangjun KUANG
94521629ab
fix issue 8411.
2017-03-22 23:24:47 +01:00
KUANG, Fangjun
03c4c37969
fix issue 8189.
2017-03-22 22:24:20 +01:00
KUANG, Fangjun
eae1ebfd29
fix issue 8411.
2017-03-22 22:03:29 +01:00
Vadim Pisarevsky
0b3d13645f
Merge pull request #8364 from csukuangfj:patch-2
2017-03-22 14:13:13 +00:00
Alexander Alekhin
ba104b61bf
Merge branch 'pr8392'
2017-03-22 13:45:24 +03:00
Vadim Pisarevsky
8abd163464
Merge pull request #8404 from khnaba:stream-with-custom-allocator
2017-03-21 20:06:56 +00:00
Vadim Pisarevsky
e5dbd2c3a5
Merge pull request #8406 from khnaba:dft-as-algorithm
2017-03-21 20:05:54 +00:00
Vadim Pisarevsky
a57d144076
Merge pull request #7462 from alalek:cpu_multi_target
2017-03-21 19:51:32 +00:00
q
2918c3d75a
First occurence of 4-directional version of SGBM.
...
Even without any tests.
Next step is parallelising it.
2017-03-21 14:51:19 +00:00
Naba Kumar
29680100ac
Support for creating streams with custom allocator
2017-03-21 14:50:14 +02:00
Alexander Alekhin
8bce760174
Merge pull request #8424 from khnaba:expose-buffer-pool
2017-03-21 12:43:15 +00:00
Alexander Alekhin
b3d128bb39
Merge pull request #8401 from avartenkov:multichannel_warp
2017-03-21 11:59:56 +00:00
Alexander Alekhin
741e51396b
Merge pull request #8416 from berak:patch-2
2017-03-21 11:57:57 +00:00
Naba Kumar
00f3ad7217
Implement DFT as cv::Algorithm to support concurrent streams
2017-03-21 13:55:13 +02:00
Naba Kumar
cdcf44b3ef
Expose BufferPool class for external use also
2017-03-21 13:50:02 +02:00
Alexander Alekhin
1389cc9600
Merge pull request #8393 from alalek:ocl_driver_version
2017-03-21 10:44:52 +00:00
Alexander Alekhin
e77a5d5f13
Merge pull request #8422 from berak:fix_shapematchmodes
2017-03-21 09:06:30 +00:00
vartenkov
3fbe1f8d64
Fix multichannel warping with BORDER_CONSTANT
...
Warping a matrix with more than 4 channels using BORDER_CONSTANT and
INTER_NEAREST, INTER_CUBIC or INTER_LANCZOS4 interpolation led to
undefined behaviour. This commit changes the behavior of these methods
to be similar to that of INTER_LINEAR. Changed the scope of some of the
variables to more local. Modified some tests to be able to detect the
error described.
2017-03-20 15:21:49 +03:00
berak
11f3c0741e
imgproc: move ShapeMatchModes enum from c to c++ header
2017-03-20 09:59:19 +01:00
berak
0b31eca9c2
remove unnessecary print statement
...
#resolves: 7881
remove printf statement and associated variables from invMapPointSpherical() in undistort.cpp
2017-03-19 10:12:50 +01:00
Kerry Billingham
d9231afa29
Changes made to the Maven build process:
...
* Introduced OSGi Blueprint XML file and Bean class too automatically load the native library.
* Introduced integration testing module to deploy to Karaf OSGi implementation.
* Clears library executable stack flag during build.
* Updated README document.
2017-03-18 10:49:02 +00:00
Woody Chow
9eecb5a9fe
Optimize RowVec_32f and SymmColumnVec_32f with AVX2
2017-03-16 15:42:58 +09:00
Woody Chow
c370cc10e9
Optimize normL2Sqr_ with AVX2
2017-03-16 14:20:41 +09:00
Woody Chow
05476d6604
Optimize initUndistortRectifyMap with AVX2
2017-03-16 13:50:24 +09:00
Woody Chow
9a29fc2ce1
Optimize WarpAffine using AVX2
2017-03-16 10:13:56 +09:00
Alexander Alekhin
dcdd5d64b6
ocl: dump OpenCL driver version in tests
2017-03-15 18:23:30 +03:00
Maksim Shabunin
9333f82be0
Reduce dependencies between modules
2017-03-15 17:58:52 +03:00
Fangjun KUANG
246d3761ce
Merge pull request #8383 from csukuangfj/patch-10
...
* Improve documentation.
* Update imgproc.hpp
2017-03-15 11:12:59 +00:00
Naba Kumar
27cf6e549e
Merge pull request #8367 from khnaba:cuda-calchist-with-mask
...
Implement cv::cuda::calcHist with mask support (#8367 )
* Implement cuda::calcHist with mask
* Fix documentation build warning
* Have their own step sizes for src and mask. Fix review comment.
2017-03-15 09:34:00 +00:00
Woody Chow
a8763c1fec
Optimize exp32f with AVX2
2017-03-15 17:03:36 +09:00
Maksim Shabunin
a83a1cafa7
Merge pull request #8388 from ottogin:calib3d
2017-03-15 04:33:33 +00:00
Matthias Grundmann
7295dd7dec
Update bgfg_gaussmix2.cpp
...
1e-12 -> DBL_EPSILON
2017-03-14 16:57:50 -07:00
Artem Lukoyanov
3bf5d34544
Callib3d 4channel image detection
...
3.2 version doesn't support 4 channel color image
detections, unlike 3.1. Now, we don't call
CV_Error() if 4 channel image is given.
resolve #8326
2017-03-15 02:54:15 +03:00
Alexander Alekhin
73e9c44377
Merge pull request #8370 from csukuangfj:patch-7
2017-03-14 13:32:35 +00:00
Alexander Alekhin
661f3e2160
Merge pull request #8371 from csukuangfj:patch-8
2017-03-14 13:23:02 +00:00
Alexander Alekhin
6fcb07d41e
Merge pull request #8375 from Sahloul:fixes/matx/init
2017-03-14 13:22:26 +00:00
Alexander Alekhin
54f7ebdec9
Merge pull request #8380 from csukuangfj:patch-9
2017-03-14 13:20:52 +00:00
Hamdi Sahloul
171e705ba4
Fixes the constructor of 1x14, 2x7, 7x2 or 14x1 matrix
2017-03-14 18:26:22 +09:00
Fangjun KUANG
3ad6d13ff3
Fix an error in the documentation.
2017-03-14 09:57:37 +01:00
hailong-wang
207218e920
Fix the bug of Mat_<>::opeartor []
...
`template<typename _Tp> inline const _Tp* Mat_<_Tp>::operator [](int y) const` does not support 3d matrix since it checks rows.
This operator[] shall check size.p[0] instead.
2017-03-14 13:02:59 +08:00
Fangjun KUANG
31cc519cd3
fix typos.
2017-03-13 13:51:22 +01:00
Fangjun KUANG
3c15913f53
Impove the documentation for Mat::diag
2017-03-13 12:46:50 +01:00
Alexander Alekhin
502aa1f053
Merge pull request #8368 from csukuangfj:patch-5
2017-03-13 10:15:30 +00:00
Alexander Alekhin
fdda19cb0c
Merge pull request #8356 from csukuangfj:patch-1
2017-03-13 09:59:16 +00:00
Fangjun KUANG
95468b72f3
Fix typos in the documentation for cv::Mat.
2017-03-13 10:20:41 +01:00
KUANG, Fangjun
debc1c4c95
fix an error while setting kernel argument for a 3-D matrix.
2017-03-12 18:29:49 +01:00
KUANG, Fangjun
be7d4608fb
Add more comments to the members of CoreTLSData related to OpenCL.
2017-03-12 16:13:00 +01:00
KUANG, Fangjun
3c5d87cbae
Add more information to the error code.
2017-03-11 10:55:50 +01:00
Alexander Alekhin
08c6ffaa8d
Merge pull request #8346 from Sahloul:fixes/python_wrapper/flann
2017-03-10 20:01:54 +00:00
Fangjun KUANG
2a30d8c9f9
Update documentation for cv::accumulate.
...
Make it more clear for the type of input argument.
2017-03-10 17:53:12 +01:00
Hamdi Sahloul
db52841544
Accept default argument of FLANN index parameters
2017-03-10 22:09:31 +09:00
chacha21
8c7d29e526
more minor changes to fix -Wunused-function warning on Apple platforms
2017-03-09 18:08:34 +01:00
chacha21
94c58e7347
minor changes to fix -Wunused-function warning on Apple platforms
2017-03-09 17:28:52 +01:00
Alexander Alekhin
e4377e7c51
Merge pull request #8335 from kuanyili:typo-patch
2017-03-09 10:43:00 +00:00
Matthias Grundmann
0a1767a6b5
Update bgfg_gaussmix2.cpp to avoid divide by zero cases.
2017-03-08 19:27:43 -08:00
Alexander Alekhin
8ef23d64a1
Merge pull request #8308 from sovrasov:fs_dmatch_kpts_update
2017-03-07 19:28:34 +00:00
Kuan-Yi Li
e685dcef0b
Fix typos
2017-03-07 23:42:24 +08:00
Vadim Pisarevsky
24efb02d93
Merge pull request #8332 from sovrasov:qt_no_dbg_output_in_release
2017-03-07 14:39:44 +00:00
Vadim Pisarevsky
e832870288
Merge pull request #8333 from sovrasov:ml_svm_params_scope_fix
2017-03-07 14:38:10 +00:00
Vladislav Sovrasov
195c12f2db
ml: remove useless namespace identifiers in SVM
2017-03-07 16:02:19 +03:00
Vladislav Sovrasov
cd7f0a5177
QT: disable debug output in Release mode
2017-03-07 15:41:07 +03:00
Alexander Alekhin
6b1d9971f4
Merge pull request #8313 from alalek:ocl_fix_cvtcolor
2017-03-07 11:29:01 +00:00
Alexander Alekhin
f9f013e264
Merge pull request #8323 from csukuangfj:csukuangfj-patch-8
2017-03-07 11:24:19 +00:00
chacha21
bfd800342b
use "double" from scalar only for CV_64F input
...
Restore "DstType" in AbsDiffScalarOp template arguments, even if
eventually it will be equal to SrcType
use "double" from scalar only for CV_64F input
2017-03-07 09:49:49 +01:00
Alexander Alekhin
6fe1898ab6
Merge pull request #8294 from alalek:fix_stitching_failure
2017-03-06 14:55:23 +00:00
Alexander Alekhin
990e87effb
Merge pull request #8111 from utibenkei:saliency-module-java
2017-03-06 14:39:23 +00:00
chacha21
2375e58705
assert SrcDepth == DstDepth
...
simplify code by requesting srcDepth == dstDepth
2017-03-06 15:08:59 +01:00
Fangjun KUANG
8a679128fa
Update comments for cv::InputArray.
2017-03-06 14:45:30 +01:00
Alexander Alekhin
3e2b05b096
Merge pull request #8274 from abratchik:mser.brisk.3.0.0-rc1
2017-03-06 10:22:29 +00:00
Alexander Alekhin
aa5204958e
Merge pull request #8279 from sovrasov:calib3d_new_recover_pose
2017-03-06 10:20:43 +00:00
Alexander Alekhin
92c4b6ae4c
Merge pull request #8298 from delftrobotics-forks:circles-grid-parameters
2017-03-05 10:17:51 +00:00
Jaime O. Rios
5d03262b00
Added message about 32-bit Obj-C to all @synthesize sections.
2017-03-03 13:34:29 -05:00
chacha21
6cf4371eb4
make cuda::absdiff support multi-channel scalars
...
I took the subScalar.cu code and changed the inner operation
2017-03-03 18:24:12 +01:00
Alexander Alekhin
ba8a6e3533
ocl: don't use vload4 for 3 channel images
2017-03-03 19:36:38 +03:00
Philipp Hasper
ec38ef9b10
CameraBridgeViewBase synchronizes on a final field
...
Synchronizing against non-final fields is advised against.
2017-03-03 16:07:10 +01:00
Jaime O. Rios
10651d491f
Added message about synthesize keyword.
2017-03-03 09:43:44 -05:00
Jose Gómez
6f39f9a6a0
Merge pull request #8168 from jmgomezpoveda:issue_8166
...
* Use the YV12 format in the Android emulator to avoid image issues
* Removed trailing spaces
* Added exception in else case
* Removed tab
2017-03-03 13:44:11 +00:00
Vladislav Sovrasov
931b32d102
core: add single DMatch/Keypoint I/O
2017-03-03 13:58:55 +03:00
Alexander Alekhin
89ce2dc405
core: DMatch I/O tests
2017-03-03 13:55:27 +03:00
chacha21
27cfe31b64
more ICV_HLINE specific cases
...
added ICV_HLINE custom implementations for element sizes up to 32
but timings show that it is not very relevant for sizes >= 12
2017-03-03 11:47:46 +01:00
Alexander Alekhin
5d31d6ebbb
Merge pull request #8306 from chacha21:portability
2017-03-03 04:46:05 +00:00
Jaime O. Rios
2d20aa4ed0
Modified code to work with universal build.
2017-03-02 16:00:29 -05:00
chacha21
74abbd0898
Fix compilation when USE_ZLIB is false
...
create a dummy gzFile type
2017-03-02 16:58:51 +01:00
chacha21
aa1b031274
get rid of warning C4800 under VS2010
...
the "std::basic_ios::operator bool" differs between C++98 and C++11. The
"double not" syntax is portable and covers both cases with equivalent
meaning
2017-03-02 16:56:20 +01:00
Vadim Pisarevsky
b46364e436
Merge pull request #7996 from mshabunin:hal-filter-revert
2017-03-02 11:12:08 +00:00
Vadim Pisarevsky
e0ee2f769a
Merge pull request #8116 from mrquorr:master
2017-03-02 11:07:23 +00:00
Alexander Alekhin
e65c6270bf
stitching(perf): workaround test failures
...
force other RNG seed
2017-03-02 13:45:12 +03:00
Alexander Alekhin
147f3ebf0a
flann: use OpenCV theRNG()
...
std::rand() has no thread-safe guarantee.
2017-03-02 13:45:12 +03:00
Alexander Alekhin
53e685461e
stitching: force "stable" RNG
2017-03-02 13:45:12 +03:00
Hans Gaiser
11b24eb49f
Expose CirclesGridFinderParameters in findCirclesGrid.
2017-03-02 10:53:45 +01:00
chacha21
92a3dbe18f
more ICV_HLINE optimization
...
added 64b optimization for 3 channels case
not added 64b optimization for 4 channels case since timings did not
show any improvement
split ICV_HLINE cases into inline functions instead of macro for code
size reduction, without significand speed drawback at first sight
2017-03-02 09:44:12 +01:00
Vadim Pisarevsky
f46fa6e096
Merge pull request #8283 from ramele1907:master
2017-03-02 05:54:06 +00:00
Vadim Pisarevsky
408ef5c65b
Merge pull request #8288 from Jejos:bugfix_medianBlur_accessviolation
2017-03-02 05:53:09 +00:00
Vadim Pisarevsky
c7049ca627
Merge pull request #8293 from alalek:update_rng_in_parallel_for
2017-03-02 05:51:01 +00:00
Vadim Pisarevsky
5f990566c4
Merge pull request #8297 from csukuangfj:csukuangfj-patch
2017-03-02 05:47:33 +00:00
Vadim Pisarevsky
ddfe688be6
Merge pull request #8299 from sovrasov:fs_fix_kpts_dmatch_output
2017-03-02 05:46:38 +00:00
Alexander Alekhin
da0b1d8821
Merge pull request #8238 from PkLab:fix_doc_ellipse
2017-03-01 14:31:06 +00:00
Alexander Alekhin
69f1d1ddff
Merge pull request #8296 from ville-v:master
2017-03-01 14:12:00 +00:00
Alexander Alekhin
47c4dcc8a3
Merge pull request #8204 from terfendail:ovx_tlcontext
2017-03-01 12:36:37 +00:00
Vladislav Sovrasov
c321d025c4
Fix DMatch and Keypoint I/O in FileStorage
2017-03-01 15:07:38 +03:00
Fangjun KUANG
34c70e7a1c
Fix typos.
2017-03-01 11:13:46 +01:00
ville-v
0c1bcf354c
Fix issue #8278 : "CV_XADD compile errors with Embarcadero C++ Builder 10.1"
2017-03-01 08:47:49 +02:00
ville-v
1de10f9f86
Add files via upload
...
Fix issue #8280 : "fastmath.h related compile errors with Embarcadero C++ Builder 10.1"
2017-03-01 08:42:14 +02:00
mrquorr
d8425d8881
finished for one sample
...
Finished with several samples support, need regression testing
Gave a more relevant name to function (getVotes)
Finished implicit implementation
Removed printf, finished regresion testing
Fixed conversion warning
Finished test for Rtrees
Fixed documentation
Initialized variable
Added doxygen documentation
Added parameter name
2017-02-28 11:14:33 -06:00
Alexander Alekhin
649bb7ac04
core: parallel_for_(): update RNG state of the main thread
2017-02-28 18:28:15 +03:00
Alexander Alekhin
ebdd74105a
core(test): add regression test for RNG in parallel_for_()
2017-02-28 18:22:58 +03:00
Alexander Alekhin
b28fd79fdc
core: parallel_for_(): propagate RNG state from the main thread
2017-02-28 18:22:46 +03:00
Jejos
5169c79978
fix medianBlur accessviolation
...
medianBlur called with "empty" source and ksize >= 7 crashes application with accessviolation. With this extra assert this is avoided and the application may normally catch the thrown exception.
2017-02-28 08:31:28 +01:00
Maksim Shabunin
220d1f0b3e
Merge pull request #8231 from paroj:pytype
2017-02-27 11:17:02 +00:00
Vladislav Sovrasov
710506e9e2
calib3d: add a new overload for recoverPose
2017-02-27 13:26:04 +03:00
Maksim Shabunin
c4c1c4c9bb
Replaced several hal:: classes with functions, marked old variants deprecated
2017-02-27 12:13:31 +03:00
abratchik
276e47afae
fix #7833
2017-02-26 15:14:34 +04:00
ziggy90127
d69b3e385e
Add AVMediaTypeMuxed capture devices to AVFoundation, just as QTKit does.
2017-02-26 01:36:26 -07:00
Maksim Shabunin
0d7666a012
Merge branch 'master' into master
2017-02-26 07:46:59 +03:00
ziggy90127
0aadab0941
Add AVMediaTypeMuxed capture devices to AVFoundation, just as QTKit does.
2017-02-25 15:48:09 -07:00
Alexander Alekhin
dcbed8d676
Merge pull request #8250 from tomoaki0705:fixNonAsciiChar
2017-02-24 11:19:00 +00:00
Alexander Alekhin
eee638fd81
Merge pull request #8244 from sovrasov:adjust_roi_fix
2017-02-24 11:18:35 +00:00
Alexander Alekhin
c624d82383
Merge pull request #8239 from tomoaki0705:buildUniversalIntrinsicBlend
2017-02-24 11:17:51 +00:00
Alexander Alekhin
0c00242f7a
Merge pull request #8235 from berak:fix_dshow_leak
2017-02-24 11:11:20 +00:00
Vadim Pisarevsky
12d7429ff0
Merge pull request #8064 from terfendail:sgbm_bigbuffer
2017-02-23 20:11:26 +00:00
Tomoaki Teshima
822c67fdee
remove non ASCII character from comment
2017-02-24 01:31:32 +09:00
PkLab.net
e03c81d90a
Change image e small fix to cv::ellipse() Doc
2017-02-23 09:10:48 +01:00
Tomoaki Teshima
aec59aba34
suppress warnings
...
- brush up the implementation
2017-02-23 09:11:12 +09:00
Alexander Alekhin
ee9c0f5f9c
Merge pull request #8234 from alalek:issue_8121
2017-02-22 16:21:01 +00:00
Maksim Shabunin
a9e33fe54e
Merge pull request #8243 from sovrasov:hal_round_to_cvround
2017-02-22 15:52:10 +00:00
Vladislav Sovrasov
595437bdd1
hal: replace round() with cvRound()
2017-02-22 14:08:38 +03:00
Vladislav Sovrasov
14451f3f06
core: fix adjustROI behavior on indexes overflow
2017-02-22 14:05:51 +03:00
Wenju He
9fbce6c8c8
fix multiband_blend.cu build error in issue opencv_contrib#1012
2017-02-22 08:44:10 +08:00
ionut
a41d877fe6
Change the value of bit/pixel from channels to 8*channels because videos encoded
...
by cap_mjpeg_encoder.cpp don't play on windows media player.
Issue number #8113
2017-02-21 19:15:40 +02:00
berak
d7240d1a28
fix leaking handle in cap_dshow.cpp
2017-02-21 14:27:12 +01:00
Vitaly Tuzov
9a4b5a4545
OpenVX calls updated to use single common OpenVX context per thread
2017-02-21 16:08:23 +03:00
Alexander Alekhin
ec7f74f7b4
core(TLS): add cleanup() method
2017-02-21 16:08:23 +03:00
chacha21
afbcc07184
Merge remote-tracking branch 'origin/drawing_performance' into drawing_performance
...
# Conflicts:
# modules/imgproc/src/drawing.cpp
2017-02-21 12:03:15 +01:00
chacha21
91a0270432
try to fix Android compilation
2017-02-21 12:02:23 +01:00
Alexander Alekhin
eaba0e6358
cmake: append '-framework UIKit' for videoio/imgcodecs module
2017-02-21 13:37:37 +03:00
Pavel Rojtberg
789dc0a3b7
python: type of initial_button_state must match format string
2017-02-21 11:11:22 +01:00
Fangjun KUANG
526220a171
Fix typos in the documentation ( #8226 )
...
* fix typos.
* Fix typos.
* Fix typos.
* Fix typos.
* Fix typos.
2017-02-21 12:48:15 +03:00
Vadim Pisarevsky
5bfaf9931b
Merge pull request #8228 from csukuangfj:csukuangfj-patch
2017-02-21 09:46:09 +00:00
Hamdi Sahloul
232d6b87f4
cv::Matx python wrapper
2017-02-21 11:29:28 +09:00
Fangjun KUANG
b1851e2f16
Add support to print cv::UMat
.
...
Now a user can use `std::cout` to print an object of `cv::UMat` just like `cv::Mat`.
2017-02-20 16:22:46 +01:00
Tomoaki Teshima
64cf206fb5
optimize blend using universal intrinsic
...
- add more channels/depth performance test for blend
2017-02-20 19:09:26 +09:00
Alexander Alekhin
b2da9df82d
Merge pull request #8221 from csukuangfj:csukuangfj-path-2
2017-02-19 10:16:00 +00:00
Fangjun KUANG
e827a5bd9e
Fix an error in the demo code for cv::Mat::forEach
2017-02-18 10:14:29 +01:00
Vadim Pisarevsky
9053839282
Merge pull request #8178 from tomoaki0705:addBayer2RGBA
2017-02-16 15:01:49 +00:00
Vadim Pisarevsky
3240f2a6b7
Merge pull request #8187 from hewj03:improve-MultiBandBlender-cuda
2017-02-16 15:00:58 +00:00
Fangjun KUANG
57ed0e57f0
Fix the documentation for Mat::diag(int). ( #8199 )
...
* Fix the documentation for Mat::diag(int).
Fix issue #8181
* Fix the documentation for Mat::diag(int).
Fix issue #8181 .
* Add support for printing out cv::Complex.
* Remove extra spaces.
* cv::Complex is submitted as a new pull request.
2017-02-16 18:00:32 +03:00
Vadim Pisarevsky
ca0b6fbb95
Merge pull request #8203 from alalek:ocl_kernelarg_validate
2017-02-16 14:58:25 +00:00
Jinay Patel
f710d96602
Update ocl.cpp function Device::OpenCLVersion()
...
Instead of CL_DEVICE_EXTENSIONS in Querying OpenCLVersion, it should be CL_DEVICE_VERSION flag which needs to be passed to the function.
2017-02-16 15:20:57 +05:30
Alexander Alekhin
bc8a91ed83
Merge pull request #8211 from csukuangfj:csukuangfj-patch-3
2017-02-16 08:57:44 +00:00
Alexander Alekhin
bb8be523c5
Merge pull request #8210 from alalek:fix_mkl_link
2017-02-16 08:56:02 +00:00
Fangjun KUANG
a8a208e0fe
Merge pull request #8208 from csukuangfj:complex_support
...
Add support for printing out cv::Complex. (#8208 )
* Add support for printing out cv::Complex.
* Conform to the format of std::complex.
* Remove extra spaces.
* Remove extra spaces.
2017-02-15 21:50:14 +03:00
Alexander Alekhin
3fbaabc866
Merge pull request #8209 from csukuangfj:csukuangfj-patch-2
2017-02-15 18:48:01 +00:00
Fangjun KUANG
5e4dfb9546
Change the argument type to cl_platform_info.
...
Although both `cl_platform_info` and `cl_device_info` are defined as macro `cl_uint`, it needs to use `cl_platform_info` to get
the platform information.
2017-02-15 16:44:40 +01:00
Alexander Alekhin
05248a3dea
cmake: fix order of MKL libraries, don't pass additional libraries as modules
2017-02-15 17:13:13 +03:00
Fangjun KUANG
46fe74177d
Fix typos.
2017-02-15 14:52:00 +01:00
Pavel Rojtberg
df86f0752a
add missing casts to _Tp as determinant() always returns double
2017-02-15 12:21:17 +01:00
Alexander Alekhin
4c7aa8645a
ocl: validate arguments in KernelArgs constructor
...
- don't use undefined flag=0. It should be CONSTANT instead.
- don't allow 'UMat* m=NULL' argument (except LOCAL/CONSTANT flags).
This case is not handled well to provide NULL __global pointers.
It is better to use '-D' macro defines instead (at least for performance)
2017-02-14 16:10:32 +03:00
Alexander Alekhin
1304ad1e12
Merge pull request #8160 from ilijapuaca:master
2017-02-14 13:03:09 +00:00
Alexander Alekhin
e16227b53c
cmake: support multiple CPU targets
2017-02-13 19:52:59 +03:00
Alexander Alekhin
b7945827f9
Merge pull request #8175 from alalek:cmake_cleanup_defines
2017-02-13 10:59:09 +00:00
Fangjun KUANG
1e11657ba4
Merge pull request #8197 from csukuangfj/csukuangfj-patch-1
...
Fix typos in the documentation for AutoBuffer. (#8197 )
* Allocate 1000 floats to match the documentation
Fix the documentation of `AutoBuffer`. By default, the following code
```.cpp
cv::AutoBuffer<float> m;
````
allocates only 264 floats. But the comment in the demonstration code says it allocates 1000 floats, which is
not correct.
* fix typo in the comment.
2017-02-13 13:58:44 +03:00
Wenju He
2722133206
add accuracy test CUDA_MultiBandBlender
2017-02-12 17:16:49 +08:00
Wenju He
b76e88354c
improve MultiBandBlender cuda, add normalizeUsingWeight and addSrcWeight kernels
2017-02-12 17:08:05 +08:00
Alexander Alekhin
642e4d97a4
Merge pull request #8165 from AdeelH:master
2017-02-11 11:02:10 +00:00
chacha21
16a9407fbf
new try to adapt to iOS build bot
2017-02-11 11:26:55 +01:00
chacha21
e19000a56f
adaptation for iOS buildbot
2017-02-11 11:07:00 +01:00
chacha21
7521bcc32c
comment unused function
...
On MacOS and iOS, the unused opencvBigToHost32 is a warning for buildbot
2017-02-10 22:34:44 +01:00
chacha21
d3a15c625a
do not use GCC_VERSION
2017-02-10 21:58:02 +01:00
chacha21
af746a9269
optimize ICV_HLINE
...
ICV_HLINE is split into several specific cases, according to pixel_size,
to optimize memory copies of the same color components along the line.
2017-02-10 16:26:24 +01:00
Tomoaki Teshima
37be9ddeec
add enum Bayer**2BGRA
...
- let it possible to reach Bayer2BGRA conversion
2017-02-11 00:20:57 +09:00
Alexander Alekhin
8633ef451e
cmake: cleanup unused defines
2017-02-10 15:18:29 +03:00
Ilija Puaca
1b842c4762
Updated version of libwebp to 0.6.0. Removed iOS from build exceptions for libwebp
2017-02-09 23:35:27 +01:00
Adeel
03fb85f179
update fix for #8105 (compiling with mingw32)
...
taken from https://github.com/google/googletest/pull/856
2017-02-09 20:11:00 +05:00
Alexander Alekhin
9ac9e9e29a
core: fix String::end() implementation
2017-02-09 16:36:22 +03:00
Vadim Pisarevsky
fb3298f076
Merge pull request #7904 from paroj:initmapfc2
2017-02-08 13:30:15 +00:00
Alexander Alekhin
476d2e1eea
Merge pull request #8140 from StevenPuttemans:fix_gdal_driver_4channel_16bit
2017-02-08 11:29:34 +00:00
Vitaly Tuzov
4950f542d1
Fix for SGBM compute() buffer allocation failure on big images
2017-02-08 12:49:21 +03:00
StevenPuttemans
22d8a81a57
enable processing of 16, 32 and 64 bit 4 channel data using GDAL1.2
2017-02-07 15:51:45 +01:00
LaurentBerger
b3c1bd788a
Add note about OTSU and TRIANGLE (comment sovrasov)
2017-02-07 10:14:24 +01:00
LaurentBerger
fa4d32f7dd
Solve issue 8136 opencv doc of threshold
2017-02-06 22:49:18 +01:00
LaurentBerger
91e06e7c05
Merge branch 'UserColormap' of https://github.com/LaurentBerger/opencv into UserColormap
2017-02-06 16:50:31 +01:00
Alexander Alekhin
072f873df6
Merge pull request #8133 from StevenPuttemans:add_detectMultiScale_notice
2017-02-06 10:36:06 +00:00
Alexander Alekhin
f0637e5e91
Merge pull request #8132 from tonytheodore:highgui-gl
2017-02-06 10:35:27 +00:00
Alexander Alekhin
519e452e1a
Merge pull request #8128 from LaurentBerger:MatrixExpressions
...
Add a link to MatExpr in Detailed Description of Mat
2017-02-06 10:34:12 +00:00
Alexander Alekhin
89eca83f5b
Merge pull request #8123 from msk-repo01:master
2017-02-06 10:32:23 +00:00
Alexander Alekhin
48f7cbec75
Merge pull request #8107 from reunanen:fix8093
2017-02-06 10:31:34 +00:00
StevenPuttemans
bfb18d29a6
add explanation to detectMultiScale overload functionality
2017-02-06 10:38:03 +01:00
Tony Theodore
678e114e5f
highgui: use forward slash for gl.h include
...
The backslash causes build failure when cross-compiling with mingw-w64
2017-02-06 04:15:10 +11:00
LaurentBerger
488eb11ba8
Add a link to MatExpr in Detailed Description of Mat
2017-02-04 11:10:50 +01:00
msk-repo01
9a1835ce66
Fix for opencv/opencv#8105 (compiling with mingw32)
...
fix for opencv/opencv#8105 , compilation issue with mingw32 (in
google/googletest#721 a similar issue was solved and the reason was
described as MinGW defines _CRITICAL_SECTION and _RTL_CRITICAL_SECTION
as two separate (equivalent) structs, instead of using typedef)
2017-02-02 13:47:09 -08:00
PkLab
ece3fac7ef
Merge pull request #8112 from PkLab:Fix_7898
...
CoInitialize/CoUninitialize in VFW classes (#8112 )
2017-02-01 14:37:24 +00:00
Pavel Vlasov
a47b7a34be
Adds IPP control functions to bindings export
2017-02-01 10:29:35 +03:00
Alexander Alekhin
3476440ec3
Merge pull request #8078 from tomoaki0705:universalIntrinsicLapack
2017-01-31 18:46:54 +00:00
utibenkei
6501d54267
Fix bug that occurs when module name and inherited class name are same.
2017-01-31 22:42:30 +09:00
Juha Reunanen
f3cb5084cf
Fix #8093 : CV_DbgAssert that the result of area() fits in the return value
2017-01-31 15:02:36 +02:00
Vadim Pisarevsky
dfb348ef0b
Merge pull request #8081 from mshabunin:fix-kmeans-compactness
2017-01-31 12:19:46 +00:00
Maksim Shabunin
0aab7c6fc3
Merge pull request #8077 from sovrasov:mog2_docs_update
2017-01-31 09:13:53 +00:00
Maksim Shabunin
13dffa0017
Merge pull request #8103 from sovrasov:em_docs_update
2017-01-31 09:10:37 +00:00
Maksim Shabunin
b417b4dbee
KMeans improvement
...
- fixed returned compactness value
- added centers drawing to the example app
- added compactness test
2017-01-31 12:05:08 +03:00
Tomoaki Teshima
fd711219a2
use universal intrinsic in VBLAS
...
- brush up v_reduce_sum of SSE version
2017-01-31 05:36:27 +09:00
Vladislav Sovrasov
a789c08588
ml::EM: add documentation for predict() method
2017-01-30 17:38:13 +03:00
Alexander Alekhin
75533fcd06
Merge pull request #8098 from chrizandr:Tree_load_Wrapper
...
Add wrappers for load functions for DTrees and Boost classifiers
2017-01-30 17:25:23 +03:00
Alexander Alekhin
82902b6fd5
Merge pull request #8082 from PkLab:fix_videoio_doc
2017-01-30 14:05:03 +00:00
Alexander Alekhin
124c4825a7
Merge pull request #8089 from hrnr:estimate_convert_fix
...
fix wrong conversion in estimateAffine2D* functions
2017-01-30 16:53:50 +03:00
Alexander Alekhin
11470077e1
Merge pull request #8099 from chrizandr:ML_Wrappers
...
Wrappers for load methods of EM, LR, SVMSGD and Normal Bayes Classifier
2017-01-30 16:52:31 +03:00
Alexander Alekhin
67e24dd347
Merge pull request #8088 from paroj:vtkfix
2017-01-30 13:51:41 +00:00
chrizandr
519fbdb8ab
Wrappers for load methods of EM, LR, SVMSGD and Normal Bayes Classifier
2017-01-29 18:51:55 +05:30
chrizandr
d22df8c41f
Add wrappers for load functions for DTrees and Boost classifiers
2017-01-29 15:55:38 +05:30
Alexander Alekhin
a8aff6f643
Merge pull request #8085 from tomoaki0705:checkSse2
2017-01-28 11:40:04 +00:00
LaurentBerger
48e2d38be7
Merge branch 'master' of git://github.com/Opencv/opencv into UserColormap
2017-01-28 11:25:11 +01:00
Jiri Horner
4ee25c7e95
add test for convertions in estimateAffine2D* functions
...
test with integer points to cover conversion bugs.
2017-01-27 22:16:58 +01:00
Jiri Horner
9408a5ef5d
fix conversion bug in estimateAffine2D* functions
...
functions support points to have other datatypes than floats.
* fix bug in coversion that overwrites src points with dst points
2017-01-27 16:55:29 +01:00
Pavel Rojtberg
67f163892e
viz: fix compilation - we need the VTK includes before ocv_define_module
2017-01-27 15:51:19 +01:00
Tomoaki Teshima
d0bdf99501
check correct flag
2017-01-27 18:42:58 +09:00
PkLab.net
eb768514c3
Fix misplaced description CAP_PROP_SETTINGS and others minor changes in videoio doc
2017-01-26 17:10:32 +01:00
Alexander Alekhin
ec47a0a6de
build: workaround for missing _mm256_setr_m128 in GCC
2017-01-26 18:39:38 +03:00
Alexander Alekhin
74defefd61
Merge pull request #8076 from tomoaki0705:brushupAvxPopcount
2017-01-26 12:57:14 +00:00
Vladislav Sovrasov
4e0351bafd
Clarify docs for MOG2::apply
2017-01-26 12:43:41 +03:00
Tomoaki Teshima
820fdbff23
brush up AVX optimization in popcount
...
- make sure SIMD optimization works even when AVX is not available
2017-01-26 18:37:56 +09:00
Alexander Alekhin
c1dec72fb6
java: force 64F in solvePnP test
2017-01-25 19:42:09 +03:00
Alexander Alekhin
aa5caf83f6
Merge pull request #8072 from tomoaki0705:AVXcorner
2017-01-25 16:10:59 +00:00
Alexander Alekhin
993ff7ad12
Merge pull request #8071 from tomoaki0705:imgprocRemoveRedundantCheck
2017-01-25 16:09:15 +00:00
Alexander Alekhin
3413c23b34
Merge pull request #8061 from tomoaki0705:universalIntrinsicStereoCalib3d
2017-01-25 16:08:02 +00:00
Alexander Alekhin
383559c228
Merge pull request #8062 from mshabunin:add-cv_deprecated
2017-01-25 15:04:42 +00:00
Tomoaki Teshima
07979b02c3
optimize corner detection series using AVX instructions
...
- make sure SSE version will be still available for backward compatibility
2017-01-25 22:35:11 +09:00
Tomoaki Teshima
ddca982c09
remove pure SSE part
2017-01-25 22:05:53 +09:00
Alexander Alekhin
9e9fd281b9
Merge pull request #8044 from alalek:opencv_world_with_contrib
2017-01-25 12:54:16 +00:00
Alexander Alekhin
5c13ffb73e
Merge pull request #8060 from Legoless:master
2017-01-25 11:32:24 +00:00
Alexander Alekhin
a446cb271f
Merge pull request #8065 from paroj:pnpfloat
...
solvePnP: use CV_32F for rvec, tvec if all PnP inputs are CV_32F
2017-01-25 12:50:05 +03:00
Pavel Rojtberg
3e708e015c
solvePnP: use CV_32F for rvec, tvec if all PnP inputs are CV_32F
2017-01-24 18:17:46 +01:00
mshabunin
c6c519166e
Added CV_DEPRECATED macro
2017-01-24 15:57:06 +03:00
Vadim Pisarevsky
2bac66a181
Merge pull request #8004 from chrizandr:RTrees_load_wrapper
2017-01-24 11:55:42 +00:00
Vadim Pisarevsky
ff5eaadfdf
Merge pull request #8045 from onetimking:master
2017-01-24 11:44:56 +00:00
Dal Rupnik
c10283b2b6
Replaced macro with built-in OpenCV export
2017-01-24 10:26:19 +01:00
Tomoaki Teshima
b34ebc8cfe
use universal intrinsic in stereo matching
...
- check SIMD availability before executing
2017-01-24 18:25:22 +09:00
Dal Rupnik
a50efda49d
Added export functions for ObjC classes
2017-01-23 17:15:17 +01:00
Alexander Alekhin
a5d16f09e6
cmake world: allow to build python bindings
2017-01-23 18:45:53 +03:00
Alexander Alekhin
36b34465a4
cmake: include contrib modules into opencv_world
2017-01-23 18:45:53 +03:00
Alexander Alekhin
9bb5d6cab0
remove precomp.cpp
2017-01-23 18:45:53 +03:00
Alexander Alekhin
205ccddff8
Merge pull request #8053 from pwuertz:umat-copy-python
2017-01-23 13:20:56 +00:00
Tomoaki Teshima
1d01e435ca
use universal intrinsic in fast
2017-01-23 19:03:22 +09:00
Peter Würtz
c659f94dca
Expose more UMat constructors to python
2017-01-22 13:11:13 +01:00
Alexander Alekhin
bb5c40d944
Merge pull request #8049 from tomoaki0705:universalIntrinsicCorner
2017-01-20 16:43:48 +00:00
Dal Rupnik
e71ff78f7f
Merge pull request #8009 from Legoless:master
...
CMake: Building Dynamic Framework on iOS (#8009 )
* Updated python script with dynamic parameter
Updated python script to build static library by default
Updated python script to include bitcode flag
Added bitcode flag to c flags
Fixed directories and targets with static
Bitcode parameter fixed
Fixed script for static library
Fixed parameters in build function
Updated cmake common toolchain
Added changes to OpenCV Utils
Updates to cmake
Added cache internal
Updates to common toolchain
Fixed path in framework destination and added UIKit dependency
Dynamic plist for framework
Lib version removed hardcoded value
Removed trailing whitespace in toolchain
* Removed trailing whitespace
* Fixed typo in comment
* Renamed bitcode variable to bitcodedisabled
* Fixed target device family
2017-01-20 19:16:01 +03:00
Tomoaki Teshima
062d2179eb
use universal intrinsic in corner detection series
2017-01-20 19:22:44 +09:00
Alexander Alekhin
a46adbfcbc
Merge pull request #8020 from alalek:fix_4976
2017-01-19 15:40:07 +00:00
Alexander Alekhin
c25f587584
Merge pull request #7926 from saskatchewancatch:issue-7310
2017-01-19 14:03:43 +00:00
chrizandr
e3ec3566d9
RTrees: Add wrapper for RTrees_load method to enable loading trained RTrees
2017-01-19 17:16:45 +05:30
Tim King
203b398caa
Fixed bug #7482 . Updated dense flow routine to reference bound textures.
2017-01-18 19:30:45 +02:00
Alexander Alekhin
a22f03e749
Merge pull request #7863 from tomoaki0705:universalIntrinsicPopcount
2017-01-18 17:25:02 +00:00
Alexander Alekhin
7c91700cc6
Merge pull request #7999 from alalek:fix_lapack
2017-01-18 13:20:30 +00:00
Alexander Alekhin
85ef02bc5c
Merge pull request #8023 from sovrasov:fs_add_full_yml_type_heading
2017-01-18 12:08:10 +00:00
Alexander Alekhin
a2b6b595c2
shape: force column-based vector
2017-01-18 13:02:51 +03:00
Alexander Alekhin
1989d94ef5
Merge pull request #7941 from wykvictor:master
2017-01-17 14:34:04 +00:00
Vladislav Sovrasov
896c34fab3
Add support of type headings from YAML1.2
2017-01-17 16:40:38 +03:00
Alexander Alekhin
3668a01fca
eliminate warnings
...
hal_internal.cpp(101): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2017-01-17 15:56:42 +03:00
Alexander Alekhin
2b44c0b649
cmake: fix lapack
...
- added compile check with multiple tries for different configurations
- restored find_package(LAPACK)
- avoided modification of OPENCV_LINKER_LIBS
2017-01-17 15:56:42 +03:00
berak
89a740a62f
Merge pull request #8019 from berak:patch-2
...
ml: fix small typo in lr.cpp (#8019 )
2017-01-17 13:57:50 +03:00
Alexander Alekhin
5b363df2ae
Merge pull request #8000 from mshabunin:fix-opencl-clahe
2017-01-16 10:01:59 +00:00
Vadim Pisarevsky
10e639cdb9
Merge pull request #7966 from Tetragramm:Issue#4235
2017-01-13 14:24:57 +00:00
mshabunin
8c66531c42
imgproc/CLAHE/ocl: Removed unnecessary __local variable
2017-01-13 16:25:43 +03:00
Alexander Alekhin
c9cedf3c5b
Merge pull request #7998 from alalek:fix_7993
2017-01-12 16:57:25 +00:00
Alexander Alekhin
f94e64a0ae
cuda: fix CUDA tests initialization
2017-01-12 16:15:52 +03:00
Tomoaki Teshima
8b22099da2
use universal intrinsic and SSE4 popcount instruction in normHamming
...
- add v_popcount in universal intrinsic
- add test for v_popcount
- add wrapper of popcount for both MSVC and GCC
2017-01-12 09:09:22 +09:00
LaurentBerger
587e9a554e
remove new operator
2017-01-11 16:32:14 +01:00
Vadim Pisarevsky
ec5038f2a7
Merge pull request #7947 from utibenkei:tracking-module-java
2017-01-11 11:41:19 +00:00
Tetragramm
7cc0b0f93e
Add case including both moments empty.
2017-01-10 21:38:31 -06:00
Vadim Pisarevsky
b345c6e552
Merge pull request #7935 from alalek:fix_waitKey
2017-01-10 11:18:13 +00:00
Vadim Pisarevsky
c0cde75d54
Merge pull request #7975 from tomoaki0705:cleanupCalib3dStereo
2017-01-10 11:12:15 +00:00
Vadim Pisarevsky
85474f581d
Merge pull request #7983 from LaurentBerger:docFindcontours
2017-01-10 11:10:16 +00:00
Alexander Alekhin
e6d7989b20
Merge pull request #7986 from atinfinity:pullreq/170109-add_USE_AVX2_condition
2017-01-09 16:11:00 +00:00
Maksim Shabunin
406fe899d5
Merge pull request #7965 from D-Barber:stereoCalibrateR2T2CalculationTinyDocumentationFix
2017-01-09 13:16:38 +00:00
atinfinity
b3c77e664d
added to check the support of AVX2
2017-01-09 19:51:33 +09:00
LaurentBerger
5e08d588f8
Merge branch 'master' of git://github.com/Opencv/opencv into UserColormap
2017-01-09 10:38:08 +01:00
LaurentBerger
e6f27240d5
dd a note in findcontours doc
2017-01-08 15:24:29 +01:00
Tomoaki Teshima
f1aae52daf
clean up unused #if
2017-01-06 18:23:45 +09:00
Alexander Alekhin
45f0cf0d41
Merge pull request #7959 from alalek:fix_7957
2017-01-06 02:10:06 +00:00
Tetragramm
d33d37ffd9
Add check for all zero moments. If one of the shapes is empty, the match would return zero distance between the shapes even when the other one had content. It now returns DBL_MAX if no moments had value.
2017-01-04 18:38:46 -06:00
Duncan Barber
1c3b9d7591
Tiny documentation fix in stereoCalibrate
...
Modified the (R2,T2) computation documentation in the stereoCalibrate function documentation to display on two lines for clarity
2017-01-04 21:24:25 +00:00
Alexander Alekhin
9be630466f
Merge pull request #7948 from LorenaGdL:hitmiss_tutorial
2017-01-03 19:35:40 +00:00
Alexander Alekhin
fa36b9d345
imgproc: fix using of uninitialized edge[] members in FillConvexPoly
2017-01-03 22:18:27 +03:00
Lorena García
3650ec02be
HitMiss tutorial
2017-01-03 18:34:04 +01:00
Matt Bennett
c3a8db6d6c
Merge pull request #7952 from mattmyne:JSONWriteFixTrailingDecimalPoint
...
Append zero to trailing decimal place for FileStorage JSON write of a float or double value (#7952 )
* Fix for FileStorage JSON write of a float or double value that has no fractional part; appends a zero character after the trailing decimal place to meet JSON standard.
* strlen return to size_t type rather than unnecessary cast to int
2017-01-02 20:28:07 +00:00
Alexander Alekhin
23e53a32e5
Merge pull request #7950 from BadrinathS:firstbugfix-lr_opencv
2016-12-31 12:48:54 +00:00
BadrinathS
d1f727191f
Resolving issue #7924
2016-12-31 16:37:51 +05:30
utibenkei
579ffbf97e
Added Java wrapping for tracking module
2016-12-31 02:19:38 +09:00
Steve
8a6fabed83
Avoid segmentation fault
...
Change `<=` to `<` to avoid accessing the first character of an empty string
2016-12-29 17:23:40 -08:00
Yakun Wang
c6f666a02b
BufferPool is used for temporary buffer, use mat create directly
2016-12-29 18:29:44 +08:00
wykvictor
5fad2a3f24
Speedup MedianFilter::apply() when calling repeatedly
...
Speedup MedianFilter::apply(), avoid to newly create the two GpuMat every time calling filter->apply(), which is very time consuming.
2016-12-29 17:11:58 +08:00
Alexander Alekhin
d015b55e6b
highgui: preserve waitKey -1 return value
2016-12-28 13:06:28 +03:00
LaurentBerger
a2f3692bff
Merge branch 'master' of git://github.com/Opencv/opencv into UserColormap
2016-12-26 17:03:52 +01:00
Raj Natarajan
b7a053b0e5
Issue-7310: Updated imwrite doc to correct default setting for IMWRITE_PNG_COMPRESSION and clarified existing doc a bit.
2016-12-26 00:44:43 -06:00
Alexander Alekhin
7dd3723abe
Merge tag '3.2.0'
2016-12-23 16:20:02 +03:00
Alexander Alekhin
70bbf17b13
OpenCV Version++
...
3.2.0
2016-12-23 15:54:44 +03:00
Alexander Alekhin
d0f883524e
cmake(osx): fix CoreImage error ( #7916 )
2016-12-23 11:30:17 +03:00
Vadim Pisarevsky
ad74fdd7cc
moved BLAS/LAPACK detection scripts from opencv_contrib/dnn to the main repository ( #7918 )
...
* moved BLAS/LAPACK detection scripts from opencv_contrib/dnn to the main repository.
* trying to fix the bug with undefined symbols sgesdd_ and dgesdd_
* removed extra whitespaces; disabled LAPACK on IOS
2016-12-22 22:57:44 +03:00
Alexander Alekhin
c3e409f950
ocl: update program cache defaults
2016-12-22 04:52:43 +03:00
Alexander Alekhin
dc31ddc80a
photo: fix InputArray -> CvMat
2016-12-22 04:22:47 +03:00
Alexander Alekhin
ca6beb9ca8
calib3d: fix InputArray -> CvMat
2016-12-22 04:22:46 +03:00
Vitaly Tuzov
be7d060ea4
Merge pull request #7802 from terfendail:ovxhal_wrappers_migration
...
* OpenVX HAL updated to use generic OpenVX wrappers
* vxErr class from OpenVX HAL replaced with ivx::WrapperError
* reduced usage of vxImage class from OpenVX HAL replaced with ivx::Image
* vxImage class rewritten as ivx::Image subclass that calls swapHandle prior release
* Fix OpenVX HAL build
* Fix for review comments
2016-12-21 15:19:06 +02:00
Pavel Rojtberg
40686b5e87
initUndistortRectifyMap: CV_32FC2 is also supported as m1type
2016-12-20 10:22:32 +01:00
Alexander Alekhin
a4db9833f7
Merge pull request #7885 from alalek:release-3.2.0-rc
2016-12-19 17:59:14 +00:00
Alexander Alekhin
ece08374a1
Merge pull request #7838 from khnaba:morphology-32f
2016-12-19 16:22:03 +00:00
Vadim Pisarevsky
c64ac42b27
Merge pull request #7852 from savuor:fix/orb_rotation
2016-12-19 16:19:38 +00:00
Alexander Alekhin
7a95e654eb
ocl: update compiled programs
...
- minimize library initialization time (lazy calculations of program hash)
- LRU cache of in-memory compiled programs
2016-12-19 17:17:20 +03:00
Alexander Alekhin
d85c11e525
OpenCV version++
...
3.2.0-rc
2016-12-19 17:12:18 +03:00
Alexander Alekhin
86bb523991
Merge pull request #7871 from savuor:fix/openvx_cvt_on
2016-12-19 13:51:53 +00:00
Vadim Pisarevsky
ae9f80c1a9
Merge pull request #7855 from logic1988:master
2016-12-19 13:45:51 +00:00
Alexander Alekhin
07004a46ca
Merge pull request #7773 from savuor:openvx_harris
2016-12-19 11:39:38 +00:00
Alexander Alekhin
05d187ec90
ocl: move deprecated code from ocl.cpp
2016-12-19 00:34:50 +03:00
Rostislav Vasilikhin
328151c8a4
don't run OpenVX pyrLK if user asked for err vector
2016-12-16 23:38:47 +03:00
Rostislav Vasilikhin
fcdbe16252
openvx_cvt disabled for Khronos, fixed sstep and dstep usage
2016-12-16 23:00:55 +03:00
logic1988
de059567d7
Update inner_functions.cpp
...
Fix #4958 cv::ml::StatModel::calcError not working for responses of type CV_32S
2016-12-16 20:01:07 +03:00
Alexander Alekhin
ef08110182
Merge pull request #7880 from sovrasov:rtrees_disable_kfold
2016-12-16 16:46:57 +00:00
Alexander Alekhin
862c3aa6e1
Merge pull request #7873 from addisonElliott:Mat_Range_InitializerList
2016-12-16 16:45:17 +00:00
Rostislav Vasilikhin
13b9dd3963
fixed segfault at ORB::compute() near image's border
2016-12-16 18:36:37 +03:00
Alexander Alekhin
0e4dde1781
Merge pull request #7872 from alalek:merge-2.4
2016-12-16 16:03:14 +02:00
Vladislav Sovrasov
d2e5bea1fb
Disable training of RTrees when CVFolds > 0
2016-12-16 16:39:44 +03:00
Alexander Alekhin
a206e12174
Merge pull request #7876 from mshabunin:fix-sgbm-memory
2016-12-16 13:09:04 +00:00
Rostislav Vasilikhin
cf5e976fad
OpenVX convert enabled
2016-12-16 15:57:21 +03:00
Rostislav Vasilikhin
a2646062b2
ivx::Scalars replaced by immediate values
2016-12-16 15:44:31 +03:00
Rostislav Vasilikhin
1e2ad7e3e3
rewritten for new macro use
2016-12-16 15:44:31 +03:00
Rostislav Vasilikhin
ee77538cf9
disabled due to bad accuracy
2016-12-16 15:44:31 +03:00
Rostislav Vasilikhin
3f1734bbc7
fixed type checks in wrappers; array downloading code simplified
2016-12-16 15:44:31 +03:00
Rostislav Vasilikhin
77f99358df
fix vxCommitArrayRange() call
2016-12-16 15:44:31 +03:00
Rostislav Vasilikhin
5f4112a1cf
added initial version of wrapper for Harris corner detection
2016-12-16 15:44:31 +03:00
Vadim Pisarevsky
75eeb25c1e
Merge pull request #7866 from alalek:update_waitKey
2016-12-16 12:25:11 +00:00
Rostislav Vasilikhin
969c55da58
Merge pull request #7720 from savuor:openvx_FAST
...
Added OpenVX based processing to FAST (#7720 )
* added wrapper for OVX FAST & fixes to IVX wrappers
* fixed type checks in wrappers, array downloading code simplified
* rewritten for new macro use
2016-12-16 13:48:18 +02:00
Alexander Alekhin
c038d1be60
Merge pull request #7858 from addisonElliott:master
2016-12-16 10:57:27 +00:00
Rostislav Vasilikhin
faefbf93bc
Merge pull request #7793 from savuor:openvx_pyrDown
...
OpenVX pyrDown wrappers (#7793 )
* wrappers for vx_pyramid added
* initial version of pyrDown() wrapper added
* disabled for Khronos
* rewritten for new macro use; border mode added to node
2016-12-16 12:48:58 +02:00
Rostislav Vasilikhin
5372c8b331
Merge pull request #7774 from savuor:openvx_pyrlk
...
OpenVX optical flow PyrLK wrappers added (#7774 )
* wrappers for vx_pyramid added
* initial version of Optical Flow PyrLK wrappers added
* array downloading code simplified
* disabled due to bad accuracy; fixed bugs, e.g. vendor-specific ones
* rewritten for new macro use
2016-12-16 12:46:03 +02:00
Alexander Alekhin
a615d79f2d
Merge pull request #7768 from terfendail:ovx_remap
2016-12-16 10:33:58 +00:00
LaurentBerger
d8fdf9321d
mend
2016-12-15 22:49:37 +01:00
Alexander Alekhin
f7d956ea3e
Merge pull request #7869 from alalek:icc
...
Build with ICC
2016-12-15 19:21:18 +02:00
mshabunin
bfde5cdde0
SGBM: fixed uninitialized memory in cost buffer
2016-12-15 19:08:14 +03:00
Addison Elliott
eb04b2bfa9
Added N-dim submat selection with vectors
...
Currently, to select a submatrix of a N-dimensional matrix, it requires
two lines of code while only one line of code is required if using a 2D
array.
I added functionality to be able to select an N-dim submatrix using a
vector list instead of a Range pointer. This allows initializer lists to
be used for a one-line selection.
2016-12-15 09:16:40 -06:00
Maksim Shabunin
7d5fd6a800
Merge pull request #7812 from alalek:fix_putText
2016-12-15 13:33:56 +00:00
Alexander Alekhin
737fa519d1
test: use relative error in HOG tests
2016-12-15 15:58:16 +03:00
Alexander Alekhin
dbbbad40fb
build: eliminate ICC warnings
2016-12-15 15:57:40 +03:00
StevenPuttemans
6d34d6b47e
update samples: waitKey() usage
...
Original commit is a5f19f7dd6
2016-12-15 15:39:47 +03:00
Alexander Alekhin
4e7b521438
highgui: change waitKey() default behaviour
...
The old behaviour is available via waitKeyEx() call or
via setting of OPENCV_LEGACY_WAITKEY environment variable
2016-12-15 14:17:38 +03:00
LaurentBerger
4826d976d6
Suppress warning unused parameter
2016-12-15 10:51:08 +01:00
LaurentBerger
61b9484155
ApplyColorMap can be used with a user colormap
2016-12-15 10:17:05 +01:00
Addison Elliott
fa6692afcf
Added new overloaded functions for Mat and UMat that accepts std::vector<int> instead of int * for the sizes on a N-dimensional array.
...
This allows for an N-dimensional array to be setup in one line instead of two when using C++11 initializer lists. cv::Mat(3, {zDim, yDim, xDim}, ...) can be used instead of having to create an int pointer to hold the size array.
2016-12-14 13:52:03 -06:00
Alexander Alekhin
36b5abf6b7
Merge pull request #7857 from savuor:openvx_macro_wrappers
2016-12-14 16:40:09 +00:00
Rostislav Vasilikhin
8b9422a052
OpenVX wrappers rewritten with CV_OVX_RUN, VX_DbgThrow
2016-12-14 17:49:41 +03:00
mshabunin
f5bf1e510b
Test run script: added long test filter for valgrind
2016-12-14 17:16:08 +03:00
Vitaly Tuzov
3c5eb513dd
Fixed OpenVX to OpenCV compatibility for NN remap
2016-12-14 16:53:07 +03:00
Vitaly Tuzov
f8b4d28745
Added OpenVX based processing to remap
2016-12-14 16:53:04 +03:00
mshabunin
965deaba8d
Documentation fixes for latest doxygen
2016-12-14 14:14:13 +03:00
Alexander Alekhin
19c8cc8f13
Merge pull request #7760 from terfendail:ovx_histogram
2016-12-14 03:20:30 +00:00
Alexander Alekhin
8f83d97adc
Merge pull request #7800 from paroj:fisheye_undist
2016-12-14 03:17:49 +00:00
Alexander Alekhin
c977af8ee8
Merge pull request #7843 from chacha21:fix-capture-msmf
2016-12-14 02:47:19 +00:00
Vitaly Tuzov
2c89b39eee
Added OpenVX based processing to calcHist
2016-12-13 18:33:02 +03:00
Alexander Alekhin
a24ebc9952
Merge pull request #7840 from alalek:fix_test_rng
2016-12-13 11:29:53 +00:00
Alexander Alekhin
7a3b5b308c
Merge pull request #7790 from sovrasov:convexity_defects_enable_small_hulls
2016-12-13 10:33:56 +00:00
Alexander Alekhin
fbf2383d5d
Merge pull request #7787 from alalek:ocl_explicit_only
2016-12-13 10:22:33 +00:00
Alexander Alekhin
cb1d4e692b
Merge pull request #7801 from alalek:fix_7795
2016-12-13 10:20:31 +00:00
Alexander Alekhin
188ccac2f3
Merge pull request #7837 from sovrasov:solvepnp_ransac_error_thresh_fix
2016-12-13 10:17:40 +00:00
Alexander Alekhin
069d51d23b
Merge pull request #7836 from sovrasov:akaze_fix_detect_only_mode
2016-12-13 10:14:42 +00:00
chacha21
166d75e3c5
Fix for unhandled error cases when using Media Foundation
...
Some function calls to Media Foundation can fail and retrun null
pointers. They should be checked before being dereferenced to avoid a
crash.
2016-12-13 10:40:06 +01:00
Vladislav Sovrasov
12383a124b
Disable error throwing in convexityDefects when hull is a line or point
2016-12-13 12:28:38 +03:00
Alexander Alekhin
34c07f6aaf
Merge pull request #7729 from apavlenko:vx-canny
2016-12-12 19:14:39 +00:00
Alexander Alekhin
ec859ceb2c
test: limit chessboard generator parameters
2016-12-12 18:09:52 +03:00
apavlenko
3aedc134c2
replacing white noise with fruits picture
2016-12-12 17:55:11 +03:00
Alexander Alekhin
fb223784a6
test: fix Core_HAL.mat_decomp test implementation
2016-12-12 14:47:38 +03:00
Alexander Alekhin
03bcfe4107
test: fix RNG problem in accuracy tests
2016-12-12 14:40:52 +03:00
Naba Kumar
a5d857eda8
Update docs for 32f support in morphology operation
2016-12-12 12:38:43 +02:00
Naba Kumar
3f7cde0485
Implement 32f support for morphology operation
2016-12-12 12:25:27 +02:00
Vladislav Sovrasov
120531cb46
Fix error threshhold in SolvePnPRansac
2016-12-12 13:22:44 +03:00
Vladislav Sovrasov
4a3da1c4ed
Fix missing angles in AKAZE keypoints
2016-12-12 12:28:16 +03:00
Alexander Alekhin
2fded5d8fb
Merge pull request #7822 from alalek:fix_arithmmask_test
2016-12-09 19:02:30 +00:00
Alexander Alekhin
5f57d0295e
Merge pull request #7818 from catree:solvePnP_doc
2016-12-09 19:01:15 +00:00
catree
a93c70f533
Add note about solvePnP methods that cannot be used.
...
Add note: SOLVEPNP_EPNP will be used instead of SOLVEPNP_DLS and instead of SOLVEPNP_UPNP.
2016-12-09 13:15:52 +01:00
apavlenko
a99118c4c7
moving CannyVX test from ocl to cpp file
2016-12-09 15:07:53 +03:00
apavlenko
4246d3667f
disabling again
2016-12-09 14:53:06 +03:00
apavlenko
76c38f0c80
trying to enable canny_vx adding a new test comparing canny_cv vs canny_vx
2016-12-09 14:53:06 +03:00
apavlenko
f3ec56fcee
fixing build errors
2016-12-09 14:53:06 +03:00
apavlenko
541d5b02d9
disabling due to accuracy issues
2016-12-09 14:53:06 +03:00
apavlenko
ccd8031a33
fixing compilation
2016-12-09 14:53:06 +03:00
apavlenko
1e2ddc30b1
Canny via OpenVX, Node wrapper extended (query/set attribute), some naming fixes
2016-12-09 14:53:06 +03:00
Alexander Alekhin
98181e9d7f
imgproc/drawing: minor refactoring in FillConvexPoly
2016-12-08 22:14:32 +03:00
Alexander Alekhin
7e0f1ec00a
test: putText regression garbage test
2016-12-08 22:14:31 +03:00
Alexander Alekhin
bcbe2f123f
test: move more drawing tests
2016-12-08 22:14:30 +03:00
Alexander Alekhin
781ab3d481
test: minor refactoring in test_drawing
2016-12-08 22:14:29 +03:00
Alexander Alekhin
beea04cc89
Merge pull request #7826 from mshabunin:fix-base64-issue
2016-12-08 17:01:33 +00:00
Alexander Alekhin
48bff3bfd3
Merge pull request #7748 from LaurentBerger:Normalize3d
2016-12-08 16:20:11 +00:00
mshabunin
e941259434
Persistence: fixed valgrind warning in base64 decoder
2016-12-08 14:58:18 +03:00
Alexander Alekhin
ee265962b2
test: move test_drawing into imgproc module
2016-12-07 22:04:25 +03:00
Alexander Alekhin
79857f1e38
test: fix Core_ArithmMask.uninitialized test
...
Don't run binary operations for floating-point numbers
norm() will fail with NAN result.
2016-12-07 21:44:17 +03:00
catree
c4d4158bd8
Add imread documentation note when EXIF orientation is embedded.
2016-12-07 18:08:18 +01:00
Maksim Shabunin
2341222672
Merge pull request #7804 from alalek:fix_java_test
2016-12-07 13:57:25 +00:00
Alexander Alekhin
d37106e008
Merge pull request #7789 from pengli:gaussian_blur
2016-12-07 09:15:45 +00:00
Alexander Alekhin
61792a839f
java: fix PATH environment variable
2016-12-06 20:01:06 +03:00
Rostislav Vasilikhin
695b20172b
Merge pull request #7794 from savuor:fix/ovx_cvt_continuous
...
Fixed OpenVX wrapper for Mat::convertTo() (#7794 )
* fixed for cases of unrolled (w*h x 1) matrices
* more error handling
2016-12-06 18:29:44 +02:00
Alexander Alekhin
fef94315af
core: exp/log workaround for MSVS
2016-12-06 16:57:35 +03:00
Pavel Rojtberg
2bfcbe1459
fisheye::undistortPoints: sanitize theta values
...
the current camera model is only valid up to 180° FOV for larger FOV the
undistort loop does not converge.
Clip values so we still get plausible results for super fisheye images >
180°.
2016-12-06 14:16:37 +01:00
Li Peng
396921dd23
5x5 gaussian blur optimization
...
Add new 5x5 gaussian blur kernel for CV_8UC1 format,
it is 50% ~ 70% faster than current ocl kernel in the perf test.
Signed-off-by: Li Peng <peng.li@intel.com>
2016-12-06 09:42:37 +08:00
Kotrix
10ccd0328c
Removed redundant calculations
...
Operations inside for loops are unnecessary. They are repeated anyway just below for loops
2016-12-04 20:28:56 +01:00
Alexander Alekhin
0724d13bcd
build: cuda warnings
2016-12-04 03:10:05 +03:00
Alexander Alekhin
44d9d59f08
ocl: stop using of OpenCL without explicit UMat arguments
2016-12-04 02:34:17 +03:00
Alexander Alekhin
380cc520f3
build: fix cuda tests
2016-12-03 13:17:37 +03:00
Alexander Alekhin
4a095e4d66
Merge pull request #7777 from alalek:test_refactor
2016-12-02 20:09:56 +00:00
Alexander Alekhin
5032dae9ed
test: refactor test to capture more information on failure
...
Core_ArithmMask.uninitialized
2016-12-02 18:54:27 +03:00
mshabunin
a0e771f545
Fixed valgrind issues in persistence functions
2016-12-02 18:41:25 +03:00
Vadim Pisarevsky
f84dc354f6
Merge pull request #7564 from terfendail:ovx_gaussianfilter
2016-12-02 15:24:03 +00:00
Vadim Pisarevsky
537db2d53f
Merge pull request #7598 from terfendail:ovx_lut
2016-12-02 15:22:06 +00:00
Vitaly Tuzov
afc7396975
Added OpenVX based processing to gaussianBlur
2016-12-02 14:46:12 +03:00
Vitaly Tuzov
ced81f72bc
Added OpenVX based processing to LUT
2016-12-02 14:36:47 +03:00
Li Peng
b69cdb2434
Image pyramids upsampling optimization
...
Add new ocl kernel for image pyramids upsampling,
It is 35% faster than current OCL kernel in perf test.
Signed-off-by: Li Peng <peng.li@intel.com>
2016-12-02 13:54:58 +08:00
Alexander Alekhin
3ae1990727
Merge pull request #7769 from alalek:cmake_ffmpeg_cleanup
2016-12-01 20:24:05 +00:00
Alexander Alekhin
735f5a01ec
Merge pull request #7492 from straywarrior:fix-cudev-headers-with-opencv_world
2016-12-01 20:20:14 +00:00
Vadim Pisarevsky
5e75503fc2
Merge pull request #7750 from alalek:ts_find_or_skip
2016-12-01 18:10:18 +00:00
Vadim Pisarevsky
c99097f89a
Merge pull request #7478 from terfendail:ovx_boxfilter
2016-12-01 17:57:46 +00:00
Vadim Pisarevsky
1d45726f47
Merge pull request #7588 from terfendail:ovx_medianblur
2016-12-01 17:54:34 +00:00
Vadim Pisarevsky
e623e710be
Merge pull request #7597 from terfendail:ovx_threshold
2016-12-01 17:53:38 +00:00
Vadim Pisarevsky
32f48a8d9c
Merge pull request #7631 from savuor:openvx_accumulate
2016-12-01 17:49:18 +00:00
Vadim Pisarevsky
924ac10159
Merge pull request #7649 from terfendail:ovx_meanstddev
2016-12-01 17:46:30 +00:00
Vadim Pisarevsky
0a775e43e1
Merge pull request #7659 from savuor:openvx_convert_depth
2016-12-01 17:44:49 +00:00
Vadim Pisarevsky
8968318dfc
Merge pull request #7668 from savuor:openvx_equalize_hist
2016-12-01 17:43:44 +00:00
Vadim Pisarevsky
ddc5155a85
Merge pull request #7677 from terfendail:ovx_minmaxloc
2016-12-01 17:42:18 +00:00
Alexander Alekhin
39ff8a0d26
cmake: cleanup ffmpeg detection
2016-12-01 19:33:27 +03:00
Alexander Alekhin
5985d71657
Merge pull request #7757 from mshabunin:tbb-search
2016-12-01 15:42:53 +00:00
mshabunin
695c518384
Updated TBB search script and code checks
2016-12-01 16:58:38 +03:00
Alexander Alekhin
e547bbbc3f
videoio: preserve conflict with common properties
...
Usage:
writer.set(cv::CAP_PROP_IMAGES_BASE + cv::IMWRITE_JPEG_QUALITY, 80);
2016-12-01 15:37:12 +03:00
Alexander Alekhin
c560ff23ad
videoio: images: fix buffer overflow problem
2016-12-01 15:24:36 +03:00
Alexander Alekhin
46a333ed94
Merge pull request #7755 from pengli:warp_image
2016-11-30 20:43:11 +00:00
Tsukasa Sugiura
e4985f604a
Add support image save parameters in VideoWriter
...
Add support image save parameters in cv::VideoWriter.
This change will become available setting same parameters as
cv::imwrite() to cv::VideoWriter::set( cv::IMWRITE_*, value ).
2016-12-01 00:55:00 +09:00
Vitaly Tuzov
6d55e99291
Added OpenVX based processing to boxFilter
2016-11-30 11:27:25 +03:00
Li Peng
2ca5a7e862
more optimization for warpAffine and warpPerspective
...
Add new OpenCL kernels for bicubic interploation, it is 20% faster
than current warp image kernel with bicubic interploation.
Signed-off-by: Li Peng <peng.li@intel.com>
2016-11-30 15:43:41 +08:00
Alexander Alekhin
71b2409df0
ts: added findDataFile() utility function and SkipTestException
2016-11-29 23:17:39 +03:00
Simmo Saan
6c524e8444
Allow V4L, V4L2 to be used as preferred capture API
2016-11-29 21:31:34 +02:00
Vadim Pisarevsky
c47267ef7f
Merge pull request #7538 from Tetragramm:CLAHEfix
2016-11-29 16:42:05 +00:00
Vadim Pisarevsky
57aaec1ee8
Merge pull request #7610 from terfendail:ovx_sobel
2016-11-29 16:40:10 +00:00
Rostislav Vasilikhin
0ac934d09a
added OpenVX call to equalizeHist() function
2016-11-29 17:53:47 +03:00
Rostislav Vasilikhin
7c2734ff14
added OpenVX calls to accumulate(), accumulateSquare(), accumulateWeighted()
2016-11-29 17:53:35 +03:00
Rostislav Vasilikhin
2b56b174e8
fixed: data types, empty input case
2016-11-29 17:52:50 +03:00
Rostislav Vasilikhin
0a6958813c
added OpenVX call to Mat::convertTo() (w/o scaling)
2016-11-29 17:52:36 +03:00
Vitaly Tuzov
a4b9eb23d1
Added OpenVX based processing to meanStdDev
2016-11-29 16:59:25 +03:00
Vitaly Tuzov
0cd3788624
Added OpenVX based processing to threshold
2016-11-29 15:35:52 +03:00
Vitaly Tuzov
e9cc0f6a4c
Added OpenVX based processing to minMaxLoc
2016-11-29 15:33:48 +03:00
Vitaly Tuzov
9200db778c
Added OpenVX based processing to medianBlur
2016-11-29 15:32:07 +03:00
Vitaly Tuzov
e8f3469096
Added OpenVX based processing to Sobel
2016-11-29 15:29:00 +03:00
Alexander Alekhin
90b52cd9b8
Merge pull request #7726 from pengli:warp_image
2016-11-29 12:19:18 +00:00
Alexander Alekhin
159b29e9b1
Merge pull request #7747 from alalek:fix_cuda_test
2016-11-29 12:15:08 +00:00
LaurentBerger
c56c0e140b
Solve exception for 3D Mat
2016-11-29 12:10:33 +01:00
Li Peng
b72d196753
optimization for warpAffine and warpPerspective
...
Add new ocl kernels for warpAffine and warpPerspective,
The average performance improvemnt is about 30%. The new
ocl kernels require CV_8UC1 format and support nearest
neighbor and bilinear interpolation.
Signed-off-by: Li Peng <peng.li@intel.com>
2016-11-29 14:55:58 +08:00
Alexander Alekhin
4a7d441b37
test: fix cuda build
2016-11-29 01:18:10 +03:00
Vadim Pisarevsky
be0865406f
Merge pull request #7548 from tomoaki0705:fixRngAvoidFmadd
2016-11-28 21:04:03 +00:00
Alexander Alekhin
2c03c8d71f
Update googletests 1.8.0 (20160822) ( #7738 )
...
* restore Google Test 1.7.0 (get patch)
* ts: update Google Test to 1.8.0 release
https://github.com/google/googletest
* ts: re-apply OpenCV patch for gtest
* ts: fixes for gtest 1.8.0
* ts: workaround MSVS2015 problem in gtest
2016-11-28 19:10:12 +03:00
Michele Cancilla
89a0a46a69
Removed parallel version for CV_16U label type
2016-11-28 14:54:44 +01:00
Colin Finck
e8f591143c
objdetect: Properly check for C++11 as it's done in the matching .cpp file. Fixes #7623
2016-11-28 10:15:16 +01:00
Alexander Alekhin
e04eb8cc04
Merge pull request #7735 from alalek:ts_cv_enum_static_fiasco
2016-11-26 08:15:56 +00:00
Alexander Alekhin
fa757ebd92
Merge pull request #7734 from alalek:fix_gtk_deprecated
2016-11-26 08:14:45 +00:00
Alexander Alekhin
1a3f1a31b2
ts: CV_ENUM fix static initialization order fiasco
2016-11-26 03:05:32 +03:00
Alexander Alekhin
3f37e34e76
highgui: g_thread_create deprecated warning
2016-11-26 03:01:39 +03:00
Alexander Alekhin
7dc673fd56
imgproc: fix findContours (submatrix input)
2016-11-25 18:25:26 +03:00
Vadim Pisarevsky
a53f93ff8d
Merge pull request #7710 from alalek:debug_check_matrelease
2016-11-25 14:24:23 +00:00
Michele Cancilla
4b7fc59332
Fixed _P reserved variable name problem and changed getNumThreads with getNumberOfCPUs
2016-11-25 13:25:17 +01:00
Alexander Alekhin
7ad8e378ce
Merge pull request #7719 from paroj:calib_ret
2016-11-25 09:22:08 +00:00
Alexander Alekhin
88ef8c996e
Merge pull request #7709 from alalek:fix_java_tests
2016-11-24 16:15:56 +00:00
Michele Cancilla
5b23c0b176
Fixed unnecessary black spaces;
...
Extended parallel version to all frameworks supported by OpenCV;
Added some documentation notes in modules/imgproc/include/opencv2/imgproc.hpp;
2016-11-24 15:03:36 +01:00
Pavel Rojtberg
e1503cc29e
calibrateCamera: specifiy what kind of re-projection error is returned
2016-11-24 14:02:01 +01:00
guoxuedong
e69253a4fb
Update exif.cpp
...
ExifReader::getExif may enter infinite loop with jpeg image which have no EOI.
For example, bytesToSkip may be set to 0 and fseek seems like fseek(f, -2 , SEEK_CUR) for image that end with RST7(FF D7) instead of EOI.
2016-11-24 11:08:11 +08:00
Alexander Alekhin
4fd00c1ae1
Merge pull request #7714 from onixie:master
...
Fix docs explaining the returnPoints argument of convexHull.
2016-11-23 17:44:05 +03:00
Rostislav Vasilikhin
7db43f9fff
fixed wrong equivalence in YUV conversion ( #7481 )
...
* fixed wrong equivalence in YUV conversion
* fixed channel order from YVU to YUV
2016-11-23 17:39:18 +03:00
Vadim Pisarevsky
b8c875d4a1
Merge pull request #7707 from K-Shinotsuka:issue37
2016-11-23 14:15:02 +00:00
monoid911
b879126584
Fix docs explaining the returnPoints argument of convexHull.
2016-11-23 20:43:52 +09:00
Alexander Alekhin
0bdea2b714
core: fix absdiff (non-optimized, fp) to prevent "-0" results
2016-11-23 13:55:38 +03:00
Alexander Alekhin
8019498c6e
java tests fixes
2016-11-23 13:53:00 +03:00
Alexander Alekhin
fe29080d59
java: skip test in case of missed classes from opencv_contrib
2016-11-23 13:53:00 +03:00
Alexander Alekhin
d65df72754
java: fix testIsSubmatrix test
2016-11-23 13:51:37 +03:00
Alexander Alekhin
a936cb087e
calib3d: fix fisheye for test fisheyeTest.stereoCalibrateFixIntrinsic
2016-11-23 13:51:37 +03:00
Alexander Alekhin
69949025db
core: drop type/dims/rows/cols information in Mat::release()
2016-11-23 13:51:37 +03:00
Alexander Alekhin
8d662a1a28
Merge pull request #7640 from alalek:fix_test_tvl1
2016-11-23 10:50:30 +00:00
k-shinotsuka
284006e336
add NEON code for RGB2Luv_f.
2016-11-23 19:18:41 +09:00
Vadim Pisarevsky
c1ee798213
Merge pull request #7662 from K-Shinotsuka:issue34
2016-11-22 13:57:13 +00:00
Vadim Pisarevsky
af22b6c4a9
Merge pull request #7664 from K-Shinotsuka:issue35
2016-11-22 13:49:14 +00:00
Vadim Pisarevsky
b54bc2db1e
Merge pull request #7665 from K-Shinotsuka:issue36
2016-11-22 13:44:42 +00:00
Vadim Pisarevsky
9638dfcd85
Merge pull request #7641 from alalek:warnings
2016-11-22 13:31:26 +00:00
Vadim Pisarevsky
54d215902f
Merge pull request #7627 from sovrasov:fs_vec_of_vec
2016-11-22 12:40:22 +00:00
Vadim Pisarevsky
511c0c2e71
Merge pull request #7688 from alalek:fix_orb_test
2016-11-22 11:35:07 +00:00
Michele Cancilla
0bc9a0db18
Improvement of sequential connected components Wu's algorithm and provide parallel version of both Wu's and Grana's algorithms (using TBB library)
2016-11-22 11:42:13 +01:00
Vadim Pisarevsky
7adb52b427
Merge pull request #7699 from alalek:test_hog_eps
2016-11-22 10:19:52 +00:00
Pavel Vlasov
dfb9c574a4
IPP 2017 filter2D fix;
...
filter2D IPP runtime check;
2016-11-21 17:18:03 +03:00
Alexander Alekhin
771fa5b8ac
test: change EPS in Objdetect_HOGDetector tests
2016-11-21 14:59:06 +03:00
Arek
866f8eb1e7
Merge pull request #7695 from ArkadiuszRaj:aravis-release-bug-fix
...
* Aravis: fixing releasing object when no communication with camera is possible
* Removing unnecessary include
2016-11-21 04:22:43 +03:00
Alexander Alekhin
39d7ecc93b
perf: disabled checks for magic numbers
...
Results are not bit-exact
2016-11-18 15:20:18 +03:00
Alexander Alekhin
dac37a0bc9
features2d: update rotation invariance test
...
Don't process keypoints near border, because after rotation border points
have contrast gradients with rotation border fill.
2016-11-18 15:20:03 +03:00
Alexander Alekhin
30807b26c7
Merge pull request #7644 from alalek:cmake_python_install
2016-11-18 12:19:00 +00:00
Alexander Alekhin
30cdcfa554
warnings
2016-11-18 14:08:53 +03:00
Alexander Alekhin
40aa8aa862
ffmpeg: check return value
2016-11-18 13:26:19 +03:00
Alexander Alekhin
12569dc730
Merge pull request #7625 from souch55:Fixapi
2016-11-17 17:54:25 +00:00
Alexander Alekhin
a19cb20b23
Merge pull request #7673 from pengli:deriv
2016-11-17 09:40:27 +00:00
Li Peng
6cb73356b1
laplacian ocl kernel optimization
...
This ocl kernel is 46%~171% faster than current laplacian 3x3
ocl kernel in the perf test, with image format "CV_8UC1".
Signed-off-by: Li Peng <peng.li@intel.com>
2016-11-17 12:01:02 +08:00
Vladislav Sovrasov
7c266ffffe
Add support of vector of vectors serialization to FileStorage
2016-11-16 13:37:30 +03:00
k-shinotsuka
cf5c400ecb
add SSE code for RGB2HLS_f.
2016-11-16 00:46:13 +09:00
Philippe Renon
e79f83e573
calib3d: fix missing cv::redirectError symbol error
...
happens on msys2 with gcc 6.2.0
see also http://stackoverflow.com/questions/38552221/undefined-reference-to-cvredirecterror-while-creating-shared-build-of-opencv-3
2016-11-15 08:56:01 +01:00
sourin
94b5a74067
Fixed with review comments.
2016-11-15 12:16:15 +05:30
Alexander Alekhin
c93fb14dd2
Merge pull request #7653 from pengli:deriv
2016-11-14 13:40:04 +00:00
Alexander Alekhin
099be88f02
Merge pull request #7638 from ArkadiuszRaj:move-exif-from-jpeg-to-loadsave
2016-11-14 13:37:42 +00:00
Juha Reunanen
5bb08bae28
Merge pull request #7464 from reunanen:test-7409-7458
...
Change contour test images to be very wide (#7464 )
* Change contour test images to be very wide (#7409 , #7458 )
Unfortunately, slows down the tests.
* Decrease the number of contour test cases, in order to (at least partially) offset the test run duration increase caused by making the test images wider
* Don't test with very wide images on 32-bit architectures
2016-11-14 16:31:29 +03:00
Li Peng
8d4a7d3dcc
sobel and scharr ocl kernel optimization
...
It improves 108%~230% performance in the perf test
with image format "CV_8UC1" and kernel size 3.
Signed-off-by: Li Peng <peng.li@intel.com>
2016-11-14 15:34:59 +08:00
k-shinotsuka
a909527a39
add SSE code for HLS2RGB_f.
2016-11-14 01:44:33 +09:00
k-shinotsuka
614ce7743e
add SSE code for HSV2RGB_f.
2016-11-13 23:46:21 +09:00
Vadim Pisarevsky
a679e4ca7c
Merge pull request #7656 from alalek:python_warning
2016-11-11 20:37:38 +00:00
Vadim Pisarevsky
b587c57b2a
Merge pull request #7654 from souch55:Fixgtk
2016-11-11 20:35:24 +00:00
Vadim Pisarevsky
6b7d570c34
Merge pull request #7539 from Tetragramm:90DegreeRotations
2016-11-11 20:30:25 +00:00
Alexander Alekhin
a88b94cc44
build: fix warning in python parser
...
/usr/lib/python3.5/re.py:203: FutureWarning: split() requires a non-empty pattern match.
return _compile(pattern, flags).split(string, maxsplit)
2016-11-11 17:45:12 +03:00
Vadim Pisarevsky
4ebdf4938a
Merge pull request #7634 from paroj:undistpt
2016-11-11 14:13:18 +00:00
sourin
879315f2fe
Fix error gtk
2016-11-11 10:55:38 +05:30
Tetragramm
24379fcb5f
Use transpose() as suggested, because it works on pre-existing destination Mats.
2016-11-10 21:35:00 -06:00
Alexander Alekhin
acaa1e1b29
Merge pull request #7628 from sergiud:viz-vtkUnsignedCharArray-delete
2016-11-10 17:04:04 +00:00
Alexander Alekhin
b2e0873af1
Merge pull request #7629 from alalek:issue_7626
2016-11-10 16:35:08 +00:00
Vadim Pisarevsky
a2d6d96ef1
Merge pull request #7161 from terfendail:shortline_fix
2016-11-10 16:02:20 +00:00
Alexander Alekhin
edcbc15a90
cmake: python installation
...
Also fixes issue with empty PYTHON_PACKAGES_PATH (cross-compilation mode)
2016-11-10 17:53:53 +03:00
Arkadiusz Raj
40778fa30a
Change name to minimize confusion
2016-11-10 15:31:34 +01:00
Arkadiusz Raj
4a9c84c570
Add static to local function
2016-11-10 15:04:28 +01:00
Alexander Alekhin
45bf60d18c
perf: remove tvl1 check for magic numbers, reduce number of samples
2016-11-10 15:41:44 +03:00
Alexander Alekhin
a01a4c4b3b
test: tvl1 test check update
2016-11-10 15:39:18 +03:00
Arkadiusz Raj
f893ee5cec
Added IMREAD_IGNORE_ORIENTATION flag
2016-11-09 18:09:22 +01:00
Pavel Rojtberg
3609343acf
undistortPoints: only consider distCoeffs if present
...
iters should be 0 if we have no distortion. Also skip tilt distortion in
that case.
Furthermore move variable declarations to usage sites.
2016-11-09 16:11:26 +01:00
Alexander Alekhin
6991c24a27
Merge pull request #7632 from paroj:homgpt_int
2016-11-09 14:55:10 +00:00
Alexander Alekhin
17ffb28807
Merge pull request #7602 from mshabunin:fix-opencl-warnings
2016-11-09 12:35:00 +00:00
Pavel Rojtberg
25061b4280
convertPointsToHomogeneous: fix output type for depth == CV_32S
2016-11-09 11:35:12 +01:00
Alexander Alekhin
f1d93cb23b
Merge pull request #7624 from pengli:gaussian_blur
2016-11-09 09:25:25 +00:00
Alexander Alekhin
183c75358b
imgproc: fix trailingZeros for MSVS 2010
2016-11-08 16:48:41 +03:00
Sergiu Deitsch
d4b501e734
viz: free new[] allocated arrays using delete[] instead of free
...
Clang's AddressSanitizer throws an alloc-dealloc-mismatch (operator
new[] vs free) error here.
2016-11-08 13:03:22 +01:00
Pavel Vlasov
349d5ba012
--perf_instrument parameter now has int type and 0, 1, 2 modes (1 - simple trees, 2 - expanded trees for functions with same name but different calling address);
...
Maximum depth limit var was added to the instrumentation structure;
Trace names output console output fix: improper tree formatting could happen;
Output in case of error was added;
Custom regions improvements;
Improved timing and weight calculation for parallel regions; New TC (threads counter) value to indicate how many different threads accessed particular node;
parallel_for, warnings fixes and ReturnAddress code from Alexander Alekhin;
2016-11-08 10:18:05 +03:00
Li Peng
8f63f51e81
gaussian blur ocl kernel optimization
...
This ocl kernel is for 3x3 kernel size and CV_8UC1 format
It is 115% ~ 300% faster than current ocl path in perf test
python ./modules/ts/misc/run.py -t imgproc --gtest_filter=OCL_GaussianBlurFixture*
Signed-off-by: Li Peng <peng.li@intel.com>
2016-11-08 11:22:26 +08:00
Alexander Alekhin
442380bfac
Merge pull request #7585 from pengli:morph_filter
2016-11-07 17:11:32 +00:00
mshabunin
3e28d51779
Fixed several OpenCL compiler warnings
2016-11-07 16:49:12 +03:00
Li Peng
35198b84a4
morph ocl kernel for erode and dilate filter
...
This kernel is for CV_8UC1 format and 3x3 kernel size,
It is about 33% ~ 55% faster than current ocl kernel with below perf test
python ./modules/ts/misc/run.py -t imgproc --gtest_filter=OCL_ErodeFixture*
python ./modules/ts/misc/run.py -t imgproc --gtest_filter=OCL_DilateFixture*
Also add accuracy test cases for this kernel, the test command is
./bin/opencv_test_imgproc --gtest_filter=OCL_Filter/MorphFilter3x3*
Signed-off-by: Li Peng <peng.li@intel.com>
2016-11-04 12:24:24 +08:00
Tetragramm
17df65e666
Fix the OpenCL portion to match the c++ code.
...
Fix an undiscovered bug in the c++ code.
2016-11-03 20:41:16 -05:00
Alexander Alekhin
d1bbc0b6e6
Merge pull request #7604 from rokm:highgui-qt
2016-11-03 19:24:52 +00:00
Tomoaki Teshima
676736bdb2
avoid using fmadd in RNG
2016-11-03 23:11:52 +09:00
Vadim Pisarevsky
3dc022ae84
Merge pull request #7423 from grahamfyffe:leading_edges
2016-11-03 11:20:43 +00:00
Alexander Alekhin
712fa9a73c
Merge pull request #7605 from tomoaki0705:fixBuildFp16Error
2016-11-03 07:41:42 +00:00
Tetragramm
ad5c50a923
Improve the efficiency as suggested by vpisarev.
...
Alter the Rotation enum to be unambiguous as to direction.
2016-11-02 17:44:13 -05:00
Vadim Pisarevsky
280cdb5b94
Merge pull request #7595 from sovrasov:fs_utf8_bom
2016-11-02 15:27:48 +00:00
Tomoaki Teshima
9ee6f10896
fix build error
2016-11-02 23:18:58 +09:00
Vadim Pisarevsky
6fceb1dd59
Merge pull request #7601 from sovrasov:remap_big_img_assert
2016-11-02 14:17:04 +00:00
Vadim Pisarevsky
545f573a6c
Merge pull request #7596 from sovrasov:doc_core_clarify
2016-11-02 13:32:14 +00:00
Vadim Pisarevsky
bebd49d91b
Merge pull request #7467 from tomoaki0705:featureCheckSimdUniversal
2016-11-02 12:30:55 +00:00
Vadim Pisarevsky
050731c4d2
Merge pull request #7552 from es0m:master
2016-11-02 12:12:09 +00:00
Rok Mandeljc
baf613bc5c
highgui: window_QT: added missing virtual method specifier
...
Fixes #7603 , which was caused by OCVViewPort::icvmouseProcessing
not being declared as virtual, and hence was not overriden by
DefaultViewPort::icvmouseProcessing (which does the inverse
coordinate mapping).
2016-11-02 13:11:51 +01:00
Vladislav Sovrasov
e955d17c51
Add new error messages
2016-11-02 14:53:56 +03:00
Vladislav Sovrasov
38483fe7a7
Skip UTF-8 BOM in FileStorage
2016-11-02 14:51:07 +03:00
Vladislav Sovrasov
af01267f23
Add assertion to prevent processing of large images in remap
2016-11-02 14:17:56 +03:00
Vladislav Sovrasov
33d82da436
Clarify documentation for cv::Algorithm::read
2016-11-02 13:51:16 +03:00
Vadim Pisarevsky
8944875258
Merge pull request #7526 from alalek:fix_arm_builds
2016-11-02 10:49:43 +00:00
Vadim Pisarevsky
94d879737b
Merge pull request #7582 from K-Shinotsuka:issue32
2016-11-02 10:48:29 +00:00
Vadim Pisarevsky
01f355dfaa
Merge pull request #7583 from K-Shinotsuka:issue33
2016-11-02 10:47:33 +00:00
Vadim Pisarevsky
7dd99258c7
Merge pull request #7584 from tomoaki0705:fixFp16BuildOldCompiler
2016-11-02 10:43:34 +00:00
k-shinotsuka
a7db950b66
add SSE code for Lab2RGB_f.
2016-11-01 22:33:58 +09:00
Alexander Alekhin
6c12533160
Merge pull request #7571 from panxiaochun:CvVideoCamera_stop
2016-10-31 17:35:41 +00:00
Alexander Alekhin
811eb76277
Merge pull request #7497 from abratchik:java.wrapper.fix.3.1
2016-10-31 17:24:18 +00:00
Tomoaki Teshima
6d460bb602
fix build error on old compiler
...
* vget_lane_** accepts constant value, not variable
2016-10-31 23:20:44 +09:00
Eric Sommerlade
049a894986
fixed detection_based_tracker on visual studio 2013 and later
...
modules/objectdetect/src/detection_based_tracker.cpp: made unique_lock<mutex> local to each function
samples/cpp/dbt_face_detection.cpp: fixed warnings on loop in Visual Studio
2016-10-31 11:07:09 +00:00
Alexander Alekhin
522cfa77b8
test: don't check magic values in stitching perf test
2016-10-31 13:37:59 +03:00
abratchik
f978ee613e
fix for #7510 , #7511 and #7512
2016-10-31 11:07:56 +04:00
abratchik
78874c568e
fix java wrapper autotests
2016-10-31 10:06:32 +04:00
Alexander Alekhin
4c66772783
Merge pull request #7516 from sovrasov:find_contours_fix
2016-10-30 08:33:12 +00:00
Alexander Alekhin
51f2b27bcb
Merge pull request #7574 from Tytan:expcomp_before_seams
2016-10-30 08:28:36 +00:00
k-shinotsuka
c1c7c7f83e
add SSE code for Luv2RGB_f.
2016-10-30 14:50:18 +09:00
Vadim Pisarevsky
7fe0fb6be7
Merge pull request #7580 from seanlis:wrong_diag_comment
2016-10-29 21:30:26 +00:00
Vadim Pisarevsky
7b532cea89
Merge pull request #7540 from K-Shinotsuka:issue31
2016-10-29 21:28:25 +00:00
Vadim Pisarevsky
2b7866f21b
Merge pull request #7503 from pengli:box_filter_v2
2016-10-29 21:20:06 +00:00
Sean Li
6f3483ade3
Correct the comment of Mat::diag(const Mat& d).
2016-10-29 16:01:23 +08:00
k-shinotsuka
992795d47d
add SSE code for RGB2Luv_f.
2016-10-29 15:28:31 +09:00
Tomoaki Teshima
cba22349b7
add universal hardware support check function
...
* use hasSIMD128 rather than calling checkHardwareSupport
* add SIMD check in spartialgradient.cpp
* add SIMD check in stereosgbm.cpp
* add SIMD check in canny.cpp
2016-10-29 13:24:31 +09:00
Vadim Pisarevsky
ecb8fb964d
Merge pull request #7572 from tomoaki0705:featureUniversalStereoSgbm
2016-10-28 15:34:11 +00:00
Quentin
bbd4a0eb51
Compensate exposure before finding seams
2016-10-28 17:04:05 +02:00
Tomoaki Teshima
b823c8e95c
add universal intrinsic in StereoSGBM
...
* add 8 elements version of reduce operation
* add tests for new universal intrinsic
2016-10-28 21:47:13 +09:00
Alexander Alekhin
7f2ac764ae
Merge pull request #7561 from paroj:winvisible
2016-10-28 11:31:04 +00:00
Pavel Rojtberg
358ec04413
highgui: add property WND_PROP_VISIBLE
...
checks whether the window exists and is visible. On QT closing a window
merley hides it, so the common hack for checking whether a window exists
exists = cv2.getWindowProperty(.., 0) >= 0
does not work.
2016-10-28 11:35:02 +02:00
Vladislav Sovrasov
56c133d459
Disable redundant border initialization in findContours
2016-10-28 11:05:54 +03:00
panxiaochun
bec3479f9e
fix the problem:repeatedly stop cause app crash
2016-10-28 15:50:37 +08:00
panxiaochun
f888f47102
remove self. in release method
2016-10-28 14:48:49 +08:00
panxiaochun
03a9fd46c7
fix the problem: leak memory when repeatedly start and stop
2016-10-28 11:18:33 +08:00
Alexander Alekhin
bdfb4decb2
Merge pull request #7554 from lupustr3:pvlasov/morph_isolated
2016-10-27 16:51:03 +00:00
Alexander Alekhin
33a5778a0e
core: update CV_XADD
...
Allow to use custom implementations of CV_XADD (passed via -D of CXXFLAGS)
2016-10-27 13:22:13 +03:00
Alexander Alekhin
9b2b8404a0
Merge pull request #7553 from erichkeane:interlocked_add_fix
2016-10-27 07:03:18 +00:00
Pavel Vlasov
f07525031b
BORDER_ISOLATED support for Laplacian, boxFilter and morphology;
2016-10-27 09:53:19 +03:00
Erich Keane
ad6af6b9e4
Remove Intel Specific CV_XADD Definition
...
Intel supports __atomic_fetch_add, so it isn't necessary to use
a specific version otherwise.
2016-10-26 09:37:25 -07:00
Li Peng
3607da9f6b
ocl kernel performance optimization for box filter
...
The optimization is for CV_8UC1 format and 3x3 box filter,
it is 15%~87% faster than current ocl kernel with below perf test
./modules/ts/misc/run.py -t imgproc --gtest_filter=OCL_BlurFixture*
Also add test cases for this ocl kernel.
Signed-off-by: Li Peng <peng.li@intel.com>
2016-10-26 11:56:11 +08:00
Erich Keane
689cf79625
Correct cast for _InterlockedExchangeAdd on ICC
...
A bug in ICC improperly identified the first parameter as "void*"
rather than the proper "volatile long*". This is scheduled to be
fixed in ICC in a future release.
This patch casts only to a "long*" to preserve backwards compatibility
with the ICC 16 and ICC 17 releases.
2016-10-25 14:18:55 -07:00
fegorsch
ddf0554fff
Use colon in "%YAML:1.0" directive when persisting to YAML-files
...
In YAML 1.0 the colon is mandatory. See http://yaml.org/spec/1.0/#id2558635 .
This also allows prior releases to read YAML files created with the current version.
2016-10-25 18:18:35 +02:00
Vladislav Sovrasov
c55890f637
Enable chessboard detector test on Ubuntu
2016-10-25 11:53:53 +03:00
Vladislav Sovrasov
34df4ae02a
Add a regression test, fix documentation
2016-10-25 11:38:07 +03:00
Vladislav Sovrasov
1f4f50b9dc
findContours: integrate workaroung to allow contours detection on image border
2016-10-25 11:38:07 +03:00
Vladislav Sovrasov
f5592fd21b
Fix wrong default mask value in floodFill
2016-10-25 11:16:59 +03:00
Tetragramm
6f7bf653f7
Add 90 degree rotation methods. This provides a quick simple way of doing 90 degree rotations.
...
Also fix warnings that show up on other compilers in test builds.
2016-10-22 12:48:52 -05:00
Alexander Alekhin
de35c59ba4
Merge pull request #7517 from paroj:pp_dpdf
2016-10-22 16:16:24 +00:00
Jiri Horner
c17afe0fab
Merge pull request #6933 from hrnr:gsoc_all
...
[GSOC] New camera model for stitching pipeline
* implement estimateAffine2D
estimates affine transformation using robust RANSAC method.
* uses RANSAC framework in calib3d
* includes accuracy test
* uses SVD decomposition for solving 3 point equation
* implement estimateAffinePartial2D
estimates limited affine transformation
* includes accuracy test
* stitching: add affine matcher
initial version of matcher that estimates affine transformation
* stitching: added affine transform estimator
initial version of estimator that simply chain transformations in homogeneous coordinates
* calib3d: rename estimateAffine3D test
test Calib3d_EstimateAffineTransform rename to Calib3d_EstimateAffine3D. This is more descriptive and prevents confusion with estimateAffine2D tests.
* added perf test for estimateAffine functions
tests both estimateAffine2D and estimateAffinePartial2D
* calib3d: compare error in square in estimateAffine2D
* incorporates fix from #6768
* rerun affine estimation on inliers
* stitching: new API for parallel feature finding
due to ABI breakage new functionality is added to `FeaturesFinder2`, `SurfFeaturesFinder2` and `OrbFeaturesFinder2`
* stitching: add tests for parallel feature find API
* perf test (about linear speed up)
* accuracy test compares results with serial version
* stitching: use dynamic_cast to overcome ABI issues
adding parallel API to FeaturesFinder breaks ABI. This commit uses dynamic_cast and hardcodes thread-safe finders to avoid breaking ABI.
This should be replaced by proper method similar to FeaturesMatcher on next ABI break.
* use estimateAffinePartial2D in AffineBestOf2NearestMatcher
* add constructor to AffineBestOf2NearestMatcher
* allows to choose between full affine transform and partial affine transform. Other params are the as for BestOf2NearestMatcher
* added protected field
* samples: stitching_detailed support affine estimator and matcher
* added new flags to choose matcher and estimator
* stitching: rework affine matcher
represent transformation in homogeneous coordinates
affine matcher: remove duplicite code
rework flow to get rid of duplicite code
affine matcher: do not center points to (0, 0)
it is not needed for affine model. it should not affect estimation in any way.
affine matcher: remove unneeded cv namespacing
* stitching: add stub bundle adjuster
* adds stub bundle adjuster that does nothing
* can be used in place of standard bundle adjusters to omit bundle adjusting step
* samples: stitching detailed, support no budle adjust
* uses new NoBundleAdjuster
* added affine warper
* uses R to get whole affine transformation and propagates rotation and translation to plane warper
* add affine warper factory class
* affine warper: compensate transformation
* samples: stitching_detailed add support for affine warper
* add Stitcher::create method
this method follows similar constructor methods and returns smart pointer. This allows constructing Stitcher according to OpenCV guidelines.
* supports multiple stitcher configurations (PANORAMA and SCANS) for convenient setup
* returns cv::Ptr
* stitcher: dynamicaly determine correct estimator
we need to use affine estimator for affine matcher
* preserves ABI (but add hints for ABI 4)
* uses dynamic_cast hack to inject correct estimator
* sample stitching: add support for multiple modes
shows how to use different configurations of stitcher easily (panorama stitching and scans affine model)
* stitcher: find features in parallel
use new FeatureFinder API to find features in parallel. Parallelized using TBB.
* stitching: disable parallel feature finding for OCL
it does not bring much speedup to run features finder in parallel when OpenCL is enabled, because finder needs to wait for OCL device.
Also, currently ORB is not thread-safe when OCL is enabled.
* stitching: move matcher tests
move matchers tests perf_stich.cpp -> perf_matchers.cpp
* stitching: add affine stiching integration test
test basic affine stitching (SCANS mode of stitcher) with images that have only translation between them
* enable surf for stitching tests
stitching.b12 test was failing with surf
investigated the issue, surf is producing good result. Transformation is only slightly different from ORB, so that resulting pano does not exactly match ORB's result. That caused sanity check to fail.
* added size checks similar to other tests
* sanity check will be applied only for ORB
* stitching: fix wrong estimator choice
if case was exactly wrong, estimators were chosen wrong
added logging for estimated transformation
* enable surf for matchers stitching tests
* enable SURF
* rework sanity checking. Check estimated transform instead of matches. Est. transform should be more stable and comparable between SURF and ORB.
* remove regression checking for VectorFeatures tests. It has a lot if data andtest is the same as previous except it test different vector size for performance, so sanity checking does not add any value here. Added basic sanity asserts instead.
* stitching tests: allow relative error for transform
* allows .01 relative error for estimated homography sanity check in stitching matchers tests
* fix VS warning
stitching tests: increase relative error
increase relative error to make it pass on all platforms (results are still good).
stitching test: allow bigger relative error
transformation can differ in small values (with small absolute difference, but large relative difference). transformation output still looks usable for all platforms. This difference affects only mac and windows, linux passes fine with small difference.
* stitching: add tests for affine matcher
uses s1, s2 images. added also new sanity data.
* stitching tests: use different data for matchers tests
this data should yeild more stable transformation (it has much more matches, especially for surf). Sanity data regenerated.
* stitching test: rework tests for matchers
* separated rotation and translations as they are different by scale.
* use appropriate absolute error for them separately. (relative error does not work for values near zero.)
* stitching: fix affine warper compensation
calculation of rotation and translation extracted for plane warper was wrong
* stitching test: enable surf for opencl integration tests
* enable SURF with correct guard (HAVE_OPENCV_XFEATURES2D)
* add OPENCL guard and correct namespace as usual for opencl tests
* stitching: add ocl accuracy test for affine warper
test consistent results with ocl on and off
* stitching: add affine warper ocl perf test
add affine warper to existing warper perf tests. Added new sanity data.
* stitching: do not overwrite inliers in affine matcher
* estimation is run second time on inliers only, inliers produces in second run will not be therefore correct for all matches
* calib3d: add Levenberg–Marquardt refining to estimateAffine2D* functions
this adds affine Levenberg–Marquardt refining to estimateAffine2D functions similar to what is done in findHomography.
implements Levenberg–Marquardt refinig for both full affine and partial affine transformations.
* stitching: remove reestimation step in affine matcher
reestimation step is not needed. estimateAffine2D* functions are running their own reestimation on inliers using the Levenberg-Marquardt algorithm, which is better than simply rerunning RANSAC on inliers.
* implement partial affine bundle adjuster
bundle adjuster that expect affine transform with 4DOF. Refines parameters for all cameras together.
stitching: fix bug in BundleAdjusterAffinePartial
* use the invers properly
* use static buffer for invers to speed it up
* samples: add affine bundle adjuster option to stitching_detailed
* add support for using affine bundle adjuster with 4DOF
* improve logging of initial intristics
* sttiching: add affine bundle adjuster test
* fix build warnings
* stitching: increase limit on sanity check
prevents spurious test failures on mac. values are still pretty fine.
* stitching: set affine bundle adjuster for SCANS mode
* fix bug with AffineBestOf2NearestMatcher (we want to select affine partial mode)
* select right bundle adjuster
* stitching: increase error bound for matcher tests
* this prevents failure on mac. tranformation is still ok.
* stitching: implement affine bundle adjuster
* implements affine bundle adjuster that is using full affine transform
* existing test case modified to test both affinePartial an full affine bundle adjuster
* add stitching tutorial
* show basic usage of stitching api (Stitcher class)
* stitching: add more integration test for affine stitching
* added new datasets to existing testcase
* removed unused include
* calib3d: move `haveCollinearPoints` to common header
* added comment to make that this also checks too close points
* calib3d: redone checkSubset for estimateAffine* callback
* use common function to check collinearity
* this also ensures that point will not be too close to each other
* calib3d: change estimateAffine* functions API
* more similar to `findHomography`, `findFundamentalMat`, `findEssentialMat` and similar
* follows standard recommended semantic INPUTS, OUTPUTS, FLAGS
* allows to disable refining
* supported LMEDS robust method (tests yet to come) along with RANSAC
* extended docs with some tips
* calib3d: rewrite estimateAffine2D test
* rewrite in googletest style
* parametrize to test both robust methods (RANSAC and LMEDS)
* get rid of boilerplate
* calib3d: rework estimateAffinePartial2D test
* rework in googletest style
* add testing for LMEDS
* calib3d: rework estimateAffine*2D perf test
* test for LMEDS speed
* test with/without Levenberg-Marquart
* remove sanity checking (this is covered by accuracy tests)
* calib3d: improve estimateAffine*2D tests
* test transformations in loop
* improves test by testing more potential transformations
* calib3d: rewrite kernels for estimateAffine*2D functions
* use analytical solution instead of SVD
* this version is faster especially for smaller amount of points
* calib3d: tune up perf of estimateAffine*2D functions
* avoid copying inliers
* avoid converting input points if not necessary
* check only `from` point for collinearity, as `to` does not affect stability of transform
* tutorials: add commands examples to stitching tutorials
* add some examples how to run stitcher sample code
* mention stitching_detailed.cpp
* calib3d: change computeError for estimateAffine*2D
* do error computing in floats instead of doubles
this have required precision + we were storing the result in float anyway. This make code faster and allows auto-vectorization by smart compilers.
* documentation: mention estimateAffine*2D function
* refer to new functions on appropriate places
* prefer estimateAffine*2D over estimateRigidTransform
* stitching: add camera models documentations
* mention camera models in module documentation to give user a better overview and reduce confusion
2016-10-22 19:10:42 +03:00
Arek
e77bc24b96
Merge pull request #7518 from ArkadiuszRaj:aravis-buffer-status
...
Aravis several updates
* Fix adressing camera with id=0
* Aravis buffer property control & status added
* Modify of autoexposure algorith, ream frame ID from aravis + new properites
* Change of macro name
* VideoCapture now returns no frame on camera disconnecion
* Allow aravis-0.4 usage, proper camera object release.
2016-10-22 19:07:55 +03:00
Tetragramm
c6772a8f5d
Fix CLAHE distribution.
...
Fix CLAHE for 16-bit images.
2016-10-21 19:54:42 -05:00
Alexander Alekhin
f129950dec
viz: update for VTK6.2+
...
PCL PR 1205
2016-10-21 18:33:38 +03:00
Alexander Alekhin
c724d61219
Revert "Fix for VTK6.2 issue."
...
This reverts commit f45da9866a
.
2016-10-21 17:57:33 +03:00
Sean McBride
943ac96526
Eliminated use of obsolete 'register' keyword
...
Fixes clang warnings about uses of this obsolete keyword.
2016-10-20 20:19:14 -04:00
Alexander Alekhin
c57f145e90
ts: update run.py
...
Add information about python bindings
2016-10-20 16:54:51 +03:00
Alexander Alekhin
a901cc542b
test: fix tolerance perf check for Exp/Log/Sqrt
2016-10-20 16:54:48 +03:00
Alexander Alekhin
43c48e2ed1
test: update Div and ConvertScaleAbs perf tests
2016-10-20 16:54:46 +03:00
Alexander Alekhin
ee4b78fcce
test: change condition in Photo_Decolor
2016-10-20 16:54:43 +03:00
Alexander Alekhin
4439ba09f9
test: update condition for Calib3d_StereoCalibrate
2016-10-20 16:54:40 +03:00
Alexander Alekhin
db451f20df
test: don't use points on single line for solvePnP
2016-10-20 16:54:38 +03:00
Alexander Alekhin
7a9ed39655
test: update HoughLines perf test
2016-10-20 16:54:35 +03:00
Alexander Alekhin
5bafc1db75
test: fix tolerance
...
cv::rand result is not bitexact for floating-point numbers
2016-10-20 16:54:33 +03:00
Alexander Alekhin
abad2ca76c
test: fix tolerance
...
cv::rand result is not bitexact for floating-point numbers
2016-10-20 16:54:30 +03:00
Alexander Alekhin
7793299e53
Merge pull request #7507 from vrabaud:iplimage_overflow
2016-10-20 13:04:54 +00:00
Vincent Rabaud
a89aa8c90a
Fix imageSize overflow in IplImage
2016-10-20 11:23:45 +02:00
Pavel Rojtberg
01b592c8e1
calibrateCamera: mask f_x when using FIX_ASPECT_RATIO
...
this avoids a singular Jacobian such that LM converges when DECOMP_LU is
used.
2016-10-19 14:20:39 +02:00
Jake Kesinger
bd50553149
videoio: Fix for valgrind warning in icvGetPropertyCAM_V4L
...
https://github.com/opencv/opencv/issues/7380
2016-10-18 14:18:35 -04:00
Maksim Shabunin
157a90ac46
Merge pull request #7513 from abratchik:fix.wrappers.for.video.tracking
2016-10-18 12:09:14 +00:00
abratchik
c72fbd7a14
fix for #7501
2016-10-18 09:38:57 +04:00
Guillaume Jacob
df2b591896
videoio: fix segfault if CONVERT_RGB is false (issue #7465 )
2016-10-17 23:01:30 +02:00
Alexander Alekhin
07711e404b
Merge pull request #7506 from mshabunin:x11-collide-warning
2016-10-17 19:50:30 +00:00
Alexander Alekhin
5dfb810327
video: fix optflow test: NAN results shouldn't bypass checks
2016-10-17 20:06:45 +03:00
Alexander Alekhin
8213e57f3b
Merge pull request #7494 from tomoaki0705:fixVideoLKPyramidARM
2016-10-17 17:06:26 +00:00
Alexander Alekhin
505c19bc20
Merge pull request #7505 from LukeZheZhu:filterSmall_double_support
2016-10-17 10:33:52 +00:00
Vadim Pisarevsky
27c8f8a1d4
Merge pull request #7443 from Tytan:akaze
2016-10-17 09:22:52 +00:00
mshabunin
6a66af72c8
Added warning about possible X11 macro collision
2016-10-17 12:07:27 +03:00
LukeZhu
ef47bcc88b
Fix the problem: filterSmall.cl report error with double
2016-10-17 15:12:42 +08:00
Alexander Alekhin
18327aed30
Merge pull request #7496 from abratchik:java.wrapper.fix.3.1
2016-10-16 16:49:33 +00:00
Arek
4ea27061ee
Merge pull request #7472 from ArkadiuszRaj:aravis-autoexposure
...
Aravis SDK: Basic software based autoexposure control
* Basic software based autoexposure control
* Aravis autoexposure: skip frame taken while changing exposure setup
2016-10-16 19:14:58 +03:00
abratchik
8da1303179
add vector_vector_KeyPoint support to python wrappers
2016-10-16 19:09:35 +04:00
abratchik
adbb1471fc
fix regression issues in Feature2D and DescriptorMatcher interfaces
2016-10-16 13:36:40 +04:00
Tomoaki Teshima
ea4ff91861
fix error from performance test of LK pyramid
2016-10-16 17:21:37 +09:00
Feng Zhoutian
316fece020
fix the problem: the headers of cudev module are not installed if BUILD_opencv_world
2016-10-16 02:22:28 +08:00
Alexander Alekhin
1ae27eb696
Merge pull request #7476 from abratchik:java.wrapper.fix.3.1
2016-10-15 09:21:45 +00:00
abratchik
4207ebbce7
fix for VideoCapture crash
2016-10-15 08:16:31 +04:00
Vitaly Tuzov
1d045f2731
Added test for drawing beyond 32768 column
2016-10-14 18:38:01 +03:00
Vitaly Tuzov
26c9889c6b
Fix for incorrect line drawing beyond 32768 row or column
2016-10-14 18:37:59 +03:00
Alexander Alekhin
de85680a6a
Merge pull request #7483 from paroj:addtext
2016-10-14 14:06:50 +00:00
Pavel Rojtberg
a37a6bd783
fix BGR <> RGB swap
...
we are drawing on a BGR image declared as RGB, so we should not swap
components here either.
2016-10-14 12:06:50 +02:00
Pavel Rojtberg
8cc09f1784
highgui: allow wrapping cv::addText
...
also correctly forward spacing parameter in fontQt
2016-10-14 12:06:49 +02:00
Alexander Alekhin
0d0a399a13
Merge pull request #7468 from StevenPuttemans:fix_single_scale_detection
2016-10-13 16:19:18 +00:00
Maksim Shabunin
699c25a4be
Merge pull request #7471 from alalek:fix_java_generator
2016-10-13 15:21:39 +00:00
StevenPuttemans
ca762a6ba7
allow minObjectSize==maxObjectSize for single scale detection capability
2016-10-13 16:05:23 +02:00
abratchik
084c595855
fix for legacy FeatureDetector and DescriptorMatcher classes
2016-10-13 14:45:59 +04:00
Vadim Pisarevsky
4ed40fd694
Merge pull request #7432 from abratchik:java.wrapper.fix.3.1
2016-10-12 19:54:03 +00:00
Vadim Pisarevsky
4acda3f609
Merge pull request #7428 from alalek:cmake_fix_compiler_flags_detection
2016-10-12 19:38:25 +00:00
Alexander Alekhin
c16c803fe9
java: integrate code from base modules
...
To resolve undefined "Mat_to_vector_KeyPoint" error
2016-10-12 18:01:51 +03:00
Alexander Alekhin
994815fbd4
Merge pull request #7413 from tomoaki0705:featureUniversalThreshold
2016-10-12 10:01:37 +00:00
Alexander Alekhin
994c682b77
Merge pull request #7455 from tomoaki0705:featureUniversalLkPyramid
2016-10-12 09:57:53 +00:00
Alexander Alekhin
685a050339
Merge pull request #7431 from ArkadiuszRaj:pgm-16bit
2016-10-12 09:52:04 +00:00
Juha Reunanen
0f387cda8f
Merge pull request #7451 from reunanen:issue-7409
...
Fix findContours crash for very large images (#7451 )
* Cast step to size_t in order to avoid integer overflow when processing very large images
* Change assert to CV_Assert
2016-10-12 10:34:51 +03:00
Alexander Alekhin
6373e24bd3
Merge pull request #7441 from catree:add_distortion_images
2016-10-12 07:30:52 +00:00
Tomoaki Teshima
1ef740fa2c
use universal intrinsic implementation for calcSharrDeriv
2016-10-11 20:32:33 +09:00
Tomoaki Teshima
ea6410d1e7
use universal intrinsic in threshold
...
* add performance test for 32F and 64F threshold
* requires update of opencv_extra
2016-10-11 18:00:41 +09:00
abratchik
789b35d813
improved fix for java wrapper generator (gen_java.py) to avoid generation of java methods with duplicate signatures(v3)
2016-10-11 02:47:02 +04:00
Alexander Alekhin
73a8fa8e6e
Merge pull request #7447 from alalek:ocl_fix_svm
2016-10-10 20:55:08 +00:00
Alexander Alekhin
f11715b6c3
Merge pull request #7430 from ArkadiuszRaj:aravis
2016-10-10 20:54:14 +00:00
Alexander Alekhin
fe8501c931
ocl: fix SVM code
2016-10-10 20:52:30 +03:00
Alexander Alekhin
218f7574f9
Merge pull request #7440 from mschoeneck:Prefer_OCL_befor_IPP_for_Sobel_and_Scharr
2016-10-10 10:45:27 +00:00
StevenPuttemans
947f32d2e0
add border replicate note
2016-10-10 09:55:13 +02:00
ArkadiuszRaj
19bc3f4d17
Chenge arv_camera_abort_acquisition to arv_camera_stop_acquisition
2016-10-09 20:40:00 +02:00
catree
ce7811e5dd
Add distortion example images for calib3d documentation.
2016-10-09 20:35:58 +02:00
ArkadiuszRaj
8bd595acfe
fourcc support, improved buffer handling, check if exposure, gain & fps properties are available
2016-10-09 16:58:30 +02:00
matze
d9f6a06773
Adding check for IPP if UMat and OpenCL is available in Sobel and Scharr.
2016-10-09 15:37:22 +02:00
ArkadiuszRaj
48ae99ecef
Support for MONO8 & MONO12 pixel formats
2016-10-08 13:01:01 +02:00
Alexander Alekhin
714db4cf0d
java: fix Ptr<> code generation
...
Before:
Ptr<Dictionary>((cv::aruco::Dictionary*)dictionary_nativeObj)
After:
Ptr<cv::aruco::Dictionary>((cv::aruco::Dictionary*)dictionary_nativeObj)
2016-10-08 02:19:43 +03:00
Alexander Alekhin
5da8d65371
eliminate compiler warnings
2016-10-08 02:19:43 +03:00
ArkadiuszRaj
d80fd0c85c
Missing declaration
2016-10-07 22:22:46 +02:00
abratchik
be028d0774
fix for #7420 , #7421
2016-10-07 23:58:57 +04:00
ArkadiuszRaj
70c12e5407
Basic support for GigE cameras via Aravis SDK
2016-10-07 21:55:49 +02:00
ArkadiuszRaj
797030aa90
Solution to issue #7408
2016-10-07 21:29:08 +02:00
Graham Fyffe
57be99ff18
Added getLeadingEdges function to subdivision2d
2016-10-06 18:01:34 -07:00
Quentin
9b4cf896fd
Added AKAZE features in the stitcher pipeline (issue #6474 )
2016-10-06 17:47:20 +02:00
Vadim Pisarevsky
84699e0e18
Merge pull request #7399 from K-Shinotsuka:issue27
2016-10-06 13:31:06 +00:00
Vadim Pisarevsky
294bea11a5
Merge pull request #7401 from K-Shinotsuka:issue28
2016-10-06 13:30:31 +00:00
Vadim Pisarevsky
8ee459207e
Merge pull request #7402 from K-Shinotsuka:issue29
2016-10-06 13:29:56 +00:00
Vadim Pisarevsky
285e6ad15b
Merge pull request #7404 from K-Shinotsuka:issue30
2016-10-06 13:29:00 +00:00
Vadim Pisarevsky
018485050f
Merge pull request #7415 from StevenPuttemans:fix_issue_7409
2016-10-06 13:25:28 +00:00
Jcrist99
770c69a978
fix for feature2d java wrappers as described in this post: http://ans … ( #7372 )
...
* fix for feature2d java wrappers as described in this post: http://answers.opencv.org/question/101675/surfsift-java-wrapper-for-opencv-3xosx-1011/
* fix for feature2d java wrappers as described in this post: http://answers.opencv.org/question/101675/surfsift-java-wrapper-for-opencv-3xosx-1011/
* rollback of one change as requested (similar change already merged)
2016-10-06 15:48:26 +03:00
StevenPuttemans
524c61279b
replace principle by principal
2016-10-06 14:09:26 +02:00
Vadim Pisarevsky
a799cc13d9
Merge pull request #6078 from PolarNick239:master
2016-10-05 17:27:23 +00:00
Vadim Pisarevsky
fad0598634
normHamming done with AVX 2 intrinsics (ver 2) ( #7405 )
...
* normHamming done with AVX 2 intrinsics.
* fixed compiling AVX2-optimized norm hamming with MSVC
2016-10-05 21:23:32 +04:00
Alexander Alekhin
0f03f692a9
Merge pull request #7403 from tomoaki0705:fixDuplicateInclude
2016-10-05 17:20:45 +00:00
k-shinotsuka
880ace2eb3
add simd code when dcn equals 4 at HSV2RGB_b().
2016-10-06 00:06:02 +09:00
k-shinotsuka
db8b3252bf
add simd code when scn equals 4 at RGB2HLS_b().
2016-10-05 22:01:33 +09:00
Vadim Pisarevsky
913b9cd661
Merge pull request #7398 from vpisarev:mat2umat_copy_fix
2016-10-05 12:21:42 +00:00
k-shinotsuka
c1745539c4
add simd code when dcn equals 4 at HLS2RGB_b().
2016-10-05 21:02:53 +09:00
Vadim Pisarevsky
42fbfb9be0
Merge pull request #7311 from fran6co:lsd
2016-10-05 11:27:43 +00:00
Vadim Pisarevsky
43b60f4617
Merge pull request #6961 from K-Shinotsuka:issue5
2016-10-05 11:23:35 +00:00
Vadim Pisarevsky
33ce36397c
Merge pull request #7222 from mschoeneck:Improve_findContours_with_SSE2
2016-10-05 11:21:37 +00:00
Vadim Pisarevsky
2b01e316b3
Merge pull request #7392 from K-Shinotsuka:issue25
2016-10-05 11:19:43 +00:00
k-shinotsuka
a5f493a763
add simd code when scn equals 4 at Lab2RGB_b().
2016-10-05 20:14:02 +09:00
Vadim Pisarevsky
83f2eb79f1
make sure that the empty mat is copied to UMat properly - i.e. UMat becomes empty. Before the patch such copy operation crashed
2016-10-05 14:07:50 +03:00
Tomoaki Teshima
f6350bdfa8
remove duplicated include
2016-10-05 06:53:34 +09:00
k-shinotsuka
47c792ecc0
add simd code when scn equals 4 at RGB2Luv_b().
2016-10-05 01:18:43 +09:00
Vadim Pisarevsky
eddd417d74
Merge pull request #7282 from alalek:fix_calculations
2016-10-04 15:05:42 +00:00
Vadim Pisarevsky
3bd5055af1
Merge pull request #7336 from K-Shinotsuka:issue23
2016-10-04 12:29:46 +00:00
Vadim Pisarevsky
a3d44d523d
Merge pull request #7214 from mshabunin:hal_integral
2016-10-04 12:26:58 +00:00
Vadim Pisarevsky
2e2ac54eca
Merge pull request #7374 from catree:fix_hitmiss_doc_link
2016-10-04 12:15:58 +00:00
Vadim Pisarevsky
706862d5ba
Merge pull request #7382 from alalek:ocl_build_fix_warnings
2016-10-04 12:08:22 +00:00
Vadim Pisarevsky
0ce3686a37
Merge pull request #7384 from K-Shinotsuka:issue24
2016-10-04 12:06:37 +00:00
Alexander Alekhin
cecc1857dd
Merge pull request #7373 from tomoaki0705:featureCannyUniversalIntrinsic
2016-10-04 10:52:13 +00:00
Alexander Alekhin
fef677f51a
fix defines typo
2016-10-03 18:29:11 +03:00
Tomoaki Teshima
841ccccada
use universal intrinsic in canny
...
* add v_abs for universal intrinsic
* add test of v_abs in test_intrin
* fix compile error on gcc
* fix bool OR operation
2016-10-03 13:23:43 +09:00
k-shinotsuka
e310c3f9f4
add simd code when dcn equals 4 at Luv2RGB_b().
2016-10-03 00:20:26 +09:00
Alexander Alekhin
411e551335
ocl: autogenerated code
2016-10-02 02:43:02 +03:00
Alexander Alekhin
a0add98b30
ocl: eliminate build warning
...
Templates are replaced by macro
2016-10-02 02:43:02 +03:00
Vadim Pisarevsky
39467d84bf
Merge pull request #7353 from alalek:ocl_update_canny_test_threshold
2016-10-01 15:48:21 +00:00
Vadim Pisarevsky
991c41c849
Merge pull request #7371 from mshabunin:aruco-java-wrap
2016-10-01 15:38:59 +00:00
Alexander Alekhin
1c18b1d245
Merge pull request #7370 from souch55:Fixxn
2016-10-01 10:44:56 +00:00
k-shinotsuka
1a51a96de2
fixed the difference of the calculation result for findStereoCorrespondenceBM_SSE2() and findStereoCorrespondenceBM_().
2016-10-01 16:26:35 +09:00
Alexander Alekhin
12e00827be
cuda: fix fp16 compilation
2016-09-30 23:55:39 +03:00
catree
2dd77f886a
Fix dead link for hit or miss documentation.
2016-09-30 20:34:30 +02:00
mshabunin
7a7a2749e0
Fixed java wrappers
2016-09-30 16:21:04 +03:00
sourin
a34fbf7bb1
Fixed identifiers warns
2016-09-30 15:16:29 +05:30
Alexander Alekhin
a9ab629f60
build: fix aarch64 build with aarch64-linux-gnu-g++-4.8
2016-09-29 17:26:19 +03:00
mshabunin
55e3deac46
Merge remote-tracking branch 'upstream/master' into pr7050
2016-09-29 12:57:28 +03:00
Maksim Shabunin
3d5c0f1faf
HAL interface for cv::integral
2016-09-29 12:12:10 +03:00
Alexander Alekhin
696972bf8e
ocl: update Canny test threshold
...
OpenCL Device:
- Intel(R) HD Graphics (OpenCL 2.0: r2.0.54425)
2016-09-28 13:38:02 +03:00
Alexander Alekhin
73e1d64ae0
Merge pull request #6956 from mshabunin:fix-chessboard-bug
2016-09-27 13:33:42 +00:00
Alexander Alekhin
f4b84dd45d
Merge pull request #7334 from daB0bby:patch-3
2016-09-27 13:29:50 +00:00
Alexander Alekhin
4a5b775a8d
Merge pull request #7333 from daB0bby:patch-2
2016-09-27 13:29:32 +00:00
Alexander Alekhin
d34f2cfefe
Merge pull request #7317 from tomoaki0705:fixIfdefFp16
2016-09-26 10:59:32 +00:00
daB0bby
809bbb472b
bypass macro
2016-09-23 13:01:19 +02:00
daB0bby
7840b07d2f
bypass macro
2016-09-23 13:00:30 +02:00
Tomoaki Teshima
c7cb116dc0
check FP16 build condition correctly
...
* use __GNUC_MINOR__ in correct place to check the version of GCC
* check processor support of FP16 at run time
* check compiler support of FP16 and pass correct compiler option
* rely on ENABLE_AVX on gcc since AVX is generated when mf16c is passed
* guard correctly using ifdef in case of various configuration
* use v_float16x4 correctly by including the right header file
2016-09-23 11:04:22 +09:00
Alexander Alekhin
7f14a278a7
Merge pull request #7321 from sovrasov:python_test_update
2016-09-22 16:43:28 +00:00
Maksim Shabunin
b8bce55270
Several chessboard detector improvements:
...
- fixed uninitialized memory access and memory leaks
- extracted several code blocks to separate functions
- updated part of algorithm to use cv::Mat instead of CvMat and IplImage
2016-09-22 19:25:04 +03:00
Maksim Shabunin
ee7e231e8b
Merge pull request #7322 from alalek:fix_test_crash
2016-09-22 15:55:19 +00:00
Maksim Shabunin
9e27f82ee2
Merge pull request #7328 from alalek:fix_win32_2
2016-09-22 15:52:06 +00:00
Alexander Alekhin
f50f34016e
test: fix test crash (exception in destructor)
2016-09-22 15:18:32 +03:00
Alexander Alekhin
c66efd05fa
imgproc: use target type for calculations
...
reduce scope of "i" variable
2016-09-22 15:14:59 +03:00
Vadim Pisarevsky
fbc44bcb78
Merge pull request #6845 from jbosch:master
2016-09-22 11:57:06 +00:00
Alexander Alekhin
7366be696a
imgproc: fix win32 build
2016-09-22 14:56:23 +03:00
Vadim Pisarevsky
0330322dbd
Merge pull request #6820 from grochefort:fix_backgroundsubstractormog2_master
2016-09-22 11:56:23 +00:00
Francisco Facioni
8283ddb52f
LSD: Use a fixed size array instead of using std::vector
2016-09-22 12:39:49 +01:00
Francisco Facioni
de9c0d9926
LSD: Avoid re allocating the histogram for multiple calls of LineSegmentDetector::detect in ll_angle
...
This is useful when reusing the same instance of LineSegmentDetector for multiple images
2016-09-22 12:39:47 +01:00
Francisco Facioni
ef6b696446
LSD: Avoid pre allocating a big region, std::vector allocations is quite expensive
2016-09-22 12:39:45 +01:00
Francisco Facioni
a12207c3ad
LSD: Avoid using pointers directly, image could be non continuous
2016-09-22 12:39:43 +01:00
Francisco Facioni
f5a0b226f2
LSD: Optimization, avoid converting the image to double
2016-09-22 12:39:37 +01:00
Alexander Alekhin
4ccde1330d
Merge pull request #7323 from lupustr3:pvlasov/rgb_to_gray_array_fix
2016-09-22 09:52:16 +00:00
Alexander Alekhin
cde9d640fe
Merge pull request #7309 from K-Shinotsuka:issue22
2016-09-21 14:46:53 +00:00
Pavel Vlasov
2073af2f05
RGB2Gray array size fix;
2016-09-21 17:46:51 +03:00
Vladislav Sovrasov
ae28345ca5
Make test_texture_flow.py more robust
2016-09-21 17:11:00 +03:00
Alexander Alekhin
3f990accb0
Merge pull request #7306 from K-Shinotsuka:issue21
2016-09-21 12:47:33 +00:00
Alexander Alekhin
9b12bd915b
Merge pull request #7305 from K-Shinotsuka:issue20
2016-09-21 12:47:15 +00:00
Alexander Alekhin
b2314c9ae5
Merge pull request #7304 from K-Shinotsuka:issue19
2016-09-21 12:46:30 +00:00
Alexander Alekhin
b43989bdaf
Merge pull request #7303 from K-Shinotsuka:issue18
2016-09-21 12:45:16 +00:00
Alexander Alekhin
17f0c93b37
Merge pull request #7300 from K-Shinotsuka:issue17
2016-09-21 12:44:42 +00:00
daB0bby
5728795cf7
Merge pull request #7320 from daB0bby:patch-1
...
* bypass makro
* syntax
2016-09-21 14:22:58 +03:00
Francisco Facioni
31bd84de12
LSD: Removes unused code
2016-09-19 15:29:30 +01:00
Alexander Alekhin
cd6e7ac46e
Merge pull request #7252 from terfendail:transparent_sobel_fix
2016-09-19 12:24:50 +00:00
k-shinotsuka
0d85d2cc0a
improve RGB2HLS_b()
2016-09-18 23:36:31 +09:00
k-shinotsuka
4f22f48e63
improve HSV2RGB_b()
2016-09-18 23:07:09 +09:00
k-shinotsuka
0fc187d7a3
improve HLS2RGB_b()
2016-09-18 15:46:00 +09:00
k-shinotsuka
1f8aa4f7d3
improve Lab2RGB_b()
2016-09-18 14:48:40 +09:00
k-shinotsuka
37be868679
improve RGB2Luv_b()
2016-09-18 11:08:57 +09:00
k-shinotsuka
4540260df9
improve Luv2RGB_b()
2016-09-17 19:42:48 +09:00
Vadim Pisarevsky
dc3d0cbc22
Merge pull request #7266 from alalek:pr7159
2016-09-16 21:18:26 +00:00
Alexander Alekhin
d5c202e46b
Merge pull request #7294 from tomoaki0705:fixBuildCudaAarch64
2016-09-16 14:27:18 +00:00
Alexander Alekhin
fb912e1ba7
Merge pull request #7295 from lupustr3:pvlasov/vs11_compat_fix
2016-09-16 13:20:08 +00:00
Vitaly Tuzov
48f132f35f
Fix Sobel evaluation for image ROI without isolated border.
2016-09-16 16:08:37 +03:00
Alexander Alekhin
a35bec1e0a
Merge pull request #7293 from Algomorph:master
2016-09-16 09:57:34 +00:00
Pavel Vlasov
0a9470bf09
Compatibility fix for Visual Studio 2012;
2016-09-16 10:03:42 +03:00
Gregory Kramida
0d626c8fef
v4l2 backend: Y16 default behavior fixed & FOURCC setting added
...
1) Cameras started with Y16 (V4L2_PIX_FMT_Y16) format via v4l2 backend will now exhibit default camera behavior, i.e. convert the 16-bit image to BGR as with all other formats. 16-bit 1-channel output will now only be produced for Y16 if CV_CAP_PROP_CONVERT_RGB is set to "false" using VideoCap::set method.
2) v4l2 videoio backend now supports setting CV_CAP_PROP_FOURCC explicitly (icvSetPropertyCAM_V4L function in cap_v4l.cpp), allowing users to manually set the codec on cameras that support multiple codecs.
2016-09-15 21:02:24 -04:00
Tomoaki Teshima
0db4b7cebb
fix build error on CUDA + Aarch64
...
* __fp16 doesn't exist on nvcc, but it slips through ifdef guard
2016-09-16 08:06:14 +09:00
Luis Roberto Morales Iglesias
60b33046a7
[Issue #7290 ] Fixes OpenNI and OpenNI2 linking conflict
2016-09-15 17:13:04 +02:00
stbnps
a4a6ee34bf
Added support for V4L2_PIX_FMT_Y16
2016-09-15 11:06:15 -04:00
Alexander Alekhin
32df09c275
Merge pull request #7287 from seanm:master
2016-09-15 10:39:49 +00:00
Sean McBride
5357e28a2f
Removed some extra semi-colons
...
Fixes clang -Wextra-semi warnings.
2016-09-14 16:22:35 -04:00
Alexander Alekhin
05b15943d6
Merge pull request #7188 from valeriyvan:andfutheriosfixes
2016-09-14 17:05:34 +00:00
Alexander Alekhin
d1492eefca
Merge pull request #7181 from valeriyvan:ioscleanup
2016-09-14 17:04:59 +00:00
matze
975d2e4294
Enable built in counting trailing zeros function for Intel compiler and clang.
2016-09-14 18:20:47 +02:00
Vadim Pisarevsky
ab3814f9b9
Merge pull request #7191 from anirudt:docs_moments
2016-09-14 12:30:27 +00:00
Alexander Alekhin
adbf2dc9f1
Merge pull request #7193 from valeriyvan:osxcleanup
2016-09-14 11:51:25 +00:00
Valeriy Van
f1dcf71dd7
Merge pull request #7178 from valeriyvan:iosfixes
...
* Changes delegate property from assign to weak
In modern Objective-C delegate should be weak. In very rare conditions you might want delegate be strong.
Assign for delegate is sign of legacy code.
This change prevents crash when you forget nil delegate in dealloc and makes rush with nilling delegate unnecessary.
This change shouldn't break any existing code.
* Adds implementation for setters and getters for weak delegate properties for non ARC Obj-C files
For whatever reason compiler can't synthesize these.
And yes, it's time to convert all Objective-C stuff to ARC.
2016-09-14 14:48:41 +03:00
matze
a865876c0f
Added CV_UNUSED to not used variable when build without SSE2 support.
2016-09-13 19:32:37 +02:00
anirudt
2879eada25
docs: truncated commit msg
2016-09-13 16:14:05 +05:30
Vadim Pisarevsky
473dba1189
Merge pull request #7208 from terfendail:openvx_hal_impl
2016-09-13 10:15:12 +00:00
Vadim Pisarevsky
ca9183d567
Merge pull request #7034 from K-Shinotsuka:issue12
2016-09-13 10:05:46 +00:00
matze
aaa255465e
Renamed haveSSE2 in haveSIMD. Conditional compilation for function header removed
2016-09-11 13:15:53 +02:00
Vadim Pisarevsky
a9ab869800
seriously improved performance of blur function, especially 3x3 and 5x5 cases ( #7262 )
...
* seriously improved performance of blur function, especially 3x3 and 5x5 cases
* trying to fix warnings and test failures
* replaced #if 0 with #if IPP_DISABLE_BLOCK
2016-09-09 23:31:02 +04:00
Maksim Shabunin
4e918fb987
Merge pull request #7165 from PkLab:doc_videoio
2016-09-09 18:01:41 +00:00
PkLab.net
be65701908
Large update of videoio doc and samples following mshabunin comments
2016-09-09 18:46:11 +02:00
Alexander Alekhin
f85e33f4af
videoio: refactor AVFoundation code integration
2016-09-09 17:42:41 +03:00
anirudt
06e0fb25e9
docs: adds doxygen @note for python in docs related to contour moments
2016-09-09 13:23:43 +05:30
Alexander Alekhin
ca4b7e1e0f
Merge pull request #7171 from alalek:ocl_instrumentation
2016-09-08 16:31:22 +00:00
Vitaly Tuzov
5ec47299e2
Fixed warpings, added border mode support to warps and filter. Added morphology HAL API functions implemented as immediate mode OpenVX calls.
2016-09-08 18:55:26 +03:00
Maksim Shabunin
11a65475d8
Merge pull request #7257 from alalek:issue_7256
2016-09-08 15:28:09 +00:00
Alexander Alekhin
e5e30253ef
Merge pull request #7213 from alalek:issue_7203
2016-09-08 15:25:14 +00:00
Alexander Alekhin
c7f5bc3624
viz: use ../precomp.hpp in modules/viz/src/vtk/* files
2016-09-08 16:19:44 +03:00
Alexander Alekhin
d855608e6e
instrumentation: fix build on Linux
...
- enable C++11
- fix macro
2016-09-08 16:13:46 +03:00
Alexander Alekhin
10d18a315c
instrumentation: minor refactoring, wrap OpenCL
...
- calculate ticksTotal instead of ticksMean
- local / global width is based on ticksTotal value
- added instrumentation for OpenCL program compilation
- added instrumentation for OpenCL kernel execution
2016-09-08 16:13:44 +03:00
Alexander Alekhin
03767340bb
ffmpeg: fill avg_frame_rate
2016-09-08 15:43:34 +03:00
Alexander Alekhin
6d54abbd0f
ffmpeg: fix get_fps()
2016-09-08 14:41:57 +03:00
Alexander Alekhin
4013ce570f
Merge pull request #7246 from paroj:bgfg_ocl
2016-09-08 11:16:01 +00:00
Alexander Alekhin
0bb85a0ec8
Merge pull request #7253 from Finfa811:revert_borderconstant
2016-09-08 11:15:25 +00:00
Alexander Alekhin
f6208e3dea
Merge pull request #7247 from valeriyvan:matrix
2016-09-08 09:49:02 +00:00
Alexander Alekhin
125e2dcbba
Merge pull request #7156 from sovrasov:hal_qr_decomp
2016-09-08 09:47:52 +00:00
Finfa811
fd1370b92b
Reverted BORDER_CONSTAT in stitcher.cpp
...
Resolves #7251
2016-09-08 10:49:48 +02:00
Alexander Alekhin
c8d77fd961
Merge pull request #7233 from tomoaki0705:featureUniversalIntrinsicFp16
2016-09-07 14:42:46 +00:00
Valeriy Van
c562f0ad38
Minor fix in MatAllocator::download
...
Minor fix in MatAllocator::upload
Minor fix in MatAllocator::copy
Minor fix in setSize function
Minor fix in Mat::Mat
Minor fix in cvMatNDToMat function
Minor fix in _InputArray::getMatVector
Minor fix in _InputArray::getUMatVector
Minor fix in cv::hconcat
Minor fix in cv::vconcat
Minor fix in cv::setIdentity
Minor fix in cv::trace
Minor fix in transposeI_ template function
Minor fix in reduceC_ template function
Minor fix in sort_ template function
Minor fix in sortIdx_ template function
Minor fix in cvRange function
Minor fix in MatConstIterator::seek
Minor fix in SparseMat::create
Minor fix in SparseMat::copyTo
Minor fix in SparseMat::convertTo
Minor fix in SparseMat::convertTo
Minor fix in SparseMat::ptr
Minor fix in SparseMat::resizeHashTab
Fixes indentation
2016-09-07 17:25:36 +03:00
Pavel Rojtberg
27ae1578ac
BackgroundSubtractorMOG2Impl: only use OpenCL if input image is UMat
2016-09-07 15:53:35 +02:00
Maksim Shabunin
48af5e5579
Merge pull request #7202 from valeriyvan:fixUIImageToMat
2016-09-06 20:45:19 +00:00
Maksim Shabunin
c16f96cb5b
Merge pull request #7221 from terfendail:sepfilter_vec_kernel
2016-09-06 20:41:28 +00:00
Alexander Alekhin
a92aed45a4
Merge pull request #7064 from DmtKats:pam
2016-09-06 16:56:27 +00:00
Maksim Shabunin
e2de96289b
Merge pull request #7220 from paroj:imgproc_doxy
2016-09-06 14:33:17 +00:00
Dimitrios Katsaros
41431e11f5
Imgcodecs: Implemented simple tests for PAM format
2016-09-06 15:47:22 +02:00
Dimitrios Katsaros
4e513a3346
Imgcodecs: Fixed a bug with checkSignature in GdalDecoder
...
In cases where the signaure string contains a terminating character,
the std::string member function size returns a smaller value than the
allocated string. In these cases, if you then try to use substr,
you will get an out_of_range exception. This patch remedies the problem.
2016-09-06 15:47:22 +02:00
Dimitrios Katsaros
6172803012
imgcodecs: Implementation of PAM encoder/decoder
...
This patch implements the PAM image format as defined at:
http://netpbm.sourceforge.net/doc/pam.html
The PAM format provides a generic means for storing 2 dimensional information.
This is useful for opencv since there are cases where data gets translated into
non standardized formats, which makes it difficult to store and load this information.
2016-09-06 15:47:22 +02:00
Vladislav Sovrasov
dfe4519c07
Add QR decomposition to HAL
2016-09-05 18:20:04 +03:00
mschoeneck
9e61a28b2e
Improve canny ( #7227 )
...
* Improve Canny by using _mm_movemask_epi8 to find next pixel magnitude greater than lower threshold. Added parallelized finalPass to Canny with variable gradients. Little changes in finalPass.
* Some things fixed
2016-09-05 13:51:36 +03:00
Sergey Alexandrov
765dd30981
Add support for GpuMat in InputArray::isContinuous()
2016-09-05 09:27:35 +02:00
Tomoaki Teshima
903789f7af
use universal intrinsic for FP16
...
* use v_float16x4 (universal intrinsic) instead of raw SSE/NEON implementation
* define v_load_f16/v_store_f16 since v_load can't be distinguished when short pointer passed
* brush up implementation on old compiler (guard correctly)
* add test for v_load_f16 and round trip conversion of v_float16x4
* fix conversion error
2016-09-05 08:13:52 +09:00
matze
fd6f54c895
Bug fixed in findEndContours and icvFindContoursInInterval adjusted.
2016-09-03 20:09:39 +02:00
matze
f6451c7ae6
Varaible names renamed. Macro definitions fixed. findEndContourPoint function fixed. findContoursInInterval adjusted.
2016-09-03 14:35:09 +02:00
matze
25cf33d5c8
Warning fixed by adding a cast to char
2016-09-02 21:09:25 +02:00
matze
0acd818efc
Removed #elif defined(__INTEL_COMPILER) because it is disabled at the moment
2016-09-02 20:35:08 +02:00
matze
8af8c4d0aa
Improves findContours using SSE _mm_movemask_epi8 to find next contour point. Cleaned up code a little bit
2016-09-02 20:09:13 +02:00
Pavel Rojtberg
cfcf8abbb6
doxygen: imgproc - underscores should not be escaped in texttt
2016-09-02 16:41:45 +02:00
Pavel Rojtberg
62cabb58a9
doxygen: undistortPoints - replace matlab code by latex forumlae
2016-09-02 16:41:45 +02:00
Alexander Alekhin
d102ea96c0
Merge pull request #7210 from mshabunin:fix-warnings
2016-09-02 12:50:45 +00:00
Alexander Alekhin
8104db2232
Merge pull request #7130 from souch55:Fixed
2016-09-02 12:49:49 +00:00
Vitaly Tuzov
f773f45d90
Updated HAL interface for separable filters to address that both kernels are vectors.
2016-09-02 14:42:01 +03:00
Alexander Alekhin
a5dcefd50e
Merge pull request #7183 from mself:LMeDS_median_optimization
2016-09-02 11:16:12 +00:00
Maksim Shabunin
28db4a2207
Merge pull request #7175 from tomoaki0705:featureIntrinsic64
2016-09-02 10:16:44 +00:00
Maksim Shabunin
dc704d77ac
Fixed several GCC 5.x warnings
2016-09-01 15:44:01 +03:00
Maksim Shabunin
595fd2757c
Merge pull request #7182 from mself:two_channel_universal_intrinsics
2016-08-31 10:11:43 +00:00
Valeriy Van
464d289fa9
Gets rid of magic constant
2016-08-30 23:22:49 +03:00
Tomoaki Teshima
7fef96be1e
add 64F intrinsic in HAL NEON
...
* use universal intrinsic for accumulate series using float/double
* accumulate, accumulateSquare, accumulateProduct and accumulateWeighted
* add v_cvt_f64_high in both SSE/NEON
* add test for conversion v_cvt_f64_high in test_intrin.cpp
* improve some existing universal intrinsic by using new instructions in Aarch64
* add workaround for Android build in intrin_neon.hpp
2016-08-30 17:21:02 +09:00
Valeriy Van
acb62692e4
Cleans up declarations in window_cocoa.mm removing unnecessary iVars declarations and changing retain property attribute to strong
2016-08-29 21:55:59 +03:00
anirudt
6825375694
docs: adds note for python in docs related to moments
2016-08-29 20:22:08 +05:30
Alexander Alekhin
4e8f8922e2
Merge pull request #7170 from alalek:fix_build
2016-08-29 10:15:58 +00:00
Alexander Alekhin
da0e07bc1b
Merge pull request #7177 from alalek:msvs_layout
2016-08-29 09:36:49 +00:00
Maksim Shabunin
a21b8ed92c
Merge pull request #7180 from mrquorr:add_dcm_test
2016-08-29 08:40:02 +00:00
Valeriy Van
5a71bde79a
Changes existential NSStringFromSelector(_cmd) for straightforward __FUCNTION__
2016-08-28 12:48:08 +03:00
Valeriy Van
517be4bfa9
Changes [error localizedDescription] for [error description] in NSLog
...
There's no sense to log error messages in user’s locale.
Imagine you’re trying to guess what's going on decrypting logs in hebrew, arabic, slavic. localizedDescription is for end user messages, not for logs.
2016-08-28 12:34:50 +03:00
Valeriy Van
31e790da33
Fixes spelling in NSLog
2016-08-28 12:29:58 +03:00
k-shinotsuka
9df8400f3d
improve RGB5x52Gray()
2016-08-28 14:25:06 +09:00
Matthew Self
7de2e1e795
Improve perfomance of median calculation in LMedS algorithm
...
* Use `nth_element()` to find the median instead of `sort()` in `LMeDSPointSetRegistrator::run()`
* Improves performance of this part of LMedS from `n log(n)` to `n` by avoiding doing a full sort.
* Makes LMedS 2x faster for 100 points, 4x faster for 5,000 points in `EstimateAffine2D()`.
* LMedS is now never more than 2x slower than RANSAC and is faster in some cases.
2016-08-26 20:39:38 -07:00
Matthew Self
9678d48e1a
2-channel interleaved load/store for universal intrinsics (float only)
...
* Added 2-channel ops to match existing 3-channel and 4-channel ops
* v_load_deinterleave() and v_store_interleave()
* Implements float32x4 only on SSE (but all types on NEON and CPP)
* Includes tests
* Will be used to vectorize 2D functions, such as estimateAffine2D()
2016-08-26 18:17:08 -07:00
Valeriy Van
69c7eea694
Cleans up ios stuff declaration removing not needed ivars backing properties
2016-08-27 01:10:17 +03:00
mrquorr
a88bf4e5aa
test added, only if HAVE_GDCM is on
2016-08-26 13:27:55 +00:00
Vadim Pisarevsky
40b870704e
add 2 extra methods to ml::TrainData ( #7169 )
...
* expose 2 extra methods from ml::TrainData: getNames() and getVarSymbolFlags(). The first one returns text labels from CSV (if the data has been loaded from CSV); the second one returns a matrix of boolean values; its n-th element is 1 iff the corresponding column in the CSV uses symbolic names, not numbers.
* check that the dynamic_cast succeeds
2016-08-26 16:25:46 +04:00
Vadim Pisarevsky
5ddd25313f
Add Grana's connected components algorithm for 8-way connectivity. ( #6823 )
...
* Add Grana's connected components algorithm for 8-way connectivity. That algorithm is faster than Wu's one (currently implemented in opencv). For more details see https://github.com/prittt/YACCLAB .
* New functions signature and distance transform compatibility
* Add tests to imgproc/test/test_connectedcomponents.cpp
* Change of test_connectedcomponents.cpp for c++98 support
2016-08-26 16:01:00 +04:00
Vadim Pisarevsky
4f0f5a24ef
Merge pull request #7158 from sturkmen72:documentation_fix
2016-08-26 11:40:19 +00:00
Vadim Pisarevsky
3ed948a822
Merge pull request #7167 from alalek:modules_deps
2016-08-26 11:16:45 +00:00
Alexander Alekhin
db6d94a7b0
cmake: minimize MSVS projects layout
...
Also put "object" targets to off by default (they doesn't work well)
2016-08-26 13:40:16 +03:00
Valeriy Van
f1db065c10
Unifies Obj-C property attributes changing retain to strong
...
strong and retain are synonymous but using strong along with obsolete synonym retain in one file is negligent
2016-08-25 21:40:16 +03:00
Alexander Alekhin
5383a625a7
fix Win build, change default WINNT macro to WinXP
...
Returning to Win2k value is possible via this CMake option:
cmake -DOPENCV_EXTRA_FLAGS="/D_WIN32_WINNT=0x0500" ...
2016-08-25 16:21:52 +03:00
Alexander Alekhin
063ac74369
fix modules deps
2016-08-25 14:57:12 +03:00
Alexander Alekhin
da5ead2c23
Merge pull request #7166 from tomoaki0705:brushUpFp16
2016-08-25 11:49:23 +00:00
Tomoaki Teshima
c5d7791b67
brush up fp16 implementation
...
* DRY
* switch to Cv32suf and remove fp32Int32
* add Cv16suf
2016-08-25 05:31:25 +09:00
Vadim Pisarevsky
b03e3abd62
Merge pull request #7088 from wiryls:FileStorageJSON
2016-08-24 16:49:06 +00:00
MYLS
47f2e618ee
Add two tests.
...
- one test for type_id;
- another for comments in JSON;
2016-08-24 17:01:57 +08:00
Matthew Self
0882936707
Fix buffer release issue
...
CvVideoWriter_AVFoundation_Mac had a serious buffer release bug.
Also made writeFrame() block until isReadyForMoreMediaData rather than
return an error.
2016-08-23 12:38:14 -07:00
Matthew Self
a92da54e79
Add support for CAP_PROP_MODE
...
Support setting CAP_PROP_MODE to capture grayscale or YUV frames much
faster from CV_CAP_AVFOUNDATION_MAC.
2016-08-23 12:38:10 -07:00
Suleyman TURKMEN
fcc28fecb6
Make Up
2016-08-23 22:17:30 +03:00
Valeriy Van
574f319c74
Fixes spelling in comment
2016-08-23 22:04:41 +03:00
yoffy
767780a4b2
add VideoCapture / VideoWriter AVFoundation implementation for Mac
2016-08-23 10:51:58 -07:00
Alexander Alekhin
b3b434e221
Merge pull request #7141 from lupustr3:pvlasov/instrumentation_extension
2016-08-23 16:48:25 +00:00
mpkh
01d2e7af71
fix building on FreeBSD
...
resolve undeclared identifier close error
2016-08-22 17:17:06 +04:00
Vadim Pisarevsky
5ee2051863
Merge pull request #7142 from alalek:fix_hls_test_check
2016-08-22 12:26:54 +00:00
Vadim Pisarevsky
5903c7257e
Merge pull request #7122 from haikusw:UIImageAlphaToMatFix
2016-08-20 10:38:35 +00:00
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
2016-08-19 18:10:03 +03:00
Alexander Alekhin
86a515fdae
imgproc: fix accuracy check for HLS cvtColor
2016-08-19 17:32:17 +03:00
Alexander Alekhin
bf4c5bef7f
Merge pull request #7135 from lupustr3:pvlasov/icv_restrictions_remove
2016-08-19 13:23:47 +00:00
Pavel Vlasov
680ca88ce0
Outdated ICV restrictions were removed;
2016-08-19 15:08:39 +03:00
Vadim Pisarevsky
0f716cdf33
Merge pull request #7108 from K-Shinotsuka:issue16
2016-08-19 08:10:51 +00:00
Alexander Alekhin
93e5947f55
Merge pull request #7101 from lupustr3:pvlasov/instrumentation
2016-08-18 14:56:41 +00:00
Alexander Alekhin
fd1da009a8
Merge pull request #7129 from paroj:mousecallback-dry-code
2016-08-18 14:12:46 +00:00
Vadim Pisarevsky
d22c6855c3
Merge pull request #6855 from yigitsoy:patch-1
2016-08-18 13:19:00 +00:00
Vadim Pisarevsky
ea1f885be1
Merge pull request #7055 from gylns:master
2016-08-18 13:17:18 +00:00
Vadim Pisarevsky
66e94467dc
Merge pull request #7087 from terfendail/master
...
Fix for incorrect calcOpticalFlowPyrLK result evaluation with ARM NEON
2016-08-18 17:12:38 +04:00
sourin
ce818dc01f
respective changes added
2016-08-18 17:24:43 +05:30
Alexander Alekhin
46bd49ef8a
Merge pull request #7126 from paroj:buttonlayout
2016-08-18 10:36:47 +00:00
Alexandr Kondratev
46bfdbaf82
highgui: window_QT mousecallback code refactored using DRY
2016-08-18 11:54:33 +02:00
Alexander Alekhin
241df6c6a8
Merge pull request #6972 from vicproon:fix_6836_other_places
2016-08-18 09:33:07 +00:00
Alexander Alekhin
5d7ee48031
Merge pull request #7085 from sovrasov:hal_doc_fix
2016-08-17 15:15:08 +00:00
Alexander Alekhin
185fe7aa1b
Merge pull request #7094 from terfendail:MSER_fix
2016-08-17 15:14:34 +00:00
Pavel Vlasov
a462d76a95
Implementations instrumentation framework for OpenCV performance system;
2016-08-17 16:26:03 +03:00
Pavel Rojtberg
e4cf3297c7
highgui: allow specifying that a button should create a new buttonbar
2016-08-17 14:34:33 +02:00
Alexander Alekhin
89833fa073
Merge pull request #7095 from PkLab:fix_rho&phi_doc
2016-08-17 10:46:30 +00:00
Morrison
ca318e7099
handle images with alpha better
...
UIImages with alpha were ending up with garbage pixels in background (random memory values). Need to initialize matrix pixels before drawing UIImage with alpha on it.
Note: didn’t fix Grayscale image with alpha stripping alpha in UIImage -> Mat conversion.
2016-08-16 15:10:48 -07:00
Alexander Alekhin
45a21555c7
Merge pull request #7117 from patsp:fix_tiff_imdecode_remove_temporary_file
2016-08-16 15:40:50 +00:00
Maksim Shabunin
d1d8c7d8a6
Merge pull request #7056 from ludv1x:python-extra-bindings
2016-08-16 13:00:31 +00:00
PkLab.net
4b099e8ade
Fix rho,phi exchange and amend linearPolar & logPolar docs with details and pics.
2016-08-16 12:49:33 +02:00
Vitaliy Lyudvichenko
ab8de8f506
Adding of user-defined type conversions for python bindings inside module directories
...
Adding of destructor and placement new constructors for classes wrapped with CV_EXPORTS_W_SIMPLE macro
2016-08-16 13:10:17 +03:00
Maksim Shabunin
48aa1234d9
Merge pull request #7082 from souch55:Fixmerge
2016-08-16 09:30:39 +00:00
Patrick Spettel
84e1712659
Fix temporary file removal in imdecode for tiff
...
The TiffDecoder keeps an open file handle.
As a consequence the file cannot be removed
before the TiffDecoder closes the file.
2016-08-16 10:56:00 +02:00
Alexander Alekhin
e884bbabcb
Merge pull request #7110 from tomoaki0705:featureUniversalIntrinsicAccumulate
2016-08-15 14:54:10 +00:00
Vitaly Tuzov
62c1a5a152
Replaced quiet return from MSER:detectRegion function with exeption throwing to notify user in case small image is processed
2016-08-15 14:16:13 +03:00
k-shinotsuka
3faaabd6f4
improve YCrCb2RGB_i<uchar>()
2016-08-15 19:20:04 +09:00
Maksim Shabunin
cd943cc60d
Merge pull request #7106 from lupustr3:pvlasov/ipp_hal_fix
2016-08-15 10:08:44 +00:00
Maksim Shabunin
031076ab93
Merge pull request #7077 from LaurentBerger:I7063
2016-08-15 09:08:44 +00:00
Maksim Shabunin
b9ea59df35
Merge pull request #6995 from PkLab:i6746_naming_videoio_enums
2016-08-15 09:01:24 +00:00
Tomoaki Teshima
4f7679cf51
use universal intrinsic in accumulate series
...
* accumulate, accumulateSquare, accumulateProduct and accumulateWeighted
2016-08-15 13:00:39 +09:00
will hunt
ac2d79fd67
MSER: all test passed.
...
1. if a component's variation is a global minimum than it should be a local minimum
2. for the small image with invert and blur, the MSERs number should be 20
2016-08-15 09:25:45 +08:00
Pavel Vlasov
3860b8db02
IPP was enabled in mathfuncs_core;
...
Exp and Log IPP implementations are changed to hal interface;
2016-08-12 18:16:04 +03:00
k-shinotsuka
020b47c41a
improve RGB2Gray<ushort>()
2016-08-12 23:12:51 +09:00
Ilya Lavrenov
1b3f634843
fixed compilation warning
2016-08-12 14:23:15 +03:00
Alexander Alekhin
1fb1088b7d
Merge pull request #7102 from lupustr3:pvlasov/ipp_switch_fix
2016-08-12 10:39:44 +00:00
Vitaly Tuzov
9db93d773d
Fix for MSER::detectRegions crash on images with either dimension less than 3
2016-08-12 10:31:13 +03:00
Vitaly Tuzov
d8dc6caf09
Fix for incorrect calcOpticalFlowPyrLK result evaluation with ARM NEON
2016-08-12 10:14:54 +03:00
Pavel Vlasov
8bcec7d77f
IPP enabling fix and typo fix;
2016-08-12 10:11:47 +03:00
PkLab.net
3ea02018b5
Naming some enumerations in videoio
2016-08-11 20:27:42 +02:00
Alexander Alekhin
74e997f15b
Merge pull request #7062 from kurenai:return_if_camera_disconnected
2016-08-11 14:07:42 +00:00
Maksim Shabunin
cf30c582c6
Merge pull request #7057 from K-Shinotsuka:issue13
2016-08-11 11:46:33 +00:00
Vladislav Sovrasov
13d2154f9a
Fix HAL documentation
2016-08-11 14:41:49 +03:00
Maksim Shabunin
07cffc9df2
Merge pull request #7090 from daB0bby:patch-1
2016-08-11 10:57:33 +00:00
Alexander Alekhin
c2394339a8
Merge pull request #7075 from alalek:ocl_fix_canny_perf_test
2016-08-11 09:19:44 +00:00
Maksim Shabunin
de0909e03c
Merge pull request #7083 from tomoaki0705:fixAccumulateShortFloat
2016-08-11 09:00:38 +00:00
LaurentBerger
b75bac7975
Solve Issue 7063
...
consequences of changes
accuracy test
Solve issue 7063
2016-08-11 10:56:50 +02:00
daB0bby
5cc1ef9022
fix code-style consistency
2016-08-11 10:15:48 +02:00
MYLS
d99832163a
solve warnings and do some cleaning.
2016-08-11 03:31:35 +08:00
MYLS
8596e82d98
Add JSON support.
...
a JSON emitter, a parser, tests and some basic doc.
2016-08-11 00:53:15 +08:00
Vadim Pisarevsky
f210602d1e
Merge pull request #7071 from K-Shinotsuka:issue14
2016-08-10 10:49:05 +00:00
Alexander Alekhin
f8b185b55f
Merge pull request #7070 from paroj:noculegacy
2016-08-10 10:48:31 +00:00
Alexander Alekhin
0dd00321e0
Merge pull request #7072 from alalek:ocl_fix_canny
2016-08-10 13:44:52 +03:00
Vadim Pisarevsky
df665e2386
Merge pull request #6983 from K-Shinotsuka:issue8
2016-08-10 10:31:12 +00:00
Vadim Pisarevsky
96d48331da
Merge pull request #7076 from sovrasov:mkl_lapack
2016-08-10 10:25:17 +00:00
Marek Smigielski
1aa14e4929
fix tab for gen_java.py
2016-08-10 12:03:28 +02:00
Tomoaki Teshima
ba73249dc0
let the test of AccSqr_SIMD<ushort, float> pass
...
* The difference becomes too large when multiply is done in int16
* To reproduce the test failure, IPP has to be switched off
2016-08-10 18:36:00 +09:00
Vadim Pisarevsky
8b155b1c6d
Merge pull request #6955 from snosov1:fix-6836
2016-08-10 09:26:51 +00:00
Vadim Pisarevsky
5eee757658
Merge pull request #6949 from wiryls:FileStorageBase64DocsTests
2016-08-10 09:26:13 +00:00
sourin
99374598b3
Fix modified
2016-08-10 14:38:32 +05:30