Summary of the invention
The object of the present invention is to provide a kind of concrete structure member crevices automatic detection device, method and system, detection dresses
It sets, method and system are by the image acquisition device bridge member crack pattern that component deformation generates when by load
Picture, and the image is sent in image processing system and is handled, obtain the image information that component generates crack.The device,
Method and system obtain the crack information of component by the way of obtaining image automatically, can objectively be judged according to image information
Different parts, width, length crack whether belong to the qualification determination standard in stress crack, and the image information can be realized
Data upload to Environment in Railway Engineering Construction information management platform data center, facilitate bridge member load test data acquisition and
Improve the authenticity, correctness, reliability of bridge member load test data.
To achieve the above object, the present invention provides a kind of concrete structure member crevices automatic detection devices, comprising:
Image collecting device, for acquiring the image of the component;
Image processing apparatus, described image processing unit are connected with described image acquisition device, for identification the figure
Crack as in;
Moving bearing device, for carrying described image acquisition device, and the moving bearing device can be along the structure
At least one of part face to be detected is mobile.
Optionally, the moving bearing device includes moving track, and described image acquisition device is set to the moving track
Upper and described image acquisition device can move on the moving track, and the moving track can be along the component at least
One face to be detected is mobile, the shifting of described image the acquisition device moving direction on the moving track and the moving track
The angle in dynamic direction is greater than 0 ° and less than 180 °.
Optionally, the moving track and the component contact position are equipped with mobile mechanism, and the moving track is equipped with and climbs
Wall robot, the top surface of the climbing robot are in contact with the surface of the component, and the climbing robot is along the component
Surface creep and drive the moving track to move along the component;The mobile mechanism includes being set to the moving track two
The idler wheel at end, the idler wheel are contacted with the component.
Optionally, described image acquisition device includes camera lens and light compensating lamp, and the light compensating lamp is used to shoot for the camera lens
Image provides supplementary lighting sources.
Another object of the present invention is to provide a kind of concrete structure member crevices automatic testing methods, comprising:
Obtain the image of component;
Extract grayscale information in described image;
The dark area in described image is determined according to the grayscale information;
The crack of the component is identified based on the dark area.
Optionally, after described based on the crack of dark area identification means, further includes:
The angle of straight line where obtaining the crack and the component laterally,
Judge whether the angle is greater than 45 °, obtains the first judging result;
When first judging result expression is, determine that the crack is target crack;
When first judging result indicates no, determine that the crack is non-targeted crack
Optionally, the crack that the component is identified based on the dark area, is specifically included:
Low-pass filtering is carried out to the image comprising the dark area using Gaussian smoothing filter method;
Obtain the error image of the image of filtered image and the dark area;
Extract the directional information in crack in the error image;
In conjunction with the directional information, binary conversion treatment is carried out to the filtered crack image, obtains binary image;
The desultory point and agglomerate in the binary image are rejected, crack is extracted.
Optionally, the directional information for extracting crack in the error image, specifically includes:
Choose a pixel (i, j) in the filtered crack image;
Centered on the pixel (i, j), choosing height is h, and width is the rectangular area of w;
Calculate the gradient mean value in the direction x and y in the rectangular area;
The phase angle of any pixel (i, j) in the rectangular area is calculated according to the gradient mean value.
Optionally, the desultory point and agglomerate rejected in the binary image, extracts crack, specifically includes:
Obtain the outsourcing rectangle of gloomy ingredient in the binary image;
Calculate the length-width ratio of the outsourcing rectangle;
Judge whether the length-width ratio is greater than setting length-width ratio, obtains the second judging result;
When second judging result expression is, non-crack area is rejected according to the syntople of each outsourcing rectangle, really
The gloomy ingredient that the fixed remaining outsourcing rectangle is surrounded is target crack;
When second judging result indicates no, determine gloomy ingredient that the outsourcing rectangle is surrounded be desultory point or
Agglomerate, and reject the desultory point or the agglomerate.
Optionally, the detection method further include:
The image for obtaining the crack position again, obtains secondary image;
Identify the secondary crack in the secondary image;
Compare the length in the secondary crack and the crack in the secondary image, obtains comparison result;
When the comparison result indicate the secondary crack length be greater than the crack length, determine the quadratic diagram
Crack ingredient as in is target crack;
When the comparison result indicates that the length in the secondary crack is not more than the length in the crack, rejecting is described gloomy
Region records testing result.
Optionally, the detection method further include:
Obtain the crack image information collected in advance;
Based on the crack image information, extract containing the crack general character in crannied image;
The crack in the image of the component is identified according to the crack general character.
Another object of the present invention is to provide a kind of concrete structure member crevices automatic checkout system, comprising:
Image acquisition unit, for obtaining the image of component;
Grayscale information extraction unit, for extracting grayscale information in described image;
Dark area determination unit determines the dark area in described image according to the grayscale information;
Crack identification unit identifies the crack of the component based on the dark area.
The specific embodiment provided according to the present invention, the invention discloses following technical effects: coagulation provided by the invention
Image of the native structure member crevices automatic detection device using the image acquisition device component surface that can be moved on component, warp
After crossing image processing apparatus processing, the crack ingredient in image is obtained, to realize the Crack Detection of component.Through the invention
Crack detecting device progress Crack Detection avoids artificial observation and judges security risk existing for crack, and can be objective, true
It is real, accurate to obtain crack information, improve the authenticity, correctness, reliability of bridge member load test data.The present invention
A kind of concrete structure member crevices automatic testing method and system are additionally provided, this method and system pass through the neighborhood ash scale in crack
Different significant properties detects crack, and this method and system can accurately identify true crack present in the image of acquisition,
And recognition result is recorded, realize the transmission of crack data.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The present invention provides a kind of concrete structure member crevices automatic detection devices, as shown in Figure 1, comprising:
Image collecting device 3, the image for acquisition member 1;
Image processing apparatus (not shown in figure 1), image processing apparatus are connected with image collecting device 3, for identification
Crack in image;
Moving bearing device 2, for carrying image collecting device 3, and moving bearing device 2 can be along component 1 at least
One face to be detected is mobile.
Present embodiment is to utilize the image on the 3 acquisition member surface of image collecting device that can be moved on component 1, warp
After crossing image processing apparatus processing, the crack ingredient in image is obtained, to realize the Crack Detection of component.Through the invention
Crack detecting device progress Crack Detection avoids artificial observation and judges security risk existing for crack, and can be objective, true
It is real, accurate to obtain crack information, improve the authenticity, correctness, reliability of bridge member load test data.
As an alternative embodiment, unlike other embodiments, as shown in figs. 1 and 3, mobile carrying dress
Setting 2 includes moving track 4, and image collecting device 3 is set on moving track 4 and image collecting device 3 can be on moving track 4
Mobile, moving track 4 can be moved along at least one face to be detected of component 1, and in the present embodiment, moving track 4 is along structure
The bottom surface of part 1 is mobile;The angle of the moving direction of moving direction of the image collecting device 3 on moving track 4 and moving track 4
Greater than 0 ° and less than 180 °.Specifically, moving track 4 and 1 contact position of component are equipped with mobile mechanism, moving track is equipped with and climbs wall
Robot 5, the top surface of climbing robot 5 are adsorbed in 1 surface of component, and climbing robot 5 is adsorbed in component 1 and along 1 surface of component
The impetus creeped is able to drive moving track 4 and vertically moves along component, to realize the image collecting device 3 of carrying along structure
Part longitudinal movement, realizes the acquisition of longitudinal member image.
Mobile mechanism in present embodiment can be the idler wheel 5 that moving track both ends are arranged in, and pass through idler wheel 5 and component
1 contact, and rolled along component 1, realize the movement of moving track 4.
Mobile mechanism in present embodiment can be the sliding block (not shown in figure 1) being arranged on moving track and set
The sliding rail (not shown in figure 1) compatible with sliding block on component is set, such moving track can be moved along the sliding rail, be secured
Motion track of the moving track on component, while also can be avoided the problem of moving track deviates the detection faces of component, it can
Improve detection accuracy.
Different from the embodiment described above is that moving bearing device can also be that unmanned plane by manual remote control, image are adopted
Acquisition means are set on unmanned plane, and image collecting device and image processing apparatus can pass through wirelessly transmitting data.Personnel can pass through
Remote controlled drone shoots the image of component any part.
As an alternative embodiment, unlike other embodiments, as Fig. 2 and 3 image collecting devices 3 are wrapped
Include camera lens 8.The camera lens 8 further includes industrial lens including one or two kinds of in line-scan digital camera, area array cameras.Optionally, the camera lens
8 are arranged on small rail car 6, which is arranged on moving track 4, can move along moving track 4, small rail car 6
Moving direction it is different from the moving direction of moving track 4, so that camera lens 8 be enable to take the entire detection faces of component, cover
Lid detection is wide, is not in missing inspection situation, and then improves the comprehensive and accuracy in detection crack.It is another optional real
Mode is applied, camera lens 8 can also be arranged on climbing robot 5, it is connected by a shooting arm 9 with the climbing robot 5, the bat
Taking the photograph arm 9 can be 180 ° around 5 horizontal hunting of climbing robot.The camera lens of the set-up mode is to carry out structure with circular scanning process
The Image Acquisition of part detection faces, the structure of small rail car 6 is eliminated in this way, simplifies acquisition device, while utilizing shooting arm 9
Swing realize the acquisition of component detection faces image, and when moving track 4 is moved to a certain position, the mirror of the set-up mode
First 8 can take larger range of image, improve collecting efficiency.
As an alternative embodiment, unlike other embodiments, as shown in figure 4, image collecting device 3
It further include light compensating lamp 10, light compensating lamp 10, which is used to shoot image for camera lens 8, provides supplementary lighting sources.Light compensating lamp can be annular light source or
Strip source.Under normal circumstances, bridge upper surface can be bent downwardly deformation by lower surface after load, in order to detect bridge member
Whether occur crack after lower surface is loaded, be all to carry out Image Acquisition in the lower surface of component, but component lower surface illumination is insufficient,
The clarity that Image Acquisition can be seriously affected, therefore, it is necessary to the light compensating lamps to provide compensation light for camera lens, to guarantee Image Acquisition
Clearly, so improve crack identification accuracy and precision.
Image collecting device includes kilomega network industry area array CCD (charge coupled in the present embodiment
Device) camera 11, industrial lens 12, machine vision LED bar graph light source 10.Using kilomega network industry area array CCD (charge
Coupled device) camera 11, the conduct camera lens 8 of industrial lens 12, light compensating lamp is used as using machine vision LED bar graph light source 10
10.Kilomega network industry area array cameras 11 uses ccd sensor, realizes that high speed fine definition stablizes imaging, makes camera applications in more
Extensive industrial occasions.The industrial camera 12 has the characteristics that high-resolution, high speed, high-precision, fine definition, low noise,
Kilomega network output, direct transmission range are widely used in the field of machine vision of high-speed, high precision up to 100m.Machine vision
LED bar graph light source is suitble to be detected the surface illumination of object in machine vision, can provide the oblique fire of matching object from any angle
Illumination is widely used in surface crack detection etc. with the distribution of high brightness in strip structure.Its brightness and setting angle are equal
It is adjustable, have the characteristics that high brightness, low temperature, equilibrium, flicker free.Make machine vision LED bar graph light source with maximum power output, adjusts
Aperture, the focal length of whole industrial lens, so that image is in best sharpness.The time for exposure of camera also should not be too large, and prevent image
Image caused by image streaking in collection process is fuzzy.
The detection range covering bridge box and beam component span centre of the concrete structure member crevices automatic detection device or so each bottom 2m
The cambered surface of upward 15cm at face and lower flange base angle.
As an alternative embodiment, unlike other embodiments, concrete structure member crevices as shown in Figure 5
Automatic detection device further includes control device, far infrared cruise target point 13, control device respectively with climbing robot 5, image
Acquisition device 3 is connected with image processing apparatus, and control device control climbing robot 5 is adsorbed in component 1 and patrols according to far infrared
The target point 13 that navigates is mobile;It is mobile simultaneously according to far infrared cruise target point 13 on moving bearing device 2 to control image collecting device 3
Acquire image;And the crack ingredient in control image processing apparatus identification image, and will treated through image processing apparatus
Image transmitting is to Environment in Railway Engineering Construction information management platform data center.The component that can be realized automation is arranged in the control device
The identification of Image Acquisition and structure member crevices avoids the judgment criteria difference of artificial observation appearance and causes crack information inaccurate
True problem generates, and improves the detection accuracy and detection efficiency of structure member crevices, improves the safety of engineering test.
As an alternative embodiment, the concrete structure member crevices are examined automatically unlike other embodiments
Surveying device further includes warning device, which includes acoustic alarm and light alarm, when image processing apparatus detects in image
There are when crack, which alarms, to remind worker to determine crack and take corresponding measure.
Another object of the present invention is to provide a kind of concrete structure member crevices automatic testing methods, as shown in fig. 6, packet
It includes:
Step 601: obtaining the image of component;
Step 602: extracting grayscale information in image;
Step 603: the dark area in image is determined according to grayscale information;
Step 604: the crack based on dark area identification means.
Wherein, dark area is the region that gray scale is less than setting gray threshold, and the crack in image is gray value in image
Lesser region, therefore, when gray scale be less than setting gray threshold region be likely to crack occur, reduce identification range, add
Fast recognition rate.
The concrete structure member crevices automatic testing method is carried out using above-mentioned concrete structure member crevices automatic detection device
Detection, is moved back and forth on moving bearing device, and moving bearing device moves on component using image collecting device, right
Bridge box and beam component bears larger moment of flexure position and is scanned, in the Processing Algorithm identification image in motion picture processing device
Crack ingredient, and record Crack Detection result.
As an alternative embodiment, after the crack based on dark area identification means, further includes:
The angle of straight line where obtaining crack and component laterally,
Judge whether angle is greater than 45 °, obtains the first judging result;
When the expression of the first judging result is, determine that crack is target crack;
When the first judging result indicates no, determine that crack is non-targeted crack.
As an alternative embodiment, as shown in fig. 7, the detection method further include:
Step 701: obtaining the image of crack position again, obtain secondary image;
Step 702: the secondary crack in identification secondary image;
Step 703: comparing the length in the secondary crack and crack in secondary image, obtain comparison result;
When comparison result indicate secondary crack length be greater than crack length, determine that the crack ingredient in secondary image is
Target crack, and issue alarm signal;
When comparison result indicates that the length in secondary crack is not more than the length in crack, rejecting dark area, record detection knot
Fruit.
Before on-test, the detection zone of component is swept first using above-mentioned concrete structure member crevices automatic testing method
It retouches, detect primary, the coordinate of the incipient crack of recording member beam bottom.During test, need to apply component 1.00 grades extremely
1.20 grades of load, control device control moving bearing device carrying image acquisition device sweep component beam body key area
It retouches, scan image is transmitted to image processing apparatus and is handled, detected and extracted crack coordinate.At different levels before 1.20 grades apply
Load the interior completion of lotus 5min 1 time, 1.20 grades of acquisition, processing and the stress crack for holding 4 image datas of completion in lotus 20min is sentenced
It is fixed, wherein also to obtain the corresponding position coordinates of the initial pictures while obtaining initial pictures, also obtained when obtaining image again
Corresponding position coordinates of image, and the image of same position coordinate twice is compared, compare crack in the image of two sides at
The length divided, if comparison result indicates: the crack ingredient length in secondary image is greater than the crack ingredient in previous image
Length, then the crack ingredient in secondary image is true crack, i.e., the crack generated after application load extracts and records quadratic diagram
Picture, and alarm, so that worker confirms crack and positions.If when comparison result indicates: the crack ingredient length in secondary image
No more than the length of the crack ingredient in previous image, previous image and secondary image are rejected, records testing result, is illustrated initial
Crack in image is not to apply load and generate, therefore reject, and record testing result.
Wherein, the position coordinates of image are the far infrared cruise target point according to setting and the fortune for controlling climbing robot
What the motion profile of dynamic rail mark and image collecting device determined.
In the above-described embodiment, detect crack ingredient from the image of collected bridge bottom, need by image into
Row binary conversion treatment belongs to the scope of image segmentation.Then from treated, ingredient filters out desultory point and sheet of region, extracts
Crack ingredient.In order to carry out the segmentation of image by the way of dynamic threshold binaryzation, and consider the grain distribution in crack
Characteristic excludes the interference of desultory point, agglomerate, proposes a kind of crack detection method of local binarization based on fractuer direction distribution,
The step of i.e. above-mentioned crack based on dark area identification means, as shown in figure 8, specifically including:
Step 801: low-pass filtering being carried out to the image comprising dark area using Gaussian smoothing filter method;
Step 802: obtaining the error image of the image of filtered image and dark area;
Step 803: extracting the directional information in crack in error image;
Step 804: bonding position information carries out binary conversion treatment to the image of dark area, obtains binary image;
Step 805: rejecting the desultory point and agglomerate in binary image, extract crack and mark crack.
Wherein, single channel image is obtained after acquired image being carried out gray processing processing.Due to illumination in collection process,
The problems such as shake, is mixed with noise in image, so that part pixel value and its neighborhood territory pixel deviation are larger in image.Therefore it is carrying out
It needs to carry out Gaussian smoothing to image before crack extract to obtain the low pass ingredient of image after low-pass filtering.Then lead to
It crosses original image and low-pass filtered image work is poor, obtain the radio-frequency component of crack image.To guarantee the accuracy of crack extract.
Wherein, in order to obtain in image each point directional information, it is necessary first to obtain x, the direction gradient of y, gradient value
It obtains the first differential used and obtains the gradient in both directionWithIn order to make the direction of each pixel
Information is accurate as far as possible, uses regional area pixel in the present embodiment as a reference to being calculated.Such as Fig. 9 institute
Show, specifically, the step of extracting the directional information in crack in filtered crack image specifically includes:
Step 901: choosing a pixel (i, j) in filtered crack image;
Step 902: centered on pixel (i, j), choosing height is h, and width is the rectangular area of w;
Step 903: calculating the gradient mean value in the direction x and y in rectangular area;
Step 904: the phase angle of any pixel (i, j) in rectangular area is calculated according to gradient mean value.
Wherein, the calculation formula of gradient mean value are as follows:
It is obtained in rectangular area after x, y direction gradient mean value, is estimated by the mean value in rectangular area every by above formula
The phase of a point, the calculation formula of phase are as follows:After obtaining the directional information in crack, i.e.,
Multistage crack figure can be integrated into a crack, can accurately more determine crack location, improve the precision of Crack Detection.
The local binarization method of dynamic threshold in present embodiment is incited somebody to action based on Niblack method
The algorithm that Niblack binarization method is combined with the phase of each point in image.
In the picture a bit (i, j), as shown in Figure 10, first, in accordance with the phase of point (i, j) in the x and y direction and
The coordinate of point, which can be found out, takes each N number of point of the poincare half plane of the straight line, lower half-plane by the straight line, and it is straight to count this
The mean value m (i, j) and variance s (i, j) of 2N+1 point on line:
In this algorithm, I (i, j) is the pixel value size at point (i, j), this phase straight line is taken on target point (i, j)
On pixel as reference, using the straight line as template, obtained threshold value are as follows: T (x, y)=m (x, y)+ks (x, y)
In above formula, k is correction factor, is usually provided by requirement of engineering.It, can after obtaining the decision threshold of object pixel
The point is determined:
After each pixel in image passes through algorithm calculating, the binary image of target image is just obtained.In order to
It makes narrow notch up, uses space closed operation, smooth binary image is as a result, effect is as shown in FIG. 11 and 12.
As an alternative embodiment, as shown in figure 13, rejecting the desultory point and agglomerate in binary image, extracting
Crack and the step of mark crack, specifically includes:
Step 1301: obtaining the outsourcing rectangle of gloomy ingredient in binary image;
Step 1302: calculating the length-width ratio of outsourcing rectangle;
Step 1303: judging whether length-width ratio is greater than setting length-width ratio, obtain judging result;
Step 1304: when judging result expression is, non-crack area being rejected according to the syntople of each outsourcing rectangle, really
The gloomy ingredient that the fixed remaining outsourcing rectangle is surrounded is target crack;
Step 1305: when comparison result indicates no, determining that the gloomy ingredient that outsourcing rectangle is surrounded is desultory point or group
Block, and reject desultory point or agglomerate.
There are many spuious points, agglomerate by the image after binaryzation, in order to filter out these ingredients, present embodiment is adopted
With the limitation of target outsourcing rectangular aspect ratio, length limitation, area limitation etc., realizes the automatic fitration of dirty point or agglomerate, screen
Long and narrow ingredient out.Then by interstitial syntople, isolated ingredient is rejected.As shown in FIG. 14 and 15, rectangle frame packet
The ingredient of quilt is the crack ingredient that meets the requirements, and marks out crack ingredient in original image finally to observe.
As an alternative embodiment, the detection method further include:
Obtain the crack image information collected in advance;
Based on crack image information, extract containing the crack general character in crannied image;
According to the crack in the image of crack general character identification means.
The present embodiment uses Machine self-learning method, and study identification crack reduces identification difficulty, improves identification
Rate.
Another object of the present invention is to provide a kind of concrete structure member crevices automatic checkout system, comprising:
Image acquisition unit, for obtaining the image of component;
Grayscale information extraction unit, for extracting grayscale information in image;
Dark area determination unit determines the dark area in image according to grayscale information;
Crack identification unit, the crack based on dark area identification means.
The concrete structure member crevices automatic testing method is carried out using above-mentioned concrete structure member crevices automatic detection device
Detection, is moved back and forth on moving bearing device, and moving bearing device moves on component using image collecting device, right
Bridge box and beam component bears larger moment of flexure position and is scanned, in the Processing Algorithm identification image in motion picture processing device
Crack ingredient, and record Crack Detection result.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For system disclosed in embodiment
For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part
It is bright.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said
It is bright to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, foundation
Thought of the invention, there will be changes in the specific implementation manner and application range.In conclusion the content of the present specification is not
It is interpreted as limitation of the present invention.