Vadim Pisarevsky
d825b7ee9a
fixed mjpeg encoder so that libjpeg-based decoder does not complain on extra bytes in the end of stream
2015-04-23 14:40:44 +03:00
Martin Ueding
5ffb53f229
Add example data types for calibrateCamera call
...
It took me a while to figure out what was meant with
OpenCV Error: Assertion failed (i < 0) in getMat
While searching for this error message I found [a list of error
messages](https://adventuresandwhathaveyou.wordpress.com/2014/03/14/opencv-error-messages-suck/ )
which also explained what the problem was: The data type for `rvecs` was
not a simple `cv::Mat` but a `std::vector<cv::Mat>`.
After I fixed that, I got the next error message:
OpenCV Error: Assertion failed (ni > 0 && ni == ni1) in
collectCalibrationData, file
/build/buildd/opencv-2.4.9+dfsg/modules/calib3d/src/calibration.cpp,
line 3193
The problem here was that my data type for the `objectPoints` was just
`vector<Vec3f>` and not `vector<vector<Vec3f>>`.
In order to save other people the time looking for this, I added
explicit examples of the needed data types into the documentation of the
function. I had to re-read the current version a couple of times until I
can read the needed levels of `vector<>`. Having this example would have
really helped me there.
2015-04-23 13:30:14 +02:00
Vadim Pisarevsky
dcf177e372
Merge pull request #3952 from vpisarev:fix_libav_case
2015-04-23 06:25:25 +00:00
Vadim Pisarevsky
30912b49f3
fixed compile warnings; hopefully fixed test failures
2015-04-23 00:39:44 +03:00
Vadim Pisarevsky
882dc0a7f6
Merge pull request #3950 from paroj:fix-gftt_ocl
2015-04-22 19:08:15 +00:00
Vadim Pisarevsky
2b2e3ee93c
make sure opencv builds fine with the recent versions of libav (e.g. from Ubuntu 14.10)
2015-04-22 21:57:29 +03:00
kalistratovag
08925330e0
mjpec_decoder initialize m_movi_start variable
2015-04-22 19:49:11 +03:00
Pavel Rojtberg
1ea41e7246
fix gftt opencv kernel when using mask
2015-04-22 16:13:50 +02:00
Vadim Pisarevsky
7dd19f6d97
Merge pull request #3939 from paroj:fmtfix
2015-04-22 12:15:17 +00:00
Vadim Pisarevsky
415a212d09
Merge pull request #3936 from dhood:fitEllipse-bug
2015-04-22 11:22:35 +00:00
Philipp Hasper
0b20ce696a
Fixed markdown: **Note** -> @note
2015-04-22 08:08:10 +02:00
Vadim Pisarevsky
a69b435c92
Merge pull request #3909 from Nuzhny007:master
2015-04-21 14:02:59 +00:00
Vadim Pisarevsky
063e4004ba
Merge pull request #3935 from vpisarev:extending_hal_part1
2015-04-21 14:02:02 +00:00
Vadim Pisarevsky
dce0405c4d
Merge pull request #3947 from tcavallari:patch-1
2015-04-21 14:01:22 +00:00
Vadim Pisarevsky
0f13208d81
Merge pull request #3929 from daeyun:findEssentialMat_doc
2015-04-21 12:20:02 +00:00
Vadim Pisarevsky
4c875dc393
Merge pull request #3932 from nisargthakkar:Bug4243
2015-04-21 12:18:37 +00:00
Vadim Pisarevsky
99d0fcf49d
Merge pull request #3938 from paroj:triangulatecpp
2015-04-21 12:02:26 +00:00
Vadim Pisarevsky
faf84e7100
Merge pull request #3937 from mshabunin:android-engine3
2015-04-21 11:47:26 +00:00
Pavel Rojtberg
78eac67a01
clean up cvTriangulatePoints by using C++ primitives directly.
...
- fixes the Calib3d_StereoCalibrate_C testcase.
update comment regarding cv::SVD::MODIFY_A
2015-04-21 11:29:26 +02:00
tcavallari
cca78e0601
Null Pointer check in vizimpl.cpp
...
Should fix #4191 (http://code.opencv.org/issues/4191 )
2015-04-21 10:08:17 +02:00
Nisarg Thakkar
0fd1203b3b
Fixed Doc Errors Bug#4282
2015-04-21 10:37:50 +05:30
Vadim Pisarevsky
b27467d9f9
Merge pull request #3931 from mshabunin:fix-svm-train
2015-04-20 20:00:36 +00:00
Vadim Pisarevsky
6916a1438f
fixed some newly introduced compile errors and warnings
2015-04-20 21:34:37 +03:00
Vadim Pisarevsky
ca9a2887fc
extended universal intrinsics: added 64-bit integers, improved shift operators, renamed "pack" operations; changed semantics of extended integer multiplication, added v_dotprod.
...
also, split intrinsics into separate files. C implementation is compiled only when none of SSE2 or NEON is available.
2015-04-20 20:27:03 +03:00
Deanna Hood
37f77e7397
Change condition on parallel ellipse case so can only calculate t if necessary
2015-04-18 13:51:32 -04:00
Deanna Hood
5a552b6d8d
Regression test for Bug #3989 : check fitEllipse with rotation angles of n*pi/2
2015-04-18 13:51:26 -04:00
Pavel Rojtberg
b02fc039cd
fix python and numpy output formatters
2015-04-17 17:42:24 +02:00
Maksim Shabunin
a362aca783
Rename manager package to OpenCV3 Manager
2015-04-17 16:59:52 +03:00
Maksim Shabunin
316d76bdb6
Rename OpenCV Engine to org.opencv.engine3 for release candidate
2015-04-17 16:00:33 +03:00
Vadim Pisarevsky
92f2ad0a11
trying to fix test failures (take 2)
2015-04-17 11:32:20 +03:00
Vadim Pisarevsky
17675b4cb8
trying to fix test failures
2015-04-17 10:51:49 +03:00
Vadim Pisarevsky
ce7590bd24
continuing fixing universal intrinsics
2015-04-17 08:32:06 +03:00
Vadim Pisarevsky
bfbf864a73
fixed some more compile warnings (2)
2015-04-17 00:13:08 +03:00
Vadim Pisarevsky
1fcc83b84b
fixed some more compile warnings
2015-04-16 23:52:23 +03:00
Vadim Pisarevsky
c7121e8772
fixed compile warnings
2015-04-16 23:42:00 +03:00
Vadim Pisarevsky
ee11a2d266
fully implemented SSE and NEON cases of intrin.hpp; extended the HAL with some basic math functions
2015-04-16 23:00:26 +03:00
Deanna Hood
103336c76e
Fix Bug #3989 : correctly identify ellipse with its axes parallel to x-y axes during semi-major axis calculation
2015-04-16 11:59:05 -04:00
Ahmatnurov Dinar
2358c79db2
move 3265 to 3.0;
2015-04-16 14:36:46 +03:00
Nisarg Thakkar
00094a8792
Fix for Bug4243. Made changes relating to non OpenCL devices
2015-04-16 00:22:08 +05:30
Nisarg Thakkar
a0bc0ab7cb
Fix for Bug4243
2015-04-15 23:49:01 +05:30
Maksim Shabunin
cb00c7036f
Fix cache error during SVM train
2015-04-15 15:46:07 +03:00
Vadim Pisarevsky
a2bba1b9e6
HAL extensions: added initial version of universal intrinsics (C implementation and SSE2, NEON - TBD). added empty files where some functionality from core and imgproc will be moved to
2015-04-15 00:36:27 +03:00
Ilya Lavrenov
17bedd72f0
workaround for stange internal compiler error when cross-compiling with 4.6
2015-04-14 16:55:11 +03:00
Daeyun Shin
4686b935c1
Fix typo in documentation. F = K^-T * E * K^-1
2015-04-14 07:44:32 -05:00
cbalint13
dee3a4b528
Add missing opencv_contrib PR #202 patch.
2015-04-11 17:43:28 +03:00
cbalint13
26997f32c6
Fix BRISK detector&descriptor using proper AGAST.
2015-04-11 12:09:13 +03:00
Vadim Pisarevsky
b639353193
Merge pull request #3912 from kalistratovag:mjpeg_dec
2015-04-10 16:18:37 +00:00
kalistratovag
740ae3581c
Initial commit of avi mjpeg decoder
...
std::streams removed
debug code removed
whitespaces removed
stdint.h added and trailing whitespaces removed
trailing whitespaces removed
warnings on windows fix
warnings on windows fix pt 2
Refactoring performed: AviMjpegStream class introduced. CAP_PROP_FRAME_WIDTH and CAP_PROP_FRAME_HEIGHT properties support added.
Windows warnings & uninitialized variable fix
Windows warning fix
Win32 warning fix
2015-04-10 14:16:43 +03:00
Maksim Shabunin
97c78838a4
Fixed windows build and one warning
2015-04-10 11:37:16 +03:00
Vadim Pisarevsky
369a3d1426
Merge pull request #3907 from yxiong:python-dependencies
2015-04-10 05:34:14 +00:00
Maksim Shabunin
e7c02f376f
Fixed world build with HAL
2015-04-08 19:56:17 +03:00
Сергей Нужный
4a65f3cee2
Squashed commit of the following:
...
commit 5c379aa1b8
Merge: e800800
3646967
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Wed Apr 8 12:44:46 2015 +0300
Merge branch 'master' of https://github.com/Nuzhny007/opencv
commit e800800bec
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Wed Apr 8 12:43:38 2015 +0300
Squashed commit of the following:
commit 3646967deb
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Tue Apr 7 15:48:30 2015 +0300
Fix bug in SVM::trainAuto
commit 0c24ccf538
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Tue Apr 7 15:43:59 2015 +0300
Revert "Fix bug in SVM::trainAuto"
This reverts commit 225da0226e
.
commit 225da0226e
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Tue Apr 7 15:09:47 2015 +0300
Fix bug in SVM::trainAuto
commit 3646967deb
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Tue Apr 7 15:48:30 2015 +0300
Fix bug in SVM::trainAuto
commit 0c24ccf538
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Tue Apr 7 15:43:59 2015 +0300
Revert "Fix bug in SVM::trainAuto"
This reverts commit 225da0226e
.
commit 225da0226e
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Tue Apr 7 15:09:47 2015 +0300
Fix bug in SVM::trainAuto
2015-04-08 12:51:57 +03:00
Vadim Pisarevsky
5b3f89df0a
Merge pull request #3911 from vpisarev:core_tweaks
2015-04-07 19:03:48 +00:00
Vadim Pisarevsky
259e41da73
reverted "typedef _InputArray InputArray", fixed warning from doxygen
2015-04-07 19:34:51 +03:00
Maksim Shabunin
35b2139929
Basic HAL module
2015-04-07 18:16:22 +03:00
Vadim Pisarevsky
052593c760
1. Input/OutputArray optimizations;
...
2. Algorithm::load/save added (moved from StatModel)
3. copyrights updated; added copyright/licensing info for ffmpeg
4. some warnings from Xcode 6.x are fixed
2015-04-07 16:44:26 +03:00
Ying Xiong
2d8b4fea9f
Add #ifdef's such that python wrapper builds independent of other components
2015-04-06 19:57:10 -04:00
Vadim Pisarevsky
ac22c524fc
Merge pull request #3903 from SeninAndrew:master
2015-04-05 18:01:18 +00:00
Vadim Pisarevsky
08c84e0c34
Merge pull request #3729 from bitstars:AsyncServiceHelper.java-Android-5-hotfix
2015-04-05 17:57:53 +00:00
Ashod Nakashian
f75f2ffd48
Jpeg2k color to greyscale conversion on non-Windows is done post decoding because system libjasper segfaults when decoding color images as greyscale.
2015-04-03 21:01:45 -04:00
Ashod Nakashian
6fd2fdc2e6
Jasper unit-tests and removed a superfluous assertion.
2015-04-03 21:01:43 -04:00
Andrew Senin
58f20a3b7f
Ximea camera fix (see issue #4235 )
2015-04-03 22:49:50 +03:00
Andrey Pavlenko
ed9f933d41
fixing confusing variable naming in a sample code
2015-04-03 14:03:09 +03:00
Vadim Pisarevsky
559dfa297d
Merge pull request #3813 from hahne:iss1915
2015-04-03 10:16:30 +00:00
Vadim Pisarevsky
a035d39158
Merge pull request #3892 from MSOpenTech:imgcodecs-contrib
2015-04-02 11:53:55 +00:00
Vadim Pisarevsky
246b7abe7e
Merge pull request #3869 from Dikay900:remove_unused_variable
2015-04-02 11:48:43 +00:00
Vadim Pisarevsky
38ce0fe954
Merge pull request #3897 from sanchom:bugfix_4030
2015-04-02 11:44:32 +00:00
Simon Heinen
d2dc7f4c27
Update android+AsyncServiceHelper.java
...
small formatting fixes
2015-04-02 09:05:56 +02:00
Simon Heinen
0df9dc8fb9
Update android+AsyncServiceHelper.java
...
changed tabs in last commit to spaces
2015-04-02 08:42:19 +02:00
Sancho McCann
6593422c05
Bugfix: #4030 SVM auto-training.
2015-04-01 20:44:51 +00:00
Dikay900
952f9dbe62
initialize tiltedOffset variable at correct location
...
do not use this variable if it is not an tilted feature
2015-04-01 20:32:30 +02:00
Evgeny Agafonchikov
ae090fe10d
Functionality for relocation of tests
...
This allows to start run.py with --move_tests parameter to place tests
to another location and keep them runnable from there
2015-04-01 11:50:05 +03:00
Evgeny Agafonchikov
1f04f9d63b
Fixing help messages
...
--help message and starting run.py w/o parameters generate different messages
E. g. w/ and w/o build_path in the end
build_path is required, removing square brackets
2015-03-31 17:58:25 +03:00
Maxim Kostin
412a2aa4ab
Added support for 'imgcodecs' module:
...
- Resolved GET_ENV and input type incompatibility
- Made libjpeg compile for WINRT. So does imgcodecs module.
- Updated .gitignore (log, tlog)
2015-03-31 16:31:37 +03:00
Vadim Pisarevsky
864b4e3b26
Merge pull request #3873 from Dmitry-Me:reduceVariableScope10
2015-03-30 17:20:39 +00:00
Alexander Alekhin
d326c77007
fix build (related to PR #3814 )
2015-03-30 16:32:00 +03:00
Vadim Pisarevsky
fa9c9e791b
Merge pull request #3876 from vpisarev:mjpeg_codec
2015-03-30 09:27:10 +00:00
Vadim Pisarevsky
602d2c33c0
added video writer quality, which user may change dynamically in the case of motion jpeg; enabled NEON intrinsics in the encoder
2015-03-27 15:15:59 +03:00
Maksim Shabunin
56b02331f7
Commented unused constants in the RHO algorithm
2015-03-27 14:36:27 +03:00
Maksim Shabunin
fab2a947ca
Fix build for VC10
2015-03-27 12:15:26 +03:00
Vadim Pisarevsky
77cbddf715
Merge pull request #3847 from mshabunin:android-build
2015-03-26 16:56:49 +00:00
Vadim Pisarevsky
1381564a84
Merge pull request #3880 from vpisarev:fix_emd
2015-03-26 16:40:17 +00:00
Vadim Pisarevsky
b123870871
Merge pull request #3868 from Dikay900:fix_cudalegacy_without_cudaimgproc
2015-03-26 13:35:12 +00:00
Vadim Pisarevsky
b91313a84e
initialize the output flow in EMD (thanks to Daniel DeMenthon for the bug report)
2015-03-26 16:26:41 +03:00
Vadim Pisarevsky
eff302a231
Merge pull request #3875 from alalek:fix_build
2015-03-26 13:09:01 +00:00
Vadim Pisarevsky
8d1232cc7a
fixed warnings; transpose qtab to make it compatible with neon branch
2015-03-26 15:59:49 +03:00
Maksim Shabunin
e94dfcee0d
Add python test for inheritance structure generation
2015-03-26 11:43:49 +03:00
Maksim Shabunin
82adf7955f
Fix python submodules inheritance detection
2015-03-26 11:22:56 +03:00
Vadim Pisarevsky
3df6b6fdcf
added self-contained motion jpeg encoder (filename should end with .avi; fourcc should be "MJPG"
2015-03-26 00:39:29 +03:00
Alexander Alekhin
32da602bf7
fix build (related to PR #3814 )
2015-03-25 19:12:36 +03:00
Dmitry-Me
75a65542ba
Reduce variables scope
2015-03-25 17:17:06 +03:00
Vadim Pisarevsky
97bdc92d1b
Merge pull request #3870 from Dmitry-Me:reduceVariableScope9
2015-03-25 13:32:33 +00:00
Dikay900
3465cef689
disable cuda::OpticalFlowNeedleMap if configured without cudaimgproc
...
disable cuda::FastOpticalFlowBM if configured without cudaarithm
2015-03-25 13:47:53 +01:00
Vadim Pisarevsky
0545aeb11b
Merge pull request #3670 from obilaniu:master
2015-03-25 10:10:05 +00:00
Vadim Pisarevsky
bd7c78ffd5
Merge pull request #3866 from tdsmith:python-linkage
2015-03-25 09:51:20 +00:00
Dmitry-Me
6318409a5d
Reduce variable scope
2015-03-25 10:35:11 +03:00
Vadim Pisarevsky
5501cfd809
Merge pull request #3814 from erikrk:denoising-16bit-master
2015-03-24 15:23:58 +00:00
Vadim Pisarevsky
3c51fdffac
Merge pull request #3849 from Dikay900:fix_tilted_features_crash
2015-03-24 15:19:13 +00:00
Vadim Pisarevsky
f7f10a7d2c
Merge pull request #3854 from Dmitry-Me:reduceVariableScope8
2015-03-24 15:13:34 +00:00
Vadim Pisarevsky
d7cb99254e
Merge pull request #3858 from MSOpenTech:fix-ml-test
2015-03-24 15:09:53 +00:00
Vadim Pisarevsky
70ff448067
Merge pull request #3859 from NewProggie:fix-doc-typo
2015-03-24 15:08:03 +00:00
Vadim Pisarevsky
54deb5ed5a
Merge pull request #3860 from theodr:document_hconcat_vconcat
2015-03-24 15:07:34 +00:00
theodore
02c3d8d792
documentation for the hconcat and vconcat functions
2015-03-24 13:59:09 +01:00
Tim D. Smith
b9b743bbe3
Don't explicitly link Python on OS X
...
Explicitly linking to a Python framework on OS X prevents modules from
being built against one Python (i.e. system python) and imported from
another (i.e. Homebrew python); the interpreter segfaults if there's a
linkage to a foreign Python. Building the module with `-undefined
dynamic_lookup` instead of an explicit link allows the symbols to be
resolved at load time from a compatible python.
2015-03-23 23:36:46 -07:00
Erik Karlsson
01d3df0d00
Added normType parameter to fastNlMeansDenoisingMulti
2015-03-24 02:01:31 +01:00
Erik Karlsson
70a64ebe72
Added test cases
2015-03-24 01:16:17 +01:00
Erik Karlsson
5f8d688664
Added parameter normType to fastNlMeansDenoising
2015-03-24 00:47:11 +01:00
Erik Karlsson
9fff7896c5
Removed fastNlMeansDenoisingColored[Multi]Abs
2015-03-23 23:23:35 +01:00
Yan Wang
433c3da7cf
Optimize the performance of cascade OpenCL kernel.
...
1. Use built-in mad() instead of += and *.
2. For stump stages, if weight.z == 0, avoid unnecessary calculation
because some features only have 2 rectangles..
It could improve
OCL_Cascade_Image_MinSize_CascadeClassifier.CascadeClassifier/*
about 10% mean values.
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
2015-03-23 17:47:40 +08:00
Vadim Pisarevsky
5a0c7a1330
Merge pull request #3853 from alalek:ocl_fix_bufferpool_cleanup
2015-03-23 08:10:22 +00:00
Vadim Pisarevsky
7ab7322915
Merge pull request #3848 from yxiong:fix-4125
2015-03-23 08:04:41 +00:00
Vadim Pisarevsky
daa99514fa
Merge pull request #3846 from mshabunin:fix-headers
2015-03-23 08:01:25 +00:00
Kai Wolf
f815bbab24
Fix typo in types_c.h
2015-03-22 10:55:54 +01:00
Evgeny Agafonchikov
91bd7df8c1
Fixing invalid opencv_test_ml calls
2015-03-20 17:49:03 +03:00
Dikay900
fb8478eb7b
add resetting the offset variable after setting a new image
2015-03-20 13:26:13 +01:00
Dmitry-Me
ce167e233b
Reduce variable scope
2015-03-20 13:27:08 +03:00
Alexander Alekhin
b5529aef9c
ocl/bufferpool: fix cleanup
2015-03-20 13:21:10 +03:00
Vadim Pisarevsky
8616cd875b
Merge pull request #3836 from Dmitry-Me:uninitializedMember
2015-03-20 10:03:11 +00:00
Vadim Pisarevsky
072a4b5497
Merge pull request #3851 from ellbur:findTransformECC-initialize-bug
2015-03-20 09:34:04 +00:00
Owen Healy
86fb9f8409
Modify findTransformECC to support a mask of pixels to consider
...
Tests of the mask are also included.
This is useful for registering a non-square image against a non-square
template.
This also needs to relax a sanity check as per
https://github.com/Itseez/opencv/pull/3851
2015-03-19 22:16:32 -04:00
Owen Healy
ff48387a8a
Fix bug of uninitialized matrix in findTransformECC
...
The matrix templateZM needs to be initialized because otherwise
uninitialized values leak into the correlation in:
const double correlation = templateZM.dot(imageWarped)
In the worst case this will lead the correlation to be NaN ruining the
whole routine. The subtraction does not initialize templateZM due to the
mask.
Unfortunately, the uninitialized values (by altering the correlation)
have the side effect of dragging out the computation a little longer
giving a slightly better error bound. This means that fixing this bug
breaks perf_ecc where
SANITY_CHECK(warpMat, 1e-3);
is just a little too tight and happens to work due to the uninitialized
values. Since this is a performance not a accuracy test I think it is OK
to just relax the error bound a little bit (the tight error bound being
after all the result of a bug).
2015-03-19 20:50:49 -04:00
Dikay900
80069f384a
resolve crash of haarclassifier when using a tilted feature
2015-03-19 20:47:33 +01:00
Ying Xiong
decbdd1abb
Fix compiler error on std::swap (CUDA7.0/clang/OSX)
2015-03-19 14:23:44 -04:00
Vadim Pisarevsky
9683f93a76
Merge pull request #3840 from MSOpenTech:concurrency-contrib
2015-03-19 15:11:01 +00:00
Vadim Pisarevsky
9997e6d337
Merge pull request #3823 from lupustr3:pvlasov/implementation_detector_update
2015-03-19 12:47:22 +00:00
Maksim Shabunin
9f08310307
Disabled TrainData::getNormCatValues wrapping due to pointer in parameters
2015-03-19 15:45:34 +03:00
Maksim Shabunin
231685133e
OpenCV Manager: support 3.0.0 library
2015-03-19 15:27:14 +03:00
Maksim Shabunin
5709ec85d7
Disabled missing python method for static ml function
2015-03-19 15:11:49 +03:00
Maksim Shabunin
5247eacc3c
Add python and java support for ml module
2015-03-19 13:22:30 +03:00
Maksim Shabunin
d5b954c2d4
Moved property implementation macros to private header
2015-03-18 17:33:12 +03:00
Maksim Shabunin
7335a40a61
Replaced CV_PURE_PROPERTY macros with corresponding code
2015-03-18 17:23:42 +03:00
Maxim Kostin
d1a8171011
Added WinRT concurrency support.
2015-03-18 15:13:08 +03:00
Olexa Bilaniuk
8a1d8c8470
Merge remote-tracking branch 'refs/remotes/upstream/master'
2015-03-18 02:21:36 -04:00
Olexa Bilaniuk
6d27d488bf
Bugfix in n* optimization.
...
Similar to the problem in LevMarq, arg.inl was being used instead of
best.inl. This opened us up to a potential segfault.
2015-03-18 02:21:16 -04:00
Philipp Hasper
e0efda7145
Fixed persistent.hpp documentation
...
Small error - object fs does not exist in this code example
2015-03-17 15:28:37 +01:00
Dmitry-Me
0c5faa6d24
Fix uninitialized members, fix log output typo
2015-03-17 14:47:00 +03:00
Vadim Pisarevsky
903f10c237
Merge pull request #3804 from polarfuchs99:master
2015-03-17 11:12:49 +00:00
Vadim Pisarevsky
0f4d57d59e
Merge pull request #3833 from sgrayb:houghline_bugfix
2015-03-17 10:37:10 +00:00
Vadim Pisarevsky
b708969326
Merge pull request #3832 from Dmitry-Me:fixNullPointerDereference3
2015-03-17 10:36:52 +00:00
Vadim Pisarevsky
8cf45ce0af
Merge pull request #3828 from vpisarev:fix_win32_perf_calib3d_solvepnp_failure
2015-03-17 10:34:53 +00:00
Dmitry-Me
52a8d37f11
Fix potential null pointer dereference
2015-03-16 18:36:12 +03:00
Vadim Pisarevsky
ca19ae8b5a
in solvePnPRansac call the solvePnP in the end with all the inliers to get more precise estimate
2015-03-16 16:56:26 +03:00
Vadim Pisarevsky
5c352c9146
temporarily use EPNP in SolvePnP instead of UPNP or DLS algorithms, since the latter two are not quite stable
2015-03-16 12:46:24 +03:00
Vadim Pisarevsky
3c54c50c5a
Merge pull request #3802 from sanuj:master
2015-03-16 09:25:41 +00:00
Vadim Pisarevsky
c6e9280373
Merge pull request #3816 from ilya-lavrenov:il/cvround
2015-03-16 09:09:55 +00:00
Vadim Pisarevsky
f9b2444735
Merge pull request #3826 from mshabunin:fix-install-paths
2015-03-16 09:08:54 +00:00
Vadim Pisarevsky
259a54a6dd
Merge pull request #3830 from NaerChang:issue.3710
2015-03-16 09:05:42 +00:00
Naer Chang
cdc9bc397d
Revert "issue 3710"
...
Trying to fix whitespace issue.
This reverts commit dcc2512f58
.
2015-03-14 18:32:46 -04:00
Olexa Bilaniuk
ac1099deb8
Merge remote-tracking branch 'refs/remotes/upstream/master'
2015-03-14 12:41:56 -04:00
Olexa Bilaniuk
7e3cc44738
More docs on variable accesses.
...
Listed accesses for more functions.
2015-03-14 12:41:25 -04:00
Dmitry-Me
8ed4bae4dd
Reduce variable scope, make formatting consistent with surrounding code
2015-03-14 12:50:42 +03:00
Naer Chang
dcc2512f58
issue 3710
...
added a check to prevent illegal access to operator[] when vector is empty
2015-03-14 02:56:29 -04:00
Scott Graybill
3d2c0ed97f
Removed check on limits. A common use of HoughLines would be to restrict theta to be between a small negative number and a small positive number, e.g. -pi/16 to pi/16. This wasn't possible with the previous checks.
2015-03-13 17:04:13 -07:00
Vadim Pisarevsky
1760078f67
trying to make solvePnPSmallPoints pass
2015-03-13 20:11:33 +03:00
Vadim Pisarevsky
7e07220440
made the solvepnp a bit more modest; test 5-point configuration instead of 4-point in some cases; reduce the noise in 4-point configurations in other cases
2015-03-13 18:04:23 +03:00
Vadim Pisarevsky
04f16965d5
Merge pull request #3780 from StevenPuttemans:fix_locale_master
2015-03-13 13:16:09 +00:00
Vadim Pisarevsky
133bd56436
Merge pull request #3769 from adamgreig:fix-py3-submodules
2015-03-13 13:15:51 +00:00
Maksim Shabunin
632afe6ae3
Fixed mangled install layout on unix machines
2015-03-13 14:18:37 +03:00
Pavel Vlasov
085409340e
Implementation collector update;
...
Moved out of TLS to properly collect data from different threads;
Concurrent access guards were added to collection functions;
2015-03-12 17:58:03 +03:00
Vadim Pisarevsky
06703c9d56
Merge pull request #3817 from SpecLad:forward-ports
2015-03-12 12:15:24 +00:00
ippei ito
518fd59a10
fixed whitespace error
2015-03-12 01:09:15 +09:00
ippei ito
49b38fe793
Fixed compile error build with VisualStudio2013 on windows.
...
REG_NONE defined in ml.hpp conflicts with defined in Winnt.h
2015-03-12 00:32:17 +09:00
Ilya Lavrenov
6f8b3fc633
cvRound
2015-03-11 16:14:39 +03:00
Adam Greig
211a131351
Fix Python3 binding's submodules
...
Previously the Python3 cv2 package ends up with no submodules (bgsegm, face,
etc) in it, which makes a lot of functionality unusable. By not writing over
our root reference we ensure the new submodules are added to the correct cv2
module.
2015-03-10 22:07:53 +00:00
Roman Donchenko
34ad2e0fa4
Fix a memory leak in CvCapture_FFMPEG::close
...
FFmpeg now requires that frames allocated with avcodec_alloc_frame are
freed with avcodec_free_frame.
(cherry picked from commit 77578d415f
)
Conflicts:
modules/highgui/src/cap_ffmpeg_impl.hpp
2015-03-10 12:48:46 +03:00
Roman Donchenko
6274e1fc5f
cvOpenFileStorage: reduce the scope of xml_buf and make sure it's freed...
...
... before any exceptions occur.
(cherry picked from commit 08da247a87
)
2015-03-10 12:38:45 +03:00
Roman Donchenko
6b8ebf3e94
Fix memory leaks appearing when cvOpenFileStorage throws
...
(cherry picked from commit 16ce114e0c
)
2015-03-10 12:38:45 +03:00
Erik Karlsson
82c54104d6
Fix warnings on Win x64
2015-03-10 01:39:43 +01:00
Erik Karlsson
812edb5fdc
Fixed bug, maxDist() should reurn int, not double
2015-03-10 01:34:02 +01:00
Erik Karlsson
8aa0783995
Changed parameter type of fastNlMeansDenoising[Multi][Abs] from std::vector<float> to const std::vector<float>&
2015-03-09 23:47:49 +01:00
Vadim Pisarevsky
baf191fab2
Merge pull request #3771 from mshabunin:arm-round
2015-03-09 21:49:15 +00:00
Vadim Pisarevsky
3ee03a860d
Merge pull request #3803 from Dmitry-Me:doubleUsedAsBoolean
2015-03-09 21:47:09 +00:00
Vadim Pisarevsky
368213290f
Merge pull request #3806 from enpe:master
2015-03-09 21:44:33 +00:00
Vadim Pisarevsky
64bd77cf4d
Merge pull request #3794 from vpisarev:ubuntu_x86_fixes
2015-03-09 21:34:17 +00:00
Erik Karlsson
5a7118a88b
Merging in master
2015-03-09 22:00:58 +01:00
Erik Karlsson
b471f9ee26
Fixed call to tegra::fastNlMeansDenoising
2015-03-09 18:52:25 +01:00
hahne
1af4521239
fix for issue 1915
2015-03-09 16:19:47 +01:00
Erik Karlsson
4b5753daea
Corrected documentation
2015-03-09 16:11:18 +01:00
Erik Karlsson
a594a0677a
Cleanup
2015-03-09 16:00:24 +01:00
Erik Karlsson
c44488629a
Changed parameters of fastNlMeansDenoising[Multi][Abs] from float * to std::vector<float>
2015-03-09 15:52:16 +01:00
Nils Plath
ee55e4595c
- Fixed compile error that appeared with Clang 5.1 on Mac 10.8.5:
...
modules/videoio/src/cap_gstreamer.cpp:577:31: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
filename = "v4lsrc ! "COLOR_ELEM" ! appsink";
^
modules/videoio/src/cap_gstreamer.cpp:585:32: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
filename = "v4l2src ! "COLOR_ELEM" ! appsink";
2015-03-08 00:23:38 +01:00
Prof. Dr. Rudolf Haussmann
5e3d986ad8
Merge remote-tracking branch 'upstream/master'
2015-03-07 13:10:41 +01:00
Prof. Dr. Rudolf Haussmann
9f1eb70dbc
Changes to be committed:
...
(use "git reset HEAD <file>..." to unstage)
modified: modules/java/generator/gen_java.py
modified: modules/videoio/include/opencv2/videoio.hpp
modified: modules/videoio/include/opencv2/videoio/videoio_c.h
modified: modules/videoio/src/cap_dshow.cpp
modified: modules/videoio/src/cap_pvapi.cpp
Following changes have been made:
1. Some minor bugs have been removed.
2. In the PvAPI module the option CAP_PROP_MONOCROME has been removed because
this option does not make sense and causes an error if a color camera is used.
3. Instead the new option CAP_PROP_PVAPI_PIXELFORMAT has been added which allows
to activate the different pixel formats (color modes) of an AVT camera.
4. Since there were two identical defines
CAP_PROP_MONOCROME = 19
CAP_PROP_MONOCHROME = 19
which were also used in the other module DSHOW, the first one with an orthographic
error has been removed in favor of the second one.
2015-03-07 12:53:32 +01:00
Erik Karlsson
21160137d4
Addition of test cases
2015-03-06 20:44:31 +01:00
Erik Karlsson
cc8d94c6fc
Addition of per-channel h-values for fastNlMeansDenoising[Multi][Abs]
2015-03-06 20:43:55 +01:00
Erik Karlsson
324fa26848
Refactoring of OpenCL implementation
2015-03-06 19:07:13 +01:00
Olexa Bilaniuk
9c432f4f75
Silence Windows warnings.
2015-03-06 12:16:38 -05:00
Olexa Bilaniuk
d6534912d8
Merge remote-tracking branch 'refs/remotes/upstream/master'
2015-03-06 09:25:01 -05:00
Olexa Bilaniuk
2113636d29
Made seed a constant.
2015-03-06 09:24:45 -05:00
Olexa Bilaniuk
fcdbacdbb0
Corrected initialization of smart pointer.
2015-03-06 09:15:00 -05:00
Erik Karlsson
41ffcc27dd
Added support for h = 0.0
2015-03-06 15:06:11 +01:00
Dmitry-Me
135701feac
Double used as boolean for no reason
2015-03-06 17:04:54 +03:00
sanuj
441cd22343
Add documentation for solvePnP in calib3d
2015-03-06 19:18:22 +05:30
Erik Karlsson
1e82a67cc4
Additional refactoring
2015-03-06 14:28:43 +01:00
Maksim Shabunin
ee2d7a1f39
Fixed warnings for iOS
2015-03-06 16:16:57 +03:00
Maksim Shabunin
451972f3cf
Added ARM implementation in cvRound function
...
- note: uses VFPv3 instructions
- also added overloaded cvRound variants with float and int parameters
- thanks to Marina Kolpakova from Itseez for idea
- thanks to developers from #llvm IRC channel for help with inline asm
2015-03-06 16:14:37 +03:00
StevenPuttemans
cef2cf2852
fixing locale settings - making it universal
2015-03-06 13:13:53 +01:00
Vadim Pisarevsky
5d8a1bf813
explained reason why IPP is disabled on 32-bit Linux. disable IPP's minMaxLoc_32f on 32-bit OSes only
2015-03-06 15:02:22 +03:00
Vadim Pisarevsky
361eb633f6
Merge pull request #3795 from samyak-268:sqr-filter-doc
2015-03-06 10:22:56 +00:00
Vadim Pisarevsky
fd7a76fe5d
Merge pull request #3796 from enpe:master
2015-03-06 10:21:57 +00:00
Vadim Pisarevsky
092f599aac
Merge pull request #3797 from Dmitry-Me:reduceVariableScope6
2015-03-06 10:20:45 +00:00
Vadim Pisarevsky
8c69266cbf
Merge pull request #3786 from jviney:fix_background_subtractor_knn_width_step
2015-03-06 10:17:43 +00:00
Dmitry-Me
2fb4178f7c
Reduce variable scope
2015-03-06 10:17:37 +03:00
Nils Plath
32d56c6b43
Fixed: wrong conversion of float-based Mat input inside the AKAZE.
2015-03-05 23:55:07 +01:00
Samyak Datta
20efcff166
Added doxygen comments for sqrBoxFilter() method
2015-03-06 03:50:51 +05:30
Erik Karlsson
c41efe4e30
Refactoring in preparation for per-channel h-values
2015-03-05 17:50:52 +01:00
Vadim Pisarevsky
7a52c3d9f1
1) make sure Python 2.7 is detected on Ubuntu (including libs) when it's there.
...
2) disable IPP on 32-bit Linux when OpenCV is built as shared libs. Otherwise we get linker errors
3) disable IPP's minMaxIdx 32-bit floating-point flavor in a hope that it fixes some test failures
2015-03-05 18:58:54 +03:00
Erik Karlsson
18be52c05b
Changed LUTs from IT to int
2015-03-05 13:55:06 +01:00
Erik Karlsson
305cff36e2
Changed from IT to int for distance calculation
2015-03-05 13:36:42 +01:00
Vadim Pisarevsky
aa113c5a85
Merge pull request #3787 from Dmitry-Me:fixNullPointerDereference2
2015-03-05 12:19:02 +00:00
Dmitry-Me
d164d51380
Fix potential null pointer dereference
2015-03-05 10:31:51 +03:00
Vadim Pisarevsky
f9b8ce1d25
Merge pull request #3784 from ilya-lavrenov:nvidia_android
2015-03-05 06:43:03 +00:00
Jonathan Viney
4f24dc0959
Fix KNN background subtraction not honoring width step.
2015-03-05 12:46:07 +13:00
Vadim Pisarevsky
0b99f6bcd6
Merge pull request #3777 from ilya-lavrenov:nvidia_cvtcolor_eps
2015-03-04 13:53:41 +00:00
Ilya Lavrenov
cf4c79ebdd
disabled some kernels for Android && NVidia
2015-03-04 14:46:49 +03:00
Vadim Pisarevsky
e4bc592c46
Merge pull request #3583 from oresths:tbb_canny
2015-03-04 10:49:27 +00:00
Vadim Pisarevsky
ebac739a35
Merge pull request #3781 from Dmitry-Me:dangerousStringManipulation
2015-03-04 10:45:25 +00:00
Olexa Bilaniuk
52e67c1a29
Whitespace & Doc fixes on lower half of rho.cpp.
...
Spaced methods & functions more consistently, and started documenting
which members does each method access directly or through its callers
within RHO_HEST_REFC.
2015-03-04 05:04:52 -05:00
Dmitry-Me
f8c454733b
Remove dangerous string manipulation, merge declaration with assignment
2015-03-04 10:35:06 +03:00
Olexa Bilaniuk
27fd810b6f
Silenced build warnings on Windows.
2015-03-04 02:09:59 -05:00
Olexa Bilaniuk
736b42b372
Refactorings and renamings.
...
- Deleted "RefC" from names of external-interface functions.
- Renamed rhorefc.[cpp|hpp] to rho.[cpp|hpp]
- Introduced RHO_HEST base class, from which RHO_HEST_REFC inherits.
- rhoInit() currently only returns a Ptr<RHO_HEST_REFC>, but in the
future it will be allowed to return pointers to other derived classes,
depending on the values returned by cv::checkHardwareSupport().
2015-03-04 01:43:13 -05:00
Olexa Bilaniuk
3a4d9a77b2
Merge remote-tracking branch 'refs/remotes/upstream/master'
2015-03-03 23:15:05 -05:00
Olexa Bilaniuk
408f93340a
External interface converted to use OpenCV Ptr<> smart pointer.
2015-03-03 23:12:33 -05:00
Olexa Bilaniuk
f592321771
Internal buffers converted to use OpenCV dynamic memory allocation.
2015-03-03 22:57:40 -05:00
Vadim Pisarevsky
4bb496409c
Merge pull request #3779 from Dmitry-Me:uniformComputationOfVariableSize
2015-03-03 18:51:56 +00:00
Vadim Pisarevsky
4701b22e14
Merge pull request #3607 from soyersoyer:yuyv_pixfmt
2015-03-03 18:15:50 +00:00
Olexa Bilaniuk
bb01231990
Substituted the NaN check with OpenCV's implementation.
2015-03-03 13:06:36 -05:00
Olexa Bilaniuk
e7d5e57264
Merge remote-tracking branch 'refs/remotes/upstream/master'
2015-03-03 11:56:03 -05:00
Olexa Bilaniuk
16f36a5fda
Replaced division by reciprocal + multiply in a few places.
2015-03-03 11:55:36 -05:00
Olexa Bilaniuk
e1abc416cf
Changed seeding in initialization.
...
The call to rand()/random() is now a call to (unsigned)cv::theRNG().
2015-03-03 11:48:41 -05:00
Olexa Bilaniuk
0f6ea38eac
Added OPENCV_ prefix to #include guard.
2015-03-03 11:42:04 -05:00
Olexa Bilaniuk
a2affe70d9
Deleted last remnants of restrict keyword.
2015-03-03 11:40:44 -05:00
Vadim Pisarevsky
dcff28b778
Merge pull request #3717 from Dmitry-Me:removeUnneededIndirections
2015-03-03 16:15:25 +00:00
Dmitry-Me
c587bae997
Uniform computation of variable size
2015-03-03 16:11:07 +03:00
Olexa Bilaniuk
b229d6b7ac
Moved constants to cv:: namespace.
2015-03-03 08:05:52 -05:00
Vadim Pisarevsky
6820292256
Merge pull request #3700 from MSOpenTech:winrt-cmake-contrib
2015-03-03 12:52:03 +00:00
Vadim Pisarevsky
d3b74cdcb2
Merge pull request #3773 from ilya-lavrenov:warning
2015-03-03 12:33:17 +00:00
Ilya Lavrenov
26eebb3ee3
increased EPS for cvtColor for NVIDIA
2015-03-03 15:26:51 +03:00
Dmitry-Me
1b7066fc95
Reduce variable scope, only compute values that are used later
2015-03-03 11:04:22 +03:00
Erik Karlsson
69eae13ff3
Changed pointers from sample_t * to uchar *. Rescaling psz accordingly.
2015-03-03 03:02:44 +01:00
Erik Karlsson
d56d04e41b
Updated documentation
2015-03-03 01:34:29 +01:00
Erik Karlsson
ac6771f975
Added test cases
2015-03-03 01:20:33 +01:00
Erik Karlsson
ae08884854
Added support for 4-component input for fastNlMeansDenoising[Multi][Abs]
2015-03-03 01:19:34 +01:00
Olexa Bilaniuk
ed2a23768e
Merge remote-tracking branch 'refs/remotes/upstream/master'
2015-03-02 17:55:34 -05:00
Erik Karlsson
87760d13fb
Cleanup and addition of 4-component support for ocl_fastNlMeansDenoising
2015-03-02 22:33:14 +01:00
Vadim Pisarevsky
7c7a63bebc
Merge pull request #3772 from Dmitry-Me:reduceVariableScope4
2015-03-02 19:52:18 +00:00
Maxim Kostin
22a30af353
Fixing buildbot job:
...
- explicitly turning OCL off since WinRT does not support it
- fixing macro definitions in core/ocl.cpp
Signed-off-by: Maxim Kostin <v-maxkos@microsoft.com>
2015-03-02 22:26:45 +03:00
Maxim Kostin
cdd23440c9
Adding support for WinRT(WinPhone 8/8.1 and Win Store) via CMake 3.1
...
- Substituted HAVE_WINRT with WINRT
- Fixed compilation issues in ocl.cpp and parallel.cpp
- Fixed compiler issue for WP8: "C2678: binary '+' : no operator found which takes a left-hand - Fixed gitignore
- Added #ifdef HAVE_OPENCL to remove compiler warnings in ocl.cpp
- Used NO_GETENV similar to '3rdparty\libjpeg\jmemmgr.c;
- Added ole32.lib for core module (for WindowsStore 8.0 builds)
- Made OpenCV_ARCH aware of ARM
Signed-off-by: Maxim Kostin <v-maxkos@microsoft.com>
2015-03-02 22:26:43 +03:00
Maksim Shabunin
37c74e38f4
Python support
2015-03-02 18:13:00 +03:00
Maksim Shabunin
457123027e
Modified java wrapping mechanism
2015-03-02 18:12:30 +03:00