Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a method and a device for detecting the defect of a sound barrier of a high-speed railway, which specifically comprise the following technical schemes:
in a first aspect, the invention provides a method for detecting a defect of a sound barrier of a high-speed railway, which comprises the following steps:
the digital camera and the inertia component are mounted on the comprehensive inspection vehicle, and video data of the running environment of the high-speed railway and analog data of a vehicle body posture digital signal are shot;
the vehicle body attitude compensation method based on multi-source data registration is used for registering the acquired video data of the high-speed railway running environment and the vehicle body attitude digital signal analog data;
carrying out panorama stitching on the high-speed railway running environment video based on the optimal stitching model of the pixel definition evaluation;
and acquiring the obtained normal sound barrier image, training a high-speed railway sound barrier abnormity detection network based on unsupervised learning, and carrying out sound barrier defect detection on the spliced panoramic image.
Before the optimal splicing model based on pixel definition evaluation is used for splicing the panoramic image of the high-speed railway running environment video, the method further comprises the following steps:
and performing lossless information extraction on the high-speed railway running environment video data to obtain panoramic image format data.
The vehicle body attitude compensation method based on multi-source data registration is used for registering acquired high-speed railway running environment video data and vehicle body attitude digital signal analog data, and comprises the following steps:
extracting attitude angle information from high-speed railway operation environment video data based on a vanishing point detection algorithm;
and forming an input signal by the attitude angle information and the vehicle body attitude digital signal analog data, inputting the input signal into a deep learning registration network for training, and stably training the deep learning registration network to obtain the registration parameters of the waveform.
Wherein, the normal sound barrier image that the collection obtained trains the high-speed railway sound barrier anomaly detection network based on unsupervised learning, includes:
inputting the sound barrier image in a normal state into an encoder to obtain depth characteristics, and mapping the depth characteristics into an image by using a decoder to obtain a reconstructed image;
inputting the sound barrier image and the reconstructed image in the normal state into a depth convolution neural network to obtain depth characteristics corresponding to the two images respectively;
calculating reconstruction error loss of the images based on the sound barrier images and the reconstructed images in the normal state, and calculating depth feature similarity measurement loss according to the respective corresponding depth features of the two images;
and superposing the reconstruction error loss and the depth characteristic similarity measurement loss to obtain the total loss of the high-speed railway sound barrier anomaly detection network.
Wherein, carry out the sound barrier defect detection to the panorama of concatenation, include:
inputting the panoramic image into a high-speed railway sound barrier anomaly detection network to obtain depth characteristics corresponding to the panoramic image and the reconstructed image;
and calculating the difference between the depth features, and if the difference between the depth features is greater than a preset value, determining that the panoramic image is in an abnormal state.
In a second aspect, the present invention provides a device for detecting a defect in a sound barrier of a high-speed railway, comprising:
the acquisition unit is used for comprehensively inspecting the digital camera and the inertia component mounted on the vehicle and shooting video data of the running environment of the high-speed railway and analog data of digital signals of the posture of the vehicle body;
the registration unit is used for registering the acquired high-speed railway running environment video data and the vehicle body attitude digital signal analog data based on a vehicle body attitude compensation method of multi-source data registration;
the splicing unit is used for carrying out panorama splicing on the high-speed railway running environment video based on the optimal splicing model of the pixel definition evaluation;
and the detection unit is used for acquiring the obtained normal sound barrier images, training an unsupervised learning-based high-speed railway sound barrier abnormity detection network and carrying out sound barrier defect detection on the spliced panoramic image.
Further, the method also comprises the following steps:
and the optimization unit is used for performing lossless information extraction on the high-speed railway running environment video data to obtain panoramic image format data.
In a third aspect, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the steps of the method for detecting sound barrier defects of a high speed railway.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for detecting a sound barrier defect of a high speed railway.
According to the technical scheme, the invention provides the method and the device for detecting the sound barrier defect of the high-speed railway, wherein video data of the running environment of the high-speed railway and analog data of the vehicle body posture digital signal are shot by mounting a digital camera and an inertia assembly on an integrated inspection vehicle; the vehicle body attitude compensation method based on multi-source data registration is used for registering the acquired video data of the high-speed railway running environment and the vehicle body attitude digital signal analog data; carrying out panorama stitching on the high-speed railway running environment video based on the optimal stitching model of the pixel definition evaluation; the obtained normal sound barrier image is collected, the high-speed railway sound barrier abnormity detection network based on unsupervised learning is trained, sound barrier defect detection is carried out on the spliced panoramic image, the purpose of vehicle-mounted dynamic detection of the sound barrier defect of the high-speed railway under unsupervised conditions is achieved, the operation safety of the high-speed railway is guaranteed to a certain extent, and the method has good practical value.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides an embodiment of a high-speed railway sound barrier defect detection method, and referring to fig. 1, the high-speed railway sound barrier defect detection method specifically comprises the following contents:
s1: the digital camera and the inertia component are mounted on the comprehensive inspection vehicle, and video data of the running environment of the high-speed railway and analog data of a vehicle body posture digital signal are shot;
in the step, videos of the running environment of the high-speed railway in different directions, which are acquired by the inspection vehicle, are synthesized. Referring to fig. 2, during detection, track geometry irregularities often cause the train to sway, for example, a difference in height between two tracks will cause the train to roll sideways about the Z-axis; the raising or lowering of the rail plane will cause the train to heave about the Y axis; while a lateral bend of the track will cause the train to deflect about the X-axis.
It should be noted that the digital video camera is rigidly connected to the vehicle body, i.e. without any damping device. Therefore, the shaking of the train inevitably causes the shaking of the camera equipment, the obtained video content is unstable, and the video scene shakes, so that the generated panoramic image has obvious distortion and distortion, and the subsequent intelligent analysis is influenced.
S2: the vehicle body attitude compensation method based on multi-source data registration is used for registering the acquired video data of the high-speed railway running environment and the vehicle body attitude digital signal analog data;
by tracking the track of the vanishing point of the steel rail in the video, three attitude angles generated by the camera along with the shaking of the vehicle body, namely a left-right deflection angle pan, a vertical pitch angle tilt and a rotation roll angle roll can be calculated. However, in practical application, the influence of the tracking and receiving imaging quality of the vanishing point, the illumination condition and the train turning is large, and the accuracy of the derived attitude angle of the camera is limited, so that the further application of the high-speed railway panoramic image is restricted.
Based on the accurate inertia subassembly on the comprehensive inspection car, including gyroscope and accelerometer, can accurate acquisition vehicle body's gesture, as shown in fig. 3. Although the conventional high-speed comprehensive inspection vehicle is provided with a uniform mileage positioning system, due to the heterogeneity of the inertial measurement unit and the video in data acquisition, hardware time delay, accumulated errors of a speed encoder and the like, the mileage counting of the inertial measurement unit and the video has errors. Therefore, how to accurately relate the vehicle body posture information acquired by the inertial measurement unit to the video frame is a difficult problem to be solved firstly.
In the step, a matching method of heterogeneous data based on deep learning is researched based on two data formats of high-speed railway operation environment video data and vehicle body attitude digital signal analog data. As shown in fig. 4, extracting attitude angle information from the high-speed railway operation environment video data based on a vanishing point detection algorithm; and forming an input signal by the attitude angle information and the vehicle body attitude digital signal analog data, inputting the input signal into a deep learning registration network for training, and stably training the deep learning registration network to obtain the registration parameters (dx, dy) of the waveform.
S3: carrying out panorama stitching on the high-speed railway running environment video based on the optimal stitching model of the pixel definition evaluation;
in this step, as shown in fig. 5, for a piece of forward motion video with a number of frames N, St is the sampling zone extracted from the t-th frame image, and Rt is the corresponding sampling region of St in the physical space scene. The definition is as follows:
st: an annular sampling band consisting of an outer sampling ring OSRt (green) and an inner sampling ring ISRt (red);
rt is the sampling area of St in the physical space scene;
constructing a splicing area: extracting a set of zonal sequences S from a video sequence1,S2,S3,...,SNIs satisfied with
Panoramic stitching:
t (-) is the image geometry correction.
Based on the above definition, the panorama stitching of forward motion video can be described as: extracting a set of zonal sequences S from a video sequence1,S2,S3,…,SNAnd satisfying that any adjacent space sampling areas are not overlapped and have no interval, namely the panoramic annular zone is used for completely sampling the physical space. Sequence of zones that will satisfy the conditionsThe columns are geometrically modified and merged together to produce a panoramic image. Therefore, the key issue in generating a panorama from a forward moving video is how to determine the positions of the stitched outer frame OSRt (green) and the stitched inner frame ISRt (red) in each frame image.
In order to ensure that the panorama has the best resolution, the position of the stitching outer frame OSRt should be located at the edge of the image with larger spatial resolution. However, for a high-speed railway, under a high-speed running condition of a train, a significant motion blur (a global motion blur is generated when a camera moves but a scene in a high-speed railway scene is still) is often generated in an acquired image, and a defocus blur may be generated when a steel rail extends to infinity. This requires a compromise between image resolution and motion blur when positioning the position of the stitched frame, and a trade-off between the two is made to determine the optimal position of the stitched frame for non-uniform rectangular sampling.
For a high-speed railway, in order to ensure the quality of the generated panoramic image, the project provides the concept of splicing definition, and establishes a splicing definition optimization model to determine the optimal splicing position. The red frame in FIG. 6 indicates the k-1 frame image f
k-1ESR of splicing outer frame
k-1The green frame represents the k frame image f
kESR of splicing outer frame
kThe orange frame represents the k +1 frame image f
k+1ESR of splicing outer frame
k-1A pixel point in the k frame image
Defining the camera slave frame f under the influence of the previous frame (k-1 st frame) and the next frame (k +1 st frame)
k-1Move to frame f
k+1Through frame f
kTime pixel (x)
j,y
u) The displacement of (a) is:
Δlk,j=d(Hk(xj,yu,1)T,(xj,yu,1));
the homography matrix H maps a pixel location to another pixel location. d (-) is the Euclidean distance between two pixel points. In a short time of 3 consecutive frames, it can be considered that
HK-1≈HK
To meet the requirements of resolution and ambiguity, the definition of pixels in video frames is defined to describe the absolute displacement of pixels between adjacent 3 frames. For frame fkPixel (x) of (2)j,yu) The splicing resolution is defined as:
in the formula,. DELTA.l
k-1,jRepresenting a slave frame f
k-1To frame f
kA displacement of (a) (. DELTA.l)
k,jRepresenting a slave frame f
kTo frame f
k+1σ is a constant, when (x)
j,y
u) When the inter-frame motion is small, H
K-1And H
KClose to the identity matrix I, therefore
Close to 1, indicated by (x)
j,y
u) The centered image block is likely to be sharpened. Otherwise
Small, meaning that the image block may contain large motion blur.
Define 4-directional splicing lines
And
the resolution of (d) is:
the following mathematical model is satisfied in the formula:
the expression above shows that the sum of the definition of the 4 splicing lines of the splicing outer frame is maximum under the condition of meeting the constraint condition of the geometric structure of the scene, and x is obtained under the condition that the sum of the definition of the 4 splicing lines reaches the maximum valuel、yu、xrAnd ydNamely the optimal position of the outer frame splicing line. And y isu、xrAnd ydAnd xlIn this regard, the following stitching optimization model can be obtained:
and converting the video splicing problem of the high-speed railway into the optimization problem to solve, and realizing image splicing.
S4: and acquiring the obtained normal sound barrier image, training a high-speed railway sound barrier abnormity detection network based on unsupervised learning, and carrying out sound barrier defect detection on the spliced panoramic image.
The high-speed rail running environment video is collected through a vehicle-mounted camera, and the influence of external factors such as different seasons, weather and the like on the image quality of the video is detected in the running process of a train. In addition, the abnormal form of the high-speed railway sound barrier abnormality detection task cannot be predicted, so that a feature template cannot be constructed by a feature modeling method, and the traditional image classification method cannot obtain a good detection effect.
With the development of the deep learning technology, the image identification method based on the supervised deep learning is gradually mature, and the identification performance is greatly improved. However, in the task of detecting the abnormal sound barrier of the high-speed railway, the abnormal samples are very difficult to obtain, the number of the samples is very small, the target abnormal state cannot be effectively expressed by directly performing feature learning through a deep network, and the accuracy rate of the detection result is low.
The image anomaly detection method based on the self-encoder (AutoEncoder) only uses normal images for training, so that the self-encoder can reconstruct the normal images, and when the abnormal images are input, the reconstruction error between the images and the reconstructed images is large, and the abnormal images can be identified. However, the abnormal state belongs to the high-level semantic features of the images, and the reconstruction error from the encoder is measured according to the pixel difference of the two images, so the detection result of the method is unstable. In addition, since the self-encoder is sensitive to image noise, blur and changes in lighting conditions, any small changes in the input image may result in a reconstruction result with large differences.
In order to solve the problems, the research provides a sound barrier anomaly detection network based on unsupervised learning, and the network is additionally provided with a two-branch deep convolutional neural network on the basis of an autoencoder, and is used for extracting the depth characteristics of an input image and a reconstructed image and carrying out similarity measurement on the two depth characteristics. The network not only requires the minimum reconstruction error of the reconstructed image and the input image, but also requires the minimum distance between the depth feature of the reconstructed image and the depth feature of the input image, namely, the high-level semantic features of the images of the same category are the same, so that the sensitivity of the self-encoder to external factors such as image noise, blurring and illumination condition change is reduced, and the purpose of improving the target anomaly detection precision is achieved. The overall architecture of the network is shown in fig. 7.
In the network training stage, firstly, the sound barrier image x in a normal state is input into an encoder to obtain depth features, and the depth features are mapped into an image by using a decoder to obtain a reconstructed image x'. Then, the image x and the reconstructed image x 'are input into a two-branch depth convolution neural network, so as to obtain the depth features f (x) and f (x') of the two images, and the weight parameters of the two-branch depth convolution neural network are shared. Finally, the reconstruction error loss of the image is calculated by using x and x ', the depth characteristic similarity measurement loss is calculated by using f (x) and f (x'), and the two losses are added to serve as the total loss of the optimization network model.
In practical use, a to-be-detected sound barrier image is input, a reconstructed image is obtained by using a self-encoder, the depth characteristics of the two images are extracted, and finally the difference between the depth characteristics is calculated. Because only the normal state image is used in the model training stage, when the image to be detected is abnormal, the difference between the depth characteristic of the reconstructed image and the depth characteristic of the image to be detected is inevitably large, and the abnormal state of the image to be detected can be known.
In the above model, the reconstruction error loss function uses the L1 distance, i.e., when each pixel of the reconstructed image is the same as each pixel of the input image, the reconstruction error between the two images is minimal. The depth feature similarity measure loss function typically uses the L2 distance, i.e., the euclidean distance of two depth feature vectors is the smallest when they belong to the same class. Thus, the global loss function of the above model is defined as follows:
f(x)=WTx+b=||W||||x||cos(θ)+b;
wherein N is the total number of training samples, xiIs the ith training sample image, x'iFor reconstructing the image, f (x) is extracting the depth feature vector of the sample x, W is the weight parameter, and b is the bias term. The loss function not only requires that the image reconstruction error is small, but also requires that the depth features of the reconstructed image are similar to those of the input image, i.e., the high-level semantic features of the same category of images are the same.
As can be seen from the above description, in the method for detecting a sound barrier defect of a high-speed railway provided by the embodiment of the invention, video data of a running environment of the high-speed railway and analog data of a vehicle body posture digital signal are shot by mounting a digital camera and an inertia component on an integrated inspection vehicle; the vehicle body attitude compensation method based on multi-source data registration is used for registering the acquired video data of the high-speed railway running environment and the vehicle body attitude digital signal analog data; carrying out panorama stitching on the high-speed railway running environment video based on the optimal stitching model of the pixel definition evaluation; the obtained normal sound barrier image is collected, the high-speed railway sound barrier abnormity detection network based on unsupervised learning is trained, sound barrier defect detection is carried out on the spliced panoramic image, the purpose of vehicle-mounted dynamic detection of the sound barrier defect of the high-speed railway under unsupervised conditions is achieved, the operation safety of the high-speed railway is guaranteed to a certain extent, and the method has good practical value.
In an embodiment of the present invention, before the optimal stitching model based on pixel definition evaluation performs panorama stitching on a high speed railway operation environment video, the method further includes:
and performing lossless information extraction on the high-speed railway running environment video data to obtain panoramic image format data.
In the step, a panoramic stitching model of the high-speed railway running environment video is constructed, and lossless information extraction is carried out on massive video data to obtain a lightweight panoramic image format, so that the storage and access expenses of the video data are reduced, and the video is converted into a form more suitable for manual inspection or computer analysis processing; and then, based on the generated panoramic image, providing an unsupervised learning-based high-speed railway sound barrier abnormity detection network, and realizing automatic identification of the high-speed railway sound barrier defect.
The embodiment of the invention provides a specific implementation manner of a high-speed railway sound barrier defect detection device capable of realizing all contents in the high-speed railway sound barrier defect detection method, and referring to fig. 8, the high-speed railway sound barrier defect detection device specifically comprises the following contents:
the acquisition unit 10 is used for comprehensively inspecting the digital camera and the inertia component mounted on the vehicle and shooting video data of the running environment of the high-speed railway and analog data of digital signals of the posture of the vehicle body;
the registration unit 20 is used for registering the acquired video data of the high-speed railway running environment and the analog data of the vehicle body attitude digital signals based on a vehicle body attitude compensation method of multi-source data registration;
the splicing unit 30 is used for carrying out panorama splicing on the high-speed railway running environment video based on the optimal splicing model of the pixel definition evaluation;
and the detection unit 40 is used for acquiring the obtained normal sound barrier images, training an unsupervised learning-based high-speed railway sound barrier abnormity detection network, and performing sound barrier defect detection on the spliced panoramic image.
Further, the method also comprises the following steps:
and the optimization unit is used for performing lossless information extraction on the high-speed railway running environment video data to obtain panoramic image format data.
The embodiment of the high-speed railway sound barrier defect detection apparatus provided by the present invention may be specifically used for executing the processing flow of the embodiment of the high-speed railway sound barrier defect detection method in the above embodiment, and the functions thereof are not described herein again, and reference may be made to the detailed description of the above method embodiment.
As can be seen from the above description, the high-speed railway sound barrier defect detection device provided by the embodiment of the invention shoots the video data of the running environment of the high-speed railway and the analog data of the vehicle body posture digital signal by mounting the digital camera and the inertia component on the comprehensive inspection vehicle; the vehicle body attitude compensation method based on multi-source data registration is used for registering the acquired video data of the high-speed railway running environment and the vehicle body attitude digital signal analog data; carrying out panorama stitching on the high-speed railway running environment video based on the optimal stitching model of the pixel definition evaluation; the obtained normal sound barrier image is collected, the high-speed railway sound barrier abnormity detection network based on unsupervised learning is trained, sound barrier defect detection is carried out on the spliced panoramic image, the purpose of vehicle-mounted dynamic detection of the sound barrier defect of the high-speed railway under unsupervised conditions is achieved, the operation safety of the high-speed railway is guaranteed to a certain extent, and the method has good practical value.
The application provides an embodiment of an electronic device for implementing all or part of contents in the high-speed railway sound barrier defect detection method, and the electronic device specifically includes the following contents:
a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between related devices; the electronic device may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the electronic device may be implemented with reference to the embodiment for implementing the method for detecting a defect in a sound barrier of a high-speed railway and the embodiment for implementing the device for detecting a defect in a sound barrier of a high-speed railway in the embodiments, and the contents thereof are incorporated herein, and repeated details are not repeated.
Fig. 9 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 9, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 9 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one embodiment, the high speed railway sound barrier defect detection function may be integrated into the central processor 9100. The central processor 9100 may be configured to control as follows:
the digital camera and the inertia component are mounted on the comprehensive inspection vehicle, and video data of the running environment of the high-speed railway and analog data of a vehicle body posture digital signal are shot; the vehicle body attitude compensation method based on multi-source data registration is used for registering the acquired video data of the high-speed railway running environment and the vehicle body attitude digital signal analog data; carrying out panorama stitching on the high-speed railway running environment video based on the optimal stitching model of the pixel definition evaluation; and acquiring the obtained normal sound barrier image, training a high-speed railway sound barrier abnormity detection network based on unsupervised learning, and carrying out sound barrier defect detection on the spliced panoramic image.
In another embodiment, the high-speed railway sound barrier defect detection device may be configured separately from the central processor 9100, for example, the high-speed railway sound barrier defect detection device may be configured as a chip connected to the central processor 9100, and the high-speed railway sound barrier defect detection function is realized by the control of the central processor.
As shown in fig. 9, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 9; in addition, the electronic device 9600 may further include components not shown in fig. 9, which may be referred to in the prior art.
As shown in fig. 9, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 9140 can be a solid state memory, e.g., Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
An embodiment of the present invention further provides a computer-readable storage medium capable of implementing all the steps in the sound barrier defect detection method for a high speed railway in the above embodiment, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements all the steps in the sound barrier defect detection method for a high speed railway in the above embodiment, for example, when the processor executes the computer program, implements the following steps:
the digital camera and the inertia component are mounted on the comprehensive inspection vehicle, and video data of the running environment of the high-speed railway and analog data of a vehicle body posture digital signal are shot; the vehicle body attitude compensation method based on multi-source data registration is used for registering the acquired video data of the high-speed railway running environment and the vehicle body attitude digital signal analog data; carrying out panorama stitching on the high-speed railway running environment video based on the optimal stitching model of the pixel definition evaluation; and acquiring the obtained normal sound barrier image, training a high-speed railway sound barrier abnormity detection network based on unsupervised learning, and carrying out sound barrier defect detection on the spliced panoramic image.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.