Labib Asari
c4226f0457
Merge pull request #23196 from labeeb-7z:printOptionInRoiSelector
...
Added argument to print notice in `roiSelector.cpp`
Related Issue : https://github.com/opencv/opencv/issues/23175
I've added a printNotice argument to `selectROI` (and it's overload) and `selectROIs` functions.
I've also updated the function declarations in `highgui.hpp`.
Tested by building locally.
### Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [x] The PR is proposed to the proper branch
- [x] There is a reference to the original bug report and related work
- [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
Patch to opencv_extra has the same branch name.
- [x] The feature is well documented and sample code can be built with the project CMake
2023-03-20 10:06:57 +03:00
Corentin Noël
a035608100
highgui: Reduce the difference between GTK+2 and GTK+3 version
...
Make the GTK+3 API the default one by wrapping the missing GTK+2 functions in defines
Make sure to always guard with GTK_VERSION2 or GTK_VERSION3 to allow future addition
of Gtk4
2023-02-28 00:48:39 +01:00
Alexander Alekhin
bdff0949bb
dnn(tflite): add 3rdparty flatbuffers with pre-generated schema
2023-02-21 16:06:19 +00:00
Vladimir Ponomarev
2ab7b7c09e
Remove separator between trackbars.
...
Remove separator between 2 or more trackbars. This separator has zero thickness and creates bags in toolbar.
2023-02-16 15:18:30 +03:00
Corentin Noël
f1f14ce403
highgui: Set hard GLib requirement to >=2.32
...
This version has been released 10 years ago.
2023-02-14 13:28:42 +01:00
Alexander Alekhin
593a376566
Merge branch 4.x
2023-01-09 11:08:02 +00:00
Maksim Shabunin
8a62b03761
Merge pull request #22754 from mshabunin:c-cleanup
...
C-API cleanup for OpenCV 5.x (imgproc, highgui)
* imgproc: C-API cleanup
* imgproc: increase cvtColor test diff threshold
* imgproc: C-API cleanup pt.2
* imgproc: C-API cleanup pt.3
* imgproc: C-API cleanup pt.4
* imgproc: C-API cleanup pt.5
* imgproc: C-API cleanup pt.5
* imgproc: C-API cleanup pt.6
* highgui: C-API cleanup
* highgui: C-API cleanup pt.2
* highgui: C-API cleanup pt.3
* highgui: C-API cleanup pt.3
* imgproc: C-API cleanup pt.7
* fixup! highgui: C-API cleanup pt.3
* fixup! imgproc: C-API cleanup pt.6
* imgproc: C-API cleanup pt.8
* imgproc: C-API cleanup pt.9
* fixup! imgproc: C-API cleanup pt.9
* fixup! imgproc: C-API cleanup pt.9
* fixup! imgproc: C-API cleanup pt.9
* fixup! imgproc: C-API cleanup pt.9
* fixup! imgproc: C-API cleanup pt.9
* fixup! imgproc: C-API cleanup pt.9
2022-12-14 18:57:08 +00:00
Alexander Smorkalov
ab912329b6
Merge pull request #22885 from asmorkalov:as/new_qt_icons
...
Switch QT UI to icons with Google Material Design
2022-12-07 14:25:31 +03:00
Alexander Alekhin
b16f76eede
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-12-03 12:39:41 +00:00
Alexander Smorkalov
c55613ccf7
Switch QT UI to icons with Google Material Design.
2022-12-02 11:21:02 +03:00
Dan Mašek
aba2167d9c
Merge pull request #22838 from dan-masek:fix_issue_22837
...
Fix issue 22837: No more blank buttons on toolbar after resizing the window
2022-11-22 13:47:27 +03:00
Alexander Alekhin
2a5da50902
Merge pull request #22806 from dan-masek:fix_issue_22767
2022-11-21 19:53:34 +00:00
fwcd
90b144cf0a
Cocoa/highgui: Set activateIgnoringOtherApps
2022-11-21 12:49:08 +03:00
Alexander Smorkalov
529bd0425e
Merge pull request #22737 from fwcd:activate-cocoa-window-on-top
...
Cocoa/highgui: Set `[NSApp activateIgnoringOtherApps]` to spawn window on top
2022-11-21 12:28:00 +03:00
Dan Mašek
e5bea2bde4
Fix #22766 : Corrected off-by one error causing inconsistent row spacing. (rebased to 3.4)
2022-11-20 21:48:23 +01:00
Dan Mašek
e9d64e0a8c
Fix #22767 : Ensure that the buttons are spaced to the size of the toolbar window, which is always visible. (rebased to 3.x)
2022-11-20 20:53:23 +01:00
Dan Mašek
51b897b672
Fix #22765 : Remove unnecessary function resulting in infinite recursion. Since In all four places it was used, we already check the shared pointer, the extra assert that the function provided was redundand, so I removed it, and I added a dereference to the window
parameters.
2022-11-15 00:44:51 +01:00
fwcd
d1d8ac57f3
Cocoa/highgui: Set activateIgnoringOtherApps
2022-11-01 18:24:10 +01:00
Christine Poerschke
40ae06091d
add cvGetPropVisible_COCOA
2022-10-05 21:51:26 +01:00
Christine Poerschke
cb1a1e9a51
add explicit onChange callback in cocoa cvSetTrackbarPos
2022-09-11 16:40:27 +01:00
Alexander Smorkalov
448e3a7e58
Merge pull request #22226 from ocpalo:libspng
...
[GSoC 2022] spng encoder/decoder added as optional png codec
2022-09-05 13:25:41 +03:00
Berke
3929e26276
spng encoder/decoder added as optional png codec
2022-08-29 00:03:43 +03:00
Alexander Smorkalov
348b7383f9
Merge pull request #22160 from sturkmen72:update_highgui
2022-08-05 11:39:53 +00:00
David Geldreich
60846b2b7a
correct an issue of trackbar on macOS
...
Python binding is passing NULL as (int*)value.
sliderChanged crash when trying to dereference value
2022-07-15 22:02:02 +02:00
Suleyman TURKMEN
0f067fd0a6
make imgcodecs optional for highgui
2022-07-01 10:53:37 +03:00
Joel Winarske
0769bf416f
highgui Wayland xdg_shell
...
-enable using -DWITH_WAYLAND=ON
-adapted from https://github.com/pfpacket/opencv-wayland
-using xdg_shell stable protocol
-overrides HAVE_QT if HAVE_WAYLAND and WITH_WAYLAND are set
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
Co-authored-by: Ryo Munakata <afpacket@gmail.com>
2022-06-26 12:11:09 -07:00
Juan López Rubio
adf89bbb33
Merge pull request #22047 from jlopezr:trackbar-ordered-in-mac
...
* In Mac highgui now shows trackbars in creation order
* In Mac highgui trackbars show current value
* Remove trailing spaces in objectivec code
2022-06-05 15:30:16 +00:00
Alexander Alekhin
583bd1a6e2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-06-04 19:10:35 +00:00
Kumataro
3577265508
highgui: Qt: waitKey() supports Cyrillic/Japanese keyboard layout
2022-06-01 21:45:53 +09:00
OpenCV Developers
1b07274e34
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-04-30 18:54:20 +00:00
LaurentBerger
ca2ab3387f
Try to solve I21853 mouse wheel problem with GTK3
2022-04-29 08:59:29 +03:00
Pavel Rojtberg
12ab54648c
highui: qt - enable hidpi by default
...
can be overriden by environment:
QT_AUTO_SCREEN_SCALE_FACTOR=0
2022-02-12 14:56:42 +01:00
Alexander Alekhin
d573472a86
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2022-01-31 12:53:45 +00:00
Suleyman TURKMEN
439ef6447d
Update window.cpp
2022-01-28 10:20:36 +03:00
Alexander Alekhin
82818e7324
cmake(highgui): update handling of OpenGL libraries
2022-01-20 02:31:15 +00:00
Stefan Brüns
ab181ac329
highgui: Fix unresolved OpenGL functions for Qt backend
...
The Qt backend directly calls some OpenGL functions (glClear, glHint,
glViewport), but since OCV 4.5.5 the GL libraries are no longer part
of the global extra dependencies. When linking with "-Wl,--no-undefined"
this causes linker errors:
`opencv-4.5.5/modules/highgui/src/window_QT.cpp:3307: undefined reference to `glClear'`
Fixes : #21346
Related issues: #21299
2021-12-26 01:10:45 +01:00
Alexander Alekhin
217fea9667
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-24 16:48:07 +00:00
Alexander Alekhin
f11ab4c569
Merge pull request #21331 from alalek:issue_21289
2021-12-23 20:09:52 +00:00
Alexander Alekhin
36bd2a65e3
highgui(gtk): repair scroll events
2021-12-23 13:06:44 +00:00
Alexander Alekhin
85d4e56bb1
highgui(gtk): fix onmouse event flags
2021-12-23 12:15:14 +00:00
Alexander Alekhin
be110d0464
Merge pull request #21303 from alalek:issue_21299_4.x
2021-12-21 18:42:58 +00:00
Alexander Alekhin
c80b270678
cmake: force lowercase plugins internal names
2021-12-21 16:34:48 +00:00
Alexander Alekhin
dcc32e84b9
highgui: fix Win32 with OPENGL=ON
2021-12-21 15:51:22 +00:00
Alexander Alekhin
3e01a387ba
highgui: fix Win32 with OPENGL=ON
2021-12-21 15:44:59 +00:00
Patrick Whalen
b2005ccaef
Fix broken build for Qt6 with options: WITH_QT=ON and WITH_OPENGL=ON
...
- QGLWidget changed to QOpenGLWidget in window_QT.h for Qt6 using
typedef OpenCVQtWidgetBase for handling Qt version
- Implement Qt6/OpenGL functionality in window_QT.cpp
- Swap QGLWidget:: function calls for OpenCVQtWidgetBase:: function calls
- QGLWidget::updateGL deprecated, swap to QOpenGLWidget::update for Qt6
- Add preprocessor definition to detect Qt6 -- HAVE_QT6
- Add OpenGLWidgets to qdeps list in highgui CMakeLists.txt
- find_package CMake command added for locating Qt module OpenGLWidgets
- Added check that Qt6::OpenGLWidgets component is found. Shut off Qt-openGL functionality if not found.
2021-12-09 13:22:20 -08:00
Michael Davis
d2f87ca76c
Merge pull request #21147 from mjmdavis:4.x
...
* remove tickmarks on NSSlider
2021-12-03 16:40:49 +00:00
Alexander Alekhin
8b4fa2605e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-12-03 12:32:49 +00:00
yuki takehara
a6277370ca
Merge pull request #21107 from take1014:remove_assert_21038
...
resolves #21038
* remove C assert
* revert C header
* fix several points in review
* fix test_ds.cpp
2021-11-27 18:34:52 +00:00
Alexander Alekhin
57ee14d62d
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-11-27 16:50:55 +00:00
Christian Clauss
ebe4ca6b60
Fix typos discovered by codespell
2021-11-26 12:29:56 +01:00
Alexander Alekhin
a2716712ab
highgui(win32): fix trackbar setRange
2021-11-06 15:19:22 +00:00
Alexander Alekhin
66f3e97457
highgui: drop invalid cvGetWindowImageRect
2021-10-30 12:47:07 +00:00
Alexander Alekhin
0ee61d178f
highgui: drop invalid cvGetWindowImageRect
...
- return type is C++ template
- removal from 'extern "C"' scope broke ABI anyway, so this symbols is removed completelly
2021-10-30 12:40:20 +00:00
Alexander Alekhin
31c40fa4cc
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-10-15 13:35:03 +00:00
Stanislaw Halik
3d93675ff9
fix link error on shared libs with -MT
2021-10-12 17:50:31 +02:00
Alexander Alekhin
023e86d68f
Merge pull request #20848 from alalek:reverse_plugins_candidates_order
2021-10-09 15:45:17 +00:00
Alexander Alekhin
39ee5c5a46
plugins: reverse candidates order to fetch higher versions first
2021-10-08 20:34:07 +00:00
Alexander Alekhin
af56151231
highgui(docs): we don't support 32-bit integer images in imshow()
2021-10-08 19:51:18 +00:00
Alexander Alekhin
bdaa6a1910
highgui: repair Qt backend
2021-10-06 19:14:22 +00:00
Alexander Alekhin
87d4970e8b
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-10-04 19:50:01 +00:00
xhawk18
24f43e7ae9
Merge pull request #20183 from xhawk18:3.4
...
* improve compatibility for qt 6.
* cmake(highgui): rework Qt dependency support
* cmake(highgui): workaround Qt5Config.cmake "components" bug
Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
2021-10-04 16:44:57 +00:00
Alexander Alekhin
350562919c
highgui(win32): avoid using of stalled iterator
2021-08-23 18:16:14 +00:00
Alexander Alekhin
4ff76cad2a
cmake: fix cross-compilation problems
...
- unexpected pkg-config module (we should not use host binary)
- bump cmake_minimum_required to 3.5 in toolchain files
2021-08-05 11:42:58 +00:00
Alexander Alekhin
4015a5486c
cmake: process modules in the same CMake scope
2021-07-22 15:22:42 +00:00
Alexander Alekhin
9e42e04b4a
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-07-10 13:01:03 +00:00
Xinguang Bian
5627a0cbdf
fix scale problem in DefaultViewPort::controlImagePosition()
2021-07-07 12:35:11 +08:00
Alexander Alekhin
cbff19ff1a
highgui: fix win32 backend behavior
2021-07-04 17:37:45 +03:00
Alexander Alekhin
5d0cfa2527
cmake(highgui): don't allow multiple builtin backends
2021-07-03 11:37:08 +00:00
Alexander Alekhin
9b7dca2fa1
Merge pull request #20281 from alalek:highgui_win32ui_plugin
2021-06-20 16:25:20 +00:00
Alexander Alekhin
735a79ae83
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-06-19 18:44:16 +00:00
Alexander Alekhin
ef2b400c61
highgui: win32ui plugin
2021-06-19 13:15:46 +00:00
Smirnov Egor
7a276f39fb
reorder defined checks according to cmake file
2021-06-16 11:36:13 +03:00
Smirnov Egor
8f4f834ce6
applied modifier mask to the state
2021-06-10 10:57:15 +03:00
Alexander Alekhin
80238880e6
highgui(gtk): fix initialization order of global objects
2021-06-09 09:04:29 +00:00
Alexander Alekhin
f4abafb093
highgui: update error messages if no builtin backend
2021-06-09 08:39:50 +00:00
Alexander Alekhin
3e538355e2
highgui: force loading of imgcodecs module
...
- required for plugins on Linux (they use imwrite, but there is no link dependency)
2021-06-09 08:36:28 +00:00
Alexander Alekhin
995841624c
highgui(gtk): fix NULL ptr checks
2021-06-08 10:57:24 +00:00
Alexander Alekhin
f5f675ef6c
highgui(gtk): fix NULL ptr checks
2021-06-08 10:55:51 +00:00
Alexander Alekhin
327109f327
highgui: update backends handling, fix WITH_OPENGL=ON build
2021-06-07 11:28:05 +00:00
Alexander Alekhin
3e513ee6ab
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-06-03 16:23:36 +00:00
Alexander Alekhin
15af65d4cf
Merge pull request #20149 from rogday:on_mouse_floor
2021-06-02 17:48:43 +00:00
Alexander Alekhin
de781b306f
Merge pull request #20187 from alalek:highgui_plugins_cleanup
2021-06-01 13:16:23 +00:00
Alexander Alekhin
fb9a00c36d
highgui: cleanup and fixes
2021-05-31 17:03:53 +00:00
Smirnov Egor
fb68fe8930
bring back bounds check and switch to floor
2021-05-31 19:03:50 +03:00
Alexander Alekhin
cb51a155b2
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-05-29 19:00:14 +00:00
Alexander Alekhin
3d2f4fa164
highgui: fix trackbar value pointer handling
2021-05-28 01:58:58 +00:00
Maksim Shabunin
684ba6fe14
highgui: fix config verification for GTK
2021-05-26 19:59:36 +03:00
Alexander Alekhin
70f69cb265
highgui: backends and plugins
2021-05-24 16:12:02 +00:00
Christoph Rackwitz
f479935cda
fix for #19870
...
HAVE_QT and HAVE_WIN32UI can both be true at the same time
if HAVE_QT, window_w32.cpp is not included in the build, see CMakeLists.txt
2021-04-08 12:59:06 +02:00
Alexander Alekhin
0a6f216f83
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-02-21 20:14:09 +00:00
Alexander Alekhin
d2d6eba16a
cmake: fix add_apple_compiler_options() calls and OBJCXX handling
2021-02-13 18:37:30 +00:00
Alexander Alekhin
b6933dbf3a
highgui(pollKey): properly handle no-GUI case
2021-02-05 23:51:52 +00:00
Alexander Alekhin
9d227641c9
Merge pull request #19411 from crackwitz:highgui-pollkey
2021-02-05 20:18:53 +00:00
Christoph Rackwitz
ab0e1c573a
highgui: expose VSYNC window property for OpenGL on W32
...
property getter/setter code conditional on HAVE_OPENGL
getter: return -1 upon specific OpenGL errors
2021-02-03 09:53:13 +01:00
Christoph Rackwitz
26da491053
implementation of pollKey, companion to waitKey
...
w32 backend: implemented
other backends: stubbed or fallback to waitKey
documentation: cross-linked and more precise in some places
2021-02-02 22:24:54 +01:00
Alexander Alekhin
e85b41f9be
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-25 22:42:13 +00:00
Christoph Rackwitz
0c0cf8b19f
highgui: remove gutter in window_w32
2021-01-23 16:01:07 +01:00
Alexander Alekhin
cd59516433
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-01-22 21:29:21 +00:00
shioko
5967acc9ca
fix typo of the word storage
2021-01-17 18:59:20 +00:00
Alexander Alekhin
0105f8fa38
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-11-20 20:32:00 +00:00