Wheel set tread damage inspection method and device, computer equipment and storage medium

Through image processing technology, combined with the Canny operator and the maximum inter-class variance method, the threshold is adaptively selected to extract wheel set and tread damage information, which solves the problem of low detection accuracy in the existing technology and achieves efficient and accurate wheel set and tread. Damage detection.

CN118628434APending Publication Date: 2024-09-10SHENHUA RAIL & FREIGHT WAGONS TRANSPORT
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410462620.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-17
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In the existing technology, the detection of train wheel tread damage relies on manual experience, and the detection accuracy is low, which cannot meet the needs of practical applications.

Method used

Using image processing technology, the wheel set tread image is obtained through a high-speed camera, image optimization processing and contour detection are performed, and the Canny operator and the maximum inter-class variance method are combined to adaptively select the threshold to extract the wheel set tread damage information.

Benefits of technology

The efficiency and accuracy of wheel set tread damage detection are improved, edge details are highlighted, noise is suppressed, and the problem of low detection accuracy is alleviated.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628434A
    Figure CN118628434A
Patent Text Reader

Abstract

The embodiment of the invention provides a wheel set tread damage inspection method and device, computer equipment and a storage medium. The method comprises the steps of obtaining a wheel set tread image of a target train, performing image optimization processing on the wheel set tread image to obtain a to-be-recognized image, performing contour information extraction processing on the to-be-recognized image to obtain image data containing an edge contour, and performing contour detection on the image data to obtain wheel set tread damage information of the target train. According to the method provided by the scheme, the actual edge of the wheel set tread can be detected, edge details are highlighted, so that the purpose of damage detection is achieved, the wheel set tread damage detection efficiency and accuracy are improved, meanwhile, noise is restrained, the situation that a current wheel set tread damage detection technology depends on artificial experience is relieved, and the detection accuracy is improved. And the detection accuracy is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of track wheel set inspection and maintenance, and in particular to a wheel set tread damage inspection method, device, computer equipment and storage medium. Background Art

[0002] When the train accelerates, decelerates, or brakes in an emergency, the friction, vibration, rigid impact between the wheelset and the rail, as well as the relative sliding of the two when turning, will cause varying degrees of damage to the wheelset tread, thus affecting the safety and service life of the train and track. Therefore, in order to ensure the normal operation safety of the train, the service life and service performance of the wheelset, it is particularly important to regularly inspect the wheelset.

[0003] At present, the most commonly used method for detecting train wheel tread damage in China still relies mainly on manual inspection by maintenance department staff when the train stops running safely. The manual inspection method is labor-intensive, occupies a long period of train time, and cannot accurately and specifically obtain the train's operation and damage conditions, and cannot meet the needs of actual applications.

[0004] In summary, the current wheelset tread damage detection technology has technical problems such as reliance on manual experience and low detection accuracy. Summary of the invention

[0005] In order to alleviate the technical problems of current wheelset tread damage detection technology, which relies on manual experience and has low detection accuracy, the embodiments of the present invention provide a wheelset tread damage inspection method, device, computer equipment and storage medium.

[0006] In a first aspect, an embodiment of the present invention provides a method for inspecting wheelset tread damage, comprising:

[0007] Acquire a wheelset tread image of a target train;

[0008] Performing image optimization processing on the wheelset tread image to obtain an image to be recognized;

[0009] Performing contour information extraction processing on the image to be identified to obtain image data containing edge profiles;

[0010] Perform contour detection on the image data to obtain wheel tread damage information of the target train.

[0011] In some implementations, the step of performing contour information extraction processing on the image to be identified to obtain image data containing edge profiles includes:

[0012] Performing grayscale processing on the image to be identified to obtain a grayscale image;

[0013] Determining the position information of noise points in the grayscale image based on a sliding window of a preset window size;

[0014] Based on the noise point position information, determining the adaptive gradient amplitude of each pixel point;

[0015] Based on the big law, determining the adaptive threshold of the grayscale image according to the adaptive gradient amplitude of each pixel point;

[0016] According to the adaptive threshold, contour information of the grayscale image is determined to obtain the image data.

[0017] In some implementations, the step of determining the adaptive gradient amplitude of each pixel point based on the noise point position information includes:

[0018] Based on the noise point position information, determining the number of noise points in the target sliding window;

[0019] Determine the filter window size of the target pixel point at the center of the target sliding window according to the number of noise points in the target sliding window;

[0020] Determine a grayscale value weighting parameter of a pixel point in the target filtering window according to the grayscale value and the median grayscale value of the pixel point in the target filtering window corresponding to the target pixel point;

[0021] Determining an adaptive weighted median of the target pixel point according to the grayscale value and grayscale value weighting parameter of the pixel point in the target filtering window;

[0022] The adaptive gradient amplitude of the target pixel point is determined according to a preset gradient template and the adaptive weighted median of the target pixel point.

[0023] In some embodiments, the gradient template includes: gradient templates in the x-axis direction, the y-axis direction, the 45° direction, and the 135° direction.

[0024] In some embodiments, the step of performing image optimization processing on the wheelset tread image to obtain the image to be recognized includes:

[0025] Performing image noise removal processing on the wheelset tread image to obtain a denoised image;

[0026] The denoised image is subjected to grayscale transformation enhancement processing to obtain the image to be identified.

[0027] In some implementations, the step of acquiring the wheelset tread image of the target train includes:

[0028] Monitor trigger instructions;

[0029] When the trigger instruction is detected, starting the high-speed camera;

[0030] The wheelset tread image is acquired by the high-speed camera.

[0031] In a second aspect, an embodiment of the present invention provides a wheelset tread damage inspection device, comprising:

[0032] An acquisition module, used for acquiring a wheelset tread image of a target train;

[0033] A preprocessing module, used for performing image optimization processing on the wheelset tread image to obtain an image to be recognized;

[0034] An extraction module, used for performing contour information extraction processing on the image to be identified to obtain image data containing edge profiles;

[0035] The detection module is used to perform contour detection on the image data to obtain wheel tread damage information of the target train.

[0036] In a third aspect, an embodiment of the present invention provides a computer device, comprising a processor and a memory, wherein the memory stores a plurality of instructions suitable for loading by the processor to execute the steps of the method described in the first aspect.

[0037] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for loading by a processor to execute the steps in the method described in the first aspect above.

[0038] Compared with the prior art, one or more embodiments of the present invention can at least bring the following beneficial effects:

[0039] The embodiment of the present invention provides a method, device, computer equipment and storage medium for inspecting wheelset tread damage; the method includes: obtaining a wheelset tread image of a target train, performing image optimization processing on the wheelset tread image to obtain an image to be identified, performing contour information extraction processing on the image to be identified to obtain image data containing edge contours, and performing contour detection on the image data to obtain wheelset tread damage information of the target train. The method provided by this solution can detect the actual edge of the wheelset tread and highlight the edge details, thereby achieving the purpose of damage detection, improving the efficiency and accuracy of wheelset tread damage detection, and also suppressing noise, alleviating the technical problems of current wheelset tread damage detection technology that rely on manual experience and have low detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention 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 creative work.

[0041] Figure 1 A schematic flow chart of a method for inspecting wheelset tread damage provided in an embodiment of the present application;

[0042] Figure 2 A schematic diagram of another process flow of a wheelset tread damage inspection method provided in an embodiment of the present application;

[0043] Figure 3 Another schematic flow chart of a method for inspecting wheelset tread damage provided in an embodiment of the present application;

[0044] Figure 4 This is a comparison diagram of the effects of Example 1 provided in the embodiments of the present application;

[0045] Figure 5 This is a comparison diagram of the effects of Example 2 provided in the embodiments of the present application;

[0046] Figure 6 A schematic structural diagram of a wheelset tread damage inspection device provided in an embodiment of the present application.

[0047] In the drawings, the same reference numerals are used for the same components, and the drawings are not drawn to scale. DETAILED DESCRIPTION

[0048] Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.

[0049] It should also be noted that, for ease of description, only the parts related to the present invention are shown in the drawings. In the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

[0050] It should be noted that the concepts such as "first" and "second" mentioned in the present invention are only used to distinguish different systems, devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these systems, devices, modules or units.

[0051] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0052] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0053] Regarding the background technology involved, the most commonly used method for detecting damage to train wheel treads in China is still mainly dependent on manual inspections by maintenance department staff when the train is safely stopped. However, the manual inspection method is labor-intensive, occupies a long period of train time, and cannot accurately and specifically obtain the operation and damage status of the train, and cannot meet the needs of actual applications.

[0054] Based on this, the present invention designs a train wheelset tread damage detection method based on image processing (improved Canny operator). The image of the wheelset tread is captured by a high-speed camera, and the computer equipment then processes, judges and identifies the image, thereby achieving the purpose of damage detection and improving the efficiency and accuracy of tread damage detection.

[0055] That is, the wheelset tread damage inspection method involved in the present invention can detect many actual edges of the wheelset tread, highlight the edge details, and suppress noise at the same time; in addition, the Canny operator is combined with the maximum inter-class variance method (i.e., the large law method) to adaptively select the optimal threshold value for the image, thereby overcoming the defect of artificially setting high and low threshold values ​​and enhancing the adaptability of the edge detection algorithm.

[0056] The following is an introduction to the wheel set tread damage inspection method in this application. Figure 1 , Figure 1 A schematic flow chart of a method for inspecting wheelset tread damage provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the wheelset tread damage inspection method provided in the embodiment of the present application comprises the following steps:

[0057] Step 110: Acquire the wheelset tread image of the target train.

[0058] In the present application, the target train may be a train that needs to perform wheelset tread damage detection, etc.

[0059] In some embodiments, the step of acquiring the wheelset tread image of the target train includes: monitoring a trigger instruction; starting a high-speed camera when the trigger instruction is detected; and acquiring the wheelset tread image through the high-speed camera.

[0060] In this application, the triggering instruction includes the arrival of a train, etc.

[0061] In this embodiment, the wheelset tread damage inspection device monitors whether a train arrives. When the arrival of a train is detected, a high-speed camera is started, and the wheelset tread of the target train is continuously and dynamically photographed by the high-speed camera to obtain an image of the wheelset tread of the target train.

[0062] Step 120: performing image optimization processing on the wheelset tread image to obtain an image to be recognized.

[0063] In some embodiments, the step of performing image optimization processing on the wheelset tread image to obtain the image to be identified includes: performing image noise removal processing on the wheelset tread image to obtain a denoised image; and performing grayscale transformation enhancement processing on the denoised image to obtain the image to be identified.

[0064] Here, after the high-speed camera collects the wheelset tread image, it transmits the wheelset tread image data to the computer device through wired or wireless network transmission, so that the computer device can optimize the collected wheelset tread image to remove or weaken irrelevant information in the wheelset tread image, restore or enhance relevant information, and facilitate feature extraction and recognition.

[0065] Specifically, the image optimization process mainly includes image noise removal (image filtering) and grayscale transformation enhancement (image enhancement); image filtering mainly uses mean filtering, median filtering, Gaussian filtering and other algorithms to achieve the effect of removing image noise; image enhancement mainly uses grayscale transformation enhancement method to achieve the effect of making blurred images clear. That is, the wheelset tread image is first subjected to image noise removal to obtain a denoised image; then the denoised image is subjected to grayscale transformation enhancement to obtain an image to be identified; wherein the image to be identified may be an image with a length and width of L and H, respectively.

[0066] Step 130: extracting contour information from the image to be identified to obtain image data containing edge contours.

[0067] In some embodiments, the step of performing contour information extraction processing on the image to be identified to obtain image data containing edge contours includes: performing grayscale processing on the image to be identified to obtain a grayscale image; determining the position information of noise points in the grayscale image based on a sliding window of a preset window size; determining the adaptive gradient amplitude of each pixel based on the noise point position information; determining the adaptive threshold of the grayscale image based on the adaptive gradient amplitude of each pixel based on the large law; determining the contour information of the grayscale image based on the adaptive threshold to obtain the image data.

[0068] In some embodiments, the step of determining the adaptive gradient amplitude of each pixel point based on the noise point position information includes: determining the number of noise points in a target sliding window based on the noise point position information; determining the filtering window size of a target pixel point at the center of the target sliding window according to the number of noise points in the target sliding window; determining the grayscale value weighting parameter of the pixel point in the target filtering window according to the grayscale value and median grayscale value of the pixel point in the target filtering window corresponding to the target pixel point; determining the adaptive weighted median of the target pixel point according to the grayscale value and grayscale value weighting parameter of the pixel point in the target filtering window; and determining the adaptive gradient amplitude of the target pixel point according to a preset gradient template and the adaptive weighted median of the target pixel point.

[0069] In some embodiments, the gradient template includes: gradient templates in the x-axis direction, the y-axis direction, the 45° direction, and the 135° direction.

[0070] Specifically, the specific implementation of step 130 can be referred to the following description.

[0071] Step 140: Perform contour detection on the image data to obtain wheel tread damage information of the target train.

[0072] In some embodiments, the step of performing contour detection on the image data to obtain the wheelset tread damage information of the target train includes: performing closed contour detection or approximate closed contour detection on the image data; perfecting the detected approximate closed contour into a closed contour; performing hole filling processing based on the closed contour; removing irrelevant contours in the image to obtain the wheelset tread damage information.

[0073] In summary, the wheelset tread damage inspection method provided in the embodiment of the present application can detect the actual edge of the wheelset tread and highlight the edge details, thereby achieving the purpose of damage detection, improving the efficiency and accuracy of wheelset tread damage detection, and also suppressing noise, thereby alleviating the technical problems of current wheelset tread damage detection technology that rely on manual experience and have low detection accuracy.

[0074] Combine the following Figure 2 The present application is further described in detail in the following sections. Figure 2 Another schematic diagram of a process for inspecting wheelset tread damage provided by an embodiment of the present application is shown. Figure 2 As shown, the wheelset tread damage inspection method provided by the present application includes:

[0075] S1. The high-speed camera collects the wheel set tread image.

[0076] In this embodiment, when the target vehicle arrives, the wheelset tread image data is continuously and dynamically collected by a high-speed camera.

[0077] S2. Computer image preprocessing (corresponding to the image optimization processing mentioned above).

[0078] In this embodiment, the computer performs certain preprocessing on the collected tread image data to remove or weaken irrelevant information in the image, restore or strengthen relevant information, and make it easier to extract and identify features.

[0079] Here, image preprocessing mainly includes two parts: image filtering and image enhancement. Image filtering mainly uses algorithms such as mean filtering, median filtering, and Gaussian filtering to remove image noise; image enhancement mainly uses grayscale transformation enhancement methods to make blurred images clearer.

[0080] S3. Image feature extraction.

[0081] In this embodiment, following step S2, after the computer preprocesses the collected tread image data, this step performs feature extraction on the preprocessed image (corresponding to the contour information extraction process on the image to be identified in the above text).

[0082] Here, this step mainly uses the improved Canny edge detection algorithm to extract the contour information of the image, and finally outputs a two-extreme value image containing the edge profile (corresponding to the image data containing the edge profile in the above text).

[0083] Specifically, Figure 3 As shown, the improved Canny edge detection algorithm in this step includes the following steps:

[0084] S301: Detect noise points.

[0085] Specifically, for an image with a length and width of L and H, firstly grayscale processing is performed to obtain a grayscale value image, and the grayscale value of each pixel (i, j) in the image is recorded as f(i, j), such as an integer from 0 to 127; then the maximum grayscale value in the image is determined as f max , the minimum gray value is f min , and the average gray value f of all pixels in the image average .

[0086] A 3×3 sliding window (i.e., the preset window mentioned above) is used to slide across the entire image. For any sliding window, the grayscale value of the central pixel (i, j) is expressed as f(i, j), and the maximum grayscale value of all pixels within it is f Wmax , the minimum gray value of all pixels in it is f Wmin, the median grayscale value of all pixels in it is f Wmed , let M = f Wmed -f Wmin , N = f Wmed -f Wmax .

[0087] If the gray value of the central pixel (i, j) of the sliding window is f(i, j) = f max Or f(i,j)=f min , or when M=0 and N=0, the central pixel (i, j) is recorded as a noise point; based on this, the positions of all pixels marked as noise points in the image can be determined, that is, the position information of the noise points in the grayscale image.

[0088] After all noise points are determined, for all sliding windows, the number of noise points in the sliding window with the coordinate (i, j) as the center pixel is counted to obtain the number of noise points corresponding to each pixel point (i, j), which is marked as SUMnoise.

[0089] S302: Determine the size of the filter window corresponding to each pixel.

[0090] Specifically, the size of the filter window corresponding to the pixel point (i, j) (i.e., the filter window size mentioned above) is determined according to the number of noise points SUMnoise of different pixel points (i, j), which is expressed by the following formula (1):

[0091]

[0092] In the above formula (1), W i,j is the size of the filter window corresponding to the pixel point (i, j).

[0093] S303: Perform adaptive weighted median filtering on the image.

[0094] Specifically, the adaptive weighted median filtering algorithm in this application performs weighted processing on the pixels within the filtering window. The closer the grayscale value of the pixel is to the median, the greater the weight. The weighting function adopted is as shown in formula (2):

[0095]

[0096] Where d represents the difference between the grayscale value of the pixel (i, j) in the filter window and the grayscale median. Assuming that the grayscale value of the pixel (i, j) is f(i, j), and the size of the filter window is n×n, the weighted grayscale median of the filter window is:

[0097]

[0098] And the gray mean g i,jThe effective gray value marked as pixel (i, j) is the adaptive weighted median of the pixel mentioned above.

[0099] S304: Calculate the gradient amplitude.

[0100] Specifically, the present application adds gradient templates in the directions of 45° and 135° on the basis of the conventional Soble operator in the x and y directions, and calculates the gradient amplitude corresponding to each pixel point according to the effective grayscale value corresponding to each pixel point in the sliding window, that is, the adaptive gradient amplitude of each pixel point mentioned above.

[0101] The gradient templates in four directions are:

[0102]

[0103]

[0104]

[0105]

[0106] S305: Calculate an adaptive threshold.

[0107] Specifically, this step adopts the maximum inter-class variance method, namely the large law method, to determine the adaptive threshold based on the adaptive gradient amplitude of each pixel point, and then performs edge detection on the image based on the adaptive threshold to output a binary extremum image.

[0108] Here, after outputting the binary extremum image, closed contour detection or approximate closed contour detection can be performed on the binary extremum image, and the approximate closed contour can be improved into a closed contour, and then the hole filling process is performed, and finally the corrosion operation is used to remove irrelevant contours in the image, so as to obtain the damage information of the wheelset tread.

[0109] For further information, please refer to Figure 4 and Figure 5 , Figure 4 This is a comparison chart of the effects of Example 1 provided in the embodiments of the present application. Figure 5 This is a comparison diagram of the effects of Example 2 provided in the embodiments of the present application; Figure 4 and Figure 5 The original image in the figure is a wheel set tread image taken by a high-speed camera, the effect diagram a is the result of the conventional Canny detection algorithm, and the effect diagram b is the result of the wheel set tread damage inspection method provided by the present application. Figure 4 , Figure 5 It can be seen from the two effect comparison pictures that the wheelset tread damage inspection method provided in the present application can more accurately detect more edge details, suppress noise to a certain extent, and clearly extract the details of the tread damage edge.

[0110] To sum up, the wheelset tread damage inspection method provided in the embodiment of the present application can detect the actual edge of the wheelset tread and highlight the edge details, thereby achieving the purpose of damage detection, improving the efficiency and accuracy of wheelset tread damage detection, and also suppressing noise, thereby alleviating the technical problems of current wheelset tread damage detection technology that rely on manual experience and have low detection accuracy.

[0111] The following are embodiments of the device of the present invention, which can be used to implement the method embodiments of the present invention. For details not disclosed in the device embodiments of the present invention, please refer to the method embodiments of the present invention.

[0112] Further references Figure 6 As an implementation of the above method, the present invention provides some embodiments of a wheel set tread damage inspection device, and these device embodiments are Figure 1 The above method embodiments correspond.

[0113] Figure 6 A schematic diagram of the structure of a wheelset tread damage inspection device provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the wheelset tread damage inspection device provided in this embodiment includes:

[0114] An acquisition module 610 is used to acquire a wheelset tread image of a target train;

[0115] A preprocessing module 620 is used to perform image optimization processing on the wheelset tread image to obtain an image to be recognized;

[0116] An extraction module 630 is used to extract contour information from the image to be identified to obtain image data containing edge contours;

[0117] The detection module 640 is used to perform contour detection on the image data to obtain the wheel set tread damage information of the target train.

[0118] In some implementations, the acquisition module 610 is further configured to monitor a trigger instruction; start a high-speed camera when the trigger instruction is detected; and acquire the wheelset tread image through the high-speed camera.

[0119] In some embodiments, the preprocessing module 620 is further used to perform image noise removal processing on the wheelset tread image to obtain a denoised image; and perform grayscale transformation enhancement processing on the denoised image to obtain the image to be identified.

[0120] In some embodiments, the extraction module 630 is also used to grayscale the image to be identified to obtain a grayscale image; determine the position information of noise points in the grayscale image based on a sliding window of a preset window size; determine the adaptive gradient amplitude of each pixel based on the noise point position information; determine the adaptive threshold of the grayscale image based on the adaptive gradient amplitude of each pixel based on the large law; determine the contour information of the grayscale image based on the adaptive threshold to obtain the image data.

[0121] In some embodiments, the extraction module 630 is also used to determine the number of noise points in the target sliding window based on the noise point position information; determine the filtering window size of the target pixel point corresponding to the center of the target sliding window according to the number of noise points in the target sliding window; determine the grayscale value weighting parameter of the pixel point in the target filtering window according to the grayscale value and median grayscale value of the pixel point in the target filtering window corresponding to the target pixel point; determine the adaptive weighted median of the target pixel point according to the grayscale value and grayscale value weighting parameter of the pixel point in the target filtering window; determine the adaptive gradient amplitude of the target pixel point according to a preset gradient template and the adaptive weighted median of the target pixel point.

[0122] In some embodiments, the detection module 640 is also used to perform closed contour detection or approximate closed contour detection on the image data; improve the detected approximate closed contour into a closed contour; perform hole filling processing based on the closed contour; remove irrelevant contours in the image to obtain the wheelset tread damage information.

[0123] It is understandable that the modules recorded in the wheel set tread damage inspection device are similar to those in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the wheelset tread damage inspection device and the modules contained therein, and will not be described in detail here.

[0124] Accordingly, an embodiment of the present application further provides a computer device, the computer device comprising a processor and a memory, the memory storing a plurality of instructions, the instructions being suitable for the processor to load to execute the steps of any of the methods provided in the above embodiments of the present application. It is understood that the computer device may also include an input / output (I / O) interface and a communication component.

[0125] The processor is used to execute all or part of the steps in the wheel set tread damage inspection method in the above embodiment. The memory is used to store various types of data, which may include instructions of any application or method in the computer device, and data related to the application.

[0126] The processor can be an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, and is used to execute the wheelset tread damage inspection method in the above embodiment.

[0127] The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0128] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0129] To this end, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a plurality of instructions, which can be loaded by a processor and used in a computer device to implement the following functions:

[0130] Acquire a wheelset tread image of a target train;

[0131] Performing image optimization processing on the wheelset tread image to obtain an image to be recognized;

[0132] Performing contour information extraction processing on the image to be identified to obtain image data containing edge profiles;

[0133] Perform contour detection on the image data to obtain wheel tread damage information of the target train.

[0134] The specific implementation process of the above method steps can be found in the above embodiments, and this embodiment will not be repeated here.

[0135] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0136] Since the instructions stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by any method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0137] At the same time, an embodiment of the present application provides a computer software, which includes computer instructions, which are stored in a computer-readable storage medium. The processor of the edge computing device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the methods provided in the above various optional implementations. For example, the following functions can be implemented:

[0138] Acquire a wheelset tread image of a target train;

[0139] Performing image optimization processing on the wheelset tread image to obtain an image to be recognized;

[0140] Performing contour information extraction processing on the image to be identified to obtain image data containing edge profiles;

[0141] Perform contour detection on the image data to obtain wheel tread damage information of the target train.

[0142] The specific implementation process of the above method steps can be found in the above embodiments, and this embodiment will not be repeated here.

[0143] In summary, the embodiments of the present invention provide a method, device, computer equipment and storage medium for inspecting wheelset tread damage; the method comprises: obtaining a wheelset tread image of a target train, performing image optimization processing on the wheelset tread image to obtain an image to be identified, performing contour information extraction processing on the image to be identified to obtain image data containing edge contours, and performing contour detection on the image data to obtain wheelset tread damage information of the target train. The method provided by this solution can detect the actual edge of the wheelset tread and highlight the edge details, thereby achieving the purpose of damage detection, improving the efficiency and accuracy of wheelset tread damage detection, and also suppressing noise, alleviating the technical problems of current wheelset tread damage detection technology that rely on manual experience and have low detection accuracy.

[0144] 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 device 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 device. 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 device including the element.

[0145] Although the implementation methods disclosed in this application are as above, the contents described are only implementation methods adopted for facilitating the understanding of this application, and are not intended to limit this application. Any technician in the technical field to which this application belongs can make any modifications and changes in the form and details of implementation without departing from the spirit and scope disclosed in this application, but the scope of patent protection of this application shall still be based on the scope defined in the attached claims.

Claims

1. A method for inspecting wheelset tread damage, characterized in that: include: Acquire a wheelset tread image of a target train; Performing image optimization processing on the wheelset tread image to obtain an image to be recognized; Performing contour information extraction processing on the image to be identified to obtain image data containing edge profiles; Perform contour detection on the image data to obtain wheel tread damage information of the target train.

2. The method for inspecting wheelset tread damage according to claim 1, characterized in that: The step of extracting contour information from the image to be identified to obtain image data containing edge contours comprises: Performing grayscale processing on the image to be identified to obtain a grayscale image; Determining the position information of noise points in the grayscale image based on a sliding window of a preset window size; Based on the noise point position information, determining the adaptive gradient amplitude of each pixel point; Based on the big law, determining the adaptive threshold of the grayscale image according to the adaptive gradient amplitude of each pixel point; According to the adaptive threshold, contour information of the grayscale image is determined to obtain the image data.

3. The method for inspecting wheelset tread damage according to claim 2, characterized in that: The step of determining the adaptive gradient amplitude of each pixel point based on the noise point position information comprises: Based on the noise point position information, determining the number of noise points in the target sliding window; Determine the filter window size of the target pixel point at the center of the target sliding window according to the number of noise points in the target sliding window; Determine a grayscale value weighting parameter of a pixel point in the target filtering window according to the grayscale value and the median grayscale value of the pixel point in the target filtering window corresponding to the target pixel point; Determining an adaptive weighted median of the target pixel point according to the grayscale value and grayscale value weighting parameter of the pixel point in the target filtering window; The adaptive gradient amplitude of the target pixel point is determined according to a preset gradient template and the adaptive weighted median of the target pixel point.

4. The method for inspecting wheelset tread damage according to claim 3, characterized in that: The gradient templates include: gradient templates in the x-axis direction, the y-axis direction, the 45° direction, and the 135° direction.

5. The method for inspecting wheelset tread damage according to claim 1, characterized in that: The step of performing image optimization processing on the wheelset tread image to obtain the image to be recognized comprises: Performing image noise removal processing on the wheelset tread image to obtain a denoised image; The denoised image is subjected to grayscale transformation enhancement processing to obtain the image to be identified.

6. The method for inspecting wheelset tread damage according to claim 1, characterized in that: The step of obtaining the wheelset tread image of the target train comprises: Monitor trigger instructions; When the trigger instruction is detected, starting the high-speed camera; The wheelset tread image is acquired by the high-speed camera.

7. The method for inspecting wheelset tread damage according to any one of claims 1 to 6, characterized in that: The step of performing contour detection on the image data to obtain the wheel set tread damage information of the target train comprises: Performing closed contour detection or approximate closed contour detection on the image data; Perfecting the detected approximate closed contour into a closed contour; Fill holes according to the closed contour; The irrelevant contours in the image are removed to obtain the wheelset tread damage information.

8. A wheelset tread damage inspection device, characterized in that: include: An acquisition module, used for acquiring a wheelset tread image of a target train; A preprocessing module, used for performing image optimization processing on the wheelset tread image to obtain an image to be recognized; An extraction module, used for performing contour information extraction processing on the image to be identified to obtain image data containing edge profiles; The detection module is used to perform contour detection on the image data to obtain wheel tread damage information of the target train.

9. A computer device, characterized in that: The computer device comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the instructions are suitable for being loaded by the processor to execute the steps in the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Wheel tread extraction and splicing method based on image processing

    CN108520521A

  • Train wheel set online detection method, system and equipment and storage medium

    CN115031640A