Slope deformation monitoring method and device, electronic equipment and storage medium
By determining the lighting type in slope deformation monitoring and selecting the closest template image for comparison, the problem of false alarms under the influence of lighting is solved and the accuracy of slope deformation monitoring is improved.
Patent Information
- Application Number
- CN202410600461.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-08-27
AI Technical Summary
Existing slope deformation monitoring methods are greatly affected by illumination, causing the image matching algorithm to be unable to accurately calculate, easily leading to false alarms, and reducing the accuracy of slope deformation monitoring.
Collect monitoring images of the slope monitoring area through image acquisition equipment, determine its lighting type, and select the closest template image for comparison based on time and lighting type to determine slope deformation and avoid shadow changes and false alarms caused by lighting changes.
It improves the accuracy of slope deformation monitoring, reduces false alarms caused by illumination changes, and enhances the reliability of monitoring.
Smart Images

Figure CN118552848A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of slope deformation monitoring, and in particular to a slope deformation monitoring method, device, electronic equipment and storage medium. Background Art
[0002] Slope refers to the slope with a certain slope on both sides of the roadbed to ensure the stability of the roadbed. By monitoring the deformation of the slope in real time, it is possible to timely warn and prevent potential disasters.
[0003] The existing slope deformation monitoring method mainly obtains two images of the same monitored area of the slope before and after, and compares the feature changes and change areas of the monitored area based on the image feature point extraction and matching algorithm. However, in practical applications, the image feature point extraction and matching algorithm is greatly affected by lighting. For example, the shadow area of the slope imaging on a sunny day is very different from that on a cloudy day, which makes the image matching algorithm unable to obtain accurate calculation results, easily leading to false alarms, and the accuracy of slope deformation monitoring is low. Summary of the invention
[0004] In view of this, the purpose of the present application is to provide a slope deformation monitoring method, device, electronic device and storage medium, select a template image with the closest time and lighting conditions to compare with the monitoring image to determine whether there is deformation in the slope monitoring area, avoid shadow changes caused by different lighting directions and lighting intensities, reduce false alarms caused by lighting changes, and improve the accuracy of slope deformation monitoring.
[0005] In a first aspect, an embodiment of the present application provides a method for monitoring slope deformation, the monitoring method comprising:
[0006] Collect monitoring images of the slope monitoring area through image acquisition equipment;
[0007] Determining a current illumination type at the slope monitoring area based on the monitoring image;
[0008] Determining a template image of the slope monitoring area under the illumination type based on the acquisition time of the monitoring image and the illumination type;
[0009] The monitoring image is compared with the template image to determine whether there is deformation in the slope monitoring area.
[0010] Furthermore, after obtaining the current illumination type in the slope monitoring area, the monitoring method further includes:
[0011] When the current illumination type in the slope monitoring area is no illumination, the image acquisition device is switched to an infrared fill light mode, and the process returns to the step of acquiring a monitoring image of the slope monitoring area by the image acquisition device.
[0012] Furthermore, after obtaining the current illumination type in the slope monitoring area, the monitoring method further includes:
[0013] When the current illumination type in the slope monitoring area is heavy fog, a first warning message is generated to remind the user that there is heavy fog in the slope monitoring area.
[0014] Furthermore, the step of determining a template image of the slope monitoring area under the illumination type based on the acquisition time of the monitoring image and the illumination type includes:
[0015] Determine the query time period to which the collection time belongs from a plurality of preset time periods;
[0016] The template image is screened out from a template image library based on the query time period and the illumination type.
[0017] Furthermore, if the template image does not exist in the template image library, the monitoring method further includes:
[0018] Generate a second warning message to prompt the user that the template image does not exist;
[0019] The monitoring image, the query time period, and the illumination type are stored in the template image library in a mapping relationship.
[0020] Further, determining the current illumination type in the slope monitoring area based on the monitoring image includes:
[0021] The monitoring image is input into a pre-trained image classification model to determine the lighting type.
[0022] Furthermore, comparing the monitoring image with the template image to determine whether the slope monitoring area is deformed includes:
[0023] Based on an image feature point extraction and matching algorithm, a homography matrix of the monitoring image and the template image is calculated, and based on the homography matrix, the monitoring image is transformed to obtain a transformed image;
[0024] A difference image is obtained based on the pixel difference between the transformation image and the template image, and whether the slope monitoring area is deformed is determined according to the difference image.
[0025] In a second aspect, an embodiment of the present application further provides a monitoring device for slope deformation, the monitoring device comprising:
[0026] An image acquisition module, used for acquiring monitoring images of the slope monitoring area through an image acquisition device;
[0027] A lighting type determination module, used to determine the current lighting type in the slope monitoring area based on the monitoring image;
[0028] A template image acquisition module, used to determine a template image of the slope monitoring area under the illumination type based on the acquisition time of the monitoring image and the illumination type;
[0029] The judgment module is used to compare the monitoring image with the template image to judge whether there is deformation in the slope monitoring area.
[0030] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the slope deformation monitoring method as described above are performed.
[0031] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the slope deformation monitoring method as described above are executed.
[0032] A slope deformation monitoring method, device, electronic device and storage medium provided in an embodiment of the present application firstly acquires a monitoring image of a slope monitoring area by an image acquisition device; then, based on the monitoring image, the current illumination type of the slope monitoring area is determined; based on the acquisition time of the monitoring image and the illumination type, a template image of the slope monitoring area under the illumination type is determined; finally, the monitoring image is compared with the template image to determine whether there is deformation in the slope monitoring area.
[0033] The present application classifies the illumination type in the slope monitoring area according to the monitoring image, selects a template image with the closest time and illumination condition based on the acquisition time and illumination type of the monitoring image for comparison with the monitoring image to determine whether there is deformation in the slope monitoring area, thereby avoiding shadow changes caused by different illumination directions and intensities, reducing false alarms caused by illumination changes, and improving the accuracy of slope deformation monitoring.
[0034] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 A flow chart of a slope deformation monitoring method provided in an embodiment of the present application;
[0037] Figure 2 One of the structural schematic diagrams of a slope deformation monitoring device provided in an embodiment of the present application;
[0038] Figure 3 A second structural schematic diagram of a slope deformation monitoring device provided in an embodiment of the present application;
[0039] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, each other embodiment obtained by those skilled in the art without making creative work belongs to the scope of protection of the present application.
[0041] First, the application scenarios to which the present application is applicable are introduced. The present application can be applied to the field of slope deformation monitoring technology.
[0042] Slope refers to the slope with a certain slope on both sides of the roadbed to ensure the stability of the roadbed. By monitoring the deformation of the slope in real time, it is possible to timely warn and prevent potential disasters.
[0043] Research has found that the existing slope deformation monitoring method mainly obtains two images of the same monitored area of the slope before and after, and compares the before and after feature changes and change areas of the monitored area based on image feature point extraction and matching algorithms. However, in practical applications, image feature point extraction and matching algorithms are greatly affected by lighting. For example, the shadow area of slope imaging on sunny days is very different from that of slope imaging on cloudy days, which makes the image matching algorithm unable to obtain accurate calculation results, easily leading to false alarms, and the accuracy of slope deformation monitoring is low.
[0044] Based on this, the embodiments of the present application provide a slope deformation monitoring method, device, electronic device and storage medium, which avoids shadow changes caused by different lighting directions and lighting intensities, reduces false alarms caused by lighting changes, and improves the accuracy of slope deformation monitoring.
[0045] See also Figure 1 , Figure 1 The following is a flow chart of a slope deformation monitoring method provided in an embodiment of the present application. Figure 1 As shown in , the monitoring method provided in the embodiment of the present application includes:
[0046] S101, collecting monitoring images of a slope monitoring area by using an image collection device.
[0047] Here, the slope monitoring area refers to the slope area where deformation monitoring is performed.
[0048] Regarding the above step S101, during the specific implementation, a monitoring image of the slope monitoring area acquired by an image acquisition device is acquired.
[0049] S102: Determine a current illumination type in the slope monitoring area based on the monitoring image.
[0050] For the above step S102, in the specific implementation, after obtaining the monitoring image of the slope monitoring area, the current illumination type in the slope monitoring area is determined based on the monitoring image. Here, according to the embodiment provided by the present application, the illumination type includes but is not limited to: strong illumination, cloudy day, heavy fog, weak illumination, no illumination, and infrared fill light.
[0051] As an optional embodiment, with respect to the above step S102, determining the current illumination type in the slope monitoring area based on the monitoring image includes:
[0052] The monitoring image is input into a pre-trained image classification model to determine the lighting type.
[0053] Here, the image classification model is a model used to classify the lighting type of the monitoring image.
[0054] Regarding the above steps, during the specific implementation, the monitoring image of the slope monitoring area acquired by the image acquisition device is input into an image classification model pre-trained based on deep learning to obtain the current lighting type in the slope monitoring area.
[0055] As an optional embodiment, the image classification model is trained by the following steps:
[0056] A: Get multiple slope sample images.
[0057] Among them, each slope sample image carries a corresponding sample illumination type label.
[0058] In the specific implementation of step A, a plurality of slope sample images carrying sample illumination type labels are obtained. Here, the slope sample images may be historical slope images collected by the image acquisition device in historical time.
[0059] B: Inputting a plurality of the slope sample images into the original image classification model to determine the predicted illumination type corresponding to each slope sample image.
[0060] Regarding the above step B, in the specific implementation, multiple slope sample images are input into the original image classification model, and the original image classification model classifies the illumination type of each slope sample image to determine the predicted illumination type corresponding to each slope sample image.
[0061] C: Compare the sample illumination type corresponding to each slope sample image with the predicted illumination type, and calculate the loss value of the original image classification model in the current state.
[0062] D: Based on the loss value of the original image classification model, the model parameters of the original image classification model are continuously adjusted until the original image classification model reaches a convergence state to obtain the image classification model.
[0063] Here, the loss value is an indicator of the deep learning model during the training process, which is used to evaluate the error between the model prediction results and the true value.
[0064] For the above steps C-D, in the specific implementation, for each slope sample image, the sample illumination type of the slope sample image is compared with the predicted illumination type, and the classification of the original image classification model is judged to be accurate by comparing the sample illumination type of the slope sample image with the predicted illumination type. When the sample illumination type of the slope sample image is different from the predicted illumination type, it is considered that the prediction of the original image classification model is inaccurate. At this time, it is necessary to calculate the loss value of the original image classification model in the current state. The method for calculating the loss value is described in detail in the prior art, and will not be described in detail here. Then, based on the loss value, the model parameters of the original image classification model are continuously adjusted. The original image classification model will continuously minimize the loss through iteration. At each step of the iteration, the loss value of the original image classification model will be calculated. When the loss value of the original image classification model cannot reach the loss threshold, the model parameters of the original image classification model are continuously updated, and the new parameters will calculate a new loss value, so that the loss value shows a fluctuating downward trend during the iteration process. Finally, when the loss value reaches smoothness, that is, the loss value of the trained original image classification model is not greater than the loss threshold, that is, when the loss value does not decrease significantly compared with the loss value calculated last time, it is considered that the original image classification model has reached a convergence state. At this time, the classification of the original image classification model is more accurate. At this time, the training is terminated and the image classification model is obtained.
[0065] As an optional embodiment, after obtaining the current illumination type in the slope monitoring area, the monitoring method provided by the present application further includes:
[0066] When the current illumination type in the slope monitoring area is no illumination, the image acquisition device is switched to an infrared fill light mode, and the process returns to the step of acquiring a monitoring image of the slope monitoring area by the image acquisition device.
[0067] Regarding the above steps, during the specific implementation, when it is determined that the current lighting type in the slope monitoring area is no lighting, it is necessary to re-acquire the image, switch the image acquisition device to the infrared fill light mode, and return to execute the step S101 in which the monitoring image of the slope monitoring area is acquired through the image acquisition device. After the monitoring image is re-acquired, deformation monitoring is performed again.
[0068] As an optional embodiment, after obtaining the current illumination type in the slope monitoring area, the monitoring method provided by the present application further includes:
[0069] When the current illumination type in the slope monitoring area is heavy fog, a first warning message is generated to remind the user that there is heavy fog in the slope monitoring area.
[0070] Regarding the above steps, in specific implementation, when it is determined that the current illumination type in the slope monitoring area is heavy fog, a first warning message is generated to remind the user that there is heavy fog in the slope monitoring area through the first warning message.
[0071] S103: Determine a template image of the slope monitoring area under the illumination type based on the acquisition time of the monitoring image and the illumination type.
[0072] Here, the template image refers to an image of the slope monitoring area under the condition closest to the current lighting conditions and closest to the current acquisition time.
[0073] Regarding the above step S103, in specific implementation, the acquisition time when the image acquisition device acquires the monitoring image is obtained, and based on the acquisition time and the illumination type, a template image of the slope monitoring area under the illumination type is determined.
[0074] As an optional embodiment, with respect to the above step S103, determining the template image of the slope monitoring area under the illumination type based on the acquisition time of the monitoring image and the illumination type includes:
[0075] Step 1031: determine the query time period to which the collection time belongs from a plurality of preset time periods.
[0076] For the above step 1031, in the specific implementation, multiple preset time periods are pre-set, and the query time period to which the acquisition time of the monitoring image belongs is determined from the multiple preset time periods. As an example, for example, if the acquisition time of the monitoring image is 10:30, the pre-set preset time period includes 10:00-11:00, and 10:30 is within 10:00-11:00, then 10:00-11:00 is determined as the query time period to which the acquisition time belongs.
[0077] Step 1032: Filter the template image from a template image library based on the query time period and the illumination type.
[0078] Here, a plurality of historical slope images are pre-stored in the template image library, and each historical slope image records the corresponding acquisition time and illumination classification result.
[0079] For the above step 1032, in the specific implementation, based on the query time period and illumination type of the monitoring image, a template image is screened out from the template image library. Here, continuing the above embodiment, when the query time period is 10:00-11:00, and the illumination type of the monitoring image is strong illumination, the historical slope image of the slope monitoring area with the acquisition time between 10:00-11:00 and the illumination classification result as strong illumination is searched from the template image library, and the historical slope image is used as the template image.
[0080] As an optional embodiment, if the template image does not exist in the template image library, the monitoring method further includes:
[0081] Generate a second warning message to prompt the user that the template image does not exist; store the monitoring image, the query time period and the illumination type in the template image library in a mapping relationship.
[0082] For the above two steps, when the template image does not exist in the template image library, a second warning message indicating that the template image does not exist is generated. The monitoring image of the slope monitoring area, the corresponding query time period, and the corresponding illumination type are stored in the template image library in a mapping relationship to provide a template image for subsequent slope deformation monitoring.
[0083] S104, comparing the monitoring image with the template image to determine whether there is deformation in the slope monitoring area.
[0084] With respect to the above step S104, in the specific implementation, after obtaining the monitoring image and the template image, the monitoring image is compared with the template image to determine whether there is deformation in the slope monitoring area. In this way, the monitoring image is classified into illumination types based on the image classification model, and the template image with the closest time and illumination conditions is selected based on the acquisition time and illumination type of the monitoring image to be compared with the monitoring image to determine whether there is deformation in the slope monitoring area, thereby avoiding shadow changes caused by different illumination directions and illumination intensities, reducing false alarms caused by illumination changes, and improving the accuracy of slope deformation monitoring.
[0085] As an optional embodiment, with respect to the above step S104, comparing the monitoring image with the template image to determine whether the slope monitoring area is deformed includes:
[0086] Step 1041 , based on the image feature point extraction and matching algorithm, the homography matrix of the monitoring image and the template image is calculated, and based on the homography matrix, the monitoring image is transformed to obtain a transformed image.
[0087] Regarding the above step 1041, in specific implementation, based on the image feature point extraction and matching algorithm, the homography matrix of the monitoring image and the template image is calculated, and the monitoring image is transformed based on the homography matrix to obtain a transformed image.
[0088] Step 1042: A difference image is obtained based on the pixel difference between the transformed image and the template image, and it is determined whether the slope monitoring area is deformed according to the difference image.
[0089] For the above step 1042, in the specific implementation, firstly, based on the pixel difference between the transformed image and the template image, a difference image is calculated, and then it is judged whether the slope monitoring area is deformed according to the difference image. Here, as an optional embodiment, the obtained difference image is binarized according to a preset pixel value threshold, and the pixels in the difference image whose pixel values are greater than the preset pixel value threshold are set to white, and the other pixels are set to black, so as to obtain a black and white image; the white area in the black and white image is the area where the pixel value changes significantly. Finally, it is judged whether there is a white area in the black and white image whose area is greater than the preset area threshold; if there is a white area in the black and white image whose area is greater than the preset area threshold, it is judged that the slope monitoring area is deformed; if there is no white area in the black and white image whose area is greater than the preset area threshold, it is judged that the slope monitoring area is not deformed.
[0090] The slope deformation monitoring method provided in the embodiment of the present application first collects a monitoring image of a slope monitoring area by an image acquisition device; then, based on the monitoring image, the current illumination type of the slope monitoring area is determined; based on the acquisition time of the monitoring image and the illumination type, a template image of the slope monitoring area under the illumination type is determined; finally, the monitoring image is compared with the template image to determine whether there is deformation in the slope monitoring area.
[0091] The present application classifies the illumination type in the slope monitoring area according to the monitoring image, and selects a template image with the closest time and illumination condition based on the acquisition time and illumination type of the monitoring image for comparison with the monitoring image to determine whether there is deformation in the slope monitoring area. This can avoid shadow changes caused by different illumination directions and intensities, reduce false alarms caused by illumination changes, and improve the accuracy of slope deformation monitoring.
[0092] See also Figure 2 and Figure 3 , Figure 2 This is one of the structural schematic diagrams of a slope deformation monitoring device provided in an embodiment of the present application. Figure 3 This is a second structural diagram of a slope deformation monitoring device provided in an embodiment of the present application. Figure 2 As shown in , the monitoring device 200 includes:
[0093] An image acquisition module 201 is used to acquire monitoring images of the slope monitoring area through an image acquisition device;
[0094] A light type determination module 202, configured to determine the current light type in the slope monitoring area based on the monitoring image;
[0095] The template image acquisition module 203 is used to determine the template image of the slope monitoring area under the illumination type based on the acquisition time of the monitoring image and the illumination type;
[0096] The judgment module 204 is used to compare the monitoring image with the template image to judge whether there is deformation in the slope monitoring area.
[0097] For further information, see Figure 3 The monitoring device 200 further includes a mode switching module 205. After obtaining the current illumination type in the slope monitoring area, the mode switching module 205 is used to:
[0098] When the current illumination type in the slope monitoring area is no illumination, the image acquisition device is switched to infrared fill light mode, and the image acquisition module 201 returns to execute the step of acquiring the monitoring image of the slope monitoring area by the image acquisition device.
[0099] For further information, see Figure 3 The monitoring device 200 further includes a first alarm module 206. After obtaining the current illumination type in the slope monitoring area, the first alarm module 206 is used to:
[0100] When the current illumination type in the slope monitoring area is heavy fog, a first warning message is generated to remind the user that there is heavy fog in the slope monitoring area.
[0101] Further, when the template image acquisition module 203 is used to determine the template image of the slope monitoring area under the illumination type based on the acquisition time of the monitoring image and the illumination type, the template image acquisition module 203 is also used to:
[0102] Determine the query time period to which the collection time belongs from a plurality of preset time periods;
[0103] The template image is screened out from a template image library based on the query time period and the illumination type.
[0104] For further information, see Figure 3 The monitoring device 200 further includes a second alarm module 207. If the template image does not exist in the template image library, the second alarm module 207 is used to:
[0105] Generate a second warning message to prompt the user that the template image does not exist;
[0106] The monitoring image, the query time period, and the illumination type are stored in the template image library in a mapping relationship.
[0107] Furthermore, when the illumination type determination module 202 is used to determine the current illumination type in the slope monitoring area based on the monitoring image, the illumination type determination module 202 is also used to:
[0108] The monitoring image is input into a pre-trained image classification model to determine the lighting type.
[0109] Furthermore, when the judgment module 204 is used to compare the monitoring image with the template image to determine whether the slope monitoring area is deformed, the judgment module 204 is also used to:
[0110] Based on an image feature point extraction and matching algorithm, a homography matrix of the monitoring image and the template image is calculated, and based on the homography matrix, the monitoring image is transformed to obtain a transformed image;
[0111] A difference image is obtained based on the pixel difference between the transformation image and the template image, and whether the slope monitoring area is deformed is determined according to the difference image.
[0112] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 4 As shown in , the electronic device 400 includes a processor 410 , a memory 420 and a bus 430 .
[0113] The memory 420 stores machine-readable instructions executable by the processor 410. When the electronic device 400 is running, the processor 410 communicates with the memory 420 via the bus 430. When the machine-readable instructions are executed by the processor 410, the above-mentioned Figure 1 The steps of the slope deformation monitoring method in the method embodiment shown in the figure, and the specific implementation method thereof can be referred to the method embodiment, which will not be described in detail here.
[0114] The present application also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can execute the above-mentioned Figure 1 The steps of the slope deformation monitoring method in the method embodiment shown in the figure, and the specific implementation method thereof can be referred to the method embodiment, which will not be described in detail here.
[0115] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0116] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.
[0117] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0118] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0119] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application can essentially be embodied in the form of a software product, or in other words, the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0120] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0121] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for monitoring slope deformation, characterized in that: The monitoring method comprises: Collect monitoring images of the slope monitoring area through image acquisition equipment; Determining a current illumination type at the slope monitoring area based on the monitoring image; Determining a template image of the slope monitoring area under the illumination type based on the acquisition time of the monitoring image and the illumination type; The monitoring image is compared with the template image to determine whether there is deformation in the slope monitoring area.
2. The monitoring method according to claim 1, characterized in that: After obtaining the current illumination type in the slope monitoring area, the monitoring method further includes: When the current illumination type in the slope monitoring area is no illumination, the image acquisition device is switched to an infrared fill light mode, and the process returns to the step of acquiring a monitoring image of the slope monitoring area by the image acquisition device.
3. The monitoring method according to claim 1, characterized in that: After obtaining the current illumination type in the slope monitoring area, the monitoring method further includes: When the current illumination type in the slope monitoring area is heavy fog, a first warning message is generated to remind the user that there is heavy fog in the slope monitoring area.
4. The monitoring method according to claim 1, characterized in that: The step of determining a template image of the slope monitoring area under the illumination type based on the acquisition time of the monitoring image and the illumination type includes: Determine the query time period to which the collection time belongs from a plurality of preset time periods; The template image is screened out from a template image library based on the query time period and the illumination type.
5. The monitoring method according to claim 4, characterized in that: If the template image does not exist in the template image library, the monitoring method further includes: Generate a second warning message to prompt the user that the template image does not exist; The monitoring image, the query time period, and the illumination type are stored in the template image library in a mapping relationship.
6. The monitoring method according to claim 1, characterized in that: The determining, based on the monitoring image, the current illumination type in the slope monitoring area includes: The monitoring image is input into a pre-trained image classification model to determine the lighting type.
7. The monitoring method according to claim 1, characterized in that: The comparing the monitoring image with the template image to determine whether the slope monitoring area is deformed includes: Based on an image feature point extraction and matching algorithm, a homography matrix of the monitoring image and the template image is calculated, and based on the homography matrix, the monitoring image is transformed to obtain a transformed image; A difference image is obtained based on the pixel difference between the transformation image and the template image, and whether the slope monitoring area is deformed is determined according to the difference image.
8. A monitoring device for slope deformation, characterized in that: The monitoring device comprises: An image acquisition module, used for acquiring monitoring images of the slope monitoring area through an image acquisition device; A lighting type determination module, used to determine the current lighting type in the slope monitoring area based on the monitoring image; A template image acquisition module, used to determine a template image of the slope monitoring area under the illumination type based on the acquisition time of the monitoring image and the illumination type; The judgment module is used to compare the monitoring image with the template image to judge whether there is deformation in the slope monitoring area.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the slope deformation monitoring method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the slope deformation monitoring method according to any one of claims 1 to 7 are executed.
Citation Information
Patent Citations
Intelligent monitoring method and device for the environment safety of track traffic line
CN106960179A
Road traffic high slope stability monitoring method based on monocular video
CN116152325A
Dynamic displacement measurement method for eliminating shielding interference influence based on adaptive template matching
CN116310428A
Cited By
Ordinary road slope deformation time sequence monitoring method based on TL-1 satellite
CN119672116A
A common highway slope deformation time sequence monitoring method based on TL-1 satellite
CN119672116B
Road slope deformation monitoring method and system
CN120027724A
A highway side slope deformation monitoring method and system
CN120027724B
Slope deformation monitoring and early warning device and method based on quantum single-photon imaging
CN121918139A
