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
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
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;
10 years ago
Dikay900
55df326589
PR #4003
10 years ago
Gleb Gladilov
2bc4486966
Added test of minMaxLoc on filling with maximums of int
10 years ago
Gleb Gladilov
344d9fd83f
Fixed minMaxLoc and test functions
10 years ago
Vitaly Tuzov
4a0152c731
Resize area result verification moved to the separate function
...
fix position of assert expected/actual parameter
10 years ago
Vitaly Tuzov
7d245e0f29
Added more resize_area tests to ensure right rounding behavior for half and quarter downscaling
10 years ago
Elena Shipunova
5de01fde53
do not proceed with removing zero-length slice
10 years ago
berak
2f7c926670
remove usage of obsolete _dataAsRows flag
10 years ago
Suleyman TURKMEN
dff9d2288b
Update window_w32.cpp
10 years ago
Alexander Alekhin
d3071db0d7
add some CommandLineParser tests
10 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.
10 years ago
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.
10 years ago
Pavel Rojtberg
08dd126f08
do not parse empty default values and improve error messages
10 years ago
Sergey Alexandrov
4094b2d7a5
Use stream argument when launching bilateral filter kernel
10 years ago
Pavel Rojtberg
f0282337e3
simplify error conditions
...
`A || !A` is `true` so write `(A && B) || !A` as `B || !A`
10 years ago
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.
10 years ago
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;
10 years ago
Renato Florentino Garcia
1a18fa1c94
Correct a typo.
10 years ago
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 .
10 years ago
Philip Salvaggio
fcf971bded
Improved documentation for connectedComponentsWithStats.
10 years ago
Maksim Shabunin
603864dba2
Warning fix
10 years ago
Ilya Lavrenov
3143f2fb50
fixed uninitialized memory writing/reading in flann
10 years ago
Ilya Lavrenov
df21a24f81
initialize padding of CvString with zeros
10 years ago
Ilya Lavrenov
ee2008abe8
fixed "Conditional jump or move depends on uninitialised value(s)" in GBD
10 years ago
Ilya Lavrenov
1d77d697ef
fixed memory leak in GBTrees
10 years ago
Ilya Lavrenov
cf0f47f589
fixed memory leak in descriptor regression tests
10 years ago
Ilya Lavrenov
f7d36bbad5
fixed memory leaks in modules/features2d/test/test_nearestneighbors.cpp
10 years ago
Ilya Lavrenov
d81a0df489
fixed memory leak caused by illegal memory access
10 years ago
Ilya Lavrenov
e7ac52d17a
fixed "Conditional jump or move depends on uninitialised value" warning
10 years ago
Ilya Lavrenov
7e26cf569f
typo
10 years ago
Ilya Lavrenov
e390c8c728
fixed typo
10 years ago
Ilya Lavrenov
5547398786
fixed memory leaks in warpAffine tests
10 years ago
Ilya Lavrenov
7eba9055e0
fixed memory leaks in floodfill tests
10 years ago
Ilya Lavrenov
2a8ef1d065
fixed memory leaks in cvtyuv tests
10 years ago
Ilya Lavrenov
0303e8067e
fixed memory leak in core ds tests
10 years ago
Ilya Lavrenov
11981c31f0
fixed valgrind warning in polylines
10 years ago
Tsukasa Sugiura
cd13b30fde
Fix LineAA in case of 4 channel
...
Fix bug when enter 4 channel image to LineAA function.
10 years ago
Roman Donchenko
ec0508269a
NearestNeighborTest: use ts->get_rng() instead of (implicit) theRNG()
...
This ensures that test data is not dependent on the order the tests are
executed in.
10 years ago
Roman Donchenko
a3b515c524
flann: fix AutotunedIndex crashing if a KDTree index is selected
...
Backport of mariusmuja/flann@f8ca6df3.
10 years ago
Roman Donchenko
e1be6d0888
Refactor a section of icvRotatingCalipers to work around a GCC bug
...
https://bugs.launchpad.net/ubuntu/+source/gcc-4.9/+bug/1474304
10 years ago
Maksim Shabunin
a275489f0a
HAL universal intrinsics tests and documentation
10 years ago
Alexey Ershov
933ad0e710
changed call to getDefault: false to true in fallback initialization
10 years ago
Alexander Alekhin
ad70ab404c
ocl: workaround for getUMat()
10 years ago
Andrey Pavlenko
cea2dafa0f
man/unmap, preventing getMat/getUMat from temp object, fix thread-unsafe code in `UMat::getMat()`
10 years ago