Skip to content

Commit a0c658b

Browse files
fakabbiralalek
authored andcommitted
Merge pull request opencv#9979 from fakabbir:ImproveDoc
* Improve Documentation Fixes Spelling Mistakes.
1 parent 22dfc1d commit a0c658b

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

modules/calib3d/include/opencv2/calib3d.hpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ and a rotation matrix.
396396
It optionally returns three rotation matrices, one for each axis, and the three Euler angles in
397397
degrees (as the return value) that could be used in OpenGL. Note, there is always more than one
398398
sequence of rotations about the three principal axes that results in the same orientation of an
399-
object, eg. see @cite Slabaugh . Returned tree rotation matrices and corresponding three Euler angles
399+
object, e.g. see @cite Slabaugh . Returned tree rotation matrices and corresponding three Euler angles
400400
are only one of the possible solutions.
401401
*/
402402
CV_EXPORTS_W Vec3d RQDecomp3x3( InputArray src, OutputArray mtxR, OutputArray mtxQ,
@@ -421,8 +421,8 @@ matrix and the position of a camera.
421421
422422
It optionally returns three rotation matrices, one for each axis, and three Euler angles that could
423423
be used in OpenGL. Note, there is always more than one sequence of rotations about the three
424-
principal axes that results in the same orientation of an object, eg. see @cite Slabaugh . Returned
425-
tree rotation matrices and corresponding three Euler angules are only one of the possible solutions.
424+
principal axes that results in the same orientation of an object, e.g. see @cite Slabaugh . Returned
425+
tree rotation matrices and corresponding three Euler angles are only one of the possible solutions.
426426
427427
The function is based on RQDecomp3x3 .
428428
*/
@@ -1205,7 +1205,7 @@ findFundamentalMat .
12051205
@param threshold Optional threshold used to filter out the outliers. If the parameter is greater
12061206
than zero, all the point pairs that do not comply with the epipolar geometry (that is, the points
12071207
for which \f$|\texttt{points2[i]}^T*\texttt{F}*\texttt{points1[i]}|>\texttt{threshold}\f$ ) are
1208-
rejected prior to computing the homographies. Otherwise,all the points are considered inliers.
1208+
rejected prior to computing the homographies. Otherwise, all the points are considered inliers.
12091209
12101210
The function computes the rectification transformations without knowing intrinsic parameters of the
12111211
cameras and their relative position in the space, which explains the suffix "uncalibrated". Another
@@ -1249,7 +1249,7 @@ assumed.
12491249
@param alpha Free scaling parameter between 0 (when all the pixels in the undistorted image are
12501250
valid) and 1 (when all the source image pixels are retained in the undistorted image). See
12511251
stereoRectify for details.
1252-
@param newImgSize Image size after rectification. By default,it is set to imageSize .
1252+
@param newImgSize Image size after rectification. By default, it is set to imageSize .
12531253
@param validPixROI Optional output rectangle that outlines all-good-pixels region in the
12541254
undistorted image. See roi1, roi2 description in stereoRectify .
12551255
@param centerPrincipalPoint Optional flag that indicates whether in the new camera matrix the
@@ -1260,7 +1260,7 @@ best fit a subset of the source image (determined by alpha) to the corrected ima
12601260
The function computes and returns the optimal new camera matrix based on the free scaling parameter.
12611261
By varying this parameter, you may retrieve only sensible pixels alpha=0 , keep all the original
12621262
image pixels if there is valuable information in the corners alpha=1 , or get something in between.
1263-
When alpha\>0 , the undistortion result is likely to have some black pixels corresponding to
1263+
When alpha\>0 , the undistorted result is likely to have some black pixels corresponding to
12641264
"virtual" pixels outside of the captured distorted image. The original camera matrix, distortion
12651265
coefficients, the computed new camera matrix, and newImageSize should be passed to
12661266
initUndistortRectifyMap to produce the maps for remap .
@@ -1456,7 +1456,7 @@ floating-point (single or double precision).
14561456
Note that this function assumes that points1 and points2 are feature points from cameras with the
14571457
same camera matrix.
14581458
@param R Recovered relative rotation.
1459-
@param t Recoverd relative translation.
1459+
@param t Recovered relative translation.
14601460
@param mask Input/output mask for inliers in points1 and points2.
14611461
: If it is not empty, then it marks inliers in points1 and points2 for then given essential
14621462
matrix E. Only these inliers will be used to recover pose. In the output mask only inliers
@@ -1499,7 +1499,7 @@ CV_EXPORTS_W int recoverPose( InputArray E, InputArray points1, InputArray point
14991499
floating-point (single or double precision).
15001500
@param points2 Array of the second image points of the same size and format as points1 .
15011501
@param R Recovered relative rotation.
1502-
@param t Recoverd relative translation.
1502+
@param t Recovered relative translation.
15031503
@param focal Focal length of the camera. Note that this function assumes that points1 and points2
15041504
are feature points from cameras with same focal length and principal point.
15051505
@param pp principal point of the camera.
@@ -1532,7 +1532,7 @@ floating-point (single or double precision).
15321532
Note that this function assumes that points1 and points2 are feature points from cameras with the
15331533
same camera matrix.
15341534
@param R Recovered relative rotation.
1535-
@param t Recoverd relative translation.
1535+
@param t Recovered relative translation.
15361536
@param distanceThresh threshold distance which is used to filter out far away points (i.e. infinite points).
15371537
@param mask Input/output mask for inliers in points1 and points2.
15381538
: If it is not empty, then it marks inliers in points1 and points2 for then given essential

modules/imgproc/include/opencv2/imgproc.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@ to edit those, as to tailor it for their own application.
12571257
@param _sigma_scale Sigma for Gaussian filter. It is computed as sigma = _sigma_scale/_scale.
12581258
@param _quant Bound to the quantization error on the gradient norm.
12591259
@param _ang_th Gradient angle tolerance in degrees.
1260-
@param _log_eps Detection threshold: -log10(NFA) \> log_eps. Used only when advancent refinement
1260+
@param _log_eps Detection threshold: -log10(NFA) \> log_eps. Used only when advance refinement
12611261
is chosen.
12621262
@param _density_th Minimal density of aligned region points in the enclosing rectangle.
12631263
@param _n_bins Number of bins in pseudo-ordering of gradient modulus.
@@ -1699,7 +1699,7 @@ CV_EXPORTS_W void Laplacian( InputArray src, OutputArray dst, int ddepth,
16991699

17001700
/** @brief Finds edges in an image using the Canny algorithm @cite Canny86 .
17011701
1702-
The function finds edges in the input image image and marks them in the output map edges using the
1702+
The function finds edges in the input image and marks them in the output map edges using the
17031703
Canny algorithm. The smallest value between threshold1 and threshold2 is used for edge linking. The
17041704
largest value is used to find initial segments of strong edges. See
17051705
<http://en.wikipedia.org/wiki/Canny_edge_detector>
@@ -2352,7 +2352,7 @@ borderMode=BORDER_TRANSPARENT, it means that the pixels in the destination image
23522352
corresponds to the "outliers" in the source image are not modified by the function.
23532353
@param borderValue Value used in case of a constant border. By default, it is 0.
23542354
@note
2355-
Due to current implementaion limitations the size of an input and output images should be less than 32767x32767.
2355+
Due to current implementation limitations the size of an input and output images should be less than 32767x32767.
23562356
*/
23572357
CV_EXPORTS_W void remap( InputArray src, OutputArray dst,
23582358
InputArray map1, InputArray map2,
@@ -4212,7 +4212,7 @@ intersecting region and the red vertices are returned by the function.
42124212
42134213
@param rect1 First rectangle
42144214
@param rect2 Second rectangle
4215-
@param intersectingRegion The output array of the verticies of the intersecting region. It returns
4215+
@param intersectingRegion The output array of the vertices of the intersecting region. It returns
42164216
at most 8 vertices. Stored as std::vector\<cv::Point2f\> or cv::Mat as Mx1 of type CV_32FC2.
42174217
@returns One of cv::RectanglesIntersectTypes
42184218
*/

modules/videostab/include/opencv2/videostab/global_motion.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ class CV_EXPORTS KeypointBasedMotionEstimatorGpu : public ImageMotionEstimatorBa
288288
@param from Source frame index.
289289
@param to Destination frame index.
290290
@param motions Pair-wise motions. motions[i] denotes motion from the frame i to the frame i+1
291-
@return Motion from the frame from to the frame to.
291+
@return Motion from the Source frame to the Destination frame.
292292
*/
293293
CV_EXPORTS Mat getMotion(int from, int to, const std::vector<Mat> &motions);
294294

modules/viz/src/widget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ double cv::viz::Widget::getRenderingProperty(int property) const
227227
}
228228

229229
///////////////////////////////////////////////////////////////////////////////////////////////
230-
/// widget accessor implementaion
230+
/// widget accessor implementation
231231

232232
vtkSmartPointer<vtkProp> cv::viz::WidgetAccessor::getProp(const Widget& widget)
233233
{

0 commit comments

Comments
 (0)