Camera calibration method for planet vehicle front guide wheel subsidence detection

By radiating straight lines at equal intervals on the front guide wheel of the planet vehicle and the weighted average method, the perspective transformation matrix is ​​dynamically optimized, which solves the problem of inaccurate detection of planet wheel subsidence in traditional methods, and improves the reliability of detection results and operating efficiency.

CN118587298APending Publication Date: 2024-09-03SOUTHEAST UNIV
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410726471.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The traditional perspective transformation method based on single calibration has inaccuracies in the detection of planetary wheel subsidence. It cannot adapt to the shape and size changes caused by the interaction between the wheel and the ground in real time, resulting in inaccurate subsidence measurement results.

Method used

A camera calibration method is used to capture images by radiating straight lines at equal intervals on the target plane of the front guide wheel of the planetary vehicle, extract wheel edge and marked straight line information, construct a reference quadrilateral, calculate the perspective transformation matrix, and achieve dynamic optimization and optimization through the weighted average method. Updated in real time.

Benefits of technology

It improves the reliability of detection results, reduces calibration errors, simplifies the operation process, makes maintenance and calibration more intuitive and convenient, and ensures the accuracy and operating efficiency of subsidence detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587298A
    Figure CN118587298A
Patent Text Reader

Abstract

The camera calibration method comprises the steps that white marking straight lines are arranged on the outer surface of the front guide wheel of the planet vehicle, and the multiple straight lines intersect at the circle center of the front guide wheel and are distributed in a radiation mode in the equal-radian direction; acquiring a planet vehicle front guide wheel image acquired by a target camera; extracting front guide wheel edge information and fitting a marking straight line; solving the intersection point of the wheel edge and the marking straight line, and extracting a reference quadrangle from the intersection point; calculating a perspective transformation matrix according to the vertexes of the reference quadrangle and the priori target points; finally, matrix parameters are optimized through a weighted average method, and dynamic calibration is achieved. According to the camera calibration method, the perspective transformation matrix can be effectively obtained through the single wheel image with the calibration straight line, errors caused by camera shaking and the like can be overcome, accurate calibration in the dynamic process is achieved, and the accuracy and reliability of wheel subsidence amount detection are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of image detection, and in particular relates to a camera calibration method for detecting sinkage of a front guide wheel of a planetary rover. Background Art

[0002] The ability of the rover to pass through various terrains is a key part of evaluating its performance and optimizing it, especially the wheel sinking, which is crucial for optimizing the rover's mobile control and avoiding sinking into the soil. It is the core indicator for evaluating the degree of interaction. In the research on the detection of the wheel sinking of the rover, correct calibration and perspective transformation are of vital importance to ensure the accuracy and reliability of the data.

[0003] The traditional perspective transformation method based on single calibration has certain limitations in wheel sinking detection. During the operation of the rover, the shape and size of the wheel may change slightly due to the interaction between the wheel and the ground. Using a fixed perspective transformation matrix may lead to inaccurate wheel sinking measurement results. Therefore, it is of great significance to design a dynamic calibration method that can be used for rover front guide wheel sinking detection. Summary of the invention

[0004] To solve the above problems, the present invention discloses a camera calibration method for detecting the sinking of the leading guide wheel of a planetary rover, which can realize real-time calibration of the camera during the movement of the planetary rover, solve the problem of inaccurate sinking detection caused by calibration errors, and provide strong guarantee for the safe operation and effective operation of the planetary rover.

[0005] To achieve the above object, the technical solution of the present invention is as follows:

[0006] A camera calibration method for detecting sinking of a front guide wheel of a planetary rover comprises the following steps:

[0007] (1) On the target plane of the front guide wheel of the rover, a number of straight lines are radiated at equal intervals, denoted as N, and the N straight lines intersect at the geometric center of the front guide wheel plane;

[0008] (2) The camera captures the image of the front guide wheel of the planetary rover;

[0009] (3) Obtain wheel edge and marking line information through image feature extraction method;

[0010] (4) Find the intersection of the wheel edge and the marked straight line and construct a reference quadrilateral from it;

[0011] (5) Setting the target point based on prior knowledge and calculating the perspective transformation matrix based on the reference quadrilateral vertices and the target point;

[0012] (6) Use the weighted average method to achieve dynamic optimization and real-time update of perspective transformation matrix parameters.

[0013] Furthermore, the specific steps of obtaining the wheel edge and marking straight line information in step (3) are as follows:

[0014] (3.1) Use instance segmentation to separate the wheel from the ground and fill the small holes inside. Use the Canny algorithm to detect edges and add windows to the image to extract the wheel edge information in the area of ​​interest.

[0015] (3.2) Use the Canny algorithm to perform edge detection and extract as much edge information as possible from the image; use the Hough line transform to extract the straight lines in the edge and merge the lines that are very close to each other; calculate the intersection points of the straight lines, cluster these points to obtain the final center position, and redraw the straight lines.

[0016] Furthermore, the method for redrawing the straight line in step (3.2) is as follows:

[0017]

[0018] Among them, θ is the angle of the merged line; a and b are the sine and cosine values ​​of the line angle respectively; (x0, y0) is the center of the wheel obtained by clustering; (x1, y1) and (x2, y2) are the coordinates of the two endpoints of the redrawn line.

[0019] Furthermore, the construction method of the reference quadrilateral in step (4) is as follows:

[0020] Divide the intersection points on the image into two groups, L and R, according to their positional relationship with the center of the circle. Connect the points in L to the points in R in sequence, and count the lines passing through the center of the circle. Mark the endpoints of the first and sixth lines. Based on prior knowledge, the angle between adjacent lines is 15°, so the reference quadrilateral is a square.

[0021] Furthermore, the perspective matrix calculation method in step (5) is as follows:

[0022]

[0023] Among them, (x i ,y i ) is the source point set, (x' i ,y' i ) is the target point set, i = 1, 2, 3, 4; H is the required perspective transformation matrix, its dimension is 3×3:

[0024]

[0025] The matrix H is solved by the least squares method:

[0026]

[0027] Furthermore, the method of updating the perspective matrix parameters by weighted average in step (6) is as follows:

[0028]

[0029] in, and are the weight matrices at time k-1 and time k respectively; H k is the matrix obtained by static calibration at time k; ω is a weight factor, and its value depends on and The difference between can be defined as:

[0030]

[0031] α is a coefficient used to control the difference weight. will be:

[0032]

[0033] The beneficial effects of the present invention are:

[0034] The camera calibration method for detecting the sinking of the leading guide wheel of a planetary rover described in the present invention not only reduces the calibration error and improves the reliability of the detection result through precise straight line markings, but also simplifies the operation process, making maintenance and calibration more intuitive and convenient; in addition, accurate sinking detection is of great significance for optimizing the operation process and improving operation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is the overall flow chart of the present invention;

[0036] Figure 2 Mark the straight lines schematically for the wheel surface. DETAILED DESCRIPTION

[0037] The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the following specific embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention.

[0038] like Figure 1 As shown, a camera calibration method for detecting sinking of a front guide wheel of a planetary rover according to the present invention comprises the following steps:

[0039] Step 1: On the target plane of the front guide wheel of the rover, N straight lines are distributed at equal intervals, and N=12. These straight lines intersect at the geometric center of the front guide wheel plane, and the angle between adjacent straight lines is 15°, such as Figure 2 As shown;

[0040] Step 2: Fix the camera at a viewing angle by means of a bracket to capture the image of the outer surface of the front guide wheel of the rover;

[0041] Step 3: First, an instance segmentation method is used to accurately segment the interface between the wheel and the ground and identify the largest connected area of ​​the wheel. To further optimize the result, the connected area is closed and binarized to effectively fill small holes. The Canny algorithm is used for edge detection to extract the wheel contour. To eliminate the interference of the wheel-ground boundary, windowing is performed to finally obtain the wheel contour curve within the area of ​​interest.

[0042] For the white marked straight lines, first apply the Canny algorithm to the image to detect as much edge information as possible; obtain the straight lines in the boundary through Hough straight line transform, and consider the influence of the line width, mark the straight lines with a length difference of less than 100 and an angle difference of less than 0.1° as the same line; calculate the intersection points of the two straight lines, cluster the intersection points, and regard the cluster center as the center of the circle; redraw the set of straight lines intersecting the center of the circle according to the position of the center of the circle and the angle of the original straight line. The specific drawing method is as follows:

[0043]

[0044] Among them, θ is the angle of the merged line; a and b are the sine and cosine values ​​of the line angle respectively; (x0, y0) is the center of the wheel obtained by clustering; (x1, y1) and (x2, y2) are the coordinates of the two endpoints of the redrawn line.

[0045] Step 4: Solve the intersection points of the wheel edge and each straight line obtained in step 3; divide the intersection points into two groups, L and R, according to the left-right position relationship between the intersection points and the center of the circle; sort the points in L from top to bottom and the points in R from bottom to top according to the y coordinate, then the points with the same sequence number in L and R just form a straight line passing through the origin; count the straight lines passing through the origin, mark the first and sixth straight lines, according to prior knowledge, they are exactly perpendicular, record the coordinate values ​​of the four endpoints of the two straight lines, and the reference quadrilateral they form on the leading wheel is a square.

[0046] Step 5: Set the four corners of the appropriate square in the image as the target points, match the original coordinates with the target coordinates one by one, and solve the perspective transformation matrix. The specific method is as follows:

[0047]

[0048] Among them, (xi ,y i ) is the source point set, (x' i ,y' i ) is the target point set, i = 1, 2, 3, 4; H is the required perspective transformation matrix, its dimension is 3×3:

[0049]

[0050] The matrix H is solved by the least squares method:

[0051]

[0052] Step 6: For the perspective matrix parameters calculated at time k, perform weighted average with the previous parameters. The specific method is as follows:

[0053]

[0054] in, and are the weight matrices at time k-1 and time k respectively; H k is the matrix obtained by static calibration at time k; ω is a weight factor, and its value depends on and The difference between can be defined as:

[0055]

[0056] α is a coefficient used to control the difference weight. will be:

[0057]

[0058] For the first frame image in the detection process, its result is fused with the static matrix parameters; if the perspective transformation matrix of a frame in the motion process cannot be calculated, the parameters of the previous frame are used.

[0059] It should be noted that the above content only illustrates the technical idea of ​​the present invention and cannot be used to limit the protection scope of the present invention. For ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications all fall within the protection scope of the claims of the present invention.

Claims

1. A camera calibration method for detecting sinking of the front guide wheel of a planetary rover. It is characterized in that The steps include: (1) On the target plane of the front guide wheel of the rover, a number of straight lines are radiated at equal intervals, denoted as N, and the N straight lines intersect at the geometric center of the front guide wheel plane; (2) The camera captures the image of the front guide wheel of the planetary rover; (3) Obtain wheel edge and marking line information through image feature extraction method; (4) Find the intersection of the wheel edge and the marked straight line and construct a reference quadrilateral from it; (5) Setting the target point based on prior knowledge and calculating the perspective transformation matrix based on the reference quadrilateral vertices and the target point; (6) Use the weighted average method to achieve dynamic optimization and real-time update of perspective transformation matrix parameters.

2. A camera calibration method for detecting sinking of the front guide wheel of a planetary rover according to claim 1, It is characterized in that The specific steps of obtaining the wheel edge and mark straight line information in step (3) are as follows: (3.1) Use instance segmentation to separate the wheel from the ground and fill the small holes inside. Use the Canny algorithm to detect edges and add windows to the image to extract the wheel edge information in the area of ​​interest. (3.2) Use the Canny algorithm to perform edge detection and extract as much edge information as possible from the image; use the Hough line transform to extract the straight lines in the edge and merge the lines that are very close to each other; calculate the intersection points of the straight lines, cluster these points to obtain the final center position, and redraw the straight lines.

3. A camera calibration method for detecting sinking of the front guide wheel of a planetary rover according to claim 2, It is characterized in that The method for redrawing the straight line in step (3.2) is as follows: Among them, θ is the angle of the merged straight line; a and b are the sine and cosine values ​​of the straight line angle respectively; (x 0 ,y 0 ) is the wheel center obtained by clustering; (x 1 ,y 1 )、(x 2 ,y 2 ) are the coordinates of the two endpoints of the redrawn line.

4. A camera calibration method for detecting sinking of a front guide wheel of a planetary rover according to claim 1, It is characterized in that The method for constructing the reference quadrilateral in step (4) is as follows: Divide the intersection points on the image into two groups, L and R, according to their positional relationship with the center of the circle. Connect the points in L to the points in R in sequence, and count the straight lines passing through the center of the circle. Mark the endpoints of the first and sixth straight lines. Based on prior knowledge, the angle between adjacent straight lines is 15°, so the reference quadrilateral is a square.

5. A camera calibration method for detecting sinking of the front guide wheel of a planetary rover according to claim 1, It is characterized in that The perspective matrix calculation method in step (5) is as follows: Among them, (x i ,y i ) is the source point set, (x' i ,y' i ) is the target point set, i = 1, 2, 3, 4; H is the required perspective transformation matrix, its dimension is 3×3: The matrix H is solved by the least squares method:

6. A camera calibration method for detecting sinking of the front guide wheel of a planetary rover according to claim 1, It is characterized in that The method of updating the perspective matrix parameters by weighted average in step (6) is as follows: in, and are the weight matrices at time k-1 and time k respectively; H k is the matrix obtained by static calibration at time k; ω is a weight factor, and its value depends on and The difference between is defined as: α is a coefficient used to control the difference weight. will be:

Citation Information

Patent Citations

  • Vision measurement method for wheel settlement amount of planet vehicle in complex terrain

    CN105300289A

  • A hub contour detection method based on improved Hough transform

    CN108986038A

  • Circular array target center image point positioning method based on vanishing points

    CN113610917A

  • Image processing apparatus and non-transitory storage medium storing image processing program

    US20120121127A1