Merge pull request #9235 from sturkmen72:patch-3
This commit is contained in:
@@ -273,6 +273,9 @@ of p and len.
|
||||
*/
|
||||
CV_EXPORTS_W int borderInterpolate(int p, int len, int borderType);
|
||||
|
||||
/** @example copyMakeBorder_demo.cpp
|
||||
An example using copyMakeBorder function
|
||||
*/
|
||||
/** @brief Forms a border around an image.
|
||||
|
||||
The function copies the source image into the middle of the destination image. The areas to the
|
||||
@@ -471,6 +474,9 @@ The function can also be emulated with a matrix expression, for example:
|
||||
*/
|
||||
CV_EXPORTS_W void scaleAdd(InputArray src1, double alpha, InputArray src2, OutputArray dst);
|
||||
|
||||
/** @example AddingImagesTrackbar.cpp
|
||||
|
||||
*/
|
||||
/** @brief Calculates the weighted sum of two arrays.
|
||||
|
||||
The function addWeighted calculates the weighted sum of two arrays as follows:
|
||||
|
||||
@@ -2795,6 +2795,9 @@ CV_EXPORTS_W void adaptiveThreshold( InputArray src, OutputArray dst,
|
||||
//! @addtogroup imgproc_filter
|
||||
//! @{
|
||||
|
||||
/** @example Pyramids.cpp
|
||||
An example using pyrDown and pyrUp functions
|
||||
*/
|
||||
/** @brief Blurs an image and downsamples it.
|
||||
|
||||
By default, size of the output image is computed as `Size((src.cols+1)/2, (src.rows+1)/2)`, but in
|
||||
@@ -3669,6 +3672,9 @@ enum TemplateMatchModes {
|
||||
TM_CCOEFF_NORMED = 5 //!< \f[R(x,y)= \frac{ \sum_{x',y'} (T'(x',y') \cdot I'(x+x',y+y')) }{ \sqrt{\sum_{x',y'}T'(x',y')^2 \cdot \sum_{x',y'} I'(x+x',y+y')^2} }\f]
|
||||
};
|
||||
|
||||
/** @example MatchTemplate_Demo.cpp
|
||||
An example using Template Matching algorithm
|
||||
*/
|
||||
/** @brief Compares a template against overlapped image regions.
|
||||
|
||||
The function slides through image , compares the overlapped patches of size \f$w \times h\f$ against
|
||||
@@ -4134,6 +4140,9 @@ enum ColormapTypes
|
||||
COLORMAP_PARULA = 12 //!< 
|
||||
};
|
||||
|
||||
/** @example falsecolor.cpp
|
||||
An example using applyColorMap function
|
||||
*/
|
||||
/** @brief Applies a GNU Octave/MATLAB equivalent colormap on a given image.
|
||||
|
||||
@param src The source image, grayscale or colored of type CV_8UC1 or CV_8UC3.
|
||||
@@ -4216,6 +4225,9 @@ CV_EXPORTS void rectangle(CV_IN_OUT Mat& img, Rect rec,
|
||||
const Scalar& color, int thickness = 1,
|
||||
int lineType = LINE_8, int shift = 0);
|
||||
|
||||
/** @example Drawing_2.cpp
|
||||
An example using drawing functions
|
||||
*/
|
||||
/** @brief Draws a circle.
|
||||
|
||||
The function circle draws a simple or filled circle with a given center and radius.
|
||||
@@ -4339,6 +4351,9 @@ CV_EXPORTS void fillPoly(Mat& img, const Point** pts,
|
||||
const Scalar& color, int lineType = LINE_8, int shift = 0,
|
||||
Point offset = Point() );
|
||||
|
||||
/** @example Drawing_1.cpp
|
||||
An example using drawing functions
|
||||
*/
|
||||
/** @brief Fills the area bounded by one or more polygons.
|
||||
|
||||
The function fillPoly fills an area bounded by several polygonal contours. The function can fill
|
||||
|
||||
@@ -215,6 +215,8 @@ public:
|
||||
virtual Ptr<MaskGenerator> getMaskGenerator() = 0;
|
||||
};
|
||||
|
||||
/** @example facedetect.cpp
|
||||
*/
|
||||
/** @brief Cascade classifier class for object detection.
|
||||
*/
|
||||
class CV_EXPORTS_W CascadeClassifier
|
||||
@@ -348,6 +350,8 @@ struct DetectionROI
|
||||
std::vector<double> confidences;
|
||||
};
|
||||
|
||||
/**@example peopledetect.cpp
|
||||
*/
|
||||
struct CV_EXPORTS_W HOGDescriptor
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -730,6 +730,9 @@ CV_EXPORTS_W void decolor( InputArray src, OutputArray grayscale, OutputArray co
|
||||
//! @addtogroup photo_clone
|
||||
//! @{
|
||||
|
||||
/** @example cloning_demo.cpp
|
||||
An example using seamlessClone function
|
||||
*/
|
||||
/** @brief Image editing tasks concern either global changes (color/intensity corrections, filters,
|
||||
deformations) or local changes concerned to a selection. Here we are interested in achieving local
|
||||
changes, ones that are restricted to a region manually selected (ROI), in a seamless and effortless
|
||||
@@ -833,6 +836,9 @@ CV_EXPORTS_W void edgePreservingFilter(InputArray src, OutputArray dst, int flag
|
||||
CV_EXPORTS_W void detailEnhance(InputArray src, OutputArray dst, float sigma_s = 10,
|
||||
float sigma_r = 0.15f);
|
||||
|
||||
/** @example npr_demo.cpp
|
||||
An example using non-photorealistic line drawing functions
|
||||
*/
|
||||
/** @brief Pencil-like non-photorealistic line drawing
|
||||
|
||||
@param src Input 8-bit 3-channel image.
|
||||
|
||||
@@ -53,6 +53,9 @@ namespace cv
|
||||
//! @addtogroup shape
|
||||
//! @{
|
||||
|
||||
/** @example shape_example.cpp
|
||||
An example using shape distance algorithm
|
||||
*/
|
||||
/** @brief Abstract base class for shape distance algorithms.
|
||||
*/
|
||||
class CV_EXPORTS_W ShapeDistanceExtractor : public Algorithm
|
||||
|
||||
@@ -78,7 +78,9 @@ See the OpenCV sample camshiftdemo.c that tracks colored objects.
|
||||
*/
|
||||
CV_EXPORTS_W RotatedRect CamShift( InputArray probImage, CV_IN_OUT Rect& window,
|
||||
TermCriteria criteria );
|
||||
|
||||
/** @example camshiftdemo.cpp
|
||||
An example using the mean-shift tracking algorithm
|
||||
*/
|
||||
/** @brief Finds an object on a back projection image.
|
||||
|
||||
@param probImage Back projection of the object histogram. See calcBackProject for details.
|
||||
@@ -97,8 +99,6 @@ projection and remove the noise. For example, you can do this by retrieving conn
|
||||
with findContours , throwing away contours with small area ( contourArea ), and rendering the
|
||||
remaining contours with drawContours.
|
||||
|
||||
@note
|
||||
- A mean-shift tracking sample can be found at opencv_source_code/samples/cpp/camshiftdemo.cpp
|
||||
*/
|
||||
CV_EXPORTS_W int meanShift( InputArray probImage, CV_IN_OUT Rect& window, TermCriteria criteria );
|
||||
|
||||
@@ -123,6 +123,9 @@ CV_EXPORTS_W int buildOpticalFlowPyramid( InputArray img, OutputArrayOfArrays py
|
||||
int derivBorder = BORDER_CONSTANT,
|
||||
bool tryReuseInputImage = true );
|
||||
|
||||
/** @example lkdemo.cpp
|
||||
An example using the Lucas-Kanade optical flow algorithm
|
||||
*/
|
||||
/** @brief Calculates an optical flow for a sparse feature set using the iterative Lucas-Kanade method with
|
||||
pyramids.
|
||||
|
||||
@@ -258,6 +261,10 @@ enum
|
||||
MOTION_HOMOGRAPHY = 3
|
||||
};
|
||||
|
||||
/** @example image_alignment.cpp
|
||||
An example using the image alignment ECC algorithm
|
||||
*/
|
||||
|
||||
/** @brief Finds the geometric transform (warp) between two images in terms of the ECC criterion @cite EP08 .
|
||||
|
||||
@param templateImage single-channel template image; CV_8U or CV_32F array.
|
||||
@@ -313,25 +320,20 @@ CV_EXPORTS_W double findTransformECC( InputArray templateImage, InputArray input
|
||||
TermCriteria criteria = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 50, 0.001),
|
||||
InputArray inputMask = noArray());
|
||||
|
||||
/** @example kalman.cpp
|
||||
An example using the standard Kalman filter
|
||||
*/
|
||||
/** @brief Kalman filter class.
|
||||
|
||||
The class implements a standard Kalman filter <http://en.wikipedia.org/wiki/Kalman_filter>,
|
||||
@cite Welch95 . However, you can modify transitionMatrix, controlMatrix, and measurementMatrix to get
|
||||
an extended Kalman filter functionality. See the OpenCV sample kalman.cpp.
|
||||
|
||||
@note
|
||||
|
||||
- An example using the standard Kalman filter can be found at
|
||||
opencv_source_code/samples/cpp/kalman.cpp
|
||||
an extended Kalman filter functionality.
|
||||
@note In C API when CvKalman\* kalmanFilter structure is not needed anymore, it should be released
|
||||
with cvReleaseKalman(&kalmanFilter)
|
||||
*/
|
||||
class CV_EXPORTS_W KalmanFilter
|
||||
{
|
||||
public:
|
||||
/** @brief The constructors.
|
||||
|
||||
@note In C API when CvKalman\* kalmanFilter structure is not needed anymore, it should be released
|
||||
with cvReleaseKalman(&kalmanFilter)
|
||||
*/
|
||||
CV_WRAP KalmanFilter();
|
||||
/** @overload
|
||||
@param dynamParams Dimensionality of the state.
|
||||
|
||||
@@ -808,12 +808,12 @@ protected:
|
||||
|
||||
class IVideoWriter;
|
||||
|
||||
/** @example videowriter_basic.cpp
|
||||
An example using VideoCapture and VideoWriter class
|
||||
*/
|
||||
/** @brief Video writer class.
|
||||
|
||||
The class provides C++ API for writing video files or image sequences.
|
||||
|
||||
Here is how the class can be used:
|
||||
@include samples/cpp/videowriter_basic.cpp
|
||||
*/
|
||||
class CV_EXPORTS_W VideoWriter
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user