platform/upstream/opencv.git
11 years agoMerge remote-tracking branch 'origin/2.4' into merge-2.4
Roman Donchenko [Tue, 10 Sep 2013 07:30:19 +0000 (11:30 +0400)]
Merge remote-tracking branch 'origin/2.4' into merge-2.4

Conflicts:
.gitignore
doc/tutorials/objdetect/cascade_classifier/cascade_classifier.rst
modules/gpu/src/match_template.cpp
modules/imgproc/include/opencv2/imgproc/imgproc.hpp
modules/ocl/include/opencv2/ocl/ocl.hpp
modules/ocl/perf/perf_precomp.hpp

11 years agoMerge pull request #1412 from jet47:gpu-match-template-nocuda
Roman Donchenko [Mon, 9 Sep 2013 12:49:33 +0000 (16:49 +0400)]
Merge pull request #1412 from jet47:gpu-match-template-nocuda

11 years agoMerge pull request #1365 from bitwangyaoyao:2.4_bilateral
Roman Donchenko [Mon, 9 Sep 2013 12:46:32 +0000 (16:46 +0400)]
Merge pull request #1365 from bitwangyaoyao:2.4_bilateral

11 years agoMerge pull request #1410 from SpecLad:module-samples
Roman Donchenko [Mon, 9 Sep 2013 11:03:40 +0000 (15:03 +0400)]
Merge pull request #1410 from SpecLad:module-samples

11 years agoMerge pull request #1416 from asmorkalov:doc_hough_circle
Roman Donchenko [Mon, 9 Sep 2013 11:03:07 +0000 (15:03 +0400)]
Merge pull request #1416 from asmorkalov:doc_hough_circle

11 years agoLink to Hough Circle Transform sample fixed in tutorial.
Alexander Smorkalov [Mon, 9 Sep 2013 09:53:49 +0000 (13:53 +0400)]
Link to Hough Circle Transform sample fixed in tutorial.

11 years agoMerge pull request #1387 from vpisarev:ipp_imgwarp
Roman Donchenko [Mon, 9 Sep 2013 08:54:32 +0000 (12:54 +0400)]
Merge pull request #1387 from vpisarev:ipp_imgwarp

11 years agoMerge pull request #1396 from melody-rain:2.4_perf_bgfg_cpp
Roman Donchenko [Mon, 9 Sep 2013 08:39:12 +0000 (12:39 +0400)]
Merge pull request #1396 from melody-rain:2.4_perf_bgfg_cpp

11 years agoMerge pull request #1408 from jet47:new-ptr-fixes
Roman Donchenko [Mon, 9 Sep 2013 08:27:26 +0000 (12:27 +0400)]
Merge pull request #1408 from jet47:new-ptr-fixes

11 years agoMerge pull request #1403 from lluisgomez:scene_text_detection_NM_fix
Roman Donchenko [Mon, 9 Sep 2013 08:05:56 +0000 (12:05 +0400)]
Merge pull request #1403 from lluisgomez:scene_text_detection_NM_fix

11 years agoMerge pull request #1409 from SpecLad:imgproc-test-memerr
Roman Donchenko [Mon, 9 Sep 2013 08:03:58 +0000 (12:03 +0400)]
Merge pull request #1409 from SpecLad:imgproc-test-memerr

11 years agoremoved detail:: prefix int video_reader
Vladislav Vinogradov [Fri, 6 Sep 2013 12:48:13 +0000 (16:48 +0400)]
removed detail:: prefix int video_reader

it conflicts with cv::detail

11 years agorestored original behaviour or release functions for (Buffer and Texture)
Vladislav Vinogradov [Mon, 9 Sep 2013 06:57:45 +0000 (10:57 +0400)]
restored original behaviour or release functions for (Buffer and Texture)

11 years agoadded missing gpu::matchTemplate implementation for non-CUDA build
Vladislav Vinogradov [Mon, 9 Sep 2013 06:51:44 +0000 (10:51 +0400)]
added missing gpu::matchTemplate implementation for non-CUDA build

11 years agoRemoved unnecessary process for conversion to 4-channel format.
Jin Ma [Sat, 7 Sep 2013 02:40:30 +0000 (10:40 +0800)]
Removed unnecessary process for conversion to 4-channel format.

11 years agochanged default parameters in CreateERFiltersNM{1,2} functions. They are not needed...
lluis [Fri, 6 Sep 2013 17:10:53 +0000 (19:10 +0200)]
changed default parameters in CreateERFiltersNM{1,2} functions. They are not needed now in the sample example.

11 years agoMerge pull request #1407 from ilya-lavrenov:ocl_test_mog
Roman Donchenko [Fri, 6 Sep 2013 12:58:21 +0000 (16:58 +0400)]
Merge pull request #1407 from ilya-lavrenov:ocl_test_mog

11 years agoMerge pull request #1406 from SpecLad:gpu-resize-warn
Roman Donchenko [Fri, 6 Sep 2013 12:55:44 +0000 (16:55 +0400)]
Merge pull request #1406 from SpecLad:gpu-resize-warn

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 rebase conflicts
lluis [Fri, 6 Sep 2013 12:00:11 +0000 (14:00 +0200)]
fixed rebase conflicts

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 agofixed compilation issues with new Ptr
Vladislav Vinogradov [Fri, 6 Sep 2013 11:52:07 +0000 (15:52 +0400)]
fixed compilation issues with new Ptr

11 years agoMerge pull request #1405 from SpecLad:retina-ocl-warn
Roman Donchenko [Fri, 6 Sep 2013 11:10:05 +0000 (15:10 +0400)]
Merge pull request #1405 from SpecLad:retina-ocl-warn

11 years agoremoved blank line at EOF
lluis [Thu, 5 Sep 2013 04:11:01 +0000 (06:11 +0200)]
removed blank line at EOF

11 years agoremoved unnecessary commented block
lluis [Wed, 4 Sep 2013 19:23:16 +0000 (21:23 +0200)]
removed unnecessary commented block

11 years agoremoved trailing whitespaces
lluis [Wed, 4 Sep 2013 19:19:43 +0000 (21:19 +0200)]
removed trailing whitespaces

11 years agobetter parameter settings for the ERFilter sample
lluis [Wed, 4 Sep 2013 18:25:29 +0000 (20:25 +0200)]
better parameter settings for the ERFilter sample

11 years agobetter classifiers performance by training them with a new dataset of "manually"...
lluis [Wed, 4 Sep 2013 18:23:37 +0000 (20:23 +0200)]
better classifiers performance by training them with a new dataset of "manually" selected regions

11 years agofixed a bug in the calculation of the number of inflexion points feature
lluis [Wed, 4 Sep 2013 18:22:05 +0000 (20:22 +0200)]
fixed a bug in the calculation of the number of inflexion points feature

11 years agofixed a typo error in the default min_Probability param of CreateERFilterNM2
lluis [Wed, 4 Sep 2013 18:20:25 +0000 (20:20 +0200)]
fixed a typo error in the default min_Probability param of CreateERFilterNM2

11 years agofixed a bug in the non-max-suppression filter procedure
lluis [Wed, 4 Sep 2013 18:19:13 +0000 (20:19 +0200)]
fixed a bug in the non-max-suppression filter procedure

11 years agofixed data path
ilya-lavrenov [Fri, 6 Sep 2013 09:25:56 +0000 (13:25 +0400)]
fixed data path

11 years agoGPU resize: removed a few parameter names to avoid unused parameter warnings.
Roman Donchenko [Fri, 6 Sep 2013 08:46:58 +0000 (12:46 +0400)]
GPU resize: removed a few parameter names to avoid unused parameter warnings.

11 years agoretina_ocl.cpp: removed two unused arrays.
Roman Donchenko [Fri, 6 Sep 2013 08:29:29 +0000 (12:29 +0400)]
retina_ocl.cpp: removed two unused arrays.

11 years agoretina_ocl.hpp: switched BasicRetinaFilter's members around to fix a -Wreorder warning.
Roman Donchenko [Fri, 6 Sep 2013 08:28:59 +0000 (12:28 +0400)]
retina_ocl.hpp: switched BasicRetinaFilter's members around to fix a -Wreorder warning.

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 agoMerge pull request #1281 from SpecLad:the-smartest-pointer
Roman Donchenko [Fri, 6 Sep 2013 07:53:33 +0000 (11:53 +0400)]
Merge pull request #1281 from SpecLad:the-smartest-pointer

11 years agoRevised performance test according to the feedback of the community.
Jin Ma [Fri, 6 Sep 2013 05:39:41 +0000 (13:39 +0800)]
Revised performance test according to the feedback of the community.

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 agoAdded tests for Ptr.
Roman Donchenko [Thu, 5 Sep 2013 10:53:21 +0000 (14:53 +0400)]
Added tests for Ptr.

11 years agoFixed some dubious uses of tbb::task_scheduler_init.
Roman Donchenko [Thu, 15 Aug 2013 15:54:00 +0000 (19:54 +0400)]
Fixed some dubious uses of tbb::task_scheduler_init.

11 years agoRewrote the documentation for Ptr to fit the new implementation.
Roman Donchenko [Thu, 15 Aug 2013 10:44:25 +0000 (14:44 +0400)]
Rewrote the documentation for Ptr to fit the new implementation.

11 years agoMade Filestorage able to not own its CvFileStorage instance.
Roman Donchenko [Wed, 14 Aug 2013 08:44:58 +0000 (12:44 +0400)]
Made Filestorage able to not own its CvFileStorage instance.

This allows to get rid of the last remaining Ptr<T>::addref calls.

11 years agoReplaced calls to Ptr<T>::ptr to ::dynamicCast.
Roman Donchenko [Wed, 14 Aug 2013 08:44:11 +0000 (12:44 +0400)]
Replaced calls to Ptr<T>::ptr to ::dynamicCast.

11 years agoAdded to CV_INIT_ALGORITHM a Ptr creation function, for convenience.
Roman Donchenko [Wed, 14 Aug 2013 08:41:58 +0000 (12:41 +0400)]
Added to CV_INIT_ALGORITHM a Ptr creation function, for convenience.

Also changed the static functions to inline, to stop GCC complaining
about unused functions.

11 years agoAdapt Python bindings to the new Ptr.
Roman Donchenko [Wed, 14 Aug 2013 08:32:41 +0000 (12:32 +0400)]
Adapt Python bindings to the new Ptr.

11 years agoJava: removed usages of Ptr<T>::addref().
Roman Donchenko [Tue, 13 Aug 2013 15:12:25 +0000 (19:12 +0400)]
Java: removed usages of Ptr<T>::addref().

Now the features2d class wrappers use composition instead of inheritance.

11 years agoReplace an incorrect usage of Ptr with a simple vector.
Roman Donchenko [Tue, 13 Aug 2013 14:52:06 +0000 (18:52 +0400)]
Replace an incorrect usage of Ptr with a simple vector.

11 years agoBoring changes - samples.
Roman Donchenko [Tue, 13 Aug 2013 14:49:29 +0000 (18:49 +0400)]
Boring changes - samples.

11 years agoBoring changes - apps.
Roman Donchenko [Tue, 13 Aug 2013 14:33:06 +0000 (18:33 +0400)]
Boring changes - apps.

11 years agoBoring changes - legacy.
Roman Donchenko [Tue, 13 Aug 2013 14:29:36 +0000 (18:29 +0400)]
Boring changes - legacy.

11 years agoBoring changes - contrib.
Roman Donchenko [Tue, 13 Aug 2013 14:24:30 +0000 (18:24 +0400)]
Boring changes - contrib.

11 years agoBoring changes - ocl.
Roman Donchenko [Tue, 13 Aug 2013 14:18:38 +0000 (18:18 +0400)]
Boring changes - ocl.

11 years agoBoring changes - gpuwarping.
Roman Donchenko [Tue, 13 Aug 2013 14:58:46 +0000 (18:58 +0400)]
Boring changes - gpuwarping.

11 years agoBoring changes - gpustereo.
Roman Donchenko [Tue, 13 Aug 2013 14:17:21 +0000 (18:17 +0400)]
Boring changes - gpustereo.

11 years agoBoring changes - gpulegacy.
Roman Donchenko [Tue, 13 Aug 2013 14:16:41 +0000 (18:16 +0400)]
Boring changes - gpulegacy.

11 years agoBoring changes - gpuimgproc.
Roman Donchenko [Tue, 13 Aug 2013 14:15:02 +0000 (18:15 +0400)]
Boring changes - gpuimgproc.

11 years agoBoring changes - gpufilters.
Roman Donchenko [Tue, 13 Aug 2013 14:10:26 +0000 (18:10 +0400)]
Boring changes - gpufilters.

11 years agoBoring changes - gpucodec.
Roman Donchenko [Tue, 13 Aug 2013 14:06:39 +0000 (18:06 +0400)]
Boring changes - gpucodec.

11 years agoBoring changes - gpubgsegm.
Roman Donchenko [Tue, 13 Aug 2013 14:05:11 +0000 (18:05 +0400)]
Boring changes - gpubgsegm.

11 years agoBoring changes - gpuarithm.
Roman Donchenko [Tue, 13 Aug 2013 14:03:48 +0000 (18:03 +0400)]
Boring changes - gpuarithm.

11 years agoBoring changes - gpu.
Roman Donchenko [Tue, 13 Aug 2013 14:03:13 +0000 (18:03 +0400)]
Boring changes - gpu.

11 years agoBoring changes - videostab.
Roman Donchenko [Tue, 13 Aug 2013 14:01:59 +0000 (18:01 +0400)]
Boring changes - videostab.

11 years agoBoring changes - video.
Roman Donchenko [Tue, 13 Aug 2013 13:57:49 +0000 (17:57 +0400)]
Boring changes - video.

11 years agoBoring changes - superres.
Roman Donchenko [Tue, 13 Aug 2013 13:57:06 +0000 (17:57 +0400)]
Boring changes - superres.

11 years agoBoring changes - stitching.
Roman Donchenko [Tue, 13 Aug 2013 13:54:12 +0000 (17:54 +0400)]
Boring changes - stitching.

11 years agoBoring changes - softcascade.
Roman Donchenko [Tue, 13 Aug 2013 13:48:37 +0000 (17:48 +0400)]
Boring changes - softcascade.

11 years agoBoring changes - photo.
Roman Donchenko [Tue, 13 Aug 2013 13:46:40 +0000 (17:46 +0400)]
Boring changes - photo.

11 years agoBoring changes - objdetect.
Roman Donchenko [Tue, 13 Aug 2013 13:45:29 +0000 (17:45 +0400)]
Boring changes - objdetect.

11 years agoBoring changes - nonfree.
Roman Donchenko [Tue, 13 Aug 2013 13:36:38 +0000 (17:36 +0400)]
Boring changes - nonfree.

11 years agoBoring changes - ml.
Roman Donchenko [Tue, 13 Aug 2013 13:35:25 +0000 (17:35 +0400)]
Boring changes - ml.

11 years agoBoring changes - features2d.
Roman Donchenko [Tue, 13 Aug 2013 13:30:14 +0000 (17:30 +0400)]
Boring changes - features2d.

11 years agoBoring changes - calib3d.
Roman Donchenko [Tue, 13 Aug 2013 13:03:56 +0000 (17:03 +0400)]
Boring changes - calib3d.

11 years agoBoring changes - bioinspired.
Roman Donchenko [Tue, 13 Aug 2013 12:48:54 +0000 (16:48 +0400)]
Boring changes - bioinspired.

11 years agoBoring changes - highgui.
Roman Donchenko [Tue, 13 Aug 2013 12:47:18 +0000 (16:47 +0400)]
Boring changes - highgui.

11 years agoBoring changes - imgproc.
Roman Donchenko [Tue, 13 Aug 2013 12:39:58 +0000 (16:39 +0400)]
Boring changes - imgproc.

11 years agoBoring changes - core.
Roman Donchenko [Tue, 13 Aug 2013 12:22:07 +0000 (16:22 +0400)]
Boring changes - core.

This and several following commits contain the "boring" changes required
to support the new Ptr. These are changes like:

* new T -> makePtr<T> or .reset(new T) or Ptr<T>(new T)
  (depending on the situation)
* p.empty() -> !p
* delete_obj -> DefaultDeleter::operator()

and similar changes that are numerous, but primitive.

11 years agoMOG&MOG2: Modified the performance test according to the feedback of the community.
Jin Ma [Thu, 5 Sep 2013 11:33:27 +0000 (19:33 +0800)]
MOG&MOG2: Modified the performance test according to the feedback of the community.

11 years agoReplaced Ptr with my new implementation.
Roman Donchenko [Tue, 13 Aug 2013 11:18:07 +0000 (15:18 +0400)]
Replaced Ptr with my new implementation.

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 #1399 from pengx17:master_retina_ocl_fix
Roman Donchenko [Thu, 5 Sep 2013 07:57:44 +0000 (11:57 +0400)]
Merge pull request #1399 from pengx17:master_retina_ocl_fix

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 agoAdded the ability to have samples inside a module.
Roman Donchenko [Wed, 4 Sep 2013 14:41:19 +0000 (18:41 +0400)]
Added the ability to have samples inside a module.

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 agoFix a bug of ocl retina on NVIDIA platform.
pengxiao [Wed, 4 Sep 2013 08:38:36 +0000 (16:38 +0800)]
Fix a bug of ocl retina on NVIDIA platform.

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

11 years agoMerge pull request #1373 from abidrahmank:pykeypoints
Roman Donchenko [Wed, 4 Sep 2013 07:53:32 +0000 (11:53 +0400)]
Merge pull request #1373 from abidrahmank:pykeypoints

11 years agoRemoved whitespace.
Jin Ma [Wed, 4 Sep 2013 07:00:36 +0000 (15:00 +0800)]
Removed whitespace.

11 years agoAdded the performance test for mog and mog2.
Jin Ma [Wed, 4 Sep 2013 06:37:46 +0000 (14:37 +0800)]
Added the performance test for mog and mog2.

11 years agoMerge pull request #1389 from SpecLad:merge-2.4
Roman Donchenko [Tue, 3 Sep 2013 15:42:05 +0000 (19:42 +0400)]
Merge pull request #1389 from SpecLad:merge-2.4

11 years agoalignment of parameters as per speclad
Abid K [Tue, 3 Sep 2013 15:42:03 +0000 (21:12 +0530)]
alignment of parameters as per speclad

11 years agoMerge pull request #1224 from mbarnach:pca_io
Roman Donchenko [Tue, 3 Sep 2013 14:43:54 +0000 (18:43 +0400)]
Merge pull request #1224 from mbarnach:pca_io

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