Skip to content

Commit cd7276f

Browse files
asashouralalek
authored andcommitted
Merge pull request #2131 from asashour:param
* doc: fix return parameter for void method * docs: add missing parameter description
1 parent 4446ef5 commit cd7276f

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

modules/aruco/include/opencv2/aruco.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ CV_EXPORTS_W void estimatePoseSingleMarkers(InputArrayOfArrays corners, float ma
262262
/**
263263
* @brief Board of markers
264264
*
265-
* A board is a set of markers in the 3D space with a common cordinate system.
265+
* A board is a set of markers in the 3D space with a common coordinate system.
266266
* The common form of a board of marker is a planar (2D) board, however any 3D layout can be used.
267267
* A Board object is composed by:
268268
* - The object points of the marker corners, i.e. their coordinates respect to the board system.
@@ -273,7 +273,7 @@ class CV_EXPORTS_W Board {
273273

274274
public:
275275
/**
276-
* @brief Provide way to create Board by passing nessesary data. Specially needed in Python.
276+
* @brief Provide way to create Board by passing necessary data. Specially needed in Python.
277277
*
278278
* @param objPoints array of object points of all the marker corners in the board
279279
* @param dictionary the dictionary of markers employed for this board
@@ -297,7 +297,7 @@ class CV_EXPORTS_W Board {
297297

298298
/**
299299
* @brief Planar board with grid arrangement of markers
300-
* More common type of board. All markers are placed in the same plane in a grid arrangment.
300+
* More common type of board. All markers are placed in the same plane in a grid arrangement.
301301
* The board can be drawn using drawPlanarBoard() function (@sa drawPlanarBoard)
302302
*/
303303
class CV_EXPORTS_W GridBoard : public Board {

modules/bioinspired/include/opencv2/bioinspired/transientareassegmentationmodule.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ class CV_EXPORTS_W TransientAreasSegmentationModule: public Algorithm
180180
CV_WRAP virtual void run(InputArray inputToSegment, const int channelIndex=0)=0;
181181

182182
/** @brief access function
183-
@return the last segmentation result: a boolean picture which is resampled between 0 and 255 for a display purpose
184-
*/
183+
return the last segmentation result: a boolean picture which is resampled between 0 and 255 for a display purpose
184+
*/
185185
CV_WRAP virtual void getSegmentationPicture(OutputArray transientAreas)=0;
186186

187187
/** @brief cleans all the buffers of the instance

modules/bioinspired/src/transientareassegmentationmodule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class TransientAreasSegmentationModuleImpl : protected BasicRetinaFilter
166166

167167
/**
168168
* access function
169-
* @return the last segmentation result: a boolean picture which is resampled between 0 and 255 for a display purpose
169+
* return the last segmentation result: a boolean picture which is resampled between 0 and 255 for a display purpose
170170
*/
171171
void getSegmentationPicture(OutputArray transientAreas);
172172

modules/img_hash/include/opencv2/img_hash/block_mean_hash.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class CV_EXPORTS_W BlockMeanHash : public ImgHashBase
2727
{
2828
public:
2929
/** @brief Create BlockMeanHash object
30-
@param mode
30+
@param mode the mode
3131
*/
3232
CV_WRAP void setMode(int mode);
3333
CV_WRAP std::vector<double> getMean() const;
@@ -39,7 +39,7 @@ class CV_EXPORTS_W BlockMeanHash : public ImgHashBase
3939
/** @brief Computes block mean hash of the input image
4040
@param inputArr input image want to compute hash value, type should be CV_8UC4, CV_8UC3 or CV_8UC1.
4141
@param outputArr Hash value of input, it will contain 16 hex decimal number, return type is CV_8U
42-
@param mode
42+
@param mode the mode
4343
*/
4444
CV_EXPORTS_W void blockMeanHash(cv::InputArray inputArr,
4545
cv::OutputArray outputArr,

modules/tracking/samples/tracker.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ int main( int argc, char** argv ){
5050
for(size_t npos=0,pos=0,ctr=0;ctr<4;ctr++){
5151
npos=initBoundingBox.find_first_of(',',pos);
5252
if(npos==string::npos && ctr<3){
53-
printf("bounding box should be given in format \"x1,y1,x2,y2\",where x's and y's are integer cordinates of opposed corners of bdd box\n");
53+
printf("bounding box should be given in format \"x1,y1,x2,y2\",where x's and y's are integer coordinates of opposed corners of bdd box\n");
5454
printf("got: %s\n",initBoundingBox.substr(pos,string::npos).c_str());
5555
printf("manual selection of bounding box will be employed\n");
5656
break;
5757
}
5858
int num=atoi(initBoundingBox.substr(pos,(ctr==3)?(string::npos):(npos-pos)).c_str());
5959
if(num<=0){
60-
printf("bounding box should be given in format \"x1,y1,x2,y2\",where x's and y's are integer cordinates of opposed corners of bdd box\n");
60+
printf("bounding box should be given in format \"x1,y1,x2,y2\",where x's and y's are integer coordinates of opposed corners of bdd box\n");
6161
printf("got: %s\n",initBoundingBox.substr(pos,npos-pos).c_str());
6262
printf("manual selection of bounding box will be employed\n");
6363
break;

modules/tracking/src/feature.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ void CvHOGEvaluator::Feature::write( FileStorage &fs ) const
908908
//}
909909

910910
//cell[0] and featComponent idx writing. By cell[0] it's possible to recover all block
911-
//All block is nessesary for block normalization
911+
//All block is necessary for block normalization
912912
void CvHOGEvaluator::Feature::write( FileStorage &fs, int featComponentIdx ) const
913913
{
914914
fs << CC_RECT << "[:" << rect[0].x << rect[0].y << rect[0].width << rect[0].height << featComponentIdx << "]";

modules/ximgproc/include/opencv2/ximgproc/edge_filter.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ guided image then use DTFilter interface to avoid extra computations on initiali
107107
@param guide guided image (also called as joint image) with unsigned 8-bit or floating-point 32-bit
108108
depth and up to 4 channels.
109109
@param src filtering image with unsigned 8-bit or floating-point 32-bit depth and up to 4 channels.
110-
@param dst
110+
@param dst destination image
111111
@param sigmaSpatial \f${\sigma}_H\f$ parameter in the original article, it's similar to the sigma in the
112112
coordinate space into bilateralFilter.
113113
@param sigmaColor \f${\sigma}_r\f$ parameter in the original article, it's similar to the sigma in the

0 commit comments

Comments
 (0)