platform/upstream/opencv.git
9 years agoFixed tabs in whitespace.
Dan Moodie [Thu, 24 Sep 2015 18:29:17 +0000 (14:29 -0400)]
Fixed tabs in whitespace.

9 years agoMissed one conversion of CV_TYPE to cv::DataType
Dan [Thu, 24 Sep 2015 14:01:26 +0000 (10:01 -0400)]
Missed one conversion of CV_TYPE to cv::DataType

9 years agoimproved comments.
Dan [Thu, 24 Sep 2015 13:19:37 +0000 (09:19 -0400)]
improved comments.

9 years agoImproved thrust interop tutorial.
Dan [Wed, 16 Sep 2015 16:03:35 +0000 (12:03 -0400)]
Improved thrust interop tutorial.

9 years agoAdded thrust tutorial.
Dan [Tue, 15 Sep 2015 16:17:30 +0000 (12:17 -0400)]
Added thrust tutorial.

9 years agoAdded tutorials for using thrust.
Dan [Wed, 9 Sep 2015 15:54:42 +0000 (11:54 -0400)]
Added tutorials for using thrust.

9 years agoMerge pull request #5396 from alalek:pr_5377_squashed
Alexander Alekhin [Thu, 24 Sep 2015 12:33:42 +0000 (12:33 +0000)]
Merge pull request #5396 from alalek:pr_5377_squashed

9 years agoMerge pull request #5363 from avershov:opencl-vaapi-detect
Alexander Alekhin [Thu, 24 Sep 2015 12:32:03 +0000 (12:32 +0000)]
Merge pull request #5363 from avershov:opencl-vaapi-detect

9 years agofindChessboardCorners causes crash due to out-of-bounds memory corruption.
robertxwu [Fri, 28 Aug 2015 01:14:08 +0000 (18:14 -0700)]
findChessboardCorners causes crash due to out-of-bounds memory corruption.

Refer to the following issue for detail:
https://github.com/Itseez/opencv/issues/5145

9 years agochanged device detection procedure, added resizing surface to bigger size
Alexey Ershov [Thu, 17 Sep 2015 23:25:49 +0000 (02:25 +0300)]
changed device detection procedure, added resizing surface to bigger size
removed unused context_id2; changed blur size 7x7 to 3x3; added short comments
removed unnecessary call to convertFromVASurface()
replaced dumpSurface() with writeImage()
added infile cmdline parameter, input image loaded by imread()

9 years agoMerge pull request #5382 from paroj:parserthrow
Alexander Alekhin [Wed, 23 Sep 2015 10:18:00 +0000 (10:18 +0000)]
Merge pull request #5382 from paroj:parserthrow

9 years agoMerge pull request #5379 from sturkmen72:patch-9
Alexander Alekhin [Wed, 23 Sep 2015 10:15:03 +0000 (10:15 +0000)]
Merge pull request #5379 from sturkmen72:patch-9

9 years agoenable additional CommandLineParser tests
Pavel Rojtberg [Tue, 22 Sep 2015 15:02:58 +0000 (17:02 +0200)]
enable additional CommandLineParser tests

9 years agoCommandLineParser: throw on programmer error
Pavel Rojtberg [Tue, 22 Sep 2015 10:16:09 +0000 (12:16 +0200)]
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.

9 years agocmdparser: allow empty strings
Alexander Alekhin [Tue, 22 Sep 2015 12:15:38 +0000 (15:15 +0300)]
cmdparser: allow empty strings

9 years agofix perf tests
Alexander Alekhin [Tue, 22 Sep 2015 12:02:43 +0000 (15:02 +0300)]
fix perf tests

9 years agoMerge pull request #5383 from alalek:fix_tests
Alexander Alekhin [Tue, 22 Sep 2015 12:11:22 +0000 (12:11 +0000)]
Merge pull request #5383 from alalek:fix_tests

9 years agofix perf tests
Alexander Alekhin [Tue, 22 Sep 2015 12:02:43 +0000 (15:02 +0300)]
fix perf tests

9 years agoMerge pull request #5320 from berak:lda_fix
Vadim Pisarevsky [Tue, 22 Sep 2015 10:38:46 +0000 (10:38 +0000)]
Merge pull request #5320 from berak:lda_fix

9 years agoMerge pull request #5376 from lupustr3:pvlasov/compare_16s_fix
Alexander Alekhin [Tue, 22 Sep 2015 10:19:52 +0000 (10:19 +0000)]
Merge pull request #5376 from lupustr3:pvlasov/compare_16s_fix

9 years agoFix for cmp16s condition during IPP compare type convert;
Pavel Vlasov [Mon, 21 Sep 2015 15:11:20 +0000 (18:11 +0300)]
Fix for cmp16s condition during IPP compare type convert;

9 years agoMerge pull request #5371 from Dikay900:ports_to_master
Alexander Alekhin [Mon, 21 Sep 2015 13:52:45 +0000 (13:52 +0000)]
Merge pull request #5371 from Dikay900:ports_to_master

9 years agoMerge pull request #5372 from alalek:cmd_tests
Alexander Alekhin [Mon, 21 Sep 2015 13:52:26 +0000 (13:52 +0000)]
Merge pull request #5372 from alalek:cmd_tests

9 years agoMerge pull request #5346 from art-programmer:art-programmer-patch-1
Vadim Pisarevsky [Mon, 21 Sep 2015 12:06:46 +0000 (12:06 +0000)]
Merge pull request #5346 from art-programmer:art-programmer-patch-1

9 years agoMerge pull request #5324 from mshabunin:hal-tests
Vadim Pisarevsky [Mon, 21 Sep 2015 12:04:01 +0000 (12:04 +0000)]
Merge pull request #5324 from mshabunin:hal-tests

9 years agoMerge pull request #5344 from psalvaggio:master
Vadim Pisarevsky [Mon, 21 Sep 2015 11:53:41 +0000 (11:53 +0000)]
Merge pull request #5344 from psalvaggio:master

9 years agoMerge pull request #5341 from blebo:py3compat
Alexander Alekhin [Mon, 21 Sep 2015 11:47:26 +0000 (11:47 +0000)]
Merge pull request #5341 from blebo:py3compat

9 years agoMerge pull request #5358 from StevenPuttemans:contributing_guidelines_master
Vadim Pisarevsky [Mon, 21 Sep 2015 11:45:29 +0000 (11:45 +0000)]
Merge pull request #5358 from StevenPuttemans:contributing_guidelines_master

9 years agochanges to reflect 3.0 status
Dikay900 [Sat, 19 Sep 2015 12:15:40 +0000 (14:15 +0200)]
changes to reflect 3.0 status

9 years agoOnly conflict with packages corresponding to modules that are built
Roman Donchenko [Wed, 26 Aug 2015 10:42:21 +0000 (13:42 +0300)]
Only conflict with packages corresponding to modules that are built

9 years agoAdd missing packages to the Debian conflict list
Roman Donchenko [Tue, 25 Aug 2015 15:50:06 +0000 (18:50 +0300)]
Add missing packages to the Debian conflict list

And refactor the code to make sure that the dev and runtime package lists are
in sync.

9 years agoDebian packages header update to fix conflict with OpenCV from deb repo.
Alexander Smorkalov [Thu, 4 Jun 2015 12:42:27 +0000 (15:42 +0300)]
Debian packages header update to fix conflict with OpenCV from deb repo.

9 years agoAdded explicit deb package dependency from libtbb-dev if TBB is enabled.
Alexander Smorkalov [Wed, 6 May 2015 10:10:39 +0000 (13:10 +0300)]
Added explicit deb package dependency from libtbb-dev if TBB is enabled.

9 years agoPR #4003
Dikay900 [Sat, 19 Sep 2015 12:05:38 +0000 (14:05 +0200)]
PR #4003

9 years agoexclude dates from report names
Vladislav Vinogradov [Tue, 19 May 2015 15:23:10 +0000 (18:23 +0300)]
exclude dates from report names

9 years agosave tests console output to separate log files
Vladislav Vinogradov [Tue, 19 May 2015 15:22:30 +0000 (18:22 +0300)]
save tests console output to separate log files

9 years agocheck that current directory has write access
Vladislav Vinogradov [Tue, 19 May 2015 15:17:28 +0000 (18:17 +0300)]
check that current directory has write access

9 years agoAdd ARM64 packaging support
Roman Donchenko [Mon, 8 Jun 2015 15:01:24 +0000 (18:01 +0300)]
Add ARM64 packaging support

9 years agoSet CPACK_DEBIAN_PACKAGE_ARCHITECTURE instead of CPACK_DEBIAN_ARCHITECTURE
Roman Donchenko [Mon, 8 Jun 2015 13:08:58 +0000 (16:08 +0300)]
Set CPACK_DEBIAN_PACKAGE_ARCHITECTURE instead of CPACK_DEBIAN_ARCHITECTURE

Because that's the variable actually used by CPack.

9 years agoAdded test of minMaxLoc on filling with maximums of int
Gleb Gladilov [Tue, 21 Jul 2015 15:08:30 +0000 (18:08 +0300)]
Added test of minMaxLoc on filling with maximums of int

9 years agoFixed minMaxLoc and test functions
Gleb Gladilov [Mon, 20 Jul 2015 12:10:46 +0000 (15:10 +0300)]
Fixed minMaxLoc and test functions

9 years agoResize area result verification moved to the separate function
Vitaly Tuzov [Fri, 31 Jul 2015 12:01:33 +0000 (15:01 +0300)]
Resize area result verification moved to the separate function

fix position of assert expected/actual parameter

9 years agoAdded more resize_area tests to ensure right rounding behavior for half and quarter...
Vitaly Tuzov [Thu, 30 Jul 2015 15:42:29 +0000 (18:42 +0300)]
Added more resize_area tests to ensure right rounding behavior for half and quarter downscaling

9 years agodo not proceed with removing zero-length slice
Elena Shipunova [Mon, 7 Sep 2015 10:50:30 +0000 (13:50 +0300)]
do not proceed with removing zero-length slice

9 years agoMerge pull request #5361 from alalek:update_ffmpeg_support
Alexander Alekhin [Mon, 21 Sep 2015 10:48:41 +0000 (10:48 +0000)]
Merge pull request #5361 from alalek:update_ffmpeg_support

9 years agoMerge pull request #5366 from taketwo:use-stream-in-bilateral-filter
Alexander Alekhin [Mon, 21 Sep 2015 10:47:12 +0000 (10:47 +0000)]
Merge pull request #5366 from taketwo:use-stream-in-bilateral-filter

9 years agoMerge pull request #5329 from paroj:cliparser
Alexander Alekhin [Mon, 21 Sep 2015 09:46:54 +0000 (09:46 +0000)]
Merge pull request #5329 from paroj:cliparser

9 years agoremove usage of obsolete _dataAsRows flag
berak [Tue, 8 Sep 2015 12:45:13 +0000 (14:45 +0200)]
remove usage of obsolete _dataAsRows flag

9 years agoUpdate window_w32.cpp
Suleyman TURKMEN [Sun, 20 Sep 2015 21:34:15 +0000 (00:34 +0300)]
Update window_w32.cpp

9 years agoadd some CommandLineParser tests
Alexander Alekhin [Sun, 20 Sep 2015 10:14:41 +0000 (13:14 +0300)]
add some CommandLineParser tests

9 years agots/ts_perf: fix wrong has() usage
Pavel Rojtberg [Thu, 17 Sep 2015 09:57:00 +0000 (11:57 +0200)]
ts/ts_perf: fix wrong has() usage

`has()` only tests for an argument presence which is always true for
arguments with default values. Use `get<bool>()` to check the value
instead.

9 years agohas() should only test for the presence of the argument
Pavel Rojtberg [Tue, 15 Sep 2015 12:54:02 +0000 (14:54 +0200)]
has() should only test for the presence of the argument

and not consider its value. treat arguments with a set default value as
present.

9 years agodo not parse empty default values and improve error messages
Pavel Rojtberg [Thu, 10 Sep 2015 16:22:35 +0000 (18:22 +0200)]
do not parse empty default values and improve error messages

9 years agoMerge pull request #5349 from lupustr3:pvlasov/tls_update
Alexander Alekhin [Fri, 18 Sep 2015 14:39:08 +0000 (14:39 +0000)]
Merge pull request #5349 from lupustr3:pvlasov/tls_update

9 years agoMerge pull request #5355 from renatoGarcia:master
Alexander Alekhin [Fri, 18 Sep 2015 13:38:29 +0000 (13:38 +0000)]
Merge pull request #5355 from renatoGarcia:master

9 years agoMerge pull request #5343 from paroj:boolean_algebra
Alexander Alekhin [Fri, 18 Sep 2015 12:06:31 +0000 (12:06 +0000)]
Merge pull request #5343 from paroj:boolean_algebra

9 years agoUse stream argument when launching bilateral filter kernel
Sergey Alexandrov [Fri, 18 Sep 2015 11:12:58 +0000 (13:12 +0200)]
Use stream argument when launching bilateral filter kernel

9 years agoMerge pull request #5335 from Dikay900:ports_to_master
Alexander Alekhin [Fri, 18 Sep 2015 11:06:07 +0000 (11:06 +0000)]
Merge pull request #5335 from Dikay900:ports_to_master

9 years agosimplify error conditions
Pavel Rojtberg [Mon, 14 Sep 2015 13:15:24 +0000 (15:15 +0200)]
simplify error conditions

`A || !A` is `true` so write `(A && B) || !A` as `B || !A`

9 years agoupdate ffmpeg support
jisli [Tue, 8 Sep 2015 23:35:40 +0000 (16:35 -0700)]
update ffmpeg support

Migration have been done for these ffmpeg/libav changes:

2013-12-11 - 29c83d2 / b9fb59d,409a143 / 9431356,44967ab / d7b3ee9 - lavc 55.45.101 / 55.28.1 - avcodec.h
  av_frame_alloc(), av_frame_unref() and av_frame_free() now can and should be
  used instead of avcodec_alloc_frame(), avcodec_get_frame_defaults() and
  avcodec_free_frame() respectively. The latter three functions are deprecated.

2012-10-08 - ae77266 / 78071a1 - lavu 51.74.100 / 51.42.0 - pixfmt.h
  Rename PixelFormat to AVPixelFormat and all PIX_FMT_* to AV_PIX_FMT_*.
  To provide backwards compatibility, PixelFormat is now #defined as
  AVPixelFormat.
  Note that this can break user code that includes pixfmt.h and uses the
  'PixelFormat' identifier. Such code should either #undef PixelFormat
  or stop using the PixelFormat name.

9 years agoTLS keys leak fix;
Pavel Vlasov [Wed, 16 Sep 2015 11:00:36 +0000 (14:00 +0300)]
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;

9 years agoadd link to contributing guidelines
StevenPuttemans [Thu, 17 Sep 2015 12:15:20 +0000 (14:15 +0200)]
add link to contributing guidelines

9 years agoCorrect a typo.
Renato Florentino Garcia [Thu, 17 Sep 2015 00:16:23 +0000 (21:16 -0300)]
Correct a typo.

9 years agoUpdate em.cpp
art-programmer [Tue, 15 Sep 2015 00:35:53 +0000 (19:35 -0500)]
Update em.cpp

Fix a bug. When reading from a saved model, function decomposeCovs() will be called. And if covMatType is COV_MAT_DIAGONAL, covsEigenValues is computed using SVD and eigen values are sorted so that the order of eigen values is not preserved. This would lead to different result when calling function predict2. This issues is discussed here: http://stackoverflow.com/questions/23485982/got-different-empredict-results-after-emread-saved-model-in-opencv.

9 years agoImproved documentation for connectedComponentsWithStats.
Philip Salvaggio [Mon, 14 Sep 2015 13:25:32 +0000 (09:25 -0400)]
Improved documentation for connectedComponentsWithStats.

9 years agoMerge pull request #5272 from avershov:opencl-vaapi-fallback
Vadim Pisarevsky [Mon, 14 Sep 2015 11:54:20 +0000 (11:54 +0000)]
Merge pull request #5272 from avershov:opencl-vaapi-fallback

9 years agoMerge pull request #5333 from UnaNancyOwen:fix3_LineAA
Vadim Pisarevsky [Mon, 14 Sep 2015 11:49:14 +0000 (11:49 +0000)]
Merge pull request #5333 from UnaNancyOwen:fix3_LineAA

9 years agoMerge pull request #5337 from Dikay900:tbb_cmake_visibility
Vadim Pisarevsky [Mon, 14 Sep 2015 11:47:04 +0000 (11:47 +0000)]
Merge pull request #5337 from Dikay900:tbb_cmake_visibility

9 years agoMerge pull request #5339 from blebo:patch-1
Vadim Pisarevsky [Mon, 14 Sep 2015 11:46:35 +0000 (11:46 +0000)]
Merge pull request #5339 from blebo:patch-1

9 years agoWarning fix
Maksim Shabunin [Mon, 14 Sep 2015 09:15:56 +0000 (12:15 +0300)]
Warning fix

9 years agoRemoved trailing whitespace from squares.py compatibility comment.
Adam Gibson [Mon, 14 Sep 2015 05:03:16 +0000 (13:03 +0800)]
Removed trailing whitespace from squares.py compatibility comment.

9 years agoReverted _doc.py to Python 2-only version. Interim measure to prevent docs from faili...
Adam Gibson [Mon, 14 Sep 2015 04:24:08 +0000 (12:24 +0800)]
Reverted _doc.py to Python 2-only version. Interim measure to prevent docs from failing during build, until all samples are updated with Python 2/3 compatibility.

9 years agoCorrection of minor typo.
Adam [Sun, 13 Sep 2015 16:12:06 +0000 (00:12 +0800)]
Correction of minor typo.

9 years agoVarious Python samples updated for Python 2/3 compatibility.
Adam Gibson [Sun, 13 Sep 2015 16:00:22 +0000 (00:00 +0800)]
Various Python samples updated for Python 2/3 compatibility.

9 years agofix for corrent modules dependencies
Ilya Lavrenov [Wed, 2 Sep 2015 15:15:05 +0000 (18:15 +0300)]
fix for corrent modules dependencies

9 years agofixed uninitialized memory writing/reading in flann
Ilya Lavrenov [Thu, 3 Sep 2015 10:25:29 +0000 (13:25 +0300)]
fixed uninitialized memory writing/reading in flann

9 years agoinitialize padding of CvString with zeros
Ilya Lavrenov [Thu, 3 Sep 2015 14:21:04 +0000 (17:21 +0300)]
initialize padding of CvString with zeros

9 years agofixed "Conditional jump or move depends on uninitialised value(s)" in GBD
Ilya Lavrenov [Tue, 1 Sep 2015 10:22:49 +0000 (13:22 +0300)]
fixed "Conditional jump or move depends on uninitialised value(s)" in GBD

9 years agofixed memory leak in GBTrees
Ilya Lavrenov [Tue, 1 Sep 2015 08:40:23 +0000 (11:40 +0300)]
fixed memory leak in GBTrees

9 years agofixed memory leak in descriptor regression tests
Ilya Lavrenov [Mon, 31 Aug 2015 14:30:42 +0000 (17:30 +0300)]
fixed memory leak in descriptor regression tests

9 years agofixed memory leaks in modules/features2d/test/test_nearestneighbors.cpp
Ilya Lavrenov [Mon, 31 Aug 2015 14:20:52 +0000 (17:20 +0300)]
fixed memory leaks in modules/features2d/test/test_nearestneighbors.cpp

9 years agoproposed change by psyill
Dikay900 [Sat, 12 Sep 2015 10:19:44 +0000 (12:19 +0200)]
proposed change by psyill

9 years agofixed memory leak caused by illegal memory access
Ilya Lavrenov [Thu, 20 Aug 2015 10:28:10 +0000 (13:28 +0300)]
fixed memory leak caused by illegal memory access

9 years agofixed "Conditional jump or move depends on uninitialised value" warning
Ilya Lavrenov [Thu, 20 Aug 2015 09:20:38 +0000 (12:20 +0300)]
fixed "Conditional jump or move depends on uninitialised value" warning

9 years agotypo
Ilya Lavrenov [Sun, 16 Aug 2015 08:46:48 +0000 (11:46 +0300)]
typo

9 years agofixed typo
Ilya Lavrenov [Sat, 15 Aug 2015 13:25:25 +0000 (16:25 +0300)]
fixed typo

9 years agofixed memory leaks in warpAffine tests
Ilya Lavrenov [Sat, 15 Aug 2015 07:11:52 +0000 (10:11 +0300)]
fixed memory leaks in warpAffine tests

9 years agofixed memory leaks in floodfill tests
Ilya Lavrenov [Sat, 15 Aug 2015 07:09:31 +0000 (10:09 +0300)]
fixed memory leaks in floodfill tests

9 years agofixed memory leaks in cvtyuv tests
Ilya Lavrenov [Sat, 15 Aug 2015 07:06:09 +0000 (10:06 +0300)]
fixed memory leaks in cvtyuv tests

9 years agofixed memory leak in core ds tests
Ilya Lavrenov [Fri, 14 Aug 2015 21:35:38 +0000 (00:35 +0300)]
fixed memory leak in core ds tests

9 years agofixed valgrind warning in polylines
Ilya Lavrenov [Fri, 14 Aug 2015 14:57:54 +0000 (17:57 +0300)]
fixed valgrind warning in polylines

9 years agoFix LineAA in case of 4 channel
Tsukasa Sugiura [Fri, 11 Sep 2015 16:42:25 +0000 (01:42 +0900)]
Fix LineAA in case of 4 channel

Fix bug when enter 4 channel image to LineAA function.

9 years agoNearestNeighborTest: use ts->get_rng() instead of (implicit) theRNG()
Roman Donchenko [Thu, 30 Jul 2015 15:03:48 +0000 (18:03 +0300)]
NearestNeighborTest: use ts->get_rng() instead of (implicit) theRNG()

This ensures that test data is not dependent on the order the tests are
executed in.

9 years agoflann: fix AutotunedIndex crashing if a KDTree index is selected
Roman Donchenko [Wed, 29 Jul 2015 15:03:48 +0000 (18:03 +0300)]
flann: fix AutotunedIndex crashing if a KDTree index is selected

Backport of mariusmuja/flann@f8ca6df3.

9 years agoRefactor a section of icvRotatingCalipers to work around a GCC bug
Roman Donchenko [Tue, 14 Jul 2015 10:23:37 +0000 (13:23 +0300)]
Refactor a section of icvRotatingCalipers to work around a GCC bug

https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1474304

9 years agoHAL universal intrinsics tests and documentation
Maksim Shabunin [Thu, 27 Aug 2015 13:53:44 +0000 (16:53 +0300)]
HAL universal intrinsics tests and documentation

9 years agoMerge pull request #5317 from alalek:workaround
Alexander Alekhin [Fri, 11 Sep 2015 11:42:33 +0000 (11:42 +0000)]
Merge pull request #5317 from alalek:workaround

9 years agoMerge pull request #5255 from berak:java_videowriter
Maksim Shabunin [Fri, 11 Sep 2015 11:09:15 +0000 (11:09 +0000)]
Merge pull request #5255 from berak:java_videowriter

9 years agoMerge pull request #5327 from mshabunin:mingw-fix
Vadim Pisarevsky [Fri, 11 Sep 2015 10:19:46 +0000 (10:19 +0000)]
Merge pull request #5327 from mshabunin:mingw-fix

9 years agoimplemented sample build in fallback mode without interop
Alexey Ershov [Thu, 10 Sep 2015 16:30:19 +0000 (19:30 +0300)]
implemented sample build in fallback mode without interop