mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Merge branch '4.x' into '5.x'
This commit is contained in:
@@ -366,6 +366,11 @@ for image display). **waitKey(25)** will display a frame and wait approximately
|
||||
press (suitable for displaying a video frame-by-frame). To remove the window, use cv::destroyWindow.
|
||||
|
||||
@note [__Windows Backend Only__] Pressing Ctrl+C will copy the image to the clipboard. Pressing Ctrl+S will show a dialog to save the image.
|
||||
@note [__Wayland Backend Only__] Supoorting format is extended.
|
||||
- If the image is 8-bit signed, the pixels are biased by 128. That is, the
|
||||
value range [-128,127] is mapped to [0,255].
|
||||
- If the image is 16-bit signed, the pixels are divided by 256 and biased by 128. That is, the
|
||||
value range [-32768,32767] is mapped to [0,255].
|
||||
|
||||
@param winname Name of the window.
|
||||
@param mat Image to be shown.
|
||||
@@ -394,6 +399,8 @@ CV_EXPORTS_W void resizeWindow(const String& winname, const cv::Size& size);
|
||||
@param winname Name of the window.
|
||||
@param x The new x-coordinate of the window.
|
||||
@param y The new y-coordinate of the window.
|
||||
|
||||
@note [__Wayland Backend Only__] This function is not supported by the Wayland protocol limitation.
|
||||
*/
|
||||
CV_EXPORTS_W void moveWindow(const String& winname, int x, int y);
|
||||
|
||||
@@ -404,6 +411,8 @@ The function setWindowProperty enables changing properties of a window.
|
||||
@param winname Name of the window.
|
||||
@param prop_id Window property to edit. The supported operation flags are: (cv::WindowPropertyFlags)
|
||||
@param prop_value New value of the window property. The supported flags are: (cv::WindowFlags)
|
||||
|
||||
@note [__Wayland Backend Only__] This function is not supported.
|
||||
*/
|
||||
CV_EXPORTS_W void setWindowProperty(const String& winname, int prop_id, double prop_value);
|
||||
|
||||
@@ -421,6 +430,8 @@ The function getWindowProperty returns properties of a window.
|
||||
@param prop_id Window property to retrieve. The following operation flags are available: (cv::WindowPropertyFlags)
|
||||
|
||||
@sa setWindowProperty
|
||||
|
||||
@note [__Wayland Backend Only__] This function is not supported.
|
||||
*/
|
||||
CV_EXPORTS_W double getWindowProperty(const String& winname, int prop_id);
|
||||
|
||||
@@ -431,6 +442,8 @@ The function getWindowImageRect returns the client screen coordinates, width and
|
||||
@param winname Name of the window.
|
||||
|
||||
@sa resizeWindow moveWindow
|
||||
|
||||
@note [__Wayland Backend Only__] This function is not supported by the Wayland protocol limitation.
|
||||
*/
|
||||
CV_EXPORTS_W Rect getWindowImageRect(const String& winname);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user