Maksim Shabunin
44d1738d47
Transition guide: how to check library version
2015-05-22 18:46:16 +03:00
Vadim Pisarevsky
f32f0486e2
trying to eliminate warnings in Android build
2015-05-22 16:53:34 +03:00
Vadim Pisarevsky
8e392251ba
Merge pull request #4016 from vladimir-dudnik:directx-opencl-sample
2015-05-22 13:21:36 +00:00
Maksim Shabunin
3863dc5b2b
Updated pkg-config generation, added sample makefile
2015-05-22 16:09:07 +03:00
Samuel Martin
671a630f47
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 substitutions for these paths when the
aforementioned environment variables are set.
In such case, since the prefix is the target one, not the sysroot one,
these libraries' absolute 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
This patch is a port of [6] on the master branch.
[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
[6] eceada586b
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
2015-05-22 16:09:05 +03:00
Vadim Pisarevsky
d2aaa70e93
removed HAL calls from public OpenCV headers; put IPP calls back to hall:sqrt() and such (but they are disabled for now)
2015-05-22 16:04:10 +03:00
Maxim Kostin
4418ee6c77
Refactored internal helpers. Simplified structure. Updated comments. Updates #41
...
Signed-off-by: Maxim Kostin <v-maxkos@microsoft.com>
2015-05-22 15:41:50 +03:00
Vladimir Dudnik
c64a15294d
short description moved to the beginning of file
2015-05-22 14:12:00 +03:00
Vadim Pisarevsky
ef8182e12a
Merge pull request #4025 from vpisarev:features2d_fixes
2015-05-21 19:16:27 +00:00
laurentBerger
b204013483
back to #include "opencv2/cvconfig.h"
2015-05-21 20:22:57 +02:00
Vadim Pisarevsky
af47b6551f
another attempt to make the MSER test pass. removed possible randomization in parameters from run to run
2015-05-21 17:10:35 +03:00
Vladimir Dudnik
892684ebe5
add short description
2015-05-21 17:08:13 +03:00
Vadim Pisarevsky
4c67ae1a0b
fixed failure in Features2d_MSER.cases
2015-05-21 16:27:34 +03:00
Vadim Pisarevsky
021473e93e
Merge pull request #4040 from dobrypd:libgphoto2-connection
2015-05-21 13:19:22 +00:00
laurentBerger
b116d6c6e8
use ifndef HAVE_GTK
2015-05-21 14:57:49 +02:00
Vadim Pisarevsky
6b04c2b904
Merge pull request #4027 from zenev:master
2015-05-21 12:35:17 +00:00
Vadim Pisarevsky
7061bf0000
Merge pull request #4031 from apavlenko:revert_4014
2015-05-21 12:31:48 +00:00
Vadim Pisarevsky
dab78c26b1
added reasonable test for MSER (including coverage for http://code.opencv.org/issues/4273 , http://code.opencv.org/issues/1723 and http://code.opencv.org/issues/756 ); also, added some "in-progress" info to the Features2d_Feature2d.no_crash test.
2015-05-21 15:03:17 +03:00
laurentBerger
a6a0fc5b21
replace "cvconfig.h" it with "opencv2/cvconfig.h".
2015-05-21 14:01:11 +02:00
Vadim Pisarevsky
fede94e979
it's now true MSER algorithm that works well on binary images too
2015-05-21 05:44:14 +03:00
Piotr Dobrowolski
6d0407b65e
VideoCapture with digital camera and gPhoto2 library
2015-05-21 00:41:39 +02:00
GilLevi
05a45ef6dc
renamed LATCH
2015-05-21 00:04:24 +03:00
Vadim Pisarevsky
298c98ea32
Merge pull request #4026 from mshabunin:install-cvconfig
2015-05-20 09:58:48 +00:00
Andrey Pavlenko
ab8afc3bcc
Revert of "Merge pull request #4006 from sgjava:opencv-steve" (reverted from commit 4743184078
)
2015-05-19 18:55:57 +03:00
Vladimir Dudnik
af806bc816
replaced macros with template func
2015-05-19 16:08:25 +03:00
Andrey Pavlenko
d67d32af48
Revert of "Merge pull request #4014 from sgjava:opencv-sgjava" (reverted from commit 52fa55a770
)
2015-05-19 13:30:18 +03:00
zenev
6ac4a4ceb6
Merge branch 'master' of https://github.com/zenev/opencv
2015-05-18 13:29:54 -07:00
zenev
5cb70d34d7
fixed vector out of range exception in nextImg
2015-05-18 13:29:15 -07:00
Vadim Pisarevsky
b5a7122855
added test to do smoke testing of ORB, KAZE, AKAZE and BRISK on images of different size
2015-05-18 21:16:53 +03:00
Maksim Shabunin
e936670571
Install cvconfig.h file
2015-05-18 19:19:48 +03:00
Vadim Pisarevsky
fc06a2384b
added test for batch detection/descriptor extraction ( http://code.opencv.org/issues/3943 )
2015-05-18 19:01:00 +03:00
Vadim Pisarevsky
432cf1152a
added read/write functions for vector<DMatch> + the test ( http://code.opencv.org/issues/4308 )
2015-05-18 18:59:37 +03:00
Vadim Pisarevsky
3136010e1a
Merge pull request #4023 from Dikay900:cleanup_cascadedetect
2015-05-18 14:08:22 +00:00
Vadim Pisarevsky
2fc92448df
Merge pull request #4024 from jet47:cuda-minmaxloc-one-row-input
2015-05-18 14:06:37 +00:00
Vladislav Vinogradov
e22979f334
fix #4343 : cv::cuda::findMinMaxLoc incorrect output for single row matrix
2015-05-18 14:16:55 +03:00
Dikay900
a5242265d7
cleanup after last PR
2015-05-18 00:31:39 +02:00
Vadim Pisarevsky
8b791477df
Merge pull request #3971 from Dikay900:2_4_to_master_3
2015-05-17 00:28:30 +00:00
laurentBerger
268283ff16
suppress android and mac warnings
2015-05-16 22:54:53 +02:00
GilLevi
6613519c2e
added sample for LATCH
2015-05-16 22:37:38 +03:00
Vadim Pisarevsky
e0136e39f4
Merge pull request #4011 from cr333:parula
2015-05-16 19:11:32 +00:00
laurentBerger
546f70a6f0
some warnings and errors
2015-05-16 21:01:31 +02:00
GilLevi
f85eb23c3b
sample for LATCH
2015-05-16 21:15:09 +03:00
Vadim Pisarevsky
78e89ba3ff
Merge pull request #4001 from LaurentBerger:ExampleBLOB
2015-05-16 18:11:29 +00:00
Vadim Pisarevsky
eb41a574b7
Merge pull request #4005 from MSOpenTech:videoio-contrib
2015-05-16 18:08:28 +00:00
laurentBerger
187ab0ca61
include cvconfig.h to use constant HAVE_OPENGL
2015-05-16 19:59:59 +02:00
laurentBerger
7cf5de0ed0
trailing whitespace and some bracket
2015-05-16 19:29:12 +02:00
laurentBerger
68e9d19743
An example how to use features2d for MSER. Data results are visualized in 3D using openglwith mouse or keyboard
2015-05-16 18:59:22 +02:00
Vladimir Dudnik
f0197006e0
removed original samples and replace them with new ones. modified new samples (reduce code duplication, add cmd line params and short description)
2015-05-16 00:40:05 +03:00
Vadim Pisarevsky
a85bb091c8
Merge pull request #4018 from vpisarev:imgproc_video_fixes
2015-05-15 16:15:01 +00:00
Maxim Kostin
3d20157d4f
Added sample Windows Universal application (UAP) using videoio logic for video preview and processing.
...
Signed-off-by: Maxim Kostin <v-maxkos@microsoft.com>
2015-05-15 18:03:06 +03:00