Aman Verma
b0209ad7f7
Fix for #5495 : add setTrackbarMin
9 years ago
spmallick
066c775321
Update window_QT.h
...
QPushButton was included twice.
9 years ago
AlexanderStohr
0098c4b571
fix VS2010 error with type mismatch due to volatile qualifier
9 years ago
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
9 years ago
Pavel Vlasov
40b2dfae09
Fix for filter2D and IPP < 900
9 years ago
Aman Verma
411be4fde8
Fix for #5481 , removing repeated/useless assignment in contours.cpp
9 years ago
Alexander Alekhin
ddd91bcebf
android: add targetSdkVersion="21"
9 years ago
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;
9 years ago
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).
9 years ago
Alexander Alekhin
dbcc55a196
cleanup <build>/src|gen folders to remove stalled/unused Java files
9 years ago
Andrey Pavlenko
23fea91e84
minor fixes
9 years ago
Andrey Pavlenko
15db8243ef
refactored; added Camera2, notify callbacks, front/back maxCamera sizes; disable new stuff if target API < 21
9 years ago
berak
f2decec3e8
fix zero length std::string in putText()
9 years ago
Sergiu Dotenco
514b202d7b
highgui: CV_WINDOW_AUTOSIZE does not resize with GTK3
9 years ago
Aman Verma
dff7037156
Adding fix for issue 5451 "putText fails with empty std::string"
9 years ago
Sergiu Dotenco
9da4fe4b02
videoio: fixed segmentation fault at frame size change
9 years ago
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
9 years ago
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.
9 years ago
Alexander Alekhin
50a0a167f0
fix ffmpeg frame creation ( fix #5439 )
9 years ago
Vladislav Vinogradov
1bf811c3f1
fix cuda::normalize (dtype < 0) case
9 years ago
Pavel Vlasov
6a0d3b06f2
IPPInitSingelton initialization guards;
9 years ago
Philipp Hasper
05846438e3
Typo in CameraBridgeViewBase.java
...
Corrected typo and unused imports
9 years ago
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;
9 years ago
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
9 years ago
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;
9 years ago
Suleyman TURKMEN
7c226ed7a2
adding new flags to imread to load image reduced
9 years ago
Balint Cristian
fdbed4a473
Speedup AGAST nonmax-suppression.
9 years ago
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;
9 years ago
Pavel Vlasov
2177c7c5a8
Some IPP functions were encapsulated;
...
Minor changes to IPP implementations;
9 years ago
Pavel Rojtberg
46ada3886f
fix wrong parsing of values containing '='
...
fixes #5074
9 years ago
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
9 years ago
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.
9 years ago
Pavel Rojtberg
a388806555
enable additional CommandLineParser tests
9 years ago
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.
9 years ago
Alexander Alekhin
eb2e061e3f
fix Android camera datarace (mCameraFrameReady)
9 years ago
Alexander Alekhin
d430e802f2
cmdparser: allow empty strings
9 years ago
Alexander Alekhin
12f01b778b
fix perf tests
9 years ago
Alexander Alekhin
be507b20cd
fix perf tests
9 years ago
Pavel Vlasov
33e659786f
Fix for cmp16s condition during IPP compare type convert;
9 years ago
Dikay900
55df326589
PR #4003
9 years ago
Gleb Gladilov
2bc4486966
Added test of minMaxLoc on filling with maximums of int
9 years ago
Gleb Gladilov
344d9fd83f
Fixed minMaxLoc and test functions
9 years ago
Vitaly Tuzov
4a0152c731
Resize area result verification moved to the separate function
...
fix position of assert expected/actual parameter
9 years ago
Vitaly Tuzov
7d245e0f29
Added more resize_area tests to ensure right rounding behavior for half and quarter downscaling
9 years ago
Elena Shipunova
5de01fde53
do not proceed with removing zero-length slice
9 years ago
berak
2f7c926670
remove usage of obsolete _dataAsRows flag
9 years ago
Suleyman TURKMEN
dff9d2288b
Update window_w32.cpp
9 years ago
Alexander Alekhin
d3071db0d7
add some CommandLineParser tests
9 years ago
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;
}
}
```
9 years ago
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.
9 years ago