Commit Graph

327 Commits

Author SHA1 Message Date
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
Vadim Pisarevsky
d9ff8a30f5 fixed compile errors on Ubuntu 10.04 2010-06-29 15:49:44 +00:00
Vadim Pisarevsky
60acd91ce1 added Eigen2 support; fixed compile errors on Ubuntu 10.04 2010-06-29 15:49:15 +00:00
Vadim Pisarevsky
7ec4b59fac added #include "cvconfig.h" to make TBB and other 3rd party libs work correctly 2010-06-29 15:12:07 +00:00
Vadim Pisarevsky
10b5a51731 added "small matrix" class Matx<T, m, n> 2010-06-29 14:52:43 +00:00
Vadim Pisarevsky
bed63cc7c2 fixed the output disparity at the extreme cases (minDisparity or minDisparity + numOfDisp - 1). Thanks to Patrick Mihelich for the report (trac #395) 2010-06-29 10:01:55 +00:00
Yannick Verdie
f668a230ea New functions with QT GUI:
- imgregion shortcut implemented (CTRL+O)
2010-06-28 21:15:54 +00:00
Yannick Verdie
f8c83340b2 New functions with QT GUI:
- imgregion (as with Matlab) implemented
2010-06-28 21:01:37 +00:00
Maria Dimashova
69adf86afe fixed compile error; renamed createDescriptorMatch to createGenericDescriptorMatch 2010-06-28 16:03:01 +00:00
Ilya Lysenkov
add94f9bd6 Added L1 distance code and used factory functions in evaluation framework 2010-06-28 13:06:24 +00:00
Yannick Verdie
4bcd81f85f New functions with QT GUI:
- aspectRatio is controled by cvSet/getWindowProperty
2010-06-26 22:36:41 +00:00
Yannick Verdie
397b31e437 New functions with QT GUI:
- fix CMake OpenGL compilation
2010-06-26 14:33:14 +00:00
Yannick Verdie
6314cd28cf New functions with QT GUI:
- fix zoom offset of 0.5
- fix CMake problem with QT detection
- Code optimisation
2010-06-25 17:19:11 +00:00
Stefano Fabri
2dcad1eb81 Added some paramter to set exposure, adaptable packet size 2010-06-25 13:18:40 +00:00
Stefano Fabri
2d0b20df9e Removed a debug print 2010-06-24 18:23:57 +00:00
Stefano Fabri
183f2306c8 Initializaed monocrom variable on costructor 2010-06-24 17:54:49 +00:00
Stefano Fabri
c7cf80fd59 Enable pixelformat check 2010-06-24 16:27:41 +00:00
Stefano Fabri
a419ecfde5 Return false if cannot adapt packed size with mtu max of network adapter 2010-06-24 15:23:43 +00:00
Stefano Fabri
686737e24f Add support for monocrome cmos ccd
Adapted mtu and packed size
Some minor fixes in gstreamer because not implemented support of v4l v4l2 in the wrapper
default beahvior must be v4l v4l2 or libv4l backends
2010-06-24 13:38:57 +00:00
Vadim Pisarevsky
4ec4cf6876 fixed memory leaks in cocoa bindings (trac ticket #253). Thanks to N. Butko 2010-06-24 12:28:23 +00:00
Maria Dimashova
c15934dd2b modified default var_type values 2010-06-24 08:34:47 +00:00
Maria Dimashova
4a05af684f fixed 2010-06-24 08:18:29 +00:00
James Bowman
d6c6c3ecda #393, SnakeImage 2010-06-23 20:18:52 +00:00
Maria Dimashova
122a1c2bff fixed case of var_type==0 (ticket 397) 2010-06-23 17:00:12 +00:00
Vadim Pisarevsky
b481f12de8 fixed computation of feature vectors in self-similarity descriptor (max->min) 2010-06-23 13:32:29 +00:00
Yannick Verdie
f69514eef7 New functions with QT GUI:
StatusBar with zoom/color/position information
user can display infor mation in statusbar with cvDisplayStatusBar(window,text,delay_ms)
2010-06-22 17:15:49 +00:00
Maria Dimashova
4606638bb3 fixed 2010-06-21 10:40:32 +00:00
Yannick Verdie
f2392f2e2f New functions with QT GUI:
- fix c++ wrapper
- fix compilation bugs
2010-06-20 11:18:23 +00:00
Yannick Verdie
2f9aedfaab New functions with QT GUI:
- fix c++ wrapper
- rename cvInformation in cvDisplayOverlay
2010-06-20 10:29:11 +00:00
Yannick Verdie
bd643ad550 New functions with QT GUI:
Fixed memory leak
Disable QT by default
2010-06-20 08:44:19 +00:00
Yannick Verdie
c007b60b25 New functions with QT GUI:
Fixed bugs indicated by Vadim
2010-06-19 21:01:27 +00:00
Yannick Verdie
5cbe64dac7 New functions with QT GUI
Shortcut for zoom (CTRL + and CTRL - for zoomin/out, CTRL Left/Right/Up/Down for panning, CTRL P for zoom = 1)
Fix bug with key event
2010-06-19 18:57:04 +00:00
Vadim Pisarevsky
47620085b5 added dummy cvInitSystem() to Qt bindings to avoid "unresolved symbol" errors 2010-06-19 16:26:22 +00:00
Filipe Almeida
e78373f4b8 V4L2: removed setting device control values to initial values on capture
release
2010-06-19 14:34:44 +00:00
Yannick Verdie
3d2ec9875d New functions with QT GUI
Mouse callback return correct value during zoom/panning
Window overview in zoom mode done !
2010-06-17 20:44:18 +00:00
Yannick Verdie
386496863c New functions with QT GUI
use inv matrix for Zoom in/out for better result
Fix some bugs with zoom/panning
2010-06-17 16:41:48 +00:00
Ilya Lysenkov
276f3b8862 Added distance threshold-based matching 2010-06-16 08:56:53 +00:00
Yannick Verdie
f4dba4686d New functions with QT GUI (presented in the 4th report)
-Fullscreen
-Change Autoresize dynamically (after windows are created)
-Zoom on mouse location (with wheel)
-Panning by click'ndrag posible after zooming
2010-06-16 07:58:53 +00:00
Ilya Lysenkov
673b4404a9 Fixed plot data generation for descriptors comparison 2010-06-16 07:06:14 +00:00