enum cv::WindowFlags

Overview

Flags for cv::namedWindow. Moreā€¦

#include <highgui.hpp>

enum WindowFlags
{
    WINDOW_NORMAL       = 0x00000000,
    WINDOW_AUTOSIZE     = 0x00000001,
    WINDOW_OPENGL       = 0x00001000,
    WINDOW_FULLSCREEN   = 1,
    WINDOW_FREERATIO    = 0x00000100,
    WINDOW_KEEPRATIO    = 0x00000000,
    WINDOW_GUI_EXPANDED =0x00000000,
    WINDOW_GUI_NORMAL   = 0x00000010,
};

Detailed Documentation

Flags for cv::namedWindow.

Enum Values

WINDOW_NORMAL

the user can resize the window (no constraint) / also use to switch a fullscreen window to a normal size.

WINDOW_AUTOSIZE

the user cannot resize the window, the size is constrainted by the image displayed.

WINDOW_OPENGL

window with opengl support.

WINDOW_FULLSCREEN

change the window to fullscreen.

WINDOW_FREERATIO

the image expends as much as it can (no ratio constraint).

WINDOW_KEEPRATIO

the ratio of the image is respected.

WINDOW_GUI_EXPANDED

status bar and tool bar

WINDOW_GUI_NORMAL

old fashious way