opencv2/highgui.hpp#

#include <opencv2/core.hpp>

Include dependency graph for highgui.hpp:

opencv2/highgui.hpp Node1 opencv2/highgui.hpp Node2 opencv2/core.hpp Node1->Node2 Node3 opencv2/core/cvdef.h Node2->Node3 Node10 opencv2/core/base.hpp Node2->Node10 Node14 opencv2/core/cvstd.hpp Node2->Node14 Node30 opencv2/core/traits.hpp Node2->Node30 Node31 opencv2/core/matx.hpp Node2->Node31 Node36 opencv2/core/types.hpp Node2->Node36 Node39 opencv2/core/mat.hpp Node2->Node39 Node43 opencv2/core/persistence.hpp Node2->Node43 Node44 opencv2/core/operations.hpp Node2->Node44 Node47 opencv2/core/cvstd.inl.hpp Node2->Node47 Node48 opencv2/core/utility.hpp Node2->Node48 Node51 opencv2/core/optim.hpp Node2->Node51 Node4 opencv2/core/version.hpp Node3->Node4 Node5 limits Node3->Node5 Node6 opencv2/core/hal/interface.h Node3->Node6 Node8 cstdint Node3->Node8 Node9 cv_cpu_dispatch.h Node3->Node9 Node7 cstddef Node6->Node7 Node6->Node8 Node10->Node3 Node11 opencv2/opencv_modules.hpp Node10->Node11 Node12 climits Node10->Node12 Node13 algorithm Node10->Node13 Node10->Node14 Node24 opencv2/core/fwddecl.hpp Node10->Node24 Node25 opencv2/core/neon_utils.hpp Node10->Node25 Node26 opencv2/core/vsx_utils.hpp Node10->Node26 Node28 opencv2/core/exception.hpp Node10->Node28 Node29 opencv2/core/check.hpp Node10->Node29 Node14->Node3 Node14->Node7 Node14->Node13 Node15 cstring Node14->Node15 Node16 cctype Node14->Node16 Node17 string Node14->Node17 Node18 utility Node14->Node18 Node19 cstdlib Node14->Node19 Node20 cmath Node14->Node20 Node21 cvstd_wrapper.hpp Node14->Node21 Node21->Node3 Node21->Node17 Node22 memory Node21->Node22 Node23 type_traits Node21->Node23 Node24->Node3 Node25->Node3 Node26->Node3 Node27 assert.h Node26->Node27 Node28->Node3 Node28->Node14 Node29->Node3 Node29->Node14 Node29->Node24 Node30->Node3 Node31->Node3 Node31->Node10 Node31->Node30 Node32 opencv2/core/saturate.hpp Node31->Node32 Node34 initializer_list Node31->Node34 Node35 opencv2/core/matx.inl.hpp Node31->Node35 Node32->Node3 Node32->Node12 Node33 opencv2/core/fast_math.hpp Node32->Node33 Node33->Node3 Node33->Node20 Node36->Node3 Node36->Node5 Node36->Node12 Node36->Node14 Node36->Node31 Node37 cfloat Node36->Node37 Node38 vector Node36->Node38 Node39->Node23 Node39->Node31 Node39->Node36 Node40 opencv2/core/bufferpool.hpp Node39->Node40 Node41 array Node39->Node41 Node42 opencv2/core/mat.inl.hpp Node39->Node42 Node43->Node36 Node43->Node39 Node45 cstdio Node44->Node45 Node46 ostream Node44->Node46 Node48->Node2 Node48->Node46 Node49 functional Node48->Node49 Node50 mutex Node48->Node50 Node51->Node2

opencv2/highgui.hpp Node1 opencv2/highgui.hpp Node2 opencv2/core.hpp Node1->Node2 Node3 opencv2/core/cvdef.h Node2->Node3 Node10 opencv2/core/base.hpp Node2->Node10 Node14 opencv2/core/cvstd.hpp Node2->Node14 Node30 opencv2/core/traits.hpp Node2->Node30 Node31 opencv2/core/matx.hpp Node2->Node31 Node36 opencv2/core/types.hpp Node2->Node36 Node39 opencv2/core/mat.hpp Node2->Node39 Node43 opencv2/core/persistence.hpp Node2->Node43 Node44 opencv2/core/operations.hpp Node2->Node44 Node47 opencv2/core/cvstd.inl.hpp Node2->Node47 Node48 opencv2/core/utility.hpp Node2->Node48 Node51 opencv2/core/optim.hpp Node2->Node51 Node4 opencv2/core/version.hpp Node3->Node4 Node5 limits Node3->Node5 Node6 opencv2/core/hal/interface.h Node3->Node6 Node8 cstdint Node3->Node8 Node9 cv_cpu_dispatch.h Node3->Node9 Node7 cstddef Node6->Node7 Node6->Node8 Node10->Node3 Node11 opencv2/opencv_modules.hpp Node10->Node11 Node12 climits Node10->Node12 Node13 algorithm Node10->Node13 Node10->Node14 Node24 opencv2/core/fwddecl.hpp Node10->Node24 Node25 opencv2/core/neon_utils.hpp Node10->Node25 Node26 opencv2/core/vsx_utils.hpp Node10->Node26 Node28 opencv2/core/exception.hpp Node10->Node28 Node29 opencv2/core/check.hpp Node10->Node29 Node14->Node3 Node14->Node7 Node14->Node13 Node15 cstring Node14->Node15 Node16 cctype Node14->Node16 Node17 string Node14->Node17 Node18 utility Node14->Node18 Node19 cstdlib Node14->Node19 Node20 cmath Node14->Node20 Node21 cvstd_wrapper.hpp Node14->Node21 Node21->Node3 Node21->Node17 Node22 memory Node21->Node22 Node23 type_traits Node21->Node23 Node24->Node3 Node25->Node3 Node26->Node3 Node27 assert.h Node26->Node27 Node28->Node3 Node28->Node14 Node29->Node3 Node29->Node14 Node29->Node24 Node30->Node3 Node31->Node3 Node31->Node10 Node31->Node30 Node32 opencv2/core/saturate.hpp Node31->Node32 Node34 initializer_list Node31->Node34 Node35 opencv2/core/matx.inl.hpp Node31->Node35 Node32->Node3 Node32->Node12 Node33 opencv2/core/fast_math.hpp Node32->Node33 Node33->Node3 Node33->Node20 Node36->Node3 Node36->Node5 Node36->Node12 Node36->Node14 Node36->Node31 Node37 cfloat Node36->Node37 Node38 vector Node36->Node38 Node39->Node23 Node39->Node31 Node39->Node36 Node40 opencv2/core/bufferpool.hpp Node39->Node40 Node41 array Node39->Node41 Node42 opencv2/core/mat.inl.hpp Node39->Node42 Node43->Node36 Node43->Node39 Node45 cstdio Node44->Node45 Node46 ostream Node44->Node46 Node48->Node2 Node48->Node46 Node49 functional Node48->Node49 Node50 mutex Node48->Node50 Node51->Node2

This graph shows which files directly or indirectly include highgui.hpp:

incby n1d78e53c25 opencv2/cnn_3dobj.hpp n6f0202dfc2 opencv2/highgui.hpp n1d78e53c25->n6f0202dfc2 n14a6584a6f opencv2/highgui/highgui.hpp n14a6584a6f->n6f0202dfc2 n7a8ad14552 opencv2/ccalib/multicalib.hpp n0c1cc1d65f opencv2/ccalib/randpattern.hpp n7a8ad14552->n0c1cc1d65f n0c1cc1d65f->n6f0202dfc2

incby n1d78e53c25 opencv2/cnn_3dobj.hpp n6f0202dfc2 opencv2/highgui.hpp n1d78e53c25->n6f0202dfc2 n14a6584a6f opencv2/highgui/highgui.hpp n14a6584a6f->n6f0202dfc2 n7a8ad14552 opencv2/ccalib/multicalib.hpp n0c1cc1d65f opencv2/ccalib/randpattern.hpp n7a8ad14552->n0c1cc1d65f n0c1cc1d65f->n6f0202dfc2

Classes#

struct cv::QtFont

QtFont available only for Qt. See cv::fontQt. More…

Namespaces#

namespace cv

Enumerations#

enum cv::QtButtonTypes {
QT_PUSH_BUTTON = 0,
QT_CHECKBOX = 1,
QT_RADIOBOX = 2,
QT_NEW_BUTTONBAR = 1024
}

Qt “button” type. More…

enum cv::QtFontStyles {
QT_STYLE_NORMAL = 0,
QT_STYLE_ITALIC = 1,
QT_STYLE_OBLIQUE = 2
}

Qt font style. More…

enum cv::QtFontWeights {
QT_FONT_LIGHT = 25,
QT_FONT_NORMAL = 50,
QT_FONT_DEMIBOLD = 63,
QT_FONT_BOLD = 75,
QT_FONT_BLACK = 87
}

Qt font weight. More…

enum cv::MouseEventFlags {
EVENT_FLAG_LBUTTON = 1,
EVENT_FLAG_RBUTTON = 2,
EVENT_FLAG_MBUTTON = 4,
EVENT_FLAG_CTRLKEY = 8,
EVENT_FLAG_SHIFTKEY = 16,
EVENT_FLAG_ALTKEY = 32
}

Mouse Event Flags see cv::MouseCallback. More…

enum cv::MouseEventTypes {
EVENT_MOUSEMOVE = 0,
EVENT_LBUTTONDOWN = 1,
EVENT_RBUTTONDOWN = 2,
EVENT_MBUTTONDOWN = 3,
EVENT_LBUTTONUP = 4,
EVENT_RBUTTONUP = 5,
EVENT_MBUTTONUP = 6,
EVENT_LBUTTONDBLCLK = 7,
EVENT_RBUTTONDBLCLK = 8,
EVENT_MBUTTONDBLCLK = 9,
EVENT_MOUSEWHEEL = 10,
EVENT_MOUSEHWHEEL = 11
}

Mouse Events see cv::MouseCallback. More…

enum cv::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
}

Flags for cv::namedWindow. More…

enum cv::WindowPropertyFlags {
WND_PROP_FULLSCREEN = 0,
WND_PROP_AUTOSIZE = 1,
WND_PROP_ASPECT_RATIO = 2,
WND_PROP_OPENGL = 3,
WND_PROP_VISIBLE = 4,
WND_PROP_TOPMOST = 5,
WND_PROP_VSYNC = 6
}

Flags for cv::setWindowProperty / cv::getWindowProperty. More…

Functions#

int cv::createTrackbar (const String &trackbarname, const String &winname, int *value, int count, TrackbarCallback onChange=0, void *userdata=0)

Creates a trackbar and attaches it to the specified window.

const std::string cv::currentUIFramework ()

HighGUI backend used.

void cv::destroyAllWindows ()

Destroys all of the HighGUI windows.

void cv::destroyWindow (const String &winname)

Destroys the specified window.

int cv::getMouseWheelDelta (int flags)

Gets the mouse-wheel motion delta, when handling mouse-wheel events cv::EVENT_MOUSEWHEEL and cv::EVENT_MOUSEHWHEEL.

int cv::getTrackbarPos (const String &trackbarname, const String &winname)

Returns the trackbar position.

Rect cv::getWindowImageRect (const String &winname)

Provides rectangle of image in the window.

double cv::getWindowProperty (const String &winname, int prop_id)

Provides parameters of a window.

void cv::imshow (const String &winname, InputArray mat)

Displays an image in the specified window.

void cv::moveWindow (const String &winname, int x, int y)

Moves the window to the specified position.

void cv::namedWindow (const String &winname, int flags=WINDOW_AUTOSIZE)

Creates a window.

int cv::pollKey ()

Polls for a pressed key.

void cv::resizeWindow (const String &winname, const cv::Size &size)
void cv::resizeWindow (const String &winname, int width, int height)

Resizes the window to the specified size.

Rect cv::selectROI (const String &windowName, InputArray img, bool showCrosshair=true, bool fromCenter=false, bool printNotice=true)

Allows users to select a ROI on the given image.

Rect cv::selectROI (InputArray img, bool showCrosshair=true, bool fromCenter=false, bool printNotice=true)
void cv::selectROIs (const String &windowName, InputArray img, std::vector< Rect > &boundingBoxes, bool showCrosshair=true, bool fromCenter=false, bool printNotice=true)

Allows users to select multiple ROIs on the given image.

void cv::setMouseCallback (const String &winname, MouseCallback onMouse, void *userdata=0)

Sets mouse handler for the specified window.

void cv::setTrackbarMax (const String &trackbarname, const String &winname, int maxval)

Sets the trackbar maximum position.

void cv::setTrackbarMin (const String &trackbarname, const String &winname, int minval)

Sets the trackbar minimum position.

void cv::setTrackbarPos (const String &trackbarname, const String &winname, int pos)

Sets the trackbar position.

void cv::setWindowProperty (const String &winname, int prop_id, double prop_value)

Changes parameters of a window dynamically.

void cv::setWindowTitle (const String &winname, const String &title)

Updates window title.

int cv::startWindowThread ()
int cv::waitKey (int delay=0)

Waits for a pressed key.

int cv::waitKeyEx (int delay=0)

Similar to waitKey, but returns full key code.

void cv::imshow (const String &winname, const ogl::Texture2D &tex)

Displays OpenGL 2D texture in the specified window.

void cv::setOpenGlContext (const String &winname)

Sets the specified window as current OpenGL context.

void cv::setOpenGlDrawCallback (const String &winname, OpenGlDrawCallback onOpenGlDraw, void *userdata=0)

Sets a callback function to be called to draw on top of displayed image.

void cv::updateWindow (const String &winname)

Force window to redraw its context and call draw callback ( See cv::setOpenGlDrawCallback ).

void cv::addText (const Mat &img, const String &text, Point org, const QtFont &font)

Draws a text on the image.

void cv::addText (const Mat &img, const String &text, Point org, const String &nameFont, int pointSize=-1, Scalar color=Scalar::all(0), int weight=QT_FONT_NORMAL, int style=QT_STYLE_NORMAL, int spacing=0)

Draws a text on the image.

int cv::createButton (const String &bar_name, ButtonCallback on_change, void *userdata=0, int type=QT_PUSH_BUTTON, bool initial_button_state=false)

Attaches a button to the control panel.

void cv::displayOverlay (const String &winname, const String &text, int delayms=0)

Displays a text on a window image as an overlay for a specified duration.

void cv::displayStatusBar (const String &winname, const String &text, int delayms=0)

Displays a text on the window statusbar during the specified period of time.

QtFont cv::fontQt (const String &nameFont, int pointSize=-1, Scalar color=Scalar::all(0), int weight=QT_FONT_NORMAL, int style=QT_STYLE_NORMAL, int spacing=0)

Creates the font to draw a text on an image.

void cv::loadWindowParameters (const String &windowName)

Loads parameters of the specified window.

void cv::saveWindowParameters (const String &windowName)

Saves parameters of the specified window.

int cv::startLoop (int(*pt2Func)(int argc, char *argv[]), int argc, char *argv[])
void cv::stopLoop ()