Skip to content

Commit 5f99056

Browse files
committed
Merge pull request opencv#8297 from csukuangfj:csukuangfj-patch
2 parents ddfe688 + 34c70e7 commit 5f99056

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

modules/imgproc/include/opencv2/imgproc.hpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ enum ConnectedComponentsTypes {
416416
//! connected components algorithm
417417
enum ConnectedComponentsAlgorithmsTypes {
418418
CCL_WU = 0, //!< SAUF algorithm for 8-way connectivity, SAUF algorithm for 4-way connectivity
419-
CCL_DEFAULT = -1, //!< BBDT algortihm for 8-way connectivity, SAUF algorithm for 4-way connectivity
419+
CCL_DEFAULT = -1, //!< BBDT algorithm for 8-way connectivity, SAUF algorithm for 4-way connectivity
420420
CCL_GRANA = 1 //!< BBDT algorithm for 8-way connectivity, SAUF algorithm for 4-way connectivity
421421
};
422422

@@ -826,7 +826,7 @@ class CV_EXPORTS GeneralizedHough : public Algorithm
826826
};
827827

828828
//! Ballard, D.H. (1981). Generalizing the Hough transform to detect arbitrary shapes. Pattern Recognition 13 (2): 111-122.
829-
//! Detects position only without traslation and rotation
829+
//! Detects position only without translation and rotation
830830
class CV_EXPORTS GeneralizedHoughBallard : public GeneralizedHough
831831
{
832832
public:
@@ -840,7 +840,7 @@ class CV_EXPORTS GeneralizedHoughBallard : public GeneralizedHough
840840
};
841841

842842
//! Guil, N., González-Linares, J.M. and Zapata, E.L. (1999). Bidimensional shape detection using an invariant approach. Pattern Recognition 32 (6): 1025-1038.
843-
//! Detects position, traslation and rotation
843+
//! Detects position, translation and rotation
844844
class CV_EXPORTS GeneralizedHoughGuil : public GeneralizedHough
845845
{
846846
public:
@@ -995,7 +995,7 @@ class CV_EXPORTS_W Subdiv2D
995995
- The point is outside the subdivision reference rectangle. The function returns PTLOC_OUTSIDE_RECT
996996
and no pointers are filled.
997997
- One of input arguments is invalid. A runtime error is raised or, if silent or “parent” error
998-
processing mode is selected, CV_PTLOC_ERROR is returnd.
998+
processing mode is selected, CV_PTLOC_ERROR is returned.
999999
*/
10001000
CV_WRAP int locate(Point2f pt, CV_OUT int& edge, CV_OUT int& vertex);
10011001

@@ -1407,7 +1407,7 @@ CV_EXPORTS_W void bilateralFilter( InputArray src, OutputArray dst, int d,
14071407

14081408
/** @brief Blurs an image using the box filter.
14091409
1410-
The function smoothes an image using the kernel:
1410+
The function smooths an image using the kernel:
14111411
14121412
\f[\texttt{K} = \alpha \begin{bmatrix} 1 & 1 & 1 & \cdots & 1 & 1 \\ 1 & 1 & 1 & \cdots & 1 & 1 \\ \hdotsfor{6} \\ 1 & 1 & 1 & \cdots & 1 & 1 \end{bmatrix}\f]
14131413
@@ -1459,7 +1459,7 @@ CV_EXPORTS_W void sqrBoxFilter( InputArray _src, OutputArray _dst, int ddepth,
14591459

14601460
/** @brief Blurs an image using the normalized box filter.
14611461
1462-
The function smoothes an image using the kernel:
1462+
The function smooths an image using the kernel:
14631463
14641464
\f[\texttt{K} = \frac{1}{\texttt{ksize.width*ksize.height}} \begin{bmatrix} 1 & 1 & 1 & \cdots & 1 & 1 \\ 1 & 1 & 1 & \cdots & 1 & 1 \\ \hdotsfor{6} \\ 1 & 1 & 1 & \cdots & 1 & 1 \\ \end{bmatrix}\f]
14651465
@@ -3584,7 +3584,7 @@ CV_EXPORTS_W void cvtColor( InputArray src, OutputArray dst, int code, int dstCn
35843584

35853585
//! @} imgproc_misc
35863586

3587-
// main function for all demosaicing procceses
3587+
// main function for all demosaicing processes
35883588
CV_EXPORTS_W void demosaicing(InputArray _src, OutputArray _dst, int code, int dcn = 0);
35893589

35903590
//! @addtogroup imgproc_shape
@@ -3766,7 +3766,7 @@ If mode equals to cv::RETR_CCOMP or cv::RETR_FLOODFILL, the input can also be a
37663766
std::vector<std::vector<cv::Point> >).
37673767
@param hierarchy Optional output vector (e.g. std::vector<cv::Vec4i>), containing information about the image topology. It has
37683768
as many elements as the number of contours. For each i-th contour contours[i], the elements
3769-
hierarchy[i][0] , hiearchy[i][1] , hiearchy[i][2] , and hiearchy[i][3] are set to 0-based indices
3769+
hierarchy[i][0] , hierarchy[i][1] , hierarchy[i][2] , and hierarchy[i][3] are set to 0-based indices
37703770
in contours of the next and previous contours at the same hierarchical level, the first child
37713771
contour and the parent contour, respectively. If for the contour i there are no next, previous,
37723772
parent, or nested contours, the corresponding elements of hierarchy[i] will be negative.
@@ -4054,7 +4054,7 @@ CV_EXPORTS_W double pointPolygonTest( InputArray contour, Point2f pt, bool measu
40544054

40554055
/** @brief Finds out if there is any intersection between two rotated rectangles.
40564056
4057-
If there is then the vertices of the interesecting region are returned as well.
4057+
If there is then the vertices of the intersecting region are returned as well.
40584058
40594059
Below are some examples of intersection configurations. The hatched pattern indicates the
40604060
intersecting region and the red vertices are returned by the function.
@@ -4074,11 +4074,11 @@ CV_EXPORTS_W int rotatedRectangleIntersection( const RotatedRect& rect1, const R
40744074
CV_EXPORTS_W Ptr<CLAHE> createCLAHE(double clipLimit = 40.0, Size tileGridSize = Size(8, 8));
40754075

40764076
//! Ballard, D.H. (1981). Generalizing the Hough transform to detect arbitrary shapes. Pattern Recognition 13 (2): 111-122.
4077-
//! Detects position only without traslation and rotation
4077+
//! Detects position only without translation and rotation
40784078
CV_EXPORTS Ptr<GeneralizedHoughBallard> createGeneralizedHoughBallard();
40794079

40804080
//! Guil, N., González-Linares, J.M. and Zapata, E.L. (1999). Bidimensional shape detection using an invariant approach. Pattern Recognition 32 (6): 1025-1038.
4081-
//! Detects position, traslation and rotation
4081+
//! Detects position, translation and rotation
40824082
CV_EXPORTS Ptr<GeneralizedHoughGuil> createGeneralizedHoughGuil();
40834083

40844084
//! Performs linear blending of two images

0 commit comments

Comments
 (0)