Alexander Alekhin
35edad3e74
build: fix warnings
6 years ago
Christoph Rackwitz
deb8ba2237
fix for #4990 : highgui w32 ogl: correct calculation of image coordinates from window coordinates
6 years ago
Christoph Rackwitz
beba82b22b
Off-by-ones in windows/GDI window calculations
...
Check for "gutter" around displayed image. there was one row/column missing on the bottom/right.
Might as well set gutter = 0?
6 years ago
Maksim Shabunin
905d96dd4a
Restored 500ms delay in highgui test
6 years ago
Maksim Shabunin
db1c8b3f9e
Restored function to rescale pixel values before imshow
6 years ago
Tomoaki Teshima
a1c073d289
add missing API cvGetPropVisible_W32
6 years ago
berak
9344d0d0e3
highgui: restore convertscale semantics in window_w32.cpp
6 years ago
Pavel Rojtberg
f54b230906
highgui: Qt - restore convertscale semantics
...
broken in 11eafca3e2
6 years ago
Vadim Pisarevsky
11eafca3e2
removed C API in the following modules: photo, video, imgcodecs, videoio ( #13060 )
...
* removed C API in the following modules: photo, video, imgcodecs, videoio
* trying to fix various compile errors and warnings on Windows and Linux
* continue to fix compile errors and warnings
* continue to fix compile errors, warnings, as well as the test failures
* trying to resolve compile warnings on Android
* Update cap_dc1394_v2.cpp
fix warning from the new GCC
6 years ago
Alexander Alekhin
b059a361dd
highgui: drop obsolete Carbon API
...
https://en.wikipedia.org/wiki/Carbon_(API)
In 2012, with the release of OS X 10.8 Mountain Lion, most Carbon APIs were considered deprecated.
6 years ago
berak
cae2a53563
highgui: fix broken waitKey() condition in window_w32
6 years ago
berak
6d2a97e954
docs: remove NULL strings from highgui.hpp
6 years ago
Jean Carass
66e4ace39f
Replaced strcpy_s, strcat_s for MinGW builds.
6 years ago
Vadim Pisarevsky
ebdc870296
fixed imshow on mac; before that just the window titlebar was shown, without the window content.
6 years ago
Sean McBride
75f67ed207
Fixed a few comments related to macOS support
6 years ago
tellowkrinkle
803ff64b14
Merge pull request #12697 from tellowkrinkle:FasterCocoaWindows
...
* Make cocoa windows draw faster
* Use a CALayer for rendering when possible Uses GPU to scale images, which is important because retina macs will want window sizes much larger (in pixels) than the image
* Fix mouse logic for cocoa windows
* Only halve resolution on retina if image is larger than display
6 years ago
Alexander Alekhin
d7ac4495c3
highgui: fix QT build
6 years ago
Suleyman TURKMEN
92517fa359
Update window.cpp
6 years ago
Hamdi Sahloul
a39e0daacf
Utilize CV_UNUSED macro
6 years ago
Alexander Alekhin
8a3c394d6a
don't use constructors for C API structures
6 years ago
Jakub Golinowski
9f1218b00b
Merge pull request #11897 from Jakub-Golinowski:hpx_backend
...
* Add HPX backend for OpenCV implementation
Adds hpx backend for cv::parallel_for_() calls respecting the nstripes chunking parameter. C++ code for the backend is added to modules/core/parallel.cpp. Also, the necessary changes to cmake files are introduced.
Backend can operate in 2 versions (selectable by cmake build option WITH_HPX_STARTSTOP): hpx (runtime always on) and hpx_startstop (start and stop the backend for each cv::parallel_for_() call)
* WIP: Conditionally include hpx_main.hpp to tests in core module
Header hpx_main.hpp is included to both core/perf/perf_main.cpp and core/test/test_main.cpp.
The changes to cmake files for linking hpx library to above mentioned test executalbles are proposed but have issues.
* Add coditional iclusion of hpx_main.hpp to cpp cpu modules
* Remove start/stop version of hpx backend
6 years ago
Suleyman TURKMEN
c61bc3a0cb
Update documentation and samples
6 years ago
Alexander Alekhin
d2e08a524e
core: repair CV_Assert() messages
...
Multi-argument CV_Assert() is accessible via CV_Assert_N() (with malformed messages).
6 years ago
Maksim Shabunin
e031bada7d
Fixed several issues found by static analysis, Windows-specific
6 years ago
Alexander Alekhin
81325a3fa0
highgui(gtk): use recursive cv::Mutex for 'window_mutex' variable
6 years ago
Alexander Alekhin
aa0c6ddb4c
highgui: fix GTK issues with external UI thread
6 years ago
Alexander Alekhin
4bc080dc50
fix function signatures, drop invalid casts
7 years ago
Alexander Alekhin
8620bd5a84
highgui(win32): improve waitKey() timeout condition
...
- use cv::getTickCount() instead of Win32 GetTickCount()
- process message queue before timeout exit
7 years ago
Alexander Alekhin
9ba9358ecb
documentation: avoid links to 'master' branch from 3.4 maintenance branch
7 years ago
Alexander Alekhin
549b5df225
build: workaround issues with C compilation mode
...
- cvdef.h + cvRound (double only)
- highgui_c.h
7 years ago
Alexander Alekhin
4e83f4c579
core: drop cv::errorNoReturn()
...
replaced to cv::error()
7 years ago
Alexander Alekhin
6b581c4e51
build: unreachable code after CV_Error() (part 2)
7 years ago
Alexander Alekhin
5b17a60dde
next: drop HAVE_TEGRA_OPTIMIZATION/TADP
7 years ago
Alexander Alekhin
2b2fa58f97
next: drop DISABLE_OPENCV_24_COMPATIBILITY
7 years ago
Alexander Alekhin
82fd00af99
fix build issues with QT/OpenGL
7 years ago
Maksim Shabunin
439072a2a6
Fixed two warnings produced by clang
7 years ago
Jan Gaura
eb3969e244
Better text contrast of pixel brightness values in Qt window
...
This offsets text brightness of pixel brightness values
by offsetting it by 127 to the curent pixel value.
The text is now readable even if pixels are black.
7 years ago
luz.paz
d05714995c
Misc. modules/ cont. pt2
...
Found via `codespell`
7 years ago
Suleyman TURKMEN
3b191bf2dd
update CMakeList.txt
7 years ago
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
7 years ago
Gregory Morse
d84c7e5143
Merge pull request #10649 from GregoryMorse:patch-3
...
* Fix for QT image window rectangle
* Update window_QT.h
* Update window_QT.cpp
* trailing whitespace
* highgui: fix QT getWindowImageRect()
7 years ago
Gregory Morse
ec353dbdda
Merge pull request #10412 from GregoryMorse:patch-2
...
Update to add window position and size retrieval to HighGUI (#10412 )
* Update highgui.hpp
Add read only property retrieval for enhanced rendering capabilities and more sophisticated research tools
* Update window.cpp
* Update window_w32.cpp
* Update window_QT.cpp
* Update window_QT.h
* Update window_QT.h
* Update window_gtk.cpp
* Update precomp.hpp
* Update highgui_c.h
* Update highgui_c.h
* Update window_w32.cpp
* Update precomp.hpp
* Update window_QT.cpp
* Update window_QT.h
* Update window_gtk.cpp
* Update window_gtk.cpp
* Update window_w32.cpp
* Update window_QT.cpp
* Update window_carbon.cpp
* Update window_cocoa.mm
* Update precomp.hpp
* Update window_cocoa.mm
* Update window_w32.cpp
* Update window_gtk.cpp
* Update window_QT.cpp
* Update window_gtk.cpp
* Update window_QT.cpp
* Update window_cocoa.mm
* Update window_carbon.cpp
* Update window_w32.cpp
* Update window_cocoa.mm
* Update window_gtk.cpp
* Update window_cocoa.mm
* Update window_gtk.cpp
* Update window_cocoa.mm
* Update window_cocoa.mm
* Update window.cpp
* Update test_gui.cpp
* Update test_gui.cpp
* Update test_gui.cpp
* Update highgui_c.h
* Update highgui.hpp
* Update window.cpp
* Update highgui_c.h
* Update test_gui.cpp
* Update highgui.hpp
* Update window.cpp
* Update window.cpp
* Update window.cpp
* Update window.cpp
* Update window.cpp
7 years ago
Alexander Alekhin
1237faef80
java: disable highgui wrapped code
7 years ago
Vitaly Tuzov
51cb56ef2c
Implementation of bit-exact resize. Internal calls to linear resize updated to use bit-exact version. ( #9468 )
7 years ago
Alexander Alekhin
3fd03964a3
fix code style
7 years ago
klchang
d4ef5bc16a
fix the possible bug for key mapping in Linux GTK library
7 years ago
Alexander Alekhin
3ae7515955
qt: fix non-world builds
7 years ago
mevatron
fdc4344acb
Small fix for using Qt 5.x with opencv_world
7 years ago
Suleyman TURKMEN
ee6aacee9c
Update window_gtk.cpp
...
Update miniflann.cpp
Update test_stereomatching.cpp
7 years ago
saskatchewancatch
cc17400849
i9403: Removing checks from trackbar min/max set functions.
...
Removing unnecessary range checks for QT backend support's setTrackbarMin and setTrackbarMax fucntions
Fixes
7 years ago