Fuel Injector Detection Method Based on Image Processing

By constructing the atomization curve and calculating the spray centrality, and using the core degree weighted gray value, the problem that the spray grayscale image segmentation cannot accurately detect the nozzle clogging in the existing technology is solved, and the accurate detection of the nozzle clogging is achieved. Improved accuracy of spray quality detection.

CN118365637BActive Publication Date: 2024-08-23SHAANXI SINTEK AVIATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410777149.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-08-23
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

The existing technology cannot accurately determine the clogging of the nozzle when detecting spray grayscale images, which affects the accuracy of spray quality detection of the sprayer.

Method used

By acquiring the side grayscale image ejected from the injector, we construct an atomization curve, calculate the spray centrality and coreness of the pixels, and use the core degree to weight the grayscale value to achieve accurate detection of the clogging of the injector.

Benefits of technology

It improves the accuracy of spray center segmentation results, ensures the accuracy of detection of injector clogging, and enhances the reliability of spray quality detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118365637B
    Figure CN118365637B
Patent Text Reader

Abstract

The present invention relates to the field of image processing technology, and more specifically, to an image processing-based fuel injector detection method, the method comprising: taking the product of the mean and variance of the grayscale values ​​of the surrounding pixel points of the pixel point in the side grayscale image as the center degree of the pixel point, constructing an atomization curve of the row pixel point, taking the absolute value of the difference between the slopes of the adjacent row pixel points of the row where the pixel point is located in the corresponding atomization curve as the first difference, taking the difference between the spray center degrees of the symmetrical pixel points on the left and right sides of the pixel point as the second difference, calculating the core degree of the pixel point, using the core degree to weight the grayscale value of the pixel point to obtain a target grayscale image, and detecting the blockage of the fuel injector. The present invention enhances the contrast between the area where the pixel point with a high probability of being the spray center is located and other areas, ensures the accuracy of the image segmentation result, and thus improves the accuracy of the detection of the blockage of the fuel injector.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and more specifically, to a method for detecting a fuel injection nozzle based on image processing. Background Art

[0002] The spray shape includes atomization effect, spray uniformity, etc. By evaluating the spray shape of the fuel injector, it can be used to detect and evaluate the quality and performance of the fuel injector, and detect defects in the spray shape of the fuel injector. When the fuel injector is blocked, the number of spray centers is greater than 1. When the fuel injector is not blocked, there is only one spray center. Therefore, segmenting the spray image to determine the number of spray centers can achieve efficient detection of the fuel injector.

[0003] In the related art, a method for detecting the spray quality of a sprayer is disclosed in a patent application document with publication number CN116703913A. The method includes: determining the edge cost of each pixel point, judging whether the pixel point is an independent water droplet or an adhered water droplet, and then calculating an atomization uniformity index at a preset distance from the nozzle of the sprayer to judge the spray quality of the sprayer according to the atomization uniformity index.

[0004] However, the above scheme does not take into account the nozzle blockage when segmenting the spray grayscale image, and can only segment the background pixels and non-background pixels. When the nozzle of the sprayer is slightly blocked, there will be at least two spray centers with unclear contrast in the spray grayscale image. The segmentation method of the spray grayscale image in the above scheme cannot accurately segment the number of spray centers in the image, and thus cannot determine the nozzle blockage situation, which will also affect the accuracy of the detection results of the spray quality of the sprayer to a certain extent. Summary of the invention

[0005] In order to solve the problem that the blockage condition of the nozzle cannot be accurately determined by segmenting the spray grayscale image, the present invention proposes a fuel injection nozzle detection method based on image processing.

[0006] According to one aspect of an embodiment of the present invention, a method for detecting a fuel injector based on image processing is provided, the method comprising the following steps:

[0007] Acquire a side grayscale image of the spray from the fuel injector;

[0008] The product of the mean and variance of the grayscale values ​​of the surrounding pixels of the pixel in the side grayscale image is used as the center degree of the pixel, the center degree of the pixel is used as the ordinate, and the position of the pixel in the corresponding row of pixels is used as the abscissa to construct the fogging curve of each row of pixels;

[0009] The spray center degree of the pixel point is calculated. The spray center degree is positively correlated with the center degree of the pixel point. The absolute value of the difference between the slopes of the pixels in the adjacent rows of the pixel point in the corresponding atomization curve is taken as the first difference, and the difference between the spray center degrees of the symmetrical pixels on the left and right sides of the pixel point is taken as the second difference. The core degree of the pixel point is calculated. The core degree is negatively correlated with the first difference and the second difference, and is positively correlated with the spray center degree of the pixel point.

[0010] The grayscale values ​​of the pixels are weighted using the core degree to obtain a target grayscale image, so as to detect the blockage of the fuel injector according to the target grayscale image.

[0011] The core degree calculated by the first difference and the second difference can comprehensively consider the correlation of the pixels around each pixel, ensuring the accuracy of the determination of the core degree. The grayscale value of each pixel is updated based on the core degree with higher accuracy, which can increase the contrast between the pixel that is more likely to be the spray center and other pixels, thereby obtaining accurate segmentation results and ensuring the accuracy of the detection of injector clogging.

[0012] In an exemplary embodiment of the present invention, the coreness of a pixel satisfies the following relationship:

[0013] ;

[0014] in, Indicates The coreness of each pixel; Indicates The spray center of each pixel; Indicates The absolute value of the difference between the slopes of the pixels in the adjacent rows of the row where the pixel point is located in the corresponding fogging curve; Indicates The right symmetrical pixel of the pixel; Indicates The left symmetric pixel of the pixel; Indicates the number of selected right-symmetric pixels or left-symmetric pixels.

[0015] In an exemplary embodiment of the present invention, a method for acquiring symmetrical pixel points on the left and right sides of a pixel point includes:

[0016] Based on a preset distance, a left-symmetric pixel point and a right-symmetric pixel point centered on any pixel point are obtained, and the preset distance is changed to obtain a new left-symmetric pixel point and a new right-symmetric pixel point centered on any pixel point, wherein for any pixel point, all left-symmetric pixel points and all right-symmetric pixel points are pixel points in the same row;

[0017] All left-symmetric pixel points and all right-symmetric pixel points obtained according to different preset distances are used as symmetric pixel points on the left and right sides of any pixel point.

[0018] Selecting symmetrical pixel points based on a preset distance can ensure that the selected symmetrical pixel points are on both sides of the spray center. By utilizing the basic symmetry of the pixel points on both sides of the spray center, the correlation of the pixel points around the corresponding pixel points is considered in the lateral direction, thereby ensuring the accuracy of the possibility that each pixel point is the spray center.

[0019] In an exemplary embodiment of the present invention, the method for acquiring symmetrical pixel points on the left and right sides of a pixel point further includes:

[0020] Based on the preset distance, obtain the left symmetric pixel point and the right symmetric pixel point centered on any pixel point, and determine the first neighboring pixel point of the left symmetric pixel point and the second neighboring pixel point of the right symmetric pixel point;

[0021] The first neighborhood pixel points and the second neighborhood pixel points are taken as symmetrical pixel points on the left and right sides of any pixel point, wherein the size of the first connected domain formed by the first neighborhood pixel points is the same as the size of the second connected domain formed by the second neighborhood pixel points, and they are symmetrical about any pixel point.

[0022] The correlation of any pixel point and the symmetrical pixels in multiple rows of pixels can be considered simultaneously, further ensuring the accuracy of the possibility that each pixel point is determined to be the spray center.

[0023] In an exemplary embodiment of the present invention, a method for acquiring pixel points in adjacent rows of a row where a pixel point is located includes:

[0024] Get the position number of any pixel in the corresponding row of pixels, select pixels with the same position number from the previous row of pixels and the next row of pixels in the row where any pixel is located, and get the adjacent row of pixels of any pixel.

[0025] By selecting adjacent rows of pixels of a pixel, the correlation between the corresponding pixel and the nearest pixel can be considered vertically, so that the difference in the slopes of the adjacent pixels in the corresponding fog curve can accurately reflect the similarity of the changes in the pixels around the corresponding pixel.

[0026] In an exemplary embodiment of the present invention, the spray center degree of a pixel point satisfies the following relationship:

[0027] ;

[0028] in, Indicates The spray center of each pixel; Indicates The centrality of each pixel; Indicates The maximum value of the central degree in the fog curve corresponding to the pixel point; Indicates In the fog curve corresponding to the pixel point, The difference between the horizontal coordinates of the pixel point and the pixel point with the largest central degree; Represents the normalization function.

[0029] In an exemplary embodiment of the present invention, a method for obtaining the center degree of a pixel point in a side grayscale image includes:

[0030] A window of preset size is constructed with the pixel as the center, the grayscale values ​​of all pixels in the window are obtained, the mean and variance of the grayscale values ​​of all pixels are calculated, and the product of the mean and variance is used as the center degree of the corresponding pixel.

[0031] The center degree of each pixel is determined by the grayscale changes of the surrounding pixels and the size of the grayscale value, thus ensuring the accuracy of the center degree of each pixel.

[0032] In an exemplary embodiment of the present invention, detecting the clogging condition of the fuel injector according to the target grayscale image includes:

[0033] Segment the target grayscale image to obtain the number of spray centers;

[0034] When the number of spray centers is equal to 1, the fuel injector is a qualified fuel injector. When the number of spray centers is greater than 1, the fuel injector is clogged.

[0035] By segmenting the target grayscale image, the number of spray centers can be accurately segmented, ensuring the accuracy of injector nozzle clogging detection.

[0036] The present invention has the following beneficial effects:

[0037] In the present invention, the correlation between the adjacent row pixels and the symmetrical pixel points of each pixel point can be comprehensively considered, and when considering the correlation between the pixel point and the adjacent row pixels, it is achieved by constructing an atomization curve, and the change trend of the constructed atomization curve is similar to the grayscale change of the spray center, which ensures the accuracy of the correlation between the adjacent row pixels, so that the accuracy of the calculated core degree of the pixel point is high, and the grayscale value of each pixel point is updated based on the core degree with higher accuracy, which can accurately increase the contrast between the spray center and other areas, thereby improving the accuracy of the target grayscale image segmentation result and achieving the accuracy of the detection of the clogging condition of the injector nozzle. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0039] Figure 1 It is a flowchart of the steps of the fuel injector detection method based on image processing according to an embodiment of the present invention. DETAILED DESCRIPTION

[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0041] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0042] See also Figure 1 The fuel injection nozzle detection method based on image processing includes steps S1-S4, which are as follows:

[0043] S1: Obtain a side grayscale image of the spray from the fuel injector.

[0044] Specifically, a high-definition industrial camera may be used to capture a spray image from the side of the spray sprayed from the fuel injector, and then the spray image may be gray-scaled to obtain a side gray-scale image.

[0045] S2: The product of the mean and variance of the grayscale values ​​of the surrounding pixels of the pixel in the side grayscale image is taken as the center degree of the pixel, the center degree of the pixel is taken as the vertical coordinate, and the position of the pixel in the corresponding row of pixels is taken as the horizontal coordinate, to construct the fogging curve of each row of pixels.

[0046] It should be noted that since the spray center has a certain width, the grayscale values ​​of the pixels at the spray center are higher and closer, and the closer the pixels are to the spray center, the greater the change in grayscale value. In this embodiment, by analyzing the size of the grayscale values ​​of the pixels around each pixel and the grayscale change, the degree to which each pixel is close to the spray center can be determined.

[0047] In an example embodiment of the present invention, the center degree of a pixel point refers to data used to reflect the proximity of the pixel point to the center of the spray. By calculating the center degree of the pixel point, the proximity of each pixel point to the center of the spray can be preliminarily determined, which can be used as basic data to further judge the distance of each data point from the center of the spray.

[0048] The atomization curve refers to a curve constructed by taking the center degree of each pixel in each row of pixels as the ordinate and the position of each pixel in the corresponding row of pixels as the abscissa, which is used to reflect the degree to which each pixel in each row of pixels is close to the center of the spray. When constructing the atomization curve, the selected row of pixels is related to the angle when the side grayscale image is collected, that is, the selected row of pixels is perpendicular to the shooting direction of the side grayscale image, so as to ensure that the change trend of the atomization curve of each row of pixels constructed is consistent with the location of the spray center. This embodiment does not specifically limit the row of pixels selected when constructing the atomization curve.

[0049] In an exemplary embodiment of the present invention, the central degree of a pixel point in a side grayscale image can be determined by the following steps:

[0050] A window of preset size is constructed with the pixel as the center, the mean and variance of the grayscale values ​​of all pixels in the window are calculated, and the product of the mean and variance is used as the centrality of the corresponding pixel.

[0051] Specifically, the preset size can be set to 5 (pixel unit) × 5 (pixel unit) according to the width of the center of the spray sprayed from the injector, and then a window of size 5 (pixel unit) × 5 (pixel unit) can be constructed with the pixel point as the center, so as to preliminarily determine the proximity between the central pixel point in the window and the spray center according to the size and change of the grayscale values ​​of all the pixels in the window. Of course, a window of appropriate size can also be set according to the specific situation. The present embodiment does not specifically limit the size of the set window.

[0052] Optional, when the When building a 5 (pixel unit) × 5 (pixel unit) size window with the pixel point as the center, if the If a complete 5 (pixel unit) × 5 (pixel unit) window cannot be formed as the center of the pixel point, we can directly analyze the The size and change of the grayscale values ​​of all pixels in the incomplete window built with the pixel as the center are used to determine the The proximity of a pixel to the spray center.

[0053] S3: Calculate the spray center degree of the pixel point, which is positively correlated with the center degree of the pixel point. The absolute value of the difference between the slopes of the pixels in the adjacent rows of the pixel point in the corresponding atomization curve is taken as the first difference, and the difference between the spray center degrees of the symmetrical pixels on the left and right sides of the pixel point is taken as the second difference. Calculate the core degree of the pixel point. The core degree is negatively correlated with the first difference and the second difference, and is positively correlated with the spray center degree of the pixel point.

[0054] It should be noted that since the centrality of the pixel can only determine the possibility of each pixel being close to the spray center from a local range, in order to accurately determine whether each pixel is in the spray center, the gap between each pixel and the pixel with the largest centrality can be analyzed, thereby further measuring the proximity of each pixel to the spray center.

[0055] In an exemplary embodiment of the present invention, the spray center degree of a pixel point may be data representing the difference between each pixel point and the pixel point with the largest center degree in the atomization curve, and is used to further measure the degree to which each pixel point is close to the spray center. For example, when the spray center degree of a pixel point is larger, it indicates that the pixel point is closer to the spray center. On the contrary, when the spray center degree corresponding to a pixel point is smaller, it indicates that the pixel point is farther away from the spray center.

[0056] Specifically, the spray center of the pixel satisfies the following relationship:

[0057] ;

[0058] in, Indicates The spray center of each pixel; Indicates The centrality of each pixel; Indicates The maximum value of the central degree in the fog curve corresponding to the pixel point; Indicates In the fog curve corresponding to the pixel point, The difference between the horizontal coordinates of the pixel point and the pixel point with the largest central degree; Represents the normalization function.

[0059] In another embodiment, the calculation of the spray center of the pixel point may be implemented by other formulas, for example, it may be determined by a difference calculation formula instead of a proportional calculation formula.

[0060] The first difference refers to the absolute value of the difference between the slopes of the pixels in the adjacent rows of the row where the pixel is located in the corresponding atomization curve, which is used to determine the data on the similarity of the grayscale changes of the pixels in the adjacent rows of each pixel; the second difference refers to the difference between the spray center degrees of the symmetrical pixels on the left and right sides of the pixel, which is used to determine the data on the similarity of the symmetrical pixels on the left and right sides of each pixel; the core degree of the pixel refers to the final possibility that the pixel is the spray center, which is used to update the grayscale value of each pixel, thereby increasing the contrast between the pixel that is more likely to be the spray center and other pixels, thereby achieving accurate segmentation of the spray center.

[0061] In an exemplary embodiment of the present invention, the following steps may be used to determine the pixel points in the adjacent rows of the row where the pixel point is located:

[0062] Get the position number of any pixel in the corresponding row of pixels, select pixels with the same position number from the previous row of pixels and the next row of pixels in the row where any pixel is located, and get the adjacent row of pixels of any pixel.

[0063] Specifically, if The pixel point in the grayscale image of the side row, and the position number is , then the side grayscale image In the row of pixels, the position number is Pixels, and In the row of pixels, the position number is The pixel point is the The adjacent row pixels of the pixel can be calculated The position number of the pixel point in the fog curve is The slope of the pixel point is The position number of the pixel point in the fog curve is The absolute value of the difference between the slopes of the pixel points is obtained to obtain the first difference.

[0064] In an exemplary embodiment of the present invention, the symmetrical pixel points on the left and right sides of a pixel point may be determined by the following steps:

[0065] Based on a preset distance, left-symmetric pixels and right-symmetric pixels centered on any pixel are obtained, the preset distance is updated, and new left-symmetric pixels and new right-symmetric pixels centered on any pixel are obtained, wherein the preset distance after the update is greater than the preset distance before the update, and for any pixel, all left-symmetric pixels and all right-symmetric pixels are pixels in the same row; all left-symmetric pixels and all right-symmetric pixels obtained according to different preset distances are used as symmetrical pixels on the left and right sides of any pixel.

[0066] It should be noted that, since the spray center has a certain width, a certain spacing distance can be set to ensure that the symmetrical pixels of each pixel are on both sides of the spray center, so that the correlation of the symmetrical pixels on the left and right sides of each pixel can be measured.

[0067] The preset distance may be data set according to the width of the spray center, and is used to ensure that the symmetrical pixel points of the determined pixel points are the pixel points on both sides of the spray center. When the width of the spray center is large, the preset distance may be set to a relatively large value; conversely, when the width of the spray center is small, the preset distance may be set to a smaller value. This embodiment does not specifically limit the size of the preset distance.

[0068] Optionally, you can set the preset distance to 5 (pixel units). The pixel in the row The pixel point is the center. In the row of pixels, pixels to the right, and The pixel points with a distance of 5 (pixel units) are taken as the first The right symmetrical pixel of the pixel In the row of pixels, pixels to the left and The pixel points with a distance of 5 (pixel units) are taken as the first The left symmetric pixel of a pixel.

[0069] Furthermore, the size of the preset distance can be changed, such as updating the preset distance to 6 (pixel unit), and then obtaining new left-symmetrical pixel points and right-symmetrical pixel points, thereby obtaining multiple symmetrical pixel points, so as to determine the correlation of the pixel points on the left and right sides of each pixel point according to the difference in the spray center degree of the symmetrical pixel points. The size of the updated preset distance can be determined according to the specific situation. This embodiment does not specifically limit the range of updating the preset distance.

[0070] In another exemplary embodiment of the present invention, the symmetrical pixel points on the left and right sides of the pixel point may be determined by the following steps:

[0071] Based on a preset distance, a left-symmetric pixel point and a right-symmetric pixel point centered on any pixel point are obtained, and a first neighborhood pixel point of the left-symmetric pixel point and a second neighborhood pixel point of the right-symmetric pixel point are determined; the first neighborhood pixel point and the second neighborhood pixel point are used as symmetric pixel points on the left and right sides of any pixel point, wherein a size of a first connected domain composed of the first neighborhood pixel points is the same as a size of a second connected domain composed of the second neighborhood pixel points, and are symmetrical about any pixel point.

[0072] Among them, the first neighborhood pixel points may be all the pixel points within the eight neighborhoods with the left symmetrical pixel point as the center pixel point, the second neighborhood pixel points may be all the pixel points within the eight neighborhoods with the right symmetrical pixel point as the center pixel point, the first connected domain may be the area composed of all the first neighborhood pixel points, and the second connected domain may be the area composed of all the second neighborhood pixel points. Of course, the appropriate neighborhood range may also be selected according to the specific situation. This embodiment does not specifically limit the selection of the neighborhood range.

[0073] Further, after obtaining the symmetrical pixels on the left and right sides of the pixel using any of the schemes described in this embodiment, the core degree of the pixel can be calculated by combining the difference between the spray center degrees of the symmetrical pixels and the absolute value of the difference between the slopes of the adjacent row pixels in the corresponding atomization curve. Specifically, the core degree of the pixel satisfies the following relationship:

[0074] ;

[0075] in, Indicates The coreness of each pixel; Indicates The spray center of each pixel; Indicates The absolute value of the difference between the slopes of the adjacent rows of pixels in the row where the pixel point is located in the corresponding atomization curve. It should be noted that since the correlation of the pixels closer to the spray center is stronger, the slopes of the two pixels with the same position number in the adjacent rows of pixels are closer, and the absolute value of the difference between the slopes of the two pixels with the same position number in the corresponding adjacent rows of pixels is smaller. Therefore, The smaller, the The closer the pixel is to the center of the spray; Indicates The right symmetrical pixel of the pixel; Indicates The left symmetric pixel of the pixel; Indicates the number of selected right-symmetric pixels or left-symmetric pixels.

[0076] It should be noted that since the atomization curve of each row of pixels is similar to a symmetrical curve with the spray center as the symmetry axis, and the closer the pixel is to the spray center, the stronger the correlation between the pixels at the same pixel position in the neighborhood on both sides of the pixel is. Can reflect the The correlation between the symmetrical pixels on the left and right sides of the pixel, and The smaller, the The stronger the correlation between the symmetrical pixels on the left and right sides of the pixel, the The closer the pixel is to the center of the spray.

[0077] S4: weighting the grayscale values ​​of the pixels using the core degree to obtain a target grayscale image, so as to detect the blockage of the fuel injector according to the target grayscale image.

[0078] In an exemplary embodiment of the present invention, the target grayscale image refers to a grayscale image that can enhance the contrast between the spray center and other areas in the grayscale image of the fuel injector, and is used to determine the number of spray centers, so as to determine whether the fuel injector is blocked according to the number of spray centers. When the core degree of a pixel point is larger, the grayscale value of the updated pixel point is also larger, and when the core degree of a pixel point is smaller, the grayscale value of the updated pixel point is also smaller.

[0079] Specifically, the grayscale values ​​of pixels are weighted using the core degree. The product of the core degree and the grayscale value of each pixel can be calculated first, and then the product is rounded to the integer to obtain the updated grayscale value of each pixel. This can enhance the contrast between the pixel at the center of the spray and the pixel not at the center of the spray, so that the number of spray centers can be accurately segmented, ensuring the accuracy of the detection of injector blockage.

[0080] In an exemplary embodiment of the present invention, the determination of the nozzle clogging condition can be achieved by the following steps:

[0081] The target grayscale image is segmented to obtain the number of spray centers; when the number of spray centers is equal to 1, the fuel injector is a qualified fuel injector, and when the number of spray centers is greater than 1, the fuel injector is clogged.

[0082] Specifically, the OTSU algorithm (Nobuyuki Otsu method) can be used to segment the target grayscale image. When the number of spray centers obtained by segmenting the target grayscale image using the OTSU algorithm (Nobuyuki Otsu method) is 1, it means that the fuel injector is not clogged. When the number of spray centers obtained is greater than 1, it means that the fuel injector is clogged. Therefore, the clogging condition of the fuel injector can be accurately detected based on the segmentation result of the target grayscale image.

[0083] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.

Claims

1. The fuel injector detection method based on image processing is characterized in that: include: Acquire a side grayscale image of the spray sprayed from the fuel injector; The product of the mean and variance of the grayscale values ​​of the surrounding pixels of the pixel in the side grayscale image is used as the center degree of the pixel, the center degree of the pixel is used as the ordinate, and the position of the pixel in the corresponding row of pixels is used as the abscissa, to construct a fogging curve for each row of pixels; Calculate the spray center degree of the pixel point, the spray center degree is positively correlated with the center degree of the pixel point, take the absolute value of the difference between the slopes of the pixels in the adjacent rows of the row where the pixel point is located in the corresponding atomization curve as the first difference, and take the difference between the spray center degrees of the symmetrical pixels on the left and right sides of the pixel point as the second difference, calculate the core degree of the pixel point, the core degree is negatively correlated with both the first difference and the second difference, and is positively correlated with the spray center degree of the pixel point; The grayscale values ​​of the pixels are weighted using the core degree to obtain a target grayscale image, so as to detect the blockage condition of the fuel injector according to the target grayscale image.

2. The fuel injector detection method based on image processing according to claim 1 is characterized in that: The coreness of the pixel satisfies the following relationship: ; in, Indicates The coreness of each pixel; Indicates The spray center of each pixel; Indicates The absolute value of the difference between the slopes of the pixels in the adjacent rows of the row where the pixel point is located in the corresponding fogging curve; Indicates The right symmetrical pixel of the pixel; Indicates The left symmetric pixel of the pixel; Indicates the number of selected right-symmetric pixels or left-symmetric pixels.

3. The fuel injector detection method based on image processing according to claim 2 is characterized in that: The method for acquiring symmetrical pixel points on the left and right sides of the pixel point includes: Based on a preset distance, obtaining a left-symmetric pixel point and a right-symmetric pixel point centered on any pixel point, updating the preset distance, and obtaining a new left-symmetric pixel point and a new right-symmetric pixel point centered on any pixel point, wherein the preset distance after the update is greater than the preset distance before the update, and the any pixel point, all the left-symmetric pixel points and all the right-symmetric pixel points are pixel points in the same row; All left-symmetric pixel points and all right-symmetric pixel points obtained according to different preset distances are used as symmetric pixel points on the left and right sides of any pixel point.

4. The fuel injector detection method based on image processing according to claim 2 is characterized in that: The method for acquiring symmetrical pixel points on the left and right sides of the pixel point also includes: Based on a preset distance, obtain a left-symmetric pixel point and a right-symmetric pixel point centered on any pixel point, and determine a first neighboring pixel point of the left-symmetric pixel point and a second neighboring pixel point of the right-symmetric pixel point; The first neighborhood pixel points and the second neighborhood pixel points are used as symmetrical pixel points on the left and right sides of any pixel point, wherein the size of a first connected domain formed by the first neighborhood pixel points is the same as the size of a second connected domain formed by the second neighborhood pixel points, and they are symmetrical about any pixel point.

5. The fuel injector detection method based on image processing according to claim 1, characterized in that: The method for acquiring pixel points in adjacent rows of the row where the pixel point is located comprises: Obtain the position number of any pixel point in the corresponding row of pixel points, select the pixel point with the same position number from the previous row of pixel points and the next row of pixel points in the row where the any pixel point is located, and obtain the adjacent row of pixel points of the any pixel point.

6. The fuel injector detection method based on image processing according to claim 1, characterized in that: The spray center degree of the pixel point satisfies the following relationship: ; in, Indicates The spray center of each pixel; Indicates The centrality of each pixel; Indicates The maximum value of the central degree in the fog curve corresponding to the pixel point; Indicates In the fog curve corresponding to the pixel point, The difference between the horizontal coordinates of the pixel point and the pixel point with the largest central degree; Represents the normalization function.

7. The fuel injector detection method based on image processing according to claim 1 is characterized in that: The method for obtaining the center degree of the pixel points in the side grayscale image comprises: A window of a preset size is constructed with the pixel as the center, the mean and variance of the grayscale values ​​of all the pixels in the window are calculated, and the product of the mean and variance is used as the center degree of the corresponding pixel.

8. The fuel injector detection method based on image processing according to claim 1, characterized in that: The detecting the blockage condition of the fuel injector according to the target grayscale image comprises: Segmenting the target grayscale image to obtain the number of spray centers; When the number of the spray centers is equal to 1, the fuel injector is a qualified fuel injector, and when the number of the spray centers is greater than 1, the fuel injector is clogged.