Long gap discharge leader development speed calculation method, device and readable medium
Through the automated long gap discharge leader development speed calculation method, computer software is used to identify and calculate the leader head point, which solves the problems of low manual identification efficiency and subjectivity in the existing technology, and achieves fast and accurate leader development speed calculation. Improved processing efficiency and reduced labor costs.
Patent Information
- Application Number
- CN202111092657.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-17
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-09-17
AI Technical Summary
The existing method for calculating the leader development speed of long air gap discharge relies on manual identification of pixels, which has problems of subjectivity and low efficiency, especially when processing a large amount of test data, which consumes a lot of manpower.
An automated long gap discharge leader development speed calculation method is proposed. By obtaining a set of discharge photos, calculating the time interval between pictures and the image coordinates of the leader head point, computer software is used to calculate the leader longitudinal development speed, including a shooting module. , identification module and calculation module, capable of rotating images and converting them into grayscale images to identify leading head points and calculate speed.
It improves the processing efficiency of long gap discharge photos, reduces errors in the manual identification process, liberates labor, and achieves fast and accurate calculation of lead development speed.
Smart Images

Figure CN114820424B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of high voltage and insulation technology, and in particular to a method, device and readable medium for calculating the development speed of a long-gap discharge leader. Background Art
[0002] The current situation of extremely unbalanced energy distribution and economic development in my country has led to the need for my country to develop ultra-high voltage transmission projects to transport the power resources in the west to the economically developed eastern region. Ultra-high voltage transmission projects have the characteristics of large transmission capacity, long transmission lines, and high voltage levels, which brings major challenges to the insulation configuration of ultra-high voltage transmission projects. In ultra-high voltage transmission lines, long air gaps are a very common form of external insulation, but the current theoretical system of long air gap discharge is not yet mature, and it is urgent to conduct more in-depth observation and analysis of the long air gap discharge process.
[0003] As two basic processes of long air gap (hereinafter referred to as long gap) discharge, streamer and leader have been widely accepted in their related concepts and theories. Streamer and leader characteristics are the key to studying the discharge process of long air gap. As one of the important observable leader characteristics, the leader development speed has always been the focus of high voltage researchers. At present, the leader development speed of long gap discharge is mostly calculated by the time interval of each discharge photo and the leader head pixel coordinates. The leader head pixel coordinates often require manual counting of the coordinates of the frontmost position with the largest brightness of the discharge path. However, the manual method of obtaining the leader head pixel coordinates has the following shortcomings: 1. The selection of pixel points is subjective. There may be more than one pixel with the largest brightness at the front. In the absence of a more accurate standard, the pixel points selected manually have greater randomness; 2. The process is cumbersome. There are often dozens of discharge photos in a group of experiments. When there are many test groups to be processed, manually counting the pixel coordinates is inefficient and labor-intensive. Therefore, it is necessary to propose a method that can automatically traverse a group of test discharge photos and calculate the longitudinal development speed of the leader to improve the processing efficiency of long gap discharge photos. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a method for calculating the development speed of a long gap leader discharge, which can provide a simple and easy-to-generalize method for calculating the longitudinal development speed of a long air gap leader discharge.
[0005] The present invention also provides a device, a terminal and a storage medium having the above-mentioned long gap discharge leader development speed calculation method.
[0006] According to a first aspect of the present invention, a method for calculating the long gap discharge leader development speed comprises the following steps:
[0007] Obtain a collection of long-gap discharge photos;
[0008] Acquire the time interval between pictures in the long gap discharge photo set;
[0009] Identify the leading head point of each picture in the long gap discharge photo set, and obtain the image coordinates of the leading head point of each picture;
[0010] According to the time interval between the first picture and the second picture in the long gap discharge photo set and the image coordinates of the leader head points of the first picture and the second picture, the leader longitudinal development speed corresponding to the first picture is calculated.
[0011] According to some embodiments of the present invention, the method further comprises rotating the picture so that the discharge direction in the picture is downward.
[0012] According to some embodiments of the present invention, the method further comprises:
[0013] Each picture in the long gap discharge photo set is converted into a grayscale image.
[0014] According to some embodiments of the present invention, the above step of identifying the leading head point of each picture in the long gap discharge photo set specifically includes:
[0015] Get the maximum gray value g in each picture in the long gap discharge photo set max ;
[0016] Select the image with the maximum gray value g max Pixel points, get the point set corresponding to each picture;
[0017] Determine a specific point in the point set corresponding to each image, use the specific point in each point set as the leading head point of the corresponding image, and obtain the ordinate of the leading head point.
[0018] According to some embodiments of the present invention, the method further comprises:
[0019] If there is only one point in the point set, the point is the leading head point of the image corresponding to the point set.
[0020] According to some embodiments of the present invention, the step of calculating the leader longitudinal development speed corresponding to the first picture based on the time interval between the first picture and the second picture in the long gap discharge photo set and the image coordinates of the leader head points of the first picture and the second picture specifically includes:
[0021] Determine, according to the image coordinates of the leading head points of the first picture and the second picture, a pixel distance between the leading head points of the first picture and the second picture;
[0022] Determine, according to the pixel distance, an actual distance corresponding to the leading head point of the first image and the second image;
[0023] The leader longitudinal development speed corresponding to the first picture is determined according to the actual distance corresponding to the leader head point and the time interval between the first picture and the second picture.
[0024] According to some embodiments of the present application, determining the actual distance corresponding to the leading head points of the first image and the second image according to the pixel distance specifically includes:
[0025] Find the starting leader head point and the breakdown leader head point of the long gap discharge from the leader head points of each picture in the long gap discharge photo collection;
[0026] Get the actual gap distance;
[0027] Determine the actual distances corresponding to adjacent pixel points in the discharge direction according to the actual gap distance, the image coordinates of the starting leader head point and the breakdown leader head point;
[0028] The actual distance corresponding to the leading head point is determined according to the actual distance corresponding to the adjacent pixel points and the image coordinates of the leading head point of the first picture and the second picture.
[0029] According to a second aspect of the present invention, a long gap discharge leader development speed calculation device includes:
[0030] A photographing module capable of acquiring a collection of long-gap discharge photos;
[0031] A pre-input module capable of acquiring the time intervals between the pictures in the long gap discharge photo set;
[0032] An identification module capable of identifying the leading head point of each picture in the long gap discharge photo set and obtaining the image coordinates of the leading head point of each picture;
[0033] The calculation module can calculate the leader longitudinal development speed corresponding to the first picture according to the time interval between the first picture and the second picture in the long gap discharge photo set and the image coordinates of the leader head points of the first picture and the second picture.
[0034] According to some embodiments of the present invention, the device further comprises:
[0035] The image preprocessing module can rotate the image so that the discharge direction in the image is downward, and then convert each image in the long gap discharge photo set into a grayscale image.
[0036] According to the third aspect of the present invention, the terminal comprises: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned method for calculating the development speed of the long gap discharge leader.
[0037] The readable medium according to the fourth aspect of the present invention is characterized in that computer software is stored inside the readable medium, and when the computer software is running, it can implement the above-mentioned method for calculating the long gap discharge leader development speed.
[0038] The method for calculating the development speed of a long gap leader discharge according to the embodiment of the present invention has at least the following beneficial effects: the method for calculating the development speed of a long gap leader discharge is implemented by computer software, which can solve the errors caused by subjective factors in the traditional manual identification process, and at the same time can also use the advantages of the computer's fast computing speed to improve processing efficiency and liberate labor.
[0039] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0041] Figure 1 This is a schematic diagram of the steps of a method for calculating the long gap discharge leader development speed according to the first embodiment of the present invention;
[0042] Figure 2 Schematic diagram of the steps of the method for calculating the long gap discharge leader development speed according to the second embodiment of the present invention;
[0043] Figure 3 for Figure 2 Detailed step-by-step diagram of the method for calculating the leader development speed of medium-long gap discharge;
[0044] Figure 4 A schematic diagram of pixel coordinate axis settings of a picture according to an embodiment of the present invention;
[0045] Figure 5 This is a schematic diagram of the discharge starting position and breakdown position of an embodiment of the present invention;
[0046] Figure 6 This is a photograph of an operating impulse discharge test of a 6m rod-plate gap at 50% discharge voltage in an embodiment of the present invention. DETAILED DESCRIPTION
[0047] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0048] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0049] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0050] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0051] Since the long gap discharge theory system is not mature yet and is still in the experimental stage, the manual calculation method is not only slow but also has large errors in analyzing experimental data. Therefore, a method is needed to automatically calculate the long gap leader discharge speed based on the picture.
[0052] Embodiment 1
[0053] Reference Figure 1 The embodiment of the present application provides a method for calculating the development speed of a long gap discharge leader. The method is implemented using a computer program and at least includes:
[0054] Step A100: Obtain a set of long gap discharge photos.
[0055] Step A200: Obtain the time intervals between pictures in the long gap discharge picture set.
[0056] Step A300: Identify the leading head point of each picture in the long gap discharge photo set, and obtain the image coordinates of the leading head point of each picture.
[0057] Step A400, calculating the leader longitudinal development speed corresponding to the first picture according to the time interval between the first picture and the second picture in the long gap discharge photo set and the image coordinates of the leader head points of the first picture and the second picture.
[0058] Embodiment 2
[0059] In order to adapt to the long gap leader discharge development speed calculation method under laboratory conditions, improvements are made on the basis of embodiment 1. Figure 2 .
[0060] The specific steps of the method include:
[0061] Step S100: Acquire a long gap discharge photo set.
[0062] When conducting long gap discharge experiments, a high-speed camera is used to take pictures of the discharge.
[0063] It should be noted that during the experiment, the direction of discharge is generally fixed, from top to bottom. Correspondingly, the camera is usually placed vertically when it is set up, so as to capture the discharge scene as clearly as possible. All the photos are integrated together as a long gap discharge photo collection.
[0064] It is understandable that if the camera is not placed vertically, after obtaining the long gap discharge photo set, each picture in the photo set can be rotated so that the direction of the long gap discharge in all pictures is downward, which can also achieve the same effect.
[0065] Furthermore, based on a large number of experiments, it is concluded that high-speed cameras generally choose shooting speeds above 100,000 fps, so that they can capture photos of long gap discharges more clearly.
[0066] Step S200: Obtain the time intervals between pictures in the long gap discharge photo set.
[0067] Input the camera's shooting speed v (fps) into the program, and the time interval Δt (s) between photos can be calculated from the shooting speed v (fps):
[0068] Δt=1 / v
[0069] Reference Figure 3 In order to more clearly illustrate the steps included in the method and facilitate understanding, a preferred embodiment is now used for illustration.
[0070] Step S300: pre-processing the pictures in the long gap discharge photo set.
[0071] In order to facilitate the subsequent recognition steps, the image needs to be preprocessed, including:
[0072] Step S301, obtaining the resolution of pictures in a long gap discharge photo set.
[0073] Reference Figure 4 When reading a picture, the resolution of the picture is expressed as N×M. Then take the upper left corner of the picture as the origin of the coordinate axis, the right is the positive direction of the y-axis, and the downward is the positive direction of the x-axis. Obviously, the coordinates of the pixel at the bottom right of the picture are (M, N). When reading a picture, usually only the resolution of one picture is read, because in this application, the shooting device during sampling has not changed, so the resolution of the pictures in the long gap discharge photo set is the same. If the resolution is different, other processing processes need to be performed on the image. The processing method is a means that can be understood by those skilled in the art, so it will not be discussed here.
[0074] Step S302: convert each picture in the long gap discharge photo set into a grayscale image.
[0075] When identifying the leading head point of an image, brightness is the main basis. In order to compare the brightness more easily, the color image can be converted into a grayscale image, so that the higher the grayscale value of the pixel, the brighter it is, which is convenient for the subsequent recognition process.
[0076] It is understandable that there is no strict requirement for the order of steps S301 and S302, and the description of this application can also be achieved as long as the order is changed after step S100.
[0077] Furthermore, step S300 is to adjust the photo to an easily recognizable form. If the discharge photo is taken in black and white mode and the resolution of the photo is pre-set, the pre-processing process can be avoided, that is, step S300 can be skipped directly. The description here is only for easy understanding.
[0078] Step S400: identifying the leading head point of each picture in the long gap discharge photo set, and obtaining the image coordinates of the leading head point of each picture.
[0079] After obtaining a set of long gap discharge photos, in order to calculate the discharge speed, it is necessary to first identify the front end of the arc, also known as the leader head point.
[0080] More specifically, the following steps are included:
[0081] Step S401, obtaining the maximum gray value g in each picture in the long gap discharge photo set max .
[0082] Traverse the grayscale value of each pixel in the image and find the maximum grayscale value g max .
[0083] Step S402: Find the corresponding point set according to the maximum grayscale value obtained in step S401.
[0084] Select all the gray values with the maximum g max Pixel points, get the point set.
[0085] Set all gray values equal to g max The points are integrated together as a point set for the next step of calculation.
[0086] Step S403: determine a specific point in the point set corresponding to each image, use the specific point in each point set as a leading head point of the corresponding image, and obtain the vertical coordinate of the leading head point.
[0087] The specific point is determined as follows:
[0088] When there is more than one brightest point, select one of them as the leading head point.
[0089] Preferably, the ordinates of all points in the point set may be averaged (rounded off), so that the result obtained is closer to the center of the leading head point.
[0090] It can be understood that averaging is an easy-to-think-of approximation method. If other approximation methods are used, such as taking the maximum, taking the minimum, and other common methods, as long as the whole process is unified, the error is within a controllable range. If the mathematical operation of the above point set is still used when calculating the leading head point, it does not deviate from the purpose described in this application.
[0091] Alternatively, the ordinate of the point with the largest ordinate is taken as the ordinate of the leader head point. The point with the largest ordinate represents the front end of the brightest part in the discharge propagation process.
[0092] Similarly, we can take the ordinate of the point with the smallest ordinate, or the average of the points with the largest and smallest ordinates. This is because the point set itself contains a small number of points, and the range of ordinate variation is not large. As long as the method of selecting the ordinate of the leading head point is unified for all images, there will be no large error.
[0093] According to some preferred embodiments of the present application, when there is only one point in the point set, the ordinate of this point is directly used as the ordinate of the leading head point.
[0094] Step S500, based on the time interval between the first picture and the second picture in the long gap discharge photo set and the image coordinates of the leader head points of the first picture and the second picture, calculate the leader longitudinal development speed corresponding to the first picture. It can be divided into the following two steps:
[0095] Step S501: Determine the pixel distance between the leading head points of the first picture and the second picture according to the image coordinates of the leading head points of the first picture and the second picture.
[0096] Step S502: Determine the actual distance between the leading head points of the first image and the second image according to the pixel distance.
[0097] Reference Figure 5 , the distance data to be obtained includes the ordinate y of the starting position min , discharge breakdown position ordinate y max , actual gap distance d (m). The actual gap distance d needs to be measured manually, and the distance is usually set before the experiment begins.
[0098] Starting position y min The ordinate y is the discharge occurrence point and the discharge breakdown position max The farthest point in the discharge process. The ordinate y of the starting position can be clearly determined manually through the photo. min , discharge breakdown position ordinate y max Points, no error is easy to occur.
[0099] Specifically: find the starting leader head point y of the long gap discharge from the leader head points of each picture in the long gap discharge photo set min and the breakdown leader head point y max .
[0100] Get the actual gap distance d(m).
[0101] The actual distances corresponding to adjacent pixel points in the discharge direction are determined according to the actual gap distance, the image coordinates of the starting leader head point and the breakdown leader head point.
[0102] The actual distance corresponding to the leading head point is determined according to the actual distance corresponding to the adjacent pixel points and the image coordinates of the leading head point of the first picture and the second picture.
[0103] If the discharge direction is a vertical direction, the image coordinates of the starting leader head point and the breakdown leader head point are ordinates, and the adjacent pixel points in the discharge direction refer to the longitudinally adjacent pixel points.
[0104] The actual distance Δl (m) corresponding to adjacent pixels in the placement direction is:
[0105] Δl=d / (y max -y min ) (2)
[0106] Step S503: Determine the leader longitudinal development speed corresponding to the first picture according to the actual distance corresponding to the leader head point and the time interval between the first picture and the second picture.
[0107] The vertical coordinate of the i-th image is marked as y i , the vertical coordinate of the i+1th image is marked as y i+1 .
[0108] The calculation formula for the longitudinal development speed of the leader of the i-th graph is as follows:
[0109] v 1i =(y i+1 -y i )*Δl / Δt (3)
[0110] Embodiment 3
[0111] Based on the second embodiment, specific data is input for calculation.
[0112] Photo of positive polarity operating impulse discharge test based on 6m rod-plate gap at 50% discharge voltage.
[0113] The shooting speed of the high-speed camera is 200000fps, so the time interval between each photo is That is 5μs.
[0114] Read the photo in the experiment. Since the present embodiment uses a black and white picture, it does not need to be converted into a grayscale picture. The picture pixel is 256×152.
[0115] Reference Figure 6 , the coordinates of the leader pixel points in the test photos were identified by the prepared Matlab program, and the program running results are shown in Table 1. From Table 1, it can be seen that the five pictures without discharge, numbered 1, 2, 3, 5, and 6, also have a corresponding coordinate, because there is a very small light spot in all pictures. The fourth picture is the first streamer, and the program records its coordinates. The discharge starts from the 7th picture and the breakdown is completed at the 53rd picture.
[0116] Table 1 Pixel coordinates of the leader head of the 6m rod-plate gap operating impulse discharge at 50% discharge voltage
[0117]
[0118]
[0119]
[0120] The ordinate of the leading head obtained in the 7th picture is y min , the ordinate of the leading head obtained from the 53rd picture is y max , then: y min =14,y max =254. Given that the gap distance d is 6m, then
[0121] The longitudinal development speed of the leader is calculated. Since the discharge starts from the 7th picture, the period between the 7th and 8th pictures is recorded as time period 1. There are 46 time periods from the 7th picture to the 53rd picture. The results are shown in Table 2. Note that the development speed of time period 8 is 0, because the leader begins to bifurcate at this time, and the brightest pixel has no longitudinal displacement.
[0122] Table 2 Leader development speed of operating impulse discharge in 6m rod-plate gap at 50% discharge voltage
[0123]
[0124] Embodiment 4:
[0125] According to an embodiment of the second aspect of the present application, a long gap leader development speed calculation device is provided, comprising:
[0126] A photographing module capable of acquiring a collection of long-gap discharge photos;
[0127] A pre-input module capable of acquiring the time intervals between the pictures in the long gap discharge photo set;
[0128] An identification module capable of identifying the leading head point of each picture in the long gap discharge photo set and obtaining the image coordinates of the leading head point of each picture;
[0129] The calculation module can calculate the leader longitudinal development speed corresponding to the first picture according to the time interval between the first picture and the second picture in the long gap discharge photo set and the image coordinates of the leader head points of the first picture and the second picture.
[0130] Furthermore, the device also includes an image preprocessing module, which can rotate the image so that the discharge direction in the image is downward, and then convert each image in the long gap discharge photo set into a grayscale image.
[0131] Furthermore, the calculation module further includes:
[0132] a pixel distance determining element capable of determining a pixel distance between the leading head points of the first picture and the second picture according to the image coordinates of the leading head points of the first picture and the second picture;
[0133] an actual distance determining element, which determines the actual distance corresponding to the leading head point of the first picture and the second picture according to the pixel distance;
[0134] The leader development speed calculation element can determine the leader longitudinal development speed corresponding to the first picture according to the actual distance corresponding to the leader head point and the time interval between the first picture and the second picture.
[0135] Furthermore, the above-mentioned actual distance determination element further includes:
[0136] A discharge start and end point recognition unit, capable of finding the starting leader head point and the breakdown leader head point of the long gap discharge from the leader head points of each picture in the long gap discharge photo collection;
[0137] An actual gap distance acquisition unit, capable of acquiring an actual gap distance;
[0138] A pixel point distance calculation unit determines the actual distances corresponding to adjacent pixel points in the discharge direction according to the actual gap distance, the image coordinates of the starting leader head point and the breakdown leader head point;
[0139] The leading head point determining unit determines the actual distance corresponding to the leading head point according to the actual distances corresponding to the adjacent pixel points and the image coordinates of the leading head points of the first picture and the second picture.
[0140] The embodiment of the present application implements the long gap leader development speed calculation method through computer software, which can not only accurately calculate the long gap leader development speed, but also reduce the cost of human labor and quickly obtain the calculation result.
[0141] Another embodiment of the present application provides a computer-readable medium storing computer-executable instructions for executing the above Figure 1 The application of the long gap discharge leader development velocity calculation method is shown.
[0142] Another embodiment of the present application provides a terminal, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for calculating the development speed of a long gap discharge leader when executing the computer program.
[0143] Specifically, the processor may be a CPU, a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0144] Specifically, the processor is connected to the memory via a bus, and the bus may include a path for transmitting information. The bus may be a PCI bus or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.
[0145] The memory can be a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, or an EEPROM, CD-ROM or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to this.
[0146] Optionally, the memory is used to store the code of the computer program for executing the solution of the present application, and the execution is controlled by the processor. The processor is used to execute the application program code stored in the memory to implement Figure 1 The illustrated embodiment provides an action for calculating the long gap discharge leader development speed.
[0147] The embodiments of the present invention are described in detail above with reference to the accompanying drawings. However, the present invention is not limited to the above embodiments. Various changes can be made within the knowledge scope of ordinary technicians in the technical field without departing from the purpose of the present invention.
Claims
1. A method for calculating the leader development speed of a long gap discharge, characterized in that: The following steps are involved: Obtain a collection of long-gap discharge photos; Rotate the image so that the discharge direction in the image is downward; Acquire the time interval between the pictures in the long gap discharge photo set; Identify the leading head point of each picture in the long gap discharge photo set, and obtain the image coordinates of the leading head point of each picture; According to the time interval between the first picture and the second picture in the long gap discharge photo set and the image coordinates of the leader head points of the first picture and the second picture, the leader longitudinal development speed corresponding to the first picture is calculated; specifically including: Determine, according to the image coordinates of the leading head points of the first picture and the second picture, a pixel distance between the leading head points of the first picture and the second picture; Determine the actual distance corresponding to the leader head point of the first image and the second image according to the pixel distance: search for the starting leader head point and the breakdown leader head point of the long gap discharge from the leader head points of each image in the long gap discharge photo set; obtain the actual gap distance; determine the actual distance corresponding to the adjacent pixel points in the discharge direction according to the actual gap distance, the image coordinates of the starting leader head point and the breakdown leader head point; determine the actual distance corresponding to the leader head point according to the actual distance corresponding to the adjacent pixel points and the image coordinates of the leader head points of the first image and the second image; The leader longitudinal development speed corresponding to the first picture is determined according to the actual distance corresponding to the leader head point and the time interval between the first picture and the second picture.
2. The method for calculating the long gap discharge leader development speed according to claim 1, characterized in that: After the step of obtaining the long gap discharge photo set, the method further includes: Each picture in the long gap discharge photo set is converted into a grayscale image.
3. The method for calculating the long gap discharge leader development speed according to claim 2, characterized in that: The step of identifying the leading head point of each picture in the long gap discharge photo set and obtaining the image coordinates of the leading head point of each picture specifically includes: Get the maximum gray value g in each picture in the long gap discharge photo set max ; Select the image with the maximum gray value g in each image max Pixel points, get the point set corresponding to each picture; Determine a specific point in the point set corresponding to each image, use the specific point in each point set as the leading head point of the corresponding image, and obtain the ordinate of the leading head point.
4. The method for calculating the long gap discharge leader development speed according to claim 3 is characterized in that: If there is only one point in the point set, the point is the leading head point of the image corresponding to the point set.
5. A device for calculating the development speed of a long gap discharge leader, comprising: A photographing module capable of acquiring a collection of long-gap discharge photos; Image preprocessing module, which can rotate the image so that the discharge direction in the image is downward; A pre-input module capable of acquiring the time intervals between the pictures in the long gap discharge photo set; An identification module capable of identifying the leading head point of each picture in the long gap discharge photo set and obtaining the image coordinates of the leading head point of each picture; The calculation module is capable of calculating the leader longitudinal development speed corresponding to the first picture according to the time interval between the first picture and the second picture in the long gap discharge photo set and the image coordinates of the leader head points of the first picture and the second picture; specifically comprising: Determine, according to the image coordinates of the leading head points of the first picture and the second picture, a pixel distance between the leading head points of the first picture and the second picture; Determine the actual distance corresponding to the leader head point of the first image and the second image according to the pixel distance: search for the starting leader head point and the breakdown leader head point of the long gap discharge from the leader head points of each image in the long gap discharge photo set; obtain the actual gap distance; determine the actual distance corresponding to the adjacent pixel points in the discharge direction according to the actual gap distance, the image coordinates of the starting leader head point and the breakdown leader head point; determine the actual distance corresponding to the leader head point according to the actual distance corresponding to the adjacent pixel points and the image coordinates of the leader head points of the first image and the second image; The leader longitudinal development speed corresponding to the first picture is determined according to the actual distance corresponding to the leader head point and the time interval between the first picture and the second picture.
6. The long gap discharge leader development speed calculation device according to claim 5, characterized in that: The image preprocessing module also includes: Each picture in the long gap discharge photo set is converted into a grayscale image.
7. A terminal device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method according to any one of claims 1 to 4.
8. A computer-readable medium, characterized in that The readable medium stores computer software therein, and when the computer software is running, it can implement the method for calculating the long gap discharge leader development speed described in any one of claims 1 to 7.
