highgui_c.h File Reference

#include "opencv2/core/core_c.h"
Include dependency graph for highgui_c.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define CV_FOURCC_DEFAULT   CV_FOURCC('I', 'Y', 'U', 'V')
#define CV_FOURCC_PROMPT   -1
#define cvAddSearchPath(path)
#define cvCaptureFromAVI   cvCaptureFromFile
#define cvCaptureFromCAM   cvCreateCameraCapture
#define cvCaptureFromFile   cvCreateFileCapture
#define cvCreateAVIWriter   cvCreateVideoWriter
#define cvvAddSearchPath   cvAddSearchPath
#define cvvConvertImage   cvConvertImage
#define cvvCreateTrackbar   cvCreateTrackbar
#define cvvDestroyWindow   cvDestroyWindow
#define cvvInitSystem   cvInitSystem
#define cvvLoadImage(name)   cvLoadImage((name),1)
#define cvvNamedWindow   cvNamedWindow
#define cvvResizeWindow   cvResizeWindow
#define cvvSaveImage   cvSaveImage
#define cvvShowImage   cvShowImage
#define cvvWaitKey(name)   cvWaitKey(0)
#define cvvWaitKeyEx(name, delay)   cvWaitKey(delay)
#define cvWriteToAVI   cvWriteFrame
#define HG_AUTOSIZE   CV_WINDOW_AUTOSIZE
#define set_postprocess_func   cvSetPostprocessFuncWin32
#define set_preprocess_func   cvSetPreprocessFuncWin32

Typedefs

typedef void(CV_CDECL * CvButtonCallback )(int state, void *userdata)
typedef struct CvCapture CvCapture
typedef void(CV_CDECL * CvOpenGLCallback )(void *userdata)
typedef void(CV_CDECL * CvTrackbarCallback )(int pos)
typedef void(CV_CDECL * CvTrackbarCallback2 )(int pos, void *userdata)
typedef struct CvVideoWriter CvVideoWriter
typedef int int int flags
typedef int int int void * param
typedef int x
typedef int int y

Enumerations

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_LOAD_IMAGE_UNCHANGED = -1, CV_LOAD_IMAGE_GRAYSCALE = 0, CV_LOAD_IMAGE_COLOR = 1, CV_LOAD_IMAGE_ANYDEPTH = 2,
  CV_LOAD_IMAGE_ANYCOLOR = 4
}
enum  { CV_IMWRITE_JPEG_QUALITY = 1, CV_IMWRITE_PNG_COMPRESSION = 16, CV_IMWRITE_PXM_BINARY = 32 }
enum  { CV_CVTIMG_FLIP = 1, CV_CVTIMG_SWAP_RB = 2 }
enum  {
  CV_CAP_ANY = 0, CV_CAP_MIL = 100, CV_CAP_VFW = 200, CV_CAP_V4L = 200,
  CV_CAP_V4L2 = 200, CV_CAP_FIREWARE = 300, CV_CAP_FIREWIRE = 300, CV_CAP_IEEE1394 = 300,
  CV_CAP_DC1394 = 300, CV_CAP_CMU1394 = 300, CV_CAP_STEREO = 400, CV_CAP_TYZX = 400,
  CV_TYZX_LEFT = 400, CV_TYZX_RIGHT = 401, CV_TYZX_COLOR = 402, CV_TYZX_Z = 403,
  CV_CAP_QT = 500, CV_CAP_UNICAP = 600, CV_CAP_DSHOW = 700, CV_CAP_PVAPI = 800
}
enum  {
  CV_CAP_PROP_POS_MSEC = 0, CV_CAP_PROP_POS_FRAMES = 1, CV_CAP_PROP_POS_AVI_RATIO = 2, CV_CAP_PROP_FRAME_WIDTH = 3,
  CV_CAP_PROP_FRAME_HEIGHT = 4, CV_CAP_PROP_FPS = 5, CV_CAP_PROP_FOURCC = 6, CV_CAP_PROP_FRAME_COUNT = 7,
  CV_CAP_PROP_FORMAT = 8, CV_CAP_PROP_MODE = 9, CV_CAP_PROP_BRIGHTNESS = 10, CV_CAP_PROP_CONTRAST = 11,
  CV_CAP_PROP_SATURATION = 12, CV_CAP_PROP_HUE = 13, CV_CAP_PROP_GAIN = 14, CV_CAP_PROP_EXPOSURE = 15,
  CV_CAP_PROP_CONVERT_RGB = 16, CV_CAP_PROP_WHITE_BALANCE = 17, CV_CAP_PROP_RECTIFICATION = 18, CV_CAP_PROP_MONOCROME = 19
}
enum  {
  CV_FONT_LIGHT = 25, CV_FONT_NORMAL = 50, CV_FONT_DEMIBOLD = 63, CV_FONT_BOLD = 75,
  CV_FONT_BLACK = 87
}
enum  { CV_STYLE_NORMAL = 0, CV_STYLE_ITALIC = 1, CV_STYLE_OBLIQUE = 2 }
enum  { CV_PUSH_BUTTON = 0, CV_CHECKBOX = 1, CV_RADIOBOX = 2 }
enum  {
  CV_WND_PROP_FULLSCREEN = 0, CV_WND_PROP_AUTOSIZE = 1, CV_WND_PROP_ASPECTRATIO = 2, CV_WINDOW_NORMAL = 0x00000000,
  CV_WINDOW_AUTOSIZE = 0x00000001, CV_GUI_EXPANDED = 0x00000000, CV_GUI_NORMAL = 0x00000010, CV_WINDOW_FULLSCREEN = 1,
  CV_WINDOW_FREERATIO = 0x00000100, CV_WINDOW_KEEPRATIO = 0x00000000
}

Functions

int double CvSize int is_color CV_DEFAULT (1))
int iscolor CV_DEFAULT (CV_LOAD_IMAGE_COLOR))
int flags CV_DEFAULT (CV_WINDOW_AUTOSIZE))
CvButtonCallback on_change
void *userdata int button_type 
CV_DEFAULT (CV_PUSH_BUTTON)
CvOpenGLCallback void *userdata CV_DEFAULT (NULL)
int pointSize CvScalar color
int weight int style int
spacing 
CV_DEFAULT (0))
int pointSize CvScalar color
int weight int style 
CV_DEFAULT (CV_STYLE_NORMAL)
int pointSize CvScalar color
int weight 
CV_DEFAULT (CV_FONT_NORMAL)
int pointSize CvScalar color CV_DEFAULT (cvScalarAll(0))
int pointSize CV_DEFAULT (-1)
CV_INLINE int CV_FOURCC (char c1, char c2, char c3, char c4)
 CVAPI (CvVideoWriter *) cvCreateVideoWriter(const char *filename
 CVAPI (CvCapture *) cvCreateFileCapture(const char *filename)
 CVAPI (CvMat *) cvLoadImageM(const char *filename
 CVAPI (IplImage *) cvLoadImage(const char *filename
 CVAPI (const char *) cvGetWindowName(void *window_handle)
 CVAPI (void *) cvGetWindowHandle(const char *name)
 CVAPI (double) cvGetWindowProperty(const char *name
 CVAPI (int) cvStartLoop(int(*pt2Func)(int argc
 CVAPI (void) cvAddText(const CvArr *img
 CVAPI (CvFont) cvFontQt(const char *nameFont
typedef void (CV_CDECL *CvMouseCallback)(int event

Variables

const char CvPoint CvFontarg2
char int argc
char * argv []
CvOpenGLCallback callbackOpenGL
const char int int count
const char int delayms
CvArrdst
int fourcc
int double fps
int double CvSize frame_size
int int height
const CvArrimage
const char int int
CvTrackbarCallback2 
on_change
CvMouseCallback on_mouse
const char CvPoint org
const char int pos
int prop_id
int double prop_value
int property_id
const char * text
const char int * value
int width
const char * window_name

Define Documentation

#define CV_FOURCC_DEFAULT   CV_FOURCC('I', 'Y', 'U', 'V')

Definition at line 354 of file highgui_c.h.

#define CV_FOURCC_PROMPT   -1

Definition at line 353 of file highgui_c.h.

#define cvAddSearchPath ( path   ) 

Definition at line 379 of file highgui_c.h.

#define cvCaptureFromAVI   cvCaptureFromFile

Definition at line 376 of file highgui_c.h.

#define cvCaptureFromCAM   cvCreateCameraCapture

Definition at line 375 of file highgui_c.h.

#define cvCaptureFromFile   cvCreateFileCapture

Definition at line 374 of file highgui_c.h.

#define cvCreateAVIWriter   cvCreateVideoWriter

Definition at line 377 of file highgui_c.h.

#define cvvAddSearchPath   cvAddSearchPath

Definition at line 388 of file highgui_c.h.

#define cvvConvertImage   cvConvertImage

Definition at line 391 of file highgui_c.h.

#define cvvCreateTrackbar   cvCreateTrackbar

Definition at line 385 of file highgui_c.h.

#define cvvDestroyWindow   cvDestroyWindow

Definition at line 384 of file highgui_c.h.

#define cvvInitSystem   cvInitSystem

Definition at line 380 of file highgui_c.h.

#define cvvLoadImage ( name   )     cvLoadImage((name),1)

Definition at line 386 of file highgui_c.h.

#define cvvNamedWindow   cvNamedWindow

Definition at line 381 of file highgui_c.h.

#define cvvResizeWindow   cvResizeWindow

Definition at line 383 of file highgui_c.h.

#define cvvSaveImage   cvSaveImage

Definition at line 387 of file highgui_c.h.

#define cvvShowImage   cvShowImage

Definition at line 382 of file highgui_c.h.

#define cvvWaitKey ( name   )     cvWaitKey(0)

Definition at line 389 of file highgui_c.h.

#define cvvWaitKeyEx ( name,
delay   )     cvWaitKey(delay)

Definition at line 390 of file highgui_c.h.

#define cvWriteToAVI   cvWriteFrame

Definition at line 378 of file highgui_c.h.

#define HG_AUTOSIZE   CV_WINDOW_AUTOSIZE

Definition at line 392 of file highgui_c.h.

#define set_postprocess_func   cvSetPostprocessFuncWin32

Definition at line 394 of file highgui_c.h.

#define set_preprocess_func   cvSetPreprocessFuncWin32

Definition at line 393 of file highgui_c.h.


Typedef Documentation

typedef void(CV_CDECL * CvButtonCallback)(int state, void *userdata)

Definition at line 92 of file highgui_c.h.

typedef struct CvCapture CvCapture

Definition at line 257 of file highgui_c.h.

typedef void(CV_CDECL * CvOpenGLCallback)(void *userdata)

Definition at line 84 of file highgui_c.h.

typedef void(CV_CDECL * CvTrackbarCallback)(int pos)

Definition at line 152 of file highgui_c.h.

typedef void(CV_CDECL * CvTrackbarCallback2)(int pos, void *userdata)

Definition at line 158 of file highgui_c.h.

typedef struct CvVideoWriter CvVideoWriter

Definition at line 346 of file highgui_c.h.

Definition at line 192 of file highgui_c.h.

typedef int int int void* param

Definition at line 192 of file highgui_c.h.

int x

Definition at line 192 of file highgui_c.h.

int int y

Definition at line 192 of file highgui_c.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
CV_EVENT_MOUSEMOVE 
CV_EVENT_LBUTTONDOWN 
CV_EVENT_RBUTTONDOWN 
CV_EVENT_MBUTTONDOWN 
CV_EVENT_LBUTTONUP 
CV_EVENT_RBUTTONUP 
CV_EVENT_MBUTTONUP 
CV_EVENT_LBUTTONDBLCLK 
CV_EVENT_RBUTTONDBLCLK 
CV_EVENT_MBUTTONDBLCLK 

Definition at line 168 of file highgui_c.h.

anonymous enum
Enumerator:
CV_EVENT_FLAG_LBUTTON 
CV_EVENT_FLAG_RBUTTON 
CV_EVENT_FLAG_MBUTTON 
CV_EVENT_FLAG_CTRLKEY 
CV_EVENT_FLAG_SHIFTKEY 
CV_EVENT_FLAG_ALTKEY 

Definition at line 182 of file highgui_c.h.

anonymous enum
Enumerator:
CV_LOAD_IMAGE_UNCHANGED 
CV_LOAD_IMAGE_GRAYSCALE 
CV_LOAD_IMAGE_COLOR 
CV_LOAD_IMAGE_ANYDEPTH 
CV_LOAD_IMAGE_ANYCOLOR 

Definition at line 198 of file highgui_c.h.

anonymous enum
Enumerator:
CV_IMWRITE_JPEG_QUALITY 
CV_IMWRITE_PNG_COMPRESSION 
CV_IMWRITE_PXM_BINARY 

Definition at line 221 of file highgui_c.h.

anonymous enum
Enumerator:
CV_CVTIMG_FLIP 
CV_CVTIMG_SWAP_RB 

Definition at line 240 of file highgui_c.h.

anonymous enum
Enumerator:
CV_CAP_ANY 
CV_CAP_MIL 
CV_CAP_VFW 
CV_CAP_V4L 
CV_CAP_V4L2 
CV_CAP_FIREWARE 
CV_CAP_FIREWIRE 
CV_CAP_IEEE1394 
CV_CAP_DC1394 
CV_CAP_CMU1394 
CV_CAP_STEREO 
CV_CAP_TYZX 
CV_TYZX_LEFT 
CV_TYZX_RIGHT 
CV_TYZX_COLOR 
CV_TYZX_Z 
CV_CAP_QT 
CV_CAP_UNICAP 
CV_CAP_DSHOW 
CV_CAP_PVAPI 

Definition at line 262 of file highgui_c.h.

anonymous enum
Enumerator:
CV_CAP_PROP_POS_MSEC 
CV_CAP_PROP_POS_FRAMES 
CV_CAP_PROP_POS_AVI_RATIO 
CV_CAP_PROP_FRAME_WIDTH 
CV_CAP_PROP_FRAME_HEIGHT 
CV_CAP_PROP_FPS 
CV_CAP_PROP_FOURCC 
CV_CAP_PROP_FRAME_COUNT 
CV_CAP_PROP_FORMAT 
CV_CAP_PROP_MODE 
CV_CAP_PROP_BRIGHTNESS 
CV_CAP_PROP_CONTRAST 
CV_CAP_PROP_SATURATION 
CV_CAP_PROP_HUE 
CV_CAP_PROP_GAIN 
CV_CAP_PROP_EXPOSURE 
CV_CAP_PROP_CONVERT_RGB 
CV_CAP_PROP_WHITE_BALANCE 
CV_CAP_PROP_RECTIFICATION 
CV_CAP_PROP_MONOCROME 

Definition at line 314 of file highgui_c.h.

anonymous enum
Enumerator:
CV_FONT_LIGHT 
CV_FONT_NORMAL 
CV_FONT_DEMIBOLD 
CV_FONT_BOLD 
CV_FONT_BLACK 

Definition at line 62 of file highgui_c.h.

anonymous enum
Enumerator:
CV_STYLE_NORMAL 
CV_STYLE_ITALIC 
CV_STYLE_OBLIQUE 

Definition at line 69 of file highgui_c.h.

anonymous enum
Enumerator:
CV_PUSH_BUTTON 
CV_CHECKBOX 
CV_RADIOBOX 

Definition at line 93 of file highgui_c.h.

anonymous enum
Enumerator:
CV_WND_PROP_FULLSCREEN 
CV_WND_PROP_AUTOSIZE 
CV_WND_PROP_ASPECTRATIO 
CV_WINDOW_NORMAL 
CV_WINDOW_AUTOSIZE 
CV_GUI_EXPANDED 
CV_GUI_NORMAL 
CV_WINDOW_FULLSCREEN 
CV_WINDOW_FREERATIO 
CV_WINDOW_KEEPRATIO 

Definition at line 104 of file highgui_c.h.


Function Documentation

int double CvSize int is_color CV_DEFAULT (  ) 
Type Constraints
int iscolor CV_DEFAULT ( CV_LOAD_IMAGE_COLOR   ) 
int flags CV_DEFAULT ( CV_WINDOW_AUTOSIZE   ) 
CvButtonCallback on_change void* userdata int button_type CV_DEFAULT ( CV_PUSH_BUTTON   ) 
CvOpenGLCallback void* userdata CV_DEFAULT ( NULL   ) 
Type Constraints
int pointSize CvScalar color int weight int style int spacing CV_DEFAULT (  ) 
int pointSize CvScalar color int weight int style CV_DEFAULT ( CV_STYLE_NORMAL   ) 
int pointSize CvScalar color int weight CV_DEFAULT ( CV_FONT_NORMAL   ) 
CvPoint CvScalar CvScalar lo_diff CvScalar up_diff CV_DEFAULT ( cvScalarAll(0)   ) 
int pointSize CV_DEFAULT ( 1  ) 
CV_INLINE int CV_FOURCC ( char  c1,
char  c2,
char  c3,
char  c4 
)

Definition at line 348 of file highgui_c.h.

CVAPI ( CvVideoWriter  )  const
CVAPI ( CvCapture  )  const
CVAPI ( CvMat  )  const
CVAPI ( IplImage  )  const
CVAPI ( const char *   ) 
CVAPI ( void *   )  const
CVAPI ( double   )  const
CVAPI ( int   ) 
CVAPI ( void   )  const
CVAPI ( CvFont   )  const
typedef void ( CV_CDECL *  CvMouseCallback  ) 

Variable Documentation

const char CvPoint CvFont* arg2

Definition at line 79 of file highgui_c.h.

char int argc

Definition at line 89 of file highgui_c.h.

char ** argv

Definition at line 89 of file highgui_c.h.

Definition at line 85 of file highgui_c.h.

const char int int count

Definition at line 155 of file highgui_c.h.

const char int delayms

Definition at line 81 of file highgui_c.h.

Definition at line 247 of file highgui_c.h.

int fourcc

Definition at line 357 of file highgui_c.h.

int double fps

Definition at line 357 of file highgui_c.h.

int double CvSize frame_size

Definition at line 357 of file highgui_c.h.

int int height

Definition at line 136 of file highgui_c.h.

const IplImage * image

Definition at line 133 of file highgui_c.h.

const char int int CvTrackbarCallback2 on_change

Definition at line 160 of file highgui_c.h.

CvMouseCallback on_mouse

Definition at line 195 of file highgui_c.h.

const char CvPoint org

Definition at line 79 of file highgui_c.h.

const char int pos

Definition at line 166 of file highgui_c.h.

int prop_id

Definition at line 129 of file highgui_c.h.

int double prop_value

Definition at line 129 of file highgui_c.h.

Definition at line 339 of file highgui_c.h.

const char* text

Definition at line 79 of file highgui_c.h.

int double value

Definition at line 155 of file highgui_c.h.

int width

Definition at line 136 of file highgui_c.h.

const char * window_name

Definition at line 155 of file highgui_c.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


opencv2
Author(s): Gary Bradski and many others. See web page for a full contributor list. ROS package maintained by James Bowman.
autogenerated on Fri Jan 11 10:00:44 2013