Vladislav Sovrasov
2c2b1405a3
Add test for Mat_::release()
8 years ago
Arnaud Brejeon
636ab095b0
Merge pull request #8535 from arnaudbrejeon:std_array
...
Add support for std::array<T, N> (#8535 )
* Add support for std::array<T, N>
* Add std::array<Mat, N> support
* Remove UMat constructor with std::array parameter
8 years ago
Julian Exner
46af07575e
Add test case for cv::Mat::forEach
...
This test case uses a matrix with more dimensions than columns. Without
the fix in
b45e784beb
this crashes with a segmentation fault, hangs or simply fails with wrong
values.
8 years ago
Addison Elliott
eb04b2bfa9
Added N-dim submat selection with vectors
...
Currently, to select a submatrix of a N-dimensional matrix, it requires
two lines of code while only one line of code is required if using a 2D
array.
I added functionality to be able to select an N-dim submatrix using a
vector list instead of a Range pointer. This allows initializer lists to
be used for a one-line selection.
8 years ago
Rostislav Vasilikhin
6d691f2e05
added test for http://code.opencv.org/issues/1918
8 years ago
Rostislav Vasilikhin
9840825743
added test checking http://code.opencv.org/issues/4050
8 years ago
Rostislav Vasilikhin
0a3a2df433
fixed U non-orthogonality in SVD ( http://code.opencv.org/issues/3801 )
8 years ago
Ilya Lavrenov
6c42ad5b90
fixed typo
8 years ago
Ilya Lavrenov
87ae4e0564
fixed clone of empty matrix
8 years ago
Ilya Lavrenov
957bf1452c
added some tests for push_back
8 years ago
Ilya Lavrenov
0af3947468
added note about cv::reduce output type for MIN/MAX
8 years ago
Alexander Alekhin
5f269d08b4
bigdata: add test, resolve split/merge issue
9 years ago
Alexander Alekhin
96f5a930f4
test: regression 5991
9 years ago
Vitaliy Lyudvichenko
85cc11e3b2
Changed behaviour of Mat/UMat::reshape() to accept n-dim shapes
9 years ago
Alexander Alekhin
a6f46d7bb1
issue 4457
10 years ago
Alexander Alekhin
885114ed2c
fix copyTo memory corruption, but the main problem is still here
10 years ago
Alexander Alekhin
30a5a9ed34
test vector processing
10 years ago
Youssef Kashef
790ef21a60
add unit test around Mat::push_back()
...
add template specialization Mat::push_back() for MatExpr paramters
extend push_back MatExpr to mat in unit test
cast to object instead of reference
test with multi-row MatExpr input
10 years ago
Alexander Alekhin
9394486147
fix issue 3891
10 years ago
Vadim Pisarevsky
66eb270cf7
significantly reduced sparse matrix footprint:
...
http://code.opencv.org/issues/2206 ,
http://code.opencv.org/issues/2924
10 years ago
Vadim Pisarevsky
2ec92ba440
added test for http://code.opencv.org/issues/1918
10 years ago
Vadim Pisarevsky
79ac0d05ce
added test checking http://code.opencv.org/issues/4050
10 years ago
Vadim Pisarevsky
9fbd1d68ad
refactored div & pow funcs; added tests for special cases in pow() function.
...
fixed http://code.opencv.org/issues/3935
possibly fixed http://code.opencv.org/issues/3594
10 years ago
Vadim Pisarevsky
7918267d02
fixed U non-orthogonality in SVD ( http://code.opencv.org/issues/3801 )
10 years ago
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
10 years ago
berak
7b160fa3cb
added missing impl for multi-dim Mat::ones, Mat::zeros (issue #3756 )
11 years ago
Kazuki Matsuda
fa292c3d8d
Implimentation "cv::Mat::forEach"
...
I propose forEach method for cv::Mat and cv::Mat_.
This is solution for the overhead of MatIterator_<_Tp>.
I runs a test that micro opecode runs all over the pixel of cv::Mat_<cv::Point3_<uint8_t>>.
And this implementation 40% faster than the simple pointer, 80% faster than iterator.
With OpenMP, 70% faster than simple pointer, 95% faster than iterator (Core i7 920).
Above all, code is more readable.
My test code is here.
https://gist.github.com/kazuki-ma/8285876
Thanks.
11 years ago
Ilya Lavrenov
aa5326c231
cv::norm -> cvtest::norm in tests
...
Conflicts:
modules/core/src/stat.cpp
11 years ago
Ilya Lavrenov
37789f015a
deleted excess semicolons, commas
11 years ago
Roman Donchenko
5f8d8c0069
Added a test for matrix-to-vector copy and convert.
11 years ago
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
11 years ago
Roman Donchenko
8200a95ced
Boring changes - core.
...
This and several following commits contain the "boring" changes required
to support the new Ptr. These are changes like:
* new T -> makePtr<T> or .reset(new T) or Ptr<T>(new T)
(depending on the situation)
* p.empty() -> !p
* delete_obj -> DefaultDeleter::operator()
and similar changes that are numerous, but primitive.
11 years ago
Mathieu Barnachon
ff85575b28
Adding read/write functions to PCA class. Update PCA test.
11 years ago
Andrey Kamaev
940eedfb27
Finalize core headers reorganization
12 years ago
Andrey Kamaev
715fa3303e
Move cv::Mat out of core.hpp
12 years ago
Andrey Kamaev
d586f4a103
Fix x64 build warnings
12 years ago
Andrey Kamaev
ae5661d5dc
Fix random failures of Split and Merge tests
12 years ago
Andrey Kamaev
0a4ed2bc01
Fix Windows build warnings
12 years ago
Andrey Kamaev
15076f9232
Fix implementation of PCA overload with retained variance parameter
12 years ago
Maria Dimashova
78dd1893bb
added tests for cv::merge, cv::split, cv::phase
12 years ago
OpenCV Buildbot
81f826db2b
Normalize line endings and whitespace
12 years ago
OpenCV Buildbot
04384a71e4
Normalize line endings and whitespace
12 years ago
Kevin
93155c6ae0
Overloaded PCA constructor and ( ) operator to implement Feature#2287 - PCA that retains a specified amount of variance from the data. A sample was added to samples/cpp to demonstrate the new functionality. Docs and Tests were also updated
12 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Andrey Kamaev
f2d3b9b4a1
Warning fixes continued
13 years ago
Andrey Kamaev
e1c4fd9e1f
Merged the trunk r8345:8376
13 years ago
Andrey Kamaev
5f9e295adf
Added test and workaround for #1942
13 years ago
Vadim Pisarevsky
2fd1e2ea57
merged all the latest changes from 2.4 to trunk
13 years ago
Alexander Shishkov
7cd42b8b6a
modified reduce test
13 years ago
Andrey Kamaev
bfaae7dd93
Input/Output arrays are updated to support fixed-type and fixed-size semantic for all compatible types
13 years ago