platform/upstream/opencv.git
11 years agoFix arithm's substract mismatch caused by incomplete merge
yao [Sat, 13 Apr 2013 07:57:12 +0000 (15:57 +0800)]
Fix arithm's substract mismatch caused by incomplete merge

11 years agoMerge branch '2.4'
Andrey Kamaev [Fri, 12 Apr 2013 11:35:38 +0000 (15:35 +0400)]
Merge branch '2.4'

11 years agoMerge pull request #803 from taka-no-me:split_c_cpp3
Andrey Kamaev [Fri, 12 Apr 2013 11:01:47 +0000 (15:01 +0400)]
Merge pull request #803 from taka-no-me:split_c_cpp3

11 years agoMerge pull request #802 from SpecLad:shebang
Andrey Kamaev [Fri, 12 Apr 2013 11:00:28 +0000 (15:00 +0400)]
Merge pull request #802 from SpecLad:shebang

11 years agoMerge pull request #808 from bitwangyaoyao:2.4_mac
Andrey Kamaev [Fri, 12 Apr 2013 10:59:45 +0000 (14:59 +0400)]
Merge pull request #808 from bitwangyaoyao:2.4_mac

11 years agoMerge pull request #804 from gpsinghsandhu:staticCast
Andrey Kamaev [Fri, 12 Apr 2013 10:59:26 +0000 (14:59 +0400)]
Merge pull request #804 from gpsinghsandhu:staticCast

11 years agoMerge pull request #801 from kirill-kornyakov:lkdemo-fix
Andrey Kamaev [Fri, 12 Apr 2013 10:59:11 +0000 (14:59 +0400)]
Merge pull request #801 from kirill-kornyakov:lkdemo-fix

11 years agoRemove C API from OpenCL module
Andrey Kamaev [Fri, 12 Apr 2013 10:12:12 +0000 (14:12 +0400)]
Remove C API from OpenCL module

11 years agoAdd missed constants for reduce operation
Andrey Kamaev [Fri, 12 Apr 2013 10:09:45 +0000 (14:09 +0400)]
Add missed constants for reduce operation

11 years agoRemove ifdef __cplusplus from nonfree headers
Andrey Kamaev [Fri, 12 Apr 2013 08:25:54 +0000 (12:25 +0400)]
Remove ifdef __cplusplus from nonfree headers

11 years agoMove C API of opencv_objdetect to separate file
Andrey Kamaev [Fri, 12 Apr 2013 08:11:11 +0000 (12:11 +0400)]
Move C API of opencv_objdetect to separate file

Also move cv::linemod to own header

11 years agoMerge pull request #807 from pengx17:2.4_ocl_bfm_opt
Vadim Pisarevsky [Fri, 12 Apr 2013 09:46:55 +0000 (13:46 +0400)]
Merge pull request #807 from pengx17:2.4_ocl_bfm_opt

11 years agoMerge pull request #806 from bitwangyaoyao:2.4_fix
Vadim Pisarevsky [Fri, 12 Apr 2013 09:46:33 +0000 (13:46 +0400)]
Merge pull request #806 from bitwangyaoyao:2.4_fix

11 years agoMerge pull request #805 from pengx17:master_canny_fix
Vadim Pisarevsky [Fri, 12 Apr 2013 09:46:07 +0000 (13:46 +0400)]
Merge pull request #805 from pengx17:master_canny_fix

11 years agoMerge pull request #798 from pengx17:master_ocl_mleak
Vadim Pisarevsky [Fri, 12 Apr 2013 09:45:44 +0000 (13:45 +0400)]
Merge pull request #798 from pengx17:master_ocl_mleak

11 years agoMerge pull request #781 from bitwangyaoyao:2.4_fixerr
Vadim Pisarevsky [Fri, 12 Apr 2013 09:44:58 +0000 (13:44 +0400)]
Merge pull request #781 from bitwangyaoyao:2.4_fixerr

11 years agofix the compile errors on Mac
yao [Fri, 12 Apr 2013 09:38:59 +0000 (17:38 +0800)]
fix the compile errors on Mac

11 years agoCapitalize macro namings.
peng xiao [Fri, 12 Apr 2013 08:56:49 +0000 (16:56 +0800)]
Capitalize macro namings.

11 years agoRename test case category and code clean up.
peng xiao [Fri, 12 Apr 2013 08:54:06 +0000 (16:54 +0800)]
Rename test case category and code clean up.

11 years agoFix build error on linux.
peng xiao [Fri, 12 Apr 2013 08:52:21 +0000 (16:52 +0800)]
Fix build error on linux.

11 years agoFurther optimize bfmatcher by passing macros.
peng xiao [Fri, 12 Apr 2013 08:51:36 +0000 (16:51 +0800)]
Further optimize bfmatcher by passing macros.

11 years agoOptimize bfmatcher by passing macros.
peng xiao [Fri, 12 Apr 2013 08:50:30 +0000 (16:50 +0800)]
Optimize bfmatcher by passing macros.

11 years agoReplace create with ensureSizeIsEnough thus buffer objects can be reused.
peng xiao [Fri, 12 Apr 2013 08:47:44 +0000 (16:47 +0800)]
Replace create with ensureSizeIsEnough thus buffer objects can be reused.

11 years agoRemove my test codes.
peng xiao [Fri, 12 Apr 2013 08:21:52 +0000 (16:21 +0800)]
Remove my test codes.

11 years agoFix a potential bug of ocl::CannyBuf.
peng xiao [Fri, 12 Apr 2013 07:43:33 +0000 (15:43 +0800)]
Fix a potential bug of ocl::CannyBuf.

The program would crash if release is called twice.

11 years agoremove the OpenCL Dir finding in CMake
yao [Fri, 12 Apr 2013 06:44:55 +0000 (14:44 +0800)]
remove the OpenCL Dir finding in CMake

11 years agoRemove unused kernels.
peng xiao [Fri, 12 Apr 2013 06:32:13 +0000 (14:32 +0800)]
Remove unused kernels.

11 years agoFix a bug of ocl::Canny when src/dst using the same buffer.
peng xiao [Fri, 12 Apr 2013 03:10:47 +0000 (11:10 +0800)]
Fix a bug of ocl::Canny when src/dst using the same buffer.

11 years agoFormat ocl::Canny header
peng xiao [Fri, 12 Apr 2013 03:01:56 +0000 (11:01 +0800)]
Format ocl::Canny header

11 years agoTest code clean up.
peng xiao [Fri, 12 Apr 2013 02:59:15 +0000 (10:59 +0800)]
Test code clean up.

11 years agoChange ocl::Canny test case category
peng xiao [Fri, 12 Apr 2013 02:58:42 +0000 (10:58 +0800)]
Change ocl::Canny test case category

11 years agochanged reinterpret_cast to static_cast
Gurpinder Singh Sandhu [Thu, 11 Apr 2013 17:02:50 +0000 (22:32 +0530)]
changed reinterpret_cast to static_cast

This issue seem to be lingering around for quite some time
https://github.com/Itseez/opencv/pull/639
http://code.opencv.org/issues/2819

11 years agoMove C API of opencv_calib3d to separate file
Andrey Kamaev [Thu, 11 Apr 2013 15:27:54 +0000 (19:27 +0400)]
Move C API of opencv_calib3d to separate file

11 years agoFixed the shebang lines on the Python scripts.
Roman Donchenko [Thu, 11 Apr 2013 14:34:04 +0000 (18:34 +0400)]
Fixed the shebang lines on the Python scripts.

Also, removed the one from modules/python/src2/cv.py and cleared its
executable bit, since it's not a script.

11 years agoMinor code cleanings in lkdemo.cpp
Kirill Kornyakov [Thu, 11 Apr 2013 13:57:33 +0000 (17:57 +0400)]
Minor code cleanings in lkdemo.cpp

11 years ago#2813 bugfix
Kirill Kornyakov [Thu, 11 Apr 2013 13:50:10 +0000 (17:50 +0400)]
#2813 bugfix

11 years agoMove C API of opencv_video to separate file
Andrey Kamaev [Thu, 11 Apr 2013 13:38:33 +0000 (17:38 +0400)]
Move C API of opencv_video to separate file

11 years agoMerge pull request #796 from SpecLad:more-backports
Andrey Kamaev [Thu, 11 Apr 2013 11:48:16 +0000 (15:48 +0400)]
Merge pull request #796 from SpecLad:more-backports

11 years agoMerge pull request #799 from SpecLad:boost-initial-weights
Andrey Kamaev [Thu, 11 Apr 2013 11:47:57 +0000 (15:47 +0400)]
Merge pull request #799 from SpecLad:boost-initial-weights

11 years agoIn CvBoost, delegated update_weights's implementation to a helper method.
Roman Donchenko [Thu, 11 Apr 2013 09:43:51 +0000 (13:43 +0400)]
In CvBoost, delegated update_weights's implementation to a helper method.

This allows subclasses of CvBoost to override initial weights that
update_weights uses without duplicating its entire implementation.

11 years agoFix an incorrect type cast.
peng xiao [Thu, 11 Apr 2013 08:59:32 +0000 (16:59 +0800)]
Fix an incorrect type cast.

11 years agoMerge pull request #793 from SpecLad:auto-cuda
Andrey Kamaev [Thu, 11 Apr 2013 08:24:04 +0000 (12:24 +0400)]
Merge pull request #793 from SpecLad:auto-cuda

11 years agoMerge pull request #795 from taka-no-me:move_imgproc_utils_to_core
Andrey Kamaev [Thu, 11 Apr 2013 07:35:15 +0000 (11:35 +0400)]
Merge pull request #795 from taka-no-me:move_imgproc_utils_to_core

11 years agoMerge pull request #794 from asmorkalov:android_no_layout
Andrey Kamaev [Thu, 11 Apr 2013 07:34:42 +0000 (11:34 +0400)]
Merge pull request #794 from asmorkalov:android_no_layout

11 years agoMerge pull request #792 from asmorkalov:manager_incompat_wh
Andrey Kamaev [Thu, 11 Apr 2013 07:34:21 +0000 (11:34 +0400)]
Merge pull request #792 from asmorkalov:manager_incompat_wh

11 years agoMerge pull request #791 from taka-no-me:cleanup_core_api
Andrey Kamaev [Thu, 11 Apr 2013 07:34:04 +0000 (11:34 +0400)]
Merge pull request #791 from taka-no-me:cleanup_core_api

11 years agoMerge pull request #742 from bitwangyaoyao:2.4_fix
Andrey Kamaev [Thu, 11 Apr 2013 07:33:45 +0000 (11:33 +0400)]
Merge pull request #742 from bitwangyaoyao:2.4_fix

11 years agoMerge pull request #740 from evil0sheep:2.4
Andrey Kamaev [Thu, 11 Apr 2013 07:33:30 +0000 (11:33 +0400)]
Merge pull request #740 from evil0sheep:2.4

11 years agoBackported RNG_MT19937 from master.
Roman Donchenko [Wed, 10 Apr 2013 15:39:38 +0000 (19:39 +0400)]
Backported RNG_MT19937 from master.

11 years agoBackported globbing from master.
Roman Donchenko [Wed, 10 Apr 2013 15:36:39 +0000 (19:36 +0400)]
Backported globbing from master.

11 years agoMove borderInterpolate and copyMakeBorder documentation
Andrey Kamaev [Wed, 10 Apr 2013 12:17:28 +0000 (16:17 +0400)]
Move borderInterpolate and copyMakeBorder documentation

11 years agoMove border type constants and Moments class to core module
Andrey Kamaev [Wed, 10 Apr 2013 11:54:14 +0000 (15:54 +0400)]
Move border type constants and Moments class to core module

11 years agoFeature #2893 Create Java sample without layout.xml implemented.
Alexander Smorkalov [Wed, 10 Apr 2013 09:38:59 +0000 (13:38 +0400)]
Feature #2893 Create Java sample without layout.xml implemented.

11 years agoAutomatically add CUDA support to a module if it has CUDA sources.
Roman Donchenko [Wed, 10 Apr 2013 08:20:54 +0000 (12:20 +0400)]
Automatically add CUDA support to a module if it has CUDA sources.

Backport from master.

11 years agoIncompatible hardware detetction added to OpenCV Manager(Feature #2941)
Alexander Smorkalov [Wed, 10 Apr 2013 06:43:22 +0000 (10:43 +0400)]
Incompatible hardware detetction added to OpenCV Manager(Feature #2941)

11 years agoUpdate documentation
Andrey Kamaev [Tue, 9 Apr 2013 09:31:59 +0000 (13:31 +0400)]
Update documentation

11 years agoCleanup core module API
Andrey Kamaev [Tue, 9 Apr 2013 09:10:54 +0000 (13:10 +0400)]
Cleanup core module API

* Drop some low level API
* Remove outdated overloads
* Utilize Input/OutputArray

11 years agoMerge pull request #790 from jet47:fix-gpu-build
Andrey Kamaev [Tue, 9 Apr 2013 09:14:37 +0000 (13:14 +0400)]
Merge pull request #790 from jet47:fix-gpu-build

11 years agoMerge pull request #789 from asmorkalov:android_na_mk_fix
Andrey Kamaev [Tue, 9 Apr 2013 09:14:21 +0000 (13:14 +0400)]
Merge pull request #789 from asmorkalov:android_na_mk_fix

11 years agoMerge pull request #788 from jet47:fix-2938
Andrey Kamaev [Tue, 9 Apr 2013 09:14:06 +0000 (13:14 +0400)]
Merge pull request #788 from jet47:fix-2938

11 years agofixed gpu module compilation
Vladislav Vinogradov [Tue, 9 Apr 2013 06:41:35 +0000 (10:41 +0400)]
fixed gpu module compilation

11 years agoNative activity build with Android.mk fixed.
Alexander Smorkalov [Tue, 9 Apr 2013 06:13:46 +0000 (10:13 +0400)]
Native activity build with Android.mk fixed.

11 years agofixed bug #2938
Vladislav Vinogradov [Tue, 9 Apr 2013 06:14:25 +0000 (10:14 +0400)]
fixed bug #2938

11 years agoMerge pull request #785 from taka-no-me:split_c_cpp2
Andrey Kamaev [Tue, 9 Apr 2013 04:53:49 +0000 (08:53 +0400)]
Merge pull request #785 from taka-no-me:split_c_cpp2

11 years agoMerge pull request #783 from pengx17:master_matchTemplate_dft
Andrey Kamaev [Tue, 9 Apr 2013 04:53:16 +0000 (08:53 +0400)]
Merge pull request #783 from pengx17:master_matchTemplate_dft

11 years agoMerge pull request #782 from taka-no-me:bitness_detection
Andrey Kamaev [Tue, 9 Apr 2013 04:52:32 +0000 (08:52 +0400)]
Merge pull request #782 from taka-no-me:bitness_detection

11 years agoMerge pull request #776 from virtuald:2.4
Andrey Kamaev [Tue, 9 Apr 2013 04:51:09 +0000 (08:51 +0400)]
Merge pull request #776 from virtuald:2.4

11 years agoMerge pull request #761 from jet47:gpu-core-refactoring
Andrey Kamaev [Tue, 9 Apr 2013 04:50:44 +0000 (08:50 +0400)]
Merge pull request #761 from jet47:gpu-core-refactoring

11 years agoMerge pull request #787 from taka-no-me:quiet_nvcc
Andrey Kamaev [Mon, 8 Apr 2013 16:10:34 +0000 (20:10 +0400)]
Merge pull request #787 from taka-no-me:quiet_nvcc

11 years agoCast to unsigned inside CV_XADD to quiet nvcc
Andrey Kamaev [Mon, 8 Apr 2013 14:15:10 +0000 (18:15 +0400)]
Cast to unsigned inside CV_XADD to quiet nvcc

11 years agoremoved blank lines at then end of file
Vladislav Vinogradov [Mon, 8 Apr 2013 12:13:53 +0000 (16:13 +0400)]
removed blank lines at then end of file

11 years agofixed compilation warnings
Vladislav Vinogradov [Mon, 8 Apr 2013 11:43:06 +0000 (15:43 +0400)]
fixed compilation warnings

11 years agorestore cudaSafeCall
Vladislav Vinogradov [Mon, 8 Apr 2013 08:37:36 +0000 (12:37 +0400)]
restore cudaSafeCall

11 years agofixed source_group
Vladislav Vinogradov [Thu, 4 Apr 2013 16:54:35 +0000 (20:54 +0400)]
fixed source_group

11 years agofixed windows build
Vladislav Vinogradov [Thu, 4 Apr 2013 16:54:13 +0000 (20:54 +0400)]
fixed windows build

11 years agoremoved static_check.hpp
Vladislav Vinogradov [Thu, 4 Apr 2013 16:51:20 +0000 (20:51 +0400)]
removed static_check.hpp

11 years agorenamed cuda namespace to cudev
Vladislav Vinogradov [Thu, 4 Apr 2013 11:36:22 +0000 (15:36 +0400)]
renamed cuda namespace to cudev

11 years agofixed build
Vladislav Vinogradov [Thu, 4 Apr 2013 10:27:40 +0000 (14:27 +0400)]
fixed build

11 years agoremoved cu_safe_call.h and cu_safe_call.cpp
Vladislav Vinogradov [Thu, 4 Apr 2013 10:27:24 +0000 (14:27 +0400)]
removed cu_safe_call.h and cu_safe_call.cpp

11 years agomoved common gpu utility functionality to gpu_private.hpp
Vladislav Vinogradov [Wed, 3 Apr 2013 13:09:31 +0000 (17:09 +0400)]
moved common gpu utility functionality to gpu_private.hpp

11 years agorenamed device -> cuda
Vladislav Vinogradov [Wed, 3 Apr 2013 12:04:04 +0000 (16:04 +0400)]
renamed device -> cuda

11 years agomoved device layer to core module
Vladislav Vinogradov [Sun, 31 Mar 2013 10:54:23 +0000 (14:54 +0400)]
moved device layer to core module

11 years agoMerge pull request #724 from jet47:tvl1-updates
Andrey Kamaev [Mon, 8 Apr 2013 13:13:35 +0000 (17:13 +0400)]
Merge pull request #724 from jet47:tvl1-updates

11 years agoFix build errors
Andrey Kamaev [Mon, 8 Apr 2013 11:09:48 +0000 (15:09 +0400)]
Fix build errors

11 years agoUpdate documentation
Andrey Kamaev [Mon, 8 Apr 2013 09:21:19 +0000 (13:21 +0400)]
Update documentation

11 years agoMake flann headers independent from OpenCV C API
Andrey Kamaev [Sun, 7 Apr 2013 20:24:39 +0000 (00:24 +0400)]
Make flann headers independent from OpenCV C API

11 years agoMake photo.hpp independent from C API
Andrey Kamaev [Sun, 7 Apr 2013 19:23:53 +0000 (23:23 +0400)]
Make photo.hpp independent from C API

11 years agoMake highgui.hpp independent from C API
Andrey Kamaev [Sun, 7 Apr 2013 18:45:38 +0000 (22:45 +0400)]
Make highgui.hpp independent from C API

11 years agoMake imgproc.hpp independent from C API
Andrey Kamaev [Sat, 6 Apr 2013 14:16:51 +0000 (18:16 +0400)]
Make imgproc.hpp independent from C API

11 years agofixed sanity test on Windows
Vladislav Vinogradov [Mon, 1 Apr 2013 06:44:27 +0000 (10:44 +0400)]
fixed sanity test on Windows

11 years agoupdated GPU version of TVL1
Vladislav Vinogradov [Fri, 29 Mar 2013 07:36:36 +0000 (11:36 +0400)]
updated GPU version of TVL1

11 years agoMake rescaling flexible and add median filtering
Stefan Walk [Fri, 22 Mar 2013 12:07:02 +0000 (13:07 +0100)]
Make rescaling flexible and add median filtering

Previously the pyramid was done with a rescaling factor of 2 (implied by the
use of pyrDown). This often leads to inferior results compared to a scale step
of e.g. 0.8 (a factor of 2 is obviously faster). This commit makes the scale
step configurable and uses a resonable default value.

The other change in this commit is that median filtering is added. This is not
described in this paper but it is done in the author's implementation. (See
e.g. "Secrets of optical flow estimation and their principles", Sun et al.,
CVPR 2010) This serves as periodic outlier removal during optimization, leading
to smoother flow fields while preserving motion edges. This includes splitting
the optimization loop into two loops.

11 years agoMerge pull request #786 from cuda-geek:fix-build-gpu-off-cuda-on
Andrey Kamaev [Mon, 8 Apr 2013 11:11:28 +0000 (15:11 +0400)]
Merge pull request #786 from cuda-geek:fix-build-gpu-off-cuda-on

11 years agoMerge pull request #784 from jet47:fix-gpu-build
Andrey Kamaev [Mon, 8 Apr 2013 11:11:16 +0000 (15:11 +0400)]
Merge pull request #784 from jet47:fix-gpu-build

11 years agofix build without gpu module with cuda
marina.kolpakova [Mon, 8 Apr 2013 09:07:06 +0000 (13:07 +0400)]
fix build without gpu module with cuda

11 years agofixed compilation with CUDA
Vladislav Vinogradov [Thu, 4 Apr 2013 07:00:36 +0000 (11:00 +0400)]
fixed compilation with CUDA

11 years agoAdd some documentation on ocl::convolve
peng xiao [Mon, 8 Apr 2013 09:15:52 +0000 (17:15 +0800)]
Add some documentation on ocl::convolve

11 years agoFix some compilation errors and warnings.
peng xiao [Mon, 8 Apr 2013 08:22:20 +0000 (16:22 +0800)]
Fix some compilation errors and warnings.

11 years agoFix bitness detection for target platform
Andrey Kamaev [Sat, 6 Apr 2013 16:11:40 +0000 (20:11 +0400)]
Fix bitness detection for target platform

11 years agoocl: Add dft based convolve implementation.
peng xiao [Mon, 8 Apr 2013 07:19:44 +0000 (15:19 +0800)]
ocl: Add dft based convolve implementation.

Match template in ocl module now can be utilized with dft based
convolve. Note this feature needs OpenCV to be built with clAmdFft
library.