Commit Graph

543 Commits

Author SHA1 Message Date
Andrey Kamaev
9941cf7c95 Fixed MSCV2005 build with TBB enabled. 2012-03-27 23:17:53 +00:00
Andrey Kamaev
8eb788c6e7 #842 #include <sys/mman.h> is moved from public headers closer to usage 2012-03-27 21:29:58 +00:00
Vadim Pisarevsky
b6ab96ae0b added special notice about the missing saturation in 32s case (ticket #1529) 2012-03-27 14:58:46 +00:00
Vadim Pisarevsky
af8e5696f0 fixed a few compile problems in SparseMat code; fixed iteration over an empty sparse matrix (ticket #1587) 2012-03-27 14:43:24 +00:00
Vladislav Vinogradov
eaea6782d5 added more assertion on device features to gpu functions and tests
moved TargerArchs and DeviceInfo to core
fixed bug in GpuMat::copy with mask (incorrect index in function tab)
2012-03-27 10:34:30 +00:00
Vadim Pisarevsky
903c05db1a added another contour perimeter test and fixed bug #216 2012-03-26 17:00:48 +00:00
Vadim Pisarevsky
0186bd8099 split big assertion in cv::split by parts; patch #829 by Shlomi Fish 2012-03-26 13:32:32 +00:00
Andrey Kamaev
54a4ff033a Fixed #1711 2012-03-26 13:17:18 +00:00
Andrey Kamaev
bfaae7dd93 Input/Output arrays are updated to support fixed-type and fixed-size semantic for all compatible types 2012-03-26 08:18:53 +00:00
Andrey Kamaev
c6e9e9418a More Tegra versions of convertTo 2012-03-22 05:27:30 +00:00
Andrey Kamaev
41158ab553 Fixed perf test for convertTo 2012-03-21 16:20:44 +00:00
Leonid Beynenson
295a9815e8 Removed unrequired type conversions in the function clipLine. 2012-03-20 12:14:41 +00:00
Leonid Beynenson
a659832df1 Made the function "clipLine" to work with int64 values instead of int --- otherwise sometimes it returned wrong points coordinates, and it caused the function "line" to crash. 2012-03-20 11:40:05 +00:00
Vadim Pisarevsky
3228599a35 fixed some more GCC warnings 2012-03-19 11:21:01 +00:00
Alexander Kapustin
c5cc79d4d5 Tegra optimized functions cvt32finttype were temporary deleted due correctness bug 2012-03-19 11:06:16 +00:00
Andrey Pavlenko
010e73010c fixing compilation on Windows (M_PI was undefined via math.h) 2012-03-19 06:17:04 +00:00
Alexander Kapustin
46248851bf 30 functions of cvtTIPES_func were Neon Optimized 2012-03-18 08:58:24 +00:00
Vadim Pisarevsky
d60623279c switched to non-constant references in Algorithm::addParam, which is more safe. 2012-03-17 09:50:47 +00:00
Vadim Pisarevsky
846e37ded5 fixed many warnings from GCC 4.6.1 2012-03-17 09:22:31 +00:00
Vadim Pisarevsky
4985c1b632 fixed hundreds of warnings from MSVC 2010. 2012-03-16 21:21:04 +00:00
Marina Kolpakova
0bc5140b17 allocate CPU memory if Tegra GPU allocator failed. 2012-03-16 14:11:39 +00:00
Alexander Shishkov
c9489a8bf3 fixed #1643 2012-03-16 09:50:20 +00:00
Andrey Pavlenko
a5ae52fb0c updating func-s arg names according to ref. man. 2012-03-15 15:21:33 +00:00
Andrey Kamaev
b538210804 Fixed Linux build with OpenGL but without CUDA 2012-03-15 15:08:21 +00:00
Vadim Pisarevsky
957e80abbd lot's of changes; nonfree & photo modules added; SIFT & SURF -> nonfree module; Inpainting -> photo; refactored features2d (ORB is still failing tests), optimized brute-force matcher and made it non-template. 2012-03-15 14:36:01 +00:00
Vladislav Vinogradov
ade7394e77 refactored and fixed bugs in gpu warp functions (remap, resize, warpAffine, warpPerspective)
wrote more complicated tests for them
implemented own version of warpAffine and warpPerspective for different border interpolation types
refactored some gpu tests
2012-03-14 15:54:17 +00:00
Alexander Shishkov
d68311b9eb fixed #1554 2012-03-13 12:24:05 +00:00
Andrey Kamaev
805d88a8d2 Tegra version of cv::subtract 2012-03-11 14:28:34 +00:00
Alexander Kapustin
6652b4ce85 Functions cvt8u16s_func, cvt32s16s_func, cvt32f16s_func were Neon Optimized 2012-03-11 12:40:24 +00:00
Alexander Shishkov
5c10bd5b79 fixed #1477 2012-03-04 22:22:30 +00:00
Alexander Shishkov
e64450ae89 fixed #1466 2012-03-04 21:49:38 +00:00
Andrey Kamaev
18dbe6b3e5 cmake scripts are updated to prefer includes from the OpenCV source tree 2012-03-03 15:49:23 +00:00
Alexander Shishkov
1956f32aac fixed #1289 2012-03-02 20:19:32 +00:00
Alexander Shishkov
f5b8af3254 applied patch from #1637 for fixing problems with Intel(tm) compiler 2012-03-02 12:24:03 +00:00
Ivan Korolev
f1f045858f Updated a perftest for convertTo 2012-02-28 04:46:48 +00:00
Vladislav Vinogradov
5c0f2f8ea1 reused buffer in GlTexture::copyFrom(GpuMat) 2012-02-27 13:22:41 +00:00
Andrey Kamaev
8141a5026c Refactored cmake for 3rdparty libs 2012-02-24 13:53:22 +00:00
Andrey Kamaev
a8f0c93379 Modified zlib search. Use system zlib on Android by default 2012-02-24 12:23:34 +00:00
Patrick Mihelich
b6c2c61ce1 Check for SSSE3 in core/internal.hpp. Define CV_SSSE3, and if enabled include tmmintrin.h. 2012-02-23 21:41:22 +00:00
Vladislav Vinogradov
2d30480982 created wrappers for new NPP functions
removed void integral(const GpuMat& src, GpuMat& sum, GpuMat& sqsum, Stream& stream) - it fails with NPP_NOT_IMPLEMENTED error
updated docs, accuracy and performance tests
2012-02-22 10:00:53 +00:00
Andrey Kamaev
9a88aea697 Eliminated all compiler warnings on Android 2012-02-21 14:07:44 +00:00
Andrey Kamaev
691d392312 Fixes: Android NDK r7b, android build warnings, build with Visual Studio 2005. 2012-02-16 20:29:35 +00:00
Alexey Spizhevoy
5c459aa815 Added the GPU version of the Farneback's optical flow 2012-02-16 11:23:51 +00:00
Vadim Pisarevsky
bb93e3ab8a added color canny; improved Algorithm class implementation 2012-02-15 21:10:11 +00:00
Vadim Pisarevsky
716a5d04ab fixed a few problems detected by Xcode 4.2.1 2012-02-15 19:48:04 +00:00
Ivan Korolev
b96a556fff Created a perftest for convertTo, updated perftests for arithmetical operations 2012-02-15 10:24:47 +00:00
Anatoly Baksheev
84db4eb6fa fixed ~200 warnings for windows
minor build system changes (now cuda code in opencv_core is compiled using CUDA_ARCH* cmake variables)
2012-02-14 10:22:34 +00:00
Victoria Zhislina
3e94f77215 2012-02-10 13:47:53 +00:00
Andrey Morozov
ef8c263500 fixed compile under linux 2012-02-10 12:46:34 +00:00
Victoria Zhislina
fbdb93ec79 CV_ENABLE_UNROLLED 2012-02-10 06:05:04 +00:00
Alexander Reshetnikov
6ead21b1a2 added licenses to some tests; updated new highgui tests 2012-02-09 10:51:53 +00:00
Alexander Shishkov
ec12608f5f fixed #1590 2012-02-06 08:38:03 +00:00
Andrey Kamaev
690bf07a7f Fixing build with CUDA enabled 2012-02-03 11:54:16 +00:00
Andrey Kamaev
d749052d9d Fixing build with Eigen enabled 2012-02-03 11:37:14 +00:00
Andrey Kamaev
984eb99428 Global CMake reorganization:
[~] Automatically tracked dependencies between modules
 [+] Support for optional module dependencies
 [+] Options to choose modules to build
 [~] Removed hardcoded modules lists from OpenCVConfig.cmake, opencv.pc and OpenCV.mk
 [+] Added COMPONENTS support for FIND_PACKAGE(OpenCV)
 [~] haartraining and traincascade are moved outside of modules folder since they aren't the modules
2012-02-03 11:26:49 +00:00
Vadim Pisarevsky
dbfa8408d2 fixed potential bug in cv::eigen() 2012-01-26 19:41:59 +00:00
Alexander Reshetnikov
951a3d6c7a fixed a bug which caused incorrect work of function eigen() 2012-01-25 16:01:59 +00:00
Alexander Reshetnikov
07fa62f0c4 some design code changes in new tests 2012-01-25 13:41:48 +00:00
Andrey Kamaev
c86c6a028c Updating opencv module definition in cmake (continued) 2012-01-25 13:12:11 +00:00
Vadim Pisarevsky
676f19233a added the abstract cv::Algorithm class; low-level exp & fastAtan etc. functions for more efficient SIFT implementation; fixed bug #1521 2012-01-24 20:14:07 +00:00
Ivan Korolev
88896166cf Corrected perf tests: merge, split. 2012-01-23 07:47:44 +00:00
Vladislav Vinogradov
6c1de21a76 fixed bug in gpu::transformSmart with mask 2012-01-22 13:25:45 +00:00
Ivan Korolev
754891ec96 Created perf tests for cvtColor_toBGR565, cvtColor_C3toC4_and_back, split, merge. 2012-01-20 13:19:49 +00:00
Alexander Reshetnikov
3b92e9518e Several updates of code in countNonZero test 2012-01-19 18:29:32 +00:00
Alexander Reshetnikov
b5bbce5b54 Completed countNonZero test (found that it's already exist, so new implementation isn't used now). 2012-01-19 16:30:35 +00:00
Andrey Kamaev
f8bd4252db Tegra optimization for split, merge and some color conversions 2012-01-19 11:52:25 +00:00
Andrey Pavlenko
9c1ec1ce84 fixing compilation; but some code lines look weird,
e.g. "n += abs(sign(value))"  or  "n += sign(cv::norm(value) > eps_64"
2012-01-19 05:22:51 +00:00
Alexander Reshetnikov
a3d2020db0 countNonZero & boundingRect tests - added first versions 2012-01-19 00:22:22 +00:00
Vladislav Vinogradov
cdae0743ab fix OpenGL render functions
fix createOpticalFlowNeedleMap
2012-01-18 08:27:08 +00:00
Andrey Kamaev
c326de43c1 More natural sorting of MatType constants in performance reports. 2012-01-16 07:04:26 +00:00
Vladislav Vinogradov
a25b027ef7 updated gpu optical_flow sample 2012-01-11 13:05:03 +00:00
Vladislav Vinogradov
af59a75ffc fixed bug with submatrix in some gpu functions
update gpu tests
2012-01-10 11:11:58 +00:00
Alexander Reshetnikov
2ce6dd6870 eigen tests for 1*1 matrix were temporarily removed from common list 2012-01-10 08:24:10 +00:00
Alexander Shishkov
48f3db9787 fixed compilation error on Win 2012-01-07 09:31:57 +00:00
Alexander Reshetnikov
c53313b06f Complex eigen test was modified.
Fixed some bugs with checking for CV_64FC1 type.
Added eigen tests for 1*1 source matrix.
2012-01-03 19:06:56 +00:00
Andrey Kamaev
8cab65c173 Started top-level CMakeLists.txt file reorganization: cmake scripts are moved to separate folder; refactored BUILD_*, INSTALL_*, ENABLE_*, USE_*, WITH_* options. 2012-01-03 13:48:12 +00:00
Andrey Kamaev
22d6827189 Fixed dot product test 2011-12-30 10:42:07 +00:00
Andrey Kamaev
65f5343ed5 Refactored performance tests. TEST_CYCLE macro is renamed to TEST_CYCLE_N; SIMPLE_TEST_CYCLE is renamed to TEST_CYCLE; from now 100 iterations are default for performance tests 2011-12-29 16:46:16 +00:00
Kirill Kornyakov
7fafa3b00a Optimized version of DotProd8u added 2011-12-29 07:51:01 +00:00
Kirill Kornyakov
a06dcc9e67 Optimized version of sqsum8u added 2011-12-29 07:49:22 +00:00
Andrey Kamaev
58b980ea88 Perf testing: added ERROR_RELATIVE mode to SANITY_CHECK 2011-12-28 14:59:09 +00:00
Andrey Pavlenko
fb051f78de adjusting custom mat allocator when mat type is changed 2011-12-28 14:47:21 +00:00
Kirill Kornyakov
70da780c8e added perf test for dot product (8U, 32S, 32F) 2011-12-28 13:29:27 +00:00
Andrey Kamaev
f937d68d60 Fixed build for x64 with sse2 disabled; several improvements in performance testing framework; enabled SANITY_CHECK() for performance tests 2011-12-27 16:37:24 +00:00
Vadim Pisarevsky
e7946d98a9 fixed SSE-optimized cmp_8u (ticket #1530) 2011-12-27 16:07:26 +00:00
Vadim Pisarevsky
dec0af8d79 implemented invert(A, B, DECOMP_EIG) 2011-12-27 15:56:17 +00:00
Andrey Kamaev
5ca24d2ead Added perf tests for cv::compare 2011-12-26 11:30:56 +00:00
Alexander Reshetnikov
4cfc9dc67e fixed bag in the checking size of matrix and vector for eigen test; all eigen test execution was checked: it works correctly; added first version of homography test for C++ interface 2011-12-23 18:36:04 +00:00
Andrey Kamaev
bdfd4c3062 Refactored Tegra related macro usage 2011-12-22 12:51:01 +00:00
Kirill Kornyakov
893f75444d Optimized version of ReduceR functions and one ReduceC function added
Attention! Optimized ReduceC function produced the bug
2011-12-22 06:22:16 +00:00
Alexander Reshetnikov
1767049f30 Fixed some errors in test data for eigen. Added test using lowindex & highindex in eigen function. 2011-12-21 19:37:13 +00:00
Vladislav Vinogradov
d13a6b74b2 Fixed bug with submatrix in device::transform 2011-12-21 05:59:14 +00:00
Alexander Reshetnikov
dab3586792 first version of Eigen test for C++ interface 2011-12-20 18:59:55 +00:00
Andrey Kamaev
ce81868ba4 Fixed cv::norm accuracy test allowed error 2011-12-19 15:15:40 +00:00
Andrey Kamaev
0744092b21 Fixed build with gcc compiler; couple minor improvements in perf testing framework 2011-12-16 04:42:34 +00:00
Vadim Pisarevsky
eef900e46a optimized cmp and cvtscale(16s->16s) using SSE2 (thanks to Victoria) 2011-12-15 21:15:51 +00:00
Vadim Pisarevsky
7795cd200f added description of minMaxIdx 2011-12-09 12:13:23 +00:00
Vadim Pisarevsky
5db9e90d66 fixed yet another bug in SVD. Now Core_SVD test passes 2011-12-08 11:10:56 +00:00
Vadim Pisarevsky
72c23e7bbb fixed most of test_core failures (except for SVD) 2011-12-05 22:58:27 +00:00
Vadim Pisarevsky
77dda061a7 fixed fastAtan2 and cardToPolar accuracy (thanks to Andrey Kamaev) 2011-12-04 20:10:35 +00:00
Vadim Pisarevsky
8989e0b07e fixed single-mat input/output in mixChannels() (ticket #1446) 2011-12-03 20:19:33 +00:00
Vadim Pisarevsky
3ae22014a0 fixed description of inRange/inRangeS (ticket #1500) 2011-12-03 20:06:57 +00:00
Vadim Pisarevsky
5353b97605 fixed single-precision SVD accuracy on some very ill-conditioned matrices (ticket #1448) 2011-12-03 19:49:44 +00:00
Vadim Pisarevsky
b20871ce2d fixed bug in Matx::inv(..., DECOMP_SVD) (ticket #1444) 2011-12-03 18:50:11 +00:00
Andrey Kamaev
d6ef0378a2 Reverted invalid cv::reduce optimization 2011-12-01 12:56:29 +00:00
Kirill Kornyakov
ab2ae86e86 Optimized version of Reduce functions added 2011-12-01 11:07:25 +00:00
Vladislav Vinogradov
a2697b18e2 minor fix 2011-11-30 07:38:45 +00:00
Vladislav Vinogradov
fa93b724ee minor 2011-11-30 07:19:09 +00:00
Vladislav Vinogradov
bd4239be7b moved OpenGL wrappers to separate header
added GlBuffer, GlTexture and GpuMat support to InputArray
replaced addTextOpenGl function by render + GlFont
2011-11-30 06:20:29 +00:00
Andrey Pavlenko
467f936459 Adding optimized Mat Allocator 2011-11-25 15:39:24 +00:00
Vladislav Vinogradov
b33e23138e minor 2011-11-23 13:26:24 +00:00
Kirill Kornyakov
d168c2b902 Optimized version of CountNonZero functions added 2011-11-23 10:16:00 +00:00
Vladislav Vinogradov
d7450c2449 added GlArrays class and pointCloudShow function 2011-11-23 10:05:24 +00:00
Vadim Pisarevsky
4acc93df69 removed non-ascii characters (ticket #1468) 2011-11-22 17:07:33 +00:00
Vladislav Vinogradov
e01f04885e minor 2011-11-21 13:34:03 +00:00
Vladislav Vinogradov
c2783af781 added OpenGL support to highgui under WIN32 2011-11-21 11:58:52 +00:00
Kirill Kornyakov
03002fff54 Optimized version of 32F Norm function demands bigger MaxErr value, because it calculates norm in floats instead of double. 2011-11-21 11:48:56 +00:00
Kirill Kornyakov
9fb9d99bb9 Optimized version of Norm and NormDiff functions with f32 type added 2011-11-21 05:59:49 +00:00
Vladislav Vinogradov
2695039a79 moved GpuMat's operations implementation to core module 2011-11-14 14:34:36 +00:00
Kirill Kornyakov
330357f7dd Optimized version of NormDiff functions added 2011-11-11 11:23:44 +00:00
Vladislav Vinogradov
d305640749 minor fix 2011-11-09 13:18:23 +00:00
Vladislav Vinogradov
fcfa72081e moved GpuMat and DevMem2D to core module, some code refactoring 2011-11-09 13:13:52 +00:00
Vadim Pisarevsky
2e9f5c434b added improved ORB implementation, convex-convex polygon intersection, eigen2x2 low-level function ... 2011-11-08 12:01:49 +00:00
Kirill Kornyakov
5a702d7d9d Optimized version of Norm functions added 2011-11-08 07:39:35 +00:00
Andrey Kamaev
664cd5460e Tegra-optimized cv::compare 2011-11-07 06:29:34 +00:00
Andrey Kamaev
a612fa1520 Performance testing: added option to get list of all values for CV_ENUM; added perf test for cv::Sobel 2011-11-01 15:41:43 +00:00
Kirill Kornyakov
e37930b649 Optimized version of Sum functions added 2011-10-31 07:04:52 +00:00
Andrey Kamaev
d7ff92439d Better NEON Hamming distance 2011-10-26 13:04:53 +00:00
Kirill Kornyakov
177618984d dft perf test minor fix 2011-10-21 08:28:33 +00:00
Kirill Kornyakov
f2b72928cc created perf test for DFT 2011-10-20 07:32:12 +00:00
Vladislav Vinogradov
40ee754e28 added WITH_CUFFT and WITH_CUBLAS flags to cmake scripts
fixed gpu module error reporting
added asynchronous version of some functions
2011-10-19 09:53:22 +00:00
Anatoly Baksheev
7106513b8a warning under vs2008 2011-10-16 13:45:11 +00:00
Andrey Kamaev
89be84a396 Fixed Linux build 2011-10-12 06:01:54 +00:00
Vadim Pisarevsky
b74116e694 unified norm computing; added generalized Hamming distance 2011-10-11 15:13:53 +00:00
Andrey Kamaev
22bd127365 Added performance tests for cv:phase and cv::SURF 2011-10-07 13:55:26 +00:00
Andrey Kamaev
9ae8443d37 Tegra optimized FastAtan2 2011-10-07 08:07:25 +00:00
Alexander Shishkov
b71bfef702 fixed bug with using not built-in ZLIB library 2011-10-03 17:10:18 +00:00
Andrey Morozov
bee68e519a fixed several bugs in CommandLineParser 2011-10-03 11:44:31 +00:00
Andrey Morozov
bf636e40bf improved print help in CommandLineParser 2011-10-03 11:17:36 +00:00
Vadim Pisarevsky
60ebe2003f fixed multiple warnings on Windows. fixed bug #1368 2011-10-03 11:00:28 +00:00
Anatoly Baksheev
923f771cfc warnings
optical flow gpu cosmetics
2011-10-03 09:26:00 +00:00
Andrey Kamaev
20af242a03 Updated command line arguments in performance tests 2011-10-03 07:43:57 +00:00
Andrey Morozov
b7a3d36729 fixed several bugs in CommandLineParser 2011-10-01 10:50:50 +00:00
Andrey Morozov
135b9280f1 improved print help in CommandLineParser 2011-10-01 10:27:19 +00:00
Andrey Morozov
97d54612c7 fix print help 2011-09-30 14:49:07 +00:00
Andrey Morozov
d449b0492f fixed several bugs in CommandLineParser 2011-09-30 14:31:32 +00:00
Andrey Morozov
3d3efe7c07 fixed sub algorithm in CommandLineParser 2011-09-30 12:45:57 +00:00
Andrey Kamaev
5d363e67a0 Tegra optimized cvRound; perf test for cvRound; fixed perf test for stitching 2011-09-29 12:11:18 +00:00
Leonid Beynenson
fcaa587b67 CMake scripts changed a bit: added more accurate variant of the Threading Framework support (it is a lightweight analogue of TBB for ARM-s). 2011-09-27 16:25:13 +00:00
Vadim Pisarevsky
a1d6671451 fixed bug #1370 2011-09-22 09:58:58 +00:00