Intelligent tunnel comprehensive control method, device, medium and equipment for tunnel construction
By segmenting and graying the tunnel images collected by the inspection equipment, the gray value information of the obstacle area is completed, and the target image is generated, which solves the problem of incomplete water seepage areas caused by obstacles and achieves more efficient and accurate detection. Tunnel water seepage monitoring.
Patent Information
- Application Number
- CN202411163831.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-23
AI Technical Summary
In the existing technology, when inspection equipment collects tunnel images, due to obstruction by obstacles, the information on the water seepage area cannot be completely extracted, resulting in low water seepage monitoring efficiency and inaccurate data.
By segmenting and grayscale the tunnel images collected by the inspection equipment, and completing the grayscale value information outside the obstacle area based on the grayscale image, the target image is generated, thereby achieving more complete prediction and monitoring of water seepage areas.
It improves the efficiency and accuracy of tunnel water seepage monitoring, can extract water seepage information more effectively, and achieve more efficient and better quality tunnel management and control.
Smart Images

Figure CN118674735B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of intelligent tunnel management and control, and specifically to an intelligent tunnel comprehensive management and control method, device, medium and equipment for tunnel construction. Background Art
[0002] The Internet of Things refers to connecting any object to the network through information sensing equipment according to the agreed protocol, and the object exchanges and communicates information through information dissemination media to realize intelligent identification, positioning, tracking, supervision and other functions. The smart tunnel is a tunnel that uses artificial intelligence and big data analysis technology, cloud computing or supercomputers to process and analyze massive data, connects the Internet of Things sensors, GPS units and radio frequency identification units that track mobile targets, and geological advance prediction systems to form the Internet of Things and realize intelligent response and decision support. It has the characteristics of thorough perception, comprehensive interconnection, deep integration, and intelligent services.
[0003] In tunnel construction, water seepage is usually caused by changes in geological conditions, groundwater surges, improper construction, and aging materials. It will not only cause equipment damage and reduce the life of the tunnel, but may also threaten the safety of the tunnel. Therefore, it is very important to detect water seepage in a timely manner. Existing technologies usually use manual visual inspection or inspection equipment to take images to monitor water seepage. Manual visual inspection is inefficient and cannot form effective data for feedback in a timely manner. The images collected by inspection equipment are often affected by other facilities in the tunnel, such as signs, cables, fans, etc. These facilities block the tunnel wall with water seepage, resulting in only part of the water seepage area in the captured image, making it impossible to extract effective water seepage information in a timely manner based on the captured image, and the level of control is reduced. Summary of the invention
[0004] The main purpose of this application is to provide a smart tunnel comprehensive management and control method, device, medium and equipment for tunnel construction, aiming to solve the problem in the prior art that when patrol equipment is used to collect images for water seepage monitoring, the captured images are blocked, resulting in incomplete water seepage areas, making it impossible to extract effective water seepage information in a timely manner.
[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of the present application are as follows:
[0006] In a first aspect, an embodiment of the present application provides a smart tunnel comprehensive management and control method for tunnel construction, which is applied to an Internet of Things system. The Internet of Things system includes: a user platform, a service platform, a management platform, a sensor network platform, and an object platform that interact in sequence. The object platform is used to access the inspection equipment. The method includes the following steps:
[0007] In response to the presence of a water seepage area on the tunnel image collected by the inspection device, segmenting the obstacle area on the tunnel image to obtain a segmented image;
[0008] Grayscale the segmented image to obtain a grayscale image;
[0009] Based on the grayscale value information of the area outside the obstacle area on the grayscale image, the grayscale value information of the obstacle area is completed to obtain the target image;
[0010] Based on the target image, the water seepage situation is predicted to realize tunnel water seepage monitoring.
[0011] In a possible implementation manner of the first aspect, based on the grayscale value information of the area outside the obstacle area on the grayscale image, the grayscale value information of the obstacle area is supplemented, and before obtaining the target image, the method further includes:
[0012] Obtain the relative positions of the seepage area and the obstacle area;
[0013] Based on the grayscale value information of the area outside the obstacle area on the grayscale image, the grayscale value information of the obstacle area is completed to obtain the target image, including:
[0014] Based on the grayscale value information and relative position of the area outside the obstacle area on the grayscale image, the grayscale value information of the obstacle area is completed to obtain the target image.
[0015] In a possible implementation manner of the first aspect, the relative position includes: the water seepage area is on one side of the obstacle area in the target direction and the water seepage area is on both sides of the obstacle area in the target direction, and the target direction includes a horizontal direction and a vertical direction.
[0016] In a possible implementation manner of the first aspect, based on the grayscale value information and relative position of the area outside the obstacle area on the grayscale image, the grayscale value information of the obstacle area is supplemented to obtain the target image, including:
[0017] Based on the gray value information of the area outside the obstacle area on the gray image and the fact that the water seepage area is on one side of the obstacle area in the target direction, the gray value of the pixel point in the water seepage area is obtained;
[0018] Based on the linear change principle, the grayscale value information of the obstacle area is completed according to the grayscale values of the pixels in the water seepage area in the target direction to obtain the target image.
[0019] In a possible implementation of the first aspect, based on the linear change principle, grayscale value information of the obstacle area is supplemented according to the grayscale values of the pixels of the water seepage area in the target direction to obtain the target image, including:
[0020] Based on the linear change principle, the grayscale value information of the obstacle area is complemented according to the grayscale values of the pixels in the water seepage area in the horizontal direction and the grayscale values of the pixels in the water seepage area in the vertical direction, so as to obtain the first target image and the second target image;
[0021] The first target image and the second target image are superimposed based on pixel points, and the average grayscale value of the pixel points is obtained as the grayscale value of the corresponding pixel point on the target image to obtain the target image.
[0022] In a possible implementation of the first aspect, based on the linear change principle, grayscale value information of the obstacle area is supplemented according to the grayscale values of the pixels of the water seepage area in the target direction, and before obtaining the target image, the method further includes:
[0023] Determine a first complement region and a second complement region of the obstacle region according to the area of the water seepage region and the grayscale values of the pixels of the water seepage region;
[0024] Based on the linear change principle, the grayscale value information of the obstacle area is supplemented according to the grayscale value of the pixel points in the seepage area in the target direction to obtain the target image, including:
[0025] Based on the linear change principle, the gray value information of the first complement area is complemented according to the gray values of the pixels in the water seepage area in the target direction;
[0026] According to the grayscale value of the normal tunnel wall area on the grayscale image, the grayscale value of the second complement area is complemented to obtain the target image.
[0027] In a possible implementation manner of the first aspect, based on the grayscale value information and relative position of the area outside the obstacle area on the grayscale image, the grayscale value information of the obstacle area is supplemented to obtain the target image, including:
[0028] Based on the grayscale value information of the area outside the obstacle area on the grayscale image and the water seepage area on both sides of the obstacle area in the target direction, the grayscale value of the pixel point in the water seepage area and the center position of the water seepage area are obtained;
[0029] Based on the principle of linear change, the grayscale value information of the obstacle area is completed according to the grayscale values of the pixel points at the center of the seepage and the seepage area to obtain the target image.
[0030] In the second aspect, the embodiment of the present application provides a smart tunnel comprehensive management and control device for tunnel construction, which is applied to an Internet of Things system. The Internet of Things system includes: a user platform, a service platform, a management platform, a sensor network platform and an object platform that interact in sequence. The object platform is used to access the inspection equipment. The management platform is configured with several modules, including:
[0031] A segmentation module, the segmentation module is used to segment the obstacle area on the tunnel image in response to the presence of a water seepage area on the tunnel image collected by the inspection equipment to obtain a segmented image;
[0032] Grayscale module: The grayscale module is used to grayscale the segmented image to obtain a grayscale image;
[0033] The completion module is used to complete the grayscale value information of the obstacle area based on the grayscale value information of the area outside the obstacle area on the grayscale image to obtain the target image;
[0034] Monitoring module,The monitoring module is used to predict the water seepage situation according to the target image to realize tunnel water seepage monitoring.
[0035] In a third aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, it implements a smart tunnel comprehensive management and control method for tunnel construction as provided in any one of the first aspects above.
[0036] In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein:
[0037] The memory is used to store computer programs;
[0038] The processor is used to load and execute a computer program so that the electronic device executes a smart tunnel comprehensive management and control method for tunnel construction as provided in any one of the first aspects above.
[0039] Compared with the prior art, the beneficial effects of this application are:
[0040] The embodiment of the present application proposes a method, device, medium and equipment for comprehensive management and control of intelligent tunnels for tunnel construction, the method comprising: in response to the presence of a water seepage area on the tunnel image collected by the inspection equipment, segmenting the obstacle area on the tunnel image to obtain a segmented image; graying the segmented image to obtain a gray image; based on the gray value information of the area outside the obstacle area on the gray image, completing the gray value information of the obstacle area to obtain a target image; according to the target image, predicting the water seepage situation to achieve tunnel water seepage monitoring. The present application first segments the tunnel image with water seepage areas collected by the inspection equipment, segments the area of the photographed obstacle, and grays it after the segmentation is completed, reducing the image dimension and being able to characterize the degree of water seepage with the depth of grayscale, so that the gray value of the segmented obstacle area can be completed according to the gray value information of the area other than the obstacle area, that is, restoring a more complete water seepage area by prediction, and using the completed image as the image predicted by the water seepage situation, which can extract more effective water seepage situations to achieve more efficient and better quality tunnel monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A schematic diagram of the structure of a smart tunnel comprehensive management and control device for tunnel construction in the hardware operating environment involved in an embodiment of the present application;
[0042] Figure 2 A flow chart of a smart tunnel comprehensive management and control method for tunnel construction provided in an embodiment of the present application;
[0043] Figure 3 A schematic diagram of the framework of the Internet of Things system in the smart tunnel comprehensive management and control method for tunnel construction provided in an embodiment of the present application;
[0044] Figure 4 A schematic diagram of an exemplary scenario in which a water seepage area is blocked by an obstacle in the intelligent tunnel comprehensive management and control method for tunnel construction provided in an embodiment of the present application;
[0045] Markings in the figure: 101 - processor, 102 - communication bus, 103 - network interface, 104 - user interface, 105 - memory. DETAILED DESCRIPTION
[0046] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0047] See attached Figure 1 , attached Figure 1This is a schematic diagram of the structure of an electronic device of the hardware operating environment involved in the embodiment of the present application. The electronic device may include: a processor 101, such as a central processing unit (CPU), a communication bus 102, a user interface 104, a network interface 103, and a memory 105. Among them, the communication bus 102 is used to realize the connection and communication between these components. The user interface 104 may include a display (Display), an input unit such as a keyboard (Keyboard), and the user interface 104 may also include a standard wired interface and a wireless interface. The network interface 103 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 105 may optionally be a storage device independent of the aforementioned processor 101. The memory 105 may be a high-speed random access memory (RAM) memory, or it may be a stable non-volatile memory (NVM), such as at least one disk storage. The processor 101 may be a general-purpose processor, including a central processing unit, a network processor, etc., or it may be a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
[0048] Those skilled in the art will appreciate that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0049] As attached Figure 1 As shown, the memory 105 as a storage medium may include an operating system, a network communication module, a user interface module, and a smart tunnel comprehensive management and control device for tunnel construction.
[0050] In the attached Figure 1 In the electronic device shown, the network interface 103 is mainly used for data communication with the network server; the user interface 104 is mainly used for data interaction with the user; the processor 101 and the memory 105 in the present application can be set in the electronic device, and the electronic device calls the intelligent tunnel comprehensive management and control device for tunnel construction stored in the memory 105 through the processor 101, and executes the intelligent tunnel comprehensive management and control method for tunnel construction provided in the embodiment of the present application.
[0051] See attached Figure 2Based on the hardware devices of the aforementioned embodiments, the embodiments of the present application provide a smart tunnel comprehensive management and control method for tunnel construction, which is applied to an Internet of Things system. The Internet of Things system includes: a user platform, a service platform, a management platform, a sensor network platform, and an object platform that interact in sequence. The object platform is used to access the inspection equipment. The method includes the following steps:
[0052] S10: In response to the presence of a water seepage area on the tunnel image collected by the inspection device, segment the obstacle area on the tunnel image to obtain a segmented image.
[0053] In the specific implementation process, inspection equipment such as handheld inspection equipment equipped with cameras, or inspection carts, inspection robots, etc., continuously transmit real-time images taken to the IoT platform while inspecting along the set route, thereby achieving real-time monitoring. The water seepage area on the tunnel image can be identified through the existing image recognition algorithm in the background. Simply put, if there is a water seepage area, the pixel value and grayscale value of the tunnel wall in the image will be different from the surrounding unpenetrated areas, so the water seepage area can be identified based on algorithms such as edge detection.
[0054] Since it is necessary to separate the area blocked by the obstacle, the image can be segmented. The segmentation can adopt a threshold-based image segmentation algorithm, or the segmentation model can be trained to learn to segment the area where the obstacle in the tunnel is located in the image. And pixel removal processing can be performed. For example, the obstacle area after removal appears in white, black or other colors on the tunnel image to facilitate subsequent filling and completion of the area. Furthermore, considering that the light in the tunnel is generally dim, the obstacle area after the pixels are removed can be filled with colors that are not common in the tunnel, so that the obstacle area can be distinguished from the pixels on the tunnel image as much as possible. For example, the obstacle area is filled with white, red with higher brightness, blue, etc.
[0055] S20: gray-scale the segmented image to obtain a gray-scale image.
[0056] In the specific implementation process, grayscale, in the RGB model, if R=G=B, the color represents a grayscale color, where the value of R=G=B is called the grayscale value, that is, the values of the three channels of R, G, and B in the image are equal, where R, G, and B represent the three channels of red, green, and blue respectively. Therefore, each pixel of the grayscale image only needs one byte to store the grayscale value (also known as intensity value, brightness value), and the grayscale range is 0-255. Simply put, it is to convert the color image into a grayscale image, thereby reducing the dimension of the image, facilitating subsequent processing, and the grayscale value on the grayscale image can directly reflect the degree of water seepage.
[0057] S30: Based on the grayscale value information of the area outside the obstacle area on the grayscale image, the grayscale value information of the obstacle area is completed to obtain a target image.
[0058] In the specific implementation process, after the obstacle area on the image is segmented, there are no obstacles that affect the judgment of the water seepage area in the retained area. The purpose is to restore the complete water seepage area of the occluded part. Therefore, the grayscale value information reflected by the water seepage area in other areas can be used to complete the grayscale value of the original obstacle area to obtain the target image predicted to have a complete water seepage area.
[0059] In one embodiment, based on the grayscale value information of the area outside the obstacle area on the grayscale image, the grayscale value information of the obstacle area is supplemented, and before obtaining the target image, the method further includes:
[0060] Obtain the relative positions of the seepage area and the obstacle area.
[0061] In the specific implementation process, the relative position is introduced in the completion image as a reference for completion, which can achieve more accurate completion. Considering that the tunnel is an arc-shaped wall, the horizontal penetration can be regarded as uniform from the center position of the water seepage, but due to gravity, the vertical seepage will penetrate more downward. Therefore, the relative position may include: the water seepage area on one side of the obstacle area in the target direction and the water seepage area on both sides of the obstacle area in the target direction, and the target direction includes the horizontal direction and the vertical direction.
[0062] For example, taking a vertical image perpendicular to a horizontal plane as an example, the relative positions of the water seepage area and the obstacle area on the vertical image may include the following situations:
[0063] The water seepage area is above and / or below the obstacle area (vertically);
[0064] The water seepage area is on the left and / or right side of the obstruction area (horizontally);
[0065] The water seepage area is on the upper side or lower side of the obstacle area (vertical direction), and the water seepage area is on the left and right side of the obstacle area (horizontal direction);
[0066] The water seepage area is on the upper and lower sides of the obstacle area (vertical direction), and the water seepage area is on the left or right side of the obstacle area (horizontal direction);
[0067] The water seepage area is on the upper and lower sides (vertical direction) of the obstacle area, and the water seepage area is on the left and right sides (horizontal direction) of the obstacle area.
[0068] Based on the above steps, the grayscale value information of the obstacle area is supplemented based on the grayscale value information of the area outside the obstacle area on the grayscale image to obtain the target image, including:
[0069] Based on the grayscale value information and relative position of the area outside the obstacle area on the grayscale image, the grayscale value information of the obstacle area is completed to obtain the target image.
[0070] In one embodiment, based on the grayscale value information and relative position of the area outside the obstacle area on the grayscale image, the grayscale value information of the obstacle area is supplemented to obtain the target image, including:
[0071] Based on the gray value information of the area outside the obstacle area on the gray image and the fact that the water seepage area is on one side of the obstacle area in the target direction, the gray value of the pixel point in the water seepage area is obtained;
[0072] Based on the linear change principle, the grayscale value information of the obstacle area is completed according to the grayscale values of the pixels in the water seepage area in the target direction to obtain the target image.
[0073] In the specific implementation process, the water seepage area is on one side of the obstacle area in the target direction, which means that the grayscale value completion only needs to be performed in one direction. In this case, the law of water seepage is that as the distance from the water seepage point increases, the grayscale value reflected in the image will become smaller and smaller, which satisfies the linear change. Therefore, the grayscale value completion of the occluded area should also satisfy this linear change principle.
[0074] In one embodiment, based on the linear change principle, the gray value information of the obstacle area is supplemented according to the gray value of the pixel point of the water seepage area in the target direction to obtain the target image, including:
[0075] Based on the linear change principle, the grayscale value information of the obstacle area is complemented according to the grayscale values of the pixels in the water seepage area in the horizontal direction and the grayscale values of the pixels in the water seepage area in the vertical direction, so as to obtain the first target image and the second target image;
[0076] The first target image and the second target image are superimposed based on pixel points, and the average grayscale value of the pixel points is obtained as the grayscale value of the corresponding pixel point on the target image to obtain the target image.
[0077] In the specific implementation process, the image is analyzed from the pixel points. The pixels of a single column or row can be regarded as satisfying linear changes in one direction. However, water seepage cannot occur only in a certain column or row of pixels. For example, a water seepage area seeps downward as a whole, but it will also be accompanied by horizontal infiltration and diffusion to the left and right. Therefore, when the water seepage area is on one side of the obstacle area in the target direction, the obstacle area is completed in the vertical and horizontal directions based on the linear transformation principle. Then the two completed images are superimposed based on the pixel points, and the average grayscale value is taken as the grayscale value of the point. Finally, the target image is fused. At this time, the target image comprehensively considers the water seepage and diffusion in two directions, and can more realistically restore the water seepage information.
[0078] In one embodiment, based on the linear change principle, the gray value information of the obstacle area is supplemented according to the gray value of the pixel point of the water seepage area in the target direction, and before obtaining the target image, the method further includes:
[0079] According to the area of the water seepage area and the grayscale values of the pixels in the water seepage area, a first complement area and a second complement area of the obstacle area are determined.
[0080] In the specific implementation process, for the completion on the occlusion in one direction, it is necessary to determine the boundary of the completion, and it cannot be completed in a single direction without restriction. According to the principle of water seepage diffusion, the larger the gray value of the pixel point in the water seepage area, the closer it is to the center of the water seepage, and the larger the area of the water seepage area, the greater the amount of water seepage, and the larger the area that needs to be completed. Therefore, the obstacle area can be divided into two parts, one is the first completion area based on the gray value of the water seepage area, and the other is the second completion area based on the gray value of the tunnel wall on the grayscale image where there is no water seepage. On this basis, since inspection is a continuous process, as the inspection equipment moves, the real-time acquired image will also change. The completion is continuously performed according to the changed area, and the predicted target image is updated in real time, so that the monitoring personnel can continuously update the latest water seepage prediction according to the real-time inspection.
[0081] Based on the above steps and the linear change principle, the grayscale value information of the obstacle area is supplemented according to the grayscale values of the pixels in the water seepage area in the target direction to obtain the target image, including:
[0082] Based on the linear change principle, the gray value information of the first complement area is complemented according to the gray values of the pixels in the water seepage area in the target direction;
[0083] According to the grayscale value of the normal tunnel wall area on the grayscale image, the grayscale value of the second complement area is complemented to obtain the target image.
[0084] In one embodiment, based on the grayscale value information and relative position of the area outside the obstacle area on the grayscale image, the grayscale value information of the obstacle area is supplemented to obtain the target image, including:
[0085] Based on the grayscale value information of the area outside the obstacle area on the grayscale image and the water seepage area on both sides of the obstacle area in the target direction, the grayscale value of the pixel point in the water seepage area and the center position of the water seepage area are obtained;
[0086] Based on the principle of linear change, the grayscale value information of the obstacle area is completed according to the grayscale values of the pixel points at the center of the seepage and the seepage area to obtain the target image.
[0087] In the specific implementation process, if the water seepage area in the target direction is on both sides of the obstacle area, it is relatively simple to complete the obstacle area at this time, because there are at least two areas with grayscale values, and the linear change of the grayscale value of the entire water seepage area can be predicted, and then the center position of the water seepage can be predicted, and then the missing area grayscale value can be completed; if an area with the same grayscale value can be found in the same horizontal direction of the water seepage area, the center position of the water seepage can be determined according to the symmetry of the two areas, and then it can be completed according to the principle of linear change.
[0088] For a specific example, see Figure 4 , taking the water seepage area on the upper and lower sides of the obstacle in the vertical direction as an example. Among them, multiple pipes block part of the area, and due to the long pipes, the water seepage area in the horizontal direction cannot be observed. Therefore, for each pipe blocking area, based on the water seepage area on the upper side of a pipe and the water seepage area on the lower side of the pipe, the center position of the water seepage can be predicted, and the completion can still be performed according to the linear change principle, so as to predict the grayscale value of the missing area corresponding to the pipe. After the grayscale value of the missing area corresponding to each pipe is completed, the target image after the completion of the water seepage area can be obtained.
[0089] Another specific example, when the water seepage areas on all sides around the obstacle can be observed at the same time, the water seepage center position in the horizontal direction can be predicted based on the water seepage areas on the left and right sides of the obstacle, and then based on the linear principle, the grayscale values of the pixels in the water seepage area are used to complete the missing obstacle area in the horizontal direction to obtain the first image; based on the water seepage areas on the upper and lower sides of the obstacle, the water seepage center position in the vertical direction is predicted, and then based on the linear principle, the grayscale values of the pixels in the water seepage area are used to complete the missing obstacle area in the vertical direction to obtain the second image. Then, based on the first image completed in the horizontal direction and the second image completed in the vertical direction, the pixels can be superimposed, the average grayscale value can be taken as the grayscale value of the point, and finally the target image can be obtained by fusion.
[0090] Another example, still referring to Figure 4 When there are many pipes but the gaps between them are small, the water seepage areas in the middle of the pipes can be ignored and all the pipes as a whole can be regarded as an obstacle. Based on the water seepage area on the upper side of the first pipe at the top and / or the water seepage area on the lower side of the last pipe at the bottom, the center position of the water seepage is predicted. Then, according to the linear change principle, the grayscale values of the missing areas are completed, so that the target image after the water seepage areas are completed can be obtained.
[0091] S40: Predicting water seepage conditions according to the target image to achieve tunnel water seepage monitoring.
[0092] During the specific implementation process, the interference of the blocked area was eliminated, and the seepage area situation was predicted and restored on the target image. The background predicted the seepage location, seepage amount, affected area and other seepage conditions based on the area of the seepage area and the grayscale value depth of the seepage area. Computer vision detection can be further performed to identify whether cracks have occurred. According to the predicted real-time seepage situation, the monitoring personnel can quickly make arrangements for materials and personnel and deal with the seepage situation in a timely manner, thereby realizing intelligent management and control of the tunnel.
[0093] In this embodiment, the tunnel image with water seepage area collected by the inspection equipment is first segmented, and the area of the photographed obstacle is segmented. After the segmentation is completed, grayscale is performed to reduce the image dimension and the degree of water seepage can be characterized by the depth of grayscale. Therefore, the grayscale value of the segmented obstacle area can be supplemented according to the grayscale value information of the area other than the obstacle area, that is, a more complete water seepage area is restored by prediction, and the supplemented image is used as the image of water seepage situation prediction, which can extract more effective water seepage situations to achieve more efficient and better quality tunnel monitoring. For example, when the total area of the tunnel water seepage area exceeds the first preset value, warning information can be output in time to make vehicles passing through the tunnel pay attention to safety; when the total area of the tunnel water seepage area exceeds the second preset value, alarm information can be output in time to enable tunnel management personnel to take control measures in time, such as closing the tunnel section, prompting maintenance personnel to perform circuit maintenance, etc., wherein the second preset value can be greater than the first preset value.
[0094] The framework of the Internet of Things system provided in the embodiment of the present application in the application scenario is as shown in the attached Figure 3As shown, it may include a user platform, a service platform, a management platform, a sensor network platform and an object platform that interact in sequence, wherein the object platform may include an inspection device object sub-platform for accessing one or more inspection devices; the sensor network platform may include a device management module and a data transmission management module, the device management module may include a network management unit, an instruction management unit and a device status management unit, the data transmission management module may include a data protocol management unit, a data parsing unit, a data classification unit, a data transmission monitoring unit and a data transmission security unit; the management platform may include a device management sub-platform and a data center, the device management sub-platform interacts with the data center, the device management sub-platform may include a device operation status monitoring management unit, a metering data monitoring management unit, a device parameter management unit and a device life cycle management unit, and the functional modules of the intelligent tunnel comprehensive control device for tunnel construction may be integrated into the management platform and stored in the data center for call; the service platform may include a use service module, an operation service module and a security service module; through the interaction between the various functional platforms of the Internet of Things system based on the above five platforms, a complete closed-loop information operation logic is established to ensure the orderly operation of perception information and control information, and realize intelligent comprehensive control in tunnel construction.
[0095] Based on the same inventive concept as in the aforementioned embodiment, the embodiment of the present application further provides a smart tunnel comprehensive control device for tunnel construction, which is applied to an Internet of Things system. The Internet of Things system includes: a user platform, a service platform, a management platform, a sensor network platform and an object platform that interact in sequence. The object platform is used to access the inspection equipment. The management platform is configured with several modules, including:
[0096] A segmentation module, the segmentation module is used to segment the obstacle area on the tunnel image in response to the presence of a water seepage area on the tunnel image collected by the inspection equipment to obtain a segmented image;
[0097] Grayscale module: The grayscale module is used to grayscale the segmented image to obtain a grayscale image;
[0098] The completion module is used to complete the grayscale value information of the obstacle area based on the grayscale value information of the area outside the obstacle area on the grayscale image to obtain the target image;
[0099] Monitoring module,The monitoring module is used to predict the water seepage situation according to the target image to realize tunnel water seepage monitoring.
[0100] Those skilled in the art should understand that the division of the various modules in the embodiment is only a division of logical functions. In actual application, they can be fully or partially integrated into one or more actual carriers, and these modules can be implemented entirely in the form of software called by the processing unit, or entirely in the form of hardware, or in the form of a combination of software and hardware. It should be noted that each module in the intelligent tunnel comprehensive management and control device for tunnel construction in this embodiment corresponds one by one to each step in the intelligent tunnel comprehensive management and control method for tunnel construction in the aforementioned embodiment. Therefore, the specific implementation method of this embodiment can refer to the implementation method of the aforementioned intelligent tunnel comprehensive management and control method for tunnel construction, which will not be repeated here.
[0101] Based on the same inventive concept as in the aforementioned embodiments, an embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, the intelligent tunnel comprehensive management and control method for tunnel construction as provided in the embodiment of the present application is implemented.
[0102] Based on the same inventive concept as in the above-mentioned embodiment, an embodiment of the present application further provides an electronic device, including a processor and a memory, wherein:
[0103] The memory is used to store computer programs;
[0104] The processor is used to load and execute a computer program so that the electronic device executes the intelligent tunnel comprehensive management and control method for tunnel construction as provided in the embodiment of the present application.
[0105] In some embodiments, the computer-readable storage medium may be a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a disk or an optical disk; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.
[0106] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0107] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0108] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0109] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0110] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0111] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0112] In summary, the present application provides a method, device, medium and equipment for comprehensive management and control of intelligent tunnels for tunnel construction, the method comprising: in response to the presence of water seepage areas on the tunnel image collected by the inspection equipment, segmenting the obstacle area on the tunnel image to obtain a segmented image; graying the segmented image to obtain a gray image; based on the gray value information of the area outside the obstacle area on the gray image, completing the gray value information of the obstacle area to obtain a target image; according to the target image, predicting the water seepage situation to achieve tunnel water seepage monitoring. The present application first segments the tunnel image with water seepage areas collected by the inspection equipment, segments the area of the photographed obstacle, and grays it after the segmentation is completed, reducing the image dimension and being able to characterize the degree of water seepage with the depth of grayscale, so that the gray value of the segmented obstacle area can be completed according to the gray value information of the area other than the obstacle area, that is, restoring a more complete water seepage area by prediction, and using the completed image as the image predicted by the water seepage situation, which can extract more effective water seepage situations to achieve more efficient and better quality tunnel monitoring.
[0113] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A smart tunnel comprehensive management and control method for tunnel construction, characterized in that: Applied to an Internet of Things system, the Internet of Things system includes: a user platform, a service platform, a management platform, a sensor network platform and an object platform that interact in sequence, the object platform is used to access the inspection equipment, and the method includes the following steps: In response to the presence of a water seepage area on the tunnel image collected by the inspection device, segmenting the obstacle area on the tunnel image to obtain a segmented image; Gray-scaling the segmented image to obtain a gray-scale image; Based on the grayscale value information of the area outside the obstacle area on the grayscale image, the grayscale value information of the obstacle area is supplemented to obtain a target image; before the grayscale value information of the obstacle area is supplemented based on the grayscale value information of the area outside the obstacle area on the grayscale image to obtain the target image, the method further includes: Obtaining the relative positions of the water seepage area and the obstacle area; the relative positions include: the water seepage area on one side of the obstacle area in the target direction and the water seepage area on both sides of the obstacle area in the target direction, wherein the target direction includes a horizontal direction and a vertical direction; The step of completing the grayscale value information of the obstacle area based on the grayscale value information of the area outside the obstacle area on the grayscale image to obtain the target image includes: Based on the grayscale value information of the area outside the obstacle area on the grayscale image and the relative position, the grayscale value information of the obstacle area is completed to obtain a target image; The step of completing the grayscale value information of the obstacle area based on the grayscale value information of the area outside the obstacle area on the grayscale image and the relative position to obtain the target image includes: Based on the grayscale value information of the area outside the obstacle area on the grayscale image and the grayscale value of the pixel point of the water seepage area on the single side of the obstacle area in the target direction, obtaining the grayscale value of the pixel point of the water seepage area; Based on the linear change principle, the gray value information of the obstacle area is supplemented according to the gray values of the pixel points of the water seepage area in the target direction to obtain a target image; The step of completing the grayscale value information of the obstacle area based on the grayscale value information of the area outside the obstacle area on the grayscale image and the relative position to obtain the target image includes: Based on the grayscale value information of the area outside the obstacle area on the grayscale image and the grayscale value of the pixel points of the water seepage area and the center position of the water seepage area on both sides of the obstacle area in the target direction; Based on the linear change principle, the gray value information of the obstacle area is supplemented according to the gray values of the center position of the water seepage and the pixel points of the water seepage area to obtain a target image; According to the target image, the water seepage situation is predicted to realize tunnel water seepage monitoring.
2. The intelligent tunnel comprehensive management and control method for tunnel construction according to claim 1 is characterized in that: The method of completing the grayscale value information of the obstacle area based on the linear change principle according to the grayscale values of the pixels of the water seepage area in the target direction to obtain the target image includes: Based on the linear change principle, the grayscale value information of the obstacle area is respectively supplemented according to the grayscale values of the pixels of the water seepage area in the horizontal direction and the grayscale values of the pixels of the water seepage area in the vertical direction to obtain a first target image and a second target image; The first target image and the second target image are superimposed based on pixel points, and an average grayscale value of the pixel points is obtained as the grayscale value of the corresponding pixel point on the target image to obtain the target image.
3. The intelligent tunnel comprehensive management and control method for tunnel construction according to claim 1 is characterized in that: Based on the linear change principle, the gray value information of the obstacle area is supplemented according to the gray value of the pixel points of the water seepage area in the target direction, and before obtaining the target image, the method further includes: Determine a first complement region and a second complement region of the obstacle region according to the area of the water seepage region and the grayscale values of the pixels of the water seepage region; The method of completing the grayscale value information of the obstacle area based on the linear change principle according to the grayscale values of the pixels of the water seepage area in the target direction to obtain the target image includes: Based on the linear change principle, the gray value information of the first complement area is complemented according to the gray values of the pixels of the water seepage area in the target direction; The grayscale value of the second complement area is complemented according to the grayscale value of the normal tunnel wall area on the grayscale image to obtain a target image.
4. A smart tunnel comprehensive management and control device for tunnel construction, characterized in that: Applied to the Internet of Things system, the Internet of Things system includes: a user platform, a service platform, a management platform, a sensor network platform and an object platform that interact in sequence. The object platform is used to access the inspection equipment. The management platform is configured with several modules, including: A segmentation module, wherein the segmentation module is used to segment the obstacle area on the tunnel image collected by the inspection device in response to the presence of a water seepage area on the tunnel image to obtain a segmented image; A grayscale module, wherein the grayscale module is used to grayscale the segmented image to obtain a grayscale image; A completion module, wherein the completion module is used to complete the grayscale value information of the obstacle area based on the grayscale value information of the area outside the obstacle area on the grayscale image to obtain a target image; before completing the grayscale value information of the obstacle area based on the grayscale value information of the area outside the obstacle area on the grayscale image to obtain the target image, it also includes: Obtaining the relative positions of the water seepage area and the obstacle area; the relative positions include: the water seepage area on one side of the obstacle area in the target direction and the water seepage area on both sides of the obstacle area in the target direction, wherein the target direction includes a horizontal direction and a vertical direction; The step of completing the grayscale value information of the obstacle area based on the grayscale value information of the area outside the obstacle area on the grayscale image to obtain the target image includes: Based on the grayscale value information of the area outside the obstacle area on the grayscale image and the relative position, the grayscale value information of the obstacle area is completed to obtain a target image; The step of completing the grayscale value information of the obstacle area based on the grayscale value information of the area outside the obstacle area on the grayscale image and the relative position to obtain the target image includes: Based on the grayscale value information of the area outside the obstacle area on the grayscale image and the grayscale value of the pixel point of the water seepage area on the single side of the obstacle area in the target direction, obtaining the grayscale value of the pixel point of the water seepage area; Based on the linear change principle, the gray value information of the obstacle area is supplemented according to the gray values of the pixel points of the water seepage area in the target direction to obtain a target image; The step of completing the grayscale value information of the obstacle area based on the grayscale value information of the area outside the obstacle area on the grayscale image and the relative position to obtain the target image includes: Based on the grayscale value information of the area outside the obstacle area on the grayscale image and the grayscale value of the pixel points of the water seepage area and the center position of the water seepage area on both sides of the obstacle area in the target direction; Based on the linear change principle, the gray value information of the obstacle area is supplemented according to the gray values of the center position of the water seepage and the pixel points of the water seepage area to obtain a target image; A monitoring module is used to predict water seepage conditions according to the target image to achieve tunnel water seepage monitoring.
5. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is loaded and executed by the processor, the intelligent tunnel comprehensive management and control method for tunnel construction as described in any one of claims 1-3 is implemented.
6. An electronic device, characterized in that: comprising a processor and a memory, wherein: The memory is used to store computer programs; The processor is used to load and execute the computer program so that the electronic device executes the intelligent tunnel comprehensive management and control method for tunnel construction as described in any one of claims 1-3.
