Alexander Alekhin
579a7fff6d
ocl: restore clFinish() in unmap() for AMD devices
...
This reverts commit 7d91b8efcd
.
2014-10-24 14:29:38 +04:00
Maksim Shabunin
071e78d02e
Disabled videoio_video_prop_fps test
...
This test does not return correct values with some software configurations.
Possible problem with ffmpeg on buildbot's linux-slave.
2014-10-24 11:37:15 +04:00
vbystricky
21ad8e92d4
Optimize OpenCL version of StereoBM function
...
Fix problems on NVidia devices.
2014-10-23 20:18:53 +04:00
Alexander Karsakov
3a263c6326
Added tests for Image2D
2014-10-23 14:23:37 +03:00
Maksim Shabunin
e85ae5f2f0
Fixed imgcodecs tests
...
- Imgcodecs_Image, write_imageseq - assuming JPEG images have losses
- Imgcodecs_Drawing, c_regression - replaced assert calls
- Imgcodecs_Drawing - exact comparison with reference image
2014-10-23 12:38:42 +04:00
Miroslav Benes
5b1fd739d9
Add Triangle thresholding algorithm
...
Add Triangle method for automatic threshold computation next to the existing
Otsu's method. Triangle deals better with images whose histogram does not
contain dominant peak.
See paper Zack GW, Rogers WE, Latt SA.: Automatic measurement of sister
chromatid exchange frequency. J Histochem Cytochem. 1977 Jul;25(7):741-53.
2014-10-22 16:54:39 +02:00
Alexander Karsakov
62d4393883
Small optimization for buildMaps kernels in case rowsPerWI > 1
2014-10-22 17:43:29 +03:00
Maksim Shabunin
ba5f343c38
Basic doxygen documentation support
...
- updated existing Doxyfile.in
- added corresponding cmake instructions
- added some specific files (layout, icon)
- clean existing doxygen warnings
2014-10-22 15:24:15 +04:00
Vadim Pisarevsky
e40567eaee
Merge pull request #3352 from alucarded:BackgroundSubtractorMOG2_optimization
2014-10-22 01:55:23 +00:00
vbystricky
a8aa6381d9
Optimize OpenCL version of conversScaleAbs function
2014-10-21 19:20:20 +04:00
Alexander Karsakov
60367907fe
Used direct float calculations
2014-10-21 17:18:03 +03:00
Alexander Karsakov
5aa9ac9a77
Added OCL code for YUV422 -> RGB[A]|BGR[A] color conversion
2014-10-21 17:18:03 +03:00
Alexander Karsakov
c8707b891b
Added OCL code for RGB[A]|BGR[A] -> YUV_[YV12|IYUV] color conversion
2014-10-21 17:18:03 +03:00
Alexander Karsakov
8c91604f5a
Added OCL code for YUV2GRAY_420 color conversion
2014-10-21 17:18:02 +03:00
Alexander Karsakov
1cc17a7186
Added OCL code for YUV2BGR_YV12 and YUV2BGR_IYUV color conversions
2014-10-21 17:18:02 +03:00
Alexander Karsakov
85b60ee3cb
Added support for YUV2RGB[A]_NV21 and YUV2BGR[A]_NV21 conversion
2014-10-21 17:18:02 +03:00
Alexander Alekhin
8ab6852927
added performance validation check
2014-10-21 15:23:19 +04:00
ElenaGvozdeva
070e5ec042
Changed predictOptimalVectorWidth function, now it is possible to choose vector size.
2014-10-21 13:13:15 +03:00
Alexander Alekhin
322593e89f
Merge pull request #3256 from vbystricky:oclopt_BFMatcher
2014-10-21 08:59:23 +00:00
Tomasz Posłuszny
8dd213c829
BackgroundSubtractorMOG2, learningRate=0 optimization
2014-10-20 19:45:31 +02:00
Vadim Pisarevsky
4de9605b7b
Merge pull request #3344 from mshabunin:java_automation
2014-10-20 06:50:34 +00:00
Vadim Pisarevsky
d767c9df58
Merge pull request #3349 from a-wi:DShow_Strsafe_header_v3
2014-10-20 06:49:18 +00:00
Vadim Pisarevsky
926b64fff7
Merge pull request #3292 from mshabunin:fix-ios-warnings
2014-10-20 06:41:51 +00:00
Vadim Pisarevsky
55f490485b
Merge pull request #3348 from vpisarev:refactor_algorithms2
2014-10-18 18:52:35 +00:00
Artur Wieczorek
dcbe797980
Include strsafe.h to compile successfully under MinGW in Debug mode.
2014-10-18 20:38:34 +02:00
Vadim Pisarevsky
dcee883961
fixed MSVC warnings and iOS framework compile error
2014-10-18 21:58:34 +04:00
Vadim Pisarevsky
e4418e186e
Merge pull request #3345 from D-Alex:master
2014-10-18 17:00:31 +00:00
Vadim Pisarevsky
c45d2642ca
Merge pull request #3347 from Nerei:memory_leak_in_viz_opencv30
2014-10-18 16:57:35 +00:00
Vadim Pisarevsky
b37a641cc9
fixed bug in automatic SVM training
2014-10-18 20:53:39 +04:00
Vadim Pisarevsky
d2b9dc5530
quickly corrected the previous refactoring of features2d: moved from set(SOME_PROP, val) to setSomeProp(val)
2014-10-18 20:44:26 +04:00
Anatoly Baksheev
cb95d1df35
viz: fixed memory leak
2014-10-18 18:17:42 +04:00
Alexander Duda
11ebaf673f
fix warning in template Scalar::mul gcc < 4.8
...
In this particular case t shadows transpose of the base class Matx:
types.hpp:1805:14: warning: declaration of ‘t’ shadows a member of
'this' [-Wshadow]
Changelog gcc 4.8: The option -Wshadow no longer warns if a declaration
shadows a function declaration.
This warning is problematic because it prevents the module
opencv_contrib/modules/ruby to pass the build process
2014-10-18 14:22:27 +02:00
vbystricky
3787388eac
Optimize OpenCL version of BFMatcher
2014-10-17 19:48:45 +04:00
Maksim Shabunin
c5a1650ac0
Refactoring in gen_java.py script
2014-10-17 19:36:24 +04:00
Maksim Shabunin
276bed3e4a
final fix
2014-10-17 18:29:30 +04:00
Maksim Shabunin
571ebb2373
Fixing iOS clang warnings, part 3
2014-10-17 18:15:21 +04:00
Maksim Shabunin
ef3d02214b
Fixing iOS clang warnings, part 2
2014-10-17 18:14:54 +04:00
Maksim Shabunin
d3821e8cd7
Forgotten punctuation
2014-10-17 18:14:54 +04:00
Maksim Shabunin
420737e098
Fixing iOS clang warnings, part 1
2014-10-17 18:14:54 +04:00
Maksim Shabunin
630eddf25a
Extracted repeated cmake instruction block
2014-10-17 18:14:53 +04:00
Vadim Pisarevsky
4038beb67e
fixed incorrect array access in solvepnp (which affected debug builds only)
2014-10-17 17:01:39 +04:00
Vadim Pisarevsky
3f37e034a0
another fix in opencv_world
2014-10-17 16:09:09 +04:00
Vadim Pisarevsky
8d9e619412
fixed opencv_world build
2014-10-17 16:05:38 +04:00
Vadim Pisarevsky
1a809ca89b
fixed msvc compile warning
2014-10-17 15:56:27 +04:00
Vadim Pisarevsky
cc11a8d183
Merge branch 'refactor_features2d_take4' of https://github.com/vpisarev/opencv into refactor_features2d_take4
...
Conflicts:
modules/features2d/src/orb.cpp
2014-10-17 15:13:35 +04:00
Vadim Pisarevsky
54e65598bd
fixed error in OpenCL ORB
2014-10-17 15:02:57 +04:00
Vadim Pisarevsky
1176d4ef84
fixed some more compile errors and test failures
2014-10-17 15:02:56 +04:00
Vadim Pisarevsky
9c9ecc22e2
fixed opencv_java build
2014-10-17 14:56:58 +04:00
Vadim Pisarevsky
fa76c634ec
ok; all the tests now pass
2014-10-17 14:56:58 +04:00
Vadim Pisarevsky
01d3848f17
all the tests now pass except for MSER
2014-10-17 14:56:58 +04:00
Vadim Pisarevsky
162384a838
fixed several test failures; currently 9 out of 73 tests fail
2014-10-17 14:56:58 +04:00
Vadim Pisarevsky
06d4aa6060
now all the samples and opencv_contrib compile!
2014-10-17 14:56:58 +04:00
Vadim Pisarevsky
09df1a286b
OpenCV with the refactored features2d compiles! contrib is broken for now; the tests are not tried yet
2014-10-17 14:56:58 +04:00
Vadim Pisarevsky
2e915026a0
yet another attempt to refactor features2d; the first commit, features2d does not even compile
2014-10-17 14:56:58 +04:00
Vadim Pisarevsky
f6f839eb3c
trying to resolve the merge conflict
2014-10-17 14:46:08 +04:00
Vadim Pisarevsky
c5292c2549
fixed error in OpenCL ORB
2014-10-17 14:30:12 +04:00
Vadim Pisarevsky
c422bdc3f8
fixed some more compile errors and test failures
2014-10-17 14:22:02 +04:00
Vadim Pisarevsky
61cddd8b63
fixed opencv_java build
2014-10-16 22:52:04 +04:00
Vadim Pisarevsky
25a7d023dd
ok; all the tests now pass
2014-10-16 21:59:38 +04:00
Vadim Pisarevsky
c5261ea3d2
all the tests now pass except for MSER
2014-10-16 20:58:29 +04:00
Alexander Alekhin
af1d29db83
Merge pull request #3332 from lupustr3:pvlasov/implementation_detector
2014-10-16 14:51:53 +00:00
Vadim Pisarevsky
97a5dd0ead
fixed several test failures; currently 9 out of 73 tests fail
2014-10-16 17:00:40 +04:00
Vadim Pisarevsky
d017faa06c
now all the samples and opencv_contrib compile!
2014-10-16 16:34:22 +04:00
Vadim Pisarevsky
b30ad42609
Merge pull request #3270 from boaz001:patch-1
2014-10-16 10:09:28 +00:00
Boaz Stolk
ae81006eab
Applied proposed fix
2014-10-15 22:36:38 +02:00
Vadim Pisarevsky
5e667ee53a
OpenCV with the refactored features2d compiles! contrib is broken for now; the tests are not tried yet
2014-10-15 22:49:17 +04:00
Pavel Vlasov
45958eaabc
Implementation detector and selector for IPP and OpenCL;
...
IPP can be switched on and off on runtime;
Optional implementation collector was added (switched off by default in CMake). Gathers data of implementation used in functions and report this info through performance TS;
TS modifications for implementations control;
2014-10-15 14:24:41 +04:00
Adrien BAK
5442de7d99
adjust numerical precision for windows build
2014-10-15 12:47:53 +09:00
Adrien BAK
9972059476
suppress warnings
2014-10-14 19:07:15 +09:00
Adrien BAK
53d11f490d
whitespace
2014-10-14 16:45:02 +09:00
Adrien BAK
5c98209127
whitespaces
2014-10-14 16:31:22 +09:00
Adrien BAK
ee210afc44
white space
2014-10-14 16:10:53 +09:00
Adrien BAK
cb76d00f5f
precalculate indices
2014-10-14 16:08:45 +09:00
Adrien BAK
419450689b
remove unnecessary buffer copies
2014-10-14 16:08:45 +09:00
Adrien BAK
b4504639c8
refactor poisson_solver
2014-10-14 16:08:45 +09:00
Adrien BAK
6bfea73716
move calls to ptr<>
2014-10-14 16:08:45 +09:00
Adrien BAK
4a5ea85094
another useless include
2014-10-14 16:08:45 +09:00
Adrien BAK
df312a4ffa
at<> -> ptr<>
2014-10-14 16:08:45 +09:00
Adrien BAK
5a16de2ef6
.size().width -> cols
2014-10-14 16:08:45 +09:00
Adrien BAK
980496bb0e
remove useless include
2014-10-14 16:08:45 +09:00
Adrien BAK
d2719ea92f
change numerical precision because of architecture discrepancy
2014-10-14 16:08:45 +09:00
Adrien BAK
1c75fa7297
norm -> cvtest::norm
2014-10-14 16:08:45 +09:00
Adrien BAK
c6ffa5059d
remove useless includes
2014-10-14 16:08:45 +09:00
Adrien BAK
0f0bda9722
factor conditional save
2014-10-14 16:08:45 +09:00
Adrien BAK
11d89ad7c1
coding guidelines
2014-10-14 16:08:45 +09:00
Adrien BAK
53f4f06a15
remove debugging code
2014-10-14 16:08:45 +09:00
Adrien BAK
c69016467d
replace implementation of dst
2014-10-14 16:08:44 +09:00
Adrien BAK
89e7860572
replace double by float
2014-10-14 16:08:44 +09:00
Adrien BAK
ed9f6a3cb4
simplify a line
2014-10-14 16:08:44 +09:00
Adrien BAK
e46810eabe
this has been submitted to the daily wtf
2014-10-14 16:08:44 +09:00
Adrien BAK
47b01be0a4
replace 8 loops by 2
2014-10-14 16:08:44 +09:00
Adrien BAK
b04d06938d
replace double* by vector<double>
2014-10-14 16:08:44 +09:00
Adrien BAK
a14bfb331d
remove logging
2014-10-14 16:08:44 +09:00
Adrien BAK
a361cc9479
remove some more useless buffers and rename a bunch of variables
2014-10-14 16:08:44 +09:00
Adrien BAK
61fe623cf1
backport bug fix
2014-10-14 16:08:44 +09:00
Adrien BAK
d46c466e20
remove useless buffers
2014-10-14 16:08:44 +09:00
Adrien BAK
89be83e5be
rename variables
2014-10-14 16:08:43 +09:00
Adrien BAK
b3ddc2b9a7
refactor array_product
2014-10-14 16:08:43 +09:00
Adrien BAK
33c15d6309
rename stuff, adds logging and replace shitty else if chain by switch
2014-10-14 16:08:43 +09:00
Adrien BAK
1f6acc23fa
adds header guards + move impl to proper file
2014-10-14 16:08:43 +09:00
Adrien BAK
e8c2f2ee3e
constness
2014-10-14 16:08:43 +09:00
Adrien BAK
2f046ae873
fix grayscale loading
2014-10-14 16:08:43 +09:00
Adrien BAK
63715a899e
fix regressiont ests npr
2014-10-14 16:08:43 +09:00
Adrien BAK
ed0eb139cb
improve decolor tests
2014-10-14 16:08:43 +09:00
Adrien BAK
0a3aab288a
improved cloning test
2014-10-14 16:08:42 +09:00
Vadim Pisarevsky
1796a26fc7
yet another attempt to refactor features2d; the first commit, features2d does not even compile
2014-10-13 23:01:45 +04:00
Vadim Pisarevsky
3b250d6e9c
this is trivial change; the main change is in opencv_extra - added regression data for perf tests
2014-10-11 22:57:22 +04:00
Vadim Pisarevsky
a798386660
Merge pull request #3326 from ilya-lavrenov:neon_canny
2014-10-11 17:58:24 +00:00
Vadim Pisarevsky
1edefac4dc
Merge pull request #3276 from asmorkalov:abidrk/pyStitching
2014-10-11 17:39:55 +00:00
Vadim Pisarevsky
8b7c0a7893
Merge pull request #3308 from edgarriba:master
2014-10-11 17:33:28 +00:00
Vadim Pisarevsky
c37acef077
Merge pull request #3328 from ilya-lavrenov:warp_tests
2014-10-11 17:19:52 +00:00
Vadim Pisarevsky
b4c3f465fb
Merge pull request #3325 from a-wi:Dshow_capture_v3
2014-10-11 16:04:02 +00:00
Ilya Lavrenov
faf91a466c
imrpoved output of warp test in case of failure
2014-10-11 02:35:02 -07:00
edgarriba
4071c4e7c9
Updating to c++ interfaces
2014-10-11 01:44:46 +02:00
Ilya Lavrenov
af04a85303
fixes for cv::accumulate**
2014-10-10 10:00:13 -07:00
Artur Wieczorek
ec93d103b7
Refactored code responsible for printing debug messages in DShow video capture module to reduce footprint in Release mode.
...
Replace printf function used for diagnostic purposes with dedicated DebugPrintOut function to output debug messages. This function is effective only in Debug mode and its body becomes empty in Release mode to reduce footprint.
2014-10-10 17:49:01 +02:00
Vadim Pisarevsky
a3916113b9
Merge pull request #3254 from ilya-lavrenov:neon_scale_add
2014-10-10 14:26:14 +00:00
Ilya Lavrenov
5f23d99918
the rest modes of cv::Mat::convertTo
2014-10-10 14:10:50 +00:00
Vadim Pisarevsky
f6b1c2a0b6
Merge pull request #3324 from akarsakov:fix_lpsolver_tests
2014-10-10 10:59:09 +00:00
Artur Wieczorek
c54928e003
Fixed getting CV_CAP_PROP_FOURCC property value
...
Save selected FCC in order to return proper CV_CAP_PROP_FOURCC property value (currently FCC for RGB24 is always returned).
2014-10-10 08:53:52 +02:00
Artur Wieczorek
efd237b8b8
Fixed media type guid for I420 in DShow capture.
...
FOURCC code bytes should be placed in the reverse order.
2014-10-10 08:53:50 +02:00
Artur Wieczorek
de0b46a765
Fixed selecting media type in DShow video capture.
...
Set correct value of sample size when calling IAMStreamConfig::SetFormat function. For non-RGB media type it can be set to zero value.
(See http://msdn.microsoft.com/en-us/library/windows/desktop/dd373477%28v=vs.85%29.aspx )
2014-10-10 08:53:48 +02:00
Vadim Pisarevsky
ca5e73a9d0
Merge pull request #3283 from abak:fix-cloning-illumination-change-noipp
2014-10-09 14:57:57 +00:00
Vadim Pisarevsky
397870d7a5
Merge pull request #3279 from akarsakov:ocl_houghlines
2014-10-09 14:56:45 +00:00
Vadim Pisarevsky
9575a82a9e
Merge pull request #3299 from felixendres:orb_keypoint_detector_threshold
2014-10-09 14:52:38 +00:00
Vadim Pisarevsky
6fa6e3d3d5
Merge pull request #3301 from MC-Escherichia:fix_gen_javadoc_py_prints
2014-10-09 14:50:36 +00:00
Vadim Pisarevsky
0c1b405964
Merge pull request #3320 from ElenaGvozdeva:gemm_doc
2014-10-09 14:12:51 +00:00
Ilya Lavrenov
4babecf3b0
fixes for cv::addWeighted and cv::Mat::dot
2014-10-09 12:55:52 +00:00
vbystricky
1d280352f4
Add code for print errors of OpenCL kernels runing
2014-10-09 13:59:38 +04:00
Alexander Karsakov
a8169f08fc
Used checking norm of results for LPSolver accuracy tests
2014-10-09 13:32:56 +04:00
ElenaGvozdeva
75601ccf9e
small change in description for Gemm
2014-10-09 11:39:44 +03:00
Ilya Lavrenov
183e378bd0
cv::resize (INTER_LINEAR && INTER_CUBIC)
2014-10-08 13:11:38 -07:00
Ilya Lavrenov
00b8f0dec1
cv::pyrUp
2014-10-08 12:04:49 -07:00
Ilya Lavrenov
48a9905f5d
cv::pyrDown
2014-10-08 11:47:46 -07:00
Alexander Karsakov
dfff9a8125
Added OCL performance test for YUV2RGB_IYUV, YUV2GRAY_420, RGB2YUV_IYUV, YUV2RGB_YUY2, YUV2GRAY_YUY2 color conversion modes
2014-10-08 17:25:51 +04:00
Vadim Pisarevsky
ac730d9f53
Merge pull request #3312 from berak:b_3945_30
2014-10-08 08:40:55 +00:00
Ilya Lavrenov
7166b7b640
cv::cvtColor (RGB2Luv CV_8U)
2014-10-07 13:49:05 -07:00
Ilya Lavrenov
1c1c41d3be
cv::cvtColor (Luv2RGB CV_8U)
2014-10-07 13:35:11 -07:00
Ilya Lavrenov
06461b401a
cv::cvtColor (Lab2BGR CV_8U)
2014-10-07 10:27:28 -07:00
Ilya Lavrenov
71c3e67cb2
cv::cvtColor (HLS2RGB CV_8U)
2014-10-07 15:37:21 +00:00
Ilya Lavrenov
c173d9fa18
cv::cvtColor (RGB2HLS CV_8U)
2014-10-07 15:33:09 +00:00
Ilya Lavrenov
8d367d4b4d
cv::cvtColor (HSV2RGB CV_8U)
2014-10-07 15:25:02 +00:00
Ilya Lavrenov
eb3046f7d3
cv::cvtColor (Gray2RGB5x5)
2014-10-07 14:10:39 +00:00
Alexander Karsakov
66a8acfd3d
Optimization for HoughLinesP
2014-10-07 17:53:33 +04:00
berak
56fcc41d70
bugfix #3945 pass idx,idx1 by reference instead of static vars
2014-10-07 12:19:54 +02:00
Alexander Alekhin
14d5358982
Merge pull request #3210 from akarsakov:ocl_gftt_opt
2014-10-07 09:06:54 +00:00
edgarriba
88aed15ffa
Removing windows compilation crashes
2014-10-07 09:10:03 +02:00
edgarriba
f317d1277f
Merge remote-tracking branch 'upstream/master'
2014-10-06 23:46:30 +02:00
Ilya Lavrenov
f91e461ea0
cv::cvtColor (RGB5x52Gray)
2014-10-06 13:06:08 -07:00
Ilya Lavrenov
a84c4ac197
cv::cvtColor (RGBRGB5x5)
2014-10-06 12:40:41 -07:00
Ilya Lavrenov
b9f57bda05
cv::cvtColor (RGB5x52RGB)
2014-10-06 11:55:12 -07:00
Ilya Lavrenov
28ee84b731
cv::cvtColor (BGR[A]2RGB[A])
2014-10-06 11:18:33 -07:00
edgarriba
2494e028c0
Updating upnp sanity heck
2014-10-06 18:18:03 +02:00
edgarriba
1709421c2c
Updating sanity check
2014-10-06 17:43:01 +02:00
edgarriba
71dd9a6f1b
Updating sanity check
2014-10-06 17:22:43 +02:00
edgarriba
862b675bee
Updating sanity check
2014-10-06 16:23:21 +02:00
edgarriba
f328f9a10d
Removing whitespaces
2014-10-06 14:53:06 +02:00
Ilya Lavrenov
a54f6bb08b
cv::cvtColor
2014-10-06 11:52:41 +00:00
edgarriba
72fb85f6a0
Removing whitespaces
2014-10-06 13:01:23 +02:00
edgarriba
4d54f35a96
Updating documentation
2014-10-06 10:31:50 +02:00
edgarriba
d6bf209bb3
Updating for N=2
2014-10-06 10:28:04 +02:00
Matthew Conway
92efe4534b
update gen_javadoc prints to python3 syntax fixed #3768
2014-10-04 14:48:03 -04:00
Ilya Lavrenov
00f16e9178
neon
2014-10-03 08:43:02 +00:00
edgarriba
dc76ca5fc9
Updating documentation
2014-10-02 21:39:29 +02:00
edgarriba
7520544840
Return the estimated focal length
2014-10-02 17:05:42 +02:00
edgarriba
ea893bf9d9
Updating UPNP documentation
2014-10-02 17:05:06 +02:00
edgarriba
7429454171
Add UPNP acc_test and perf_test
2014-10-02 16:45:59 +02:00
edgarriba
a5b3a205d9
Add UPNP case + Modify model_points
2014-10-02 16:45:04 +02:00
edgarriba
84475ef1de
UPNP code for N=1
2014-10-02 16:43:50 +02:00
edgarriba
71f4894d87
Added UPNP flag
2014-10-02 16:43:15 +02:00
Felix Endres
ee6835492c
Exposing the FAST detector threshold for ORB
...
Implemented as a new optional parameter for
the constructor of the ORB detector. The
change of this parameter has been included
in the orb unit test.
2014-10-02 12:17:01 +02:00
Artur Wieczorek
3a0b375104
Remove ATL dependency from MSMF capture code.
...
Use _com_ptr_t instead of CComPtr in ComPtr wrapper to avoid ATL dependency.
2014-10-01 12:02:28 +02:00
Ilya Lavrenov
6f05a250be
optimization of cv::CLAHE (~3x)
2014-09-30 12:40:11 -07:00
Ilya Lavrenov
af6a64d76b
cv::accumulate functions
2014-09-30 11:07:45 -07:00
Ilya Lavrenov
be3efdf274
cv::sum refactoring
2014-09-30 14:36:21 +00:00
Ilya Lavrenov
a3e56114d1
cv::multiply
2014-09-30 14:20:22 +00:00
Alexander Alekhin
7e8846b81e
Merge pull request #3223 from vbystricky:oclopt_BgSubMOG2
2014-09-30 13:39:20 +00:00
Alexander Alekhin
4d63362206
Merge pull request #3278 from akarsakov:ocl_houghlines_perf_test
2014-09-30 10:49:14 +00:00
Ilya Lavrenov
81548a30aa
cv::medianBLur
2014-09-30 07:59:33 +00:00
Alexander Karsakov
4880dd0cd6
Added performance test for OCL version of HoughLines and HoughLinesP
2014-09-30 11:03:54 +04:00
Adrien BAK
037f27c882
change masking to patchNaNs
2014-09-30 14:58:40 +09:00
Adrien BAK
2411556242
fix photo::cloning::IlluminationChange when IPP is used
2014-09-30 14:28:44 +09:00
Ilya Lavrenov
8e1ccfae3d
cv::boxFilter
2014-09-29 13:54:31 -07:00
Ilya Lavrenov
1c491c42cd
fix for cornerHarris
2014-09-29 14:59:46 +00:00
Alexander Karsakov
eaf5a163b1
Added HoughLinesP OCL implementation
2014-09-29 16:48:16 +04:00
Alexander Karsakov
3695a31606
Combined counter and corner buffers into one
2014-09-29 11:10:57 +04:00
Artur Wieczorek
34533dc569
Use FFMPEG capture only if HAVE_FFMPEG flag is defined.
2014-09-29 00:39:35 +02:00
Artur Wieczorek
655b22e050
Fixed CMake issue with FFMPEG videoio configuration
2014-09-29 00:39:05 +02:00
Ilya Lavrenov
bbc161e1cb
fix for cv::Mat::convertTo with scale
2014-09-28 14:51:30 -07:00
Ilya Lavrenov
f50f0ba63e
cv::norm
2014-09-28 07:28:33 -07:00
Ilya Lavrenov
44ea50f1c4
cv::countNonZero
2014-09-28 07:06:53 -07:00
Ilya Lavrenov
34a571d37f
cv::Mat::dot
2014-09-28 05:00:22 -07:00
Ilya Lavrenov
e46332a183
cv::Mat::convertTo with scale and shift
2014-09-28 03:49:56 -07:00
Ilya Lavrenov
74e60e44ad
cv::compare
2014-09-28 02:41:08 -07:00
Ilya Lavrenov
857a2d5bfd
cv::addWeighted
2014-09-28 01:11:07 -07:00
abidrahmank
797143d515
extending stitching module for Java and Python bindings
2014-09-27 19:35:49 +04:00
Vadim Pisarevsky
e6f653af44
Merge pull request #3269 from asmorkalov:ocv_gstreamer3
2014-09-27 15:25:20 +00:00
Vadim Pisarevsky
f187fd99da
Merge pull request #3271 from mgeorg:reset_ffmpeg_mutex
2014-09-27 13:09:24 +00:00
Vadim Pisarevsky
01a883df0c
Merge pull request #3267 from a-wi:MSMF_capture_fixes_v3
2014-09-27 13:07:12 +00:00
Manfred Georg
8d95c91805
set ffmpeg mutex to NULL on destruction.
2014-09-26 09:44:25 -07:00
Ilya Lavrenov
d090fcf2fe
cv::moments (CV_8UC1)
2014-09-26 14:39:04 +00:00
Ilya Lavrenov
09fbc78a97
cv::threshold
2014-09-26 13:16:48 +00:00
Ilya Lavrenov
b4fc87c380
cv::remap
2014-09-26 10:35:28 +00:00
Ilya Lavrenov
6377f5a458
fixed warps accuracy tests
2014-09-26 09:41:46 +00:00
Ilya Lavrenov
4dd6148646
cv::resize 16uc1
2014-09-26 09:41:46 +00:00
Ilya Lavrenov
c0b702a994
cv::resize area 2x
2014-09-26 09:41:45 +00:00
Ilya Lavrenov
12001a42f9
corners
2014-09-26 09:41:45 +00:00
Ilya Lavrenov
d30ce2b9ac
canny
2014-09-26 09:41:45 +00:00
Maksim Shabunin
047abb0050
Merge pull request #3258 from ilya-lavrenov:neon_convert
2014-09-26 09:27:16 +00:00
Alexander Smorkalov
23456d67e5
Added test on CAP_PROP_FRAMECOUNT option for cv::VideoCapture
2014-09-26 10:50:22 +04:00
Alexander Smorkalov
15251056ba
Fixed compatibility with GStreamer 1.x
2014-09-26 10:45:08 +04:00
Alexander Smorkalov
cc6e6aa028
Fixed query of basic VideoCapture properties. Added tests for them.
2014-09-25 14:40:54 +04:00
Artur Wieczorek
302b138aa7
CMake configuration for MSMF capture
...
Applied in PR3247 to 2.4 branch.
2014-09-25 12:05:54 +02:00
Artur Wieczorek
b91bd6716c
Fixed MSMF file capture error while opening the file containing unsupported video stream format
...
Applied in PR3260 to 2.4 branch
2014-09-25 11:54:15 +02:00
Artur Wieczorek
8f334b4e41
Fixed assertion warning in MSMF frame grabber
...
Applied in PR3251 to 2.4 branch
2014-09-25 11:51:31 +02:00
Artur Wieczorek
7c00b17085
Fixed MSMF video capture initialization
...
Applied in PR3251 to 2.4 branch.
2014-09-25 11:49:31 +02:00
Artur Wieczorek
25cf51637d
Fix linking error under Win 7 - do not import MinCore_Downlevel.lib if target is Win 7 or earlier.
...
Applied in PR3243 to 2.4 branch.
2014-09-25 11:45:11 +02:00
Artur Wieczorek
6ad3427426
Fixed compilation errors under VS 2010 and Win 7
...
Applied in PR3240 to 2.4 branch.
2014-09-25 11:43:13 +02:00
Ilya Lavrenov
345b1369be
correct neon rounding
2014-09-25 07:54:52 +00:00
Vadim Pisarevsky
120594163f
Merge pull request #3249 from mshabunin:java_wrap
2014-09-24 16:58:56 +00:00
Vadim Pisarevsky
541b627d21
Merge pull request #3257 from Atanahel:gbt_bugfix_master
2014-09-24 12:25:18 +00:00
Ilya Lavrenov
5d018c090f
Neon optimization of cv::scaleAdd (CV_32F)
2014-09-23 21:16:29 +04:00
Ilya Lavrenov
4b3f2c1972
Neon optimization of Mat::convertTo
2014-09-23 15:06:17 +00:00
Benoit Seguin
450734cc32
Correction of the integer data treated as floating point data bug, already corrected in the 2.4 branch.
2014-09-23 14:03:20 +02:00
Vadim Pisarevsky
ecbec7235f
Merge pull request #3253 from asmorkalov:ocv_gstreamer2
2014-09-23 11:51:25 +00:00
Alexander Smorkalov
0518455163
More accurate selection of color space conversion element for GStreamer 1.x
2014-09-23 14:18:44 +04:00
Alexander Smorkalov
aa57634213
Fixed compatibility with GStreamer 1.x.
2014-09-23 14:04:53 +04:00
Vadim Pisarevsky
7752483486
Merge pull request #3252 from GravityJack:point-division
2014-09-23 08:43:43 +00:00
Alexander Smorkalov
a419b64347
Fixed GStreamer encoding pipeline frame drop for most cases.
...
For several muxers and encoders GStreamer still drops the last frame.
2014-09-23 12:31:51 +04:00
Vadim Pisarevsky
281ce441a8
Merge pull request #3250 from ilya-lavrenov:neon_convert_scale_abs
2014-09-23 07:15:24 +00:00
vbystricky
a75807354d
Optimize OpenCL version function BackgroundSubstractionMOG2
2014-09-23 10:33:30 +04:00
Marc Rollins
c8ede7c9ea
Updating documentation to reflect division operations.
2014-09-22 12:07:16 -07:00
Marc Rollins
f32a6fb9a1
Adding element-wise division operators to Point3_ class.
2014-09-22 11:59:11 -07:00
Marc Rollins
fb9bbf99c4
Adding division operators to Point_
class.
...
Performs element-wise division.
2014-09-22 11:54:52 -07:00
Ilya Lavrenov
515be70867
Neon optimization of cv::convertScaleAbs
2014-09-22 15:47:46 +00:00
Ilya Lavrenov
27b933ba5a
Neon optimization of cv::sum
2014-09-22 09:22:03 +00:00
Maksim Shabunin
0d7b44db50
Java wrappers now support nested namespaces and classes
...
- wrapper support python3
- added wrapper log
- generating full name for nested namespaces and classes
2014-09-22 11:47:03 +04:00
Maksim Shabunin
6337fd0650
Support of bioinspired contrib module wrapping
...
- added java wrapper
- disabled python wrapper
2014-09-22 11:43:29 +04:00
Maksim Shabunin
2992e3a1b6
Fixed android test detection and some spaces in CMakeLists.txt
2014-09-19 13:11:59 +04:00
Maksim Shabunin
cff5e3ee88
Changed java tests detection procedure
2014-09-19 12:34:42 +04:00
Juan Carlos Niebles
0c988f00bc
Merge github.com:Itseez/opencv
2014-09-18 12:00:28 -05:00
Juan Carlos Niebles
dc49e11527
removed setter methods, replaced by CV_PROP_RW macro
2014-09-18 09:39:35 -05:00
Vadim Pisarevsky
d1afa0e370
Merge pull request #3234 from vpisarev:fixed_photo_test_failure
2014-09-18 13:06:54 +00:00
Vadim Pisarevsky
1578dd1027
Merge pull request #2702 from GregoryMorse:patch-3
2014-09-18 12:38:54 +00:00
Vadim Pisarevsky
06e55ddf38
Merge pull request #2893 from ilya-lavrenov:tapi_vector_width_intel
2014-09-18 12:05:24 +00:00
Vadim Pisarevsky
470f427a95
Merge pull request #3232 from Chuanbo-Weng:master
2014-09-18 11:48:29 +00:00
Vadim Pisarevsky
aa6ba149bc
make sure ptr<> is called with proper parameter, otherwise the assertion fails
2014-09-18 15:47:59 +04:00
Juan Carlos Niebles
f610c88103
extended python interface for KalmanFilter
2014-09-17 18:45:48 -05:00
Vadim Pisarevsky
458bde5e24
Merge pull request #3180 from mshabunin:java_ptr_support
2014-09-17 12:07:43 +00:00
Vadim Pisarevsky
3bc174f1bb
Merge pull request #3230 from znah:ipp_median_fix
2014-09-17 12:06:32 +00:00
Chuanbo Weng
c5552788c5
Use vload to read unaligned data instead of dereference operator.
...
According to opencl 1.2 spec 6.1.5:
For arguments to a __kernel function declared to be a pointer to a
data type, the OpenCL compiler can assume that the pointee is always
appropriately aligned as required by the data type. The behavior of
an unaligned load or store is undefined, except for the
vloadn, vload_halfn, vstoren, and vstore_halfn functions defined in
section 6.12.7.
Original code read data of type T from address not aligned by multiple
of sizeof(T), so the result is incorrect. With this patch, the cases
./opencv_perf_imgproc
--gtest_filter=OCL_ImgSize_TmplSize_Method_MatType_MatchTemplate.MatchTemplate/*
could work well with beignet 0.9.3.
Signed-off-by: Chuanbo Weng <chuanbo.weng@intel.com>
2014-09-17 19:28:07 +08:00
Vadim Pisarevsky
4a0364ded5
Merge pull request #3220 from asmorkalov:ocv_gstreamer
2014-09-17 09:55:49 +00:00
Vadim Pisarevsky
d14d4bc110
Merge pull request #3215 from dmitrygribanov:dg/stitching-wave-correction-bugfix
2014-09-17 09:52:34 +00:00
Vadim Pisarevsky
550bd24ca8
Merge pull request #3226 from whoshuu:patch-1
2014-09-17 09:52:01 +00:00
Alexander Mordvintsev
0319120adc
fix: ippiFilterMedianBorder sometimes crash when doing in-place filtering
2014-09-17 13:26:39 +04:00
Philipp Hasper
68fe45b594
Doc: Fixing indentation
2014-09-17 09:29:17 +02:00
Huu Nguyen
81b9be1623
Fix implicit narrowing error in initializer list
...
The implicit narrowing in the initializer list throws a compiler error for some compilers with C++11 support turned on. The specific error message is: "error: narrowing conversion of 'PyInt_AsLong(((PyObject*)o))' from 'long int' to 'double' inside { }".
Tested on Clang 5.1.0 and Mac OS X 10.9.4.
2014-09-16 15:30:10 -07:00
Alexander Alekhin
4689426a91
Merge pull request #3208 from vbystricky:oclopt_Filter2D
2014-09-16 13:03:45 +00:00
Alexander Smorkalov
38887e6ea9
Code review fixes.
2014-09-16 14:52:41 +04:00
Alexander Smorkalov
3ea8be7292
Several fixes for GStreamer support in OpenCV
...
- Accurate ASYC task handling for both GStreamer generations.
- Correct video duration request for videos.
- More accurate pipeline destruction.
- Correct color space conversion plugin for GStreamer 1.0.
2014-09-15 13:47:09 +04:00
Vadim Pisarevsky
c445ce6125
Merge pull request #3218 from berak:docfix_colormap_30
2014-09-15 07:34:16 +00:00
berak
ad20feaca0
small corrections to applyColorMap docs
2014-09-14 21:15:48 +02:00
Vadim Pisarevsky
4057e27539
Merge pull request #3126 from avdmitry:move_KDTree_to_ml
2014-09-14 18:57:23 +00:00
Vadim Pisarevsky
e5ab0ac294
Merge pull request #3201 from PhilLab:patch-3
2014-09-14 18:49:35 +00:00
Vadim Pisarevsky
e810f3052d
Merge pull request #3206 from stonier:parallel_qt
2014-09-14 18:48:51 +00:00
Vadim Pisarevsky
8d61ecbc4d
Merge pull request #3205 from parafin:ximea_unix-3.0
2014-09-14 18:44:41 +00:00
Vadim Pisarevsky
87f0010f42
Merge pull request #3203 from parafin:bug_3858-3.0
2014-09-14 18:44:06 +00:00
Dmitriy Anisimov
a6b29be55b
minor change: moved algorithm type to the end of params
2014-09-13 15:06:07 +04:00
Dmitry Gribanov
ee0da48bd2
Feature based stitching's wave correction bugfix.
...
When we have similar matrices in input, then algorithm returns matrices
with NaN values.
2014-09-12 18:07:54 +04:00
Maksim Shabunin
88aea1d52f
Stripped iCCP chunk from png files
2014-09-12 16:30:23 +04:00
Andrey Pavlenko
79f593a429
Merge pull request #3198 from mshabunin:java_test_fix
2014-09-11 16:15:25 +00:00
Alexander Karsakov
8c08714b8c
Remove two "set" kernel call
2014-09-11 18:11:23 +04:00
vbystricky
b0bf8478e5
Optimization OpenCL version of Filter2D
2014-09-11 12:59:51 +04:00
Maksim Shabunin
39874ef742
Fixed some failing java tests
...
- fixed lena.png extension
- fixed getTextSize wrapper
- added junit html report generation
2014-09-11 11:56:05 +04:00
GregoryMorse
b5a4159efc
Add support for WinRT in the MF capture framework by removing the disallowed calls to enumerate devices and create a sample grabber sink and adding framework for the MediaCapture interface and a custom sink which interfaces with the sample grabber callback interface. The change requires discussion for making it completely functional as redundancy is required given that if the source is a video file, the old code pathways must be used. Otherwise all IMFMediaSession, IMFMediaSource, and IMFActivate code must use a MediaCapture code path and all sink code must use the CMediaSink custom sink.
...
Support for the custom sink is extended to non-WinRT not for compatibility as Windows Vista client is a minimum regardless, but because it offers more flexibility, could be faster and is able to be used as an optionally different code path during sink creation based on a future configuration parameter.
My discussion and proposal to finish this change:
Devices are so easily enumerated through WinRT Windows.Devices namespace that wrapping the calls in a library is quite a chore for little benefit though to get the various modes and formats could still be a worthwhile project. For now conditional compilation to remove videodevices and any offending non-video file related activity in videodevice. In my opinion, this is a different , far less fundamental and important change which can possibly be done as a future project and also much more easily implemented in C++/CX.
ImageGrabber has the IMFSampleGrabberSinkCallback replaced with a base class (SharedSampleGrabber) which also be is base class for ImageGrabberRT. This change is necessary as the custom sink does not require a thread to pump events which is done through MediaCapture already. IMFSampleGrabberSinkCallback is the common element between both models and that piece can be shared. Initializing the new ImageGrabberRT is as simple as passing an already initialized MediaCapture object and any video format/encoding parameters.
The concurrency event is necessary to wait for completion and is the way the underlying, IAsyncAction wrappers in the task library work as well. Native WIN32 event objects would be an option if HAVE_CONCURRENCY is not defined. I could even imagine doing it with sleep/thread yield and InterlockedCompareExchange yet I am not enthusiastic about that approach either. Since there is a specific compiler HAVE_ for concurrency, I do not like pulling it in though I think for WinRT it is safe to say we will always have it available though should probably conditionally compile with the Interlocked option as WIN32 events would require HAVE_WIN32.
It looks like C++/CX cannot be used for the IMediaExtension sink (which should not be a problem) as using COM objects requires WRL and though deriving from IMediaExtension can be done, there is little purpose without COM. Objects from C++/CX can be swapped to interact with objects from native C++ as Inspectable* can reinterpret_cast to the ref object IInspectable^ and vice-versa. A solution to the COM class with C++/CX would be great so we could have dual support. Also without #define for every WRL object in use, the code will get quite muddy given that the */^ would need to be ifdef'd everywhere.
Fixed bugs and completed the change. I believe the new classes need to be moved to a header file as the file has become to large and more classes need to be added for handling all the asynchronous problems (one wrapping IAsyncAction in a task and another for making a task out of IAsyncAction). Unfortunately, blocking on the UI thread is not an option in WinRT so a synchronous architecture is considered "illegal" by Microsoft's standards even if implementable (C++/CX ppltasks library throws errors if you try it). Worse, either by design or a bug in the MF MediaCapture class with Custom Sinks causes a crash if stop/start previewing without reinitializing (spPreferredPreviewMediaType is fatally nulled). After decompiling Windows.Media.dll, I worked around this in my own projects by using an activate-able custom sink ID which strangely assigns 1 to this pointer allowing it to be reinitialized in what can only be described as a hack by Microsoft. This would add additional overhead to the project to implement especially for static libraries as it requires IDL/DLL exporting followed by manifest declaration. Better to document that it is not supported.
Furthermore, an additional class for IMFAttributes should be implemented to make clean architecture for passing around attributes as opposed to directly calling non-COM interface calls on the objects and making use of SetProperties which would also be a set up for an object that uses the RuntimeClass activation ID.
The remaining changes are not difficult and will be complete soon along with debug tracing messages.
Update and rename cap_msmf.h to cap_msmf.hpp
Successful test - samples are grabbed
Library updated and cleaned up with comments, marshaling, exceptions and linker settings
Fixed trailing whitespace
VS 2013 support and cleanup consistency plus C++/CX new object fixed
Conflicts:
modules/highgui/src/cap_msmf.cpp
modules/highgui/src/cap_msmf.hpp
modules/highgui/src/ppltasks_winrt.h
Fix merge conflicts
VS 2013 Update 2 library bug fix integrated
a-wi's changed integrated
2014-09-10 17:05:52 +08:00
Vadim Pisarevsky
2e950eb41b
Merge pull request #3196 from PhilLab:patch-4
2014-09-10 07:56:13 +00:00
Daniel Stonier
d3ad26926d
fixed support for parallelised imshows with qt via the gui receiver.
2014-09-10 03:29:17 +09:00
Igor Kuzmin
ed402c5be6
XIMEA cam support: allow on OS X too
2014-09-09 19:25:14 +04:00
Igor Kuzmin
4d45a2c43f
XIMEA cam support: use correct library for 64 bit Linux
2014-09-09 19:24:16 +04:00
Igor Kuzmin
74827c35ff
fix for issue 3858 (remove unneeded #include's)
...
also use correct include path on Linux
2014-09-09 19:22:20 +04:00
Philipp Hasper
62c704d1e9
Updated PnP parameter documentation
2014-09-09 12:24:05 +02:00
Andrey Pavlenko
a8db3df8f6
typo: rect -> roi
2014-09-09 12:25:14 +04:00
Maksim Shabunin
93c03ef05b
Fixed android java test build
2014-09-08 19:21:32 +04:00
Maksim Shabunin
b3bae170ed
Fixed java tests build
...
- disabled xfeature2d dependency for java wrappers
- fixed java wrappers build after cmake rerun
- disabled opencv_ml tests temporarily
- fixed Imgproc usage in java tests
2014-09-08 18:30:03 +04:00
Andrey Pavlenko
43714b9d03
disabling java bindings for xfeatures2d module due to build errors
2014-09-08 18:30:03 +04:00
Philipp Hasper
cc7aa5890d
Fixing documentation links
2014-09-08 14:41:29 +02:00
Alexander Karsakov
c942c6539a
Remove mul24 since id can be larger 2^23
2014-09-08 13:11:58 +04:00
Dmitriy Anisimov
dfaf75f502
moving algorithm type to param
2014-09-06 09:29:32 +04:00
Alexander Karsakov
39b27a19be
Refactoring and optimization
2014-09-05 12:20:29 +04:00
Alexander Karsakov
d59a6fa518
Optimization for getLines
2014-09-05 11:37:16 +04:00
Vadim Pisarevsky
618c75fe3d
Merge pull request #3182 from berak:videowriter_docfix_30
2014-09-04 17:09:18 +00:00
Vadim Pisarevsky
26c284b225
Merge pull request #3167 from akarsakov:ocl_rm_clFinish
2014-09-04 17:00:10 +00:00
berak
5f9d5c483c
adding fourcc to VideoWriter docs
...
underline
2014-09-04 16:09:22 +02:00
Alexander Karsakov
fee8f29f48
Refactoring, minor optimization
2014-09-04 16:31:30 +04:00
Vadim Pisarevsky
ffd1df0cb5
Merge pull request #3186 from akarsakov:ocl_fixes
2014-09-04 08:54:24 +00:00
Vadim Pisarevsky
64a53de27d
Merge pull request #3185 from ElenaGvozdeva:ocl_norm
2014-09-04 08:53:47 +00:00
Ilya Lavrenov
98e7d4ceec
changed optimal vector width for Intel
2014-09-04 11:59:41 +04:00
Elena Gvozdeva
9fe11db7e2
disabled IPP acceleration for 3-channel norms and for CV_8S only for APPLE
2014-09-04 10:38:45 +04:00
Alexander Karsakov
07d57db91c
Fixed calculation of l_stack_size
2014-09-03 17:40:17 +04:00
Alexander Karsakov
7d91b8efcd
Removed redundant clFinish() after clEnqueueUnmapMemObject()
...
sss
2014-09-03 14:54:05 +04:00