Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/aruco/include/opencv2/aruco.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ CV_EXPORTS_W void estimatePoseSingleMarkers(InputArrayOfArrays corners, float ma
/**
* @brief Board of markers
*
* A board is a set of markers in the 3D space with a common cordinate system.
* A board is a set of markers in the 3D space with a common coordinate system.
* The common form of a board of marker is a planar (2D) board, however any 3D layout can be used.
* A Board object is composed by:
* - The object points of the marker corners, i.e. their coordinates respect to the board system.
Expand All @@ -273,7 +273,7 @@ class CV_EXPORTS_W Board {

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

/**
* @brief Planar board with grid arrangement of markers
* More common type of board. All markers are placed in the same plane in a grid arrangment.
* More common type of board. All markers are placed in the same plane in a grid arrangement.
* The board can be drawn using drawPlanarBoard() function (@sa drawPlanarBoard)
*/
class CV_EXPORTS_W GridBoard : public Board {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ class CV_EXPORTS_W TransientAreasSegmentationModule: public Algorithm
CV_WRAP virtual void run(InputArray inputToSegment, const int channelIndex=0)=0;

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

/** @brief cleans all the buffers of the instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class TransientAreasSegmentationModuleImpl : protected BasicRetinaFilter

/**
* access function
* @return the last segmentation result: a boolean picture which is resampled between 0 and 255 for a display purpose
* return the last segmentation result: a boolean picture which is resampled between 0 and 255 for a display purpose
*/
void getSegmentationPicture(OutputArray transientAreas);

Expand Down
6 changes: 3 additions & 3 deletions modules/cudaarithm/include/opencv2/cudaarithm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,9 @@ CV_EXPORTS_W Ptr<LookUpTable> createLookUpTable(InputArray lut);
@param src Source image. CV_8UC1 , CV_8UC4 , CV_32SC1 , and CV_32FC1 types are supported.
@param dst Destination image with the same type as src. The size is
Size(src.cols+left+right, src.rows+top+bottom) .
@param top
@param bottom
@param left
@param top Number of top pixels
@param bottom Number of bottom pixels
@param left Number of left pixels
@param right Number of pixels in each direction from the source image rectangle to extrapolate.
For example: top=1, bottom=1, left=1, right=1 mean that 1 pixel-wide border needs to be built.
@param borderType Border type. See borderInterpolate for details. BORDER_REFLECT101 ,
Expand Down
4 changes: 2 additions & 2 deletions modules/img_hash/include/opencv2/img_hash/block_mean_hash.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class CV_EXPORTS_W BlockMeanHash : public ImgHashBase
{
public:
/** @brief Create BlockMeanHash object
@param mode
@param mode the mode
*/
CV_WRAP void setMode(int mode);
CV_WRAP std::vector<double> getMean() const;
Expand All @@ -39,7 +39,7 @@ class CV_EXPORTS_W BlockMeanHash : public ImgHashBase
/** @brief Computes block mean hash of the input image
@param inputArr input image want to compute hash value, type should be CV_8UC4, CV_8UC3 or CV_8UC1.
@param outputArr Hash value of input, it will contain 16 hex decimal number, return type is CV_8U
@param mode
@param mode the mode
*/
CV_EXPORTS_W void blockMeanHash(cv::InputArray inputArr,
cv::OutputArray outputArr,
Expand Down
4 changes: 2 additions & 2 deletions modules/tracking/samples/tracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ int main( int argc, char** argv ){
for(size_t npos=0,pos=0,ctr=0;ctr<4;ctr++){
npos=initBoundingBox.find_first_of(',',pos);
if(npos==string::npos && ctr<3){
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");
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");
printf("got: %s\n",initBoundingBox.substr(pos,string::npos).c_str());
printf("manual selection of bounding box will be employed\n");
break;
}
int num=atoi(initBoundingBox.substr(pos,(ctr==3)?(string::npos):(npos-pos)).c_str());
if(num<=0){
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");
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");
printf("got: %s\n",initBoundingBox.substr(pos,npos-pos).c_str());
printf("manual selection of bounding box will be employed\n");
break;
Expand Down
2 changes: 1 addition & 1 deletion modules/tracking/src/feature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ void CvHOGEvaluator::Feature::write( FileStorage &fs ) const
//}

//cell[0] and featComponent idx writing. By cell[0] it's possible to recover all block
//All block is nessesary for block normalization
//All block is necessary for block normalization
void CvHOGEvaluator::Feature::write( FileStorage &fs, int featComponentIdx ) const
{
fs << CC_RECT << "[:" << rect[0].x << rect[0].y << rect[0].width << rect[0].height << featComponentIdx << "]";
Expand Down
2 changes: 1 addition & 1 deletion modules/ximgproc/include/opencv2/ximgproc/edge_filter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ guided image then use DTFilter interface to avoid extra computations on initiali
@param guide guided image (also called as joint image) with unsigned 8-bit or floating-point 32-bit
depth and up to 4 channels.
@param src filtering image with unsigned 8-bit or floating-point 32-bit depth and up to 4 channels.
@param dst
@param dst destination image
@param sigmaSpatial \f${\sigma}_H\f$ parameter in the original article, it's similar to the sigma in the
coordinate space into bilateralFilter.
@param sigmaColor \f${\sigma}_r\f$ parameter in the original article, it's similar to the sigma in the
Expand Down