Window class
Window is a wrapper around OpenCV's "HighGUI" named windows. While OpenCV was designed for use in full-scale applications and can be used within functionally rich UI frameworks (such as Qt*, WinForms*, or Cocoa*) or without any UI at all, sometimes there it is required to try functionality quickly and visualize the results. This is what the HighGUI module has been designed for.
For further details, please see: http://docs.opencv.org/master/d7/dfc/group__highgui.html
Properties
Methods
-
close(
) → void -
getWindowProperty(
WindowPropertyFlags flag) → double - getWindowProperty returns properties of a window.
-
imshow(
Mat img) → void - IMShow displays an image Mat in the specified window. This function should be followed by the WaitKey function which displays the image for specified milliseconds. Otherwise, it won't display the image.
-
moveWindow(
int x, int y) → void - MoveWindow moves window to the specified position.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resizeWindow(
int width, int height) → void - ResizeWindow resizes window to the specified size.
-
selectROI(
Mat img) → Rect - SelectROI selects a Region Of Interest (ROI) on the given image. It creates a window and allows user to select a ROI cvRunArena mouse.
-
selectROIs(
Mat img) → VecRect - SelectROIs selects multiple Regions Of Interest (ROI) on the given image. It creates a window and allows user to select ROIs cvRunArena mouse.
-
setWindowProperty(
WindowPropertyFlags flag, double value) → void - setWindowProperty changes parameters of a window dynamically.
-
setWindowTitle(
String title) → void - SetWindowTitle updates window title.
-
toString(
) → String -
A string representation of this object.
inherited
-
waitKey(
int delay) → int - WaitKey waits for a pressed key. This function is the only method in OpenCV's HighGUI that can fetch and handle events, so it needs to be called periodically for normal event processing
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited