mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Misc. modules/ typos
Found via `codespell`
This commit is contained in:
@@ -1788,7 +1788,7 @@ CVAPI(int) cvGraphRemoveVtx( CvGraph* graph, int index );
|
||||
CVAPI(int) cvGraphRemoveVtxByPtr( CvGraph* graph, CvGraphVtx* vtx );
|
||||
|
||||
|
||||
/** Link two vertices specifed by indices or pointers if they
|
||||
/** Link two vertices specified by indices or pointers if they
|
||||
are not connected or return pointer to already existing edge
|
||||
connecting the vertices.
|
||||
Functions return 1 if a new edge was created, 0 otherwise */
|
||||
@@ -2648,7 +2648,7 @@ CVAPI(void) cvSetErrStatus( int status );
|
||||
#define CV_ErrModeParent 1 /* Print error and continue */
|
||||
#define CV_ErrModeSilent 2 /* Don't print and continue */
|
||||
|
||||
/** Retrives current error processing mode */
|
||||
/** Retrieves current error processing mode */
|
||||
CVAPI(int) cvGetErrMode( void );
|
||||
|
||||
/** Sets error processing mode, returns previously used mode */
|
||||
@@ -2738,7 +2738,7 @@ static char cvFuncName[] = Name
|
||||
/**
|
||||
CV_CALL macro calls CV (or IPL) function, checks error status and
|
||||
signals a error if the function failed. Useful in "parent node"
|
||||
error procesing mode
|
||||
error processing mode
|
||||
*/
|
||||
#define CV_CALL( Func ) \
|
||||
{ \
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
@{
|
||||
@defgroup cudacore Core part
|
||||
@{
|
||||
@defgroup cudacore_init Initalization and Information
|
||||
@defgroup cudacore_init Initialization and Information
|
||||
@defgroup cudacore_struct Data Structures
|
||||
@}
|
||||
@}
|
||||
|
||||
@@ -2184,7 +2184,7 @@ public:
|
||||
Mat_(int _ndims, const int* _sizes);
|
||||
//! n-dim array constructor that sets each matrix element to specified value
|
||||
Mat_(int _ndims, const int* _sizes, const _Tp& value);
|
||||
//! copy/conversion contructor. If m is of different type, it's converted
|
||||
//! copy/conversion constructor. If m is of different type, it's converted
|
||||
Mat_(const Mat& m);
|
||||
//! copy constructor
|
||||
Mat_(const Mat_& m);
|
||||
@@ -2275,7 +2275,7 @@ public:
|
||||
static MatExpr eye(int rows, int cols);
|
||||
static MatExpr eye(Size size);
|
||||
|
||||
//! some more overriden methods
|
||||
//! some more overridden methods
|
||||
Mat_& adjustROI( int dtop, int dbottom, int dleft, int dright );
|
||||
Mat_ operator()( const Range& rowRange, const Range& colRange ) const;
|
||||
Mat_ operator()( const Rect& roi ) const;
|
||||
@@ -2943,7 +2943,7 @@ public:
|
||||
|
||||
//! the default constructor
|
||||
SparseMat_();
|
||||
//! the full constructor equivelent to SparseMat(dims, _sizes, DataType<_Tp>::type)
|
||||
//! the full constructor equivalent to SparseMat(dims, _sizes, DataType<_Tp>::type)
|
||||
SparseMat_(int dims, const int* _sizes);
|
||||
//! the copy constructor. If DataType<_Tp>.type != m.type(), the m elements are converted
|
||||
SparseMat_(const SparseMat& m);
|
||||
|
||||
@@ -92,7 +92,7 @@ Except of the plain constructor which takes a list of elements, Matx can be init
|
||||
float values[] = { 1, 2, 3};
|
||||
Matx31f m(values);
|
||||
@endcode
|
||||
In case if C++11 features are avaliable, std::initializer_list can be also used to initialize Matx:
|
||||
In case if C++11 features are available, std::initializer_list can be also used to initialize Matx:
|
||||
@code{.cpp}
|
||||
Matx31f m = { 1, 2, 3};
|
||||
@endcode
|
||||
|
||||
@@ -245,7 +245,7 @@ public:
|
||||
|
||||
/** @brief Maps OpenGL buffer to CUDA device memory.
|
||||
|
||||
This operatation doesn't copy data. Several buffer objects can be mapped to CUDA memory at a time.
|
||||
This operation doesn't copy data. Several buffer objects can be mapped to CUDA memory at a time.
|
||||
|
||||
A mapped data store must be unmapped with ogl::Buffer::unmapDevice before its buffer object is used.
|
||||
*/
|
||||
|
||||
@@ -115,7 +115,7 @@ public:
|
||||
always sensible) will be used.
|
||||
|
||||
@param x The initial point, that will become a centroid of an initial simplex. After the algorithm
|
||||
will terminate, it will be setted to the point where the algorithm stops, the point of possible
|
||||
will terminate, it will be set to the point where the algorithm stops, the point of possible
|
||||
minimum.
|
||||
@return The value of a function at the point found.
|
||||
*/
|
||||
@@ -288,7 +288,7 @@ Bland's rule <http://en.wikipedia.org/wiki/Bland%27s_rule> is used to prevent cy
|
||||
contain 32- or 64-bit floating point numbers. As a convenience, column-vector may be also submitted,
|
||||
in the latter case it is understood to correspond to \f$c^T\f$.
|
||||
@param Constr `m`-by-`n+1` matrix, whose rightmost column corresponds to \f$b\f$ in formulation above
|
||||
and the remaining to \f$A\f$. It should containt 32- or 64-bit floating point numbers.
|
||||
and the remaining to \f$A\f$. It should contain 32- or 64-bit floating point numbers.
|
||||
@param z The solution will be returned here as a column-vector - it corresponds to \f$c\f$ in the
|
||||
formulation above. It will contain 64-bit floating point numbers.
|
||||
@return One of cv::SolveLPResult
|
||||
|
||||
@@ -82,7 +82,7 @@ namespace cv
|
||||
Both types support the following:
|
||||
- Construction from signed and unsigned 32-bit and 64 integers,
|
||||
float/double or raw binary representation
|
||||
- Conversions betweeen each other, to float or double and to int
|
||||
- Conversions between each other, to float or double and to int
|
||||
using @ref cvRound, @ref cvTrunc, @ref cvFloor, @ref cvCeil or a bunch of
|
||||
saturate_cast functions
|
||||
- Add, subtract, multiply, divide, remainder, square root, FMA with absolute precision
|
||||
|
||||
@@ -555,7 +555,7 @@ VSX_IMPL_CONV_EVEN_2_4(vec_uint4, vec_double2, vec_ctu, vec_ctuo)
|
||||
// vector population count
|
||||
#define vec_popcntu vec_popcnt
|
||||
|
||||
// overload and redirect wih setting second arg to zero
|
||||
// overload and redirect with setting second arg to zero
|
||||
// since we only support conversions without the second arg
|
||||
#define VSX_IMPL_OVERLOAD_Z2(rt, rg, fnm) \
|
||||
VSX_FINLINE(rt) fnm(const rg& a) { return fnm(a, 0); }
|
||||
@@ -610,7 +610,7 @@ VSX_IMPL_CONV_ODD_2_4(vec_uint4, vec_double2, vec_ctuo, vec_ctu)
|
||||
|
||||
#endif // XLC VSX compatibility
|
||||
|
||||
// ignore GCC warning that casued by -Wunused-but-set-variable in rare cases
|
||||
// ignore GCC warning that caused by -Wunused-but-set-variable in rare cases
|
||||
#if defined(__GNUG__) && !defined(__clang__)
|
||||
# define VSX_UNUSED(Tvec) Tvec __attribute__((__unused__))
|
||||
#else // CLANG, XLC
|
||||
@@ -736,7 +736,7 @@ VSX_IMPL_LOAD_L8(vec_double2, double)
|
||||
# define vec_cmpne(a, b) vec_not(vec_cmpeq(a, b))
|
||||
#endif
|
||||
|
||||
// absoulte difference
|
||||
// absolute difference
|
||||
#ifndef vec_absd
|
||||
# define vec_absd(a, b) vec_sub(vec_max(a, b), vec_min(a, b))
|
||||
#endif
|
||||
|
||||
@@ -289,7 +289,7 @@ protected:
|
||||
};
|
||||
|
||||
/** Image class which owns the data, so it can be allocated and is always
|
||||
freed. It cannot be copied but can be explicity cloned.
|
||||
freed. It cannot be copied but can be explicitly cloned.
|
||||
*/
|
||||
template<typename T>
|
||||
class WImageBuffer : public WImage<T>
|
||||
|
||||
Reference in New Issue
Block a user