Skip to content

Commit 078c456

Browse files
bwignallalalek
authored andcommitted
Fix typos
backport commit 8c09249
1 parent e70a4c4 commit 078c456

File tree

62 files changed

+76
-76
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+76
-76
lines changed

modules/aruco/include/opencv2/aruco.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ class CV_EXPORTS_W GridBoard : public Board {
354354
// number of markers in X and Y directions
355355
int _markersX, _markersY;
356356

357-
// marker side lenght (normally in meters)
357+
// marker side length (normally in meters)
358358
float _markerLength;
359359

360360
// separation between markers in the grid

modules/aruco/src/apriltag_quad_thresh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ int fit_quad(const Ptr<DetectorParameters> &_params, const Mat im, zarray_t *clu
661661
if (dot < 0)
662662
return 0;
663663

664-
// we now sort the points according to theta. This is a prepatory
664+
// we now sort the points according to theta. This is a preparatory
665665
// step for segmenting them into four lines.
666666
if (1) {
667667
// zarray_sort(cluster, pt_compare_theta);

modules/aruco/src/charuco.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ void drawDetectedCornersCharuco(InputOutputArray _image, InputArray _charucoCorn
616616

617617
/**
618618
* Check if a set of 3d points are enough for calibration. Z coordinate is ignored.
619-
* Only axis paralel lines are considered
619+
* Only axis parallel lines are considered
620620
*/
621621
static bool _arePointsEnoughForPoseEstimation(const vector< Point3f > &points) {
622622

modules/aruco/src/dictionary.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ bool Dictionary::identify(const Mat &onlyBits, int &idx, int &rotation,
122122
}
123123
}
124124

125-
// if maxCorrection is fullfilled, return this one
125+
// if maxCorrection is fulfilled, return this one
126126
if(currentMinDistance <= maxCorrectionRecalculed) {
127127
idx = m;
128128
rotation = currentRotation;

modules/aruco/tutorials/charuco_detection/charuco_detection.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This class, as the rest of ChArUco functionalities, are defined in:
3232
#include <opencv2/aruco/charuco.hpp>
3333
@endcode
3434

35-
To define a ```CharucoBoard```, it is necesary:
35+
To define a ```CharucoBoard```, it is necessary:
3636

3737
- Number of chessboard squares in X direction.
3838
- Number of chessboard squares in Y direction.

modules/aruco/tutorials/charuco_diamond_detection/charuco_diamond_detection.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function and, for each diamond, the corners are represented in the same order th
102102
starting with the top-left corner. The second returned parameter, ```diamondIds```, contains all the ids of the returned
103103
diamond corners in ```diamondCorners```. Each id is actually an array of 4 integers that can be represented with ```Vec4i```.
104104

105-
The detected diamond can be visualized using the function ```drawDetectedDiamonds()``` which simply recieves the image and the diamond
105+
The detected diamond can be visualized using the function ```drawDetectedDiamonds()``` which simply receives the image and the diamond
106106
corners and ids:
107107

108108
@code{.cpp}

modules/bioinspired/doc/retina.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ For more information, refer to the following papers :
134134

135135
- Please have a look at the reference work of Jeanny Herault that you can read in his book : @cite Herault2010
136136

137-
This retina filter code includes the research contributions of phd/research collegues from which
137+
This retina filter code includes the research contributions of phd/research colleagues from which
138138
code has been redrawn by the author :
139139

140140
- take a look at the *retinacolor.hpp* module to discover Brice Chaix de Lavarene phD color

modules/bioinspired/samples/OpenEXRimages_HDR_Retina_toneMapping.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ static void rescaleGrayLevelMat(const cv::Mat &inputMat, cv::Mat &outputMat, con
7575
cvtColor(rgbIntImg, intGrayImage, cv::COLOR_BGR2GRAY);
7676
}
7777

78-
// get histogram density probability in order to cut values under above edges limits (here 5-95%)... usefull for HDR pixel errors cancellation
78+
// get histogram density probability in order to cut values under above edges limits (here 5-95%)... useful for HDR pixel errors cancellation
7979
cv::Mat dst, hist;
8080
int histSize = 256;
8181
calcHist(&intGrayImage, 1, 0, cv::Mat(), hist, 1, &histSize, 0);
@@ -233,7 +233,7 @@ int main(int argc, char* argv[])
233233
// save default retina parameters file in order to let you see this and maybe modify it and reload using method "setup"
234234
retina->write("RetinaDefaultParameters.xml");
235235

236-
// desactivate Magnocellular pathway processing (motion information extraction) since it is not usefull here
236+
// desactivate Magnocellular pathway processing (motion information extraction) since it is not useful here
237237
retina->activateMovingContoursProcessing(false);
238238

239239
// declare retina output buffers

modules/bioinspired/samples/cpp/OpenEXRimages_HDR_Retina_toneMapping.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ static void drawPlot(const cv::Mat curve, const std::string figureTitle, const i
7474
cvtColor(rgbIntImg, intGrayImage, cv::COLOR_BGR2GRAY);
7575
}
7676

77-
// get histogram density probability in order to cut values under above edges limits (here 5-95%)... usefull for HDR pixel errors cancellation
77+
// get histogram density probability in order to cut values under above edges limits (here 5-95%)... useful for HDR pixel errors cancellation
7878
cv::Mat dst, hist;
7979
int histSize = 256;
8080
calcHist(&intGrayImage, 1, 0, cv::Mat(), hist, 1, &histSize, 0);
@@ -231,7 +231,7 @@ static void drawPlot(const cv::Mat curve, const std::string figureTitle, const i
231231
// save default retina parameters file in order to let you see this and maybe modify it and reload using method "setup"
232232
retina->write("RetinaDefaultParameters.xml");
233233

234-
// desactivate Magnocellular pathway processing (motion information extraction) since it is not usefull here
234+
// desactivate Magnocellular pathway processing (motion information extraction) since it is not useful here
235235
retina->activateMovingContoursProcessing(false);
236236

237237
// declare retina output buffers

modules/bioinspired/src/retina_ocl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ void RetinaFilter::setGlobalParameters(const float OPLspatialResponse1, const fl
13671367
_normalizeMagnoOutput_0_maxOutputValue = normalizeMagnoOutput_0_maxOutputValue;
13681368
_maxOutputValue = maxOutputValue;
13691369
_photoreceptorsPrefilter.setV0CompressionParameter(0.9f, maxInputValue, meanValue);
1370-
_photoreceptorsPrefilter.setLPfilterParameters(0, 0, 10, 3); // keeps low pass filter with low cut frequency in memory (usefull for the tone mapping function)
1370+
_photoreceptorsPrefilter.setLPfilterParameters(0, 0, 10, 3); // keeps low pass filter with low cut frequency in memory (useful for the tone mapping function)
13711371
_ParvoRetinaFilter.setOPLandParvoFiltersParameters(0, OPLtemporalresponse1, OPLspatialResponse1, OPLassymetryGain, OPLtemporalresponse2, OPLspatialResponse2);
13721372
_ParvoRetinaFilter.setV0CompressionParameter(0.9f, maxInputValue, meanValue);
13731373
_MagnoRetinaFilter.setCoefficientsTable(LPfilterGain, LPfilterTemporalresponse, LPfilterSpatialResponse, MovingContoursExtractorCoefficient, 0, 2.0f * LPfilterSpatialResponse);
@@ -1433,7 +1433,7 @@ bool RetinaFilter::runFilter(const UMat &imageInput, const bool useAdaptiveFilte
14331433

14341434
if (_useParvoOutput)
14351435
{
1436-
_ParvoRetinaFilter.normalizeGrayOutputCentredSigmoide(); // models the saturation of the cells, usefull for visualisation of the ON-OFF Parvo Output, Bipolar cells outputs do not change !!!
1436+
_ParvoRetinaFilter.normalizeGrayOutputCentredSigmoide(); // models the saturation of the cells, useful for visualisation of the ON-OFF Parvo Output, Bipolar cells outputs do not change !!!
14371437
_ParvoRetinaFilter.centerReductImageLuminance(); // best for further spectrum analysis
14381438

14391439
if (_normalizeParvoOutput_0_maxOutputValue)

0 commit comments

Comments
 (0)