Skip to content

Commit 12cd3b5

Browse files
committed
Merge pull request opencv#10756 from terfendail:orb_firstlevel
2 parents bbfa239 + 2632179 commit 12cd3b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/features2d/include/opencv2/features2d.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ class CV_EXPORTS_W ORB : public Feature2D
307307
input_image_linear_size/pow(scaleFactor, nlevels - firstLevel).
308308
@param edgeThreshold This is size of the border where the features are not detected. It should
309309
roughly match the patchSize parameter.
310-
@param firstLevel The level of pytramid to put source image to. Previous layers are filled
310+
@param firstLevel The level of pyramid to put source image to. Previous layers are filled
311311
with upscaled source image.
312312
@param WTA_K The number of points that produce each element of the oriented BRIEF descriptor. The
313313
default value 2 means the BRIEF where we take a random point pair and compare their brightnesses,

modules/features2d/src/orb.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ class ORB_Impl : public ORB
673673
void setEdgeThreshold(int edgeThreshold_) { edgeThreshold = edgeThreshold_; }
674674
int getEdgeThreshold() const { return edgeThreshold; }
675675

676-
void setFirstLevel(int firstLevel_) { CV_Assert(firstLevel >= 0); firstLevel = firstLevel_; }
676+
void setFirstLevel(int firstLevel_) { CV_Assert(firstLevel_ >= 0); firstLevel = firstLevel_; }
677677
int getFirstLevel() const { return firstLevel; }
678678

679679
void setWTA_K(int wta_k_) { wta_k = wta_k_; }

0 commit comments

Comments
 (0)