Tunneling equipment muck volume measurement method based on multi-line structured light
By introducing variable width Gaussian template and distortion contour correction technology into the Steger algorithm, the problem of low accuracy of muck volume measurement under the influence of conveyor belt vibration is solved and high-precision muck volume measurement is achieved.
Patent Information
- Application Number
- CN202410678669.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-29
- Publication Date
- 2024-08-30
AI Technical Summary
The existing muck volume measurement method based on structured light has low measurement accuracy under the influence of conveyor belt vibration, and the light bar center line extraction is inaccurate, which affects the accuracy of muck volume measurement.
The variable-width Gaussian template is used to improve the Steger algorithm, and the center line of the structured light strip is extracted through color and scale features, eliminating the influence of other factors in the image, and achieving high-precision measurement through distortion contour projection correction.
It effectively suppresses the impact of conveyor belt vibration on measurement accuracy, achieves high-precision measurement of conveyor belt soil volume, and improves measurement accuracy and engineering application value.
Smart Images

Figure CN118565341A
Abstract
Description
Technical Field
[0001] The invention relates to a method for measuring the volume of slag, and in particular to a method for measuring the volume of slag of tunneling equipment based on multi-line structured light. Background Art
[0002] The conveyor belt slag comprehensive detection system completes real-time monitoring of the type, particle size distribution, volume and weight of excavated slag through deep learning and structured light measurement, and realizes real-time update of geological condition parameters. The real-time measurement method of the excavated slag volume during tunnel excavation is an important part of the conveyor belt slag comprehensive detection system, which has great practical significance for improving the construction efficiency of large-scale excavation equipment, realizing refined construction management and ensuring surface settlement risk control.
[0003] Patent CN202210663859.5 discloses a device and system for determining the volume of slag based on structured light, the device includes a shield machine with an operating table, a belt conveyor, a control mechanism, a slag measuring mechanism, and a mileage sensor. The control mechanism includes a switch, an industrial computer, a display, and a relay. The slag measuring mechanism includes a wide-angle camera, a structured light transmitter, and a temperature sensor; the wide-angle camera is used to collect image data of the slag on the belt conveyor; the structured light transmitter is used to emit a laser line to the slag on the belt conveyor, scan the cross section of the slag, and measure the cross-sectional area of the slag; the temperature sensor is used to measure the temperature of the slag; the mileage sensor is used to measure the speed of the belt; the industrial computer is used to determine the slag volume based on the data information collected by the slag measuring mechanism. This application can measure the signal data of the slag in real time, and the control mechanism determines the real-time slag volume based on the real-time signal data, thereby improving the effectiveness of the slag volume measurement. However, it still uses the traditional algorithm to extract the center line by taking the width of the light strip as a whole. This will lead to inaccurate extraction of the center line of the light strip at both ends of the stripe and at the junction of the conveyor belt and the slag, affecting the accuracy of the slag volume measurement. Summary of the invention
[0004] The purpose of the present invention is to provide a method for measuring the volume of excavation equipment slag based on multi-line structured light in order to overcome the defects of low test accuracy in the above-mentioned prior art. The present invention can effectively suppress the influence of conveyor belt vibration on the measurement accuracy, realize high-precision measurement of the volume of conveyor belt slag, and has certain theoretical and engineering application value. The present invention proposes a Steger algorithm with a variable width Gaussian template to extract the center line of the structured light strip, and accurately and effectively extracts the three structured light strip areas on the conveyor belt through color and scale features to eliminate the influence of other factors in the image on the extraction of the center line of the structured light strip.
[0005] The purpose of the present invention can be achieved by the following technical solutions:
[0006] The present invention adopts structured light vision measurement method to realize volume measurement of conveyor belt muck. The main task is to accurately obtain the structured light profile. The volume of the muck in this section can be obtained by integrating and calculating the area of the structured light cross section.
[0007] The present invention provides a method for measuring the volume of excavation equipment muck based on multi-line structured light, comprising the following steps:
[0008] S1: Extraction of the center of structured light strips: The structured light strip area is determined by the dual features of color and scale, and then the traditional Steger algorithm is improved by a variable width Gaussian template to accurately extract the center line of the structured light strip, including obtaining the end point of the light strip. Then, after calibrating the light plane, the two-dimensional light strip profile is transformed into a three-dimensional shape; the structured light on the conveyor belt is distributed in parallel with an interval of 1 cm along the running direction of the conveyor belt. Due to the small interval, it is usually difficult to extract the structured light strips at one time and ensure that they do not stick together. Therefore, the structured light strip area is first located by the dual features of color and scale, and then the highlight texture of the structured light strip is suppressed. At the same time, in order to provide a reference point for the parallel structured light projection correction method, it is necessary to accurately obtain the end points at both ends of the conveyor belt. Therefore, the present invention proposes a Steger algorithm with a variable width Gaussian template to extract the center line of the structured light strip. As the light intensity increases, the outer ring of the structured light area appears red, while the inner ring appears bright white. At the same time, the structured light strip is located on the surface of the conveyor belt and appears as a long stripe along the direction of the roller. The three structured light strip areas on the conveyor belt are accurately and effectively extracted through color and scale characteristics to eliminate the influence of other factors in the image on the extraction of the center line of the structured light strip.
[0009] S2: Distortion profile projection correction: The auxiliary plane perpendicular to the running direction of the conveyor belt is constructed by using the parallel characteristics of the endpoints of multiple measurement profiles. The distortion of the measurement profile is calibrated by projecting it onto the auxiliary plane. The measurement profile is registered by the profiles of the edges on both sides of the conveyor belt to achieve accurate alignment with the reference profile of the conveyor belt.
[0010] S3: Based on the corrected profile obtained in S2, the area of each structured light section is obtained, and the measurement of the slag volume is completed by performing an integral operation along the direction of the conveyor belt running speed.
[0011] Furthermore, in S1, the specific process of determining the structured light strip area by using the dual features of color and scale is as follows:
[0012] Set the first layer color verification threshold T r ={R>215,G<185,B<200}, search image I by line search c , in i th In row search, set the starting pixel and stopping pixel of the row to is and i e , when i is satisfied e -i s <α·I width When this condition is met, the binary image with the same size as the original image is set as I bw =(i s :i e ,i th )=1, in the above formula, I width is the width of the original image, α is the scale factor, and α is set to 0.01;
[0013] A second color verification is performed on the area obtained in the first color verification to ensure that the area obtained is the structured light strip area. Therefore, the second layer color verification threshold is set to T w ={R>250,G<240,B<240};
[0014] After obtaining the binary image, the morphological opening operation is used to connect the scattered pixel areas together. According to the characteristics of the structured light strip, the geometric scale of the minimum rectangle on the effective structured light strip area should meet the following empirical conditions: R height >β·I width , where R height It represents the height of the smallest rectangle in the binary image, and β is usually set to 0.15. After the structured light strip area is extracted, the structured light strip is separated by binarization operation to obtain three structured light strip curves.
[0015] Furthermore, in S1, the Steger algorithm of the variable width template can follow the change of the light strip width, especially the change of the width of the light strip edge area, accurately obtain the center line of the structured light strip, and perform structured light strip refinement. In the projection correction of the light strip profile, the two end points of the conveyor belt measurement profile need to be obtained as reference points, so the structured light strip refinement operation must accurately retain the information of the light strip edge end points.
[0016] Furthermore, in S1, after the traditional Steger algorithm is improved by a variable width Gaussian template, the Steger algorithm of the variable width template can first divide the entire stripe into six areas according to the distribution of width pixels, namely, the two end points, the junction of the two ends, and the three sections of the structured light stable distribution area; then calculate the width of the structured light strips of different segments, extract the center line of each line segment, and merge them together; finally, restore the center lines of the three structured light strips to the original size binary image according to the original arrangement. The traditional Steger algorithm uses the maximum value of the strip width w to calculate σ. Observing the shape of the structured light strip in the conveyor belt slag volume measurement, it is found that its width is not always consistent. The width at both ends is narrower than the middle, and the width changes at the junction of the conveyor belt and the slag. The traditional Steger algorithm usually extracts the center line by taking the light strip width as a whole, which will lead to inaccurate extraction of the light strip center line at both ends of the stripe and at the junction of the conveyor belt and the slag, affecting the accuracy of the slag volume measurement.
[0017] Furthermore, in S1, the specific method for extracting the center line of the structured light strip is:
[0018] The normal direction of the center line of the light strip is determined by the Hessian matrix. Then, the sub-pixel position of the center point of the light strip is obtained by Tailor expansion in the normal direction. The Hessian matrix of the light strip is obtained by convolution with the corresponding differential Gaussian kernel function:
[0019]
[0020] Among them, σ is the mean square error of the Gaussian function. From the above formula, we can see that σ determines the effect of the image smoothing filter;
[0021] The traditional Steger algorithm uses the maximum value of the strip width w to calculate σ, and the calculation formula is:
[0022]
[0023] After improving the traditional Steger algorithm through a variable-width Gaussian template, the Steger algorithm of the variable-width template can segment the light strips according to the distribution of width pixels, and then calculate the width of the structured light strips of different segments, extract the center line of each line segment, and merge them together to complete the extraction of the center line of the structured light strips.
[0024] Furthermore, in S1, after the center line of the structured light strip is extracted, the light strip is three-dimensionally transformed from the pixel coordinate system to the world coordinate system using the Zhang Zhengyou calibration method.
[0025] Furthermore, in S2, the conveyor belt slag distorted contour correction method of arbitrary multi-line structured light layout can eliminate the contour distortion caused by the vibration of the conveyor belt; through the characteristics that the edge points on both sides of the measured contour of multiple conveyor belt surfaces are always parallel to the running direction of the conveyor belt, an auxiliary plane perpendicular to this direction is constructed, and then the measured contour is projected onto the auxiliary plane to obtain the corrected conveyor belt slag measurement contour, and then the conveyor belt features at both ends are layered and aligned with the standard conveyor belt contour, so as to obtain the slag area there in the next step.
[0026] Furthermore, in S2, the conveyor belt measures the contour endpoint E li and E ri The connecting lines are all parallel to the running direction of the conveyor belt, that is, the connecting lines of the two conveyor belt measurement profile end points are parallel to each other and coplanar and are not subject to the constraint that the adjacent structured light planes must be parallel;
[0027] In S2, the line connecting the left and right edge points of the conveyor belt is used to fit the running direction of the conveyor belt;
[0028] In S2, through the visual model, the structured light cross-section profile can be recorded as L1, L2···, L n , then the left edge point of the conveyor belt in the camera coordinate system is recorded as E l1 (x l1 ,y l1 ,z l1 ),E l2 (x l2 ,y l2 ,z l2 )···,E ln (x ln ,y ln ,z ln ), the right edge point is recorded as E r1 (x r1 ,y r1 ,z r1 ),E r2 (x r2 ,y r2 ,z r2 )···,E rn (x rn ,y rn ,z rn ); The least square method can be used to fit the left conveyor belt measurement contour endpoint space straight line L l and the spatial straight line L of the right conveyor belt measuring the contour endpoint r , expressed as:
[0029]
[0030] Among them, (m,n,p) is the direction vector of the spatial straight line of the two conveyor belt measurement contour endpoints, point Pl =(x l ,y l ,z l ) and point P r =(x r ,y r ,z r ) is the spatial straight line L of the left conveyor belt measuring contour endpoint l and the spatial straight line L of the right conveyor belt measuring the contour endpoint r Any point on the space line L; then the spatial plane equation of the auxiliary plane T perpendicular to the running direction of the conveyor belt is: m(x-x0)+n(y-y0)+p(z-z0)=0, where point P0=(x0,y0,z0) is any point on the space line L;
[0031] At this time, the distortion profile L oi Projecting onto the auxiliary plane T, we can get the normal contour L corresponding to this distorted contour ti ; Set the distortion contour line L oi Point P on o =(x o ,y o ,z o ), which is projected to the corresponding point P on the auxiliary plane $T$ t =(x t ,y t ,z t ), at this time P o P t Parallel to the spatial straight line of the conveyor belt measurement contour endpoint, the projected contour curve L is obtained ti Should meet:
[0032]
[0033] In obtaining the projection contour curve L ti Then, L ti Rotate to be parallel to the Z axis.
[0034] Furthermore, in S3, in order to obtain the conveyor belt muck volume, a conveyor belt standard profile is first constructed, and then the area under this profile is obtained after being aligned with the measured profile; the conveyor belt standard profile is obtained through the standard drawing of the conveyor belt, and the two straight lines AB and CD near the left and right end points of the conveyor belt are used to align the conveyor belt measured profile with the conveyor belt standard profile. According to the translation amount of the conveyor belt measured profile end point A and the slope of the conveyor belt measured profile end point straight line AB, a rotation and translation matrix is constructed to align the conveyor belt measured profile, and at the same time, a secondary check is performed using the CD straight line;
[0035] After obtaining the registration contour, the area of slag within the conveyor belt measurement contour is calculated according to the integration principle: The area S passing through the front and back contours i and S i+1 , the volume of the soil in two adjacent structured light areas is calculated by integrating the interval distance: Wherein, Δd is the distance between adjacent structured light profiles, Δd = 100 mm. In the present invention, three structured lights are adjacent and parallelly distributed with a distance of 100 mm, that is, Δd = 100 mm.
[0036] Furthermore, since a single photo can capture three contour lines, when the conveyor belt is running at a maximum speed of 3m / s, the camera sampling frequency is set to 10Hz, which can more efficiently complete the conveyor belt muck volume measurement work.
[0037] The present invention can effectively suppress the influence of conveyor belt vibration on measurement accuracy, realize high-precision measurement of the volume of conveyor belt muck, and has certain theoretical and engineering application value.
[0038] Compared with the prior art, the present invention has the following advantages:
[0039] The invention has high measurement accuracy. The invention proposes a Steger algorithm of a variable width Gaussian template to extract the center line of the structured light strip, and accurately and effectively extracts the three structured light strip areas on the conveyor belt through color and scale features to eliminate the influence of other factors in the image on the extraction of the center line of the structured light strip. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 This is a schematic diagram of the distortion profile calibration;
[0041] Figure 2 Schematic diagram of laser line profile calibration. DETAILED DESCRIPTION
[0042] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. Component models, material names, connection structures, control methods, algorithms and other features not clearly described in this technical solution are all considered to be common technical features disclosed in the prior art.
[0043] Example 1
[0044] This embodiment uses structured light vision measurement to achieve volume measurement of conveyor belt debris. The main task is to accurately obtain the structured light profile. The volume of the debris in this section can be obtained by integrating and calculating the area of the structured light cross section.
[0045] This embodiment provides a method for measuring the volume of excavation equipment muck based on multi-line structured light, comprising the following steps:
[0046] S1: Extraction of the center of structured light strips: The structured light strip area is determined by the dual features of color and scale, and then the traditional Steger algorithm is improved by a variable width Gaussian template to accurately extract the center line of the structured light strip, including obtaining the end point of the light strip. Then, after calibrating the light plane, the two-dimensional light strip profile is transformed into a three-dimensional shape; the structured light on the conveyor belt is distributed in parallel with an interval of 1 cm along the running direction of the conveyor belt. Due to the small interval, it is usually difficult to extract the structured light strips at one time and ensure that they do not stick together. Therefore, the structured light strip area is first located by the dual features of color and scale, and then the highlight texture of the structured light strip is suppressed. At the same time, in order to provide a reference point for the parallel structured light projection correction method, it is necessary to accurately obtain the end points at both ends of the conveyor belt. Therefore, the present invention proposes a Steger algorithm with a variable width Gaussian template to extract the center line of the structured light strip. As the light intensity increases, the outer ring of the structured light area appears red, while the inner ring appears bright white. At the same time, the structured light strip is located on the surface of the conveyor belt and appears as a long stripe along the direction of the roller. The three structured light strip areas on the conveyor belt are accurately and effectively extracted through color and scale characteristics to eliminate the influence of other factors in the image on the extraction of the center line of the structured light strip.
[0047] S2: Distortion profile projection correction: The auxiliary plane perpendicular to the running direction of the conveyor belt is constructed by using the parallel characteristics of the endpoints of multiple measurement profiles. The distortion of the measurement profile is calibrated by projecting it onto the auxiliary plane. The measurement profile is registered by the profiles of the edges on both sides of the conveyor belt to achieve accurate alignment with the reference profile of the conveyor belt.
[0048] S3: Based on the corrected profile obtained in S2, the area of each structured light section is obtained, and the measurement of the slag volume is completed by performing an integral operation along the direction of the conveyor belt running speed.
[0049] In a specific implementation, in S1, the specific process of determining the structured light strip area by using the dual features of color and scale is as follows:
[0050] Set the first layer color verification threshold T r ={R>215,G<185,B<200}, search image I by line search c , in i th In row search, set the starting pixel and stopping pixel of the row to i s and i e , when i is satisfied e -i s <α·I width When this condition is met, the binary image with the same size as the original image is set as I bw =(i s :i e ,i th)=1, in the above formula, I width is the width of the original image, α is the scale factor, and α is set to 0.01;
[0051] A second color verification is performed on the area obtained in the first color verification to ensure that the area obtained is the structured light strip area. Therefore, the second layer color verification threshold is set to T w ={R>250,G<240,B<240};
[0052] After obtaining the binary image, the morphological opening operation is used to connect the scattered pixel areas together. According to the characteristics of the structured light strip, the geometric scale of the minimum rectangle on the effective structured light strip area should meet the following empirical conditions: R height >β·I width , where R height It represents the height of the smallest rectangle in the binary image, and β is usually set to 0.15. After the structured light strip area is extracted, the structured light strip is separated by binarization operation to obtain three structured light strip curves.
[0053] In a specific implementation, in S1, the Steger algorithm of the variable width template can follow the change of the light strip width, especially the change of the width of the edge area of the light strip, accurately obtain the center line of the structured light strip, and perform structured light strip thinning. In the projection correction of the light strip profile, it is necessary to obtain the two end points of the conveyor belt measurement profile as reference points, so the structured light strip thinning operation must accurately retain the information of the light strip edge end point.
[0054] In a specific implementation, in S1, after the traditional Steger algorithm is improved by a variable width Gaussian template, the Steger algorithm of the variable width template can first divide the entire stripe into six areas according to the distribution of width pixels, namely, the two end points, the junction of the two ends, and three sections of structured light stable distribution areas; then calculate the width of the structured light strips of different segments, extract the center line of each line segment, and merge them together; finally, restore the center lines of the three structured light strips to the original size binary image according to the original arrangement. The traditional Steger algorithm uses the maximum value of the strip width w to calculate σ. Observing the shape of the structured light strips in the conveyor belt slag volume measurement, it is found that its width is not always consistent. The width at both ends is narrower than the middle, and the width changes at the junction of the conveyor belt and the slag. The traditional Steger algorithm usually extracts the center line from the light strip width as a whole, which will lead to inaccurate extraction of the center line of the light strips at both ends of the stripe and at the junction of the conveyor belt and the slag, affecting the accuracy of the slag volume measurement.
[0055] In a specific implementation, in S1, the specific method for extracting the center line of the structured light strip is:
[0056] The normal direction of the center line of the light strip is determined by the Hessian matrix. Then, the sub-pixel position of the center point of the light strip is obtained by Tailor expansion in the normal direction. The Hessian matrix of the light strip is obtained by convolution with the corresponding differential Gaussian kernel function:
[0057]
[0058] Among them, σ is the mean square error of the Gaussian function. From the above formula, we can see that σ determines the effect of the image smoothing filter;
[0059] The traditional Steger algorithm uses the maximum value of the strip width w to calculate σ, and the calculation formula is:
[0060]
[0061] After improving the traditional Steger algorithm through a variable-width Gaussian template, the Steger algorithm of the variable-width template can segment the light strips according to the distribution of width pixels, and then calculate the width of the structured light strips of different segments, extract the center line of each line segment, and merge them together to complete the extraction of the center line of the structured light strips.
[0062] In a specific implementation, in S1, after the center line of the structured light strip is extracted, the light strip is three-dimensionally transformed from a pixel coordinate system to a world coordinate system using the Zhang Zhengyou calibration method.
[0063] In a specific implementation, in S2, the conveyor belt slag distortion contour correction method of any multi-line structured light layout can eliminate the contour distortion caused by the vibration of the conveyor belt; through the characteristics that the edge points on both sides of the measured contours of multiple conveyor belt surfaces are always parallel to the running direction of the conveyor belt, an auxiliary plane perpendicular to this direction is constructed, and then the measured contour is projected onto the auxiliary plane to obtain the corrected conveyor belt slag measurement contour, and then the conveyor belt features at both ends are layered and aligned with the standard conveyor belt contour, so as to obtain the slag area there in the next step.
[0064] like Figure 1 As shown, in a specific embodiment, in S2, the conveyor belt measures the profile endpoint E li and E ri The connecting lines are all parallel to the running direction of the conveyor belt, that is, the connecting lines of the two conveyor belt measurement profile end points are parallel to each other and coplanar and are not subject to the constraint that the adjacent structured light planes must be parallel;
[0065] In S2, the line connecting the left and right edge points of the conveyor belt is used to fit the running direction of the conveyor belt;
[0066] In S2, through the visual model, the structured light cross-section profile can be recorded as L1, L2···, L n, then the left edge point of the conveyor belt in the camera coordinate system is recorded as E l1 (x l1 ,y l1 ,z l1 ),E l2 (x l2 ,y l2 ,z l2 )···,E ln (x ln ,y ln ,z ln ), the right edge point is recorded as E r1 (x r1 ,y r1 ,z r1 ),E r2 (x r2 ,y r2 ,z r2 )···,E rn (x rn ,y rn ,z rn ); The least square method can be used to fit the left conveyor belt measurement contour endpoint space straight line L l and the spatial straight line L of the right conveyor belt measuring the contour endpoint r , expressed as:
[0067]
[0068] Among them, (m,n,p) is the direction vector of the spatial straight line of the two conveyor belt measurement contour endpoints, point P l =(x l ,y l ,z l ) and point P r =(x r ,y r ,z r ) is the spatial straight line L of the left conveyor belt measuring contour endpoint l and the spatial straight line L of the right conveyor belt measuring the contour endpoint r Any point on the space line L; then the spatial plane equation of the auxiliary plane T perpendicular to the running direction of the conveyor belt is: m(x-x0)+n(y-y0)+p(z-z0)=0, where point P0=(x0,y0,z0) is any point on the space line L;
[0069] At this time, the distortion profile L oi Projecting onto the auxiliary plane T, we can get the normal contour L corresponding to this distorted contour ti ; Set the distortion contour line L oi Point P on o =(x o ,y o,z o ), which is projected to the corresponding point P on the auxiliary plane $T$ t =(x t ,y t ,z t ), at this time P o P t Parallel to the spatial straight line of the conveyor belt measurement contour endpoint, the projected contour curve L is obtained ti Should meet:
[0070]
[0071] In obtaining the projection contour curve L ti Then, L ti Rotate to be parallel to the Z axis.
[0072] In a specific implementation, in S3, in order to obtain the conveyor belt muck volume, a conveyor belt standard profile is first constructed, and then the area under this profile is obtained by aligning it with the measured profile; the conveyor belt standard profile is obtained through the standard drawing of the conveyor belt, and the two straight lines AB and CD near the left and right end points of the conveyor belt are used for the alignment of the conveyor belt measured profile and the conveyor belt standard profile. According to the translation amount of the conveyor belt measured profile end point A and the slope of the conveyor belt measured profile end point straight line AB, a rotation and translation matrix is constructed to align the conveyor belt measured profile, and at the same time, a secondary check is performed using the CD straight line; the alignment result is as follows: Figure 2 shown.
[0073] After obtaining the registration contour, the area of slag within the conveyor belt measurement contour is calculated according to the integration principle: The area S passing through the front and back contours i and S i+1 , the volume of the muck in two adjacent structured light areas is calculated by integrating the interval distance: Wherein, Δd is the distance between adjacent structured light profiles, Δd = 100 mm. In the present invention, three structured lights are adjacent and parallelly distributed with a distance of 100 mm, that is, Δd = 100 mm.
[0074] In a specific implementation, since a single captured photo can capture three contour lines, when the conveyor belt is running at a maximum speed of 3 m / s, the camera sampling frequency is set to 10 Hz, which can more efficiently complete the conveyor belt muck volume measurement work.
[0075] The present invention can effectively suppress the influence of conveyor belt vibration on measurement accuracy, realize high-precision measurement of the volume of conveyor belt muck, and has certain theoretical and engineering application value.
[0076] Components not described in detail in this embodiment are all existing components that can be purchased through public channels.
[0077] The above description of the embodiments is to facilitate the understanding and use of the invention by those skilled in the art. It is obvious that those skilled in the art can easily make various modifications to these embodiments and apply the general principles described herein to other embodiments without creative work. Therefore, the present invention is not limited to the above embodiments, and improvements and modifications made by those skilled in the art based on the disclosure of the present invention without departing from the scope of the present invention should be within the scope of protection of the present invention.
Claims
1. A method for measuring the volume of excavation equipment muck based on multi-line structured light, characterized in that: The following steps are involved: S1: Extraction of the center of structured light strips: The structured light strip area is determined by the dual features of color and scale, and then the traditional Steger algorithm is improved by a variable width Gaussian template to accurately extract the center line of the structured light strip, including obtaining the end point of the light strip. Then, after calibrating the light plane, the two-dimensional light strip profile is transformed into three-dimensional shape; S2: Distortion profile projection correction: The auxiliary plane perpendicular to the running direction of the conveyor belt is constructed by using the parallel characteristics of the endpoints of multiple measurement profiles. The distortion of the measurement profile is calibrated by projecting it onto the auxiliary plane. The measurement profile is registered by the profiles of the edges on both sides of the conveyor belt to achieve accurate alignment with the reference profile of the conveyor belt. S3: Based on the corrected profile obtained in S2, the area of each structured light section is obtained, and the measurement of the slag volume is completed by performing an integral operation along the direction of the conveyor belt running speed.
2. The method for measuring the volume of excavation equipment muck based on multi-line structured light according to claim 1, characterized in that: In S1, the specific process of determining the structured light strip area by using the dual features of color and scale is as follows: Set the first layer color verification threshold T r ={R>215,G<185,B<200}, search image I by line search c , in i th In row search, set the starting pixel and stopping pixel of the row to i s and i e , when i is satisfied e -i s <α·I width When this condition is met, the binary image with the same size as the original image is set as I bw =(i s :i e ,i th )=1, in the above formula, I width is the width of the original image, α is the scale factor, and α is set to 0.01; A second color verification is performed on the area obtained in the first color verification to ensure that the area obtained is the structured light strip area. Therefore, the second layer color verification threshold is set to T w ={R>250,G<240,B<240}; After obtaining the binary image, the morphological opening operation is used to connect the scattered pixel areas together. According to the characteristics of the structured light strip, the geometric scale of the minimum rectangle on the effective structured light strip area should meet the following empirical conditions: R height >β·I width , where R height It represents the height of the smallest rectangle in the binary image, and β is usually set to 0.
15. After the structured light strip area is extracted, the structured light strip is separated by binarization operation to obtain three structured light strip curves.
3. The method for measuring the volume of excavation equipment muck based on multi-line structured light according to claim 1, characterized in that: In S1, the Steger algorithm of the variable width template can follow the changes in the width of the light strip, especially the width changes in the edge area of the light strip, accurately obtain the center line of the structured light strip, and perform structured light strip refinement.
4. The method for measuring the volume of excavation equipment muck based on multi-line structured light according to claim 1, characterized in that: In S1, after the traditional Steger algorithm is improved by a variable-width Gaussian template, the Steger algorithm of the variable-width template can first divide the entire stripe into six areas according to the distribution of width pixels, namely the two end points, the junction at both ends, and three sections of structured light stable distribution areas; then calculate the width of the structured light strips of different segments, extract the center line of each line segment, and merge them together; finally, restore the center lines of the three structured light strips to the original size of the binary image according to the original arrangement.
5. The method for measuring the volume of excavation equipment muck based on multi-line structured light according to claim 1, characterized in that: In S1, the specific method for extracting the center line of the structured light strip is: The normal direction of the center line of the light strip is determined by the Hessian matrix. Subsequently, the sub-pixel position of the center point of the light strip can be obtained by Tailor expansion in the normal direction. The Hessian matrix of the light strip can be obtained by convolution with the corresponding differential Gaussian kernel function: Among them, σ is the mean square error of the Gaussian function. From the above formula, we can see that σ determines the effect of the image smoothing filter; The traditional Steger algorithm uses the maximum value of the strip width w to calculate σ, and the calculation formula is: After improving the traditional Steger algorithm through a variable-width Gaussian template, the Steger algorithm of the variable-width template can segment the light strips according to the distribution of width pixels, and then calculate the width of the structured light strips of different segments, extract the center line of each line segment, and merge them together to complete the extraction of the center line of the structured light strips.
6. The method for measuring the volume of excavation equipment muck based on multi-line structured light according to claim 1, characterized in that: In S1, after the center line of the structured light strip is extracted, the light strip is three-dimensionally transformed from the pixel coordinate system to the world coordinate system using the Zhang Zhengyou calibration method.
7. The method for measuring the volume of excavation equipment muck based on multi-line structured light according to claim 1, characterized in that: In S2, the conveyor belt slag distortion contour correction method with arbitrary multi-line structured light layout can eliminate the contour distortion caused by conveyor belt vibration; through the characteristics that the edge points on both sides of the measured contour of multiple conveyor belt surfaces are always parallel to the running direction of the conveyor belt, an auxiliary plane perpendicular to this direction is constructed, and then the measured contour is projected onto the auxiliary plane to obtain the corrected conveyor belt slag measurement contour, and then the conveyor belt features at both ends are layered and registered, and aligned with the standard conveyor belt contour, so as to obtain the slag area at that location in the next step.
8. The method for measuring the volume of excavation equipment muck based on multi-line structured light according to claim 1, characterized in that: In S2, the conveyor belt measures the contour endpoint E li and E ri The connecting lines are all parallel to the running direction of the conveyor belt, that is, the connecting lines of the two conveyor belt measurement profile end points are parallel to each other and coplanar and are not subject to the constraint that the adjacent structured light planes must be parallel; In S2, the line connecting the left and right edge points of the conveyor belt is used to fit the running direction of the conveyor belt; In S2, through the visual model, the structured light cross-section profile can be recorded as L1, L2···, L n , then the left edge point of the conveyor belt in the camera coordinate system is recorded as E l1 (x l1 ,y l1 ,z l1 ),E l2 (x l2 ,y l2 ,z l2 )···,E ln (x ln ,y ln ,z ln ), the right edge point is recorded as E r1 (x r1 ,y r1 ,z r1 ),E r2 (x r2 ,y r2 ,z r2 )···,E rn (x rn ,y rn ,z rn ); The least square method can be used to fit the left conveyor belt measurement contour endpoint space straight line L l and the spatial straight line L of the right conveyor belt measuring the contour endpoint r , expressed as: Among them, (m,n,p) is the direction vector of the spatial straight line of the two conveyor belt measurement contour endpoints, point P l =(x l ,y l ,z l ) and point P r =(x r ,y r ,z r ) is the spatial straight line L of the left conveyor belt measuring contour endpoint l and the spatial straight line L of the right conveyor belt measuring the contour endpoint r Any point on the space line L; then the spatial plane equation of the auxiliary plane T perpendicular to the running direction of the conveyor belt is: m(x-x0)+n(y-y0)+p(z-z0)=0, where point P0=(x0,y0,z0) is any point on the space line L; At this time, the distortion profile L oi Projecting onto the auxiliary plane T, we can get the normal contour L corresponding to this distorted contour ti ; Set the distortion contour line L oi Point P on o =(x o ,y o ,z o ), which is projected to the corresponding point P on the auxiliary plane $T$ t =(x t ,y t ,z t ), at this time P o P t Parallel to the spatial straight line of the conveyor belt measurement contour endpoint, the projected contour curve L is obtained ti Should meet: In obtaining the projection contour curve L ti Then, L ti Rotate to be parallel to the Z axis.
9. The method for measuring the volume of excavation equipment muck based on multi-line structured light according to claim 1, characterized in that: In S3, in order to obtain the volume of conveyor belt muck, a conveyor belt standard profile is first constructed, and then the area under this profile is obtained by aligning it with the measured profile; the conveyor belt standard profile is obtained through the standard drawing of the conveyor belt, and the two straight lines AB and CD near the left and right end points of the conveyor belt are used to align the conveyor belt measured profile with the conveyor belt standard profile. According to the translation amount of the conveyor belt measured profile end point A and the slope of the conveyor belt measured profile end point straight line AB, a rotation and translation matrix is constructed to align the conveyor belt measured profile, and at the same time, the CD straight line is used for secondary verification; After obtaining the registration contour, the area of slag within the conveyor belt measurement contour is calculated according to the integration principle: The area S passing through the front and back contours i and S i+1 , the volume of the soil in two adjacent structured light areas is calculated by integrating the interval distance: Wherein, Δd is the distance between adjacent structured light profiles, Δd=100 mm.
10. The method for measuring the volume of excavation equipment muck based on multi-line structured light according to claim 1, characterized in that: Since a single captured photo can capture three contour lines, the camera sampling frequency is set to 10 Hz when the conveyor belt operates at a maximum speed of 3 m / s.
Citation Information
Cited By
Gear contour calibration method suitable for automatic machining of large gear
CN118999403A
Earthwork construction quantity metering method and system based on structured light vision measurement
CN119665811A
