📄 cxcore reference manual.mht
字号:
From: <由 Microsoft Internet Explorer 5 保存>
Subject: CXCORE Reference Manual
Date: Fri, 3 Dec 2004 08:32:02 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_NextPart_000_003A_01C4D912.913F73F0";
type="text/html"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
This is a multi-part message in MIME format.
------=_NextPart_000_003A_01C4D912.913F73F0
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_docs/ref/opencvref_cxcore.htm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" =
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML><HEAD><TITLE>CXCORE Reference Manual</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dgb2312"><LINK=20
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref.css"=20
type=3Dtext/css charset=3DISO-8859-1 rel=3DSTYLESHEET>
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<H1>CXCORE Reference Manual</H1>
<HR>
<P>
<UL>
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_basic_structures">Basic=20
Structures</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_arrays">Operations=20
on Arrays</A>=20
<UL>
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_arrays_alloc_free">Initialization</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_arrays_get_set">Accessing=20
Elements and sub-Arrays</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_arrays_copying">Copying=20
and Filling</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_arrays_permute">Transforms=20
and Permutations</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_arrays_arithm_logic">Arithmetic,=20
Logic and Comparison</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_arrays_stat">Statistics</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_arrays_matrix">Linear=20
Algebra</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_arrays_math">Math=20
Functions</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_arrays_rng">Random=20
Number Generation</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_arrays_dxt">Discrete=20
Transforms</A> </LI></UL>
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_ds">Dynamic=20
Structures</A>=20
<UL>
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_ds_storages">Memory=20
Storages</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_ds_sequences">Sequences</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_ds_sets">Sets</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_ds_graphs">Graphs</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_ds_trees">Trees</A>=20
</LI></UL>
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_drawing">Drawing=20
Functions</A>=20
<UL>
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_drawing_shapes">Curves=20
and Shapes</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_drawing_text">Text</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_drawing_seq">Point=20
Sets and Contours</A> </LI></UL>
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_persistence">Data=20
Persistence and RTTI</A>=20
<UL>
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_persistence_ds">File=20
Storage</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_persistence_writing">Writing=20
Data</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_persistence_reading">Reading=20
Data</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_persistence_rtti">RTTI=20
and Generic Functions</A> </LI></UL>
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_misc">Miscellaneous=20
Functions</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_system">Error=20
Handling and System Functions</A>=20
<UL>
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_system_error">Error=20
Handling</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_system_sys">System=20
Functions</A> </LI></UL>
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_func_index">Alphabetical=20
List of Functions</A>=20
<LI><A=20
=
href=3D"http://www.assuredigit.com/incoming/sourcecode/opencv/chinese_doc=
s/ref/opencvref_cxcore.htm#cxcore_sample_index">List=20
of Examples</A> </LI></UL>
<P></P><!-- =
*************************************************************************=
****************
=
*************************************************************************=
****************
=
*************************************************************************=
**************** -->
<HR>
<H1><A name=3Dcxcore_basic_structures>Basic Structures</A></H1>
<HR>
<H3><A name=3Ddecl_CvPoint>CvPoint</A></H3>
<P class=3DBlurb>2D point with integer coordinates</P><PRE> typedef =
struct CvPoint
{
int x; /* x-coordinate, usually zero-based */
int y; /* y-coordinate, usually zero-based */
}
CvPoint;
/* the constructor function */
inline CvPoint cvPoint( int x, int y );
/* conversion from CvPoint2D32f */
inline CvPoint cvPointFrom32f( CvPoint2D32f point );
</PRE>
<HR>
<H3><A name=3Ddecl_CvPoint2D32f>CvPoint2D32f</A></H3>
<P class=3DBlurb>2D point with floating-point coordinates</P><PRE> =
typedef struct CvPoint2D32f
{
float x; /* x-coordinate, usually zero-based */
float y; /* y-coordinate, usually zero-based */
}
CvPoint2D32f;
/* the constructor function */
inline CvPoint2D32f cvPoint2D32f( double x, double y );
/* conversion from CvPoint */
inline CvPoint2D32f cvPointTo32f( CvPoint point );
</PRE>
<HR>
<H3><A name=3Ddecl_CvPoint3D32f>CvPoint3D32f</A></H3>
<P class=3DBlurb>3D point with floating-point coordinates</P><PRE> =
typedef struct CvPoint3D32f
{
float x; /* x-coordinate, usually zero-based */
float y; /* y-coordinate, usually zero-based */
float z; /* z-coordinate, usually zero-based */
}
CvPoint3D32f;
/* the constructor function */
inline CvPoint3D32f cvPoint3D32f( double x, double y, double z );
</PRE>
<HR>
<H3><A name=3Ddecl_CvSize>CvSize</A></H3>
<P class=3DBlurb>pixel-accurate size of a rectangle</P><PRE> typedef =
struct CvSize
{
int width; /* width of the rectangle */
int height; /* height of the rectangle */
}
CvSize;
/* the constructor function */
inline CvSize cvSize( int width, int height );
</PRE>
<HR>
<H3><A name=3Ddecl_CvSize2D32f>CvSize2D32f</A></H3>
<P class=3DBlurb>sub-pixel accurate size of a rectangle</P><PRE> =
typedef struct CvSize2D32f
{
float width; /* width of the box */
float height; /* height of the box */
}
CvSize2D32f;
/* the constructor function */
inline CvSize2D32f cvSize2D32f( double width, double height );
</PRE>
<HR>
<H3><A name=3Ddecl_CvRect>CvRect</A></H3>
<P class=3DBlurb>offset and size of a rectangle</P><PRE> typedef =
struct CvRect
{
int x; /* x-coordinate of the left-most rectangle corner[s] */
int y; /* y-coordinate of the top-most or bottom-most
rectangle corner[s] */
int width; /* width of the rectangle */
int height; /* height of the rectangle */
}
CvRect;
/* the constructor function */
inline CvRect cvRect( int x, int y, int width, int height );
</PRE>
<HR>
<H3><A name=3Ddecl_CvScalar>CvScalar</A></H3>
<P class=3DBlurb>A container for 1-,2-,3- or 4-tuples of =
numbers</P><PRE> typedef struct CvScalar
{
double val[4];
}
CvScalar;
/* the constructor function: initializes val[0] with val0, val[1] =
with val1 etc. */
inline CvScalar cvScalar( double val0, double val1=3D0,
double val2=3D0, double val3=3D0 );
/* the constructor function: initializes val[0]...val[3] with =
val0123 */
inline CvScalar cvScalarAll( double val0123 );
/* the constructor function: initializes val[0] with val0, =
val[1]...val[3] with zeros */
inline CvScalar cvRealScalar( double val0 );
</PRE>
<HR>
<H3><A name=3Ddecl_CvTermCriteria>CvTermCriteria</A></H3>
<P class=3DBlurb>Termination criteria for iterative =
algorithms</P><PRE>#define CV_TERMCRIT_ITER 1
#define CV_TERMCRIT_NUMBER CV_TERMCRIT_ITER
#define CV_TERMCRIT_EPS 2
typedef struct CvTermCriteria
{
int type; /* a combination of CV_TERMCRIT_ITER and =
CV_TERMCRIT_EPS */
int max_iter; /* maximum number of iterations */
double epsilon; /* accuracy to achieve */
}
CvTermCriteria;
/* the constructor function */
inline CvTermCriteria cvTermCriteria( int type, int max_iter, double =
epsilon );
/* check termination criteria and transform it so that =
type=3DCV_TERMCRIT_ITER+CV_TERMCRIT_EPS,
and both max_iter and epsilon are valid */
CvTermCriteria cvCheckTermCriteria( CvTermCriteria criteria,
double default_eps,
int default_max_iters );
</PRE><!-- =
*************************************************************************=
****************
=
*************************************************************************=
****************
=
*************************************************************************=
**************** --><!-- <hr><h2><a name=3D"ch1_array_structs">Array =
structures</a></h2> -->
<HR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -