Click or drag to resize

Window Constructor (WindowMode, Mat)

Creates a window with a specified image and flag

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public Window(
	WindowMode flags,
	Mat image
)

Parameters

flags
Type: OpenCvSharpWindowMode
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.
image
Type: OpenCvSharpMat
See Also