OpenCV  2.4.13
Open Source Computer Vision
highgui/highgui.hpp File Reference

Classes

class  cv::VideoCapture
 
class  cv::VideoWriter
 

Namespaces

 cv
 

Typedefs

typedef void(* cv::MouseCallback) (int event, int x, int y, int flags, void *userdata)
 
typedef void(CV_CDECLcv::TrackbarCallback) (int pos, void *userdata)
 
typedef void(* cv::OpenGlDrawCallback) (void *userdata)
 
typedef void(CV_CDECLcv::ButtonCallback) (int state, void *userdata)
 

Enumerations

enum  {
  cv::WINDOW_NORMAL = CV_WINDOW_NORMAL, cv::WINDOW_AUTOSIZE = CV_WINDOW_AUTOSIZE, cv::WINDOW_OPENGL = CV_WINDOW_OPENGL, cv::WND_PROP_FULLSCREEN = CV_WND_PROP_FULLSCREEN,
  cv::WND_PROP_AUTOSIZE = CV_WND_PROP_AUTOSIZE, cv::WND_PROP_ASPECT_RATIO = CV_WND_PROP_ASPECTRATIO, cv::WND_PROP_OPENGL = CV_WND_PROP_OPENGL
}
 
enum  {
  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
}
 
enum  {
  cv::EVENT_FLAG_LBUTTON =1, cv::EVENT_FLAG_RBUTTON =2, cv::EVENT_FLAG_MBUTTON =4, cv::EVENT_FLAG_CTRLKEY =8,
  cv::EVENT_FLAG_SHIFTKEY =16, cv::EVENT_FLAG_ALTKEY =32
}
 
enum  {
  cv::IMREAD_UNCHANGED =-1, cv::IMREAD_GRAYSCALE =0, cv::IMREAD_COLOR =1, cv::IMREAD_ANYDEPTH =2,
  cv::IMREAD_ANYCOLOR =4
}
 
enum  {
  cv::IMWRITE_JPEG_QUALITY =1, cv::IMWRITE_PNG_COMPRESSION =16, cv::IMWRITE_PNG_STRATEGY =17, cv::IMWRITE_PNG_BILEVEL =18,
  cv::IMWRITE_PNG_STRATEGY_DEFAULT =0, cv::IMWRITE_PNG_STRATEGY_FILTERED =1, cv::IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY =2, cv::IMWRITE_PNG_STRATEGY_RLE =3,
  cv::IMWRITE_PNG_STRATEGY_FIXED =4, cv::IMWRITE_PXM_BINARY =32
}
 

Functions

void cv::namedWindow (const string &winname, int flags=WINDOW_AUTOSIZE)
 
void cv::destroyWindow (const string &winname)
 
void cv::destroyAllWindows ()
 
int cv::startWindowThread ()
 
int cv::waitKey (int delay=0)
 
void cv::imshow (const string &winname, InputArray mat)
 
void cv::resizeWindow (const string &winname, int width, int height)
 
void cv::moveWindow (const string &winname, int x, int y)
 
void cv::setWindowProperty (const string &winname, int prop_id, double prop_value)
 
double cv::getWindowProperty (const string &winname, int prop_id)
 
void cv::setMouseCallback (const string &winname, MouseCallback onMouse, void *userdata=0)
 assigns callback for mouse events More...
 
int cv::createTrackbar (const string &trackbarname, const string &winname, int *value, int count, TrackbarCallback onChange=0, void *userdata=0)
 
int cv::getTrackbarPos (const string &trackbarname, const string &winname)
 
void cv::setTrackbarPos (const string &trackbarname, const string &winname, int pos)
 
void cv::setOpenGlDrawCallback (const string &winname, OpenGlDrawCallback onOpenGlDraw, void *userdata=0)
 
void cv::setOpenGlContext (const string &winname)
 
void cv::updateWindow (const string &winname)
 
void cv::pointCloudShow (const string &winname, const GlCamera &camera, const GlArrays &arr)
 
void cv::pointCloudShow (const string &winname, const GlCamera &camera, InputArray points, InputArray colors=noArray())
 
CvFont cv::fontQt (const string &nameFont, int pointSize=-1, Scalar color=Scalar::all(0), int weight=CV_FONT_NORMAL, int style=CV_STYLE_NORMAL, int spacing=0)
 
void cv::addText (const Mat &img, const string &text, Point org, CvFont font)
 
void cv::displayOverlay (const string &winname, const string &text, int delayms CV_DEFAULT(0))
 
void cv::displayStatusBar (const string &winname, const string &text, int delayms CV_DEFAULT(0))
 
void cv::saveWindowParameters (const string &windowName)
 
void cv::loadWindowParameters (const string &windowName)
 
int cv::startLoop (int(*pt2Func)(int argc, char *argv[]), int argc, char *argv[])
 
void cv::stopLoop ()
 
int cv::createButton (const string &bar_name, ButtonCallback on_change, void *userdata=NULL, int type=CV_PUSH_BUTTON, bool initial_button_state=0)
 
Mat cv::imread (const string &filename, int flags=1)
 
bool cv::imwrite (const string &filename, InputArray img, const vector< int > &params=vector< int >())
 
Mat cv::imdecode (InputArray buf, int flags)
 
Mat cv::imdecode (InputArray buf, int flags, Mat *dst)
 
bool cv::imencode (const string &ext, InputArray img, CV_OUT vector< uchar > &buf, const vector< int > &params=vector< int >())