platform/upstream/opencv.git
9 years agoNow using default arg instead of overloads
Vijay Pradeep [Tue, 13 Jan 2015 19:25:01 +0000 (11:25 -0800)]
Now using default arg instead of overloads

9 years agoWhitespace fix
Vijay Pradeep [Fri, 9 Jan 2015 18:44:19 +0000 (10:44 -0800)]
Whitespace fix

9 years agooverload instead of default arg for ABI backwards compatibility. rng_seed is now...
Vijay Pradeep [Fri, 9 Jan 2015 18:17:18 +0000 (10:17 -0800)]
overload instead of default arg for ABI backwards compatibility. rng_seed is now 'int' to support python port

9 years agosolvePnPRansac now accepts a seed and is deterministic
Vijay Pradeep [Fri, 9 Jan 2015 02:24:55 +0000 (18:24 -0800)]
solvePnPRansac now accepts a seed and is deterministic

9 years agoMerge pull request #3565 from mshabunin:ml-leak-24
Vadim Pisarevsky [Wed, 31 Dec 2014 09:17:25 +0000 (09:17 +0000)]
Merge pull request #3565 from mshabunin:ml-leak-24

9 years agoFixed memory leak in ML module
Maksim Shabunin [Tue, 30 Dec 2014 12:20:24 +0000 (15:20 +0300)]
Fixed memory leak in ML module

"int * CvMLData::sample_idx" was not freed

9 years agoMerge pull request #3562 from asmorkalov:ocv_aarch64
Vadim Pisarevsky [Tue, 30 Dec 2014 11:06:00 +0000 (11:06 +0000)]
Merge pull request #3562 from asmorkalov:ocv_aarch64

9 years agoMore accurate fix for libtiff and aarch64.
Alexander Smorkalov [Sun, 28 Dec 2014 09:44:24 +0000 (12:44 +0300)]
More accurate fix for libtiff and aarch64.

9 years agoFull AARCH64 support with NEON and new CUDA toolkit.
Alexander Smorkalov [Fri, 26 Dec 2014 10:08:44 +0000 (13:08 +0300)]
Full AARCH64 support with NEON and new CUDA toolkit.

9 years agoTBB updated to 4.3u2. Fix for aarch64 support.
Alexander Smorkalov [Fri, 26 Dec 2014 09:13:42 +0000 (12:13 +0300)]
TBB updated to 4.3u2. Fix for aarch64 support.

9 years agoFix of HaarCascade GPU test for aarch64.
Alexander Smorkalov [Fri, 19 Dec 2014 16:05:53 +0000 (19:05 +0300)]
Fix of HaarCascade GPU test for aarch64.

9 years agoMerge pull request #3534 from taka-no-me:build_fixes
Vadim Pisarevsky [Fri, 26 Dec 2014 14:34:13 +0000 (14:34 +0000)]
Merge pull request #3534 from taka-no-me:build_fixes

9 years agoMerge pull request #3543 from MatMoore:2.4
Vadim Pisarevsky [Fri, 26 Dec 2014 12:11:42 +0000 (12:11 +0000)]
Merge pull request #3543 from MatMoore:2.4

9 years agoMerge pull request #3545 from jet47:gpu-match-template-tests
Vadim Pisarevsky [Fri, 26 Dec 2014 12:08:54 +0000 (12:08 +0000)]
Merge pull request #3545 from jet47:gpu-match-template-tests

9 years agofix tests for gpu::matchTemplate:
Vladislav Vinogradov [Thu, 25 Dec 2014 14:43:13 +0000 (17:43 +0300)]
fix tests for gpu::matchTemplate:

use ASSERT_FLOAT_EQ to compare float values, it is more robust for
large values

9 years agoFix Android build with the most resent android.toolchain.cmake
Andrey Kamaev [Tue, 23 Dec 2014 08:08:07 +0000 (11:08 +0300)]
Fix Android build with the most resent android.toolchain.cmake

9 years agoAssorted fixes:
Andrey Kamaev [Sun, 21 Dec 2014 14:59:50 +0000 (17:59 +0300)]
Assorted fixes:

* cmake CMP0054 and CMP0045
* aarch64 build
* portable code options in PCH cmake
* some of gcc 4.9 warnings

9 years agoMerge pull request #3506 from doltac:typofix
Roman Donchenko [Wed, 24 Dec 2014 09:01:40 +0000 (09:01 +0000)]
Merge pull request #3506 from doltac:typofix

9 years agoMerge pull request #3497 from SpecLad:fs-open-fail-leak
Roman Donchenko [Wed, 24 Dec 2014 08:59:53 +0000 (08:59 +0000)]
Merge pull request #3497 from SpecLad:fs-open-fail-leak

9 years agoMinor grammar improvements to documentation
Mat Moore [Tue, 23 Dec 2014 19:15:38 +0000 (19:15 +0000)]
Minor grammar improvements to documentation

9 years agocvOpenFileStorage: reduce the scope of xml_buf and make sure it's freed...
Roman Donchenko [Mon, 22 Dec 2014 15:54:39 +0000 (18:54 +0300)]
cvOpenFileStorage: reduce the scope of xml_buf and make sure it's freed...

... before any exceptions occur.

9 years agoMerge pull request #3471 from HelenWong:FixBug3714
Vadim Pisarevsky [Mon, 22 Dec 2014 10:55:23 +0000 (10:55 +0000)]
Merge pull request #3471 from HelenWong:FixBug3714

9 years agoMerge pull request #3484 from euphrat:gmg_update_fix
Vadim Pisarevsky [Mon, 22 Dec 2014 10:54:57 +0000 (10:54 +0000)]
Merge pull request #3484 from euphrat:gmg_update_fix

9 years agoMerge pull request #3511 from mattip:2.4
Vadim Pisarevsky [Mon, 22 Dec 2014 10:41:20 +0000 (10:41 +0000)]
Merge pull request #3511 from mattip:2.4

9 years agoMerge pull request #3514 from mshabunin:compat-24
Vadim Pisarevsky [Mon, 22 Dec 2014 10:38:55 +0000 (10:38 +0000)]
Merge pull request #3514 from mshabunin:compat-24

9 years agoMerge pull request #3500 from StevenPuttemans:fix_2432_2.4
Vadim Pisarevsky [Mon, 22 Dec 2014 10:28:33 +0000 (10:28 +0000)]
Merge pull request #3500 from StevenPuttemans:fix_2432_2.4

9 years agoMerge pull request #3515 from StevenPuttemans:fix_FeatureDetector_docs
Vadim Pisarevsky [Mon, 22 Dec 2014 10:27:01 +0000 (10:27 +0000)]
Merge pull request #3515 from StevenPuttemans:fix_FeatureDetector_docs

9 years agoFix memory leaks appearing when cvOpenFileStorage throws
Roman Donchenko [Tue, 9 Dec 2014 16:13:19 +0000 (19:13 +0300)]
Fix memory leaks appearing when cvOpenFileStorage throws

9 years agoMerge pull request #3522 from ilya-lavrenov:update_android_toolchain_cmake
Vadim Pisarevsky [Thu, 18 Dec 2014 14:49:35 +0000 (14:49 +0000)]
Merge pull request #3522 from ilya-lavrenov:update_android_toolchain_cmake

9 years agoupdate android.toolchain.cmake
Ilya Lavrenov [Wed, 17 Dec 2014 17:08:55 +0000 (20:08 +0300)]
update android.toolchain.cmake

9 years agoSome changes to make migration to 3.0 easier
Maksim Shabunin [Fri, 12 Dec 2014 07:44:10 +0000 (10:44 +0300)]
Some changes to make migration to 3.0 easier

9 years agoMerge pull request #3498 from ilya-lavrenov:omp
Vadim Pisarevsky [Mon, 15 Dec 2014 18:08:30 +0000 (18:08 +0000)]
Merge pull request #3498 from ilya-lavrenov:omp

9 years agoMerge pull request #3449 from Ashod:2.4_highgui_trackbar_improvements
Vadim Pisarevsky [Mon, 15 Dec 2014 18:02:29 +0000 (18:02 +0000)]
Merge pull request #3449 from Ashod:2.4_highgui_trackbar_improvements

9 years agofix bug 2432 for 2.4 branch
StevenPuttemans [Wed, 10 Dec 2014 12:45:42 +0000 (13:45 +0100)]
fix bug 2432 for 2.4 branch

9 years agoadd extra to FeatureDetector docs
StevenPuttemans [Mon, 15 Dec 2014 10:31:18 +0000 (11:31 +0100)]
add extra to FeatureDetector docs

9 years agoexport thread control to generated wrappers
mattip [Sun, 14 Dec 2014 09:55:02 +0000 (11:55 +0200)]
export thread control to generated wrappers

9 years agoFixed typos in latentSVM detector demo.
doltac [Thu, 11 Dec 2014 10:22:40 +0000 (19:22 +0900)]
Fixed typos in latentSVM detector demo.

9 years agoability to enable OpenMP simultaneously with other parallel framework
Ilya Lavrenov [Wed, 3 Dec 2014 11:59:51 +0000 (14:59 +0300)]
ability to enable OpenMP simultaneously with other parallel framework

9 years agohighgui: Support to change trackbar count in setTrackbarPos and replaced deprecated...
Ashod Nakashian [Tue, 25 Nov 2014 22:20:54 +0000 (17:20 -0500)]
highgui: Support to change trackbar count in setTrackbarPos and replaced deprecated CreateToolbarEx in Windows.

9 years agoMerge pull request #3480 from mshabunin:python-test-24
Vadim Pisarevsky [Sat, 6 Dec 2014 08:07:56 +0000 (08:07 +0000)]
Merge pull request #3480 from mshabunin:python-test-24

9 years agoMerge pull request #3488 from jeremyhu:PR-4048
Vadim Pisarevsky [Sat, 6 Dec 2014 08:03:56 +0000 (08:03 +0000)]
Merge pull request #3488 from jeremyhu:PR-4048

9 years agoFix tautologies in calibfilter.cpp which cause a build failure when using -Werror...
Jeremy Huddleston Sequoia [Fri, 5 Dec 2014 18:22:11 +0000 (10:22 -0800)]
Fix tautologies in calibfilter.cpp which cause a build failure when using -Werror=address with clang-3.5

http://code.opencv.org/issues/4048

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
9 years agominor fix to make "updateBackgroundModel=false" option meaningful.
Firat Kalaycilar [Thu, 4 Dec 2014 20:36:42 +0000 (22:36 +0200)]
minor fix to make "updateBackgroundModel=false" option meaningful.

9 years agoPython test: new options provide local test data paths
Maksim Shabunin [Wed, 3 Dec 2014 14:57:35 +0000 (17:57 +0300)]
Python test: new options provide local test data paths

9 years agoFix#3714:Improve Display Image Tutorial
HelenWong [Mon, 1 Dec 2014 18:39:45 +0000 (10:39 -0800)]
Fix#3714:Improve Display Image Tutorial

For Bug #3714, user use the imshow() function without calling
namedWindow() properly, because user did not know the implicit rule for
imshow(). (i.e. without calling namedWindow implied calling namedWindow(
,CV__WINDOW_AUTOSIZE).

Improve the Display Image Tutorial to educate the user for such implied
rule.

Put a note on documentation for Bug#3714

Revise the documentation regarding to imshow() function to better
educate the user the implicit rule. (i.e. without creating the window
before the imshow() function is the same as creating AUTOSIZE window)

9 years agoMerge pull request #3445 from jet47:get-rid-of-cuda-h
Vadim Pisarevsky [Mon, 1 Dec 2014 10:40:56 +0000 (10:40 +0000)]
Merge pull request #3445 from jet47:get-rid-of-cuda-h

9 years agoMerge pull request #3447 from a-wi:Fill_ellipse_arc
Vadim Pisarevsky [Mon, 1 Dec 2014 10:40:12 +0000 (10:40 +0000)]
Merge pull request #3447 from a-wi:Fill_ellipse_arc

9 years agoFix determining bounding box of the edge collection in FillEdgeCollection().
Artur Wieczorek [Tue, 25 Nov 2014 17:47:19 +0000 (18:47 +0100)]
Fix determining bounding box of the edge collection in FillEdgeCollection().

There is necessary to account also x-ccordinate of the end of the edge when determining bounding box of the edge collection.

9 years agoget rid of cuda.h usage
Vladislav Vinogradov [Tue, 25 Nov 2014 15:29:56 +0000 (18:29 +0300)]
get rid of cuda.h usage

9 years agoMerge pull request #3433 from StevenPuttemans:fix_whitebalance_naming
Vadim Pisarevsky [Mon, 24 Nov 2014 09:40:21 +0000 (09:40 +0000)]
Merge pull request #3433 from StevenPuttemans:fix_whitebalance_naming

9 years agofix wrong property name and corresponding documentation
StevenPuttemans [Wed, 19 Nov 2014 11:02:32 +0000 (12:02 +0100)]
fix wrong property name and corresponding documentation

9 years agoMerge pull request #3419 from samyak-268:2.4
Vadim Pisarevsky [Sun, 16 Nov 2014 18:17:53 +0000 (18:17 +0000)]
Merge pull request #3419 from samyak-268:2.4

9 years agoMerge pull request #3425 from StevenPuttemans:fix_firewire_buffersize
Vadim Pisarevsky [Sun, 16 Nov 2014 18:06:20 +0000 (18:06 +0000)]
Merge pull request #3425 from StevenPuttemans:fix_firewire_buffersize

9 years agoMerge pull request #3427 from tstellarAMD:2.4-farneback-crash-fix
Vadim Pisarevsky [Sun, 16 Nov 2014 18:05:17 +0000 (18:05 +0000)]
Merge pull request #3427 from tstellarAMD:2.4-farneback-crash-fix

9 years agoadded extra BUFFERSIZE doc and getter
StevenPuttemans [Fri, 14 Nov 2014 13:09:43 +0000 (14:09 +0100)]
added extra BUFFERSIZE doc and getter

9 years agoocl: Move static oclMat variables into FarnebackOpticalFlow class
Tom Stellard [Thu, 13 Nov 2014 16:16:10 +0000 (11:16 -0500)]
ocl: Move static oclMat variables into FarnebackOpticalFlow class

Move some static functions into the FarnebackOpticalFlow class as well,
so they can access these new class variables.

oclMat objects cannot be declared statically, because their destructor
depends on the statically defined __module variable from cl_context.cpp.
Since statically defined variables in separate compilation units have
an undefined destruction order there is always the possibility the
__module will be destructed before an oclMat object, which results
in a segfault.

9 years agoMerge pull request #3421 from SpecLad:ncv-algorithm
Vadim Pisarevsky [Thu, 13 Nov 2014 15:40:29 +0000 (15:40 +0000)]
Merge pull request #3421 from SpecLad:ncv-algorithm

9 years agoNCV.cu: include <algorithm>
Roman Donchenko [Thu, 13 Nov 2014 13:16:26 +0000 (16:16 +0300)]
NCV.cu: include <algorithm>

It's needed for std::max.

9 years agoMerge pull request #3412 from StevenPuttemans:ieee1934_camera_set_params
Vadim Pisarevsky [Thu, 13 Nov 2014 07:27:33 +0000 (07:27 +0000)]
Merge pull request #3412 from StevenPuttemans:ieee1934_camera_set_params

9 years agoMerge pull request #3414 from SpecLad:vg-stereogc
Vadim Pisarevsky [Thu, 13 Nov 2014 07:20:30 +0000 (07:20 +0000)]
Merge pull request #3414 from SpecLad:vg-stereogc

9 years agoMerge pull request #3418 from tstellarAMD:2.4-hog-crash-fix
Alexander Alekhin [Thu, 13 Nov 2014 01:49:06 +0000 (01:49 +0000)]
Merge pull request #3418 from tstellarAMD:2.4-hog-crash-fix

9 years agoC++ sample code to detect facial features
Samyak Datta [Wed, 12 Nov 2014 18:05:02 +0000 (23:35 +0530)]
C++ sample code to detect facial features

9 years agoMerge pull request #3417 from ilya-lavrenov:dox_warn
Maksim Shabunin [Wed, 12 Nov 2014 17:48:43 +0000 (17:48 +0000)]
Merge pull request #3417 from ilya-lavrenov:dox_warn

9 years agoattemp to fix dox warning
Ilya Lavrenov [Wed, 12 Nov 2014 16:18:45 +0000 (19:18 +0300)]
attemp to fix dox warning

9 years agoocl: Fix crash during destruction of gauss_w_lut object in hog.cpp
Tom Stellard [Mon, 10 Nov 2014 15:10:42 +0000 (10:10 -0500)]
ocl: Fix crash during destruction of gauss_w_lut object in hog.cpp

gauss_w_lut is a statically defined variable of type oclMat.  The oclMat
destructor calls openCLFree() which via getInitializationMutex() accesses
the __module variable which has been statically defined in cl_context.cpp

Since the destruction order of statically defined variables in different
compilation units is undefined, it is possible that __module will
be destructed before gauss_w_lut, which would result in a segfault when
getInitializationMutex() is called while destructing gauss_w_lut.

In order to avoid this issue, we need to make gauss_w_lut a private
member of the HOGDescriptors class so we know it will be destroyed
before __module.

9 years agoFix uninitialized memory reads and memory leaks in StereoGC
Roman Donchenko [Wed, 12 Nov 2014 14:00:08 +0000 (17:00 +0300)]
Fix uninitialized memory reads and memory leaks in StereoGC

9 years agoadding extra buffer parameter
StevenPuttemans [Wed, 12 Nov 2014 09:48:24 +0000 (10:48 +0100)]
adding extra buffer parameter

9 years agoMerge pull request #3401 from SpecLad:optflow-bogus-Warray-bounds
Vadim Pisarevsky [Tue, 11 Nov 2014 13:27:41 +0000 (13:27 +0000)]
Merge pull request #3401 from SpecLad:optflow-bogus-Warray-bounds

9 years agoSuppress a bogus -Warray-bounds in modules/superres/src/optical_flow.cpp
Roman Donchenko [Fri, 7 Nov 2014 10:35:20 +0000 (13:35 +0300)]
Suppress a bogus -Warray-bounds in modules/superres/src/optical_flow.cpp

This is actually the same warning that the suppression at the bottom
suppresses, but that one doesn't suppress it when using a native compiler
(go figure).

I remove the forced inclusion of precompiled headers into all sources,
since otherwise this workaround doesn't work - the header with the warning
is included before I can use a pragma.

9 years agoMerge pull request #3322 from StevenPuttemans:fix_pvpapi_interface
Vadim Pisarevsky [Mon, 10 Nov 2014 08:27:41 +0000 (08:27 +0000)]
Merge pull request #3322 from StevenPuttemans:fix_pvpapi_interface

9 years agoMerge pull request #3305 from tSed:opencv-2.4.x/opencv.pc-generation-refactoring
Vadim Pisarevsky [Thu, 6 Nov 2014 08:41:07 +0000 (08:41 +0000)]
Merge pull request #3305 from tSed:opencv-2.4.x/opencv.pc-generation-refactoring

9 years agoMerge pull request #3294 from mshabunin:fix-ios-warnings-24
Vadim Pisarevsky [Wed, 5 Nov 2014 11:35:19 +0000 (11:35 +0000)]
Merge pull request #3294 from mshabunin:fix-ios-warnings-24

9 years agoMerge pull request #3376 from vriera:2.4
Vadim Pisarevsky [Wed, 5 Nov 2014 11:13:03 +0000 (11:13 +0000)]
Merge pull request #3376 from vriera:2.4

9 years agocmake/OpenCVGenPkgconfig.cmake: rework opencv.pc generation
Samuel Martin [Thu, 2 Oct 2014 22:32:40 +0000 (00:32 +0200)]
cmake/OpenCVGenPkgconfig.cmake: rework opencv.pc generation

Using absolute path to locate the components in the "Libs:" field of the
*.pc can badly break cross-compilation, especially when building
statically linked objects.

Indeed, pkg-config automatically replaces the '-I...' and '-L...' paths
when the PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_LIBDIR environment
variables are set [1]. This feature is very helpful and common in
cross-compilation framework like Buildroot [2,3].

When there are absolute paths in the *.pc files, pkg-config won't be
able to do the path substitions for these paths when the afromentioned
environment variables are set.
In such case, since the prefix is the target one, not the sysroot one,
these libraries' abolute paths will point to:
- in the best case: a non-existing file (i.e. these files do not exists
  on the host system;
- at worst: the host system's libraries. This will make the linking
  failed because these host system's libraries will most likely not be
  build for the target architecture [4].

So, this patch replace the components' absolute paths by the form:
  -L<libdir> -l<libname>

This way, the linker will be able to resolve each dependency path,
whatever the kind of objects/build (shared object or static build) it
is dealing with.

Note that for static link, the library order does matter [5]. The order
of the opencv components has been carefully chosen to comply with this
requirement.

Fixes #3931

[1] http://linux.die.net/man/1/pkg-config
[2] http://buildroot.org/
[3] http://git.buildroot.net/buildroot/tree/package/pkgconf/pkg-config.in
[4] http://autobuild.buildroot.net/results/e8a/e8a859276db34aff87ef181b0cce98916b0afc90/build-end.log
[5] http://stackoverflow.com/questions/45135/linker-order-gcc

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
Note: this patch properly applies on top of the master branch, though it
      has been written on top of the 2.4 branch.

9 years agoMerge pull request #3382 from StevenPuttemans:fix_3982
Vadim Pisarevsky [Fri, 31 Oct 2014 11:18:23 +0000 (11:18 +0000)]
Merge pull request #3382 from StevenPuttemans:fix_3982

9 years agoMerge pull request #3364 from mshabunin:doxygen-docs-24
Vadim Pisarevsky [Thu, 30 Oct 2014 10:42:24 +0000 (10:42 +0000)]
Merge pull request #3364 from mshabunin:doxygen-docs-24

9 years agofixing SVM negative value rounding
StevenPuttemans [Wed, 29 Oct 2014 12:50:20 +0000 (13:50 +0100)]
fixing SVM negative value rounding

9 years agofixing cap_pvpapi interface and making sure both AVT Manta and Proscilla
StevenPuttemans [Thu, 9 Oct 2014 09:30:42 +0000 (11:30 +0200)]
fixing cap_pvpapi interface and making sure both AVT Manta and Proscilla
series are supported. Testing this with both cams for Windows and Linux
exhaustively.

Optimizing memory footprint by removing unused calls.

Adapted with the input of Shai

Added small example that illustrates how it should work.

9 years agosuperres: Fix \ 1\ 1return value VideoFrameSource_GPU
Vicente Olivert Riera [Mon, 27 Oct 2014 13:39:35 +0000 (13:39 +0000)]
superres: Fix \ 1\ 1return value VideoFrameSource_GPU

superres module fails to compile with the following error messages:

[100%] Building CXX object modules/superres/CMakeFiles/opencv_superres.dir/src/super_resolution.cpp.o
/opencv-2.4.10/modules/superres/src/frame_source.cpp: In function 'cv::Ptr<cv::superres::FrameSource> cv::superres::createFrameSource_Video_GPU(const string&)':
/opencv-2.4.10/modules/superres/src/frame_source.cpp:263:16: error: expected type-specifier before 'VideoFrameSource'
/opencv-2.4.10/modules/superres/src/frame_source.cpp:263:16: error: could not convert '(int*)operator new(4ul)' from 'int*' to 'cv::Ptr<cv::superres::FrameSource>'
/opencv-2.4.10/modules/superres/src/frame_source.cpp:263:16: error: expected ';' before 'VideoFrameSource'
/opencv-2.4.10/modules/superres/src/frame_source.cpp:263:41: error: 'VideoFrameSource' was not declared in this scope
/opencv-2.4.10/modules/superres/src/frame_source.cpp:264:1: error: control reaches end of non-void function [-Werror=return-type]
cc1plus: some warnings being treated as errors
make[3]: *** [modules/superres/CMakeFiles/opencv_superres.dir/src/frame_source.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....

This is caused because the return value of the \ 1createFrameSource_Video_GPU function should be a VideoFrameSource_GPU object.

9 years agoiOS framework build script changes from master branch
Maksim Shabunin [Tue, 21 Oct 2014 11:41:02 +0000 (15:41 +0400)]
iOS framework build script changes from master branch

9 years agoFixed iOS framework compilation warnings
Maksim Shabunin [Mon, 20 Oct 2014 12:06:32 +0000 (16:06 +0400)]
Fixed iOS framework compilation warnings

9 years agoiOS framework build script changes
Maksim Shabunin [Mon, 20 Oct 2014 08:59:17 +0000 (12:59 +0400)]
iOS framework build script changes

- buildbot process support (break build in case of errors)
- disabled some warnings in cmake script

9 years agoMerge pull request #3336 from BKNio:putText_develop2
Maksim Shabunin [Mon, 27 Oct 2014 11:56:25 +0000 (11:56 +0000)]
Merge pull request #3336 from BKNio:putText_develop2

9 years agofixed issue with malformed UTF-8 string;
Dinar Ahmatnurov [Tue, 14 Oct 2014 13:11:18 +0000 (17:11 +0400)]
fixed issue with malformed UTF-8 string;

ocl: Change static variable order in cl_context.cpp to avoid crashes during destruction

ContextImpl::currentContext contains a reference to one of the
DeviceInfoImpl objects from:

static std::vector<DeviceInfoImpl> global_devices;

ContextImpl::currentContext is destroyed in the destructor
for the statically defined object __module, and relies on its
DeviceInfoImpl reference to query some hardware features while
being destroyed.

This means that we need to ensure that the global_devices vector is
destroyed affter __module, otherwise ContextImpl::currentContext's
DeviceInfoImpl reference will no longer be valid when __module is
destroyed.

Since these variables are all confined to a single compilation unit,
they will be destruct from bottom to top, so we need to make sure
that __module is the bottom definition so it can be destroyed first.

iOS: fix crash from overrelease in UIImageToMat

viz: fixed memory leak, issue 3961

fix installation layout for debian packages:

Install symlinks to shared libraries as a part of development package,
not runtime package.

It is default behavior for debian packages.

Fix test name.

TIFF loader: Allocate large enough buffer when (bpp * ncn) > 8.

TIFF loader: Pass buffer size to read functions.

replace not ascii and not cyrillic symbols with '?';

add test for putText;

fix warning;

minor fixes;

9 years agoMerge pull request #3362 from mshabunin:fix-drawing-24
Vadim Pisarevsky [Sun, 26 Oct 2014 17:44:07 +0000 (17:44 +0000)]
Merge pull request #3362 from mshabunin:fix-drawing-24

9 years agoMerge pull request #3363 from asmorkalov:qnx_support
Vadim Pisarevsky [Sun, 26 Oct 2014 17:42:24 +0000 (17:42 +0000)]
Merge pull request #3363 from asmorkalov:qnx_support

9 years agoMerge pull request #3366 from jet47:fix-gpu-cuda-7.0
Vadim Pisarevsky [Sun, 26 Oct 2014 17:41:14 +0000 (17:41 +0000)]
Merge pull request #3366 from jet47:fix-gpu-cuda-7.0

9 years agoMerge pull request #3356 from jet47:ctest-support
Vadim Pisarevsky [Sun, 26 Oct 2014 17:40:35 +0000 (17:40 +0000)]
Merge pull request #3356 from jet47:ctest-support

9 years agominor fix for StereoCSBP data cost compute kernel and test
Vladislav Vinogradov [Thu, 23 Oct 2014 15:33:19 +0000 (19:33 +0400)]
minor fix for StereoCSBP data cost compute kernel and test

9 years agoincrease epsilons for some tests, which functions use floating point arithm
Vladislav Vinogradov [Thu, 23 Oct 2014 14:39:36 +0000 (18:39 +0400)]
increase epsilons for some tests, which functions use floating point arithm

9 years agoavoid pointer arithmetic on register memory in color conversion
Vladislav Vinogradov [Thu, 23 Oct 2014 14:09:49 +0000 (18:09 +0400)]
avoid pointer arithmetic on register memory in color conversion

9 years agoBasic doxygen documentation support
Maksim Shabunin [Thu, 9 Oct 2014 10:04:00 +0000 (14:04 +0400)]
Basic doxygen documentation support

- updated existing Doxyfile.in
- added corresponding cmake instructions
- added some specific files (layout, icon)
- clean existing doxygen warnings

Conflicts:
CMakeLists.txt
doc/CMakeLists.txt
modules/core/include/opencv2/core.hpp
modules/core/include/opencv2/core/base.hpp
modules/core/include/opencv2/core/cuda.inl.hpp
modules/core/include/opencv2/core/mat.hpp
modules/core/include/opencv2/core/matx.hpp
modules/core/include/opencv2/core/types.hpp
modules/flann/include/opencv2/flann/lsh_table.h
modules/imgproc/include/opencv2/imgproc.hpp

9 years agoFixes for QNX 6.6 Neitrino support.
Alexander Smorkalov [Thu, 23 Oct 2014 09:01:42 +0000 (13:01 +0400)]
Fixes for QNX 6.6 Neitrino support.

9 years agoFixed highgui drawing test
Maksim Shabunin [Thu, 23 Oct 2014 09:28:33 +0000 (13:28 +0400)]
Fixed highgui drawing test

- changed image comparison technique
- removed old assert statements

9 years agodetermine test category (Public vs Extra) based on module location
Vladislav Vinogradov [Tue, 21 Oct 2014 14:51:02 +0000 (18:51 +0400)]
determine test category (Public vs Extra) based on module location

9 years agoadd CTest targets for sanity tests
Vladislav Vinogradov [Tue, 21 Oct 2014 14:50:38 +0000 (18:50 +0400)]
add CTest targets for sanity tests

9 years agodisable CTest target for opencv_test_viz:
Vladislav Vinogradov [Tue, 21 Oct 2014 14:49:53 +0000 (18:49 +0400)]
disable CTest target for opencv_test_viz:

opencv_test_viz creates windows and waits until user close them,
it is not appropriate for automatic testing

9 years agorewrite add_test command for accuracy tests:
Vladislav Vinogradov [Tue, 21 Oct 2014 14:48:46 +0000 (18:48 +0400)]
rewrite add_test command for accuracy tests:

* use new syntax introduced in CMake 2.8.0
* set OPENCV_TEST_DATA_PATH enviroment property

9 years agoturn on testing support in root binary directory
Vladislav Vinogradov [Tue, 21 Oct 2014 14:45:47 +0000 (18:45 +0400)]
turn on testing support in root binary directory

9 years agoMerge pull request #3350 from Trundle:fix_some_tiff_crashes
Vadim Pisarevsky [Mon, 20 Oct 2014 06:44:10 +0000 (06:44 +0000)]
Merge pull request #3350 from Trundle:fix_some_tiff_crashes