platform/upstream/opencv.git
11 years agoMerge pull request #1472 from alalek:master_fix_debug_builds_on_win
Alexander Smorkalov [Thu, 19 Sep 2013 10:41:55 +0000 (14:41 +0400)]
Merge pull request #1472 from alalek:master_fix_debug_builds_on_win

11 years agoMerge pull request #1384 from hbristow:matlab_public
Alexander Smorkalov [Thu, 19 Sep 2013 06:25:02 +0000 (10:25 +0400)]
Merge pull request #1384 from hbristow:matlab_public

11 years agofix for broken debug builds (MSVS2010/2012)
Alexander Alekhin [Tue, 17 Sep 2013 22:08:53 +0000 (02:08 +0400)]
fix for broken debug builds (MSVS2010/2012)

11 years agoUpdated documentation
hbristow [Wed, 18 Sep 2013 08:52:23 +0000 (18:52 +1000)]
Updated documentation

11 years agoFixed a memory leak in mxarray
hbristow [Wed, 18 Sep 2013 07:10:54 +0000 (17:10 +1000)]
Fixed a memory leak in mxarray

11 years agoMerge pull request #1465 from jet47:cudev-old-cc
Alexander Smorkalov [Wed, 18 Sep 2013 06:39:52 +0000 (10:39 +0400)]
Merge pull request #1465 from jet47:cudev-old-cc

11 years agoMerge pull request #1458 from look4pritam:my-branch
Alexander Smorkalov [Tue, 17 Sep 2013 18:50:48 +0000 (22:50 +0400)]
Merge pull request #1458 from look4pritam:my-branch

11 years agoMerge pull request #1446 from lluisgomez:scene_text_detection_NM_fix2
Andrey Pavlenko [Tue, 17 Sep 2013 13:50:46 +0000 (17:50 +0400)]
Merge pull request #1446 from lluisgomez:scene_text_detection_NM_fix2

11 years agofixed cudev compilation for old pre-Fermi archs
Vladislav Vinogradov [Tue, 17 Sep 2013 13:43:12 +0000 (17:43 +0400)]
fixed cudev compilation for old pre-Fermi archs

11 years agoThe thin prism distortion coefficient related small bug is fixed.
look4pritam [Mon, 16 Sep 2013 08:09:11 +0000 (13:39 +0530)]
The thin prism distortion coefficient related small bug is fixed.

11 years agoAdded TODO for the future of Matlab version sorting
hbristow [Sun, 15 Sep 2013 14:48:07 +0000 (00:48 +1000)]
Added TODO for the future of Matlab version sorting

11 years agoStreamlined mexext detection, with removal of trailing whitespace/newlines handled...
hbristow [Sun, 15 Sep 2013 13:53:29 +0000 (23:53 +1000)]
Streamlined mexext detection, with removal of trailing whitespace/newlines handled by execute_process

11 years agoMoved Jinja2 into 3rdparty. Now using latest stable version from pypi (2.7.1)
hbristow [Sun, 15 Sep 2013 07:31:34 +0000 (17:31 +1000)]
Moved Jinja2 into 3rdparty. Now using latest stable version from pypi (2.7.1)

11 years agoMade changes to OpenCVFindMatlab suggested by SpecLad
hbristow [Sat, 14 Sep 2013 03:32:15 +0000 (13:32 +1000)]
Made changes to OpenCVFindMatlab suggested by SpecLad

11 years agofirst parameter of createERFilterNM1/createERFilterNM2 is now mandatory. changed...
lluis [Fri, 13 Sep 2013 14:29:21 +0000 (16:29 +0200)]
first parameter of createERFilterNM1/createERFilterNM2 is now mandatory. changed the sample program to use the new prototypes

11 years agorenamed getDefaultClassifierNM{1,2}() to loadClassifierNM{1,2}() and added "const...
lluis [Fri, 13 Sep 2013 14:19:52 +0000 (16:19 +0200)]
renamed getDefaultClassifierNM{1,2}() to loadClassifierNM{1,2}() and added "const std::string& filename" parameter (mandatory).

11 years agoMerge pull request #1445 from vpisarev:stereocalib_quick_fix
Roman Donchenko [Fri, 13 Sep 2013 11:01:14 +0000 (15:01 +0400)]
Merge pull request #1445 from vpisarev:stereocalib_quick_fix

11 years agofunctions getDefaultClassifierNM1() and getDefaultClassifierNM2() allow to implicitly...
lluis [Fri, 13 Sep 2013 10:54:23 +0000 (12:54 +0200)]
functions getDefaultClassifierNM1() and getDefaultClassifierNM2() allow to implicitly load the default classifiers when creating a ERFilter object

11 years agoMerge pull request #1330 from lenlen:plantuml
Roman Donchenko [Fri, 13 Sep 2013 10:31:01 +0000 (14:31 +0400)]
Merge pull request #1330 from lenlen:plantuml

11 years agofix thin-prism coefficients at 0's in the stereo calibration function unless the...
Vadim Pisarevsky [Fri, 13 Sep 2013 09:32:42 +0000 (13:32 +0400)]
fix thin-prism coefficients at 0's in the stereo calibration function unless the flag CALIB_THIN_PRISM_MODEL is explicitly set

11 years agoMerge pull request #1414 from lluisgomez:scene_text_detection_computeNMChannels
Roman Donchenko [Fri, 13 Sep 2013 09:31:14 +0000 (13:31 +0400)]
Merge pull request #1414 from lluisgomez:scene_text_detection_computeNMChannels

11 years agoMerge pull request #1426 from nailbiter:optimPD
Roman Donchenko [Fri, 13 Sep 2013 09:27:01 +0000 (13:27 +0400)]
Merge pull request #1426 from nailbiter:optimPD

11 years agoMerge pull request #1441 from look4pritam:prism-stereo
Roman Donchenko [Fri, 13 Sep 2013 09:17:05 +0000 (13:17 +0400)]
Merge pull request #1441 from look4pritam:prism-stereo

11 years agoMerge pull request #1442 from SpecLad:version-status
Roman Donchenko [Fri, 13 Sep 2013 09:16:30 +0000 (13:16 +0400)]
Merge pull request #1442 from SpecLad:version-status

11 years agoUpdated OpenCVFindMatlab with changes suggested by SpecLad
hbristow [Fri, 13 Sep 2013 08:08:33 +0000 (18:08 +1000)]
Updated OpenCVFindMatlab with changes suggested by SpecLad

11 years agoAdded fixes to CMakeLists.txt
hbristow [Fri, 13 Sep 2013 07:22:12 +0000 (17:22 +1000)]
Added fixes to CMakeLists.txt

11 years agoBumped version to 3.0.
Roman Donchenko [Thu, 12 Sep 2013 12:40:14 +0000 (16:40 +0400)]
Bumped version to 3.0.

11 years agoUpdated the Java bindings and docs to support the version status.
Roman Donchenko [Thu, 12 Sep 2013 12:39:14 +0000 (16:39 +0400)]
Updated the Java bindings and docs to support the version status.

11 years agoUpdated the build config files to deal with the version status.
Roman Donchenko [Thu, 12 Sep 2013 12:37:30 +0000 (16:37 +0400)]
Updated the build config files to deal with the version status.

I didn't make the status part of the version variables here, because
letters don't play too well with version comparison algorithms
(especially with CMake's, which only supports numbers).

11 years agoAdded version status support into the build system.
Roman Donchenko [Thu, 12 Sep 2013 12:37:05 +0000 (16:37 +0400)]
Added version status support into the build system.

11 years agoAdded an additional version component - the development status.
Roman Donchenko [Thu, 12 Sep 2013 12:20:09 +0000 (16:20 +0400)]
Added an additional version component - the development status.

This will allow us to distinguish between regular releases, prereleases
and development versions.

11 years agoAdded plantuml extension
antonella [Wed, 4 Sep 2013 14:00:50 +0000 (16:00 +0200)]
Added plantuml extension

Aligned strings in CMakeList

Modified the check on plantuml extension

Some fixes

Moved find_host_program for plantuml script

11 years agoThe prism distortion coefficients are added for the stereo calibration.
look4pritam [Thu, 12 Sep 2013 09:47:11 +0000 (15:17 +0530)]
The prism distortion coefficients are added for the stereo calibration.

11 years agoMerge pull request #1436 from SpecLad:host-git
Roman Donchenko [Wed, 11 Sep 2013 15:06:50 +0000 (19:06 +0400)]
Merge pull request #1436 from SpecLad:host-git

11 years agoFixed finding Git when cross-compiling.
Roman Donchenko [Wed, 11 Sep 2013 13:54:34 +0000 (17:54 +0400)]
Fixed finding Git when cross-compiling.

11 years agoMerge pull request #1425 from pengx17:master_retina_ocl_fix
Roman Donchenko [Tue, 10 Sep 2013 14:29:24 +0000 (18:29 +0400)]
Merge pull request #1425 from pengx17:master_retina_ocl_fix

11 years agoMerge pull request #1427 from SpecLad:merge-2.4
Roman Donchenko [Tue, 10 Sep 2013 14:28:19 +0000 (18:28 +0400)]
Merge pull request #1427 from SpecLad:merge-2.4

11 years agoMerge pull request #1415 from znah:sfm_py
Roman Donchenko [Tue, 10 Sep 2013 07:37:04 +0000 (11:37 +0400)]
Merge pull request #1415 from znah:sfm_py

11 years agoMerge pull request #1422 from SpecLad:nat-act-upd
Roman Donchenko [Tue, 10 Sep 2013 07:32:09 +0000 (11:32 +0400)]
Merge pull request #1422 from SpecLad:nat-act-upd

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 agoFix whitespaces.
peng xiao [Tue, 10 Sep 2013 07:13:53 +0000 (15:13 +0800)]
Fix whitespaces.

11 years agoFix retina ocl on NV.
pengxiao [Tue, 10 Sep 2013 06:33:23 +0000 (14:33 +0800)]
Fix retina ocl on NV.
Previously we incorrectly assumed data was aligned in 16 bytes, which should be 32.

11 years agoEliminate use of 32-bit floating pt type
Alex Leontiev [Sun, 1 Sep 2013 05:59:15 +0000 (13:59 +0800)]
Eliminate use of 32-bit floating pt type

Replace all "float" by "double" (64-bit) to avoid "lose precision"
warnings.

11 years agoMinor fixes
Alex Leontiev [Sat, 31 Aug 2013 23:11:31 +0000 (07:11 +0800)]
Minor fixes

Fixed integer vs unsigned integer comparison in .cpp test source and
trailing whitespaces in source code

11 years agoMinor fixes
Alex Leontiev [Sat, 31 Aug 2013 17:02:06 +0000 (01:02 +0800)]
Minor fixes

As the opencv's build-bot did not want to compile this revision, I had
to do some changes. In particular,
1) Removed unsigned int vs int comparisons, that were treated as errors
2) Removed unused variables and functions
3) Removed functions without previous declaration
4) Fixed whitespaces

11 years agoPrimal-dual algorithm
Alex Leontiev [Mon, 19 Aug 2013 09:19:52 +0000 (17:19 +0800)]
Primal-dual algorithm

This is an implementation of primal-dual algorithm, based on the C++
source code by Vadim Pisarevsky. It was extended to handle the denoising
based on multiple observations. It also contains documentation and
tests.

11 years agoUsing cv::magnitude instead of custom loop and Mat<float> instead of Mat<double>...
lluis [Mon, 9 Sep 2013 16:37:55 +0000 (18:37 +0200)]
Using cv::magnitude instead of custom loop and Mat<float> instead of Mat<double> to compute gradient magnitude channel.

11 years agoMerge pull request #1381 from 23pointsNorth:master
Roman Donchenko [Mon, 9 Sep 2013 15:53:55 +0000 (19:53 +0400)]
Merge pull request #1381 from 23pointsNorth:master

11 years agoUpdated the native activity sample to master's API.
Roman Donchenko [Mon, 9 Sep 2013 14:17:02 +0000 (18:17 +0400)]
Updated the native activity sample to master's API.

11 years agoReenabled adding native app glue for Android samples.
Roman Donchenko [Mon, 9 Sep 2013 14:16:20 +0000 (18:16 +0400)]
Reenabled adding native app glue for Android samples.

11 years agoMerge pull request #1282 from nailbiter:optimDS
Roman Donchenko [Mon, 9 Sep 2013 14:10:12 +0000 (18:10 +0400)]
Merge pull request #1282 from nailbiter:optimDS

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 agoexpose findEssentialMat, decomposeEssentialMat and recoverPose to Python
Alexander Mordvintsev [Mon, 9 Sep 2013 09:55:35 +0000 (13:55 +0400)]
expose findEssentialMat, decomposeEssentialMat and recoverPose to Python

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 agoadded computeNMChannels helper function to compute the diferent channels to be proces...
lluis [Mon, 9 Sep 2013 09:37:58 +0000 (11:37 +0200)]
added computeNMChannels helper function to compute the diferent channels to be processed independently in the N&M algorithm.

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 agoAdded <algorithm> to mxarray.hpp, which seems to be needed explictly by some compilers
hbristow [Fri, 6 Sep 2013 06:42:32 +0000 (16:42 +1000)]
Added <algorithm> to mxarray.hpp, which seems to be needed explictly by some compilers

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 agoRemoved unused Dynamic from matlab namespace - clashing with Eigen
hbristow [Fri, 6 Sep 2013 05:26:05 +0000 (15:26 +1000)]
Removed unused Dynamic from matlab namespace - clashing with Eigen

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.