#1205 fixed ~100 of ~700 parameters
authorAndrey Kamaev <no@email>
Thu, 29 Mar 2012 06:50:05 +0000 (06:50 +0000)
committerAndrey Kamaev <no@email>
Thu, 29 Mar 2012 06:50:05 +0000 (06:50 +0000)
25 files changed:
modules/calib3d/doc/camera_calibration_and_3d_reconstruction.rst
modules/core/doc/dynamic_structures.rst
modules/core/doc/old_xml_yaml_persistence.rst
modules/core/doc/operations_on_arrays.rst
modules/core/doc/utility_and_system_functions_and_macros.rst
modules/features2d/doc/drawing_function_of_keypoints_and_matches.rst
modules/features2d/doc/feature_detection_and_description.rst
modules/gpu/doc/image_filtering.rst
modules/gpu/doc/image_processing.rst
modules/gpu/doc/matrix_reductions.rst
modules/gpu/doc/object_detection.rst
modules/gpu/doc/operations_on_matrices.rst
modules/imgproc/doc/feature_detection.rst
modules/imgproc/doc/geometric_transformations.rst
modules/imgproc/doc/histograms.rst
modules/imgproc/doc/motion_analysis_and_object_tracking.rst
modules/imgproc/doc/structural_analysis_and_shape_descriptors.rst
modules/java/rst_parser.py
modules/legacy/doc/legacy.rst
modules/ml/doc/decision_trees.rst
modules/ml/doc/gradient_boosted_trees.rst
modules/ml/doc/neural_networks.rst
modules/ml/doc/random_trees.rst
modules/ml/doc/support_vector_machines.rst
modules/video/doc/motion_analysis_and_object_tracking.rst

index bf7396e..fdee9f8 100644 (file)
@@ -833,7 +833,7 @@ Finds an initial camera matrix from 3D-2D point correspondences.
     
     :param imagePoints: Vector of vectors of the projections of the calibration pattern points. In the old interface all the per-view vectors are concatenated. 
     
-    :param npoints: The integer vector of point counters for each view.
+    :param pointCounts: The integer vector of point counters for each view.
     
     :param imageSize: Image size in pixels used to initialize the principal point.
 
@@ -919,6 +919,7 @@ Reprojects a disparity image to 3D space.
 .. ocv:pyfunction:: cv2.reprojectImageTo3D(disparity, Q[, _3dImage[, handleMissingValues[, ddepth]]]) -> _3dImage
 
 .. ocv:cfunction:: void cvReprojectImageTo3D( const CvArr* disparity, CvArr* _3dImage, const CvMat* Q, int handleMissingValues=0)
+
 .. ocv:pyoldfunction:: cv.ReprojectImageTo3D(disparity, _3dImage, Q, handleMissingValues=0) -> None
 
     :param disparity: Input single-channel 8-bit unsigned, 16-bit signed, 32-bit signed or 32-bit floating-point disparity image.
index ef646c2..e8a44c8 100644 (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
index 5364337..d5eeb91 100644 (file)
@@ -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 
 
index e224aa7..b2048ca 100644 (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`` .
 
index 1a19dae..1895a41 100644 (file)
@@ -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.
 
index 82450b6..8a5a1cb 100644 (file)
@@ -20,7 +20,7 @@ Draws the found matches of keypoints from two images.
 
     :param keypoints2: Keypoints from the second source image.
 
-    :param matches: Matches from the first image to the second one, which means that  ``keypoints1[i]``  has a corresponding point in  ``keypoints2[matches[i]]`` .
+    :param matches1to2: Matches from the first image to the second one, which means that  ``keypoints1[i]``  has a corresponding point in  ``keypoints2[matches[i]]`` .
 
     :param outImg: Output image. Its content depends on the ``flags``  value defining what is drawn in the output image. See possible  ``flags``  bit values below.
 
index 56db0b8..ae90623 100644 (file)
@@ -272,7 +272,7 @@ Writes the current randomized tree to a file or stream.
 
     :param file_name: Name of the file where randomized tree data is stored.
 
-    :param is: Output stream associated with the file where randomized tree data is stored.
+    :param os: Output stream associated with the file where randomized tree data is stored.
 
 
 
index 4bec191..9fccd17 100644 (file)
@@ -263,7 +263,7 @@ Creates a 2D morphological filter.
 
 .. ocv:function:: Ptr<FilterEngine_GPU> gpu::createMorphologyFilter_GPU(int op, int type, const Mat& kernel, const Point& anchor = Point(-1,-1), int iterations = 1)
 
-.. ocv:function:: Ptr<BaseFilter_GPU> getMorphologyFilter_GPU(int op, int type, const Mat& kernel, const Size& ksize, Point anchor=Point(-1,-1))
+.. ocv:function:: Ptr<BaseFilter_GPU> gpu::getMorphologyFilter_GPU(int op, int type, const Mat& kernel, const Size& ksize, Point anchor=Point(-1,-1))
 
     :param op: Morphology operation id. Only ``MORPH_ERODE`` and ``MORPH_DILATE`` are supported.
 
@@ -271,7 +271,7 @@ Creates a 2D morphological filter.
 
     :param kernel: 2D 8-bit structuring element for the morphological operation.
 
-    :param size: Size of a horizontal or vertical structuring element used for separable morphological operations.
+    :param ksize: Size of a horizontal or vertical structuring element used for separable morphological operations.
 
     :param anchor: Anchor position within the structuring element. Negative values mean that the anchor is at the center.
 
@@ -607,9 +607,9 @@ Calculates the first x- or y- image derivative using the Scharr operator.
 
     :param ddepth: Destination image depth.  ``CV_8U`` , ``CV_16S`` , ``CV_32S`` , and  ``CV_32F`` are supported.
 
-    :param xorder: Order of the derivative x.
+    :param dx: Order of the derivative x.
 
-    :param yorder: Order of the derivative y.
+    :param dy: Order of the derivative y.
 
     :param scale: Optional scale factor for the computed derivative values. By default, no scaling is applied. See  :ocv:func:`getDerivKernels`  for details.
 
index 0a97365..b17ea02 100644 (file)
@@ -137,6 +137,10 @@ Computes the minimum eigen value of a 2x2 derivative covariation matrix at each
 
 .. ocv:function:: void gpu::cornerMinEigenVal(const GpuMat& src, GpuMat& dst, int blockSize, int ksize, int borderType=BORDER_REFLECT101)
 
+.. ocv:function:: void gpu::cornerMinEigenVal(const GpuMat& src, GpuMat& dst, GpuMat& Dx, GpuMat& Dy, int blockSize, int ksize, int borderType=BORDER_REFLECT101)
+
+.. ocv:function:: void gpu::cornerMinEigenVal(const GpuMat& src, GpuMat& dst, GpuMat& Dx, GpuMat& Dy, GpuMat& buf, int blockSize, int ksize, int borderType=BORDER_REFLECT101, Stream& stream = Stream::Null())
+
     :param src: Source image. Only  ``CV_8UC1`` and  ``CV_32FC1`` images are supported for now.
 
     :param dst: Destination image containing cornerness values. The size is the same. The type is  ``CV_32FC1`` .
@@ -145,8 +149,6 @@ Computes the minimum eigen value of a 2x2 derivative covariation matrix at each
 
     :param ksize: Aperture parameter for the Sobel operator.
 
-    :param k: Harris detector free parameter.
-
     :param borderType: Pixel extrapolation method. Only ``BORDER_REFLECT101`` and ``BORDER_REPLICATE`` are supported for now.
 
 .. seealso:: :ocv:func:`cornerMinEigenVal`
@@ -402,7 +404,7 @@ Exchanges the color channels of an image in-place.
 
 .. ocv:function:: void gpu::swapChannels(GpuMat& image, const int dstOrder[4], Stream& stream = Stream::Null())
 
-    :param src: Source image. Supports only ``CV_8UC4`` type.
+    :param image: Source image. Supports only ``CV_8UC4`` type.
 
     :param dstOrder: Integer array describing how channel values are permutated. The n-th entry of the array contains the number of the channel that is stored in the n-th channel of the output image. E.g. Given an RGBA image, aDstOrder = [3,2,1,0] converts this to ABGR channel order.
 
@@ -424,9 +426,9 @@ Applies a fixed-level threshold to each array element.
 
     :param thresh: Threshold value.
 
-    :param maxVal: Maximum value to use with  ``THRESH_BINARY`` and  ``THRESH_BINARY_INV`` threshold types.
+    :param maxval: Maximum value to use with  ``THRESH_BINARY`` and  ``THRESH_BINARY_INV`` threshold types.
 
-    :param thresholdType: Threshold type. For details, see  :ocv:func:`threshold` . The ``THRESH_OTSU`` threshold type is not supported.
+    :param type: Threshold type. For details, see  :ocv:func:`threshold` . The ``THRESH_OTSU`` threshold type is not supported.
 
     :param stream: Stream for the asynchronous version.
 
@@ -831,11 +833,11 @@ Finds edges in an image using the [Canny86]_ algorithm.
 
     :param edges: Output edge map. It has the same size and type as  ``image`` .
 
-    :param threshold1: First threshold for the hysteresis procedure.
+    :param low_thresh: First threshold for the hysteresis procedure.
 
-    :param threshold2: Second threshold for the hysteresis procedure.
+    :param high_thresh: Second threshold for the hysteresis procedure.
 
-    :param apertureSize: Aperture size for the  :ocv:func:`Sobel`  operator.
+    :param apperture_size: Aperture size for the  :ocv:func:`Sobel`  operator.
 
     :param L2gradient: Flag indicating whether a more accurate  :math:`L_2`  norm  :math:`=\sqrt{(dI/dx)^2 + (dI/dy)^2}`  should be used to compute the image gradient magnitude ( ``L2gradient=true`` ), or a faster default  :math:`L_1`  norm  :math:`=|dI/dx|+|dI/dy|`  is enough ( ``L2gradient=false`` ).
 
index c24dc5c..ee2250a 100644 (file)
@@ -128,9 +128,9 @@ Finds global minimum and maximum matrix elements and returns their values with l
 
     :param maxVal: Pointer to the returned maximum value. Use ``NULL``  if not required.
 
-    :param minValLoc: Pointer to the returned minimum location. Use ``NULL``  if not required.
+    :param minLoc: Pointer to the returned minimum location. Use ``NULL``  if not required.
 
-    :param maxValLoc: Pointer to the returned maximum location. Use ``NULL``  if not required.
+    :param maxLoc: Pointer to the returned maximum location. Use ``NULL``  if not required.
 
     :param mask: Optional mask to select a sub-matrix.
 
index 7d4794c..163039a 100644 (file)
@@ -82,7 +82,7 @@ Creates the ``HOG`` descriptor and detector.
 
    :param win_sigma: Gaussian smoothing window parameter.
 
-   :param threshold_L2Hys: L2-Hys normalization method shrinkage.
+   :param threshold_L2hys: L2-Hys normalization method shrinkage.
 
    :param gamma_correction: Flag to specify whether the gamma correction preprocessing is required or not.
 
@@ -275,7 +275,7 @@ Detects objects of different sizes in the input image.
 
     :param image: Matrix of type  ``CV_8U``  containing an image where objects should be detected.
 
-    :param objects: Buffer to store detected objects (rectangles). If it is empty, it is allocated with the default size. If not empty, the function searches not more than N objects, where ``N = sizeof(objectsBufer's data)/sizeof(cv::Rect)``.
+    :param objectsBuf: Buffer to store detected objects (rectangles). If it is empty, it is allocated with the default size. If not empty, the function searches not more than N objects, where ``N = sizeof(objectsBufer's data)/sizeof(cv::Rect)``.
 
     :param scaleFactor: Value to specify how much the image size is reduced at each image scale.
 
index 68d9c06..efa139a 100644 (file)
@@ -191,7 +191,7 @@ Computes polar angles of complex matrix elements.
 
     :param angle: Destionation matrix of angles ( ``CV_32FC1`` ).
 
-    :param angleInDegress: Flag for angles that must be evaluated in degress.
+    :param angleInDegrees: Flag for angles that must be evaluated in degress.
 
     :param stream: Stream for the asynchronous version.
 
@@ -213,7 +213,7 @@ Converts Cartesian coordinates into polar.
 
     :param angle: Destionation matrix of angles ( ``CV_32FC1`` ).
 
-    :param angleInDegress: Flag for angles that must be evaluated in degress.
+    :param angleInDegrees: Flag for angles that must be evaluated in degress.
 
     :param stream: Stream for the asynchronous version.
 
@@ -235,7 +235,7 @@ Converts polar coordinates into Cartesian.
 
     :param y: Destination matrix of imaginary components ( ``CV_32FC1`` ).
 
-    :param angleInDegress: Flag that indicates angles in degress.
+    :param angleInDegrees: Flag that indicates angles in degress.
 
     :param stream: Stream for the asynchronous version.
 
index 65f7885..c0ca798 100644 (file)
@@ -52,7 +52,7 @@ Calculates eigenvalues and eigenvectors of image blocks for corner detection.
 
     :param apertureSize: Aperture parameter for the  :ocv:func:`Sobel`  operator.
 
-    :param boderType: Pixel extrapolation method. See  :ocv:func:`borderInterpolate` .
+    :param borderType: Pixel extrapolation method. See  :ocv:func:`borderInterpolate` .
 
 For every pixel
 :math:`p` , the function ``cornerEigenValsAndVecs`` considers a ``blockSize`` :math:`\times` ``blockSize`` neigborhood
@@ -106,7 +106,7 @@ Harris edge detector.
 
     :param k: Harris detector free parameter. See the formula below.
 
-    :param boderType: Pixel extrapolation method. See  :ocv:func:`borderInterpolate` .
+    :param borderType: Pixel extrapolation method. See  :ocv:func:`borderInterpolate` .
 
 The function runs the Harris edge detector on the image. Similarly to
 :ocv:func:`cornerMinEigenVal` and
@@ -133,6 +133,7 @@ Calculates the minimal eigenvalue of gradient matrices for corner detection.
 .. ocv:pyfunction:: cv2.cornerMinEigenVal(src, blockSize[, dst[, ksize[, borderType]]]) -> dst
 
 .. ocv:cfunction:: void cvCornerMinEigenVal( const CvArr* image, CvArr* eigenval, int blockSize, int apertureSize=3 )
+
 .. ocv:pyoldfunction:: cv.CornerMinEigenVal(image, eigenval, blockSize, apertureSize=3)-> None
 
     :param src: Input single-channel 8-bit or floating-point image.
@@ -143,7 +144,7 @@ Calculates the minimal eigenvalue of gradient matrices for corner detection.
 
     :param apertureSize: Aperture parameter for the  :ocv:func:`Sobel`  operator.
 
-    :param boderType: Pixel extrapolation method. See  :ocv:func:`borderInterpolate` .
+    :param borderType: Pixel extrapolation method. See  :ocv:func:`borderInterpolate` .
 
 The function is similar to
 :ocv:func:`cornerEigenValsAndVecs` but it calculates and stores only the minimal eigenvalue of the covariance matrix of derivatives, that is,
index 2d82fee..81197f1 100644 (file)
@@ -581,16 +581,16 @@ where ``cameraMatrix`` can be chosen arbitrarily.
 
 
 getDefaultNewCameraMatrix
------------------------------
+-------------------------
 Returns the default new camera matrix.
 
-.. ocv:function:: Mat getDefaultNewCameraMatrix(InputArray cameraMatrix, Size imgSize=Size(), bool centerPrincipalPoint=false )
+.. ocv:function:: Mat getDefaultNewCameraMatrix(InputArray cameraMatrix, Size imgsize=Size(), bool centerPrincipalPoint=false )
 
 .. ocv:pyfunction:: cv2.getDefaultNewCameraMatrix(cameraMatrix[, imgsize[, centerPrincipalPoint]]) -> retval
 
     :param cameraMatrix: Input camera matrix.
 
-    :param imageSize: Camera view image size in pixels.
+    :param imgsize: Camera view image size in pixels.
 
     :param centerPrincipalPoint: Location of the principal point in the new camera matrix. The parameter indicates whether this location should be at the image center or not.
 
index 0d4fa36..6276a5c 100644 (file)
@@ -409,13 +409,13 @@ GetHistValue*D
 --------------
 Returns a pointer to the histogram bin.
 
-.. ocv:cfunction:: float cvGetHistValue_1D(hist, idx0)
+.. ocv:cfunction:: float cvGetHistValue_1D(CvHistogram hist, int idx0)
 
-.. ocv:cfunction:: float cvGetHistValue_2D(hist, idx0, idx1)
+.. ocv:cfunction:: float cvGetHistValue_2D(CvHistogram hist, int idx0, int idx1)
 
-.. ocv:cfunction:: float cvGetHistValue_3D(hist, idx0, idx1, idx2)
+.. ocv:cfunction:: float cvGetHistValue_3D(CvHistogram hist, int idx0, int idx1, int idx2)
 
-.. ocv:cfunction:: float cvGetHistValue_nD(hist, idx)
+.. ocv:cfunction:: float cvGetHistValue_nD(CvHistogram hist, int idx)
     
     :param hist: Histogram. 
     
index 7cf22ee..f4f81cb 100644 (file)
@@ -143,17 +143,18 @@ The function supports multi-channel images. Each channel is processed independen
 
 
 phaseCorrelate
--------------------------------
+--------------
 The function is used to detect translational shifts that occur between two images. The operation takes advantage of the Fourier shift theorem for detecting the translational shift in the frequency domain. It can be used for fast image registration as well as motion esitimation. For more information please see http://en.wikipedia.org/wiki/Phase\_correlation .
 
-Calculates the cross-power spectrum of two supplied source arrays. The arrays are padded if needed with ``getOptimalDFTSize`` .
+Calculates the cross-power spectrum of two supplied source arrays. The arrays are padded if needed with :ocv:func:`getOptimalDFTSize`.
 
 .. ocv:function:: Point2d phaseCorrelate(InputArray src1, InputArray src2, InputArray window = noArray())
 
     :param src1: Source floating point array (CV_32FC1 or CV_64FC1)
     :param src2: Source floating point array (CV_32FC1 or CV_64FC1)
     :param window: Floating point array with windowing coefficients to reduce edge effects (optional).
-    :param result: Detected phase shift (sub-pixel) between the two arrays.
+
+Return value: detected phase shift (sub-pixel) between the two arrays.
 
 The function performs the following equations
 
index 3ac9a16..fffc1a8 100644 (file)
@@ -108,18 +108,19 @@ findContours
 ----------------
 Finds contours in a binary image.
 
-.. ocv:function:: void findContours( InputOutputArray image, OutputArrayOfArrays contours,                   OutputArray hierarchy, int mode, int method, Point offset=Point())
+.. ocv:function:: void findContours( InputOutputArray image, OutputArrayOfArrays contours, OutputArray hierarchy, int mode, int method, Point offset=Point())
 
 .. ocv:function:: void findContours( InputOutputArray image, OutputArrayOfArrays contours, int mode, int method, Point offset=Point())
 
 .. ocv:cfunction:: int cvFindContours( CvArr* image, CvMemStorage* storage, CvSeq** firstContour, int headerSize=sizeof(CvContour), int mode=CV_RETR_LIST, int method=CV_CHAIN_APPROX_SIMPLE, CvPoint offset=cvPoint(0, 0) )
+
 .. ocv:pyoldfunction:: cv.FindContours(image, storage, mode=CV_RETR_LIST, method=CV_CHAIN_APPROX_SIMPLE, offset=(0, 0)) -> cvseq
 
     :param image: Source, an 8-bit single-channel image. Non-zero pixels are treated as 1's. Zero pixels remain 0's, so the image is treated as  ``binary`` . You can use  :ocv:func:`compare` ,  :ocv:func:`inRange` ,  :ocv:func:`threshold` ,  :ocv:func:`adaptiveThreshold` ,  :ocv:func:`Canny` , and others to create a binary image out of a grayscale or color one. The function modifies the  ``image``  while extracting the contours.
 
     :param contours: Detected contours. Each contour is stored as a vector of points.
 
-    :param hiararchy: Optional output vector containing information about the image topology. It has as many elements as the number of contours. For each contour  ``contours[i]`` , the elements  ``hierarchy[i][0]`` ,  ``hiearchy[i][1]`` ,  ``hiearchy[i][2]`` , and  ``hiearchy[i][3]``  are set to 0-based indices in  ``contours``  of the next and previous contours at the same hierarchical level: the first child contour and the parent contour, respectively. If for a contour  ``i``  there are no next, previous, parent, or nested contours, the corresponding elements of  ``hierarchy[i]``  will be negative.
+    :param hierarchy: Optional output vector containing information about the image topology. It has as many elements as the number of contours. For each contour  ``contours[i]`` , the elements  ``hierarchy[i][0]`` ,  ``hiearchy[i][1]`` ,  ``hiearchy[i][2]`` , and  ``hiearchy[i][3]``  are set to 0-based indices in  ``contours``  of the next and previous contours at the same hierarchical level: the first child contour and the parent contour, respectively. If for a contour  ``i``  there are no next, previous, parent, or nested contours, the corresponding elements of  ``hierarchy[i]``  will be negative.
 
     :param mode: Contour retrieval mode.
 
@@ -330,10 +331,12 @@ Calculates a contour area.
 .. ocv:pyfunction:: cv2.contourArea(contour[, oriented]) -> retval
 
 .. ocv:cfunction:: double cvContourArea( const CvArr* contour, CvSlice slice=CV_WHOLE_SEQ )
+
 .. ocv:pyoldfunction:: cv.ContourArea(contour, slice=CV_WHOLE_SEQ)-> double
 
     :param contour: Input vector of 2D points (contour vertices), stored in ``std::vector`` or ``Mat``.
-    :param orientation: Oriented area flag. If it is true, the function returns a signed area value, depending on the contour orientation (clockwise or counter-clockwise). Using this feature you can determine orientation of a contour by taking the sign of an area. By default, the parameter is ``false``, which means that the absolute value is returned.
+
+    :param oriented: Oriented area flag. If it is true, the function returns a signed area value, depending on the contour orientation (clockwise or counter-clockwise). Using this feature you can determine orientation of a contour by taking the sign of an area. By default, the parameter is ``false``, which means that the absolute value is returned.
 
 The function computes a contour area. Similarly to
 :ocv:func:`moments` , the area is computed using the Green formula. Thus, the returned area and the number of non-zero pixels, if you draw the contour using
index a060752..ce1df44 100644 (file)
@@ -1,5 +1,5 @@
 import os, sys, re, string, glob
-allmodules = ["core", "flann", "imgproc", "ml", "highgui", "video", "features2d", "calib3d", "objdetect", "legacy", "contrib", "gpu", "androidcamera", "haartraining", "java", "python", "stitching", "traincascade", "ts", "photo"]
+allmodules = ["core", "flann", "imgproc", "ml", "highgui", "video", "features2d", "calib3d", "objdetect", "legacy", "contrib", "gpu", "androidcamera", "java", "python", "stitching", "ts", "photo", "nonfree", "videostab"]
 verbose = False
 show_warnings = True
 show_errors = True
index 9d8636e..3692abf 100644 (file)
@@ -1,10 +1,8 @@
 ********************************
-photo. Computational Photography
+legacy. Deprecated stuff
 ********************************
 
 .. highlight:: cpp
 
 .. toctree::
     :maxdepth: 2
-
-    inpainting 
index 7539b2b..fdb74c2 100644 (file)
@@ -267,7 +267,7 @@ Returns error of the decision tree.
 
 .. ocv:function:: float CvDTree::calc_error( CvMLData* trainData, int type, std::vector<float> *resp = 0 )
 
-    :param data: Data for the decision tree.
+    :param trainData: Data for the decision tree.
     
     :param type: Type of error. Possible values are:
 
index 38e0481..4916655 100644 (file)
@@ -213,7 +213,7 @@ Predicts a response for an input sample.
     in the same position in the ``sample`` vector. If there are no missing values\r
     in the feature vector, an empty matrix can be passed instead of the missing mask.\r
     \r
-   :param weak_responses: Matrix used to obtain predictions of all the trees.\r
+   :param weakResponses: Matrix used to obtain predictions of all the trees.\r
     The matrix has :math:`K` rows,\r
     where :math:`K` is the count of output classes (1 for the regression case).\r
     The matrix has as many columns as the ``slice`` length.\r
index d08620d..7546dc7 100644 (file)
@@ -202,7 +202,9 @@ Constructs MLP with the specified topology.
 
     :param activateFunc: Parameter specifying the activation function for each neuron: one of  ``CvANN_MLP::IDENTITY``, ``CvANN_MLP::SIGMOID_SYM``, and ``CvANN_MLP::GAUSSIAN``.
 
-    :param fparam1/fparam2: Free parameters of the activation function, :math:`\alpha` and :math:`\beta`, respectively. See the formulas in the introduction section.
+    :param fparam1: Free parameter of the activation function, :math:`\alpha`. See the formulas in the introduction section.
+    
+    :param fparam2: Free parameter of the activation function, :math:`\beta`. See the formulas in the introduction section.
 
 The method creates an MLP network with the specified topology and assigns the same activation function to all the neurons.
 
index 4991728..5d389c6 100644 (file)
@@ -165,9 +165,9 @@ Retrieves the proximity measure between two training samples.
 
 .. ocv:function:: float CvRTrees::get_proximity( const CvMat* sample1, const CvMat* sample2, const CvMat* missing1 = 0, const CvMat* missing2 = 0 ) const
 
-    :param sample_1: The first sample.
+    :param sample1: The first sample.
 
-    :param sample_2: The second sample.
+    :param sample2: The second sample.
 
     :param missing1: Optional missing measurement mask of the first sample.
 
index 1160da9..555b929 100644 (file)
@@ -232,7 +232,9 @@ Predicts the response for input sample(s).
 
 .. ocv:pyfunction:: cv2.SVM.predict(sample[, returnDFVal]) -> retval
 
-    :param sample(s): Input sample(s) for prediction.
+    :param sample: Input sample for prediction.
+
+    :param samples: Input samples for prediction.
 
     :param returnDFVal: Specifies a type of the return value. If ``true`` and the problem is 2-class classification then the method returns the decision function value that is signed distance to the margin, else the function returns a class label (classification) or estimated function value (regression).
 
index 783623a..4c66367 100644 (file)
@@ -91,7 +91,7 @@ CalcOpticalFlowBM
 -----------------
 Calculates the optical flow for two images by using the block matching method.
 
-.. ocv::cfunction:: void cvCalcOpticalFlowBM( const CvArr* prev, const CvArr* curr, CvSize blockSize, CvSize shiftSize, CvSize maxRange, int usePrevious, CvArr* velx, CvArr* vely )
+.. ocv:cfunction:: void cvCalcOpticalFlowBM( const CvArr* prev, const CvArr* curr, CvSize blockSize, CvSize shiftSize, CvSize maxRange, int usePrevious, CvArr* velx, CvArr* vely )
 
 .. ocv:pyoldfunction:: cv.CalcOpticalFlowBM(prev, curr, blockSize, shiftSize, maxRange, usePrevious, velx, vely)-> None
 
@@ -126,7 +126,7 @@ CalcOpticalFlowHS
 -----------------
 Calculates the optical flow for two images using Horn-Schunck algorithm.
 
-.. ocv::cfunction:: void cvCalcOpticalFlowHS(  const CvArr* prev, const CvArr* curr, int usePrevious, CvArr* velx, CvArr* vely, double lambda, CvTermCriteria criteria )
+.. ocv:cfunction:: void cvCalcOpticalFlowHS(const CvArr* prev, const CvArr* curr, int usePrevious, CvArr* velx, CvArr* vely, double lambda, CvTermCriteria criteria)
 
 .. ocv:pyoldfunction:: cv.CalcOpticalFlowHS(prev, curr, usePrevious, velx, vely, lambda, criteria)-> None
 
@@ -474,9 +474,10 @@ Updates the predicted state from the measurement.
 .. ocv:pyfunction:: cv2.KalmanFilter.correct(measurement) -> retval
 
 .. ocv:cfunction:: const CvMat* cvKalmanCorrect( CvKalman* kalman, const CvMat* measurement )
+
 .. ocv:pyoldfunction:: cv.KalmanCorrect(kalman, measurement) -> cvmat
 
-    :param control: The measured system parameters
+    :param measurement: The measured system parameters
 
 
 BackgroundSubtractor