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
e16227b53c
cmake: support multiple CPU targets
2017-02-13 19:52:59 +03: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
Alexander Alekhin
9ac9e9e29a
core: fix String::end() implementation
2017-02-09 16:36:22 +03:00
Vitaly Tuzov
4950f542d1
Fix for SGBM compute() buffer allocation failure on big images
2017-02-08 12:49:21 +03: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
48f7cbec75
Merge pull request #8107 from reunanen:fix8093
2017-02-06 10:31:34 +00:00
LaurentBerger
488eb11ba8
Add a link to MatExpr in Detailed Description of Mat
2017-02-04 11:10:50 +01: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
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
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
Tomoaki Teshima
d0bdf99501
check correct flag
2017-01-27 18:42:58 +09: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
mshabunin
c6c519166e
Added CV_DEPRECATED macro
2017-01-24 15:57:06 +03: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
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
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
Vadim Pisarevsky
ec5038f2a7
Merge pull request #7947 from utibenkei:tracking-module-java
2017-01-11 11:41:19 +00:00
atinfinity
b3c77e664d
added to check the support of AVX2
2017-01-09 19:51:33 +09: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
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
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
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
a4db9833f7
Merge pull request #7885 from alalek:release-3.2.0-rc
2016-12-19 17:59:14 +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
Alexander Alekhin
05d187ec90
ocl: move deprecated code from ocl.cpp
2016-12-19 00:34:50 +03:00
Rostislav Vasilikhin
fcdbe16252
openvx_cvt disabled for Khronos, fixed sstep and dstep usage
2016-12-16 23:00:55 +03:00
Alexander Alekhin
862c3aa6e1
Merge pull request #7873 from addisonElliott:Mat_Range_InitializerList
2016-12-16 16:45:17 +00:00
Alexander Alekhin
0e4dde1781
Merge pull request #7872 from alalek:merge-2.4
2016-12-16 16:03:14 +02:00
Rostislav Vasilikhin
cf5e976fad
OpenVX convert enabled
2016-12-16 15:57:21 +03:00
Alexander Alekhin
c038d1be60
Merge pull request #7858 from addisonElliott:master
2016-12-16 10:57:27 +00: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
Alexander Alekhin
dbbbad40fb
build: eliminate ICC warnings
2016-12-15 15:57:40 +03: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
Rostislav Vasilikhin
8b9422a052
OpenVX wrappers rewritten with CV_OVX_RUN, VX_DbgThrow
2016-12-14 17:49:41 +03:00
mshabunin
965deaba8d
Documentation fixes for latest doxygen
2016-12-14 14:14:13 +03:00
Alexander Alekhin
a24ebc9952
Merge pull request #7840 from alalek:fix_test_rng
2016-12-13 11:29:53 +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
34c07f6aaf
Merge pull request #7729 from apavlenko:vx-canny
2016-12-12 19:14:39 +00:00
Alexander Alekhin
fb223784a6
test: fix Core_HAL.mat_decomp test implementation
2016-12-12 14:47:38 +03:00
Alexander Alekhin
2fded5d8fb
Merge pull request #7822 from alalek:fix_arithmmask_test
2016-12-09 19:02:30 +00: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
1e2ddc30b1
Canny via OpenVX, Node wrapper extended (query/set attribute), some naming fixes
2016-12-09 14:53:06 +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
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
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
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
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
Vitaly Tuzov
ced81f72bc
Added OpenVX based processing to LUT
2016-12-02 14:36:47 +03: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
ddc5155a85
Merge pull request #7677 from terfendail:ovx_minmaxloc
2016-12-01 17:42:18 +00:00
mshabunin
695c518384
Updated TBB search script and code checks
2016-12-01 16:58:38 +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
e9cc0f6a4c
Added OpenVX based processing to minMaxLoc
2016-11-29 15:33:48 +03:00
LaurentBerger
c56c0e140b
Solve exception for 3D Mat
2016-11-29 12:10:33 +01:00
Vadim Pisarevsky
be0865406f
Merge pull request #7548 from tomoaki0705:fixRngAvoidFmadd
2016-11-28 21:04:03 +00:00
Vadim Pisarevsky
a53f93ff8d
Merge pull request #7710 from alalek:debug_check_matrelease
2016-11-25 14:24:23 +00: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
d65df72754
java: fix testIsSubmatrix test
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
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
Alexander Alekhin
30cdcfa554
warnings
2016-11-18 14:08:53 +03:00
Vladislav Sovrasov
7c266ffffe
Add support of vector of vectors serialization to FileStorage
2016-11-16 13:37:30 +03: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
Vadim Pisarevsky
6b7d570c34
Merge pull request #7539 from Tetragramm:90DegreeRotations
2016-11-11 20:30:25 +00:00
Tetragramm
24379fcb5f
Use transpose() as suggested, because it works on pre-existing destination Mats.
2016-11-10 21:35:00 -06:00
Vadim Pisarevsky
a2d6d96ef1
Merge pull request #7161 from terfendail:shortline_fix
2016-11-10 16:02:20 +00: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
Tomoaki Teshima
676736bdb2
avoid using fmadd in RNG
2016-11-03 23:11:52 +09: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
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
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
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
7dd99258c7
Merge pull request #7584 from tomoaki0705:fixFp16BuildOldCompiler
2016-11-02 10:43:34 +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
Sean Li
6f3483ade3
Correct the comment of Mat::diag(const Mat& d).
2016-10-29 16:01:23 +08: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
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
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
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
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
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
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
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
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
Vincent Rabaud
a89aa8c90a
Fix imageSize overflow in IplImage
2016-10-20 11:23:45 +02:00
Vitaly Tuzov
26c9889c6b
Fix for incorrect line drawing beyond 32768 row or column
2016-10-14 18:37:59 +03: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
994c682b77
Merge pull request #7455 from tomoaki0705:featureUniversalLkPyramid
2016-10-12 09:57:53 +00:00
Tomoaki Teshima
1ef740fa2c
use universal intrinsic implementation for calcSharrDeriv
2016-10-11 20:32:33 +09:00
Alexander Alekhin
fe8501c931
ocl: fix SVM code
2016-10-10 20:52:30 +03:00
Alexander Alekhin
5da8d65371
eliminate compiler warnings
2016-10-08 02:19:43 +03: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
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
Vadim Pisarevsky
706862d5ba
Merge pull request #7382 from alalek:ocl_build_fix_warnings
2016-10-04 12:08:22 +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
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
Alexander Alekhin
1c18b1d245
Merge pull request #7370 from souch55:Fixxn
2016-10-01 10:44:56 +00:00
Alexander Alekhin
12e00827be
cuda: fix fp16 compilation
2016-09-30 23:55:39 +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
Alexander Alekhin
d34f2cfefe
Merge pull request #7317 from tomoaki0705:fixIfdefFp16
2016-09-26 10:59:32 +00: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
f50f34016e
test: fix test crash (exception in destructor)
2016-09-22 15:18:32 +03:00
Alexander Alekhin
d5c202e46b
Merge pull request #7294 from tomoaki0705:fixBuildCudaAarch64
2016-09-16 14:27:18 +00:00
Pavel Vlasov
0a9470bf09
Compatibility fix for Visual Studio 2012;
2016-09-16 10:03:42 +03: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
Sean McBride
5357e28a2f
Removed some extra semi-colons
...
Fixes clang -Wextra-semi warnings.
2016-09-14 16:22:35 -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
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
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
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
Vladislav Sovrasov
dfe4519c07
Add QR decomposition to HAL
2016-09-05 18:20:04 +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
Alexander Alekhin
d102ea96c0
Merge pull request #7210 from mshabunin:fix-warnings
2016-09-02 12:50:45 +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
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
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
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
Vadim Pisarevsky
4f0f5a24ef
Merge pull request #7158 from sturkmen72:documentation_fix
2016-08-26 11:40:19 +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
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
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
Suleyman TURKMEN
fcc28fecb6
Make Up
2016-08-23 22:17:30 +03: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
Pavel Vlasov
30a6cee2fe
Instrumentation for OpenCV API regions and IPP functions;
2016-08-19 18:10:03 +03:00
Pavel Vlasov
680ca88ce0
Outdated ICV restrictions were removed;
2016-08-19 15:08:39 +03:00
Alexander Alekhin
93e5947f55
Merge pull request #7101 from lupustr3:pvlasov/instrumentation
2016-08-18 14:56:41 +00:00
Alexander Alekhin
5d7ee48031
Merge pull request #7085 from sovrasov:hal_doc_fix
2016-08-17 15:15:08 +00:00
Pavel Vlasov
a462d76a95
Implementations instrumentation framework for OpenCV performance system;
2016-08-17 16:26:03 +03: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
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
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
Pavel Vlasov
8bcec7d77f
IPP enabling fix and typo fix;
2016-08-12 10:11:47 +03:00
Vladislav Sovrasov
13d2154f9a
Fix HAL documentation
2016-08-11 14:41:49 +03: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
96d48331da
Merge pull request #7076 from sovrasov:mkl_lapack
2016-08-10 10:25:17 +00:00
Vadim Pisarevsky
5eee757658
Merge pull request #6949 from wiryls:FileStorageBase64DocsTests
2016-08-10 09:26:13 +00:00
Vladislav Sovrasov
a113d9bcc1
Add MKL support
2016-08-10 11:20:23 +03:00
Alexander Alekhin
32c239085d
Merge pull request #7067 from tomoaki0705:fixBuildErrorJetsonK1
2016-08-09 10:39:56 +00:00
Tomoaki Teshima
3debc78a5f
fix build error on JetsonTK1
...
* avoid using vld1_f16 and vst1_f16 on gcc 4 series (Ubuntu 14.04)
* guard correctly with #if
* use static inline
2016-08-09 17:12:22 +09:00
Vadim Pisarevsky
28d28a2607
Merge pull request #7024 from paroj:semanticidx
2016-08-08 15:19:36 +00:00
Vadim Pisarevsky
b316aa3710
Merge pull request #7043 from alalek:add_nonfree_flag
2016-08-08 15:18:49 +00:00
Tomoaki Teshima
2db2d137ce
follow the naming rule as other API
...
* stop using 'CUDA' prefix
* add explanation
2016-08-05 22:14:55 +09:00
MYLS
1da8a19af3
fixed two bugs that I caused.
2016-08-05 16:15:03 +08:00
MYLS
86238d2748
make some changes according to the code review.
...
- use `std::string` instead of `new char`;
- reserve 1 MB for buffer;
2016-08-05 15:17:21 +08:00
Alexander Alekhin
18e7afdfd9
cmake: add OPENCV_ENABLE_NONFREE option and macro
2016-08-04 19:23:49 +03:00
Alexander Alekhin
b2698f24b0
Merge pull request #7033 from tomoaki0705:brushUpFp16
2016-08-04 09:31:52 +00:00
Vadim Pisarevsky
0a7e53da0a
Merge pull request #7010 from K-Shinotsuka:issue10
2016-08-03 18:44:02 +00:00
Vadim Pisarevsky
03d6c5e473
Merge pull request #7011 from K-Shinotsuka:issue11
2016-08-03 18:34:08 +00:00
k-shinotsuka
1a18a33688
improve SumSqr_SIMD<schar, int, int>()
2016-08-03 19:17:51 +09:00
Tomoaki Teshima
87ca607fd4
brush up convertFp16
...
* raise an error when wrong bit depth passed
* raise an build error when wrong depth is specified for cvtScaleHalf_
* remove unnecessary safe check in cvtScaleHalf_
* use intrinsic instead of direct pointer access
* update the explanation
2016-08-03 17:27:45 +09:00
k-shinotsuka
0b4e06ad3c
improve SumSqr_SIMD<uchar, int, int>()
2016-08-02 23:46:03 +09:00
Pavel Rojtberg
15dabc11b5
Mat: use row/ col instead of i0/ i1 for parameter names in 2D case
...
this improves documentation when using an IDE and reflects that Mats are
row major.
2016-08-02 13:57:51 +02:00
Tomoaki Teshima
2974b049e7
cudev: add feature to convert FP32(float) from/to FP16(half) on GPU
...
* add feature of Fp16 on GPU (cudev)
* add test
* leave template function as unimplemented to raise error
2016-08-01 00:55:16 +09:00
MYLS
3935855365
Merge remote-tracking branch 'refs/remotes/opencv/master' into FileStorageBase64DocsTests
...
# Conflicts:
# modules/core/test/test_io.cpp
2016-07-30 01:08:27 +08:00
MYLS
08911cbfae
change code
to snippet
and do some cleaning.
...
- use `@snippet` instead of `@code` in docs.
- remove some functions that were not used.
2016-07-30 00:35:41 +08:00
Tomoaki Teshima
c57f8780e9
show CPU feature correctly when FP16 is available
...
* make sure that CV_FP16 has the correct meaning
* check FP16 feature correctly
2016-07-29 14:10:33 +09:00
Tomoaki Teshima
891c83ff35
fix build error
...
* NAN is not defined on some platform
* follow the comment on PR
2016-07-25 15:42:09 +09:00
Tomoaki Teshima
70dcd107d0
follow the comment
...
* test build on VS2012
2016-07-24 23:34:12 +09:00
Tomoaki Teshima
4423a5edad
fix build error
...
* NAN is not defined on some platform
2016-07-23 23:11:57 +09:00
Vadim Pisarevsky
134154ec6d
Merge pull request #6963 from ilya-lavrenov:vec2i_fs
2016-07-21 20:55:05 +00:00
Ilya Lavrenov
313f54bc39
read/write vec2i from/to filestorage
2016-07-21 10:58:49 +03:00
Vadim Pisarevsky
167a4e6592
Merge pull request #6942 from alalek:fix_android_pack
2016-07-21 07:30:15 +00:00
Alexander Alekhin
2acfb263bb
Merge pull request #6910 from ilya-lavrenov:clone
2016-07-20 15:32:22 +00:00
Alexander Alekhin
2ec63e4dd1
fix android pack build
2016-07-20 16:49:57 +03:00
Vadim Pisarevsky
c4cc54e5da
Merge pull request #6953 from ilya-lavrenov:arithm
2016-07-20 13:42:30 +00:00
Vadim Pisarevsky
848c66babd
Merge pull request #6879 from savuor:fix/RNG_corrupts_stack
2016-07-20 13:13:40 +00:00
MYLS
8a65e73bfd
add SANITY_CHECK_NOTHING() to perf_test
2016-07-20 20:18:16 +08:00
Ilya Lavrenov
71cbd6f02e
fixed bug #5775
2016-07-20 11:38:15 +03:00
Rostislav Vasilikhin
96edb270a6
fixed memory corruption when normal dist. params have less channels than target matrix; test added
2016-07-19 17:26:39 +03:00
MYLS
27b924e99e
remove CHECK from performance test
2016-07-19 22:06:21 +08:00
Ilya Lavrenov
6c42ad5b90
fixed typo
2016-07-19 16:18:48 +03:00
MYLS
cf2d6f6721
solve errors and warnings
...
Modified performance test and solve a problem caused by an enum type.
2016-07-19 21:18:41 +08:00
MYLS
78ca5ddd45
solve errors and warnings
2016-07-19 19:56:57 +08:00
Ilya Lavrenov
87ae4e0564
fixed clone of empty matrix
2016-07-19 11:31:53 +03:00
MYLS
0823ec0ef0
modified performance test
...
For faster test
2016-07-19 16:11:20 +08:00
MYLS
617df09143
Modify Base64 functions and add test and documentation
...
Major changes:
- modify the Base64 functions to compatible with `cvWriteRawData` and so
on.
- add a Base64 flag for FileStorage and outputs raw data in Base64
automatically.
- complete all testing and documentation.
2016-07-19 15:54:38 +08:00
Vadim Pisarevsky
48b747903b
Merge pull request #6830 from tomoaki0705:featureSupportFp16
2016-07-18 15:56:00 +00:00
Vadim Pisarevsky
d62b0bd363
Merge pull request #6849 from alcinos:optflow_interface
2016-07-18 15:05:13 +00:00
Alexander Alekhin
55d0945149
Merge pull request #6932 from philippefoubert:bugfix_issue_6931
2016-07-18 13:23:56 +00:00
Maksim Shabunin
070f0f8445
Merge pull request #6936 from catree:fix_NAryMatIterator_code_example
2016-07-18 08:38:49 +00:00
Maksim Shabunin
474868a892
Merge pull request #6884 from alalek:migration
2016-07-18 07:49:38 +00:00
catree
7f64f31f66
Fix NAryMatIterator code example.
2016-07-17 23:21:15 +02:00
Philippe FOUBERT
d9a56f6590
Resolves issue #6931
2016-07-17 12:22:37 +02:00
Ilya Lavrenov
957bf1452c
added some tests for push_back
2016-07-15 14:48:22 +03:00
Maksim Shabunin
b0fa477614
Merge pull request #6908 from ilya-lavrenov:reduce
2016-07-15 09:07:56 +00:00
Maksim Shabunin
154d61edf9
Merge pull request #6907 from ilya-lavrenov:typo
2016-07-15 09:07:19 +00:00
Maksim Shabunin
b542914057
Merge pull request #6904 from ilya-lavrenov:minmaxloc
2016-07-15 09:06:15 +00:00
Maksim Shabunin
f695d4f04b
Merge pull request #6903 from jet47:cuda-stream-thread-safety-notes
2016-07-14 14:29:08 +00:00
Ilya Lavrenov
0af3947468
added note about cv::reduce output type for MIN/MAX
2016-07-14 17:22:08 +03:00
Ilya Lavrenov
c634e39299
removed extra semicolon
2016-07-14 15:50:35 +03:00
Ilya Lavrenov
c4b57d0ded
disable ippiMinMaxIndx_32f_C1R usage since it crashes on Nans
2016-07-14 14:52:58 +03:00
Maksim Shabunin
a00f0c44ae
Merge pull request #6821 from sturkmen72:TickMeter_class_addition
2016-07-14 11:40:46 +00:00
Vladislav Vinogradov
bfd6ae77f5
Add note that cv::cuda::Stream class is not thread safe
2016-07-14 14:20:37 +03:00
Alexander Alekhin
e871045b46
Merge pull request #6896 from jet47:cuda-arch-update
2016-07-13 12:26:52 +00:00
Alexander Alekhin
53f4eaa7a7
Merge pull request #6892 from ioxp:fsSpace
2016-07-13 11:46:50 +00:00
Vladislav Vinogradov
112903c2bd
increase minimal supported CUDA toolkit to 6.5
2016-07-13 13:02:13 +03:00
Alexander Alekhin
ddc0b42bc3
migration: github.com/opencv/opencv
2016-07-12 12:51:12 +03:00
Alexander Alekhin
a6b33c3590
Merge pull request #6846 from mbarnach:6086-cuda-initialization
2016-07-11 14:01:51 +00:00
Alexander Alekhin
7176c1327e
Merge pull request #6850 from alalek:bigdata_test
2016-07-11 14:01:06 +00:00
Alexander Alekhin
9b3d65c5e4
Merge pull request #6867 from alalek:fix_lapack
2016-07-11 14:00:22 +00:00
Alexander Alekhin
c8693f01a3
Merge pull request #6792 from paroj:jaccard_distance
2016-07-11 09:57:20 +00:00
Alexander Alekhin
5f269d08b4
bigdata: add test, resolve split/merge issue
2016-07-08 18:05:53 +03:00
Philipp Hasper
00112bbe10
persistence: fixing crash with space-only values
2016-07-08 12:41:05 +02:00
Vladislav Sovrasov
a2ec23c112
Update cv::log documentation
2016-07-05 17:28:53 +03:00
Alexander Alekhin
96919156e7
Merge pull request #6761 from alalek:fix_warnings
2016-07-04 09:52:03 +00:00
Alexander Alekhin
3844ee780c
build: fix compiler warnings (GCC 5.3.1)
2016-07-01 20:17:16 +03:00
Alexander Alekhin
7dc5332a92
Merge pull request #6745 from alalek:viz_samples
2016-07-01 15:27:01 +00:00
Alexander Alekhin
b23527bf02
core: fix arguments types for cblas calls
2016-06-30 20:25:08 +03:00
Vadim Pisarevsky
7fea7e0629
Merge pull request #6697 from wiryls:FileStorageBase64
2016-06-30 17:17:03 +00:00
Alexander Alekhin
8184535de1
samples: repair viz tutorial
2016-06-30 17:21:31 +03:00
Vitaliy Lyudvichenko
930d96f684
Fixing of AutoBuffer::allocate(nsz) method
...
AutoBuffer::allocate(nsz) didn't work properly when
(sz < nsz < fixed_size). In this case sz remained unchanged.
2016-06-29 19:50:51 +03:00
MYLS
df5a7c8ee9
build again for OpenCL.
...
I could not find the cause of the error:
```
C:\builds_ocv\precommit_opencl\opencv\modules\ts\src\ts_perf.cpp(361):
error: The difference between expect_max and actual_max is
8445966.0000002384, which exceeds eps, where
expect_max evaluates to 0.9999997615814209,
actual_max evaluates to 8445967, and
eps evaluates to 1.0000000000000001e-005.
Argument "dst0" has unexpected maximal value
```
Hope this is a false alarm.
2016-06-25 02:24:33 +08:00
MYLS
677d4d20ce
fixed an error in the test...
2016-06-25 00:37:13 +08:00
MYLS
959002fb96
solve warnings and errors in test.
2016-06-24 23:41:40 +08:00
MYLS
7c92ee2e6e
Split cvWriteRawData_Base64
into three functions
...
The three new functions:
```cpp
void cvStartWriteRawData_Base64(::CvFileStorage * fs, const char* name,
int len, const char* dt);
void cvWriteRawData_Base64(::CvFileStorage *
fs, const void* _data, int len);
void
cvEndWriteRawData_Base64(::CvFileStorage * fs);
```
Test is also updated. (And it's remarkable that there is a bug in
`cvWriteReadData`.)
2016-06-24 22:27:42 +08:00
Suleyman TURKMEN
d2bad6febb
cv::TickMeter class addition
2016-06-23 19:06:57 +03:00
Alexander Alekhin
09c2a8b7ad
cmake: fix HAL dependencies for core module
...
Linker dependencies are transitive for non-private
2016-06-21 19:50:32 +03:00
MYLS
29921d055d
change the parameter to CvMat
and CvMatND
...
```cpp
cvWriteMat_Base64(::cv::FileStorage & fs, ::cv::String const & name,
::cv::Mat const & mat)
```
becomes:
```cpp
CV_EXPORTS void cvWriteMat_Base64(::CvFileStorage* fs, const char* name,
const ::CvMat* mat);
CV_EXPORTS void
cvWriteMatND_Base64(::CvFileStorage* fs, const char* name, const
::CvMatND* mat);
```
2016-06-20 16:59:58 +08:00
MYLS
9faa2a7fd0
solve warning for IOS
...
Two test are still needed:
1. Verify the Base64 data.
2. Read an old YML file for compatibility test.
2016-06-19 02:44:39 +08:00
MYLS
958263d245
Solve warnings, and adjusted the test case.
2016-06-19 02:00:32 +08:00
MYLS
882e4221e7
fix errors from test.
...
Two other test are still needed.
1. Verify the Base64 data.
2. Read an old YML file for compatibility test.
2016-06-19 00:45:51 +08:00
MYLS
d1b097f409
fix most coding style warnings and errors
2016-06-18 23:28:12 +08:00
MYLS
7b1f7c8d8e
Add Base64 support for FileStorage
...
1. Add Base64 support for reading and writing XML\YML file.
The two new functions for writing:
```cpp
void cvWriteRawData_Base64(cv::FileStorage & fs, const void* _data, int
len, const char* dt);
void cvWriteMat_Base64(cv::FileStorage & fs, cv::String const & name,
cv::Mat const & mat);
```
2. Change YML file header form `YAML:1.0` to `YAML 1.0`. (standard
format)
3. Add test for Base64 part.
2016-06-18 22:14:11 +08:00
MYLS
ecd827fc8e
Add Base64 support for FileStorage
...
[GSoC] FileStorage:
Add base64 support for reading and writting XML\YML file.
The two new functions:
```
void cvWriteRawData_Base64(cv::FileStorage & fs, const void* _data, int
len, const char* dt);
void cvWriteMat_Base64(cv::FileStorage & fs, cv::String const & name,
cv::Mat const & mat);
```
2016-06-18 21:40:29 +08:00
Alexander Alekhin
31952fbf1c
Merge pull request #6675 from pnordhus:matconstiterator_reference
2016-06-17 10:12:51 +00:00
Vadim Pisarevsky
547a2d29c3
Merge pull request #6535 from sovrasov:lapack-hal
2016-06-16 20:09:47 +00:00
Alexander Alekhin
f4ebc504d1
cmake: refactor HAL attaching process
2016-06-15 17:34:30 +03:00
Philipp Nordhus
4a529cd641
Return reference on iterator indirection/subscript
2016-06-11 15:17:52 +02:00
Tomoaki Teshima
87d0c91dcf
fix warning of build
2016-06-09 18:24:00 +09:00
Tomoaki Teshima
d0a8390963
fix run time error on Mac
...
* integrate HW version and SW version to same function
2016-06-09 08:41:37 +09:00
Alexander Alekhin
1b6e02793c
Merge pull request #6645 from tomoaki0705:fixTypoEigen
2016-06-07 13:51:30 +00:00
Tomoaki Teshima
fd76ed5c0f
fix to support wider compiler
...
* check compiler more strictly
* use gcc version of fp16 conversion if it's possible (gcc 4.7 and later)
* use current SW implementation in other cases
2016-06-07 18:32:47 +09:00
Tomoaki Teshima
6f6eebbcb9
fix warning
2016-06-07 18:31:18 +09:00
Vladislav Sovrasov
055f5c7395
Change names of some internal functions
2016-06-07 10:58:12 +03:00
Tomoaki Teshima
d1c1c01761
fix typo
2016-06-07 14:53:04 +09:00
Tomoaki Teshima
fbfd3158a7
fix corner case when number is small
2016-06-07 08:59:28 +09:00
Maksim Shabunin
532885c12b
Merge pull request #6607 from alalek:issue_6604
2016-06-06 09:20:58 +00:00
Tomoaki Teshima
4239bac4ed
fix warning of doc
...
* update the comment to real header
2016-06-06 18:06:23 +09:00
Tomoaki Teshima
eccf2fa4c3
follow other interface
...
* remove useHW option
* update test
2016-06-06 08:56:37 +09:00
Vladislav Sovrasov
a2d0cc878c
Implement internal HAL for GEMM and matrix decompositions
2016-06-03 10:38:30 +03:00
Alexander Alekhin
e1ba4399e8
Merge pull request #6611 from tomoaki0705:fixPerformanceSplitAarch64
2016-06-01 10:34:33 +00:00
Tomoaki Teshima
070e4d754e
let the performance test of split pass on 64bit ARM
...
* loosen the threshold only under aarch64
* fix #6610
2016-05-31 23:57:49 +09:00
Alexander Alekhin
d3930cdee1
Merge pull request #6482 from paroj:filestorage_py
2016-05-31 11:53:34 +00:00
Vadim Pisarevsky
40686415f9
Merge pull request #6593 from bramton:documentation-update
2016-05-31 10:32:18 +00:00
Alexander Alekhin
ff0601cda5
core: prevent changes in 'std' namespace
2016-05-31 13:02:15 +03:00
Alexander Alekhin
f6fa1cee2b
Merge pull request #6008 from amroamroamro:fix_sparse_snippet
2016-05-31 08:19:38 +00:00
Bram Ton
dfd5191e8b
Minor additions to the documentation.
2016-05-26 16:35:20 +02:00
Maksim Shabunin
cbf2b79e1f
Fixed documentation warnings produced by updated doxygen
2016-05-25 18:04:32 +03:00
Pavel Rojtberg
bf688da50b
FileStorage: add simplified API for bindings
...
at least it is possible to read/ write calibration files. Fixes #4282 .
Also add CPP method for writing comments.
2016-05-25 16:01:55 +02:00
Maksim Shabunin
64a5126ff8
Merge pull request #6018 from sturkmen72:patch-2
2016-05-23 11:57:26 +00:00
Maksim Shabunin
c393a7a98f
Merge pull request #6564 from jlguardi:ml_load_empty_ptr
2016-05-23 08:41:05 +00:00
Tomoaki Teshima
b2ad7cd9c0
add feature to convert FP32(float) to FP16(half)
...
* check compiler support
* check HW support before executing
* add test doing round trip conversion from / to FP32
* treat array correctly if size is not multiple of 4
* add declaration to prevent warning
* make it possible to enable fp16 on 32bit ARM
* let the conversion possible on non-supported HW, too.
* add test using both HW and SW implementation
2016-05-21 21:31:33 +09:00
Suleyman TURKMEN
c6e6d4c822
Update pca.cpp
2016-05-21 14:23:45 +03:00
Jose Luis Guardiola
a812989436
Fixed #6563 : Incorrect management for invalid files/filestorage/filenode in ml module
2016-05-20 13:18:02 +02:00
Tomoaki Teshima
bfcb40ad77
fix Core_MulSpectrum test on 64bit ARM + release mode
...
* fix issue #6536
* increase threshold in particular tests due to the difference of fmsub and fsub
2016-05-20 18:25:32 +09:00
Tomoaki Teshima
7077d1de63
fix hal_intrin test on 64bit ARM
...
* fix issue 6521
* use correct comparison
2016-05-12 18:30:09 +09:00
Julien Nabet
a29c814bd8
cppcheck: fix some reports
...
All of these: (performance) Prefer prefix ++/-- operators for non-primitive types.
[modules/calib3d/src/fundam.cpp:1049] -> [modules/calib3d/src/fundam.cpp:1049]: (style) Same expression on both sides of '&&'.
2016-04-29 15:41:39 +02:00
Vadim Pisarevsky
df6eb101e1
Merge pull request #6467 from ohnozzy:Doc-for-ocl-Kernel-Run
2016-04-25 13:07:34 +00:00
Vadim Pisarevsky
904381c602
Merge pull request #6020 from mshabunin:hal_dxt
2016-04-25 11:37:18 +00:00
ohnozzy
d66ed313cb
Add Comment
...
Add documentation for Kernel::run
2016-04-25 11:30:12 +08:00
Maksim Shabunin
ec63343f34
Merge pull request #6420 from ioxp:foreachDoc
2016-04-20 11:55:03 +00:00
Maksim Shabunin
5a938309c1
More compilation warnings fixed
2016-04-19 16:08:48 +03:00
Maksim Shabunin
11378fcb17
Fixed compiation problems
2016-04-19 14:50:07 +03:00
Maksim Shabunin
5e9192287d
Added HAL cvtColor interface
2016-04-18 16:34:25 +03:00
Alexander Alekhin
96937bac74
Merge pull request #6581 from mshabunin:hal_mag
2016-06-21 13:16:17 +00:00
Maksim Shabunin
1e667de1f3
HAL math interfaces: fastAtan2, magnitude, sqrt, invSqrt, log, exp
2016-05-31 11:54:52 +03:00
Philipp Hasper
c52759432d
Fixing doc for cv::Mat::forEach
...
image.forEachWithPosition does not exist
2016-04-18 13:51:07 +02:00
Dan
e9461d3feb
templated std::vector<T> constructor was being called instead of const std::vector<cv::cuda::GpuMat>.
2016-04-14 15:50:24 -04:00
Maksim Shabunin
fc9f7cc925
Merge pull request #6375 from ohnozzy:Bug-Fix-for-Issue-6288
2016-04-13 07:51:33 +00:00
ohnozzy
9dd962ca1a
Bug Fix for Issue 6288
...
Added 2 inline functions in persistence.hpp
So that the '>>' operator works correctly for std::Vector<KeyPoint> and
std::Vector<DMatch>
2016-04-12 21:40:50 +08:00
Maksim Shabunin
1307bb1d03
Merge pull request #6314 from mvukad:bugfix_dtreeswrite
2016-04-12 13:26:25 +00:00
Philipp Hasper
47c4ee974a
operator<< handles keys starting with underscore
2016-04-11 09:55:33 +02:00
Maksim Shabunin
233612efd7
Reworked HAL dft/dct interface, added replacement documentation
2016-04-08 16:03:51 +03:00
Maksim Shabunin
f40d701427
DFT: renamed HAL functions
2016-04-08 11:19:28 +03:00
Maksim Shabunin
008abd28fd
Extracted HAL interfaces for DFT/DCT, added new test
2016-04-08 11:19:28 +03:00
mvukad
695e33b25b
Fix missing format when writing Algorithm-based objects
...
Added a writeFormat() method to Algorithm which must be called by the
write() method of derived classes.
2016-04-07 13:49:42 -07:00
Maksim Shabunin
5877debb6f
HAL resize, warpAffine, warpPerspective interface
...
- added HAL documentation support
- added documentation to HAL replacement interface
- updated several HAL functions in imgproc module
2016-04-07 18:47:24 +03:00
Vladislav Sovrasov
72ed4173df
Change setRNGSeed implementaion
2016-03-29 10:54:42 +03:00
Vladislav Sovrasov
362d52a3cb
Fix doxygen warnings
2016-03-25 16:34:45 +03:00
Vladislav Sovrasov
a490b64e9b
Add function setRNGSeed and seed setup in python tests
2016-03-25 16:17:58 +03:00
Maksim Shabunin
83379695a0
HAL interface for morphology operations
2016-03-21 09:32:06 +03:00
Robbert Klarenbeek
dd510e1de9
Fix incompatibility with some C++11 implementations
2016-03-15 17:21:05 +01:00
Dan
42c36c0c80
Linux bug fix for ThrustAllocator.
2016-03-14 11:09:52 -04:00
Alexander Alekhin
7783206934
Merge pull request #6259 from polevoy-d-v:move_sematics_fix
2016-03-14 14:46:21 +00:00
Прун Виктор
a90a576d76
fixed incorrect behaviour of move semantics for cv::Ptr, cv::Mat, cv::UMat in case when rvalue-reference references to *this.
2016-03-14 16:10:23 +03:00
Suleyman TURKMEN
826b5a2ef1
Update lda.cpp
...
typo correction
2016-03-13 21:11:34 +02:00
Vadim Pisarevsky
c9db05de22
Merge pull request #6137 from dtmoodie:thrust_allocator
2016-03-12 17:07:03 +00:00
Piotr Semenov
108ddc199a
Fix that corrects the OpenCV's random access iterator distance: d(x,y) = -d(y,x)
2016-03-10 11:58:32 +03:00
aravind
dccbf50059
Fixed VS 2010 and option Za bug.
2016-03-03 18:01:05 +05:30
Maksim Shabunin
3cc234588a
Added build warnings in case of macro definition conflicts
2016-02-25 11:51:02 +03:00
Dan
95608b1b84
free -> deallocate
2016-02-18 15:05:13 -05:00
Dan
c0e34934c8
Merge branch 'thrust_allocator' of https://github.com/dtmoodie/opencv
2016-02-18 00:43:18 -05:00
Dan
da93a5527d
Thrust allocator for temporary storage used with thrust algorithms.
2016-02-18 00:23:20 -05:00
Alexander Alekhin
8c591ebd77
Merge pull request #6060 from alalek:fix_opencl_opengl_sharing_6052
2016-02-16 07:10:02 +00:00
Alexander Alekhin
f48cda2f95
test: initialize test data in test_umat.cpp (6102)
2016-02-12 13:15:15 +03:00
Alexander Alekhin
c7bdbef504
ocl: fix OpenGL sharing detection (6052)
...
Apple OpenCL framework hasn't OpenGL sharing extension
2016-02-11 12:46:22 +03:00
Alexander Alekhin
87bbaa2c27
ocl: OpenCL headers are located in "CL" subfolder (3rdparty/include)
2016-02-11 12:44:45 +03:00
Mathieu Barnachon
6a0d3b3e42
Called after setDevice.
...
Wrap in a cudaSafeCall.
2016-02-09 14:40:09 +01:00
Steven Puttemans
cd96df1407
Update mat.hpp
2016-02-08 13:26:06 +01:00
Mathieu Barnachon
b030ac0433
Ensure the Cuda context is initialized correctly as long as the setDevice is not called in a multi-thread environment.
2016-02-08 13:17:08 +01:00
Steven Puttemans
a70c54f2c5
Added suggestions from PR6068
...
As discussed here: https://github.com/Itseez/opencv/pull/6068#issuecomment-180797723
2016-02-08 10:20:08 +01:00
StevenPuttemans
873399705d
add clarification on the acces paramter of the at operator
2016-02-05 13:21:40 +01:00
Alexander Alekhin
b2d44663fd
Merge pull request #6058 from sturkmen72:documentation_fix_cv_repeate
2016-02-04 15:14:02 +00:00
Vadim Pisarevsky
56c89e0a98
Merge pull request #6014 from alalek:fix_5991
2016-02-04 09:54:27 +00:00
Suleyman TURKMEN
194b865daf
update documentation of cv::repeat
2016-02-03 23:36:30 +02:00
Alexander Alekhin
7e472fbf68
ocl: thread-safe OpenCL loading (6056)
2016-02-03 18:30:40 +03:00
alcinos
6e3b90de9b
Add static creator for TVL1 optical flow class
2016-01-28 20:03:28 +01:00
Alexander Alekhin
2978a16c85
core: preserve sizes values ( fixes #5991 )
...
_sizes can point to internal structure which is destroyed
by release() call
2016-01-26 14:11:53 +03:00
Alexander Alekhin
96f5a930f4
test: regression 5991
2016-01-26 14:11:53 +03:00
Amro
c35b00a97e
fix code snippet showing how to use SparseMat
...
generate indices within the size limit (modulo)
2016-01-23 17:28:49 +02:00
Alexander Alekhin
c35ddcba1a
cmake: refactor OpenCL detection, allow custom configurations
2016-01-15 13:05:16 +03:00
Alexander Alekhin
c7ccde69a8
fix TLS implementation ( closes #5967 )
2016-01-14 14:38:37 +03:00
takacsd
1e0928633d
Add missing implementation to one of the Mat_<_Tp> constructor. ( #5945 )
2016-01-11 16:11:50 +01:00
Alexander Alekhin
a8b27ae303
Merge pull request #5910 from rokm:cuda-warnings
2016-01-11 11:11:27 +00:00
Alexander Alekhin
76c9714516
Merge pull request #5883 from alalek:fix_5876
2016-01-04 05:28:41 +00:00
Rok Mandeljc
029dfbc89d
opencv_core: CUDA: check if __CUDA_ARCH__ is defined before comparing it
...
Changed statements of type "#if __CUDA_ARCH__ >= 200" to
"#if defined __CUDA_ARCH__ && __CUDA_ARCH__ >= 200" in order to
avoid warnings about __CUDA_ARCH__ being undefined.
2016-01-01 23:48:57 +01:00
Alexander Alekhin
17e4d33b0e
added regression test for #5876
2015-12-25 16:16:34 +03:00
Pavel Rojtberg
4db6d9986d
also port Rodrigues in Affine to Matx expressions
...
so results are numerically equivalent
2015-12-25 13:47:10 +01:00
Alexander Alekhin
6997d423c8
fix normalize in case of inplace operations
...
fixes #5876
2015-12-25 15:33:06 +03:00
Pavel Rojtberg
b3bbe7704d
add jaccardDistance measure for rectangle overlap
...
computes the complement of the Jaccard Index as described in
https://en.wikipedia.org/wiki/Jaccard_index . For rectangles this reduces
to computing the intersection over the union.
2015-12-23 13:12:45 +01:00
Alexander Alekhin
afdbd855ee
Merge pull request #5843 from jia-kai:disable-dlopen-opencl
2015-12-21 15:47:15 +00:00
Alexander Alekhin
4cfe2b4dea
Merge tag '3.1.0'
...
OpenCV 3.1.0
2015-12-21 14:24:46 +03:00
jiakai
22599a2812
define g_haveOpenCL only when HAVE_OPENCL is set
2015-12-21 16:42:38 +08:00
jiakai
387214a3c5
do not open libopencl by dlopen if HAVE_OPENCL is not set
2015-12-21 12:04:00 +08:00
Alexander Alekhin
94e4498cfd
Version for 3.1.0 release
2015-12-18 16:08:05 +03:00
Alexander Alekhin
323e24e3ef
change links from samples/python2 to samples/python
2015-12-18 11:00:30 +03:00
Vadim Pisarevsky
d02627ea89
Merge pull request #5825 from GregoryMorse:master
2015-12-18 07:17:29 +00:00
Gregory Morse
af5bec70cd
merge Win10/VS2015 changes
2015-12-17 21:15:59 +01:00
Vadim Pisarevsky
9aeb8c8d5a
Merge pull request #5810 from mshabunin:hal_interface
2015-12-17 16:48:02 +00:00
Maksim Shabunin
84f37d352f
HAL moved back to core
2015-12-17 12:33:23 +03:00
Alexander Alekhin
6f2632ca2e
ocl: fix buffer pool small allocations issue ( fixes #5815 )
2015-12-16 14:31:26 +03:00
Vadim Pisarevsky
b2bb7d075a
Merge pull request #5781 from jet47:fix-cuda-createContinuous
2015-12-16 10:37:56 +00:00
Maksim Shabunin
574280cd3a
Merge pull request #5784 from alalek:distrib_fix
2015-12-15 12:24:36 +00:00
Vadim Pisarevsky
34129d8e83
Merge pull request #5806 from IshankGulati:cv-merge-documentation
2015-12-15 10:16:21 +00:00
Ishank gulati
d1ac75cabd
corrected cv::merge documentation
2015-12-15 11:02:08 +05:30
Thomas Dunker
6882c10b45
Extension of the camera distortion model for tilted image sensors (Scheimpflug condition) including test
2015-12-14 15:20:34 +01:00
Alexander Alekhin
1836d41b5c
warning fix (MSVS2015)
2015-12-12 15:23:31 +03:00
Vadim Pisarevsky
d2e169929c
Merge pull request #5767 from dtmoodie:cpu_mat_memory_allocator
2015-12-10 14:32:04 +00:00
Vladislav Vinogradov
5576c0866a
fix #5780 : cv::cuda::createContinuous
effectively ignores its cols
argument
2015-12-10 14:20:28 +03:00
Alexander Alekhin
b26580cc7b
checkRange fixes
...
1) fix multichannel support
2) remove useless bad_value, read value from original Mat directly
3) add more tests
4) fix docs for cvCeil and checkRange
2015-12-09 18:31:27 +03:00
Gregory Morse
bcf78daed2
Update CMakeLists.txt
...
WinRT parallels library is causing conflicts in VC++ due to inconsistent usage with C++/CX which is now present in parallels.cpp. This support should be included in all projects with WinRT specific code except if doing special native C++ tasks.
2015-12-09 03:45:10 +01:00
Vadim Pisarevsky
d6f8a75e91
Merge pull request #5230 from PhilLab:patch-4
2015-12-08 18:46:34 +00:00
Dan
237f33d4f0
nullptr -> NULL
2015-12-08 12:19:15 -05:00
Vadim Pisarevsky
a15707bc57
Merge pull request #5765 from alalek:pthread_mutex_init
2015-12-08 16:49:41 +00:00
Dan
76760470f3
Cherry pick failed to grab interface changes.
2015-12-08 09:54:14 -05:00
Dan Moodie
4f373a4284
Clarified default allocator interface.
...
Conflicts:
modules/core/src/matrix.cpp
2015-12-08 09:45:13 -05:00
Vadim Pisarevsky
0de6165863
Merge pull request #5660 from jet47:cuda-wrap-stream-3.0
2015-12-08 12:28:57 +00:00
Alexander Alekhin
78376c0f63
pthreads: remove usage of non-POSIX PTHREAD_RECURSIVE_MUTEX_INITIALIZER* defines
...
related issues: #5423 #5476
2015-12-08 13:55:02 +03:00
Vadim Pisarevsky
7172c16435
Merge pull request #5717 from jet47:cuda-maxwell-fixes
2015-12-07 10:16:48 +00:00
Vadim Pisarevsky
d19897b734
Merge pull request #5651 from hoangviet1985:fix_solvePoly_3.0.0
2015-12-07 10:12:54 +00:00
Vadim Pisarevsky
d4245aa45c
Merge pull request #5704 from sturkmen72:patch-3
2015-12-07 10:09:57 +00:00
Suleyman TURKMEN
8418d564a8
Documentation patch for cv::mixChannels
2015-12-03 22:49:28 +02:00
Maksim Shabunin
0e5c710757
Fix documentation warning
2015-12-03 17:30:45 +03:00
Maksim Shabunin
5c5d0e6743
Fixed NEON compilation issue
2015-12-03 15:41:23 +03:00
Maksim Shabunin
b4bcdd10a1
HAL: improvements
...
- added new functions from core module: split, merge, add, sub, mul, div, ...
- added function replacement mechanism
- added example of HAL replacement library
2015-12-03 14:43:37 +03:00
Vladislav Vinogradov
2afb02fcb4
fix BORDER_WRAP processing on Maxwell generation
2015-11-27 16:45:26 +03:00
Vadim Pisarevsky
313dc32606
Merge pull request #5644 from hoangviet1985:splitError
2015-11-23 13:43:38 +00:00
hoangviet1985
e679d97100
remove redundant code
2015-11-22 14:32:18 -05:00
Maksim Shabunin
3ae21095df
Merge pull request #5448 from Milania1:doc_normalize
2015-11-22 18:07:13 +00:00
Maksim Shabunin
626ccfe410
Merge pull request #5525 from Milania1:doc_normTypes
2015-11-22 18:05:46 +00:00
Maksim Shabunin
ddf293a081
Merge pull request #5649 from hoangviet1985:solve_pow(x,3)=0_opencv300
2015-11-22 18:02:40 +00:00
hoangviet1985
3e96b724c2
squash
2015-11-20 15:03:32 -05:00
hoangviet1985
b96def885f
squash
2015-11-20 14:48:29 -05:00
Maksim Shabunin
3cb76d5c66
Merge pull request #5663 from bertmsk:patch-1
2015-11-20 15:28:26 +00:00
Maksim Shabunin
047bda32d8
Merge pull request #5665 from paroj:matx_norm
2015-11-20 15:26:39 +00:00
Maksim Shabunin
e8bf4417ef
New variant of iOS framework building, fixed some warnings for XCode 7.1.1 and cmake 3.3.2
2015-11-17 15:30:01 +03:00
Pavel Rojtberg
c209f795b5
support for NORM_L2SQR in norm(Matx<..>)
2015-11-13 14:29:56 +01:00
Bert
d3b0bda011
Update system.cpp
...
FreeBSD compilation fix
2015-11-13 11:03:34 +03:00
Vladislav Vinogradov
39854ceda4
cuda::StreamAccessor::wrapStream and cuda::EventAccessor::wrapEvent
...
to import existed CUDA stream or CUDA event to OpenCV
2015-11-12 13:38:29 +03:00
Vadim Pisarevsky
b4112a5878
Merge pull request #5480 from dtmoodie:vecgpumat
2015-11-10 17:02:21 +00:00
Vadim Pisarevsky
3942b1f362
Merge pull request #5340 from alalek:ocl_off
2015-11-10 16:53:36 +00:00
Vadim Pisarevsky
de49ed3c15
Merge pull request #5388 from alalek:disable_invalid_string_usage
2015-11-03 10:58:57 +00:00
Pavel Vlasov
4d7f9e06e8
Fix for copy with mask 32s and 8u;
2015-11-02 18:00:22 +03:00
Chris Kitching
0f8a266787
Make Mat assertion failures more helpful
...
Instead of chaining a bunch of sanity checks together with "&&", let's just have several asserts. That way, when an assert fails, you don't get a monsterous "<huge evil expression>
failed" error, but only the bit you care about, making your life rather a lot easier.
2015-11-01 01:02:15 +00:00
Alexander Alekhin
debe99f1a4
Merge pull request #5531 from mshabunin:fix-vs2015
2015-10-22 16:28:42 +00:00
Maksim Shabunin
4e7a14355d
Merge pull request #5499 from StevenPuttemans:fix_mask_notice_copyTo
2015-10-22 12:27:45 +00:00
Maksim Shabunin
31e0d90da6
Enable temp objects destruction test for VS versions less than 2015
2015-10-22 12:44:03 +03:00
Vadim Pisarevsky
66f2000548
Merge pull request #5532 from grundman:patch-2
2015-10-21 11:54:30 +00:00
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
2015-10-20 12:48:37 +03:00
Renato Florentino Garcia
f5b98bea41
Fix behavior of Matx 12 and 16 args constructors.
...
The 12 and 16 arguments Matx constructors differs from all others,
leaving values initialized and requiring the argument number to be equal
to the channels number.
2015-10-18 23:16:21 -02:00
grundman
f260b13a6f
Fix racy modification of ForThread::m_state during invocation of stop()
2015-10-16 11:19:27 -07:00
Jan S. (Milania1)
3e0b1f2845
Added example to the documentation for the NormTypes enum (L1, L2, INF)
2015-10-15 19:16:07 +02:00
StevenPuttemans
0a708e4070
adding extra explanation for mask parameter
2015-10-13 15:19:50 +02:00
Dan
1e1f20cfee
Improved consistency.
2015-10-12 09:21:53 -04:00
Pavel Vlasov
89eee6ca99
Fixes for IPP integration:
...
dotProd_16s - disabled for IPP 9.0.0;
filter2D - fixed kernel preparation;
morphology - conditions fix and disabled FilterMin and FilterMax for IPP 9.0.0;
GaussianBlur - disabled for CV_8UC1 due to buffer overflow;
integral - disabled for IPP 9.0.0;
IppAutoBuffer class was added;
2015-10-12 10:51:28 +03:00
Dan Moodie
3d1355efc1
Updated input / output array to support std::vector<cv::cuda::GpuMat>
...
Expanded support for std::vector<cv::cuda::GpuMat>.
Whitespace fix.
2015-10-09 15:12:57 -04:00
Jan S. (Milania1)
3d2a24f61d
Added example to the documentation for the normalize() method
2015-10-04 20:23:45 +02:00
Pavel Vlasov
6a0d3b06f2
IPPInitSingelton initialization guards;
2015-10-01 17:48:49 +03:00
Pavel Vlasov
e837d69f8f
IPPInitSingelton was added to contain IPP related global variables;
...
OPENCV_IPP env var now allows to select IPP architecture level for IPP9+;
IPP initialization logic was unified across modules;
2015-10-01 09:58:48 +03:00
Pavel Vlasov
62854dcc0d
Enables support of IPP 9.0.0;
...
HAVE_IPP_ICV_ONLY will be undefined if OpenCV was linked against ICV packet from IPP9 or greater. ICV9+ packets will be aligned with IPP in OpenCV APIs
This will ease code management between IPP and ICV
2015-09-29 17:27:13 +03:00
Alexander Alekhin
dd9da53860
disable String(int) ctor
...
MSVC and GCC compilers interprets cv::String a(0) as a valid
statement with conversion of "int" argument to "const char*".
This patch forbids this expected behaviour.
2015-09-27 14:54:11 +03:00
Pavel Vlasov
14b006e808
IPP_VERSION_X100 was changed to:
...
IPP_VERSION_MAJOR * 100 + IPP_VERSION_MINOR*10 + IPP_VERSION_UPDATE
to manage changes between updates more easily.
IPP_DISABLE_BLOCK was added to ease tracking of disabled IPP functions;
2015-09-25 17:50:15 +03:00
Pavel Vlasov
2177c7c5a8
Some IPP functions were encapsulated;
...
Minor changes to IPP implementations;
2015-09-25 17:30:26 +03:00
Pavel Rojtberg
46ada3886f
fix wrong parsing of values containing '='
...
fixes #5074
2015-09-24 17:27:07 +02:00
Pavel Rojtberg
1dd7f546af
CommandLineParser: add special <none> value to disallow empty strings
...
some mandatory string keys like paths must not be empty. Add the special
default value `<none>` so the CommandLineParser can enforce this and
generate an according error message for us.
2015-09-23 15:43:46 +02:00
Pavel Rojtberg
a388806555
enable additional CommandLineParser tests
2015-09-22 18:37:51 +02:00
Pavel Rojtberg
2ced3ba276
CommandLineParser: throw on programmer error
...
requesting a previously undeclared key is most likely an programming
error. e.g. a typo "--unused vs --unsued".
So throw in those cases.
Add an according failure testcase.
2015-09-22 18:35:49 +02:00
Alexander Alekhin
d430e802f2
cmdparser: allow empty strings
2015-09-22 16:34:37 +03:00
Vadim Pisarevsky
9f697510ca
Merge pull request #5320 from berak:lda_fix
2015-09-22 10:38:46 +00:00
Alexander Alekhin
4bb4c92f68
Merge pull request #5376 from lupustr3:pvlasov/compare_16s_fix
2015-09-22 10:19:52 +00:00
Pavel Vlasov
33e659786f
Fix for cmp16s condition during IPP compare type convert;
2015-09-21 18:11:20 +03:00
Alexander Alekhin
d945aff132
Merge pull request #5371 from Dikay900:ports_to_master
2015-09-21 13:52:45 +00:00
Alexander Alekhin
a9b91bb400
Merge pull request #5372 from alalek:cmd_tests
2015-09-21 13:52:26 +00:00
Gleb Gladilov
2bc4486966
Added test of minMaxLoc on filling with maximums of int
2015-09-21 13:44:30 +02:00
Gleb Gladilov
344d9fd83f
Fixed minMaxLoc and test functions
2015-09-21 13:44:29 +02:00
Elena Shipunova
5de01fde53
do not proceed with removing zero-length slice
2015-09-21 13:44:26 +02:00
Alexander Alekhin
05b1636780
Merge pull request #5329 from paroj:cliparser
2015-09-21 09:46:54 +00:00
berak
2f7c926670
remove usage of obsolete _dataAsRows flag
2015-09-21 07:59:09 +02:00
Alexander Alekhin
d3071db0d7
add some CommandLineParser tests
2015-09-20 13:14:41 +03:00
Pavel Rojtberg
96cc618410
has() should only test for the presence of the argument
...
and not consider its value. treat arguments with a set default value as
present.
2015-09-18 18:42:14 +02:00
Pavel Rojtberg
08dd126f08
do not parse empty default values and improve error messages
2015-09-18 18:42:14 +02:00
Alexander Alekhin
0051208684
Merge pull request #5349 from lupustr3:pvlasov/tls_update
2015-09-18 14:39:08 +00:00
Alexander Alekhin
d2b10d8aa1
Merge pull request #5355 from renatoGarcia:master
2015-09-18 13:38:29 +00:00
Alexander Alekhin
af0942c78f
Merge pull request #5335 from Dikay900:ports_to_master
2015-09-18 11:06:08 +00:00
Pavel Vlasov
aa485ccd75
TLS keys leak fix;
...
Disables TLS copy constructor and operator, as they can lead to errors and reservation of too much keys in TLS storage;
gather method was added to TLS to gather data from all threads;
2015-09-17 15:49:20 +03:00
Renato Florentino Garcia
1a18fa1c94
Correct a typo.
2015-09-16 21:16:23 -03:00
Vadim Pisarevsky
9533982729
Merge pull request #5272 from avershov:opencl-vaapi-fallback
2015-09-14 11:54:20 +00:00
Alexander Alekhin
bf42b9603b
fix "unreachable code" warning
2015-09-14 13:11:12 +03:00
Alexander Alekhin
1a8d7f9587
ocl: temporary restore OpenCL tls data (ocl.cpp without fix)
2015-09-13 20:28:24 +03:00
Alexander Alekhin
7213e5f68a
ocl: correct disabling of OpenCL code
2015-09-13 20:28:23 +03:00
Ilya Lavrenov
df21a24f81
initialize padding of CvString with zeros
2015-09-13 12:38:10 +02:00
Ilya Lavrenov
0303e8067e
fixed memory leak in core ds tests
2015-09-11 18:46:52 +02:00
Alexey Ershov
933ad0e710
changed call to getDefault: false to true in fallback initialization
2015-09-10 14:36:40 +03:00
Alexander Alekhin
ad70ab404c
ocl: workaround for getUMat()
2015-09-09 18:56:14 +03:00
Andrey Pavlenko
cea2dafa0f
man/unmap, preventing getMat/getUMat from temp object, fix thread-unsafe code in UMat::getMat()
2015-09-09 18:05:29 +03:00
Alexander Alekhin
536634b1fe
Merge pull request #5293 from alalek:tapi_custom_ptr_perf
2015-09-09 14:59:17 +00:00
Alexander Alekhin
cdfdf29eca
Merge pull request #5292 from alalek:tapi_custom_ptr
2015-09-09 14:58:28 +00:00
Alexey Ershov
5937e58a11
fixed argument in call to {Input|Output}Array.getMat()
2015-09-08 19:29:19 +03:00
Alexey Ershov
949410b347
separated UMat & Mat usage in interop/copy paths
2015-09-07 21:11:05 +03:00
Maksim Shabunin
5618f4a0ac
Fixed: Concurrency static scheduler release failed
2015-09-07 18:59:07 +03:00
Alexey Ershov
68a0347ff9
fallback path & sample timing implemented
...
fixed trailing whitespaces
renamed files *vaapi* to *va_intel*
changed names vaapi* to va_intel*
2015-09-04 02:42:49 +03:00
Alexander Alekhin
4ecc023219
UMat: add perf test for custom ptr
2015-09-03 10:48:07 +03:00
Alexander Alekhin
8694ba0978
update custom_ptr test
2015-09-03 10:46:38 +03:00
Maksim Shabunin
8c65f8a0d1
fixup! Some changes to support mingw-w64
2015-09-01 13:49:23 +03:00
Maksim Shabunin
771af4f32d
Some changes to support mingw-w64
...
- IPP is disabled by default when compiler is mingw (couldn't make it
work)
- fixed some warnings
- fixed some `__GNUC__` version checks (for correctness and convenience)
- removed UTF-8 BOM from hough.cpp (fixes #5253 )
2015-09-01 00:59:08 +03:00
Vadim Pisarevsky
a78da45fec
Merge pull request #5242 from apavlenko:fix_releasing_temp_umat
2015-08-27 14:29:52 +00:00
Andrey Pavlenko
b78eb49178
removing a garbage comment
2015-08-26 14:15:18 +03:00
Andrey Pavlenko
4aefb9f2fc
making the test deepper
2015-08-26 13:38:26 +03:00
Andrey Pavlenko
3656a1aa66
fixing 'map_unmap_counting'
2015-08-25 17:25:03 +03:00
Vadim Pisarevsky
edcd2c0408
Merge pull request #4176 from alalek:issue_4461
2015-08-25 07:46:28 +00:00
Andrey Pavlenko
f6b758699b
Revert merging of pull request #5176 from vladimir-dudnik:master (reverted from commit 5ee00ec5c6
)
2015-08-24 19:22:22 +03:00
Vadim Pisarevsky
bd8bac27d5
Merge pull request #4212 from ludv1x:master
2015-08-24 14:20:54 +00:00
Vadim Pisarevsky
ff8aa6662e
Merge pull request #5201 from alalek:move_semantics
2015-08-24 11:05:43 +00:00
Philippe FOUBERT
b668d3f693
Modification of the related tests in core/tests/ocl
2015-08-22 13:39:34 +02:00
Philippe FOUBERT
0629add3f7
Fix issue #5234 (UMat::convertTo when noScale)
2015-08-22 13:16:59 +02:00
Vitaliy Lyudvichenko
85cc11e3b2
Changed behaviour of Mat/UMat::reshape() to accept n-dim shapes
2015-08-21 19:26:29 +03:00
Alexander Alekhin
b8956d0111
tls: fix access to array (out of bounds)
2015-08-21 16:43:15 +03:00
Alexander Alekhin
44f8670719
Merge pull request #5171 from avershov:opencl-vaapi-interop
2015-08-21 12:47:14 +00:00
Philipp Hasper
14c0bfce2f
kmeans and one-dimensional vectors
...
Clustering one-dimensional data was only possible when storing it column-based. But a std::vector is interpreted as matrix with height=1
Additionally, made conditionals more readable
2015-08-21 14:20:00 +02:00
Alexey Ershov
a8656ea20f
implemented core support & sample
...
fixed whitespaces
fixed issues
fixed issue
fixed module statement issues
fixed access mode
added initialization check
fixed warning
2015-08-21 02:44:03 +03:00
Alexander Alekhin
c1778f1199
Merge pull request #5161 from alalek:fix_string
2015-08-20 12:49:54 +00:00
Maksim Shabunin
4a067dca58
Merge pull request #5154 from brunomorishita:patch-1
2015-08-19 15:22:35 +00:00
Alexander Alekhin
887d8d091b
Merge pull request #5177 from lupustr3:pvlasov/tls_fixes
2015-08-19 14:18:19 +00:00
Pavel Vlasov
a33d98c13a
TLS memory leaks were fixed;
...
TLS was redesigned in more straightforward way;
OPENCV_ABI_COMPATIBILITY define was added;
2015-08-19 13:31:44 +03:00
thebucc
421e1b237c
Fix for bug #5007 : moved definition of Size_MatDepth_t and Size_MatDepth from ts_perf.hpp to perf_channels.cpp. This way they are closer to where they are needed and live in a different namespace (possibly the reason why the fix works).
2015-08-17 16:09:00 +01:00
Vladimir Dudnik
58934f1e16
add condition to skip unmapping for internally allocated host memory. this should fix map_unmap_counting UMat test.
2015-08-17 14:36:34 +03:00
Alexander Alekhin
e65de8d1da
fixes for MSVS compiler optimizer
2015-08-16 02:03:04 +03:00
Alexander Alekhin
ac37b77452
c++ move semantics for cv::UMat
2015-08-16 02:02:26 +03:00
Alexander Alekhin
306aa0e699
c++ move semantics for cv::Mat_
2015-08-16 02:02:25 +03:00
Alexander Alekhin
1afc9eb730
c++ move semantics for cv::Mat
2015-08-16 02:02:24 +03:00
Alexander Alekhin
5a0af53683
c++ move semantics for cv::Ptr<>
2015-08-15 16:45:19 +03:00
Bruno Goncalves
cf4025c224
fix documentation code formulas
2015-08-13 23:13:47 -03:00
Alexander Alekhin
68f8d1cef0
Merge pull request #5164 from vladimir-dudnik:test-umat-copyTo-issue
2015-08-13 14:59:07 +00:00
Vladimir Dudnik
6bb8afde96
fixed typo in OpenCLAllocator.upload method (wrong step used)
2015-08-11 16:01:05 +03:00
Vladimir Dudnik
131d7c394e
enabled test UMat copyTo. Now it will detect FAIL on Intel platform for ROI (issue with clEnqueueCopyBufferRect)
2015-08-11 14:19:14 +03:00
Vladimir Dudnik
ef0d1c1c3f
fixed download/upload for non contiguous umat
2015-08-11 01:33:46 +03:00
Alexander Alekhin
cda9ed449f
fix some functions for valid processing of empty string content (cstr_==0, len_==0)
2015-08-10 18:08:58 +03:00
Alexander Alekhin
09b9b0fb9e
Merge pull request #5135 from alalek:issue_4468
2015-08-10 14:46:31 +00:00
Alexander Alekhin
3316e58314
more test loops (and disable tests - tests pass but require a lot of time)
2015-08-10 14:44:28 +03:00
Anatoly Baksheev
0dab097a26
minor comment fix
2015-08-07 12:55:10 +03:00
Alexander Alekhin
8293ed7f9b
add tests from issue 4468 ( #5062 )
2015-08-06 13:50:13 +03:00
Alexander Alekhin
21467d817b
tapi: add test from issue 4380 ( #5010 )
2015-08-05 16:08:48 +03:00
Vadim Pisarevsky
3f65a86977
Merge pull request #4233 from alalek:fix_4006
2015-08-03 05:46:29 +00:00
Alexander Alekhin
fe0a17e78f
fix build with Win7 SDK
2015-07-30 23:23:01 +03:00
Alexander Alekhin
1704aea6a0
tapi: enable some disabled tests
2015-07-30 19:21:24 +03:00
Alexander Alekhin
2b2bc83b61
Merge pull request #4238 from vladimir-dudnik:d3d11-nv12-interop
2015-07-30 10:36:25 +00:00
Vladimir Dudnik
6bd01a96d9
finished with NV12 support for D3D11-interop. Now, if texture is in NV12 format then it will be converted to/from BGR UMat.
2015-07-29 19:52:05 +03:00
Vladimir Dudnik
d4774ead43
d3d11-nv12 interop
...
fixed issues with ocl nv12 cvt kernel
finisged ocl nv12-to-rgba kernel, update dx-interop samples. (ocl rgba-to-nv12 kernel will be added later)
an attempt to fix build issue
fix for non opencl build issue
fix typo
fix compilation warnings
fix compile issue for Mac (OpenCL)
add convertion from rgba to nv12 (still need to debug kernel)
remove empty line at the EOF
fixed compilation warning
2015-07-29 19:52:03 +03:00
Alexander Alekhin
9bcccb028b
fixes
2015-07-28 11:49:46 +03:00
Alexander Alekhin
cd5c70691a
ocl: add map tests
2015-07-28 11:49:46 +03:00
Alexander Alekhin
b36f565d13
fix OpenCV code (bug 4006: #4862 )
2015-07-28 11:49:41 +03:00
Vladimir Dudnik
ed7907e46c
add test for bug 4006: #4862
2015-07-28 11:49:02 +03:00
Alexander Alekhin
c94945f892
Merge pull request #4210 from wangyan42164:ocl_umat_convert
2015-07-27 15:05:57 +00:00
Yan Wang
132416ebe9
It is unnecessary to use fma() if no scaling.
...
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
2015-07-23 10:18:11 +08:00
Alexander Alekhin
c0ee03fab2
Merge pull request #4192 from avershov:opencl-opengl-buffer
2015-07-21 14:10:00 +00:00
Vadim Pisarevsky
03824682ad
Merge pull request #4189 from vladimir-dudnik:update_dx_samples
2015-07-21 11:55:21 +00:00
Alexey Ershov
89392b2a6d
added convertToGLBuffer() & convertFromGLBuffer() functions; added OpenGL interop sample comment
...
rewrite & change convertFromGLBuffer() & convertToGLBuffer() into acquireGLBuffer() & releaseGLBuffer(), respectively
opengl sample: added buffer support
tested and fixed buffer support on Windows
change glFlush() call to glFinish()
added UMat::release() call; fixed functions' names
adopted & implemented API suggestion(s) from Alexander
fixed unreachable code warning
added more info to the mapGLBuffer/unmapGLBuffer description
2015-07-21 13:42:17 +03:00
Philipp Hasper
2b7637df36
Fixed buffer overflow in string handling
...
pos should never exceed strlen, else the overflow check 'if (!len)' will wrongfully pass
2015-07-20 09:00:24 +02:00
Vladimir Dudnik
dee05f982b
compute fps changed (now only interop counts). fixed d3d10 and d3d11 print info method (there were issues with texture mapping)
2015-07-13 23:40:45 +03:00
Alexander Alekhin
88e66697a7
t-api: try to fix allocator fallback code paths
...
issue: http://code.opencv.org/issues/4461
2015-07-09 13:26:59 +03:00
Alexander Alekhin
06617392e0
workaround issue with MatExpr
2015-07-08 16:22:59 +03:00
Alexander Alekhin
a6f46d7bb1
issue 4457
2015-07-08 16:22:58 +03:00
Vadim Pisarevsky
743160b6ac
Merge pull request #4158 from alalek:fix-bigdata-copyto
2015-07-08 10:00:46 +00:00
Alexander Alekhin
40fcc9d149
Merge pull request #4159 from alalek:vector_processing
2015-07-06 13:22:57 +00:00
Alexander Alekhin
c0d61964d6
ocl: fix unaligned memory access
...
http://code.opencv.org/issues/4462
2015-07-06 13:58:17 +03:00
Alexander Alekhin
ca692b9804
Merge pull request #4168 from Dikay900:export_threadcontrol
2015-07-02 11:31:16 +00:00
Alexander Alekhin
f4cb8c0dfb
Merge pull request #4127 from avershov:opengl-opencl-sample
2015-07-02 11:24:10 +00:00
Alexander Alekhin
885114ed2c
fix copyTo memory corruption, but the main problem is still here
2015-07-02 13:47:59 +03:00
Dikay900
3ebb5d0e3b
export thread control to python aswell
2015-07-01 22:55:12 +02:00
Alexander Alekhin
30a5a9ed34
test vector processing
2015-07-01 20:10:22 +03:00
Vadim Pisarevsky
c81b064727
Merge pull request #4164 from kalistratovag:parallel_mjpeg
2015-07-01 14:15:52 +00:00
Vadim Pisarevsky
d5afd070ce
Merge pull request #4094 from kashefy:Mat_push_back_MatExpr_bug_4340
2015-07-01 09:09:51 +00:00
Alexey Ershov
9dfa9a81e9
eliminated unused function __OpenCLinitializeGL(), simplified query device logic
2015-06-30 21:27:15 +03:00
kalistratovag
65e0387aa5
Implementing parallel mjpeg encoder.
...
Fixed errors in parallel_for based on pthreads
Fixing compiler errore & removing whitespaces
Fixing prallel_for_pthreads error and warnings on win
2015-06-30 13:57:37 +03:00
Youssef Kashef
790ef21a60
add unit test around Mat::push_back()
...
add template specialization Mat::push_back() for MatExpr paramters
extend push_back MatExpr to mat in unit test
cast to object instead of reference
test with multi-row MatExpr input
2015-06-30 10:29:40 +02:00
Alexander Alekhin
50b453e5c2
Merge pull request #4150 from alalek:opencv_org_issue_4428
2015-06-29 17:08:54 +00:00
Alexey Ershov
3f68787051
OpenGL OpenCL sample
...
057cd52 first versions: cv::ogl::convertFromGLTexture2D & cv::ogl::convertToGLTexture2D
5656e94 added autogenerated stuff for cl_gl.h
765f1fd resolved CL functions in opengl.cpp
9f9fee3 implemented function cv::ogl::ocl::initializeContextFromGLTexture2D()
a792adb cv::ogl::ocl::initializeContextFromGLTexture2D() - added linux support (glx.h)
51c2869 added missing error message in function cv::ogl::ocl::initializeContextFromGLTexture2D()
513b887 fixed extension call in function cv::ogl::ocl::initializeContextFromGLTexture2D()
475a3e9 added CL-GL interop Windows sample (gpu/opengl_interop.cpp)
07af28f added building of CL-GL interop sample - Windows only
befe3a2 fixed whitespace errors & doxygen warnings (precommit_docs)
551251a changed function name to cv::ogl::ocl::initializeContextFromGL(), removed unused argument
4d5f009 changed CL_DEVICES_FOR_GL_CONTEXT_KHR to CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR
9fc3055 changed CL_DEVICES_FOR_GL_CONTEXT_KHR to CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KH
6d31cee Revert "changed CL_DEVICES_FOR_GL_CONTEXT_KHR to CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KH"
cc6a025 added texture format check in cv::ogl::convertFromGLTexture2D()
063a2c1 CL-GL sample: added Linux implementation (Xlib/GLX)
c392ae9 fixed trailing whitespace
85a80d0 fixed include files
ae23628 excluded samples/opengl from build case 2
9870ea5 added android EGL support
530b64c added doxygen documentation comments to CL-GL interop functions
2015-06-26 14:15:12 +03:00
Alexander Alekhin
04b2edcc8c
ocl: autogenerated files for cl_gl.h
2015-06-26 14:08:27 +03:00
Alexander Alekhin
ee68d26f99
ocl: update generator scripts
2015-06-26 14:08:20 +03:00
Alexander Alekhin
24e2a008c3
copyTo: fix for big data (4Gb+)
2015-06-25 21:08:37 +03:00
Alexander Alekhin
8298644b85
Merge pull request #4151 from lupustr3:pvlasov/ipp_alignment
2015-06-24 16:45:13 +00:00
Vadim Pisarevsky
56e637d5f4
Merge pull request #4135 from lupustr3:ipp_code_refactoring
2015-06-24 16:18:55 +00:00
Pavel Vlasov
e57609836c
Warning fix;
2015-06-24 14:43:42 +03:00
Pavel Vlasov
101607a7d0
Imgproc_Hist_MinMaxVal.accuracy fix;
...
Some code style corrections;
2015-06-24 13:50:17 +03:00
Pavel Vlasov
8439b5942b
Proper IPP alignment;
2015-06-24 09:21:35 +03:00
Alexander Alekhin
53fc5440d7
implement singleton lazy initialization
2015-06-23 14:38:45 +03:00
Vadim Pisarevsky
81e1c043cc
Merge pull request #4142 from sturkmen72:patch-2
2015-06-22 11:51:39 +00:00
Vadim Pisarevsky
bd90425f71
Merge pull request #4136 from alalek:fix_matallocator_destruction
2015-06-22 11:49:36 +00:00
Suleyman TURKMEN
d64c8aad99
Update mat.hpp
...
spelling corrections
2015-06-20 11:18:47 +03:00
Vladimir Dudnik
217dd63e02
OpenCV-OpenCL interop (PR #4072 ):
...
Commits:
added new function, cv::ocl::attachContext(String& platformName, void* platformID, void* context, void* deviceID) which allow to attach externally created OpenCL context to OpenCV.
add definitions of clRetainDevice, clRetainContext funcs
removed definitions for clRetainContext, clRetainDevice
fixed build issue under Linux
fixed uninitialized vars, replace dbgassert in error handling
remove function which is not ready yet
add new function, cv::ocl::convertFromBuffer(int rows, int cols, int type, void* cl_mem_obj, UMat& dst, UMatUsageFlags usageFlags = cv::USAGE_DEFAULT) which attaches user allocated OpenCL clBuffer to UMat
uncommented clGetMemObjectInfo definition (otherwise prevent opencv build)
fixed build issue on linux and android
add step parameter to cv::ocl::convertFromBuffer func
suppress compile-time warning
added sample opencl-opencv interoperability (showcase for cv::ocl::convertFromBuffer func)
CMakeLists.txt modified to not create sample build script if OpenCL SDK not found in system
fixed build issue (apple opencl include dir and spaces in CMake file)
added call to clRetainContext for attachContext func and call to clRetainMemObject for convertFromBuffer func
uncommented clRetainMemObject definition
added comments and cleanup
add local path to cmake modules search dirs (instead of replacing)
remove REQUIRED for find_package call (sample build together with opencv). need to try standalone sample build
opencl-interop sample moved to standalone build
set minimum version requirement for sample's cmake to 3.1
put cmake_minimum_required under condition, so do not check if samples not builded
remove code dups for setSize, updateContinuityFlag, and finalizeHdr
commented out cmake_minimum_required(VERSION 3.1)
add safety check for cmake version
add convertFromImage func and update opencl-interop sample
uncommented clGetImageInfo defs
uncommented clEnqueueCopyImageToBuffer defs
fixed clEnqueueCopyImageToBuffer defs
add doxygen comments
remove doxygen @fn tag
try to restart buildbot
add doxygen comments to directx interop funcs
remove internal header, use fwd declarations in affected compile units instead
2015-06-19 13:33:22 +03:00
Alexander Alekhin
032b6322fc
fix MatAllocator creation/destruction issues
2015-06-18 14:02:01 +03:00
Dmitry Budnikov
a5a21019b2
ipp_countNonZero build fix;
...
Removed IPP port for tiny arithm.cpp functions
Additional warnings fix on various platforms.
Build without OPENCL and GCC warnings fixed
Fixed warnings, trailing spaces and removed unused secure_cpy.
IPP code refactored.
IPP code path implemented as separate static functions to simplify future work with IPP code and make it more readable.
2015-06-18 12:47:07 +03:00
Maksim Shabunin
7bfd070864
Merge pull request #4095 from alalek:hal_unresolved_symbols
2015-06-17 14:35:40 +00:00
Vadim Pisarevsky
fd225469bc
Merge pull request #4122 from alalek:fix_issue_3891
2015-06-17 11:13:27 +00:00
Alexander Alekhin
9394486147
fix issue 3891
2015-06-16 18:53:58 +03:00
Alexander Alekhin
a482dcce46
fix support for pthreads parallel_for
2015-06-11 16:53:07 +03:00
Maksim Shabunin
1f983ec39c
Fixed compilation of pthread-based parallel_for with gcc 4.4.3
2015-06-09 13:59:48 +03:00
Alexander Alekhin
8184e57dd6
fix tests build (win,shared,world)
2015-06-05 16:30:36 +03:00
Diogo Rolo
f57fb2375e
Update cuda.markdown
...
Small typo fix in the documentation.
It was written 'devie' instead of 'device' in: 'Switching active device can be done using cuda::setDevice() function'
2015-06-02 14:34:15 +01:00
Vadim Pisarevsky
a4073ed676
made improvements in ECC code (comments from https://github.com/Itseez/opencv/pull/3845 ), as well as minor tweak in pthread's based parallel for.
2015-06-02 01:30:00 +03:00
kalistratovag
bf5393ae58
parallel for on pthreads initial commit
...
removing trailing whitespaces
Compilation error on Mac fix & warning on android
Warnings fixed on iOs
2015-06-01 17:48:21 +03:00
Vadim Pisarevsky
b46719b093
Merge pull request #4074 from vpisarev:objdetect_fixes
2015-05-28 19:43:51 +00:00
Vadim Pisarevsky
481f786fe7
added simple HAL test; added RHO homography test
2015-05-28 17:05:43 +03:00
Philipp Hasper
6c55e7c039
Fixed doc typo
2015-05-27 07:34:27 +02:00
Vadim Pisarevsky
dc587992a0
Merge pull request #4053 from vpisarev:calib3d_fixes
2015-05-26 11:23:50 +00:00
Vadim Pisarevsky
85149f8686
hack solvePoly to finds roots of polynoms with zero higher-order coefficients. The roots are populated in this case, which is not valid, strictly speaking, but good enough for function like correctMatches. This solves http://code.opencv.org/issues/4330
2015-05-25 23:43:39 +03:00
Ruslan Baratov
9c8255feeb
Doc: fix definition of macro CV_MAKETYPE
...
At least this is how it's defined in core/types_c.h
Conflicts:
modules/core/doc/intro.rst
2015-05-23 19:09:34 +02:00
Camille
55a5e6be2c
bug fix 3696
2015-05-23 19:09:31 +02:00
Dikay900
7ca0557b40
typos in comments
2015-05-23 17:36:45 +02:00
Alexander Smorkalov
acbc7362db
Bug #3611 Initializing static cv::Mat with cv::Mat::zeros causes segmentation fault fixed.
...
fix MatOpInitializer
2015-05-23 17:36:35 +02:00
Vadim Pisarevsky
f32f0486e2
trying to eliminate warnings in Android build
2015-05-22 16:53:34 +03:00
Vadim Pisarevsky
d2aaa70e93
removed HAL calls from public OpenCV headers; put IPP calls back to hall:sqrt() and such (but they are disabled for now)
2015-05-22 16:04:10 +03:00
Vadim Pisarevsky
ef8182e12a
Merge pull request #4025 from vpisarev:features2d_fixes
2015-05-21 19:16:27 +00:00
Andrey Pavlenko
d67d32af48
Revert of "Merge pull request #4014 from sgjava:opencv-sgjava" (reverted from commit 52fa55a770
)
2015-05-19 13:30:18 +03:00
Vadim Pisarevsky
432cf1152a
added read/write functions for vector<DMatch> + the test ( http://code.opencv.org/issues/4308 )
2015-05-18 18:59:37 +03:00
Vadim Pisarevsky
a85bb091c8
Merge pull request #4018 from vpisarev:imgproc_video_fixes
2015-05-15 16:15:01 +00:00
Vadim Pisarevsky
4a9b244577
hopefully, fixed crash in sparse mat test
2015-05-15 16:15:10 +03:00
Vadim Pisarevsky
66eb270cf7
significantly reduced sparse matrix footprint:
...
http://code.opencv.org/issues/2206 ,
http://code.opencv.org/issues/2924
2015-05-14 23:29:09 +03:00
Vadim Pisarevsky
52fa55a770
Merge pull request #4014 from sgjava:opencv-sgjava
2015-05-14 18:23:28 +00:00
Vadim Pisarevsky
7dd67f4997
use _mm_sad_epu8 instead of _mm_movemask_epi8 in countNonZero. Therefore, we do not need any popcount table and this solves http://code.opencv.org/issues/4333
2015-05-14 20:33:53 +03:00
sgjava
8b3b2a52f0
Removed finalize() and added n_delete to release()
2015-05-13 13:45:19 -04:00
Maksim Shabunin
a7160d9b12
Docs: fixed _dest type in cv::compare
2015-05-13 18:46:21 +03:00
Maksim Shabunin
e22c09c601
Documentation for CommandLineParser
2015-05-13 18:46:21 +03:00
Vadim Pisarevsky
d280205245
fixed compile errors on ARM, as well as failures in OCL_Dft* regression tests
2015-05-06 10:00:10 +03:00
Vadim Pisarevsky
0ee8634b2f
fixed random failures in Core_DFT.complex_output2 test (the case of input_mat.cols == 1)
2015-05-05 20:31:30 +03:00
Vadim Pisarevsky
73f760fdf0
some more compile warnings fixed
2015-05-05 18:03:40 +03:00
Vadim Pisarevsky
931a519969
fixed warning in mathfuncs
2015-05-05 17:49:36 +03:00
Vadim Pisarevsky
63a63e3eaa
extended MinProblemSolver::Function to 1) report the space dimensionality, 2) compute gradient if needed
2015-05-05 15:56:06 +03:00
Vadim Pisarevsky
5b9182ba43
reenabled conjugate gradient solver test
2015-05-03 11:36:24 +03:00
Vadim Pisarevsky
5a31f6b4e1
ok, so probably the failure in downhill simplex has been finally solved
2015-05-03 11:31:49 +03:00
Vadim Pisarevsky
2ec92ba440
added test for http://code.opencv.org/issues/1918
2015-05-03 02:46:33 +03:00
Vadim Pisarevsky
01e351de37
refactored downhill simplex implementation a bit; hopefully, fixed the bug with random failures in the tests
2015-05-03 02:29:15 +03:00
Vadim Pisarevsky
a33d7928a4
Fixed getContinuousSize() to handle huge matrices properly. This should solve http://code.opencv.org/issues/3232
2015-05-02 22:12:12 +03:00
Vadim Pisarevsky
9c0b740b84
improved randShuffle as suggested by John Stark in http://code.opencv.org/issues/3730
2015-05-02 21:31:47 +03:00
Vadim Pisarevsky
96b5ec14d4
fixed bug with simplex initialization in Downhill solver (thanks to Toby Rule for the patch): http://code.opencv.org/issues/3990 .
...
re-enabled Downhill solver test, let's see how it goes
2015-05-02 20:59:57 +03:00
Vadim Pisarevsky
79ac0d05ce
added test checking http://code.opencv.org/issues/4050
2015-05-02 20:38:30 +03:00
Vadim Pisarevsky
9fbd1d68ad
refactored div & pow funcs; added tests for special cases in pow() function.
...
fixed http://code.opencv.org/issues/3935
possibly fixed http://code.opencv.org/issues/3594
2015-05-01 21:49:11 +03:00
Vadim Pisarevsky
74e2b8cbcb
fixed invalid output of cv::dft when using DFT_ROWS + DFT_COMPLEX_OUTPUT ( http://code.opencv.org/issues/3428 )
2015-04-29 23:08:22 +03:00
Vadim Pisarevsky
7918267d02
fixed U non-orthogonality in SVD ( http://code.opencv.org/issues/3801 )
2015-04-29 16:09:58 +03:00
Vadim Pisarevsky
135fa85e8f
added vector<bool> support ( http://code.opencv.org/issues/3826 )
2015-04-29 15:36:45 +03:00
Vadim Pisarevsky
d8f360316d
fixed http://code.opencv.org/issues/3828 , added test. thanks to berak for the patch
2015-04-29 13:12:53 +03:00
Vadim Pisarevsky
0746ec7035
fixed http://code.opencv.org/issues/4278
2015-04-29 11:58:49 +03:00
Vadim Pisarevsky
a8226814c5
fixed http://code.opencv.org/issues/4189
2015-04-29 11:47:12 +03:00
Thomas Gabrowski
63dbeeaac5
Fix iOS warnings about implicit conversion precision by changing double literals to float ones
...
Conflicts:
modules/contrib/include/opencv2/contrib/retina.hpp
2015-04-26 12:22:41 +02:00
Mansour Moufid
b99f7a29df
Cast some image coordinates and sizes to double.
...
Conflicts:
modules/gpu/perf/perf_imgproc.cpp
Cast a long integer to double explicitly.
Conflicts:
modules/python/src2/cv2.cpp
Cast some matrix sizes to type int.
Change some vector mask types to unsigned.
Conflicts:
modules/core/src/arithm.cpp
2015-04-25 18:54:53 +02:00
Boris Daskalov
3b5530fb67
Fix a bad free space check in icvGrowSeq.
...
A difference of two pointers was casted to unsigned which can lead to
overflow on 64-bit systems.
2015-04-25 18:54:51 +02:00
Vadim Pisarevsky
7dd19f6d97
Merge pull request #3939 from paroj:fmtfix
2015-04-22 12:15:17 +00:00
Vadim Pisarevsky
063e4004ba
Merge pull request #3935 from vpisarev:extending_hal_part1
2015-04-21 14:02:02 +00:00
Pavel Rojtberg
78eac67a01
clean up cvTriangulatePoints by using C++ primitives directly.
...
- fixes the Calib3d_StereoCalibrate_C testcase.
update comment regarding cv::SVD::MODIFY_A
2015-04-21 11:29:26 +02:00
Pavel Rojtberg
b02fc039cd
fix python and numpy output formatters
2015-04-17 17:42:24 +02:00
Vadim Pisarevsky
ee11a2d266
fully implemented SSE and NEON cases of intrin.hpp; extended the HAL with some basic math functions
2015-04-16 23:00:26 +03:00
Vadim Pisarevsky
a2bba1b9e6
HAL extensions: added initial version of universal intrinsics (C implementation and SSE2, NEON - TBD). added empty files where some functionality from core and imgproc will be moved to
2015-04-15 00:36:27 +03:00
Ilya Lavrenov
17bedd72f0
workaround for stange internal compiler error when cross-compiling with 4.6
2015-04-14 16:55:11 +03:00
Vadim Pisarevsky
5b3f89df0a
Merge pull request #3911 from vpisarev:core_tweaks
2015-04-07 19:03:48 +00:00
Vadim Pisarevsky
259e41da73
reverted "typedef _InputArray InputArray", fixed warning from doxygen
2015-04-07 19:34:51 +03:00
Maksim Shabunin
35b2139929
Basic HAL module
2015-04-07 18:16:22 +03:00
Vadim Pisarevsky
052593c760
1. Input/OutputArray optimizations;
...
2. Algorithm::load/save added (moved from StatModel)
3. copyrights updated; added copyright/licensing info for ffmpeg
4. some warnings from Xcode 6.x are fixed
2015-04-07 16:44:26 +03:00
Dmitry-Me
75a65542ba
Reduce variables scope
2015-03-25 17:17:06 +03:00
Vadim Pisarevsky
5501cfd809
Merge pull request #3814 from erikrk:denoising-16bit-master
2015-03-24 15:23:58 +00:00
Vadim Pisarevsky
f7f10a7d2c
Merge pull request #3854 from Dmitry-Me:reduceVariableScope8
2015-03-24 15:13:34 +00:00
Vadim Pisarevsky
70ff448067
Merge pull request #3859 from NewProggie:fix-doc-typo
2015-03-24 15:08:03 +00:00
Vadim Pisarevsky
54deb5ed5a
Merge pull request #3860 from theodr:document_hconcat_vconcat
2015-03-24 15:07:34 +00:00
theodore
02c3d8d792
documentation for the hconcat and vconcat functions
2015-03-24 13:59:09 +01:00
Vadim Pisarevsky
5a0c7a1330
Merge pull request #3853 from alalek:ocl_fix_bufferpool_cleanup
2015-03-23 08:10:22 +00:00
Vadim Pisarevsky
7ab7322915
Merge pull request #3848 from yxiong:fix-4125
2015-03-23 08:04:41 +00:00
Vadim Pisarevsky
daa99514fa
Merge pull request #3846 from mshabunin:fix-headers
2015-03-23 08:01:25 +00:00
Kai Wolf
f815bbab24
Fix typo in types_c.h
2015-03-22 10:55:54 +01:00
Dmitry-Me
ce167e233b
Reduce variable scope
2015-03-20 13:27:08 +03:00
Alexander Alekhin
b5529aef9c
ocl/bufferpool: fix cleanup
2015-03-20 13:21:10 +03:00
Ying Xiong
decbdd1abb
Fix compiler error on std::swap (CUDA7.0/clang/OSX)
2015-03-19 14:23:44 -04:00
Vadim Pisarevsky
9683f93a76
Merge pull request #3840 from MSOpenTech:concurrency-contrib
2015-03-19 15:11:01 +00:00
Vadim Pisarevsky
9997e6d337
Merge pull request #3823 from lupustr3:pvlasov/implementation_detector_update
2015-03-19 12:47:22 +00:00
Maksim Shabunin
d5b954c2d4
Moved property implementation macros to private header
2015-03-18 17:33:12 +03:00
Maksim Shabunin
7335a40a61
Replaced CV_PURE_PROPERTY macros with corresponding code
2015-03-18 17:23:42 +03:00
Maxim Kostin
d1a8171011
Added WinRT concurrency support.
2015-03-18 15:13:08 +03:00
Philipp Hasper
e0efda7145
Fixed persistent.hpp documentation
...
Small error - object fs does not exist in this code example
2015-03-17 15:28:37 +01:00
Vadim Pisarevsky
c6e9280373
Merge pull request #3816 from ilya-lavrenov:il/cvround
2015-03-16 09:09:55 +00:00
Dmitry-Me
8ed4bae4dd
Reduce variable scope, make formatting consistent with surrounding code
2015-03-14 12:50:42 +03:00
Pavel Vlasov
085409340e
Implementation collector update;
...
Moved out of TLS to properly collect data from different threads;
Concurrent access guards were added to collection functions;
2015-03-12 17:58:03 +03:00
Ilya Lavrenov
6f8b3fc633
cvRound
2015-03-11 16:14:39 +03:00
Roman Donchenko
6274e1fc5f
cvOpenFileStorage: reduce the scope of xml_buf and make sure it's freed...
...
... before any exceptions occur.
(cherry picked from commit 08da247a87
)
2015-03-10 12:38:45 +03:00
Roman Donchenko
6b8ebf3e94
Fix memory leaks appearing when cvOpenFileStorage throws
...
(cherry picked from commit 16ce114e0c
)
2015-03-10 12:38:45 +03:00
Vadim Pisarevsky
baf191fab2
Merge pull request #3771 from mshabunin:arm-round
2015-03-09 21:49:15 +00:00
Vadim Pisarevsky
64bd77cf4d
Merge pull request #3794 from vpisarev:ubuntu_x86_fixes
2015-03-09 21:34:17 +00:00
Erik Karlsson
5a7118a88b
Merging in master
2015-03-09 22:00:58 +01:00
Maksim Shabunin
451972f3cf
Added ARM implementation in cvRound function
...
- note: uses VFPv3 instructions
- also added overloaded cvRound variants with float and int parameters
- thanks to Marina Kolpakova from Itseez for idea
- thanks to developers from #llvm IRC channel for help with inline asm
2015-03-06 16:14:37 +03:00
Vadim Pisarevsky
5d8a1bf813
explained reason why IPP is disabled on 32-bit Linux. disable IPP's minMaxLoc_32f on 32-bit OSes only
2015-03-06 15:02:22 +03:00
Dmitry-Me
2fb4178f7c
Reduce variable scope
2015-03-06 10:17:37 +03:00
Vadim Pisarevsky
7a52c3d9f1
1) make sure Python 2.7 is detected on Ubuntu (including libs) when it's there.
...
2) disable IPP on 32-bit Linux when OpenCV is built as shared libs. Otherwise we get linker errors
3) disable IPP's minMaxIdx 32-bit floating-point flavor in a hope that it fixes some test failures
2015-03-05 18:58:54 +03:00
Vadim Pisarevsky
aa113c5a85
Merge pull request #3787 from Dmitry-Me:fixNullPointerDereference2
2015-03-05 12:19:02 +00:00
Dmitry-Me
d164d51380
Fix potential null pointer dereference
2015-03-05 10:31:51 +03:00
Vadim Pisarevsky
f9b8ce1d25
Merge pull request #3784 from ilya-lavrenov:nvidia_android
2015-03-05 06:43:03 +00:00
Vadim Pisarevsky
0b99f6bcd6
Merge pull request #3777 from ilya-lavrenov:nvidia_cvtcolor_eps
2015-03-04 13:53:41 +00:00
Ilya Lavrenov
cf4c79ebdd
disabled some kernels for Android && NVidia
2015-03-04 14:46:49 +03:00
Vadim Pisarevsky
ebac739a35
Merge pull request #3781 from Dmitry-Me:dangerousStringManipulation
2015-03-04 10:45:25 +00:00
Dmitry-Me
f8c454733b
Remove dangerous string manipulation, merge declaration with assignment
2015-03-04 10:35:06 +03:00
Dmitry-Me
c587bae997
Uniform computation of variable size
2015-03-03 16:11:07 +03:00
Vadim Pisarevsky
6820292256
Merge pull request #3700 from MSOpenTech:winrt-cmake-contrib
2015-03-03 12:52:03 +00:00
Vadim Pisarevsky
d3b74cdcb2
Merge pull request #3773 from ilya-lavrenov:warning
2015-03-03 12:33:17 +00:00
Ilya Lavrenov
26eebb3ee3
increased EPS for cvtColor for NVIDIA
2015-03-03 15:26:51 +03:00
Dmitry-Me
1b7066fc95
Reduce variable scope, only compute values that are used later
2015-03-03 11:04:22 +03:00
Maxim Kostin
22a30af353
Fixing buildbot job:
...
- explicitly turning OCL off since WinRT does not support it
- fixing macro definitions in core/ocl.cpp
Signed-off-by: Maxim Kostin <v-maxkos@microsoft.com>
2015-03-02 22:26:45 +03:00
Maxim Kostin
cdd23440c9
Adding support for WinRT(WinPhone 8/8.1 and Win Store) via CMake 3.1
...
- Substituted HAVE_WINRT with WINRT
- Fixed compilation issues in ocl.cpp and parallel.cpp
- Fixed compiler issue for WP8: "C2678: binary '+' : no operator found which takes a left-hand - Fixed gitignore
- Added #ifdef HAVE_OPENCL to remove compiler warnings in ocl.cpp
- Used NO_GETENV similar to '3rdparty\libjpeg\jmemmgr.c;
- Added ole32.lib for core module (for WindowsStore 8.0 builds)
- Made OpenCV_ARCH aware of ARM
Signed-off-by: Maxim Kostin <v-maxkos@microsoft.com>
2015-03-02 22:26:43 +03:00
Maksim Shabunin
37c74e38f4
Python support
2015-03-02 18:13:00 +03:00
Maksim Shabunin
457123027e
Modified java wrapping mechanism
2015-03-02 18:12:30 +03:00
Ilya Lavrenov
ffc453ebfd
fixed [-Wsign-compare] warning
2015-03-02 16:41:06 +03:00
Vadim Pisarevsky
8e37a693e5
Merge pull request #3758 from ilya-lavrenov:aarch64
2015-03-02 10:50:31 +00:00
Vadim Pisarevsky
845d3edb67
Merge pull request #3757 from ilya-lavrenov:popcnp
2015-03-02 10:50:08 +00:00
Vladislav Vinogradov
4254e35f6a
merge new setUseOptimizations function with existed setUseOptimized
2015-02-27 14:24:51 +03:00
Vladislav Vinogradov
c10f1851cb
rename setOptimizations -> setUseOptimizations
2015-02-27 12:52:28 +03:00
Vladislav Vinogradov
cda6fed41f
move tegra namespace out of cv to prevent conflicts
2015-02-27 12:52:11 +03:00
Vladislav Vinogradov
d696fac8b8
move cuda tests from core to cudaarithm
2015-02-26 19:49:12 +03:00
Ilya Lavrenov
c5a80193a8
aarch64 support
2015-02-26 19:43:32 +03:00
Vladislav Vinogradov
12180bd7b1
add generic method to disable/enable all optimizations (IPP, OpenCL, Tegra)
2015-02-26 19:36:04 +03:00
Vladislav Vinogradov
44e41baffe
use new functions before all tegra:: calls
2015-02-26 19:34:58 +03:00
Vladislav Vinogradov
f8484e3266
add fucntion to control tegra optimizations in run-time
2015-02-26 19:34:20 +03:00
Ilya Lavrenov
b963d84b41
fixed bug #4215
2015-02-25 21:57:17 +03:00
Ilya Lavrenov
5f7a994ad1
fixed internal compiler error
2015-02-20 15:46:22 +03:00
Vadim Pisarevsky
7b270f4c69
Merge pull request #3679 from mshabunin:remove-algorithm-factory
2015-02-19 18:43:58 +00:00
theodore
cfccdc9b0c
documenting findnonzero() function
2015-02-19 17:57:52 +01:00
theodore
453f384bd7
adding documentation for the findnonzero() function
2015-02-19 17:38:44 +01:00
Dmitry-Me
98a8045aaf
Reduce variable scope
2015-02-19 13:10:02 +01:00
Maksim Shabunin
79e8f0680c
Updated ml module interfaces and documentation
2015-02-17 11:46:14 +03:00
Maksim Shabunin
da383e65e2
Remove deprecated methods from cv::Algorithm
2015-02-16 15:28:54 +03:00
Vladislav Vinogradov
a932d8aba1
use full qualified name for all internal namespaces to prevent ambiguous symbol errors
2015-02-16 11:31:21 +03:00
Erik Karlsson
49e93747b1
Added saturate_cast from int64 and uint64
2015-02-12 22:05:05 +01:00
Dmitry-Me
ea48fcfc9f
Fix possible null pointer dereference
2015-02-09 12:38:02 +03:00
Alexander Alekhin
2054123890
coreTlsData -> getCoreTlsData()
2015-02-04 13:03:27 +03:00
Alexander Alekhin
f282fd0ebf
ocl: print missing error message only if OPENCV_OPENCL_RUNTIME is used
2015-01-29 13:16:31 +03:00
Vadim Pisarevsky
97aa8d3341
Merge pull request #3603 from alalek:ocl_svm
2015-01-29 05:35:46 +00:00
Vadim Pisarevsky
f3311f9e2a
Merge pull request #3638 from jet47:remove-cuda-module
2015-01-28 18:51:32 +00:00
Alexander Alekhin
0a07d780e0
ocl: OpenCL SVM support
2015-01-23 20:37:45 +03:00
Alexander Alekhin
58ad952b1a
UMat: added USAGE_ALLOCATE_SHARED_MEMORY
2015-01-23 18:44:12 +03:00
Ilya Lavrenov
dcb0c68ed3
fix for -m32
2015-01-23 17:26:48 +03:00
Vladislav Vinogradov
2660eee961
restore CUDA module introduction
...
put it into core documentation
2015-01-22 15:02:21 +03:00
Vadim Pisarevsky
f93be25cc8
Merge pull request #3629 from nstiurca:matx-fix
2015-01-22 09:43:33 +00:00
Vadim Pisarevsky
03fc3d1ceb
Merge pull request #3591 from ilya-lavrenov:sse_avx
2015-01-21 10:46:23 +00:00
Nicu Știurcă
8722faa167
fix whitespace
2015-01-20 23:58:05 -05:00
Nicu Știurcă
7a3ca99894
fix _OutputArray::assign() for _OutputArrays of type MATX when data types differ
2015-01-20 23:49:04 -05:00
Ilya Lavrenov
e9a6c5db21
sqsum
2015-01-20 21:10:06 +03:00
Vadim Pisarevsky
21a9a17478
Merge pull request #3568 from ilya-lavrenov:neon_runtime
2015-01-20 12:47:51 +00:00
Vadim Pisarevsky
e501c61c04
Merge pull request #3611 from jet47:fix-gpumat-setto
2015-01-20 12:37:45 +00:00
Nicu Știurcă
e97d18ba81
implement _OutputArray::assign() for _OutputArrays of type MATX
2015-01-19 16:20:10 -05:00
Vadim Pisarevsky
5e92a777ef
Merge pull request #3569 from ilya-lavrenov:sse_mul
2015-01-19 13:42:36 +00:00
Vladislav Vinogradov
f676bfb3d7
fix GpuMat::setTo method in case if mask is empty:
...
it might be called from _OutputArray::setTo
2015-01-15 19:33:27 +03:00
Vadim Pisarevsky
713aa5c5b9
Merge pull request #3557 from ilya-lavrenov:sse_add_weighted
2015-01-15 13:14:06 +00:00
Vadim Pisarevsky
16b56e71d9
Merge pull request #3561 from jet47:cuda-arithm-refactoring
2015-01-15 11:44:35 +00:00
Vadim Pisarevsky
1c9668b371
Merge pull request #3584 from nisargthakkar:UMatDimsZeroAfterRelease
2015-01-15 11:27:11 +00:00
Vadim Pisarevsky
b2a5e66fc5
Merge pull request #3593 from kilobyte:master
2015-01-13 12:25:21 +00:00
Vadim Pisarevsky
2ecca8f59c
Merge pull request #3566 from jet47:cuda-imgproc-refactoring
2015-01-13 11:21:51 +00:00
Adam Borowski
7b0d1c932e
Get rid of sysctl includes on Linux.
...
The 'sysctl' syscall has been strongly deprecated on Linux for ages.
Currently, on old architectures it will spam syslog whenever used, and on
newer ones it's missing from the headers altogether. Opencv has migrated
away on Linux already, but #includes were left lingering. This commit
removes them on non-__APPLE__, unbreaking x32 (and probably others).
2015-01-13 01:52:56 +01:00
Ilya Lavrenov
81f786393a
NEON detection in runtime
2015-01-13 01:35:53 +03:00
Ilya Lavrenov
8c94568cc3
cv::sum
2015-01-12 10:59:31 +03:00
Ilya Lavrenov
6bce6ee34a
checks
2015-01-12 10:59:31 +03:00
Ilya Lavrenov
1d3c860411
SinCos_32f
2015-01-12 10:59:31 +03:00
Ilya Lavrenov
ef29b15c9a
reciprocal
2015-01-12 10:59:30 +03:00
Ilya Lavrenov
44d89638fd
divide
2015-01-12 10:59:30 +03:00