Commit Graph

365 Commits

Author SHA1 Message Date
Vladislav Vinogradov
ee104c27d8 added gpu implementation of constant space belief propagation stereo matching.
some refactoring of StereoBeliefPropagation.
2010-08-12 12:15:37 +00:00
Andrey Morozov
53057afcb8 minor fix 2010-08-12 10:59:51 +00:00
Andrey Morozov
b5e3cb0f9b minor fix 2010-08-12 08:06:17 +00:00
Andrey Morozov
c27397dba1 minor fix 2010-08-12 07:57:53 +00:00
Andrey Morozov
789b02ad76 added choise in compute capability 2010-08-11 15:52:55 +00:00
Anatoly Baksheev
2a385be0ef meanShiftFilteringGPU: performance and bug with type conversions 2010-08-10 12:18:47 +00:00
Anatoly Baksheev
d1fc3e6b5a cv::gpu::CudaStream -> cv::gpu::Stream
some refactoring
added gpu module to compilation
2010-08-10 09:44:50 +00:00
Maria Dimashova
c56085917b added todo for descriptors evaluation 2010-08-09 16:33:44 +00:00
Maria Dimashova
82a98521ed fixed SVM 2010-08-09 15:43:06 +00:00
Maria Dimashova
a2950d5d44 fixed texture binding and warning on linux 2010-08-09 11:12:58 +00:00
Anatoly Baksheev
9ee159462d meanShiftFiltering added (by masha)
get free memory function
2010-08-06 17:02:06 +00:00
Vadim Pisarevsky
bc4532bd07 added initWideAngleProjMap() function 2010-08-06 10:20:49 +00:00
Vadim Pisarevsky
26c6b955a8 updated ffmpeg to 0.6.0 2010-08-05 17:24:41 +00:00
Maria Dimashova
4395bad911 fixed linker errors on Win and some warnings 2010-08-05 13:29:43 +00:00
Maria Dimashova
121e51d35b replaced detector/descriptor evaluation functions from test to features2d; modified VectorDescriptorMatch constructor; removed commented calonder descriptor implementation 2010-08-05 12:19:26 +00:00
Ilya Lysenkov
20e407b235 Fixed bugs in BruteForceMatcher and its specialization 2010-08-04 08:26:30 +00:00
Maria Dimashova
4e60decad3 added GridAdaptedFeatureDetector, PyramidAdaptedFeatureDetector and funcs to draw keypoints and matches 2010-08-03 16:28:52 +00:00
Yannick Verdie
2505e7e267 Qt: disable KEEP_RATIO with OpenGL to avoid a blinking bug
Qt: Now OpenGL rendering is ok
2010-08-02 17:10:43 +00:00
Vladislav Vinogradov
34565c281a added support of 3 channels images to StereoBeliefPropagation_GPU 2010-08-02 14:26:07 +00:00
Andrey Morozov
6da2573b77 minor fix 2010-08-02 13:56:04 +00:00
Andrey Morozov
8c77e5faad optimized gpumat::setTo(), get rid of division operation 2010-08-02 13:10:21 +00:00
Vadim Pisarevsky
3510b4c81e fixed "undefined cvCreateCameraCapture_V4L" linker errors on some linux distros (thanks to miguelinux for the patch) 2010-08-02 12:55:20 +00:00
Vladislav Vinogradov
788ac96f8b added optimized belief propagation implementation (used short for messages) 2010-08-02 11:10:29 +00:00
Yannick Verdie
d6bbaea28a Qt imgRegion bug fixed
Qt compilation pb with OpenGL flags fixed
2010-08-02 10:58:25 +00:00
James Bowman
5b7b6d9195 #509, patch for GetTrackbarPos 2010-08-01 16:18:59 +00:00
Yannick Verdie
e8aad75446 Fixed bugs on Qt 2010-07-31 18:04:28 +00:00
Maria Dimashova
f6c8e237f0 fixed compile error on VS2008 2010-07-30 14:36:04 +00:00
Maria Dimashova
5e84ab0222 replaced KeyPoint::overlap implementation by faster version (thanks to Suat Gedikli) 2010-07-30 14:21:55 +00:00
Yannick Verdie
8f8aba9c88 fixed Qt bug 2010-07-30 14:13:20 +00:00
Vadim Pisarevsky
3bd00085f7 made MatConstIterator STL compliant 2010-07-29 13:52:22 +00:00
Vadim Pisarevsky
808190c02e fixed LineIterator constructor in order to make LineIterator::pos() work properly (#408) 2010-07-29 13:26:01 +00:00
Vadim Pisarevsky
686e28eeee fixed roi handling in HOGDescriptor::computeGradient (ticket #295). 2010-07-29 13:06:34 +00:00
Vadim Pisarevsky
6da8d7cb52 temporarily disable 16-bit input in cap_dc1394_v2.cpp (ticket #296). thanks to sebastians for the patch! 2010-07-29 12:44:23 +00:00
Vadim Pisarevsky
62fa7f6620 avoid crash in cvCalcEMD() when one of the histograms has only one non-zero element (ticket #396). Thanks to nburrus for the patch 2010-07-29 11:00:52 +00:00
Vadim Pisarevsky
0faa75da11 inserted missing std:: (ticket #333). Thanks to trisk for the patch! 2010-07-29 10:55:09 +00:00
Andrey Morozov
97254a7b45 minor fix 2010-07-29 10:28:10 +00:00
Anatoly Baksheev
9ac1741555 speckle filtering added 2010-07-29 08:50:19 +00:00
Vladislav Vinogradov
63fed0f831 changed StereoBeliefPropagation_GPU output disparity default type to CV_32S 2010-07-29 08:47:06 +00:00
Maria Dimashova
7083f0f815 fixed compile error when HAVE_EIGEN2 (#500) 2010-07-29 08:24:51 +00:00
Vladislav Vinogradov
84f51332dd implemented asynchronous call for StereoBeliefPropagation_GPU 2010-07-29 07:20:35 +00:00
Vadim Pisarevsky
70a2c8f50a added conversion operators Mat->vector<T>, Mat->Vec<T,n>, Mat->Matx<T,m,n> 2010-07-29 06:51:19 +00:00
Yannick Verdie
8f33e89d46 working on OpenGL for Windows 2010-07-28 21:55:55 +00:00
Yannick Verdie
7ce53adac9 Qt:
Fixed bug with exclusive buttons
Fixed memory leaks
2010-07-28 20:59:41 +00:00
Maria Dimashova
cba926a428 added c++ interface for cvPyrMeanShiftFiltering; added sample on meanshift segmentation 2010-07-28 16:41:12 +00:00
Vladislav Vinogradov
5bd128fac8 added gpu belief propagation stereo matching 2010-07-28 14:46:44 +00:00
Anatoly Baksheev
dc69cf3ab4 minor fixes 2010-07-28 13:38:37 +00:00
Maria Dimashova
cdbf1f9ef5 fixed compile errors on VS 2008 2010-07-28 12:14:21 +00:00
Maria Dimashova
fb2a4a8345 added method to compute overlap for KeyPoint pair 2010-07-28 10:47:48 +00:00
Vadim Pisarevsky
4aee2e3045 fixed incorrect assert in RGB2Lab_b constructor 2010-07-28 07:59:25 +00:00
Vadim Pisarevsky
4c591ca397 fixed Mat::Mat(const IplImage*, bool) constructor (ticket #487). fixed the bayer demosaicing part in the new cv::cvtColor implementation 2010-07-27 17:41:32 +00:00
Yannick Verdie
c77e8fc638 Qt - debugging Linux and Windows 2010-07-27 17:29:22 +00:00
Yannick Verdie
21b0652c40 QT statusbar bug fixed for Windows 2010-07-27 14:17:43 +00:00
Vadim Pisarevsky
2f2f06b925 rewrote color conversion functions; added sRGB<->CIE Lab/Luv conversion; added RGB<->YUV conversion; improved [s]RGB->Lab conversion speed 2010-07-27 14:10:14 +00:00
Maria Dimashova
74300f5f42 fixed compile errors on VS2008 2010-07-27 13:28:21 +00:00
Yannick Verdie
b0ab2ef16d Qt on Windows -- in progress 2010-07-27 13:14:56 +00:00
Maria Dimashova
e83c9b08d8 replaced Calonder descriptor implementation; added windowedMatchingMask() 2010-07-27 12:36:48 +00:00
Andrey Morozov
5a88e8cf61 optimized gpumat::copyTo() 2010-07-27 09:25:46 +00:00
Andrey Morozov
290c967b8f optimized gpumat::setTo() 2010-07-27 08:56:48 +00:00
Andrey Morozov
12dc52c2e7 implemented asynchronous call for StereoBM() 2010-07-27 08:29:40 +00:00
Vladislav Vinogradov
dc0f313924 implemented saturate_cast on gpu; updated GpuMat::convertTo implementation with saturate_cast; minor fix of convert_to test 2010-07-27 07:05:39 +00:00
Anatoly Baksheev
4999024894 minor 2010-07-26 15:13:19 +00:00
Anatoly Baksheev
5732da9567 fixed bug with loading to constant memory 2010-07-26 15:08:43 +00:00
Anatoly Baksheev
22f5376e82 refactoring and minor code improvements
added cuda_shared.hpp header was reorganized in order to speed up compilation
2010-07-26 15:04:56 +00:00
Anatoly Baksheev
54081f262e fixed compiler error for win32 2010-07-26 14:16:19 +00:00
Andrey Morozov
fff2160d1f implemented asynchronous call for GpuMat::upload() and GpuMat::download(). added test for asynchronous call. 2010-07-26 13:42:39 +00:00
Yannick Verdie
bb2fe87b32 2010-07-26 12:28:33 +00:00
Andrey Morozov
769564c130 implemented asynchronous call for gpumat::setTo(), gpumat::copyTo(), gpumat::converTo() 2010-07-26 11:22:16 +00:00
Maria Dimashova
b5a71db742 modified FernClassifier::train(); remove old RTreeClassifier and added new implementation CalonderClassifier; removed old find_obj_calonder and added new one 2010-07-26 08:58:46 +00:00
Anatoly Baksheev
1135bc2495 saturate_cast_gpu.hpp 2010-07-26 08:13:23 +00:00
James Bowman
b4af9c620a cvarrseq args attempt array conversions first 2010-07-23 17:55:37 +00:00
James Bowman
d10b3c8665 #489, Forbid transposed matrices in fromarray() 2010-07-23 17:04:06 +00:00
Yannick Verdie
f2353b8523 QT new functions:
- cvCreateOpenGLCallback: draw 3D on top of the image
2010-07-23 15:22:04 +00:00
Anatoly Baksheev
d352db7ec4 imgproc_gpu - minor refactoring 2010-07-23 15:04:16 +00:00
Andrey Morozov
2d36ba2175 minor fix 2010-07-23 14:17:16 +00:00
Yannick Verdie
ffe7bdf69c ticket 490:
bool not defined ? -> changed everything in int
2010-07-23 12:09:13 +00:00
Vladislav Vinogradov
edd68e588b Added implementation of remap on GPU. Minor fixes of convertTo. Added opencv_imgproc to gpu_test dependencies. 2010-07-23 07:06:33 +00:00
James Bowman
389c002eea grabCut fist impl and test 2010-07-22 23:39:42 +00:00
Yannick Verdie
f572047496 QT new functions:
- add CV_RADIOBOX with exclusive mode
2010-07-22 21:46:27 +00:00
Yannick Verdie
2c923c7eba QT new functions:
- cvAddButton changed to match requirement
 - CV_GUI_NORMAL and CV_GUI_EXPANDED done
 - context menu with right click
2010-07-22 20:39:44 +00:00
Anatoly Baksheev
e07d3601e7 -arch=sm_13 2010-07-22 16:06:43 +00:00
Anatoly Baksheev
17f7b12a83 Variable winSize for StereoBP_GPU
Fixed StereoBM_GPU kernel crash
Textureness threshold added
2010-07-22 15:32:03 +00:00
Vladislav Vinogradov
26c4859634 reduced code convert_to by using templates, merged with copyTo 2010-07-22 14:50:31 +00:00
Andrey Morozov
a0b1107b3c added implementation copyTo() with mask and added test for this method 2010-07-22 14:39:54 +00:00
Andrey Morozov
98c8ecf829 modified kernel setto(), added double type, code has been improved 2010-07-22 12:42:42 +00:00
Vladislav Vinogradov
3f5dd5f1cc added implementation GpuMat::convertTo and merged this with matrix_operations.cpp 2010-07-22 09:31:33 +00:00
Andrey Morozov
7bf29e1488 optimized gpumat::setTo(), ~ 30 speedup 2010-07-22 08:59:23 +00:00
Vadim Pisarevsky
8bb987e436 optimized VNG demosaicing using SSE2 (got ~3x speedup) 2010-07-21 23:18:51 +00:00
Andrey Morozov
2fe75ea33e fixed implementation of gpumat::setTo() 2010-07-21 13:35:41 +00:00
Andrey Morozov
f37ac8e4ca fixed implementation of gpumat::setTo() and improved gputest 2010-07-21 10:43:01 +00:00
Vadim Pisarevsky
550e635814 added numerical values to the new _VNG constants' definitions. 2010-07-21 08:55:50 +00:00
James Bowman
f6c55582d8 Added VNG Bayer enums 2010-07-20 18:31:10 +00:00
Vadim Pisarevsky
f48bd3d281 added VNG demosaicing algorithm (ticket #466) 2010-07-20 15:51:32 +00:00
Anatoly Baksheev
f31cf6d88d prefilter_xsobel option added to stereobm_gpu 2010-07-20 13:00:07 +00:00
Anatoly Baksheev
3a481f93ee EHsc- warning fixed 2010-07-20 11:46:04 +00:00
Yannick Verdie
14bf624af4 QT new functions:
- cvAddButton done
 - All the "actions" of the toolbar are working
 - Window properties done
2010-07-20 09:39:36 +00:00
Anatoly Baksheev
3a3745daac disabled W4 warnings for GPU module. 2010-07-19 17:35:39 +00:00
Andrey Morozov
2be1c7d13f fixed implementation gpumat::setTo() 2010-07-19 14:36:23 +00:00
Andrey Morozov
ace7c7e93c linux compiletion error 2010-07-19 10:49:35 +00:00
Anatoly Baksheev
07825bad1e compilation with no cuda re factored 2010-07-19 09:31:12 +00:00
Andrey Morozov
20e2dc84b0 added implementation SetTo() with mask 2010-07-19 07:56:27 +00:00
Andrey Morozov
da1526aa49 Added implementation SetTo() without mask 2010-07-17 13:50:30 +00:00
Vadim Pisarevsky
f894d1de31 replaced unlink() & _unlink() with more standard remove() (ticket #334) 2010-07-17 11:51:17 +00:00
Andrey Morozov
1d93ca00de Added files for implementation of operations SetTo() 2010-07-17 11:17:29 +00:00
Vadim Pisarevsky
08cba33f9d fixed some more MSVC2010 warnings 2010-07-17 10:35:17 +00:00
Vadim Pisarevsky
75cf8c1b47 a few more warnings fixed 2010-07-16 22:44:48 +00:00
Vadim Pisarevsky
758e826d2e do not use WIN64/_WIN64 anymore - CMake did not set it anyway. Use WIN32 + __x86_64 or _M_X64 instead. Also, make VideoInput optional (WITH_VIDEOINPUT=ON/OFF) => now Mingw-dw2 can build OpenCV 2010-07-16 22:38:57 +00:00
Vadim Pisarevsky
992eace79a fixed some warnings from xcode 2010-07-16 18:28:46 +00:00
Vadim Pisarevsky
5e5b29f92b eliminated some GCC 4.x warnings 2010-07-16 15:31:52 +00:00
Yannick Verdie
9fae7aee5b QT new functions:
- fixed icvFindTrackbar bug
2010-07-16 15:22:07 +00:00
Vadim Pisarevsky
396aa53e96 fixed VS preprocessor condition to include pmmintrin.h (which is available in VS2008 and later versions, but not in VS2005) 2010-07-16 14:28:50 +00:00
Vadim Pisarevsky
670fff5f42 added workaround for strange tmpnam() output from VS2010. turned off optimization for DCT & DFT on Win64 for VS200x (VS2010 builds it fine) 2010-07-16 14:16:18 +00:00
Vadim Pisarevsky
f78a3b4cc1 updated 3rd party libs: CLapack 3.1.1.1 => 3.2.1, zlib 1.2.3 => 1.2.5, libpng 1.2.x => 1.4.3, libtiff 3.7.x => 3.9.4. fixed many 64-bit related VS2010 warnings 2010-07-16 12:54:53 +00:00
Yannick Verdie
0c9eca7922 QT new functions:
- Finished toolbar: the last icon opens an external window with the trackbars inside
2010-07-16 12:51:29 +00:00
Yannick Verdie
f5ab36f4df QT new functions:
- Add icons for toolbar in new folder (files_Qt) (later, will delete useless icons)
2010-07-16 09:15:58 +00:00
Yannick Verdie
ddc29e08be QT new functions:
- Add toolbar
 - Clean the code
 - Window properties in progress
2010-07-16 09:12:15 +00:00
Anatoly Baksheev
b8535d1726 bixed bug in cudaSafeCall 2010-07-15 15:32:17 +00:00
Anatoly Baksheev
55b1e9cbc7 added safe call support in cu files 2010-07-15 14:42:24 +00:00
Anatoly Baksheev
2c84a66ec7 added support to build without cuda. 2010-07-15 13:36:00 +00:00
Andrey Morozov
e1bd5aeadd fixed problem with building module gpu on linux 2010-07-15 12:24:06 +00:00
Andrey Morozov
c00e9cfa27 fixed problem with compiled on linux 2010-07-15 09:18:39 +00:00
Anatoly Baksheev
c4ef619ac5 minor changes in gpu code (initialization interface) 2010-07-15 09:13:15 +00:00
Anatoly Baksheev
7f6fb6ef97 First gpu code draft. Interface might be significantly changed in future.
Simple implementation of StereoBM_GPU.
It is excluded from compilation now.
2010-07-14 15:55:16 +00:00
Stefano Fabri
1c7297f5be Another little fix for Monocrome frame 2010-07-13 18:11:45 +00:00
Stefano Fabri
3499703ede Fixed a typo 2010-07-13 18:08:20 +00:00
Stefano Fabri
22d22fd925 Some little fix in pvapi backend 2010-07-13 17:58:08 +00:00
Vadim Pisarevsky
da02688429 improved accuracy of the matrix determinant and matrix inversion functions (trac #431) 2010-07-13 14:17:49 +00:00
Vadim Pisarevsky
fa91788222 disabled Qt by default (until the code is stabilized) 2010-07-12 15:29:31 +00:00
Yannick Verdie
e11a77cb70 use sleep instead of usleep on window 2010-07-12 15:24:15 +00:00
Yannick Verdie
f2971aebd0 Ticket #458 2010-07-12 14:39:31 +00:00
Alexander Shishkov
fd16d49d85 Changed VectorDescriptorMatch interface to add factory capabilities and changed factory functions interface (return smart pointer) 2010-07-12 11:56:11 +00:00
Yannick Verdie
c3eb7881f1 New functions with QT GUI:
- 3 new points mostly done:
      - OpenGL support enabled (windows are rendered using GPU)
      - Save current screen (with overlay and so on...) with shortcut CTRL+S
      - Text rendering (with any system font, and possibility to set the style - normal, italic,... - the weight - normal, bold, ... - the color, the spacing between letters, and so on...)
2010-07-12 11:04:26 +00:00
Vadim Pisarevsky
ba5eb93a53 rewrote normal RNG function to workaround the bug in gcc 3.4 (ticket #449) 2010-07-12 08:46:00 +00:00
Vadim Pisarevsky
db82906067 fix build with GCC 3.3 on Ubuntu 8.04 2010-07-09 09:09:20 +00:00
Victor Erukhimov
4187f11610 Fixing a win compilation problem 2010-07-09 09:08:08 +00:00
Vadim Pisarevsky
fd169e9716 fix warnings about missing destructors in FeatureDetector and DescriptorExtractor classes and their derivatives 2010-07-08 21:15:09 +00:00
Vadim Pisarevsky
269afb91da make Qt bindings compile with any Qt 4.x 2010-07-08 11:24:32 +00:00
Yannick Verdie
c685ca0e99 Fixed bug during compilation:
"error: explicit template specialization cannot have a storage class"
2010-07-07 18:46:18 +00:00
Yannick Verdie
3d55d4818b New functions with QT GUI:
- Save current screen (CTRL+S), with png, jpg, jpeg, bmp format support
- OpenGL rendering enable (make Qt very fast)
      -> working on opengl callback (done soon)
- Rendering optimised (with and without openGL)
2010-07-07 17:53:59 +00:00
Vadim Pisarevsky
796553d051 added some quaternion operations on Scalar's. 2010-07-07 15:25:42 +00:00
Vadim Pisarevsky
609ad4e409 adjust the path in the installed dynamic libraries on MacOSX via INSTALL_NAME_DIR. 2010-07-07 15:24:21 +00:00
Vadim Pisarevsky
7d006e368e fixed image rendering and memory leak in waitKey (thanks to Bart Nabbe and Steve Bushell) 2010-07-06 16:06:11 +00:00
Vadim Pisarevsky
9cf319d504 fixed some MSVC2008 compiler errors & warnings 2010-07-05 08:11:52 +00:00
Vadim Pisarevsky
576adb434d removed embedded (obsolete) OpenEXR files; repaired OpenEXR bindings 2010-07-04 12:32:31 +00:00
Vadim Pisarevsky
afdaafd4b8 fixed compile problem (thanks to Pierre Moulon) 2010-07-03 21:54:10 +00:00
Vadim Pisarevsky
6e6559d207 fixed test crashes after CV_CN_MAX increase. 2010-07-03 13:38:06 +00:00
Stefano Fabri
bce9f54152 Corrected Mask operator (from documentation mask must be a char matrix with non-zero values in the region of interest) 2010-07-02 17:36:28 +00:00
Ilya Lysenkov
86ef7fab03 Fixed bug ticket #416 2010-07-02 06:58:17 +00:00
Yannick Verdie
89d9345cae New functions with QT GUI:
- fixed bug ticket #412
2010-06-30 14:50:29 +00:00
Ilya Lysenkov
0154b18a3d Speeded up BruteForceMatcher using matrix multiplication 2010-06-30 14:37:42 +00:00
Yannick Verdie
2f4d396506 New functions with QT GUI:
- save/load window parameters implemented !
2010-06-29 22:14:24 +00:00