platform/upstream/opencv.git
8 years agoMerge pull request #6344 from anatolix:kalmanpyfix
Maksim Shabunin [Tue, 12 Apr 2016 15:55:55 +0000 (15:55 +0000)]
Merge pull request #6344 from anatolix:kalmanpyfix

8 years agoMerge pull request #6352 from fraserharris:patch-1
Maksim Shabunin [Tue, 12 Apr 2016 15:23:43 +0000 (15:23 +0000)]
Merge pull request #6352 from fraserharris:patch-1

8 years agoMerge pull request #6345 from eduardohenriquearnold:master
Maksim Shabunin [Tue, 12 Apr 2016 15:22:32 +0000 (15:22 +0000)]
Merge pull request #6345 from eduardohenriquearnold:master

8 years agoMerge pull request #6314 from mvukad:bugfix_dtreeswrite
Maksim Shabunin [Tue, 12 Apr 2016 13:26:25 +0000 (13:26 +0000)]
Merge pull request #6314 from mvukad:bugfix_dtreeswrite

8 years agoMerge pull request #6391 from virtuald:v4l-device-name
Alexander Alekhin [Tue, 12 Apr 2016 12:57:21 +0000 (12:57 +0000)]
Merge pull request #6391 from virtuald:v4l-device-name

8 years agov4l/libv4l: allow opening device by name
Dustin Spicuzza [Tue, 12 Apr 2016 05:00:37 +0000 (01:00 -0400)]
v4l/libv4l: allow opening device by name

- Allows using non-default device names such as /dev/v4l/by-path/pci-0000:00:1d.0-usb-0:1.1:1.0-video-index0

8 years agoMerge pull request #6298 from andy-held:master
Alexander Alekhin [Mon, 11 Apr 2016 17:19:11 +0000 (17:19 +0000)]
Merge pull request #6298 from andy-held:master

8 years agoEnable directly writing jpeg-encoded streams with GStreamer
Andreas Franek [Fri, 18 Mar 2016 17:02:19 +0000 (18:02 +0100)]
Enable directly writing jpeg-encoded streams with GStreamer

CvVideoWriter_GStreamer assumes a JPEG encoded stream if the height of
the given frame size is 1.

8 years agoMerge pull request #6381 from ioxp:persistenceFix
Alexander Alekhin [Mon, 11 Apr 2016 09:40:09 +0000 (09:40 +0000)]
Merge pull request #6381 from ioxp:persistenceFix

8 years agooperator<< handles keys starting with underscore
Philipp Hasper [Mon, 11 Apr 2016 07:55:33 +0000 (09:55 +0200)]
operator<< handles keys starting with underscore

8 years agoFix missing format when writing Algorithm-based objects
mvukad [Tue, 22 Mar 2016 22:19:42 +0000 (15:19 -0700)]
Fix missing format when writing Algorithm-based objects

Added a writeFormat() method to Algorithm which must be called by the
write() method of derived classes.

8 years agoMerge pull request #6367 from shengyu7697:fix_quote
Alexander Alekhin [Wed, 6 Apr 2016 11:17:35 +0000 (11:17 +0000)]
Merge pull request #6367 from shengyu7697:fix_quote

8 years agofix quote
shengyu [Wed, 6 Apr 2016 06:31:06 +0000 (14:31 +0800)]
fix quote

8 years agoMerge pull request #6265 from huang-qiao:master
Alexander Alekhin [Wed, 6 Apr 2016 04:51:58 +0000 (04:51 +0000)]
Merge pull request #6265 from huang-qiao:master

8 years agofix OpenCV_CONFIG_PATH get null value after CMake 2.8.11
qiao [Mon, 21 Mar 2016 13:38:10 +0000 (21:38 +0800)]
fix OpenCV_CONFIG_PATH get null value after CMake 2.8.11

syntax of cmake "get_filename_component" changed after version 2.8.11

for cmake version < 2.8.11
  get_filename_component(<VAR> <FileName> PATH [CACHE])

for cmake version >= 2.8.11
  get_filename_component(<VAR> <FileName> DIRECTORY [CACHE])

Update OpenCVConfig.cmake

Update OpenCVConfig.cmake.in

8 years agoMerge pull request #6244 from dreifachstein:topic-cmake-install
Alexander Alekhin [Tue, 5 Apr 2016 15:23:55 +0000 (15:23 +0000)]
Merge pull request #6244 from dreifachstein:topic-cmake-install

8 years agoMerge pull request #6358 from alalek:ffmpeg_fix_timeout
Alexander Alekhin [Tue, 5 Apr 2016 11:07:00 +0000 (11:07 +0000)]
Merge pull request #6358 from alalek:ffmpeg_fix_timeout

8 years agoffmpeg: interrupt callback fix
Alexander Alekhin [Mon, 4 Apr 2016 10:08:52 +0000 (13:08 +0300)]
ffmpeg: interrupt callback fix

8 years agoMerge pull request #6312 from KnockSoftware:split-float-epsilon
Vadim Pisarevsky [Sun, 3 Apr 2016 23:10:10 +0000 (23:10 +0000)]
Merge pull request #6312 from KnockSoftware:split-float-epsilon

8 years agoMerge pull request #6351 from mshabunin:fix_java_moments
Maksim Shabunin [Fri, 1 Apr 2016 09:19:09 +0000 (09:19 +0000)]
Merge pull request #6351 from mshabunin:fix_java_moments

8 years agoMerge pull request #6353 from shengyu7697:fix_right_quote
Maksim Shabunin [Fri, 1 Apr 2016 09:18:41 +0000 (09:18 +0000)]
Merge pull request #6353 from shengyu7697:fix_right_quote

8 years agomissing right quote
shengyu [Fri, 1 Apr 2016 03:03:50 +0000 (11:03 +0800)]
missing right quote

8 years agoAdded description of the AR model
Fraser Harris [Fri, 1 Apr 2016 00:57:55 +0000 (17:57 -0700)]
Added description of the AR model

8 years agoMerge pull request #6346 from filipsladek:box_filter_32FC1
Alexander Alekhin [Thu, 31 Mar 2016 17:06:52 +0000 (17:06 +0000)]
Merge pull request #6346 from filipsladek:box_filter_32FC1

8 years agoMerge pull request #6340 from BloodAxe:parallel_logistic_regression
Alexander Alekhin [Thu, 31 Mar 2016 17:06:20 +0000 (17:06 +0000)]
Merge pull request #6340 from BloodAxe:parallel_logistic_regression

8 years agoJava wrapper for moments: do not truncate values in set method
Maksim Shabunin [Thu, 31 Mar 2016 09:57:10 +0000 (12:57 +0300)]
Java wrapper for moments: do not truncate values in set method

8 years agoadd performance test for CV_32FC1
filipsladek [Thu, 31 Mar 2016 07:05:02 +0000 (09:05 +0200)]
add performance test for CV_32FC1

8 years agoMerge pull request #6329 from paroj:window_gui_cpp
Alexander Alekhin [Wed, 30 Mar 2016 14:34:54 +0000 (14:34 +0000)]
Merge pull request #6329 from paroj:window_gui_cpp

8 years agoadd testcase for CV_32FC1
filipsladek [Wed, 30 Mar 2016 08:38:22 +0000 (10:38 +0200)]
add testcase for CV_32FC1

8 years agocode style
filipsladek [Tue, 29 Mar 2016 20:44:03 +0000 (22:44 +0200)]
code style

8 years agoBox filter implemented for CV_32FC1
filipsladek [Tue, 29 Mar 2016 20:30:49 +0000 (22:30 +0200)]
Box filter implemented for CV_32FC1

8 years agoEnforced DecisionFunction vector indexes to be saved on SVM save/load methods
Eduardo Arnold [Tue, 29 Mar 2016 19:29:41 +0000 (16:29 -0300)]
Enforced DecisionFunction vector indexes to be saved on SVM save/load methods

8 years agosmall platform compatability fix for ESC key
Anatoly Orlov [Tue, 29 Mar 2016 17:02:35 +0000 (20:02 +0300)]
small platform compatability fix for ESC key

8 years agokalman.py was broken totally
Anatoly Orlov [Tue, 29 Mar 2016 15:27:35 +0000 (18:27 +0300)]
kalman.py was broken totally

1. Following condition is True on each iteration becuase -1 % 0xFF is 255 not -1

code = cv2.waitKey(100) % 0x100
if code != -1:
   break

this were resetting point position on each cycle not on key press as intended

2. Previous small bug were masking serious bug with matrix operation on matrices of incorrect size.
   As the result on 2nd iteration of internal cycle program has crushed.

   I have fixed it too, matrix operation was taken from examples/cpp/kalman.cpp where it looks like
   randn( processNoise, Scalar(0), Scalar::all(sqrt(KF.processNoiseCov.at<float>(0, 0))));
   which is something totally different from previous code here.

   Example behave as it should now, i.e. point moving by circle trajectory as in C++ example.

8 years agoMerge pull request #6332 from sovrasov:python_rng_seed
Alexander Alekhin [Tue, 29 Mar 2016 14:23:26 +0000 (14:23 +0000)]
Merge pull request #6332 from sovrasov:python_rng_seed

8 years agoAdded parallel implementation of compute_gradient method.
Eugene Khvedchenya [Tue, 29 Mar 2016 08:09:54 +0000 (11:09 +0300)]
Added parallel implementation of compute_gradient method.

8 years agoChange setRNGSeed implementaion
Vladislav Sovrasov [Tue, 29 Mar 2016 07:54:42 +0000 (10:54 +0300)]
Change setRNGSeed implementaion

8 years agoFix epsilon comparison when splitting
Evan Heidtmann [Tue, 22 Mar 2016 00:33:36 +0000 (17:33 -0700)]
Fix epsilon comparison when splitting

8 years agoMerge pull request #6321 from mshabunin:hal_cmake
Vadim Pisarevsky [Sun, 27 Mar 2016 08:06:24 +0000 (08:06 +0000)]
Merge pull request #6321 from mshabunin:hal_cmake

8 years agoMerge pull request #6326 from sovrasov:python_samples_update
Vadim Pisarevsky [Sun, 27 Mar 2016 08:03:28 +0000 (08:03 +0000)]
Merge pull request #6326 from sovrasov:python_samples_update

8 years agoMerge pull request #6311 from peters:master
Alexander Alekhin [Sat, 26 Mar 2016 19:55:17 +0000 (19:55 +0000)]
Merge pull request #6311 from peters:master

8 years agoFix doxygen warnings
Vladislav Sovrasov [Fri, 25 Mar 2016 13:34:45 +0000 (16:34 +0300)]
Fix doxygen warnings

8 years agoAdd function setRNGSeed and seed setup in python tests
Vladislav Sovrasov [Fri, 25 Mar 2016 13:17:58 +0000 (16:17 +0300)]
Add function setRNGSeed and seed setup in python tests

8 years agoMerge pull request #6313 from amannababanana:master
Alexander Alekhin [Fri, 25 Mar 2016 11:31:17 +0000 (11:31 +0000)]
Merge pull request #6313 from amannababanana:master

8 years agoMerge pull request #6322 from berak:fix_linux_eclipse_tutorial
Maksim Shabunin [Fri, 25 Mar 2016 07:39:19 +0000 (07:39 +0000)]
Merge pull request #6322 from berak:fix_linux_eclipse_tutorial

8 years agohighgui: add CV_GUI_* flags to enum in cpp so they appear in bindings
Pavel Rojtberg [Thu, 24 Mar 2016 22:58:47 +0000 (23:58 +0100)]
highgui: add CV_GUI_* flags to enum in cpp so they appear in bindings

8 years agoReplace of some synthetic scenes in python samples
Vladislav Sovrasov [Thu, 24 Mar 2016 17:05:26 +0000 (20:05 +0300)]
Replace of some synthetic scenes in python samples

8 years agofix changed libraries in eclipse tutorial
berak [Thu, 24 Mar 2016 14:56:10 +0000 (15:56 +0100)]
fix changed libraries in eclipse tutorial

8 years agoFixed cutom_hal.hpp file generation
Maksim Shabunin [Thu, 24 Mar 2016 14:39:16 +0000 (17:39 +0300)]
Fixed cutom_hal.hpp file generation

8 years agoUsing find_package to import custom HAL library
Maksim Shabunin [Thu, 24 Mar 2016 14:05:54 +0000 (17:05 +0300)]
Using find_package to import custom HAL library

8 years agoMerge pull request #6243 from mshabunin:hal_morph
Vadim Pisarevsky [Wed, 23 Mar 2016 13:09:19 +0000 (13:09 +0000)]
Merge pull request #6243 from mshabunin:hal_morph

8 years agoMerge pull request #6285 from sovrasov:python_tests_cleanup
Vadim Pisarevsky [Wed, 23 Mar 2016 13:07:00 +0000 (13:07 +0000)]
Merge pull request #6285 from sovrasov:python_tests_cleanup

8 years agoremove trailing whitespace
Lucas Solomon [Wed, 23 Mar 2016 05:31:16 +0000 (22:31 -0700)]
remove trailing whitespace

8 years agoreturn 0 from VideoCapture::read() when cannot connect to camera
Lucas Solomon [Wed, 23 Mar 2016 02:03:28 +0000 (19:03 -0700)]
return 0 from VideoCapture::read() when cannot connect to camera

8 years agoAdd support for ffmpeg 3.0.
Peter Rekdal Sunde [Tue, 22 Mar 2016 12:26:55 +0000 (13:26 +0100)]
Add support for ffmpeg 3.0.

8 years agoMerge pull request #6286 from StevenPuttemans:add_num_features_info
Maksim Shabunin [Mon, 21 Mar 2016 14:08:49 +0000 (14:08 +0000)]
Merge pull request #6286 from StevenPuttemans:add_num_features_info

8 years agoMerge pull request #6300 from berak:fix_akaze_sample
Maksim Shabunin [Mon, 21 Mar 2016 14:01:17 +0000 (14:01 +0000)]
Merge pull request #6300 from berak:fix_akaze_sample

8 years agoMerge pull request #6214 from vonnieda:java_features2d
Maksim Shabunin [Mon, 21 Mar 2016 11:51:11 +0000 (11:51 +0000)]
Merge pull request #6214 from vonnieda:java_features2d

8 years agoMerge pull request #6267 from dtmoodie:issue_5918
Alexander Alekhin [Mon, 21 Mar 2016 09:37:11 +0000 (09:37 +0000)]
Merge pull request #6267 from dtmoodie:issue_5918

8 years agoMerge pull request #6150 from lvv:fix-6149-applColorMap
Maksim Shabunin [Mon, 21 Mar 2016 09:20:51 +0000 (09:20 +0000)]
Merge pull request #6150 from lvv:fix-6149-applColorMap

8 years agoHAL interface for morphology operations
Maksim Shabunin [Fri, 19 Feb 2016 10:49:13 +0000 (13:49 +0300)]
HAL interface for morphology operations

8 years agofix: 6149 (through CV_Error on wrong image type)
Leonid Volnitsky [Thu, 25 Feb 2016 10:23:49 +0000 (12:23 +0200)]
fix: 6149 (through CV_Error on wrong image type)

8 years agoremove opencv_contrib dependancy from planar_tracking.cpp
berak [Sat, 19 Mar 2016 08:55:18 +0000 (09:55 +0100)]
remove opencv_contrib dependancy from planar_tracking.cpp

8 years agoMake install paths relative to CMAKE_INSTALL_PREFIX
Xiaolei Yu [Sun, 13 Mar 2016 09:08:25 +0000 (17:08 +0800)]
Make install paths relative to CMAKE_INSTALL_PREFIX

8 years agoMerge pull request #6290 from dtmoodie:thrust_allocator_usage_pr
Alexander Alekhin [Fri, 18 Mar 2016 12:14:20 +0000 (12:14 +0000)]
Merge pull request #6290 from dtmoodie:thrust_allocator_usage_pr

8 years agoAdd goodfeatures python test and cleanup in test directory
Vladislav Sovrasov [Thu, 17 Mar 2016 12:33:28 +0000 (15:33 +0300)]
Add goodfeatures python test and cleanup in test directory

8 years agoFixed regression in cv::VideoCapture with gstreamer back end that prevented viewing...
Dan [Thu, 18 Feb 2016 05:39:44 +0000 (00:39 -0500)]
Fixed regression in cv::VideoCapture with gstreamer back end that prevented viewing of rtsp streams.

8 years agoadd cascade classifier info - total number of unique features passed to boosting...
StevenPuttemans [Thu, 17 Mar 2016 12:34:01 +0000 (13:34 +0100)]
add cascade classifier info - total number of unique features passed to boosting process

8 years agoMerge pull request #6283 from jlubawy:vfw-surface4-fix
Alexander Alekhin [Thu, 17 Mar 2016 11:08:12 +0000 (11:08 +0000)]
Merge pull request #6283 from jlubawy:vfw-surface4-fix

8 years agoRemove cstdio debug
Josh Lubawy [Thu, 17 Mar 2016 08:00:49 +0000 (01:00 -0700)]
Remove cstdio debug

8 years agoAdd support for YUV 4:2:0 NV12 frame format in VFW camera capture
Josh Lubawy [Thu, 17 Mar 2016 06:38:17 +0000 (23:38 -0700)]
Add support for YUV 4:2:0 NV12 frame format in VFW camera capture

8 years agoMerge pull request #6273 from Bleach665:vs2010_mser_sampl
Alexander Alekhin [Wed, 16 Mar 2016 21:32:41 +0000 (21:32 +0000)]
Merge pull request #6273 from Bleach665:vs2010_mser_sampl

8 years agofix build detect_mser sample in vc2010
Bleach666 [Wed, 16 Mar 2016 14:51:20 +0000 (16:51 +0200)]
fix build detect_mser sample in vc2010

8 years agoMerge pull request #6270 from robbertkl:patch-2
Alexander Alekhin [Wed, 16 Mar 2016 13:50:03 +0000 (13:50 +0000)]
Merge pull request #6270 from robbertkl:patch-2

8 years agoMerge pull request #6274 from Bleach665:cmake_policy_0020
Alexander Alekhin [Wed, 16 Mar 2016 13:49:32 +0000 (13:49 +0000)]
Merge pull request #6274 from Bleach665:cmake_policy_0020

8 years agosuppress warning while generating solution in cmake
Bleach666 [Wed, 16 Mar 2016 11:12:44 +0000 (13:12 +0200)]
suppress warning while generating solution in cmake

8 years agoReplace deprecated malloc.h
Robbert Klarenbeek [Tue, 15 Mar 2016 17:02:41 +0000 (18:02 +0100)]
Replace deprecated malloc.h

8 years agoMerge pull request #6268 from robbertkl:patch-1
Alexander Alekhin [Wed, 16 Mar 2016 09:59:36 +0000 (09:59 +0000)]
Merge pull request #6268 from robbertkl:patch-1

8 years agoFix incompatibility with some C++11 implementations
Robbert Klarenbeek [Tue, 15 Mar 2016 16:21:05 +0000 (17:21 +0100)]
Fix incompatibility with some C++11 implementations

8 years agoMerge branch 'issue_6251' of http://github.com/dtmoodie/opencv into thrust_allocator_...
Dan [Tue, 15 Mar 2016 15:18:41 +0000 (11:18 -0400)]
Merge branch 'issue_6251' of github.com/dtmoodie/opencv into thrust_allocator_usage_pr

8 years agoThrust allocator usage.
Dan [Thu, 10 Mar 2016 18:39:21 +0000 (13:39 -0500)]
Thrust allocator usage.

8 years agoCompatibility and bug fixes.
Dan [Thu, 10 Dec 2015 16:21:16 +0000 (11:21 -0500)]
Compatibility and bug fixes.

8 years agoFixed more missing async calls.
Dan [Wed, 9 Dec 2015 16:08:17 +0000 (11:08 -0500)]
Fixed more missing async calls.

8 years agoImplemented async calls.
Dan [Wed, 9 Dec 2015 16:05:07 +0000 (11:05 -0500)]
Implemented async calls.

8 years agoMerge pull request #6266 from gongzg:master
Alexander Alekhin [Tue, 15 Mar 2016 12:51:20 +0000 (12:51 +0000)]
Merge pull request #6266 from gongzg:master

8 years agofix potential race condition in canny.cl.
Zhigang Gong [Tue, 15 Mar 2016 11:11:15 +0000 (19:11 +0800)]
fix potential race condition in canny.cl.

See the below code snippet:

while(l_counter != 0)
{
    int mod = l_counter % LOCAL_TOTAL;
    int pix_per_thr = l_counter / LOCAL_TOTAL + ((lid < mod) ? 1 : 0);

    for (int i = 0; i < pix_per_thr; ++i)
    {
        int index = atomic_dec(&l_counter) - 1;
        ....
    }
    ....
    barrier(CLK_LOCAL_MEM_FENCE);
}

If we don't put a barrier before the for loop, then there is a possiblity
that some work item enter this loop but the others are not, the the l_counter
will be reduced in the for loop and may be changed to zero, and the other
work items may can't enter the while loop. If this happens, it breaks the
barrier's rule which requires all the work items reach the same barrier.
And it may hang the GPU depends on the implementation of opencl platform.

This issue is raised at:
https://github.com/Itseez/opencv/issues/5175

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
8 years agoMerge pull request #6261 from dtmoodie:issue_6251
Alexander Alekhin [Tue, 15 Mar 2016 07:51:24 +0000 (07:51 +0000)]
Merge pull request #6261 from dtmoodie:issue_6251

8 years agoLinux bug fix for ThrustAllocator.
Dan [Mon, 14 Mar 2016 15:09:52 +0000 (11:09 -0400)]
Linux bug fix for ThrustAllocator.

8 years agoMerge pull request #6259 from polevoy-d-v:move_sematics_fix
Alexander Alekhin [Mon, 14 Mar 2016 14:46:21 +0000 (14:46 +0000)]
Merge pull request #6259 from polevoy-d-v:move_sematics_fix

8 years agoMerge pull request #6255 from delftswa2016:fix-5002
Alexander Alekhin [Mon, 14 Mar 2016 14:46:06 +0000 (14:46 +0000)]
Merge pull request #6255 from delftswa2016:fix-5002

8 years agofixed incorrect behaviour of move semantics for cv::Ptr, cv::Mat, cv::UMat in case...
Прун Виктор [Mon, 14 Mar 2016 13:10:23 +0000 (16:10 +0300)]
fixed incorrect behaviour of move semantics for cv::Ptr, cv::Mat, cv::UMat in case when rvalue-reference references to *this.

8 years agoMerge pull request #6254 from berak:patch-2
Alexander Alekhin [Mon, 14 Mar 2016 11:27:55 +0000 (11:27 +0000)]
Merge pull request #6254 from berak:patch-2

8 years agoMerge pull request #6253 from berak:patch-1
Alexander Alekhin [Mon, 14 Mar 2016 11:27:11 +0000 (11:27 +0000)]
Merge pull request #6253 from berak:patch-1

8 years agoMerge pull request #6249 from sturkmen72:patch-15
Alexander Alekhin [Mon, 14 Mar 2016 11:26:51 +0000 (11:26 +0000)]
Merge pull request #6249 from sturkmen72:patch-15

8 years agoMerge pull request #6045 from matthieu-ft:master
Alexander Alekhin [Mon, 14 Mar 2016 11:25:22 +0000 (11:25 +0000)]
Merge pull request #6045 from matthieu-ft:master

8 years agoRemoved older libraries pointing to 2.4 in eclipse tutorial docs
renu285 [Mon, 14 Mar 2016 11:09:56 +0000 (12:09 +0100)]
Removed older libraries pointing to 2.4 in eclipse tutorial docs

8 years agotrain_svmsgd.cpp : float response
berak [Mon, 14 Mar 2016 07:09:36 +0000 (08:09 +0100)]
train_svmsgd.cpp : float response

responses must be float, else we trigger an assertion in line 150

8 years agosvmsgd.cpp, fix #6248
berak [Mon, 14 Mar 2016 07:02:09 +0000 (08:02 +0100)]
svmsgd.cpp, fix #6248

add a cast to double, to make vs compilers happy

8 years agoUpdate lda.cpp
Suleyman TURKMEN [Sun, 13 Mar 2016 19:11:34 +0000 (21:11 +0200)]
Update lda.cpp

typo correction

8 years agoMerge pull request #6096 from mnoskova:mn/SVMSGD_to_opencv3_0
Vadim Pisarevsky [Sat, 12 Mar 2016 17:16:35 +0000 (17:16 +0000)]
Merge pull request #6096 from mnoskova:mn/SVMSGD_to_opencv3_0