亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? opencvref_highgui.htm

?? OpenCV1.0 + C++Builder6 example of finding coners programm. Highlites coners it found in frame.
?? HTM
?? 第 1 頁 / 共 2 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html><head>
<link rel="STYLESHEET" href="opencvref.css" charset="ISO-8859-1" type="text/css">
<title>OpenCV: HighGUI Reference Manual</title>
</head><body>

<h1>HighGUI Reference Manual</h1>

<hr><ul>
<li><a href="#highgui_gui">Simple GUI</a>
<li><a href="#highgui_loadsave">Loading and Saving Images</a>
<li><a href="#highgui_video">Video I/O</a>
<li><a href="#highgui_utils">Utility and System Functions</a>
<li><a href="#highgui_func_index">Alphabetical List of Functions</a>
</ul>


<hr><h2><a name="highgui_overview">HighGUI overview</a></h2>

<p>TODO</p>

<hr><h2><a name="highgui_gui">Simple GUI</a></h2>

<hr><h3><a name="decl_cvNamedWindow">cvNamedWindow</a></h3>
<p class="Blurb">Creates window</p>
<pre>
int cvNamedWindow( const char* name, int flags=CV_WINDOW_AUTOSIZE );
</pre><dl>
<dt>name<dd>Name of the window which is used as window identifier and appears in
the window caption.
<dt>flags<dd>Flags of the window. Currently the only
supported flag is <code>CV_WINDOW_AUTOSIZE</code>. If it is set,
window size is automatically adjusted to fit the displayed image
(see <a href="#decl_cvShowImage">cvShowImage</a>), while user can not change
the window size manually.
</dl><p>
The function <code>cvNamedWindow</code>
creates a window which can be used as a placeholder for images and trackbars.
Created windows are reffered by their names.
</p><p>
If the window with such a name already exists, the function does nothing.</p>


<hr><h3><a name="decl_cvDestroyWindow">cvDestroyWindow</a></h3>
<p class="Blurb">Destroys a window</p>
<pre>
void cvDestroyWindow( const char* name );
</pre><dl>
<dt>name<dd>Name of the window to be destroyed.
</dl>
<p>
The function <code>cvDestroyWindow</code>
destroys the window with a given name.
</p>


<hr><h3><a name="decl_cvDestroyAllWindows">cvDestroyAllWindows</a></h3>
<p class="Blurb">Destroys all the HighGUI windows</p>
<pre>
void cvDestroyAllWindows(void);
</pre>
<p>
The function <code>cvDestroyAllWindows</code>
destroys all the opened HighGUI windows.
</p>


<hr><h3><a name="decl_cvResizeWindow">cvResizeWindow</a></h3>
<p class="Blurb">Sets window size</p>
<pre>
void cvResizeWindow( const char* name, int width, int height );
</pre><dl>
<dt>name<dd>Name of the window to be resized.
<dt>width<dd>New width
<dt>height<dd>New height
</dl><p>
The function <code>cvResizeWindow</code> changes size of the window.
</p>


<hr><h3><a name="decl_cvMoveWindow">cvMoveWindow</a></h3>
<p class="Blurb">Sets window position</p>
<pre>
void cvMoveWindow( const char* name, int x, int y );
</pre><dl>
<dt>name<dd>Name of the window to be resized.
<dt>x<dd>New x coordinate of top-left corner
<dt>y<dd>New y coordinate of top-left corner
</dl><p>
The function <code>cvMoveWindow</code> changes position of the window.
</p>


<hr><h3><a name="decl_cvGetWindowHandle">cvGetWindowHandle</a></h3>
<p class="Blurb">Gets window handle by name</p>
<pre>
void* cvGetWindowHandle( const char* name );
</pre><dl>
<dt>name<dd>Name of the window.
</dl><p>
The function <code>cvGetWindowHandle</code>
returns native window handle (HWND in case of Win32 and GtkWidget in case of GTK+).
</p>


<hr><h3><a name="decl_cvGetWindowName">cvGetWindowName</a></h3>
<p class="Blurb">Gets window name by handle</p>
<pre>
const char* cvGetWindowName( void* window_handle );
</pre><dl>
<dt>window_handle<dd>Handle of the window.
</dl><p>
The function <code>cvGetWindowName</code>
returns the name of window given its native handle
(HWND in case of Win32 and GtkWidget in case of GTK+).
</p>


<hr>
<h3><a name="decl_cvShowImage">cvShowImage</a></h3>
<p class="Blurb">Shows the image in the specified window</p>
<pre>
void cvShowImage( const char* name, const CvArr* image );
</pre><dl>
<dt>name<dd>Name of the window.
<dt>image<dd>Image to be shown.
</dl><p>
The function <code>cvShowImage</code>
shows the image in the specified window. If the window was created with <code>CV_WINDOW_AUTOSIZE</code>
flag then the image is shown with its original size, otherwise
the image is scaled to fit the window.
</p>


<hr><h3><a name="decl_cvCreateTrackbar">cvCreateTrackbar</a></h3>
<p class="Blurb">Creates the trackbar and attaches it to the specified window</p>
<pre>
CV_EXTERN_C_FUNCPTR( void (*CvTrackbarCallback)(int pos) );

int cvCreateTrackbar( const char* trackbar_name, const char* window_name,
                      int* value, int count, CvTrackbarCallback on_change );
</pre><dl>
<dt>trackbar_name<dd>Name of created trackbar.
<dt>window_name<dd>Name of the window which will e used as a parent for created trackbar.
<dt>value<dd>Pointer to the integer variable, which value will reflect the position of the slider.
  Upon the creation the slider position is defined by this variable.
<dt>count<dd>Maximal position of the slider. Minimal position is always 0.
<dt>on_change<dd>Pointer to the function to be called every time the slider changes the position. This
  function should be prototyped as <code>void Foo(int);</code>Can be NULL if
  callback is not required.
</dl><p>
The function <code>cvCreateTrackbar</code>
creates the trackbar (a.k.a. slider or range control) with the specified name and range,
assigns the variable to be syncronized with trackbar position and specifies callback function
to be called on trackbar position change. The created trackbar is displayed on top
of given window.</p>


<hr><h3><a name="decl_cvGetTrackbarPos">cvGetTrackbarPos</a></h3>
<p class="Blurb">Retrieves trackbar position</p>
<pre>
int cvGetTrackbarPos( const char* trackbar_name, const char* window_name );
</pre><dl>
<dt>trackbar_name<dd>Name of trackbar.
<dt>window_name<dd>Name of the window which is the parent of trackbar.
</dl><p>
The function <code>cvGetTrackbarPos</code>
returns the ciurrent position of the specified trackbar.</p>


<hr><h3><a name="decl_cvSetTrackbarPos">cvSetTrackbarPos</a></h3>
<p class="Blurb">Sets trackbar position</p>
<pre>
void cvSetTrackbarPos( const char* trackbar_name, const char* window_name, int pos );
</pre><dl>
<dt>trackbar_name<dd>Name of trackbar.
<dt>window_name<dd>Name of the window which is the parent of trackbar.
<dt>pos<dd>New position.
</dl><p>
The function <code>cvSetTrackbarPos</code>
  sets the position of the specified trackbar.</p>


<hr><h3><a name="decl_cvSetMouseCallback">cvSetMouseCallback</a></h3>
<p class="Blurb">Assigns callback for mouse events</p>
<pre>
#define CV_EVENT_MOUSEMOVE      0
#define CV_EVENT_LBUTTONDOWN    1
#define CV_EVENT_RBUTTONDOWN    2
#define CV_EVENT_MBUTTONDOWN    3
#define CV_EVENT_LBUTTONUP      4
#define CV_EVENT_RBUTTONUP      5
#define CV_EVENT_MBUTTONUP      6
#define CV_EVENT_LBUTTONDBLCLK  7
#define CV_EVENT_RBUTTONDBLCLK  8
#define CV_EVENT_MBUTTONDBLCLK  9

#define CV_EVENT_FLAG_LBUTTON   1
#define CV_EVENT_FLAG_RBUTTON   2
#define CV_EVENT_FLAG_MBUTTON   4
#define CV_EVENT_FLAG_CTRLKEY   8
#define CV_EVENT_FLAG_SHIFTKEY  16
#define CV_EVENT_FLAG_ALTKEY    32

CV_EXTERN_C_FUNCPTR( void (*CvMouseCallback )(int event, int x, int y, int flags, void* param) );

void cvSetMouseCallback( const char* window_name, CvMouseCallback on_mouse, void* param=NULL );
</pre><dl>
<dt>window_name<dd>Name of the window.
<dt>on_mouse<dd>Pointer to the function to be called every time mouse event occurs
                in the specified window. This function should be prototyped as
  <pre>void Foo(int event, int x, int y, int flags, void* param);</pre>
  where <code>event</code> is one of <code>CV_EVENT_*</code>,
  <code>x</code> and <code>y</code> are coordinates of mouse pointer in image coordinates
  (not window coordinates), <code>flags</code> is a combination of <code>CV_EVENT_FLAG</code>,
  and <code>param</code> is a user-defined parameter passed to the
  <code>cvSetMouseCallback</code> function call.
<dt>param<dd>User-defined parameter to be passed to the callback function.
</dl><p>
The function <code>cvSetMouseCallback</code>
sets the callback function for mouse events occuting within the specified
window. To see how it works, look at <a href="../../samples/c/ffilldemo.c">
opencv/samples/c/ffilldemo.c</a> demo</p>


<hr><h3><a name="decl_cvWaitKey">cvWaitKey</a></h3>
<p class="Blurb">Waits for a pressed key</p>
<pre>
int cvWaitKey( int delay=0 );
</pre><dl>
<dt>delay<dd>Delay in milliseconds.
</dl><p>
The function <code>cvWaitKey</code> waits for key event infinitely (delay&lt;=0) or for "delay" milliseconds.
Returns the code of the pressed key or -1 if no key were pressed until the specified timeout has elapsed.
</p><p>
<b>Note</b>: This function is the only method in HighGUI to fetch and handle events so
it needs to be called periodically for normal event processing, unless HighGUI is used
within some environment that takes care of event processing.
</p>


<hr><h2><a name="highgui_loadsave">Loading and Saving Images</a></h2>

<hr><h3><a name="decl_cvLoadImage">cvLoadImage</a></h3>
<p class="Blurb">Loads an image from file</p>
<pre>
/* 8 bit, color or gray - deprecated, use CV_LOAD_IMAGE_ANYCOLOR */
#define CV_LOAD_IMAGE_UNCHANGED  -1
/* 8 bit, gray */
#define CV_LOAD_IMAGE_GRAYSCALE   0
/* 8 bit unless combined with CV_LOAD_IMAGE_ANYDEPTH, color */
#define CV_LOAD_IMAGE_COLOR       1
/* any depth, if specified on its own gray */
#define CV_LOAD_IMAGE_ANYDEPTH    2
/* by itself equivalent to CV_LOAD_IMAGE_UNCHANGED
   but can be modified with CV_LOAD_IMAGE_ANYDEPTH */
#define CV_LOAD_IMAGE_ANYCOLOR    4

IplImage* cvLoadImage( const char* filename, int flags=CV_LOAD_IMAGE_COLOR );
</pre><dl>
<dt>filename<dd>Name of file to be loaded.
<dt>flags<dd>Specifies colorness and depth of the loaded image:<br>
       The colorness specifies whether the loaded image is to be converted to
       3 channels (CV_LOAD_IMAGE_COLOR), 1 channel (CV_LOAD_IMAGE_GRAYSCALE),
       or left as it was in the input file (CV_LOAD_IMAGE_ANYCOLOR).<br>
       Depth specifies whether the loaded image is to be converted to 8 bits
       per pixel per color channel as was customary in previous versions of
       OpenCV or left as they were in the input file.
       If CV_LOAD_IMAGE_ANYDEPTH is passed the
       pixel format can be 8 bit unsigned, 16 bit unsigned, 32 bit signed or
       32 bit floating point.<br>

       If conflicting flags are passed the flag with the smaller numerical
       value wins. That is if
       CV_LOAD_IMAGE_COLOR | CV_LOAD_IMAGE_ANYCOLOR
       is passed the image is loaded with 3 channels.
       CV_LOAD_IMAGE_ANYCOLOR is equivalent to specifying
       CV_LOAD_IMAGE_UNCHANGED. However, CV_LOAD_IMAGE_ANYCOLOR has the
       advantage that it can be combined with CV_LOAD_IMAGE_ANYDEPTH. So
       CV_LOAD_IMAGE_UNCHANGED should not be used any longer.<br>

       If you want to load the image as truthfully as possible pass
       CV_LOAD_IMAGE_ANYDEPTH | CV_LOAD_IMAGE_ANYCOLOR.
</dl><p>
The function <code>cvLoadImage</code> loads an image
from the specified file and returns the pointer to the loaded image.
Currently the following file formats are supported:
<ul>
<li>Windows bitmaps - BMP, DIB;
<li>JPEG files - JPEG, JPG, JPE;
<li>Portable Network Graphics - PNG;
<li>Portable image format - PBM, PGM, PPM;
<li>Sun rasters - SR, RAS;
<li>TIFF files - TIFF, TIF;
<li>OpenEXR HDR images - EXR;
<li>JPEG 2000 images - jp2.
</ul>
</p>

<hr><h3><a name="decl_cvSaveImage">cvSaveImage</a></h3>
<p class="Blurb">Saves an image to the file</p>
<pre>
int cvSaveImage( const char* filename, const CvArr* image );
</pre><dl>
<dt>filename<dd>Name of the file.
<dt>image<dd>Image to be saved.
</dl><p>
The function <code>cvSaveImage</code>
saves the image to the specified file.
The image format is chosen depending on the <code>filename</code> extension, see
<a href="#decl_cvLoadImage">cvLoadImage</a>.
Only 8-bit single-channel or 3-channel
(with &#39;BGR&#39; channel order) images can be saved using this function.
If the format, depth or channel order is different, use <code>cvCvtScale</code>
and <code>cvCvtColor</code> to convert it before saving, or use
universal <code>cvSave</code> to save the image to XML or YAML format.
</p>


<hr><h2><a name="highgui_video">Video I/O functions</a></h2>

<hr><h3><a name="decl_CvCapture">CvCapture</a></h3>
<p class="Blurb">Video capturing structure</p>
<pre>
typedef struct CvCapture CvCapture;
</pre>
<p>
The structure <a href="#decl_CvCapture">CvCapture</a>
does not have public interface and is used only as a parameter for video
capturing functions.
</p>


<hr>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲激情中文1区| 成人激情午夜影院| 国产精品77777| 欧美午夜片在线观看| 精品久久久影院| 一区二区三区中文免费| 国产一区二区美女诱惑| 欧美欧美欧美欧美首页| 亚洲欧洲一区二区三区| 麻豆精品久久精品色综合| 日本高清免费不卡视频| 中文字幕精品—区二区四季| 日韩av中文字幕一区二区三区| 91香蕉视频mp4| 中文字幕二三区不卡| 久久99国产精品免费| 欧美猛男超大videosgay| 一区二区三区四区视频精品免费 | 在线观看日韩电影| 国产欧美精品一区aⅴ影院| 午夜av一区二区三区| 91久久精品国产91性色tv| 国产精品免费丝袜| 国产iv一区二区三区| 久久久亚洲精华液精华液精华液| 青娱乐精品在线视频| 欧美日韩中字一区| 亚洲国产精品一区二区久久恐怖片| 99re这里都是精品| 1024精品合集| 色婷婷综合视频在线观看| 亚洲人成精品久久久久久| av福利精品导航| ㊣最新国产の精品bt伙计久久| 成人app网站| 亚洲私人黄色宅男| 在线观看亚洲成人| 亚洲一区在线观看网站| 欧美日韩一卡二卡| 天堂蜜桃91精品| 欧美一区二区三区爱爱| 另类中文字幕网| 精品va天堂亚洲国产| 国产电影一区二区三区| 国产精品丝袜一区| 日本道免费精品一区二区三区| 一区二区三区四区视频精品免费| 欧美日精品一区视频| 午夜一区二区三区视频| 欧美久久久久久久久久| 精品一区二区免费在线观看| 久久久久久久久久久黄色| 成人一区二区三区视频 | 欧美成人猛片aaaaaaa| 国产综合久久久久影院| 国产精品免费视频观看| 在线一区二区三区四区五区| 日本va欧美va精品| 久久久精品国产免费观看同学| 成人av小说网| 亚洲成a人片综合在线| 2017欧美狠狠色| 99re成人精品视频| 蜜桃91丨九色丨蝌蚪91桃色| 久久精品一区八戒影视| 91福利在线导航| 精品影视av免费| 亚洲激情图片qvod| 精品欧美一区二区三区精品久久| www.亚洲在线| 日韩国产欧美三级| 国产精品国产自产拍在线| 欧美中文字幕一区二区三区 | 中文字幕中文乱码欧美一区二区| 91成人免费网站| 国产一区 二区| 午夜精品久久久久久久蜜桃app| 久久综合九色综合欧美亚洲| 色婷婷一区二区| 国产一区二区三区在线观看免费视频| 亚洲欧美精品午睡沙发| 2017欧美狠狠色| 欧美精品v日韩精品v韩国精品v| 成人免费精品视频| 麻豆久久久久久久| 亚洲妇女屁股眼交7| 国产精品无圣光一区二区| 91精品国产色综合久久| 99久久综合99久久综合网站| 六月婷婷色综合| 亚洲国产欧美另类丝袜| 国产精品久久久久毛片软件| 精品福利av导航| 在线成人免费观看| 欧美中文字幕一二三区视频| 国产成人av一区二区| 另类综合日韩欧美亚洲| 日日骚欧美日韩| 亚洲一区自拍偷拍| 国产精品久久精品日日| 国产日本一区二区| 久久免费午夜影院| 日韩亚洲国产中文字幕欧美| 欧美日本在线视频| 欧美午夜精品免费| 色呦呦网站一区| 91一区一区三区| 91免费看片在线观看| 成人午夜碰碰视频| 丁香啪啪综合成人亚洲小说| 韩国三级电影一区二区| 蜜桃精品视频在线观看| 日本不卡123| 美女视频黄 久久| 久久国产视频网| 久久成人免费网| 激情久久五月天| 国模无码大尺度一区二区三区| 久久成人av少妇免费| 黄页视频在线91| 国产盗摄精品一区二区三区在线| 韩国一区二区在线观看| 国产成人亚洲综合a∨婷婷图片| 激情综合五月婷婷| 国产99久久精品| k8久久久一区二区三区| 在线亚洲高清视频| 91精品国产高清一区二区三区| 欧美一级夜夜爽| 久久久久成人黄色影片| 国产精品视频麻豆| 一区二区三区中文在线| 首页亚洲欧美制服丝腿| 韩国v欧美v亚洲v日本v| 成人小视频在线观看| 欧美在线观看禁18| 欧美高清一级片在线| 26uuu久久天堂性欧美| 欧美高清在线精品一区| 亚洲最新视频在线观看| 蜜桃一区二区三区在线| 成人爱爱电影网址| 欧美视频在线不卡| 2019国产精品| 亚洲综合999| 另类中文字幕网| 色哟哟精品一区| 欧美成人精品福利| 亚洲精品伦理在线| 久久er99精品| 日本韩国欧美国产| 精品久久久久久久久久久久久久久久久 | 免费三级欧美电影| 成人国产精品免费观看| 欧美日韩国产首页| 国产精品丝袜在线| 男人的j进女人的j一区| 不卡电影一区二区三区| 9191久久久久久久久久久| 欧美国产一区在线| 青青草原综合久久大伊人精品 | 免费成人性网站| 97精品久久久久中文字幕 | 91农村精品一区二区在线| 日韩视频一区二区在线观看| 国产精品蜜臀av| 老色鬼精品视频在线观看播放| 91老师片黄在线观看| 2023国产精品自拍| 天天爽夜夜爽夜夜爽精品视频 | 精品亚洲国产成人av制服丝袜| 99国内精品久久| 久久婷婷国产综合精品青草| 亚洲制服欧美中文字幕中文字幕| 国产成人午夜片在线观看高清观看| 欧美日韩在线播| 中文字幕一区二区三区av | 亚洲h动漫在线| 色综合夜色一区| 国产精品国产三级国产aⅴ无密码| 老司机精品视频在线| 欧美日韩一区二区电影| 亚洲少妇30p| 99这里只有久久精品视频| 国产午夜久久久久| 激情国产一区二区| 久久综合久久综合亚洲| 蜜臀va亚洲va欧美va天堂| 欧美精品第1页| 日韩成人精品在线观看| 欧美精品少妇一区二区三区| 一区二区三区中文免费| 91免费精品国自产拍在线不卡| 国产精品美女久久久久久久久| 国产在线精品免费| 久久久久99精品国产片| 国产一区二区三区久久久 | 国产乱码精品一区二区三| 欧美电视剧在线看免费| 久久精品噜噜噜成人88aⅴ |