1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

#1205 fixed ~100 of ~700 parameters

This commit is contained in:
Andrey Kamaev
2012-03-29 06:50:05 +00:00
parent e74be5a65d
commit 94c258cf15
25 changed files with 78 additions and 66 deletions
+2 -2
View File
@@ -642,7 +642,7 @@ Adds a vertex to a graph.
:param vtx: Optional input argument used to initialize the added vertex (only user-defined fields beyond ``sizeof(CvGraphVtx)`` are copied)
:param inserted_vertex: Optional output argument. If not ``NULL`` , the address of the new vertex is written here.
:param inserted_vtx: Optional output argument. If not ``NULL`` , the address of the new vertex is written here.
The function adds a vertex to the graph and returns the vertex index.
@@ -694,7 +694,7 @@ Removes a vertex from a graph.
:param graph: Graph
:param vtx_idx: Index of the removed vertex
:param index: Index of the removed vertex
The function removes a vertex from a graph
together with all the edges incident to it. The function reports an error
@@ -673,7 +673,7 @@ Starts writing a new structure.
One and only one of the two above flags must be specified
:param CV_NODE_FLOW: the optional flag that makes sense only for YAML streams. It means that the structure is written as a flow (not as a block), which is more compact. It is recommended to use this flag for structures or arrays whose elements are all scalars.
* **CV_NODE_FLOW** the optional flag that makes sense only for YAML streams. It means that the structure is written as a flow (not as a block), which is more compact. It is recommended to use this flag for structures or arrays whose elements are all scalars.
:param typeName: Optional parameter - the object type name. In
case of XML it is written as a ``type_id`` attribute of the
@@ -792,7 +792,7 @@ Writes a file node to another file storage.
:param fs: Destination file storage
:param new_file_node: New name of the file node in the destination file storage. To keep the existing name, use :ocv:cfunc:`cvGetFileNodeName`
:param new_node_name: New name of the file node in the destination file storage. To keep the existing name, use :ocv:cfunc:`cvGetFileNodeName`
:param node: The written node
+8 -7
View File
@@ -1306,7 +1306,7 @@ idft
----
Computes the inverse Discrete Fourier Transform of a 1D or 2D array.
.. ocv:function:: void idft(InputArray src, OutputArray dst, int flags=0, int outputRows=0)
.. ocv:function:: void idft(InputArray src, OutputArray dst, int flags=0, int nonzeroRows=0)
.. ocv:pyfunction:: cv2.idft(src[, dst[, flags[, nonzeroRows]]]) -> dst
@@ -1380,12 +1380,13 @@ invert
------
Finds the inverse or pseudo-inverse of a matrix.
.. ocv:function:: double invert(InputArray src, OutputArray dst, int method=DECOMP_LU)
.. ocv:function:: double invert(InputArray src, OutputArray dst, int flags=DECOMP_LU)
.. ocv:pyfunction:: cv2.invert(src[, dst[, flags]]) -> retval, dst
.. ocv:cfunction:: double cvInvert(const CvArr* src, CvArr* dst, int method=CV_LU)
.. ocv:pyoldfunction:: cv.Invert(src, dst, method=CV_LU)-> double
.. ocv:cfunction:: double cvInvert(const CvArr* src, CvArr* dst, int flags=CV_LU)
.. ocv:pyoldfunction:: cv.Invert(src, dst, flags=CV_LU)-> double
:param src: Source floating-point ``M x N`` matrix.
@@ -1499,7 +1500,7 @@ Calculates the magnitude of 2D vectors.
:param y: Floating-point array of y-coordinates of the vectors. It must have the same size as ``x`` .
:param dst: Destination array of the same size and type as ``x`` .
:param magnitude: Destination array of the same size and type as ``x`` .
The function ``magnitude`` calculates the magnitude of 2D vectors formed from the corresponding elements of ``x`` and ``y`` arrays:
@@ -3142,7 +3143,7 @@ The constructors.
.. ocv:function:: SVD::SVD( InputArray A, int flags=0 )
:param src: Decomposed matrix.
:param A: Decomposed matrix.
:param flags: Operation flags.
@@ -3319,7 +3320,7 @@ Returns the trace of a matrix.
.. ocv:cfunction:: CvScalar cvTrace(const CvArr* mat)
.. ocv:pyoldfunction:: cv.Trace(mat)-> CvScalar
:param mtx: Source matrix.
:param mat: Source matrix.
The function ``trace`` returns the sum of the diagonal elements of the matrix ``mtx`` .
@@ -177,18 +177,18 @@ The macros ``CV_Assert`` (and ``CV_DbgAssert``) evaluate the specified expressio
error
---------
-----
Signals an error and raises an exception.
.. ocv:function:: void error( const Exception& exc )
.. ocv:cfunction:: int cvError( int status, const char* funcName, const char* errMsg, const char* filename, int line )
.. ocv:cfunction:: int cvError( int status, const char* funcName, const char* err_msg, const char* filename, int line )
:param exc: Exception to throw.
:param code: Error code. Normally, it is a negative value. The list of pre-defined error codes can be found in ``cxerror.h`` .
:param status: Error code. Normally, it is a negative value. The list of pre-defined error codes can be found in ``cxerror.h`` .
:param msg: Text of the error message.
:param err_msg: Text of the error message.
:param args: ``printf`` -like formatted error message in parentheses.