@@ -25,44 +25,40 @@ class Dictionary;
25
25
* - The identifier of all the markers in the board.
26
26
*/
27
27
class CV_EXPORTS_W Board {
28
- public:
29
- /* *
30
- * @brief Provide way to create Board by passing necessary data. Specially needed in Python.
31
- *
32
- * @param objPoints array of object points of all the marker corners in the board
33
- * @param dictionary the dictionary of markers employed for this board
34
- * @param ids vector of the identifiers of the markers in the board
35
- *
36
- */
28
+ public:
29
+ /* * @brief Provide way to create Board by passing necessary data. Specially needed in Python.
30
+ * @param objPoints array of object points of all the marker corners in the board
31
+ * @param dictionary the dictionary of markers employed for this board
32
+ * @param ids vector of the identifiers of the markers in the board
33
+ */
37
34
CV_WRAP static Ptr<Board> create (InputArrayOfArrays objPoints, const Ptr<Dictionary> &dictionary, InputArray ids);
38
35
39
- /* *
40
- * @brief Set ids vector
41
- *
42
- * @param ids vector of the identifiers of the markers in the board (should be the same size
43
- * as objPoints)
44
- *
45
- * Recommended way to set ids vector, which will fail if the size of ids does not match size
46
- * of objPoints.
47
- */
36
+ /* * @brief Set ids vector
37
+ * @param ids vector of the identifiers of the markers in the board (should be the same size
38
+ * as objPoints)
39
+ *
40
+ * Recommended way to set ids vector, which will fail if the size of ids does not match size
41
+ * of objPoints.
42
+ */
48
43
CV_WRAP void setIds (InputArray ids);
49
44
50
- // / array of object points of all the marker corners in the board
51
- // / each marker include its 4 corners in this order:
52
- // / - objPoints[i][0 ] - left -top point of i-th marker
53
- // / - objPoints[i][1 ] - right-top point of i-th marker
54
- // / - objPoints[i][2 ] - right -bottom point of i-th marker
55
- // /- objPoints[i][3] - left-bottom point of i-th marker
56
- // /
57
- // / Markers are placed in a certain order - row by row, left to right in every row .
58
- // / For M markers, the size is Mx4.
45
+ /* * @brief array of object points of all the marker corners in the board each marker include its 4 corners in this order:
46
+ * - objPoints[i][0] - left-top point of i-th marker
47
+ * - objPoints[i][1 ] - right -top point of i-th marker
48
+ * - objPoints[i][2 ] - right-bottom point of i-th marker
49
+ * - objPoints[i][3 ] - left -bottom point of i-th marker
50
+ *
51
+ * Markers are placed in a certain order - row by row, left to right in every row.
52
+ * For M markers, the size is Mx4 .
53
+ */
59
54
CV_PROP std::vector<std::vector<Point3f> > objPoints;
60
55
61
56
// / the dictionary of markers employed for this board
62
57
CV_PROP Ptr<Dictionary> dictionary;
63
58
64
- // / vector of the identifiers of the markers in the board (same size than objPoints)
65
- // / The identifiers refers to the board dictionary
59
+ /* * @brief vector of the identifiers of the markers in the board (same size than objPoints)
60
+ * The identifiers refers to the board dictionary
61
+ */
66
62
CV_PROP_RW std::vector<int > ids;
67
63
68
64
// / coordinate of the bottom right corner of the board, is set when calling the function create()
@@ -173,9 +169,7 @@ class CV_EXPORTS_W CharucoBoard : public Board {
173
169
CV_WRAP void draw (Size outSize, OutputArray img, int marginSize = 0 , int borderBits = 1 );
174
170
175
171
176
- /* *
177
- * @brief Create a CharucoBoard object
178
- *
172
+ /* * @brief Create a CharucoBoard object
179
173
* @param squaresX number of chessboard squares in X direction
180
174
* @param squaresY number of chessboard squares in Y direction
181
175
* @param squareLength chessboard square side length (normally in meters)
0 commit comments