Movatterモバイル変換


[0]ホーム

URL:


CN119006505A - Automatic detection method and system for highway construction quality - Google Patents

Automatic detection method and system for highway construction quality
Download PDF

Info

Publication number
CN119006505A
CN119006505ACN202411471841.0ACN202411471841ACN119006505ACN 119006505 ACN119006505 ACN 119006505ACN 202411471841 ACN202411471841 ACN 202411471841ACN 119006505 ACN119006505 ACN 119006505A
Authority
CN
China
Prior art keywords
edge
straight
road
crack
grayscale
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202411471841.0A
Other languages
Chinese (zh)
Other versions
CN119006505B (en
Inventor
赵立杰
李洋
黄亚云
庞青林
秦江舟
赵晨
杨晓雨
邢健
徐叶鑫
常彧得
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dalian Qianxi Network Technology Co ltd
Original Assignee
Dalian Qianxi Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dalian Qianxi Network Technology Co ltdfiledCriticalDalian Qianxi Network Technology Co ltd
Priority to CN202411471841.0ApriorityCriticalpatent/CN119006505B/en
Publication of CN119006505ApublicationCriticalpatent/CN119006505A/en
Application grantedgrantedCritical
Publication of CN119006505BpublicationCriticalpatent/CN119006505B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明涉及图像处理技术领域,具体涉及一种公路施工质量自动检测方法及系统,包括:获取道路边缘图像中每个直线边缘对应的边缘区域;根据直线边缘上像素点对应灰度值与车道线先验灰度值的差异,得到道路边缘图像中每个直线边缘的异常程度;根据疑似裂缝边缘中相邻两个直线边缘的夹角值,得到相邻两个直线边缘的方向一致程度;根据方向一致程度和疑似裂缝边缘的平直情况,得到道路边缘图像中每个疑似裂缝边缘的规整度;获取道路边缘图像中每个直线边缘的最终异常程度;筛选道路边缘图像中的裂缝边缘,确定道路表面的裂缝区域。本发明提高了裂缝检测结果的准确性,提高了对公路施工质量自动检测的合理性。

The present invention relates to the field of image processing technology, and in particular to a method and system for automatically detecting highway construction quality, comprising: obtaining an edge area corresponding to each straight edge in a road edge image; obtaining the degree of abnormality of each straight edge in the road edge image according to the difference between the grayscale value corresponding to the pixel point on the straight edge and the prior grayscale value of the lane line; obtaining the degree of direction consistency of the two adjacent straight edges according to the angle value of the suspected crack edge; obtaining the regularity of each suspected crack edge in the road edge image according to the degree of direction consistency and the straightness of the suspected crack edge; obtaining the final degree of abnormality of each straight edge in the road edge image; screening the crack edges in the road edge image, and determining the crack area on the road surface. The present invention improves the accuracy of crack detection results and the rationality of automatic detection of highway construction quality.

Description

Automatic detection method and system for highway construction quality
Technical Field
The invention relates to the technical field of image processing, in particular to a highway construction quality automatic detection method and system.
Background
The automatic detection of the road construction surface cracks is very important, the cracks can influence the structural stability of the road, and the automatic detection can discover and position the cracks in time, so that potential safety hazards are prevented, and the safety of drivers and pedestrians is protected.
When the existing method detects the cracks on the road surface with the construction completed, the irregular crack edges are identified by utilizing the edge detection technology, however, because the road surface with the construction completed has partial cracks similar to the lane line edges on the road surface, whether the edges are formed by the cracks or not is difficult to accurately distinguish at the moment, so that the crack detection result is inaccurate, and the automatic detection of the road construction quality cannot be reasonably realized.
Disclosure of Invention
In order to solve the problems, the invention provides a highway construction quality automatic detection method and system.
The invention discloses a highway construction quality automatic detection method and a system, which adopt the following technical scheme:
the embodiment of the invention provides a highway construction quality automatic detection method, which comprises the following steps:
acquiring a road edge image of road construction completion;
Acquiring an edge area corresponding to each linear edge in the road edge image; dividing the edge areas to obtain a plurality of block areas of each edge area; acquiring a priori gray value of the lane line according to the gray difference of the adjacent block areas in the edge area; obtaining the abnormal degree of each linear edge in the road edge image according to the difference between the gray value corresponding to the pixel point on the linear edge and the priori gray value of the lane line;
The continuous edges in the road edge images are all used as suspected crack edges, and the direction consistency degree of two adjacent straight line edges in each suspected crack edge is obtained according to the included angle value of the two adjacent straight line edges in the suspected crack edges; obtaining the regularity of each suspected crack edge in the road edge image according to the direction consistency degree and the flatness of the suspected crack edge;
obtaining the final abnormality degree of each linear edge in the road edge image according to the abnormality degree of the linear edge and the regularity of the suspected crack edge where the linear edge is located; and screening crack edges in the road edge image according to the final degree of abnormality, and determining a crack region of the road surface through the crack edges.
Further, the step of obtaining the lane line prior gray value according to the gray difference of the adjacent block areas in the edge area comprises the following specific steps:
For an edge region corresponding to any one straight line edge in a road edge image, acquiring absolute differences of gray average values corresponding to two adjacent block regions in the edge region, acquiring absolute differences of gray value range corresponding to the two adjacent block regions, and fusing the absolute differences of the gray average values and the absolute differences of the gray value range to obtain gray difference indexes of the two adjacent block regions;
Obtaining a comprehensive gray level change index of each edge region according to gray level difference indexes of adjacent partitioned regions in the edge region;
and acquiring the prior gray value of the lane line according to the magnitude of the comprehensive gray change index.
Further, the method for obtaining the comprehensive gray scale change index of each edge region according to the gray scale difference index of the adjacent partitioned regions in the edge region comprises the following specific steps:
And for an edge region corresponding to any one straight line edge in the road edge image, acquiring the accumulated value of the gray difference indexes of each block region and all adjacent block regions around in the edge region, and taking the sum of the accumulated values of the gray difference indexes corresponding to all block regions in the edge region as the comprehensive gray change index of the edge region.
Further, the step of obtaining the priori gray value of the lane line according to the magnitude of the comprehensive gray change index comprises the following specific steps:
And acquiring a comprehensive gray scale change index of an edge area corresponding to each linear edge in the road edge image, and taking a gray scale average value of the edge area corresponding to the minimum value of the comprehensive gray scale change index as a lane line prior gray scale value.
Further, the obtaining the abnormal degree of each straight line edge in the road edge image according to the difference between the gray value corresponding to the pixel point on the straight line edge and the prior gray value of the lane line comprises the following specific steps:
And for any straight line edge in the road edge image, acquiring the absolute difference value of the gray value corresponding to each pixel point on the straight line edge and the prior gray value of the lane line, taking the average value of the absolute differences of the gray values corresponding to all the pixel points on the straight line edge and the prior gray value of the lane line as the initial abnormal degree of the straight line edge, and carrying out normalization processing on the initial abnormal degree to obtain the abnormal degree of the straight line edge.
Further, the obtaining the direction consistency degree of the two adjacent straight edges in each suspected crack edge according to the included angle value of the two adjacent straight edges in the suspected crack edge comprises the following specific steps:
Marking any suspected crack edge in the road edge image as a target suspected crack edge; and taking an inverse proportion value of the minimum included angle value of two adjacent straight line edges in the target suspected crack edges as the direction consistency degree of the two adjacent straight line edges.
Further, the step of obtaining the regularity of each suspected crack edge in the road edge image according to the direction consistency degree and the flatness of the suspected crack edge comprises the following specific steps:
Taking the ratio of the number of the pixels of all the straight edges in the target suspected crack edge to the number of the pixels in the target suspected crack edge as the flatness of the target suspected crack edge; and fusing and normalizing the accumulated values of the flatness and the direction consistency degree of all adjacent straight line edges in the target suspected crack edges to obtain the regularity of the target suspected crack edges.
Further, the obtaining the final abnormality degree of each linear edge in the road edge image according to the abnormality degree of the linear edge and the regularity of the suspected crack edge where the linear edge is located comprises the following specific steps:
For any one straight line edge in the road edge image; fusing and normalizing the abnormality degree of the linear edge and the regularity of the suspected crack edge where the linear edge is positioned to obtain the final abnormality degree of the linear edge; the regularity is inversely related to the final degree of abnormality.
Further, the specific acquiring method of the edge area is as follows:
for any one straight line edge in the road edge image, acquiring one straight line edge closest to the straight line edge, and taking a quadrangle formed by the straight line edge and the straight line edge closest to the straight line edge as an edge area corresponding to the straight line edge.
The invention also provides an automatic road construction quality detection system, which comprises a memory and a processor, wherein the processor executes a computer program stored in the memory so as to realize the steps of the method.
The technical scheme of the invention has the beneficial effects that: after the road edge image with the road construction completed is obtained, the lane line prior gray value is obtained by analyzing the gray difference of the adjacent block areas in the edge area, and the abnormality degree of each linear edge in the road edge image is obtained by analyzing the difference of the gray value corresponding to the pixel point on the linear edge and the lane line prior gray value, so that the accuracy of identifying the linear edge formed by the road surface crack is improved; and combining the direction consistency degree of two adjacent linear edges in the whole suspected crack edge where the linear edge is positioned and the straightness condition of the suspected crack edge to obtain the regularity of the suspected crack edge in the road edge image, accurately identifying the crack edge in the road edge image by combining the abnormality degree and the regularity, further determining the crack area, solving the problem of inaccurate crack detection result caused by the similarity of partial cracks on the road surface and the lane line edges on the road surface, and improving the rationality of automatic detection of the road construction quality.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart illustrating steps of a method for automatically detecting road construction quality according to an embodiment of the present invention;
FIG. 2 is a grayscale image of a road according to an embodiment of the present invention;
Fig. 3 is a road edge image of an automatic road construction quality detection method according to an embodiment of the present invention.
Detailed Description
In order to further describe the technical means and effects adopted by the invention to achieve the preset aim, the following description refers to the specific implementation, structure, characteristics and effects of the automatic detection method and system for highway construction quality according to the present invention by combining the accompanying drawings and the preferred embodiments. In the following description, different "one embodiment" or "another embodiment" means that the embodiments are not necessarily the same. Furthermore, the particular features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The invention provides a method and a system for automatically detecting the construction quality of a highway.
Referring to fig. 1, a flowchart of steps of a method for automatically detecting highway construction quality according to an embodiment of the present invention is shown, the method includes the following steps:
And S001, acquiring a road edge image of the road construction completion.
It should be noted that, the main purpose of this embodiment is to determine the edge formed by the crack in the road edge image after the road construction is completed, so as to better determine the crack area, complete the automatic detection of the road construction quality, and first obtain the relevant data before starting the analysis.
Specifically, a road edge image of the road construction completion is obtained, specifically as follows:
Carrying out overlooking shooting on the road surface by an unmanned aerial vehicle carrying a high-resolution CCD camera to obtain an RGB image of the road surface; carrying out graying treatment on the RGB image of the road surface to obtain a road gray image; carrying out Canny edge detection on the road gray level image to obtain a road edge initial image; and performing open operation on the initial image of the road edge to obtain the image of the road edge.
The method is characterized in that the initial image of the road edge contains some small noise or isolated points, so that the local noise is removed by performing open operation on the initial image of the road edge to obtain the image of the road edge; referring to fig. 2, fig. 2 is a road gray scale image of the present embodiment; referring to fig. 3, fig. 3 is a road edge image of the present embodiment; the operation is performed on the initial image of the road edge, and the obtained image of the road edge is a morphological existing method, which is not described in detail in this embodiment.
Thus, road edge images of road construction completion are obtained.
Step S002, obtaining an edge area corresponding to each linear edge in the road edge image; dividing the edge areas to obtain a plurality of block areas of each edge area; acquiring a priori gray value of the lane line according to the gray difference of the adjacent block areas in the edge area; and obtaining the abnormal degree of each linear edge in the road edge image according to the difference between the gray value corresponding to the pixel point on the linear edge and the priori gray value of the lane line.
It should be noted that, the main purpose of this embodiment is to determine the edge formed by the crack in the road edge image after the road construction is completed, so as to better determine the crack area, complete the automatic detection of the road construction quality, and to facilitate the subsequent better analysis, it is preferred to obtain the straight line edge in the road edge image and the edge area formed by the straight line edge.
Specifically, a plurality of straight edges in the road edge image are obtained, and the method specifically comprises the following steps:
And carrying out Hough straight line detection on edges in the road edge image to obtain a plurality of straight line edges in the road edge image.
The present embodiment is not described in detail, and the present embodiment is used for performing hough line detection on edges in a road edge image to obtain a conventional method for detecting that a plurality of straight edges in the road edge image are hough lines.
Further, an edge area corresponding to each straight line edge in the road edge image is obtained, which is specifically as follows:
for any one straight line edge in the road edge image, acquiring one straight line edge closest to the straight line edge, and taking a quadrangle formed by the straight line edge and the straight line edge closest to the straight line edge as an edge area corresponding to the straight line edge.
It should be noted that, when the straight line edge is a line segment, in this embodiment, when obtaining a straight line edge with the closest straight line edge, the midpoint of the straight line edge is selected, then the perpendicular line distance between the midpoint and the adjacent straight line edge is obtained, and the adjacent straight line edge with the shortest perpendicular line distance is used as the straight line edge with the closest straight line edge distance.
It should be noted that, in order to facilitate the subsequent better analysis of the gray level change of the edge region, the edge region needs to be divided into small regions for local analysis.
Specifically, the edge areas are divided to obtain a plurality of block areas of each edge area, which is specifically as follows:
For an edge area corresponding to any one straight edge in the road edge image, dividing the edge area into a plurality of partsIs provided with a partition area of the (c),The block proportion coefficient is a preset block proportion coefficient, and the block proportion coefficient is specifically 3.
It should be noted that the normal block area size of the edge area isIf the division into the last remaining area is notThe present embodiment does not act as a partitioned area.
It should be noted that, because the color of the lane line is artificially colored, generally white or yellow, the gray level distribution of the area is relatively uniform, the gray level overall change is not large, the crack is naturally formed, the gray level distribution of the area is relatively discrete, and the gray level overall change is large, therefore, the gray level difference index of the adjacent partitioned areas is obtained by analyzing the gray level change of the adjacent partitioned areas in the edge area, and the larger the gray level difference index, the more likely the current edge area is the crack area.
Specifically, according to the gray level difference of the adjacent block areas in the edge area, the prior gray level value of the lane line is obtained, and the method comprises the following steps:
firstly, according to the gray level difference of the adjacent partitioned areas in the edge areas, gray level difference indexes of the adjacent partitioned areas in each edge area are obtained.
And secondly, obtaining the comprehensive gray scale change index of each edge region according to the gray scale difference index of the adjacent partitioned regions in the edge region.
Finally, according to the magnitude of the comprehensive gray level change index, the prior gray level value of the lane line is obtained.
Preferably, in one embodiment of the present invention, according to the gray scale difference of the adjacent segmented regions in the edge region, the gray scale difference index of the adjacent segmented region in each edge region is obtained, which is specifically as follows:
And for an edge region corresponding to any one straight line edge in the road edge image, acquiring absolute differences of gray average values corresponding to two adjacent block regions in the edge region, acquiring absolute differences of gray value range corresponding to the two adjacent block regions, and fusing the absolute differences of the gray average values and the absolute differences of the gray value range to obtain gray difference indexes of the two adjacent block regions.
As a specific example, the specific method for obtaining the gray scale difference index is as follows:
And marking an edge area corresponding to any one straight edge in the road edge image as a target edge area.
In the formula,Is the first of the target edge areaGray average values corresponding to the partitioned areas; Is the first of the target edge areaAdjacent ones of the partitioned areasGray average values corresponding to the partitioned areas; Is the first of the target edge areaThe pixel points in the individual block areas correspond to the extremely poor gray values; Is the first of the target edge areaAdjacent ones of the partitioned areasThe pixel points in the individual block areas correspond to the extremely poor gray values; Taking an absolute value; Is the first in the edge area of the objectThe block areas are adjacent to the firstGray scale difference index of each block region.
It should be noted that, because the color of the lane line is artificially colored, generally white or yellow, the gray level distribution of the area is relatively uniform, the gray level overall change is not large, the crack is naturally formed, the gray level distribution of the area is relatively discrete, and the gray level overall change is large, therefore, the formula obtains the gray level difference index of the adjacent segmented area by analyzing the gray level change of the adjacent segmented area in the edge area,The absolute difference of the corresponding gray average values of the two adjacent partitioned areas is reflected,The absolute difference of the corresponding gray value range of the two adjacent partitioned areas is reflected, and the larger the gray difference index is, the more likely the current edge area is a crack area.
The gray level difference of two adjacent block areas in one edge area is obtained, and the gray level difference of all adjacent block areas in the same edge area is analyzed to obtain the comprehensive gray level change index of the edge area, so that the larger the comprehensive gray level change index of the edge area is, the more likely the current edge area is a crack area.
Preferably, in one embodiment of the present invention, according to the gray level difference index of the adjacent partitioned areas in the edge area, the comprehensive gray level change index of each edge area is obtained, which is specifically as follows:
And for an edge region corresponding to any one straight line edge in the road edge image, acquiring the accumulated value of the gray difference indexes of each block region and all adjacent block regions around in the edge region, and taking the sum of the accumulated values of the gray difference indexes corresponding to all block regions in the edge region as the comprehensive gray change index of the edge region.
As a specific example, the specific method for obtaining the comprehensive gray scale variation index is as follows:
In the formula,The number of the blocking areas in the target edge area; Is the first in the target edge areaAccumulated values of gray difference indexes of each block area and all adjacent block areas around; Is an integrated gray scale change index of the target edge area.
The method is characterized in that the gray level distribution of the lane line area is uniform, the gray level overall change is not large, the gray level distribution of the area formed by the crack is discrete, the gray level overall change is large, the gray level difference of the adjacent partitioned areas in one edge area is analyzed, the comprehensive gray level change index of the whole edge area is obtained by analyzing the gray level difference of all the adjacent partitioned areas in the same edge area, and the more the comprehensive gray level change index is large, the more likely the current edge area is the crack area is.
The above-mentioned comprehensive gray scale change index of the edge region is obtained, and in an ideal case, the comprehensive gray scale change index of the lane line region should be very small and basically unchanged, so that the critical lane line prior gray scale value is obtained by selecting the edge region with the minimum comprehensive gray scale change index as the lane line reference region.
Specifically, according to the magnitude of the comprehensive gray level change index, the prior gray level value of the lane line is obtained, specifically as follows:
And acquiring a comprehensive gray scale change index of an edge area corresponding to each linear edge in the road edge image, and taking a gray scale average value of the edge area corresponding to the minimum value of the comprehensive gray scale change index as a lane line prior gray scale value.
It should be noted that, the lane line prior gray value is obtained, the degree of abnormality of the straight line edge in the road edge image is analyzed by combining the lane line prior gray value, when the gray value corresponding to the pixel point on the straight line edge is not greatly different from the lane line prior gray value, the more likely that the straight line edge is the edge of the lane line is, the more likely that the straight line edge is the straight line edge formed by the crack is, and the greater the degree of abnormality is.
Preferably, in one embodiment of the present invention, the degree of abnormality of each straight line edge in the road edge image is obtained according to the difference between the gray value corresponding to the pixel point on the straight line edge and the prior gray value of the lane line, which is specifically as follows:
And for any straight line edge in the road edge image, acquiring the absolute difference value of the gray value corresponding to each pixel point on the straight line edge and the prior gray value of the lane line, taking the average value of the absolute differences of the gray values corresponding to all the pixel points on the straight line edge and the prior gray value of the lane line as the initial abnormal degree of the straight line edge, and carrying out normalization processing on the initial abnormal degree to obtain the abnormal degree of the straight line edge.
As a specific example, the specific method for obtaining the abnormality degree is as follows:
In the formula,Is the first in the road edge imageThe number of pixels on each straight edge; Is the first in the road edge imageOn the straight edgeGray values corresponding to the pixel points; The prior gray value of the lane line is obtained; Taking an absolute value; Is a linear normalization function used for normalization; Is the first in the road edge imageDegree of abnormality of the individual straight edges.
The method is characterized in that when the gray value corresponding to the pixel point on the linear edge is not greatly different from the priori gray value of the lane line, the more likely the linear edge is the edge of the lane line, the smaller the degree of abnormality is; whereas the more likely the straight edge is a straight edge for crack formation, the greater the degree of anomaly; the above formula obtains the degree of abnormality of the linear edge by analyzing the difference between the gray values corresponding to all the pixel points on the linear edge and the priori gray values of the lane lines, and the larger the degree of abnormality is, the more likely the linear edge is a linear edge formed by cracks.
Thus, the degree of abnormality of each straight line edge in the road edge image is obtained.
Step S003, using continuous edges in the road edge image as suspected crack edges, and obtaining the direction consistency degree of two adjacent straight edges in each suspected crack edge according to the included angle value of the two adjacent straight edges in the suspected crack edges; and obtaining the regularity of each suspected crack edge in the road edge image according to the direction consistency degree and the flatness of the suspected crack edge.
It should be noted that, the degree of abnormality of the straight line edge is obtained only by analyzing the change of the gray value corresponding to the pixel point on the single straight line edge, and because the gray value of the straight line edge formed by partial cracks is not greatly changed compared with the prior gray value of the lane line, it is difficult to accurately determine whether the straight line edge is abnormal, and therefore, the integral analysis is also required to be performed by combining the edge where the straight line edge is located, so that the crack detection result is more accurate.
It should be further noted that, there may be multiple straight edges on the same edge in the road edge image, if the straight edges are oriented consistently, the more likely the edge where the straight edge is located is a lane line edge, so by analyzing the angle change of the adjacent straight edges on the edge where the straight edge is located, the more consistent the direction of the adjacent straight edges in the edge is obtained, and the more likely the current edge is a lane line edge.
Preferably, in one embodiment of the present invention, continuous edges in the road edge image are all used as suspected crack edges, and the direction consistency degree of two adjacent straight edges in each suspected crack edge is obtained according to the included angle value of two adjacent straight edges in the suspected crack edges, specifically as follows:
Marking any suspected crack edge in the road edge image as a target suspected crack edge; and taking an inverse proportion value of the minimum included angle value of two adjacent straight line edges in the target suspected crack edges as the direction consistency degree of the two adjacent straight line edges.
As a specific example, the specific method for obtaining the direction consistency degree is as follows:
In the formula,Is the first of the suspected crack edges of the targetThe included angle value between each straight edge and the horizontal line; The acquisition method of (1) is as follows: along one side of the edge of the target suspected crack, obtaining the firstAdjacent ones of the straight edges will beThe angle value between the adjacent straight edge of each straight edge and the horizontal line is recorded asTaking an absolute value; the present embodiment uses an exponential function based on natural constantsIs presented in inverse proportion to the model of (c),Is the input of the model; Is the first of the suspected crack edges of the targetThe degree to which each linear edge coincides with the direction of the corresponding adjacent linear edge.
It should be noted that, there may be multiple straight line edges on the same suspected crack edge, if the directions of the adjacent straight line edges are consistent, the suspected crack edge where the straight line edge is located is more likely to be a lane line edge, so the above formula obtains the consistent degree of the directions of the two adjacent straight line edges by analyzing the included angle value of the two adjacent straight line edges, and the more consistent degree of the directions is, the more likely the current suspected crack edge is a lane line edge.
It should be noted that, the above-mentioned degree of direction coincidence of two adjacent straight edges in the suspected crack edges is obtained, if the degree of direction coincidence of all straight edges in the suspected crack edges is higher, and meanwhile, the ratio of the straight edges is also higher, the regularity of the suspected crack edges is higher, a straight line is presented, and the more likely the current suspected crack edge is a lane line edge.
Preferably, in one embodiment of the present invention, the regularity of each suspected crack edge in the road edge image is obtained according to the direction consistency degree and the flatness of the suspected crack edge, which is specifically as follows:
Taking the ratio of the number of the pixels of all the straight edges in the target suspected crack edge to the number of the pixels in the target suspected crack edge as the flatness of the target suspected crack edge; and fusing and normalizing the accumulated values of the flatness and the direction consistency degree of all adjacent straight line edges in the target suspected crack edges to obtain the regularity of the target suspected crack edges.
As a specific example, the specific method for obtaining the regularity is as follows:
In the formula,The number of straight edges in the suspected crack edges of the target; Is the first of the suspected crack edges of the targetThe degree of direction coincidence of each linear edge and the corresponding adjacent linear edge; The number of all linear edge pixel points in the target suspected crack edge is the number of all linear edge pixel points; The number of pixel points in the edge of the target suspected crack; is a softmax function for normalization; Is the regularity of the edge of the suspected crack of the target.
It should be noted that if the degree of direction coincidence of all the straight line edges in the suspected crack edges is high, and meanwhile, the ratio of the straight line edges is also high, the regularity of the suspected crack edges is high, one straight line is presented, the more likely the current suspected crack edge is a lane line edge, therefore, the above formula obtains the regularity of the target suspected crack edges by analyzing the degree of direction coincidence of all the adjacent straight line edges in the target suspected crack edges and the flatness of the suspected crack edges,The straightness of the target suspected crack edge is reflected, and the higher the regularity is, the more likely the target suspected crack edge is the edge of the lane line.
So far, the regularity of each suspected crack edge in the road edge image is obtained.
Step S004, obtaining the final abnormality degree of each linear edge in the road edge image according to the abnormality degree of the linear edge and the regularity of the suspected crack edge where the linear edge is located; and screening crack edges in the road edge image according to the final degree of abnormality, and determining a crack region of the road surface through the crack edges.
The degree of abnormality of each straight line edge in the road edge image and the degree of regularity of each suspected crack edge in the road edge image are analyzed respectively, and the final degree of abnormality of each straight line edge in the road edge image is obtained comprehensively by combining the degree of abnormality of the straight line edge and the degree of regularity of the suspected crack edge where the straight line edge is located.
Preferably, in one embodiment of the present invention, the final abnormality degree of each linear edge in the road edge image is obtained according to the abnormality degree of the linear edge and the regularity of the suspected crack edge where the linear edge is located, which is specifically as follows:
For any one straight line edge in the road edge image; fusing and normalizing the abnormality degree of the linear edge and the regularity of the suspected crack edge where the linear edge is positioned to obtain the final abnormality degree of the linear edge; the regularity is inversely related to the final degree of abnormality.
As a specific example, the specific method for obtaining the final abnormality degree is as follows:
In the formula,Is the first in the road edge imageDegree of abnormality of the individual straight edges; Is the first in the road edge imageThe regularity of the suspected crack edges where the straight edges are located; Is a preset super parameter, and aims to prevent the denominator from being 0; Is a linear normalization function used for normalization; Is the first in the road edge imageFinal degree of anomaly of the individual straight edges.
The greater the degree of abnormality of the straight line edge in the road edge image, the more likely the straight line edge is crack formation, and the greater the final degree of abnormality; meanwhile, the analysis is carried out by combining the regularity of the suspected crack edges where the straight line edges are located, if the regularity of the suspected crack edges is smaller, the abnormal straight line edges in the suspected crack edges are more likely to form cracks.
The final abnormality degree of each straight line edge in the road edge image is obtained, and the determination is performed by setting an appropriate threshold value to determine the crack edge of the road surface, thereby obtaining the crack region.
Specifically, the crack edges in the road edge image are screened according to the final degree of abnormality, and the crack areas of the road surface are determined through the crack edges, specifically as follows:
Presetting a first threshold value, describing the embodiment by taking the first threshold value as 0.7, and taking the linear edge with the final abnormality degree larger than the first threshold value as a crack linear edge, otherwise, not taking the linear edge as the crack linear edge; and taking the suspected crack edge where the crack straight line edge is positioned as a crack edge, setting the gray values of the edges except the crack edge in the road edge image as 0, obtaining a crack edge image, and taking the area formed by the crack edge in the crack edge image as a crack area of the road surface.
Through the steps, the automatic detection method for the construction quality of the highway is completed.
Another embodiment of the present invention provides an automatic road construction quality detection system, the system including a memory and a processor, the processor executing a computer program stored in the memory, performing the following operations:
Acquiring a road edge image of road construction completion; acquiring an edge area corresponding to each linear edge in the road edge image; dividing the edge areas to obtain a plurality of block areas of each edge area; acquiring a priori gray value of the lane line according to the gray difference of the adjacent block areas in the edge area; obtaining the abnormal degree of each linear edge in the road edge image according to the difference between the gray value corresponding to the pixel point on the linear edge and the priori gray value of the lane line; the continuous edges in the road edge images are all used as suspected crack edges, and the direction consistency degree of two adjacent straight line edges in each suspected crack edge is obtained according to the included angle value of the two adjacent straight line edges in the suspected crack edges; obtaining the regularity of each suspected crack edge in the road edge image according to the direction consistency degree and the flatness of the suspected crack edge; obtaining the final abnormality degree of each linear edge in the road edge image according to the abnormality degree of the linear edge and the regularity of the suspected crack edge where the linear edge is located; and screening crack edges in the road edge image according to the final degree of abnormality, and determining a crack region of the road surface through the crack edges.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the invention, but any modifications, equivalent substitutions, improvements, etc. within the principles of the present invention should be included in the scope of the present invention.

Claims (7)

Translated fromChinese
1.一种公路施工质量自动检测方法,其特征在于,该方法包括以下步骤:1. A method for automatically detecting highway construction quality, characterized in that the method comprises the following steps:获取公路施工完成的道路边缘图像;Acquire images of the road edge where highway construction is completed;获取道路边缘图像中每个直线边缘对应的边缘区域;对边缘区域进行划分,得到每个边缘区域的若干分块区域;根据边缘区域中相邻分块区域的灰度差异,获取车道线先验灰度值;根据直线边缘上像素点对应灰度值与车道线先验灰度值的差异,得到道路边缘图像中每个直线边缘的异常程度;Obtain the edge region corresponding to each straight edge in the road edge image; divide the edge region to obtain a number of block regions of each edge region; obtain the lane line prior gray value according to the gray value difference between adjacent block regions in the edge region; obtain the abnormality degree of each straight edge in the road edge image according to the difference between the gray value corresponding to the pixel point on the straight edge and the lane line prior gray value;将道路边缘图像中的连续边缘,均作为疑似裂缝边缘,根据疑似裂缝边缘中相邻两个直线边缘的夹角值,得到每个疑似裂缝边缘中相邻两个直线边缘的方向一致程度;根据方向一致程度和疑似裂缝边缘的平直情况,得到道路边缘图像中每个疑似裂缝边缘的规整度;The continuous edges in the road edge image are all regarded as suspected crack edges. According to the angle value between two adjacent straight edges in the suspected crack edge, the degree of direction consistency between the two adjacent straight edges in each suspected crack edge is obtained; according to the degree of direction consistency and the straightness of the suspected crack edge, the regularity of each suspected crack edge in the road edge image is obtained;根据直线边缘的异常程度和直线边缘所在疑似裂缝边缘的规整度,得到道路边缘图像中每个直线边缘的最终异常程度;根据最终异常程度的大小,筛选道路边缘图像中的裂缝边缘,通过裂缝边缘确定道路表面的裂缝区域;According to the abnormality degree of the straight line edge and the regularity of the suspected crack edge where the straight line edge is located, the final abnormality degree of each straight line edge in the road edge image is obtained; according to the size of the final abnormality degree, the crack edges in the road edge image are screened, and the crack area on the road surface is determined through the crack edges;所述根据边缘区域中相邻分块区域的灰度差异,获取车道线先验灰度值,包括的具体步骤如下:The specific steps of obtaining the lane line prior grayscale value according to the grayscale difference between adjacent block areas in the edge area are as follows:对于道路边缘图像中任意一个直线边缘对应的边缘区域,获取该边缘区域中相邻两个分块区域对应灰度均值的绝对差值,获取所述相邻两个分块区域对应灰度值极差的绝对差值,将所述灰度均值的绝对差值、所述灰度值极差的绝对差值进行融合,得到所述相邻两个分块区域的灰度差异指标;For an edge area corresponding to any straight edge in the road edge image, obtain the absolute difference of the grayscale means corresponding to two adjacent block areas in the edge area, obtain the absolute difference of the grayscale value extremes corresponding to the two adjacent block areas, merge the absolute difference of the grayscale means and the absolute difference of the grayscale value extremes, and obtain the grayscale difference index of the two adjacent block areas;根据边缘区域内相邻分块区域的灰度差异指标,得到每个边缘区域的综合灰度变化指标;According to the grayscale difference index of adjacent block areas in the edge area, the comprehensive grayscale change index of each edge area is obtained;根据综合灰度变化指标的大小,获取车道线先验灰度值;According to the size of the comprehensive grayscale change index, the lane line prior grayscale value is obtained;所述根据综合灰度变化指标的大小,获取车道线先验灰度值,包括的具体步骤如下:The specific steps of obtaining the lane line prior grayscale value according to the size of the comprehensive grayscale change index are as follows:获取道路边缘图像中每个直线边缘对应的边缘区域的综合灰度变化指标,将综合灰度变化指标最小值对应边缘区域的灰度均值,作为车道线先验灰度值;Obtain the comprehensive grayscale change index of the edge area corresponding to each straight edge in the road edge image, and use the grayscale mean of the edge area corresponding to the minimum value of the comprehensive grayscale change index as the prior grayscale value of the lane line;所述根据直线边缘上像素点对应灰度值与车道线先验灰度值的差异,得到道路边缘图像中每个直线边缘的异常程度,包括的具体步骤如下:The specific steps of obtaining the abnormality degree of each straight edge in the road edge image according to the difference between the grayscale value corresponding to the pixel point on the straight edge and the prior grayscale value of the lane line are as follows:对于道路边缘图像中任意一个直线边缘,获取该直线边缘上每个像素点对应的灰度值与车道线先验灰度值的绝对差值,将该直线边缘上所有像素点对应的灰度值与车道线先验灰度值的绝对差值的平均值,作为该直线边缘的初始异常程度,对所述初始异常程度进行归一化处理,得到该直线边缘的异常程度。For any straight edge in the road edge image, the absolute difference between the grayscale value corresponding to each pixel on the straight edge and the prior grayscale value of the lane line is obtained, and the average of the absolute differences between the grayscale values corresponding to all pixels on the straight edge and the prior grayscale value of the lane line is used as the initial abnormality degree of the straight edge. The initial abnormality degree is normalized to obtain the abnormality degree of the straight edge.2.根据权利要求1所述一种公路施工质量自动检测方法,其特征在于,所述根据边缘区域内相邻分块区域的灰度差异指标,得到每个边缘区域的综合灰度变化指标,包括的具体步骤如下:2. According to the method for automatically detecting highway construction quality of claim 1, it is characterized in that the grayscale difference index of each edge area is obtained according to the grayscale difference index of adjacent block areas in the edge area, and the specific steps include the following:对于道路边缘图像中任意一个直线边缘对应的边缘区域,获取该边缘区域中每个分块区域与周围所有相邻分块区域的灰度差异指标的累加值,将该边缘区域中所有分块区域对应的灰度差异指标的累加值的和值,作为该边缘区域的综合灰度变化指标。For the edge area corresponding to any straight edge in the road edge image, the cumulative value of the grayscale difference index between each block area in the edge area and all the surrounding adjacent block areas is obtained, and the sum of the cumulative values of the grayscale difference indexes corresponding to all the block areas in the edge area is used as the comprehensive grayscale change index of the edge area.3.根据权利要求1所述一种公路施工质量自动检测方法,其特征在于,所述根据疑似裂缝边缘中相邻两个直线边缘的夹角值,得到每个疑似裂缝边缘中相邻两个直线边缘的方向一致程度,包括的具体步骤如下:3. According to claim 1, a method for automatically detecting highway construction quality is characterized in that the degree of direction consistency of two adjacent straight edges in each suspected crack edge is obtained according to the angle value of two adjacent straight edges in the suspected crack edge, and the specific steps include the following:将道路边缘图像中任意一个疑似裂缝边缘,记为目标疑似裂缝边缘;将目标疑似裂缝边缘中相邻两个直线边缘的最小夹角值的反比例值,作为所述相邻两个直线边缘的方向一致程度。Any suspected crack edge in the road edge image is recorded as a target suspected crack edge; the inverse proportional value of the minimum angle between two adjacent straight edges in the target suspected crack edge is taken as the degree of direction consistency of the two adjacent straight edges.4.根据权利要求3所述一种公路施工质量自动检测方法,其特征在于,所述根据方向一致程度和疑似裂缝边缘的平直情况,得到道路边缘图像中每个疑似裂缝边缘的规整度,包括的具体步骤如下:4. According to claim 3, a method for automatically detecting highway construction quality is characterized in that the regularity of each suspected crack edge in the road edge image is obtained according to the degree of directional consistency and the straightness of the suspected crack edge, and the specific steps include the following:将目标疑似裂缝边缘中所有直线边缘的像素点数量与目标疑似裂缝边缘中像素点数量的比值,作为目标疑似裂缝边缘的平直程度;将所述平直程度和目标疑似裂缝边缘中所有相邻直线边缘的方向一致程度的累加值进行融合并归一化,得到目标疑似裂缝边缘的规整度。The ratio of the number of pixels of all straight edges in the target suspected crack edge to the number of pixels in the target suspected crack edge is taken as the straightness of the target suspected crack edge; the cumulative value of the straightness and the degree of directional consistency of all adjacent straight edges in the target suspected crack edge are fused and normalized to obtain the regularity of the target suspected crack edge.5.根据权利要求1所述一种公路施工质量自动检测方法,其特征在于,所述根据直线边缘的异常程度和直线边缘所在疑似裂缝边缘的规整度,得到道路边缘图像中每个直线边缘的最终异常程度,包括的具体步骤如下:5. According to claim 1, a method for automatically detecting highway construction quality is characterized in that the final abnormality degree of each straight edge in the road edge image is obtained according to the abnormality degree of the straight edge and the regularity of the suspected crack edge where the straight edge is located, and the specific steps include the following:对于道路边缘图像中任意一个直线边缘;将该直线边缘的异常程度和该直线边缘所在疑似裂缝边缘的规整度进行融合并归一化,得到该直线边缘的最终异常程度;所述规整度与所述最终异常程度呈反比关系。For any straight edge in the road edge image, the abnormality degree of the straight edge and the regularity of the suspected crack edge where the straight edge is located are fused and normalized to obtain the final abnormality degree of the straight edge; the regularity is inversely proportional to the final abnormality degree.6.根据权利要求1所述一种公路施工质量自动检测方法,其特征在于,所述边缘区域的具体获取方法如下:6. The method for automatically detecting highway construction quality according to claim 1, wherein the specific method for obtaining the edge area is as follows:对于道路边缘图像中任意一个直线边缘,获取与该直线边缘距离最近的一个直线边缘,将该直线边缘与所述距离最近的直线边缘构成的四边形,作为该直线边缘对应的边缘区域。For any straight edge in the road edge image, a straight edge closest to the straight edge is obtained, and a quadrilateral formed by the straight edge and the straight edge closest to the straight edge is used as the edge area corresponding to the straight edge.7.一种公路施工质量自动检测系统,所述系统包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-6任一项所述一种公路施工质量自动检测方法的步骤。7. A system for automatically detecting highway construction quality, the system comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of a method for automatically detecting highway construction quality as described in any one of claims 1 to 6.
CN202411471841.0A2024-10-222024-10-22Automatic detection method and system for highway construction qualityActiveCN119006505B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202411471841.0ACN119006505B (en)2024-10-222024-10-22Automatic detection method and system for highway construction quality

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202411471841.0ACN119006505B (en)2024-10-222024-10-22Automatic detection method and system for highway construction quality

Publications (2)

Publication NumberPublication Date
CN119006505Atrue CN119006505A (en)2024-11-22
CN119006505B CN119006505B (en)2024-12-27

Family

ID=93482075

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202411471841.0AActiveCN119006505B (en)2024-10-222024-10-22Automatic detection method and system for highway construction quality

Country Status (1)

CountryLink
CN (1)CN119006505B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN119228680A (en)*2024-12-032024-12-31大连慕泽科技有限公司 An automatic leveling and compacting device for road foundation

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116740072A (en)*2023-08-152023-09-12安徽省云鹏工程项目管理有限公司Road surface defect detection method and system based on machine vision
CN117173184A (en)*2023-11-032023-12-05济宁市市政园林养护中心Road construction quality detection method and system based on artificial intelligence
CN118396986A (en)*2024-06-252024-07-26湖南建工交建宏特科技有限公司Real-time monitoring method for road engineering construction quality

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116740072A (en)*2023-08-152023-09-12安徽省云鹏工程项目管理有限公司Road surface defect detection method and system based on machine vision
CN117173184A (en)*2023-11-032023-12-05济宁市市政园林养护中心Road construction quality detection method and system based on artificial intelligence
CN118396986A (en)*2024-06-252024-07-26湖南建工交建宏特科技有限公司Real-time monitoring method for road engineering construction quality

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
田伟;沈浩;李晓;师磊磊;: "基于图像处理的廊道表面裂缝检测技术研究", 电子设计工程, no. 05, 5 March 2020 (2020-03-05)*

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN119228680A (en)*2024-12-032024-12-31大连慕泽科技有限公司 An automatic leveling and compacting device for road foundation

Also Published As

Publication numberPublication date
CN119006505B (en)2024-12-27

Similar Documents

PublicationPublication DateTitle
CN107330376B (en)Lane line identification method and system
WO2021000524A1 (en)Hole protection cap detection method and apparatus, computer device and storage medium
CN110207592B (en)Building crack measuring method and device, computer equipment and storage medium
JP6099479B2 (en) Crack detection method
JP5852919B2 (en) Crack detection method
CN105469046B (en)Based on the cascade vehicle model recognizing method of PCA and SURF features
CN108182383B (en)Vehicle window detection method and device
CN111415363A (en)Image edge identification method
CN119006505B (en)Automatic detection method and system for highway construction quality
CN104392212A (en)Method for detecting road information and identifying forward vehicles based on vision
CN116740072B (en)Road surface defect detection method and system based on machine vision
CN115205317B (en)Bridge monitoring photoelectric target image light spot center point extraction method
CN111354047B (en)Computer vision-based camera module positioning method and system
EP3046049A1 (en)Complex marking determining device and complex marking determining method
CN111553878A (en)Method for detecting paving uniformity of asphalt pavement mixture based on binocular vision
CN118501177B (en)Appearance defect detection method and system for formed foil
CN112396612A (en)Vector information assisted remote sensing image road information automatic extraction method
CN105046701A (en)Multi-scale salient target detection method based on construction graph
CN108563976B (en) A multi-directional vehicle color recognition method based on window position
CN114620030B (en) Parking performance testing method, device, server and product
CN116596428B (en)Rural logistics intelligent distribution system based on unmanned aerial vehicle
CN107657620A (en)A kind of method and system of textured metal freezing region recognition
CN117576121A (en)Automatic segmentation method, system, equipment and medium for microscope scanning area
CN106530273B (en)High-precision FPC (Flexible printed Circuit) linear line detection and defect positioning method
CN119359609B (en)Data line detection system and method based on weighted calculation

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp