platform/upstream/opencv.git
11 years agoFixed a memory access error in CV_Remap_Test::generate_test_data.
Roman Donchenko [Fri, 6 Sep 2013 12:02:41 +0000 (16:02 +0400)]
Fixed a memory access error in CV_Remap_Test::generate_test_data.

begin_x[1] is not the second component of the element, but the element
after the one pointed to begin_x. When begin_x points to the last
element, that line overwrites data past the end of the allocation, which,
during my tests, happened to contain the reference count for the matrix.
Hilarity ensues.

11 years agoFixed a few tests that use uninitialized inputs.
Roman Donchenko [Fri, 6 Sep 2013 11:53:42 +0000 (15:53 +0400)]
Fixed a few tests that use uninitialized inputs.

11 years agoMerge pull request #1402 from SpecLad:ocl-samples
Roman Donchenko [Fri, 6 Sep 2013 08:20:03 +0000 (12:20 +0400)]
Merge pull request #1402 from SpecLad:ocl-samples

11 years agoMerge pull request #1404 from ilya-lavrenov:stdcall
Roman Donchenko [Fri, 6 Sep 2013 08:09:59 +0000 (12:09 +0400)]
Merge pull request #1404 from ilya-lavrenov:stdcall

11 years agoreplaced explicit __stdcall by CV_STDCALL
Ilya Lavrenov [Thu, 5 Sep 2013 15:25:03 +0000 (19:25 +0400)]
replaced explicit __stdcall by CV_STDCALL

11 years agoMerge pull request #1400 from ilya-lavrenov:ocl_test_mog
Roman Donchenko [Thu, 5 Sep 2013 07:58:50 +0000 (11:58 +0400)]
Merge pull request #1400 from ilya-lavrenov:ocl_test_mog

11 years agoMerge pull request #1398 from ilya-lavrenov:ocl_perf_gemm
Roman Donchenko [Thu, 5 Sep 2013 07:56:22 +0000 (11:56 +0400)]
Merge pull request #1398 from ilya-lavrenov:ocl_perf_gemm

11 years agoenabled gemm and dft erf test
ilya-lavrenov [Wed, 4 Sep 2013 07:55:00 +0000 (11:55 +0400)]
enabled gemm and dft erf test

11 years agoFixed OCL samples' install path being inconsistent with the other samples.
Roman Donchenko [Wed, 4 Sep 2013 14:52:03 +0000 (18:52 +0400)]
Fixed OCL samples' install path being inconsistent with the other samples.

11 years agochanged data path and eps
ilya-lavrenov [Wed, 4 Sep 2013 08:44:52 +0000 (12:44 +0400)]
changed data path and eps

11 years agoDelete a bunch more trailing whitespace that slipped through the cracks.
Roman Donchenko [Wed, 4 Sep 2013 12:13:27 +0000 (16:13 +0400)]
Delete a bunch more trailing whitespace that slipped through the cracks.

11 years agoMerge pull request #1392 from SpecLad:flann-uninit
Roman Donchenko [Wed, 4 Sep 2013 11:49:14 +0000 (15:49 +0400)]
Merge pull request #1392 from SpecLad:flann-uninit

11 years agoMerge pull request #1397 from ilya-lavrenov:gitignore
Roman Donchenko [Wed, 4 Sep 2013 10:16:37 +0000 (14:16 +0400)]
Merge pull request #1397 from ilya-lavrenov:gitignore

11 years agoFixed a bug in FLANN resulting in uninitialized accesses.
Roman Donchenko [Wed, 4 Sep 2013 10:06:34 +0000 (14:06 +0400)]
Fixed a bug in FLANN resulting in uninitialized accesses.

This is fixed upstream in mariusmuja/flann@b615f26, but that fix
would break binary compatibility, so I had to make a different one.

Since the bug isn't quite obvious, here's an explanation. In the const
version of any::cast, if policy is a small_any_policy, its get_value
returns its input argument. So r becomes a pointer to obj, and the
return value is a reference to a local variable, which is invalidated
when the function exits.

11 years agoupdated .gitignore
ilya-lavrenov [Wed, 4 Sep 2013 07:56:22 +0000 (11:56 +0400)]
updated .gitignore

11 years agoMerge pull request #1283 from melody-rain:new_mog_mog2
Roman Donchenko [Tue, 3 Sep 2013 14:43:02 +0000 (18:43 +0400)]
Merge pull request #1283 from melody-rain:new_mog_mog2

11 years agoMerge pull request #1388 from bitwangyaoyao:2.4_CLAHE
Roman Donchenko [Tue, 3 Sep 2013 14:30:14 +0000 (18:30 +0400)]
Merge pull request #1388 from bitwangyaoyao:2.4_CLAHE

11 years agoMerge pull request #1378 from StevenPuttemans:bugfix_3115
Roman Donchenko [Tue, 3 Sep 2013 08:07:24 +0000 (12:07 +0400)]
Merge pull request #1378 from StevenPuttemans:bugfix_3115

11 years agoMerge pull request #1382 from nghiaho12:cascade_classifier
Roman Donchenko [Tue, 3 Sep 2013 08:05:32 +0000 (12:05 +0400)]
Merge pull request #1382 from nghiaho12:cascade_classifier

11 years agoMerge pull request #1383 from pengx17:2.4_clblas
Roman Donchenko [Tue, 3 Sep 2013 08:05:00 +0000 (12:05 +0400)]
Merge pull request #1383 from pengx17:2.4_clblas

11 years agoa little fix to tests and sample
yao [Tue, 3 Sep 2013 07:02:18 +0000 (15:02 +0800)]
a little fix to tests and sample

11 years agoFix a crash of ocl program if clAmdBlas is not linked.
pengxiao [Tue, 3 Sep 2013 02:30:37 +0000 (10:30 +0800)]
Fix a crash of ocl program if clAmdBlas is not linked.

11 years agoModify according to @alalek.
peng xiao [Tue, 3 Sep 2013 01:31:13 +0000 (09:31 +0800)]
Modify according to @alalek.

11 years agoMerge pull request #1300 from kdrobnyh:FilterBilateral
Roman Donchenko [Mon, 2 Sep 2013 13:01:38 +0000 (17:01 +0400)]
Merge pull request #1300 from kdrobnyh:FilterBilateral

11 years agoMerge pull request #1385 from asmorkalov:winrt_glob_fix
Roman Donchenko [Mon, 2 Sep 2013 12:05:14 +0000 (16:05 +0400)]
Merge pull request #1385 from asmorkalov:winrt_glob_fix

11 years agoGlobbing accuracy test fail on Windows RT fixed.
Alexander Smorkalov [Mon, 2 Sep 2013 07:57:42 +0000 (00:57 -0700)]
Globbing accuracy test fail on Windows RT fixed.

11 years agoMerge pull request #1302 from kdrobnyh:compare
Roman Donchenko [Mon, 2 Sep 2013 11:11:19 +0000 (15:11 +0400)]
Merge pull request #1302 from kdrobnyh:compare

11 years agoMerge pull request #1355 from jet47:gpu-stereo-multi-gpu-sample
Roman Donchenko [Mon, 2 Sep 2013 10:10:05 +0000 (14:10 +0400)]
Merge pull request #1355 from jet47:gpu-stereo-multi-gpu-sample

11 years agoBugfix 3115: Added not to documentation for python version for
StevenPuttemans [Fri, 30 Aug 2013 12:21:11 +0000 (14:21 +0200)]
Bugfix 3115: Added not to documentation for python version for
facerecognizer interface + white + whitespaces remove

11 years agoMerge pull request #1345 from pengx17:2.4_tvl1ocl_opt
Roman Donchenko [Mon, 2 Sep 2013 09:09:22 +0000 (13:09 +0400)]
Merge pull request #1345 from pengx17:2.4_tvl1ocl_opt

11 years agoLet clAmdBlas library initialize once during program lifetime.
peng xiao [Mon, 2 Sep 2013 02:06:01 +0000 (10:06 +0800)]
Let clAmdBlas library initialize once during program lifetime.

11 years agochanged int -> size_t when accessing std::vector
Nghia Ho [Sat, 31 Aug 2013 13:35:03 +0000 (23:35 +1000)]
changed int -> size_t when accessing std::vector

11 years agoMerge pull request #1371 from HapeMask:fix-png-warnings
Roman Donchenko [Fri, 30 Aug 2013 13:56:06 +0000 (17:56 +0400)]
Merge pull request #1371 from HapeMask:fix-png-warnings

11 years agoMerge pull request #1360 from vpisarev:24_ipp_dft_canny_morphrect
Roman Donchenko [Fri, 30 Aug 2013 13:55:07 +0000 (17:55 +0400)]
Merge pull request #1360 from vpisarev:24_ipp_dft_canny_morphrect

11 years agoAdded interlace handling to PNG decoder.
Gabe Schwartz [Thu, 29 Aug 2013 18:32:50 +0000 (14:32 -0400)]
Added interlace handling to PNG decoder.

libpng 1.5+ recommends a call to png_set_interlace_handling() if you use
png_read_update_info and png_read_image. It will generate a warning
without it.

11 years agoRemoved incorrect iCCP chunks from GUI resources.
Gabe Schwartz [Tue, 27 Aug 2013 20:28:10 +0000 (16:28 -0400)]
Removed incorrect iCCP chunks from GUI resources.

Also removed malformed tEXt chunk from a logo PNG.

11 years agoMerge pull request #1374 from zacstewart:2.4
Roman Donchenko [Fri, 30 Aug 2013 13:28:51 +0000 (17:28 +0400)]
Merge pull request #1374 from zacstewart:2.4

11 years agoMerge pull request #1266 from kdrobnyh:core_stat_functions
Roman Donchenko [Fri, 30 Aug 2013 13:26:20 +0000 (17:26 +0400)]
Merge pull request #1266 from kdrobnyh:core_stat_functions

11 years agoMerge pull request #1236 from pengx17:2.4_fix_retina_color_param
Roman Donchenko [Fri, 30 Aug 2013 13:25:06 +0000 (17:25 +0400)]
Merge pull request #1236 from pengx17:2.4_fix_retina_color_param

11 years agoCorrect name of eye function
Zac Stewart [Fri, 30 Aug 2013 10:34:47 +0000 (06:34 -0400)]
Correct name of eye function

11 years agoRemove extraneous colon before ':basicstructures:'
Zac Stewart [Fri, 30 Aug 2013 10:34:23 +0000 (06:34 -0400)]
Remove extraneous colon before ':basicstructures:'

11 years agoMerge pull request #1363 from ilya-lavrenov:ocl_enable_tests
Roman Donchenko [Fri, 30 Aug 2013 08:24:24 +0000 (12:24 +0400)]
Merge pull request #1363 from ilya-lavrenov:ocl_enable_tests

11 years agoMerge pull request #1370 from ilya-lavrenov:ocl_decor
Roman Donchenko [Fri, 30 Aug 2013 08:21:26 +0000 (12:21 +0400)]
Merge pull request #1370 from ilya-lavrenov:ocl_decor

11 years agoAdd IPP support in meanStdDev, minMaxIdx, norm functions
kdrobnyh [Thu, 29 Aug 2013 17:05:35 +0000 (21:05 +0400)]
Add IPP support in meanStdDev, minMaxIdx, norm functions

11 years agoMerge pull request #5 from Itseez/2.4
kdrobnyh [Thu, 29 Aug 2013 14:53:46 +0000 (07:53 -0700)]
Merge pull request #5 from Itseez/2.4

Some changes in OpenCV

11 years agoenabled some tests that failed before OCL_TEST_CYCLE*() macroses were defined and...
ilya-lavrenov [Wed, 28 Aug 2013 07:25:54 +0000 (11:25 +0400)]
enabled some tests that failed before OCL_TEST_CYCLE*() macroses were defined and for some tests was disabled SANITY_CHECK, because plain and ocl results must not be completely equal

11 years agogpu -> ocl
ilya-lavrenov [Thu, 29 Aug 2013 11:55:53 +0000 (15:55 +0400)]
gpu -> ocl

11 years agoMerge pull request #1361 from asmorkalov:winrt_api_container
Roman Donchenko [Thu, 29 Aug 2013 14:09:06 +0000 (18:09 +0400)]
Merge pull request #1361 from asmorkalov:winrt_api_container

11 years agoMerge pull request #1359 from asmorkalov:winrt_tiff_api_fix
Roman Donchenko [Thu, 29 Aug 2013 14:07:57 +0000 (18:07 +0400)]
Merge pull request #1359 from asmorkalov:winrt_tiff_api_fix

11 years agoAdd IPP support in compare function
kdrobnyh [Mon, 19 Aug 2013 12:41:31 +0000 (16:41 +0400)]
Add IPP support in compare function

11 years agoRemoved performance test.
Jin Ma [Thu, 29 Aug 2013 09:35:47 +0000 (17:35 +0800)]
Removed performance test.

11 years agoAdded perf namespace.
Jin Ma [Thu, 29 Aug 2013 08:24:26 +0000 (16:24 +0800)]
Added perf namespace.

11 years agoRemoved whitespace.
Jin Ma [Thu, 29 Aug 2013 07:49:02 +0000 (15:49 +0800)]
Removed whitespace.

11 years agoRemoved trailing whitespace
Jin Ma [Thu, 29 Aug 2013 06:08:56 +0000 (14:08 +0800)]
Removed trailing whitespace

11 years agoRemoved the trailing whitespace
Jin Ma [Thu, 29 Aug 2013 06:05:56 +0000 (14:05 +0800)]
Removed the trailing whitespace

11 years agofixed bugs in rectangular morphology case
Vadim Pisarevsky [Wed, 28 Aug 2013 15:53:40 +0000 (19:53 +0400)]
fixed bugs in rectangular morphology case

11 years ago/apicontainer added to linker flags on WinRT to fix api test issues.
Alexander Smorkalov [Wed, 28 Aug 2013 15:36:57 +0000 (08:36 -0700)]
/apicontainer added to linker flags on WinRT to fix api test issues.

11 years agoMerge pull request #1338 from asmorkalov:android_tegra_detector
Roman Donchenko [Wed, 28 Aug 2013 15:02:08 +0000 (19:02 +0400)]
Merge pull request #1338 from asmorkalov:android_tegra_detector

11 years agoMerge pull request #1343 from asmorkalov:android_img_manipulations_fix
Roman Donchenko [Wed, 28 Aug 2013 15:01:15 +0000 (19:01 +0400)]
Merge pull request #1343 from asmorkalov:android_img_manipulations_fix

11 years agoLibTIFF Win32 API back-end disabled for Windows RT.
Alexander Smorkalov [Wed, 28 Aug 2013 14:31:46 +0000 (07:31 -0700)]
LibTIFF Win32 API back-end disabled for Windows RT.

11 years agofixed building OpenCV with IPP 6.x (different DFT API); added Canny and rectangular...
Vadim Pisarevsky [Wed, 28 Aug 2013 13:00:26 +0000 (17:00 +0400)]
fixed building OpenCV with IPP 6.x (different DFT API); added Canny and rectangular morphology (based on Alex Kapustin patches)

11 years agoNew Tegra detector with Android 4.3 support added. Manager version++.
Alexander Smorkalov [Fri, 23 Aug 2013 13:37:43 +0000 (17:37 +0400)]
New Tegra detector with Android 4.3 support added. Manager version++.

11 years agoBug #3238 Android sample image manipulations blinks in non-preview modes fixed.
Alexander Smorkalov [Mon, 26 Aug 2013 13:35:20 +0000 (17:35 +0400)]
Bug #3238 Android sample image manipulations blinks in non-preview modes fixed.

11 years agoMerge pull request #1357 from SpecLad:less-precomps
Roman Donchenko [Wed, 28 Aug 2013 10:52:28 +0000 (14:52 +0400)]
Merge pull request #1357 from SpecLad:less-precomps

11 years agoMerge pull request #1213 from kdrobnyh:color
Roman Donchenko [Wed, 28 Aug 2013 09:31:08 +0000 (13:31 +0400)]
Merge pull request #1213 from kdrobnyh:color

11 years agoDeleted the now-empty ocl perf_precomp.cpp.
Roman Donchenko [Wed, 28 Aug 2013 09:23:50 +0000 (13:23 +0400)]
Deleted the now-empty ocl perf_precomp.cpp.

See pull request #1241 for why.

11 years agoMerge pull request #1349 from ilya-lavrenov:ocl_perf_finish
Roman Donchenko [Wed, 28 Aug 2013 08:46:01 +0000 (12:46 +0400)]
Merge pull request #1349 from ilya-lavrenov:ocl_perf_finish

11 years agorewrite gpu stereo multi gpu sample:
Vladislav Vinogradov [Wed, 28 Aug 2013 08:41:41 +0000 (12:41 +0400)]
rewrite gpu stereo multi gpu sample:

* use different approaches -> threads and streams
* clean up code

11 years agoappended ocl::finish to test_cycle defines
ilya-lavrenov [Tue, 27 Aug 2013 14:46:30 +0000 (18:46 +0400)]
appended ocl::finish to test_cycle defines

11 years agoRestored one executable bit that was lost during the war on whitespace.
Roman Donchenko [Tue, 27 Aug 2013 10:38:52 +0000 (14:38 +0400)]
Restored one executable bit that was lost during the war on whitespace.

11 years agoMerge pull request #1346 from jet47:gpu-tvl1-optimization
Roman Donchenko [Tue, 27 Aug 2013 08:36:44 +0000 (12:36 +0400)]
Merge pull request #1346 from jet47:gpu-tvl1-optimization

11 years agogpu TVL1 Optical Flow optimization:
Vladislav Vinogradov [Tue, 27 Aug 2013 07:21:41 +0000 (11:21 +0400)]
gpu TVL1 Optical Flow optimization:

do not calculate sum of error in every round of iteration;
instead the error will be summed every 2nd times or more,
if the previous sum of error is too far away from threshold.

11 years agoRemove trailing whitespace.
peng xiao [Tue, 27 Aug 2013 05:02:34 +0000 (13:02 +0800)]
Remove trailing whitespace.

11 years agoFix build error.
peng xiao [Tue, 27 Aug 2013 03:56:11 +0000 (11:56 +0800)]
Fix build error.

11 years agoMake some tweaks to make `sum` operations less frequently
peng xiao [Tue, 27 Aug 2013 03:42:54 +0000 (11:42 +0800)]
Make some tweaks to make `sum` operations less frequently

11 years agoMerge pull request #1311 from leszekhanusz:png_palette_alpha
Roman Donchenko [Mon, 26 Aug 2013 12:59:44 +0000 (16:59 +0400)]
Merge pull request #1311 from leszekhanusz:png_palette_alpha

11 years agoMerge pull request #1326 from ilya-lavrenov:perf_ocl
Roman Donchenko [Mon, 26 Aug 2013 12:54:59 +0000 (16:54 +0400)]
Merge pull request #1326 from ilya-lavrenov:perf_ocl

11 years agoMerge pull request #1336 from jet47:gpu-resize
Roman Donchenko [Mon, 26 Aug 2013 12:40:50 +0000 (16:40 +0400)]
Merge pull request #1336 from jet47:gpu-resize

11 years agothe code was refactored and old test system code was removed
ilya-lavrenov [Fri, 23 Aug 2013 14:38:31 +0000 (18:38 +0400)]
the code was refactored and old test system code was removed

11 years agomost of the performance tests was rewritten in google-test manner
ilya-lavrenov [Thu, 22 Aug 2013 14:03:05 +0000 (18:03 +0400)]
most of the performance tests was rewritten in google-test manner

11 years agoused global memory access for up-scaling
Vladislav Vinogradov [Fri, 23 Aug 2013 09:46:29 +0000 (13:46 +0400)]
used global memory access for up-scaling

11 years agoMerge pull request #1335 from alekcac:ios-build-fix
Roman Donchenko [Fri, 23 Aug 2013 12:54:48 +0000 (16:54 +0400)]
Merge pull request #1335 from alekcac:ios-build-fix

11 years agoMerge pull request #1334 from MarkBelmont:bugfix_1
Roman Donchenko [Fri, 23 Aug 2013 12:49:51 +0000 (16:49 +0400)]
Merge pull request #1334 from MarkBelmont:bugfix_1

11 years agofix CMake changes
Alexander Shishkov [Fri, 23 Aug 2013 12:09:41 +0000 (16:09 +0400)]
fix  CMake changes

11 years agoMerge pull request #1333 from kirill-kornyakov:bugfix-for-3231
Roman Donchenko [Fri, 23 Aug 2013 11:56:10 +0000 (15:56 +0400)]
Merge pull request #1333 from kirill-kornyakov:bugfix-for-3231

11 years agoMerge pull request #1234 from SpecLad:ios-plist
Roman Donchenko [Fri, 23 Aug 2013 11:43:07 +0000 (15:43 +0400)]
Merge pull request #1234 from SpecLad:ios-plist

11 years agoMerge pull request #1332 from pengx17:2.4_fix_parallel
Roman Donchenko [Fri, 23 Aug 2013 10:47:48 +0000 (14:47 +0400)]
Merge pull request #1332 from pengx17:2.4_fix_parallel

11 years agoimproved texture usage:
Vladislav Vinogradov [Thu, 22 Aug 2013 08:50:30 +0000 (12:50 +0400)]
improved texture usage:

* use explicit extrapolation only for sub-matrixes
* use built-in interpolation for INTER_NEAREST mode

11 years agoadded custom implementation for nearest and linear interpolation
Vladislav Vinogradov [Thu, 22 Aug 2013 08:31:10 +0000 (12:31 +0400)]
added custom implementation for nearest and linear interpolation

11 years agoreorganize code for further modifiction
Vladislav Vinogradov [Thu, 22 Aug 2013 08:03:17 +0000 (12:03 +0400)]
reorganize code for further modifiction

11 years agofixed problems with building iOS version
Alexander Shishkov [Fri, 23 Aug 2013 09:41:19 +0000 (13:41 +0400)]
fixed problems with building iOS version

11 years agoUpdate build_framework.py
Alexander Shishkov [Fri, 23 Aug 2013 08:51:50 +0000 (12:51 +0400)]
Update build_framework.py

11 years agoChanged the brief description of function Mat::colRange from "Create a matrix header...
MarkBelmont [Fri, 23 Aug 2013 08:39:39 +0000 (16:39 +0800)]
Changed the brief description of function Mat::colRange from "Create a matrix header for the specified row span." to "Create a matrix header for the specified column span."

11 years agobugfix-for-3231
Kirill Kornyakov [Fri, 23 Aug 2013 08:34:35 +0000 (12:34 +0400)]
bugfix-for-3231

11 years agoremoved NPP implementation
Vladislav Vinogradov [Thu, 22 Aug 2013 07:46:09 +0000 (11:46 +0400)]
removed NPP implementation

11 years agoMerge pull request #1324 from SpecLad:try-compile
Roman Donchenko [Fri, 23 Aug 2013 08:06:56 +0000 (12:06 +0400)]
Merge pull request #1324 from SpecLad:try-compile

11 years agoMerge pull request #1329 from SpecLad:msvc-werror
Roman Donchenko [Fri, 23 Aug 2013 08:04:32 +0000 (12:04 +0400)]
Merge pull request #1329 from SpecLad:msvc-werror

11 years agoFix a potential bug of ParallelLoopBodyWrapper::operator(Range)
peng xiao [Fri, 23 Aug 2013 07:35:55 +0000 (15:35 +0800)]
Fix a potential bug of ParallelLoopBodyWrapper::operator(Range)
On a 32-bit compiler the calculation may result in data (size_t) overflow when running some paralleled algorithms (which can safely run on a 64-bit compiler).
This bug is found when running OpenCV's Retina tutorial on 32bit VS2010.

11 years agoAdded warnings-as-errors support for MSVC.
Roman Donchenko [Thu, 22 Aug 2013 14:25:38 +0000 (18:25 +0400)]
Added warnings-as-errors support for MSVC.

11 years agofixer error with incorrect condition
Ilya Lavrenov [Thu, 22 Aug 2013 13:38:55 +0000 (17:38 +0400)]
fixer error with incorrect condition