Classes
Namespaces
"black box" representation of the file storage associated with a file on disk.
Typedefs
typedef void(*
cv::MouseCallback) (int event, int x, int y, int flags, void *userdata)
Enumerations
enum
cv::MouseEventTypes {
cv::EVENT_MOUSEMOVE = 0,
cv::EVENT_LBUTTONDOWN = 1,
cv::EVENT_RBUTTONDOWN = 2,
cv::EVENT_MBUTTONDOWN = 3,
cv::EVENT_LBUTTONUP = 4,
cv::EVENT_RBUTTONUP = 5,
cv::EVENT_MBUTTONUP = 6,
cv::EVENT_LBUTTONDBLCLK = 7,
cv::EVENT_RBUTTONDBLCLK = 8,
cv::EVENT_MBUTTONDBLCLK = 9,
cv::EVENT_MOUSEWHEEL = 10,
cv::EVENT_MOUSEHWHEEL = 11
}
Functions
void
cv::addText (const Mat &img, const String &text, Point org, const QtFont &font)
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)
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.
More...
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.
More...
Destroys all of the HighGUI windows.
More...
Destroys the specified window.
More...
Displays a text on a window image as an overlay for a specified duration.
More...
Displays a text on the window statusbar during the specified period of time.
More...
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.
More...
Returns the trackbar position.
More...
Provides rectangle of image in the window.
More...
Provides parameters of a window.
More...
void
cv::imshow (const String &winname, InputArray mat)
Displays an image in the specified window.
More...
void
cv::imshow (const String &winname, const ogl::Texture2D &tex)
Displays OpenGL 2D texture in the specified window.
More...
Loads parameters of the specified window.
More...
Moves window to the specified position.
More...
Resizes window to the specified size.
More...
Saves parameters of the specified window.
More...
Rect
cv::selectROI (const String &windowName, InputArray img, bool showCrosshair=true, bool fromCenter=false)
Selects ROI on the given image. Function creates a window and allows user to select a ROI using mouse. Controls: use
space or
enter to finish selection, use key
c to cancel selection (function will return the zero
cv::Rect).
More...
Rect
cv::selectROI (InputArray img, bool showCrosshair=true, bool fromCenter=false)
void
cv::selectROIs (const String &windowName, InputArray img, std::vector< Rect > &boundingBoxes, bool showCrosshair=true, bool fromCenter=false)
Selects ROIs on the given image. Function creates a window and allows user to select a ROIs using mouse. Controls: use
space or
enter to finish current selection and start a new one, use
esc to terminate multiple ROI selection process.
More...
Sets mouse handler for the specified window.
More...
Sets the specified window as current OpenGL context.
More...
Sets a callback function to be called to draw on top of displayed image.
More...
Sets the trackbar maximum position.
More...
Sets the trackbar minimum position.
More...
Sets the trackbar position.
More...
Changes parameters of a window dynamically.
More...
int
cv::startLoop (int(*pt2Func)(int argc, char *argv[]), int argc, char *argv[])