Commit Graph

281 Commits

Author SHA1 Message Date
Andrey Kamaev
1388826c41 Tegra optimization for calcOpticalFlowPyrLK 2011-05-20 14:33:41 +00:00
Andrey Kamaev
613a69abe8 Tegra optimization for yuv420i to rgb conversion 2011-05-19 06:36:44 +00:00
Vadim Pisarevsky
2dc981aaa8 fixed bug with possible memory corruption in CvMat m = iarray.getMat(); expressions (ticket #1054) 2011-05-18 15:16:12 +00:00
Anatoly Baksheev
69f28ef65c solution folder flag disabled by default 2011-05-17 09:40:06 +00:00
Andrey Kamaev
16712bad93 minor bugfix 2011-05-16 15:10:44 +00:00
Andrey Kamaev
0293912ea4 Parallel version of YUV->RGB conversion for Android camera 2011-05-16 14:14:06 +00:00
Vadim Pisarevsky
fa2f1c036a removed "#include "windows.h"" from core headers 2011-05-13 20:00:58 +00:00
Vadim Pisarevsky
5199cd9c95 removed unnecessary #include "windows.h" from "highgui_c.h" 2011-05-13 19:40:57 +00:00
Vadim Pisarevsky
138b9724d8 make ubuntu 11.04 compile with libv4l 2011-05-12 11:40:42 +00:00
Anatoly Baksheev
c49dc37761 [+] added use_folders cmake feature if cmake version is greater then 2.8.0
[~] fixed warning in featuers2d under windows (can't generate assignment operator)
2011-05-11 13:37:20 +00:00
Leonid Beynenson
7ec77593db Made changes in Android camera classes: now we can get list of possible preview resolutions of Android camera (as string).
Also now work of Android camera is more accurate in the case when the size of grabbed frame buffer does not consist with the expected frame size.
2011-05-10 12:29:43 +00:00
Nils Hasler
39b79b1261 change state of pipeline to NULL before freeing. 2011-05-06 19:06:33 +00:00
Vadim Pisarevsky
f39db3f15a fixed problems indicated with ? marks 2011-05-05 13:31:54 +00:00
Andrey Kamaev
727fbd5376 Android cmake toolchain file is included into OpenCV 2011-05-03 08:13:50 +00:00
Elena Fedotova
a766f9b446 Purpose: updated the highgui chapter 2011-05-02 19:34:16 +00:00
Vadim Pisarevsky
23a9b7bb9c fixed several warnings from Xcode 4 LLVM compiler; fixed bug #920 2011-04-30 19:29:26 +00:00
Elena Fedotova
e762f2a33c Purpose: updated the highgui chapter 2011-04-30 14:10:45 +00:00
Andrey Kamaev
41f5e8e3d8 Fixed output paths for some libraries and executables.
Added option to force disable precompiled headers.
2011-04-30 10:42:33 +00:00
Leonid Beynenson
e262f054ad Changed algorithm of Android camera synchronisation --- added "auto-grab" mode. 2011-04-29 19:03:41 +00:00
Leonid Beynenson
2806db93d8 Merged the branch /branches/opencv_pthread_framework/opencv into the trunk.
The branch contains changes, concerning adding ThreadingFramework -- temporary lightweight decision for ARM instead of Intel TBB.
Also some changes in Android highgui camera class were made.
2011-04-29 14:20:24 +00:00
Vadim Pisarevsky
3d92d4c0bc fixed compile errors on Ubuntu 11.04 2011-04-28 14:08:03 +00:00
Vadim Pisarevsky
d67e612f10 fixed highgui build on Windows 2011-04-26 16:10:26 +00:00
Vadim Pisarevsky
6985540744 moved image codecs' headers to the respective subdirectories; allow the user to use system zlib. 2011-04-26 15:46:15 +00:00
Vadim Pisarevsky
35af5dacde do not define CVAPI_EXPORTS when OpenCV is built statically (thanks to Mika Fischer for the patch) 2011-04-26 13:07:05 +00:00
Vadim Pisarevsky
caa943c85f made png codec in highgui compatible with libpng-1.5 (thanks to wiz for the patch) 2011-04-26 12:41:42 +00:00
Vadim Pisarevsky
0cfcb48796 bugfix for highgui crash on Windows in debug mode (ticket #752) has been propagated from branch 2.2 to trunk 2011-04-26 12:09:27 +00:00
Vladislav Vinogradov
dad986a6cb added 16-bit support to TiffEncoder (restore after #4919) 2011-04-25 10:46:06 +00:00
Nils Hasler
3b9138c4a0 fixed jump over initialisation bug. 2011-04-25 09:04:15 +00:00
Nils Hasler
91d813bc89 If a pipeline is specified manually, this has to be done in full now, ending with appsink. For example:
"uridecodebin uri=file:///path/to/some/video.avi ! ffmpegcolorspace ! appsink"
2011-04-24 09:48:19 +00:00
Nils Hasler
80da1d408b removed private copy of gstappsink because appsink is now part of gstreamer base. 2011-04-23 21:24:41 +00:00
Maria Dimashova
e7e72d24d3 fixed compile error (ubuntu64) 2011-04-23 13:09:56 +00:00
Nils Hasler
ee0c16e43e * added property CV_CAP_GSTREAMER_QUEUE_LENGTH
* removed unnecessary memcpy
* fixed minor memory leak
2011-04-23 07:27:04 +00:00
Alexey Kazakov
e9aa6fa012 Added ROC-curve calculating to the cascade detection algorithm 2011-04-22 10:03:05 +00:00
Vladislav Vinogradov
604c53a0ab added 16-bit support to TiffEncoder 2011-04-21 08:16:23 +00:00
Andrey Kamaev
31e77a3bd9 Android native camera: added BGR output format; added methods to configure output frame size. 2011-04-18 08:50:24 +00:00
Vadim Pisarevsky
abeeb40d46 a big patch; use special proxy types (Input/OutputArray, Input/OutputArrayOfArrays) for passing in vectors, matrices etc. 2011-04-17 13:14:45 +00:00
Nils Hasler
56b206dc7b When opening a file with GStreamer:
* if the filename looks like a URI, it is opened in non-blocking mode, cvQueryFrame() could skip frames or grab one frame more than once
* if the filename looks like a filename, it is opened in blocking mode. cvQueryFrame() grabs consecutive frames
* otherwise the filename is interpreted as a gstreamer pipeline as used with gst-launch. The last element of the pipeline has to have the property name=to-opencv
2011-04-13 07:15:35 +00:00
Andrey Kamaev
b906ad3108 Test system included into Android build 2011-04-11 14:47:06 +00:00
Andrey Kamaev
68534d70f3 Merged android-experimental branch back to trunk. 2011-04-06 14:31:03 +00:00
Vadim Pisarevsky
535425982f extended libdc1394 backend (the patch is by Michael Joachimiak) 2011-04-01 18:29:32 +00:00
Maria Dimashova
cbdc91889a fixed setProperty 2011-03-25 10:37:32 +00:00
Vadim Pisarevsky
73f589e8a5 further docs cleanup 2011-03-08 22:22:24 +00:00
Vadim Pisarevsky
5c3447c125 added pictures for OpenCV 2.x reference manual; fixed some build problems and done some more cleanup work 2011-03-05 21:26:13 +00:00
Vadim Pisarevsky
f025e4739a some more doc cleanup 2011-03-03 07:29:55 +00:00
Vadim Pisarevsky
4bb893aa9f the first round of cleaning up the RST docs 2011-02-28 21:26:43 +00:00
Vadim Pisarevsky
24ccbccf63 cleaned RST formatting a bit 2011-02-26 11:05:10 +00:00
Vadim Pisarevsky
11c2f5d810 OpenCV reference manual (C++ part only for now) is now produced directly from RST, not from TeX. 2011-02-22 20:44:57 +00:00
Vadim Pisarevsky
371aa08006 OpenCV reference manual (C++ part only for now) is now produced directly from RST, not from TeX. 2011-02-22 20:43:26 +00:00
Ethan Rublee
58cb6c268e adding cap_images.cpp to android build, may fix link error, but not really address issue of reading video files on android 2011-02-20 18:53:14 +00:00
Maria Dimashova
63c9b4cec1 fixed mirror property of kinect 2011-02-17 15:53:20 +00:00
Vadim Pisarevsky
061b49e0b2 reworked nearly all of the OpenCV tests (except for opencv_gpu tests) - they now use the Google Test engine. 2011-02-09 20:55:11 +00:00
Maria Dimashova
ad896ae640 refactored OpenNI integration 2011-02-04 13:41:10 +00:00
Maria Dimashova
ed77955635 moved an include dirs setting to the root cmake file 2011-02-03 09:55:17 +00:00
Maria Dimashova
152fefe854 minor changes 2011-01-31 08:24:30 +00:00
Maria Dimashova
d70d2edc9f changed returned value of unsupported property 2011-01-27 07:33:34 +00:00
Maria Dimashova
508aaa41f8 added ability to get and set some Kinect params 2011-01-26 10:38:31 +00:00
Maria Dimashova
68ed806be0 replaced own point cloud computing by OpenNI ConvertProjectiveToRealWorld() 2011-01-24 17:09:45 +00:00
Maria Dimashova
3a04d08bf7 added Kinect support (initial version without settings configuration yet) and sample on usage 2011-01-21 17:00:08 +00:00
Vladimir Dudnik
6309b2d08d added OpenCVFindIPP.cmake script, which will look for IPP installation at CMake configuration time. First, IPPROOT environment variable will be tested, if not found script will look at default install places.
The script should support IPP from 5.3 up to 7.x versions (although tested on Windows for IPP 6.1 and IPP 7.0 versions only)

Preliminary optimization of HOG with IPP added too. Not yet quite efficient, code for cpu branch should be redesigned in order to have better performance.
2010-12-31 16:45:18 +00:00
Vadim Pisarevsky
e90f197beb merged fix for x64 MSVC compile errors in highgui into trunk 2010-12-27 12:01:38 +00:00
Vadim Pisarevsky
8b48eebeee enable #include "cvconfig.h" in highgui on Windows. That should fix camera capture. 2010-12-20 21:20:46 +00:00
Vadim Pisarevsky
4339f69da4 fix opencv-highgui build with old versions of libpng (< 1.4.x) 2010-12-11 18:05:50 +00:00
Vadim Pisarevsky
3beac049d5 replicated the fix for Ptr<CvCapture> bug 2010-12-08 09:36:42 +00:00
Vadim Pisarevsky
0de9c9fd3c opencv_zlib renamed back to zlib; make static libs work on Windows 2010-12-05 01:19:36 +00:00
Vadim Pisarevsky
8b4cb1d99c make OpenCVConfig.cmake usable in the case of static libs 2010-12-04 23:02:36 +00:00
Vadim Pisarevsky
3e7fbd21e0 fixed compile errors in cap_qt.cpp (ticket #391) 2010-12-04 17:58:45 +00:00
Vadim Pisarevsky
11ed55ddb4 fixed mouse painting in Qt bindings (to make watershed & inpaint demos work); increased the font in the detailed pixel image display. 2010-12-04 15:15:06 +00:00
Vadim Pisarevsky
1286c1db45 fixed multiple warnings from VS2010. 2010-11-25 16:55:46 +00:00
Vadim Pisarevsky
334ac49d34 added user mode selection (thanks to tito for the patch, ticket #563) 2010-11-24 22:54:52 +00:00
Vadim Pisarevsky
beee6f2f70 pass the correct rgb->gray coefficients to PNG decoder, to match cvtColor's. 2010-11-24 19:50:52 +00:00
Vadim Pisarevsky
636cb15f3d add protection against EAGAIN error in the streams (thanks to vrabaud for the patch - ticket #553) 2010-11-22 13:07:43 +00:00
Vadim Pisarevsky
3163cfb845 added 16-bit tiff support, enabled LZW codec in tiff (tickets #588, #590) 2010-11-21 21:50:45 +00:00
Vadim Pisarevsky
feb0de80e1 avoid use of writable global variables in V4L capturing module (thanks to fjmadrid for the patch! - see the ticket #384) 2010-11-21 13:09:37 +00:00
Ethan Rublee
458931613c Making highgui build for android 2010-11-09 19:19:59 +00:00
Vadim Pisarevsky
5b6a755719 almost finished Python wrappers 2010-11-02 17:58:22 +00:00
Ethan Rublee
9ee954a0c6 Made calibration a bit faster in the absense of a checkboard and trying to fix
a crash with the libv4l capture code
2010-11-01 06:20:36 +00:00
Vadim Pisarevsky
83f6085773 added more helper macros to the function declarations, to assist the Python wrapper generator. Fixed memleak in Mat::operator()(Range,Range) and the related functions (Mat::row, Mat::col etc.) 2010-10-27 18:26:39 +00:00
Stefano Fabri
ed0ce7ed50 Fixed missing semicolon 2010-10-25 11:29:08 +00:00
Vadim Pisarevsky
ebb9c61546 fixed bug with Mat::dataend initialization. Now morph-ex test passes; Also fixed CV_Assert() implementation 2010-10-21 21:07:11 +00:00
Vadim Pisarevsky
1b1eab8e67 added helper macros to the function declarations 2010-10-16 20:34:34 +00:00
Ethan Rublee
2f3f677ffe woops, broke cmake for a bit... 2010-09-22 03:36:45 +00:00
Ethan Rublee
8ee50c422b adding some small changes to support android build,
mainly cmake stuff, but in persistance the wcstombs
is not supported on android, and in
sift.cpp there was and ifdef that affected arm and this
causes undefined symbols on android.
2010-09-22 02:16:33 +00:00
Yannick Verdie
54ba887432 Qt fix: cvAddText ticket #561 2010-09-16 17:52:10 +00:00
Yannick Verdie
24427d593f Qt add byte per line information to fix a bug 2010-08-24 16:18:32 +00:00
Yannick Verdie
411e16074e Qt Ticket #520 2010-08-24 12:23:37 +00:00
Yannick Verdie
69e6294854 Qt ticket #537
Forgot to update so code after previous fix
2010-08-20 13:06:14 +00:00
Yannick Verdie
3e8a8f7942 Qt weird bug with QLabel (is it really fixed ?) 2010-08-19 22:59:32 +00:00
Yannick Verdie
45daaa6e11 Qt bug with buttons 2010-08-19 10:36:57 +00:00
Yannick Verdie
48090fd37e Qt bug fixed #534 2010-08-18 18:56:22 +00:00
Yannick Verdie
3746c48451 Bug in calibration.cpp sample
This was crashing my code:
    for( size_t i = 1; i < imagePoints.size(); i++ )
        objectPoints.push_back(objectPoints[0]);

Changed by:
objectPoints.resize(imagePoints.size(),objectPoints[0]);

Plus clean up on Qt code
2010-08-18 15:35:56 +00:00
Yannick Verdie
8ada1da08c 2010-08-18 14:45:38 +00:00
Yannick Verdie
94b588099c Qt test (some code disabled for debugging) 2010-08-18 14:07:02 +00:00
Yannick Verdie
a3582b4780 Qt Python binding -- #512 2010-08-18 11:02:11 +00:00
Yannick Verdie
b530a2cba9 Qt ticket #531 2010-08-17 17:22:21 +00:00
Yannick Verdie
e65823fac2 Qt sample code and some fixes 2010-08-16 16:49:24 +00:00
Yannick Verdie
662c58ca86 Qt bug fixed with cvWaitKey(0) 2010-08-15 20:43:54 +00:00
Yannick Verdie
dec6f2c393 Qt fixed bug with OpenGL, and save issue reported in #520 2010-08-14 18:36:53 +00:00
Vadim Pisarevsky
26c6b955a8 updated ffmpeg to 0.6.0 2010-08-05 17:24:41 +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
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
Yannick Verdie
d6bbaea28a Qt imgRegion bug fixed
Qt compilation pb with OpenGL flags fixed
2010-08-02 10:58:25 +00:00
Yannick Verdie
e8aad75446 Fixed bugs on Qt 2010-07-31 18:04:28 +00:00
Yannick Verdie
8f8aba9c88 fixed Qt bug 2010-07-30 14:13:20 +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
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
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
Yannick Verdie
b0ab2ef16d Qt on Windows -- in progress 2010-07-27 13:14:56 +00:00
Yannick Verdie
bb2fe87b32 2010-07-26 12:28:33 +00:00
Yannick Verdie
f2353b8523 QT new functions:
- cvCreateOpenGLCallback: draw 3D on top of the image
2010-07-23 15:22:04 +00:00
Yannick Verdie
ffe7bdf69c ticket 490:
bool not defined ? -> changed everything in int
2010-07-23 12:09:13 +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
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
Vadim Pisarevsky
f894d1de31 replaced unlink() & _unlink() with more standard remove() (ticket #334) 2010-07-17 11:51:17 +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
Yannick Verdie
9fae7aee5b QT new functions:
- fixed icvFindTrackbar bug
2010-07-16 15:22:07 +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
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
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
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
269afb91da make Qt bindings compile with any Qt 4.x 2010-07-08 11:24:32 +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
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
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
Yannick Verdie
89d9345cae New functions with QT GUI:
- fixed bug ticket #412
2010-06-30 14:50:29 +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
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
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