Table of Contents

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

name string

Name of the window which is used as window identifier and appears in the window caption.

image Mat

Image to be shown.

flags WindowFlags

Flags 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.