Pierre Letessier
baa21484a1
Added CV_CAP_PROP_SAR properties to videoio module
2015-10-23 21:14:22 +02:00
micalan
0a306f8804
Camera orientation handling is added for jpeg files
2015-10-23 21:19:35 +03:00
Alexander Alekhin
9a0beda037
Merge pull request #5489 from paroj:v4l2noconvert
2015-10-23 16:35:36 +00:00
Alexander Alekhin
09e6c82190
Merge pull request #5474 from paroj:v4l2ctrls
2015-10-23 16:28:26 +00:00
Rodrigo Benenson
0ef7387298
mush -> must
...
fixed typo
2015-10-22 23:27:55 +02:00
Alexander Alekhin
debe99f1a4
Merge pull request #5531 from mshabunin:fix-vs2015
2015-10-22 16:28:42 +00:00
Alexander Alekhin
031568831c
Merge pull request #5513 from jet47:ctest-extended-support
2015-10-22 12:37:40 +00:00
Maksim Shabunin
4e7a14355d
Merge pull request #5499 from StevenPuttemans:fix_mask_notice_copyTo
2015-10-22 12:27:45 +00:00
Maksim Shabunin
ff35726fc3
Merge pull request #5432 from sturkmen72:patch-11
2015-10-22 12:24:47 +00:00
Maksim Shabunin
31e0d90da6
Enable temp objects destruction test for VS versions less than 2015
2015-10-22 12:44:03 +03:00
Vadim Pisarevsky
b34f0d99bb
Merge pull request #5539 from sturkmen72:patch-14
2015-10-21 11:54:52 +00:00
Vadim Pisarevsky
66f2000548
Merge pull request #5532 from grundman:patch-2
2015-10-21 11:54:30 +00:00
Vadim Pisarevsky
91e9e6489b
Merge pull request #5542 from renatoGarcia:matx_constructors
2015-10-21 11:46:27 +00:00
Vadim Pisarevsky
f820df2ea0
Merge pull request #5543 from aman11dhanpat:master
2015-10-21 11:44:35 +00:00
Maksim Shabunin
6e9d0d9a0c
Visual Studio 2015 warning and test fixes
2015-10-20 12:48:37 +03:00
Alexander Alekhin
1648e9292c
Merge pull request #5431 from MiguelAlgaba:em_one_cluster
2015-10-19 15:27:35 +00:00
Aman Verma
d5e314e728
Fixing compilation errors in windows and mac
2015-10-19 10:58:43 +00:00
Aman Verma
b0209ad7f7
Fix for #5495 : add setTrackbarMin
2015-10-19 08:44:06 +00:00
Renato Florentino Garcia
f5b98bea41
Fix behavior of Matx 12 and 16 args constructors.
...
The 12 and 16 arguments Matx constructors differs from all others,
leaving values initialized and requiring the argument number to be equal
to the channels number.
2015-10-18 23:16:21 -02:00
Suleyman TURKMEN
51e687f7a9
Update imgproc.hpp
2015-10-18 15:53:15 +03:00
Pavel Rojtberg
eac5cab5cb
cap_v4l: implement PROP_CONVERT_RGB
...
allows disabling automatic conversion to RGB for certain formats. If
conversion is disabled the returned image just points to the underlying
buffer, so no memcpy is performed.
Note that we do not check image size in retrieve frame any more as it
can not possibly while the device is streaming.
Furthermore this code was disabled altogether by the wrong ifdef in the
previous commit.
2015-10-18 14:14:20 +02:00
Pavel Rojtberg
5e62e71b13
fix wrong ifdef bracketing
...
in the case of HAVE_CAMV4L2 && !HAVE_CAMV4L there was no body for the if
statement.
2015-10-18 14:13:44 +02:00
Pavel Rojtberg
838947bb8e
replace custom yuyv_to_rgb24 implementation by cvtColor
2015-10-18 13:51:20 +02:00
Pavel Rojtberg
80747088e3
avoid needless copies during mjpeg decoding
2015-10-18 13:51:20 +02:00
Pavel Rojtberg
56dd7eda0d
remove additional V4L2 pixelformat defines
...
they are upstream since at least linux 2.6.8 (10 Years)
http://lxr.oss.org.cn/ident?v=2.6.8&i=V4L2_PIX_FMT_SBGGR8
2015-10-18 13:51:20 +02:00
Pavel Rojtberg
588eba3b37
simplify autosetup_capture_mode_v4l2 by using a for loop
2015-10-18 13:51:20 +02:00
Pavel Rojtberg
5525cc4d09
implement CAP_PROP_MODE, CAP_PROP_FOURCC and CAP_PROP_FORMAT
...
do not use a custom enum instead of the V4L2 fourcc defines for palette.
This way we can easily implement CAP_PROP_FOURCC and CAP_PROP_MODE.
2015-10-18 13:51:20 +02:00
Pavel Rojtberg
c0fe522c9d
allow changing FPS and Image Size using V4L2
...
use logic similar to cap_libv4l: replace icvSetVideoSize by v4l2_reset
as it was not used for V4L1, the actual frame format is negotiated in
try_palette_v4l2 and the stream has to restarted anyway.
2015-10-18 13:51:16 +02:00
Pavel Rojtberg
18034a5138
allow icvGetPropertyCAM_V4L to return zero
...
now icvGetPropertyCAM_V4L behaves the same as in cap_libv4l. This also
fixes passing boolean values.
2015-10-18 13:48:15 +02:00
Pavel Rojtberg
f7981a8ae8
support setting focus and autofocus with V4L2
...
also refactor property range handling and opencv property to V4L2
translation.
2015-10-18 12:56:09 +02:00
grundman
f260b13a6f
Fix racy modification of ForThread::m_state during invocation of stop()
2015-10-16 11:19:27 -07:00
Jan S. (Milania1)
3e0b1f2845
Added example to the documentation for the NormTypes enum (L1, L2, INF)
2015-10-15 19:16:07 +02:00
Bovaz
7be3d3ab2c
sqrtf to std::sqrt
2015-10-14 18:57:33 -07:00
Matteo Piovanelli
216baf5b11
Speedup of arcLength
...
By my tests, this version of cv::arcLength is almost 10% faster than the
one using a buffer it replaces.
2015-10-14 13:37:48 -07:00
Alexander Alekhin
37ce3b8cfe
Merge pull request #5478 from alalek:fix_android_pack_build
2015-10-14 13:05:18 +00:00
Lorena García
33f77774c5
Hit&Miss morphological operation
2015-10-14 14:01:53 +02:00
Alexander Alekhin
dcca0b499c
Merge pull request #5509 from spmallick:master
2015-10-14 09:14:10 +00:00
Alexander Alekhin
d8c352d20d
Merge pull request #5504 from aman11dhanpat:master
2015-10-14 09:10:30 +00:00
Alexander Alekhin
c1545c6f2a
Merge pull request #5502 from AlexanderStohr:file-handle-volatile-fix
2015-10-14 09:09:30 +00:00
edgarriba
1e9bd59f07
load multi/hyperspectral images with using gdal
2015-10-14 09:16:04 +02:00
spmallick
066c775321
Update window_QT.h
...
QPushButton was included twice.
2015-10-13 15:51:43 -07:00
Vladislav Vinogradov
02c48ab7d6
add CTest support to build tree
2015-10-13 17:34:08 +03:00
Vladislav Vinogradov
d81d51d155
assing labels to targets and sources
2015-10-13 17:33:26 +03:00
Alexander Alekhin
466a98f7c3
Merge pull request #5493 from lupustr3:pvlasov/ipp9_fixes
2015-10-13 14:24:09 +00:00
AlexanderStohr
0098c4b571
fix VS2010 error with type mismatch due to volatile qualifier
2015-10-13 16:15:49 +02:00
Alexander Stohr
7e3d7677ae
not only print file-not-found as a warning but also print the name of the problematic file and the uri used for the open attempt
2015-10-13 16:15:48 +02:00
StevenPuttemans
0a708e4070
adding extra explanation for mask parameter
2015-10-13 15:19:50 +02:00
Pavel Vlasov
40b2dfae09
Fix for filter2D and IPP < 900
2015-10-13 14:10:32 +03:00
Aman Verma
411be4fde8
Fix for #5481 , removing repeated/useless assignment in contours.cpp
2015-10-12 16:16:27 +00:00
Alexander Alekhin
ddd91bcebf
android: add targetSdkVersion="21"
2015-10-12 18:12:34 +03:00
Dan
1e1f20cfee
Improved consistency.
2015-10-12 09:21:53 -04:00
Pavel Vlasov
89eee6ca99
Fixes for IPP integration:
...
dotProd_16s - disabled for IPP 9.0.0;
filter2D - fixed kernel preparation;
morphology - conditions fix and disabled FilterMin and FilterMax for IPP 9.0.0;
GaussianBlur - disabled for CV_8UC1 due to buffer overflow;
integral - disabled for IPP 9.0.0;
IppAutoBuffer class was added;
2015-10-12 10:51:28 +03:00
Amro
13a0a37e63
fix randMVNormal in ML ( #5469 )
...
Fix the failed assertion by replacing the GEMM call.
Also random numbers are generated from normal distribution ~N(0,1),
instead of uniform distribution ~U(0,1).
2015-10-11 01:54:11 +03:00
Nickolay Polyarniy
846e6f731a
stereoRectifyUncalibrated: assertion of input points shape fixed
...
Fix for https://github.com/Itseez/opencv/issues/4426
Documentation says that input points format is the same to input for findFundamentalMat
2015-10-10 14:00:31 +03:00
Dan Moodie
3d1355efc1
Updated input / output array to support std::vector<cv::cuda::GpuMat>
...
Expanded support for std::vector<cv::cuda::GpuMat>.
Whitespace fix.
2015-10-09 15:12:57 -04:00
Alexander Alekhin
dbcc55a196
cleanup <build>/src|gen folders to remove stalled/unused Java files
2015-10-09 17:28:50 +03:00
Alexander Alekhin
441eeef319
Merge pull request #5470 from apavlenko:android_camera_gl_view
2015-10-08 13:31:51 +00:00
Andrey Pavlenko
23fea91e84
minor fixes
2015-10-08 12:37:59 +03:00
StevenPuttemans
47db20eced
removing unexisting functionality in ML header
2015-10-08 11:10:05 +02:00
Alexander Alekhin
484c68cbb8
Merge pull request #5460 from sergiud:highgui-autosize-gtk3
2015-10-07 14:47:16 +00:00
Alexander Alekhin
56e8827ce0
Merge pull request #5456 from sergiud:ffmpeg-capture-varying-frame-size
2015-10-07 14:42:29 +00:00
Andrey Pavlenko
15db8243ef
refactored; added Camera2, notify callbacks, front/back maxCamera sizes; disable new stuff if target API < 21
2015-10-07 15:01:32 +03:00
Alexander Alekhin
706b8a6266
Merge pull request #5459 from aman11dhanpat:master
2015-10-06 17:12:03 +00:00
Alexander Alekhin
559b538be8
Merge pull request #5458 from berak:fix_putText
2015-10-06 17:11:47 +00:00
berak
f2decec3e8
fix zero length std::string in putText()
2015-10-06 17:07:40 +02:00
Sergiu Dotenco
514b202d7b
highgui: CV_WINDOW_AUTOSIZE does not resize with GTK3
2015-10-06 17:01:28 +02:00
Aman Verma
dff7037156
Adding fix for issue 5451 "putText fails with empty std::string"
2015-10-06 14:23:27 +00:00
Sergiu Dotenco
9da4fe4b02
videoio: fixed segmentation fault at frame size change
2015-10-06 15:09:31 +02:00
Alexander Alekhin
6025738b8b
Merge pull request #5454 from alalek:fix_ffmpeg_priv_data
2015-10-06 10:01:59 +00:00
Alexander Alekhin
7a4b2e18a7
Merge pull request #5441 from alalek:fix_ffmpeg_frame_creation
2015-10-06 10:01:39 +00:00
Alexander Alekhin
4760d32937
ffmpeg: fix invalid NULL pointer access
...
Catched on Ubuntu 12.04 with FFMPEG:
codec: YES (ver 53.35.0)
format: YES (ver 53.21.1)
util: YES (ver 51.22.3)
swscale: YES (ver 2.1.0)
resample: NO
gentoo-style: YES
2015-10-05 19:28:35 +03:00
Alexander Alekhin
33f5ac5c15
Merge pull request #5429 from PhilLab:patch-6
2015-10-05 12:50:17 +00:00
Alexander Alekhin
59a41c1c51
Merge pull request #5453 from paroj:capgstleak
2015-10-05 12:47:11 +00:00
Pavel Rojtberg
345cd1242f
do not leak GstMapInfo
...
it is new'ed but never deleted. However it does not need to be global or
heap allocated in the first place.
2015-10-05 12:28:47 +02:00
Jan S. (Milania1)
3d2a24f61d
Added example to the documentation for the normalize() method
2015-10-04 20:23:45 +02:00
Alexander Alekhin
50a0a167f0
fix ffmpeg frame creation ( fix #5439 )
2015-10-02 18:27:18 +03:00
Alexander Alekhin
76afd9a1b5
Merge pull request #5436 from jet47:fix-cuda-normalize
2015-10-02 12:50:38 +00:00
Alexander Alekhin
b37387ef90
Merge pull request #5425 from lupustr3:pvlasov/ipp_initialization_changes
2015-10-02 12:49:37 +00:00
Suleyman TURKMEN
21c0acff24
Update imgcodecs.hpp
2015-10-02 14:00:24 +03:00
Vladislav Vinogradov
1bf811c3f1
fix cuda::normalize (dtype < 0) case
2015-10-02 11:41:01 +03:00
StevenPuttemans
587dca9b1c
adding markers to OpenCV
2015-10-02 08:48:15 +02:00
Pavel Vlasov
6a0d3b06f2
IPPInitSingelton initialization guards;
2015-10-01 17:48:49 +03:00
Miguel Algaba
b71a27b96c
Assert fix: allow one cluster as valid parameter
2015-10-01 16:45:59 +02:00
Vadim Pisarevsky
d69b7c332a
Merge pull request #5385 from alalek:fix_android_camera_datarace
2015-10-01 13:58:01 +00:00
Philipp Hasper
05846438e3
Typo in CameraBridgeViewBase.java
...
Corrected typo and unused imports
2015-10-01 15:09:14 +02:00
Vadim Pisarevsky
af5e631a7a
Merge pull request #5402 from sturkmen72:patch-10
2015-10-01 13:01:26 +00:00
Pavel Vlasov
e837d69f8f
IPPInitSingelton was added to contain IPP related global variables;
...
OPENCV_IPP env var now allows to select IPP architecture level for IPP9+;
IPP initialization logic was unified across modules;
2015-10-01 09:58:48 +03:00
Alexander Alekhin
34e4e66bf1
Merge pull request #5419 from lupustr3:pvlasov/ipp9_integration
2015-09-30 17:36:43 +00:00
Alexander Alekhin
9b6424e0c6
Merge pull request #5415 from lupustr3:pvlasov/ipp_version_change
2015-09-29 17:11:30 +00:00
Pavel Vlasov
62854dcc0d
Enables support of IPP 9.0.0;
...
HAVE_IPP_ICV_ONLY will be undefined if OpenCV was linked against ICV packet from IPP9 or greater. ICV9+ packets will be aligned with IPP in OpenCV APIs
This will ease code management between IPP and ICV
2015-09-29 17:27:13 +03:00
Pavel Vlasov
75c7917643
IPP_VERSION_X100 was changed to:
...
IPP_VERSION_MAJOR * 100 + IPP_VERSION_MINOR*10 + IPP_VERSION_UPDATE
to manage changes between updates more easily.
IPP_DISABLE_BLOCK was added to ease tracking of disabled IPP functions;
2015-09-29 17:24:18 +03:00
Alexander Alekhin
ddf82d0b15
Merge pull request #5405 from lupustr3:pvlasov/ipp_functions_refactoring
2015-09-28 17:20:41 +00:00
Suleyman TURKMEN
7c226ed7a2
adding new flags to imread to load image reduced
2015-09-28 02:00:02 +03:00
Alexander Alekhin
dd9da53860
disable String(int) ctor
...
MSVC and GCC compilers interprets cv::String a(0) as a valid
statement with conversion of "int" argument to "const char*".
This patch forbids this expected behaviour.
2015-09-27 14:54:11 +03:00
Balint Cristian
fdbed4a473
Speedup AGAST nonmax-suppression.
2015-09-26 04:43:07 +03:00
Pavel Vlasov
14b006e808
IPP_VERSION_X100 was changed to:
...
IPP_VERSION_MAJOR * 100 + IPP_VERSION_MINOR*10 + IPP_VERSION_UPDATE
to manage changes between updates more easily.
IPP_DISABLE_BLOCK was added to ease tracking of disabled IPP functions;
2015-09-25 17:50:15 +03:00
Pavel Vlasov
2177c7c5a8
Some IPP functions were encapsulated;
...
Minor changes to IPP implementations;
2015-09-25 17:30:26 +03:00
Alexander Alekhin
3a3f4038bf
Merge pull request #5391 from paroj:parser_nonempty
2015-09-25 11:01:09 +00:00
Pavel Rojtberg
46ada3886f
fix wrong parsing of values containing '='
...
fixes #5074
2015-09-24 17:27:07 +02:00
robertxwu
db78de9c3b
findChessboardCorners causes crash due to out-of-bounds memory corruption.
...
Refer to the following issue for detail:
https://github.com/Itseez/opencv/issues/5145
2015-09-24 12:59:00 +03:00
Pavel Rojtberg
1dd7f546af
CommandLineParser: add special <none> value to disallow empty strings
...
some mandatory string keys like paths must not be empty. Add the special
default value `<none>` so the CommandLineParser can enforce this and
generate an according error message for us.
2015-09-23 15:43:46 +02:00
Alexander Alekhin
e5ece03db1
Merge pull request #5382 from paroj:parserthrow
2015-09-23 10:18:00 +00:00
Alexander Alekhin
6f04385a0e
Merge pull request #5379 from sturkmen72:patch-9
2015-09-23 10:15:03 +00:00
berak
74fc9acdd1
initialize temp_train_samples in SVM::autoTrain
...
add smoke test
2015-09-23 11:08:48 +02:00
Pavel Rojtberg
a388806555
enable additional CommandLineParser tests
2015-09-22 18:37:51 +02:00
Pavel Rojtberg
2ced3ba276
CommandLineParser: throw on programmer error
...
requesting a previously undeclared key is most likely an programming
error. e.g. a typo "--unused vs --unsued".
So throw in those cases.
Add an according failure testcase.
2015-09-22 18:35:49 +02:00
Alexander Alekhin
eb2e061e3f
fix Android camera datarace (mCameraFrameReady)
2015-09-22 17:03:09 +03:00
Alexander Alekhin
d430e802f2
cmdparser: allow empty strings
2015-09-22 16:34:37 +03:00
Alexander Alekhin
12f01b778b
fix perf tests
2015-09-22 15:20:40 +03:00
Alexander Alekhin
21e38f2949
Merge pull request #5383 from alalek:fix_tests
2015-09-22 12:11:22 +00:00
Alexander Alekhin
be507b20cd
fix perf tests
2015-09-22 15:02:43 +03:00
Vadim Pisarevsky
9f697510ca
Merge pull request #5320 from berak:lda_fix
2015-09-22 10:38:46 +00:00
Alexander Alekhin
4bb4c92f68
Merge pull request #5376 from lupustr3:pvlasov/compare_16s_fix
2015-09-22 10:19:52 +00:00
Pavel Vlasov
33e659786f
Fix for cmp16s condition during IPP compare type convert;
2015-09-21 18:11:20 +03:00
Alexander Alekhin
d945aff132
Merge pull request #5371 from Dikay900:ports_to_master
2015-09-21 13:52:45 +00:00
Alexander Alekhin
a9b91bb400
Merge pull request #5372 from alalek:cmd_tests
2015-09-21 13:52:26 +00:00
Vadim Pisarevsky
c9ccf3b55d
Merge pull request #5346 from art-programmer:art-programmer-patch-1
2015-09-21 12:06:46 +00:00
Vadim Pisarevsky
706828a6d9
Merge pull request #5324 from mshabunin:hal-tests
2015-09-21 12:04:01 +00:00
Vadim Pisarevsky
01345fc159
Merge pull request #5344 from psalvaggio:master
2015-09-21 11:53:41 +00:00
Dikay900
55df326589
PR #4003
2015-09-21 13:44:35 +02:00
Gleb Gladilov
2bc4486966
Added test of minMaxLoc on filling with maximums of int
2015-09-21 13:44:30 +02:00
Gleb Gladilov
344d9fd83f
Fixed minMaxLoc and test functions
2015-09-21 13:44:29 +02:00
Vitaly Tuzov
4a0152c731
Resize area result verification moved to the separate function
...
fix position of assert expected/actual parameter
2015-09-21 13:44:28 +02:00
Vitaly Tuzov
7d245e0f29
Added more resize_area tests to ensure right rounding behavior for half and quarter downscaling
2015-09-21 13:44:27 +02:00
Elena Shipunova
5de01fde53
do not proceed with removing zero-length slice
2015-09-21 13:44:26 +02:00
Alexander Alekhin
108bb75430
Merge pull request #5361 from alalek:update_ffmpeg_support
2015-09-21 10:48:42 +00:00
Alexander Alekhin
4613d37eba
Merge pull request #5366 from taketwo:use-stream-in-bilateral-filter
2015-09-21 10:47:12 +00:00
Alexander Alekhin
05b1636780
Merge pull request #5329 from paroj:cliparser
2015-09-21 09:46:54 +00:00
berak
2f7c926670
remove usage of obsolete _dataAsRows flag
2015-09-21 07:59:09 +02:00
Suleyman TURKMEN
dff9d2288b
Update window_w32.cpp
2015-09-21 00:34:15 +03:00
Alexander Alekhin
d3071db0d7
add some CommandLineParser tests
2015-09-20 13:14:41 +03:00
Andrey Pavlenko
8e088d38a5
draft implementation of alternative CameraBridge via GLES
...
a simple sample will look like:
```java
public class MainActivity extends Activity implements CameraGLSurfaceView.CameraTextureListener {
CameraGLSurfaceView mView;
ByteBuffer buf;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
getWindow().setFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON,
WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
mView = new CameraGLSurfaceView(this, null);
mView.setCameraTextureListener(this);
setContentView(mView);
buf = ByteBuffer.allocateDirect(1920*1080*4);
}
@Override
protected void onPause() {
mView.onPause();
super.onPause();
}
@Override
protected void onResume() {
super.onResume();
mView.onResume();
}
@Override
public void onCameraViewStarted(int width, int height) {
// TODO Auto-generated method stub
}
@Override
public void onCameraViewStopped() {
// TODO Auto-generated method stub
}
@Override
public boolean onCameraFrame(int texIn, int texOut, int width, int height) {
Log.i("MAIN", "onCameraFrame");
int w=width, h=height;
/*
// option 1:
// just return 'false' to display texIn on screen
retutn false;
*/
/*
// option 2:
// fast copy texIn to texOut
GLES20.glActiveTexture(GLES20.GL_TEXTURE0);
GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texOut);
GLES20.glCopyTexImage2D(GLES20.GL_TEXTURE_2D, 0, GLES20.GL_RGBA, 0, 0, w, h, 0);
return true;
*/
// option 3:
// read, modify and write back pixels
GLES20.glReadPixels(0, 0, w, h, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, buf);
buf.rewind();
// red line
for(int i=0; i<h; i++) {
buf.position(w*4*i+i*4);
buf.put((byte) -1);
buf.position(w*4*i+i*4+4);
buf.put((byte) -1);
}
buf.rewind();
GLES20.glActiveTexture(GLES20.GL_TEXTURE0);
GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, texOut);
GLES20.glTexSubImage2D(GLES20.GL_TEXTURE_2D, 0, 0, 0, w, h, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, buf);
return true;
}
}
```
2015-09-19 16:18:02 +03:00
Pavel Rojtberg
31da833574
ts/ts_perf: fix wrong has() usage
...
`has()` only tests for an argument presence which is always true for
arguments with default values. Use `get<bool>()` to check the value
instead.
2015-09-18 18:42:14 +02:00
Pavel Rojtberg
96cc618410
has() should only test for the presence of the argument
...
and not consider its value. treat arguments with a set default value as
present.
2015-09-18 18:42:14 +02:00
Pavel Rojtberg
08dd126f08
do not parse empty default values and improve error messages
2015-09-18 18:42:14 +02:00
Alexander Alekhin
0051208684
Merge pull request #5349 from lupustr3:pvlasov/tls_update
2015-09-18 14:39:08 +00:00
Alexander Alekhin
d2b10d8aa1
Merge pull request #5355 from renatoGarcia:master
2015-09-18 13:38:29 +00:00
Alexander Alekhin
1b2c11e7b3
Merge pull request #5343 from paroj:boolean_algebra
2015-09-18 12:06:31 +00:00
Sergey Alexandrov
4094b2d7a5
Use stream argument when launching bilateral filter kernel
2015-09-18 13:12:58 +02:00
Alexander Alekhin
af0942c78f
Merge pull request #5335 from Dikay900:ports_to_master
2015-09-18 11:06:08 +00:00
Pavel Rojtberg
f0282337e3
simplify error conditions
...
`A || !A` is `true` so write `(A && B) || !A` as `B || !A`
2015-09-18 12:12:49 +02:00
jisli
f88e9a748a
update ffmpeg support
...
Migration have been done for these ffmpeg/libav changes:
2013-12-11 - 29c83d2 / b9fb59d,409a143 / 9431356,44967ab / d7b3ee9 - lavc 55.45.101 / 55.28.1 - avcodec.h
av_frame_alloc(), av_frame_unref() and av_frame_free() now can and should be
used instead of avcodec_alloc_frame(), avcodec_get_frame_defaults() and
avcodec_free_frame() respectively. The latter three functions are deprecated.
2012-10-08 - ae77266 / 78071a1 - lavu 51.74.100 / 51.42.0 - pixfmt.h
Rename PixelFormat to AVPixelFormat and all PIX_FMT_* to AV_PIX_FMT_*.
To provide backwards compatibility, PixelFormat is now #defined as
AVPixelFormat.
Note that this can break user code that includes pixfmt.h and uses the
'PixelFormat' identifier. Such code should either #undef PixelFormat
or stop using the PixelFormat name.
2015-09-17 20:24:37 +03:00
Pavel Vlasov
aa485ccd75
TLS keys leak fix;
...
Disables TLS copy constructor and operator, as they can lead to errors and reservation of too much keys in TLS storage;
gather method was added to TLS to gather data from all threads;
2015-09-17 15:49:20 +03:00
Renato Florentino Garcia
1a18fa1c94
Correct a typo.
2015-09-16 21:16:23 -03:00
art-programmer
e0ef293645
Update em.cpp
...
Fix a bug. When reading from a saved model, function decomposeCovs() will be called. And if covMatType is COV_MAT_DIAGONAL, covsEigenValues is computed using SVD and eigen values are sorted so that the order of eigen values is not preserved. This would lead to different result when calling function predict2. This issues is discussed here: http://stackoverflow.com/questions/23485982/got-different-empredict-results-after-emread-saved-model-in-opencv .
2015-09-14 19:35:53 -05:00
Philip Salvaggio
fcf971bded
Improved documentation for connectedComponentsWithStats.
2015-09-14 09:25:32 -04:00
Vadim Pisarevsky
9533982729
Merge pull request #5272 from avershov:opencl-vaapi-fallback
2015-09-14 11:54:20 +00:00
Alexander Alekhin
bf42b9603b
fix "unreachable code" warning
2015-09-14 13:11:12 +03:00
Maksim Shabunin
603864dba2
Warning fix
2015-09-14 12:15:56 +03:00
Alexander Alekhin
1a8d7f9587
ocl: temporary restore OpenCL tls data (ocl.cpp without fix)
2015-09-13 20:28:24 +03:00