Skip to content

Commit a17185c

Browse files
committed
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2 parents 18439b4 + bc9221a commit a17185c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/aruco/include/opencv2/aruco.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@ enum CornerRefineMethod{
116116
* - cornerRefinementMinAccuracy: minimum error for the stop cristeria of the corner refinement
117117
* process (default: 0.1)
118118
* - markerBorderBits: number of bits of the marker border, i.e. marker border width (default 1).
119-
* - perpectiveRemovePixelPerCell: number of bits (per dimension) for each cell of the marker
119+
* - perspectiveRemovePixelPerCell: number of bits (per dimension) for each cell of the marker
120120
* when removing the perspective (default 8).
121121
* - perspectiveRemoveIgnoredMarginPerCell: width of the margin of pixels on each cell not
122122
* considered for the determination of the cell bit. Represents the rate respect to the total
123-
* size of the cell, i.e. perpectiveRemovePixelPerCell (default 0.13)
123+
* size of the cell, i.e. perspectiveRemovePixelPerCell (default 0.13)
124124
* - maxErroneousBitsInBorderRate: maximum number of accepted erroneous bits in the border (i.e.
125125
* number of allowed white bits in the border). Represented as a rate respect to the total
126126
* number of bits per marker (default 0.35).

modules/aruco/tutorials/aruco_detection/aruco_detection.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ depending if the mean value is higher or lower than 128.
627627

628628
Default value: 5.0
629629

630-
- ```int perpectiveRemovePixelPerCell```
630+
- ```int perspectiveRemovePixelPerCell```
631631

632632
This parameter determines the number of pixels (per cell) in the obtained image after removing perspective
633633
distortion (including the border). This is the size of the red squares in the image above.
@@ -636,7 +636,7 @@ For instance, lets assume we are dealing with markers of 5x5 bits and border siz
636636
(see ```markerBorderBits```). Then, the total number of cells/bits per dimension is 5 + 2*1 = 7 (the border
637637
has to be counted twice). The total number of cells is 7x7.
638638

639-
If the value of ```perpectiveRemovePixelPerCell``` is 10, then the size of the obtained image will be
639+
If the value of ```perspectiveRemovePixelPerCell``` is 10, then the size of the obtained image will be
640640
10*7 = 70 -> 70x70 pixels.
641641

642642
A higher value of this parameter can improve the bits extraction process (up to some degree), however it can penalize

0 commit comments

Comments
 (0)