mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Merge pull request #10003 from sturkmen72:documentation_updates
This commit is contained in:
@@ -359,7 +359,7 @@ CVAPI(CvMat*) cvGetSubRect( const CvArr* arr, CvMat* submat, CvRect rect );
|
||||
|
||||
/** @brief Returns array row or row span.
|
||||
|
||||
The functions return the header, corresponding to a specified row/row span of the input array.
|
||||
The function returns the header, corresponding to a specified row/row span of the input array.
|
||||
cvGetRow(arr, submat, row) is a shortcut for cvGetRows(arr, submat, row, row+1).
|
||||
@param arr Input array
|
||||
@param submat Pointer to the resulting sub-array header
|
||||
@@ -385,7 +385,7 @@ CV_INLINE CvMat* cvGetRow( const CvArr* arr, CvMat* submat, int row )
|
||||
|
||||
/** @brief Returns one of more array columns.
|
||||
|
||||
The functions return the header, corresponding to a specified column span of the input array. That
|
||||
The function returns the header, corresponding to a specified column span of the input array. That
|
||||
|
||||
is, no data is copied. Therefore, any modifications of the submatrix will affect the original array.
|
||||
If you need to copy the columns, use cvCloneMat. cvGetCol(arr, submat, col) is a shortcut for
|
||||
|
||||
@@ -58,8 +58,8 @@ namespace cv
|
||||
|
||||
/** @brief Template function for accurate conversion from one primitive type to another.
|
||||
|
||||
The functions saturate_cast resemble the standard C++ cast operations, such as static_cast\<T\>()
|
||||
and others. They perform an efficient and accurate conversion from one primitive type to another
|
||||
The function saturate_cast resembles the standard C++ cast operations, such as static_cast\<T\>()
|
||||
and others. It perform an efficient and accurate conversion from one primitive type to another
|
||||
(see the introduction chapter). saturate in the name means that when the input value v is out of the
|
||||
range of the target type, the result is not formed just by taking low bits of the input, but instead
|
||||
the value is clipped. For example:
|
||||
|
||||
Reference in New Issue
Block a user