mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Make Up
This commit is contained in:
@@ -2507,7 +2507,7 @@ CV_EXPORTS_AS(integral2) void integral( InputArray src, OutputArray sum,
|
||||
|
||||
/** @brief Calculates the integral of an image.
|
||||
|
||||
The functions calculate one or more integral images for the source image as follows:
|
||||
The function calculates one or more integral images for the source image as follows:
|
||||
|
||||
\f[\texttt{sum} (X,Y) = \sum _{x<X,y<Y} \texttt{image} (x,y)\f]
|
||||
|
||||
@@ -3348,7 +3348,7 @@ An example on using the distance transform\
|
||||
|
||||
/** @brief Calculates the distance to the closest zero pixel for each pixel of the source image.
|
||||
|
||||
The functions distanceTransform calculate the approximate or precise distance from every binary
|
||||
The function cv::distanceTransform calculates the approximate or precise distance from every binary
|
||||
image pixel to the nearest zero pixel. For zero image pixels, the distance will obviously be zero.
|
||||
|
||||
When maskSize == DIST_MASK_PRECISE and distanceType == DIST_L2 , the function runs the
|
||||
@@ -3432,7 +3432,7 @@ CV_EXPORTS int floodFill( InputOutputArray image,
|
||||
|
||||
/** @brief Fills a connected component with the given color.
|
||||
|
||||
The functions floodFill fill a connected component starting from the seed point with the specified
|
||||
The function cv::floodFill fills a connected component starting from the seed point with the specified
|
||||
color. The connectivity is determined by the color/brightness closeness of the neighbor pixels. The
|
||||
pixel at \f$(x,y)\f$ is considered to belong to the repainted domain if:
|
||||
|
||||
@@ -3712,7 +3712,7 @@ CV_EXPORTS void findContours( InputOutputArray image, OutputArrayOfArrays contou
|
||||
|
||||
/** @brief Approximates a polygonal curve(s) with the specified precision.
|
||||
|
||||
The functions approxPolyDP approximate a curve or a polygon with another curve/polygon with less
|
||||
The function cv::approxPolyDP approximates a curve or a polygon with another curve/polygon with less
|
||||
vertices so that the distance between them is less or equal to the specified precision. It uses the
|
||||
Douglas-Peucker algorithm <http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm>
|
||||
|
||||
@@ -3854,7 +3854,7 @@ An example using the convexHull functionality
|
||||
|
||||
/** @brief Finds the convex hull of a point set.
|
||||
|
||||
The functions find the convex hull of a 2D point set using the Sklansky's algorithm @cite Sklansky82
|
||||
The function cv::convexHull finds the convex hull of a 2D point set using the Sklansky's algorithm @cite Sklansky82
|
||||
that has *O(N logN)* complexity in the current implementation. See the OpenCV sample convexhull.cpp
|
||||
that demonstrates the usage of different function variants.
|
||||
|
||||
@@ -4123,7 +4123,7 @@ CV_EXPORTS_W void circle(InputOutputArray img, Point center, int radius,
|
||||
|
||||
/** @brief Draws a simple or thick elliptic arc or fills an ellipse sector.
|
||||
|
||||
The functions ellipse with less parameters draw an ellipse outline, a filled ellipse, an elliptic
|
||||
The function cv::ellipse with less parameters draws an ellipse outline, a filled ellipse, an elliptic
|
||||
arc, or a filled ellipse sector. A piecewise-linear curve is used to approximate the elliptic arc
|
||||
boundary. If you need more control of the ellipse rendering, you can retrieve the curve using
|
||||
ellipse2Poly and then render it with polylines or fill it with fillPoly . If you use the first
|
||||
@@ -4344,9 +4344,9 @@ CV_EXPORTS_W void drawContours( InputOutputArray image, InputArrayOfArrays conto
|
||||
|
||||
/** @brief Clips the line against the image rectangle.
|
||||
|
||||
The functions clipLine calculate a part of the line segment that is entirely within the specified
|
||||
rectangle. They return false if the line segment is completely outside the rectangle. Otherwise,
|
||||
they return true .
|
||||
The function cv::clipLine calculates a part of the line segment that is entirely within the specified
|
||||
rectangle. it returns false if the line segment is completely outside the rectangle. Otherwise,
|
||||
it returns true .
|
||||
@param imgSize Image size. The image rectangle is Rect(0, 0, imgSize.width, imgSize.height) .
|
||||
@param pt1 First line point.
|
||||
@param pt2 Second line point.
|
||||
|
||||
Reference in New Issue
Block a user