Constructor Window
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Window()
Creates a window with a random name
public Window()
Window(string, Mat?, WindowFlags)
Creates a window
public Window(string name, Mat? image = null, WindowFlags flags = WindowFlags.AutoSize)
Parameters
namestringName of the window which is used as window identifier and appears in the window caption.
imageMatImage to be shown.
flagsWindowFlagsFlags of the window. Currently the only supported flag is WindowMode.AutoSize. If it is set, window size is automatically adjusted to fit the displayed image (see cvShowImage), while user can not change the window size manually.