Normal sample abnormality inspection image screening method for power equipment intelligent inspection image
By constructing a visual image sample set of power equipment in normal state, performing brightness equalization and image semantic parsing, and extracting features using an image reconstruction network, the problem of image recognition models relying on scarce abnormal samples is solved, and accurate identification and monitoring of equipment defects in complex environments is achieved.
Patent Information
- Application Number
- CN202611173614.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-04
- Publication Date
- 2026-11-24
AI Technical Summary
In existing remote intelligent inspection and monitoring technologies for power equipment, image recognition models rely excessively on scarce abnormal sample data, resulting in poor adaptability to equipment defects in complex environments and a tendency to miss detections.
An initial reference sample set is constructed, which contains visual images of power equipment in normal operation. Interference data is filtered by brightness equalization and image semantic parsing. Normal visual features are extracted using an image reconstruction network. The feature deviation of the image under test is calculated and compared with the feature template of equipment defect category. The defect type labeling result is output.
It effectively eliminates interference from lighting and the environment, accurately identifies equipment defects, reduces the risk of missed detections, and ensures the reliability and accuracy of monitoring data.
Smart Images

Figure CN123160935A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent inspection technology for power systems, and in particular to a method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment. Background Technology
[0002] Intelligent inspection images of power equipment are visual monitoring images acquired using network acquisition terminals. The positive sample anomaly inspection image screening method is a data processing mechanism focused on discovering abnormal features. The computing system first inputs images in a normal state to establish a reference baseline, and then the algorithm model extracts the visual features of the normal state images. Subsequently, the computing system performs feature comparison calculations to identify target images that deviate from the normal baseline, thereby determining the anomalies contained in the target images.
[0003] Existing technologies for remote intelligent inspection and monitoring of power equipment typically employ image classification models to process visual data. Current image recognition mechanisms largely rely on supervised learning processes based on anomaly samples, requiring technicians to collect images with specific defects as training material. After receiving input material, the algorithm model extracts features and performs classification learning on the accumulated anomaly samples, ultimately forming a specific anomaly recognition network. When the computing system inputs newly acquired inspection images, the anomaly recognition network compares them with the learned anomaly features and outputs the anomaly classification result upon successful feature matching.
[0004] Image recognition networks rely excessively on anomalous sample data for training, while the probability of defects in real power operation networks is extremely low, resulting in anomalous sample data being very scarce. This singular and scarce training material makes the data processing algorithm poorly adaptable to complex environments. When external lighting and weather conditions change, the visual features extracted by the recognition model will deviate significantly, leading to missed equipment defects. For example, when a completely new type of damage occurs on the surface of an insulator, because there is no associated damage data in the preset training feature set, the anomaly recognition network cannot establish a correlation between the input image and known defect labels. Ultimately, the computing system directly classifies the image with damage information as a normal image, resulting in incorrect monitoring data management results and causing operational hazards. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this invention provides a method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment. This method solves the technical problem that existing image recognition models rely excessively on scarce abnormal sample data for training, resulting in poor adaptability of data processing algorithms to complex environments and easy omission of equipment defects.
[0006] To solve the above-mentioned technical problems, the specific contents of the present invention are as follows: The present invention provides a method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment, comprising: Obtain an initial reference sample set, which includes visual images of power equipment in normal operation, and the visual images of power equipment contain pixel grayscale distribution data; Perform brightness equalization calculation on the pixel grayscale distribution data and output a set of normal brightness equalization samples, which includes the device outline boundary coordinates; Perform image semantic parsing calculation on the device outline boundary coordinates, filter environmental background interference data, and output a set of normal target subject samples with device subject visual information; Obtain an image reconstruction network, use the image reconstruction network to extract normal state visual features of the target subject's normal sample set, and output the normal feature distribution space and the normal state feature extraction network; Receive the inspection image of the target to be tested; use the normal state feature extraction network to extract the deep visual features of the inspection image of the target to be tested, and output the multi-dimensional feature vector of the target state; Compare the multidimensional feature vector of the target state with the normal feature distribution space to calculate the Euclidean distance and output the feature deviation value; Obtain a preset reference threshold. When the feature deviation value is greater than the preset reference threshold, add an abnormal feature label to the inspection image of the target to be tested and output a suspected defect image data record. Obtain a pre-stored equipment defect category feature template, compare the suspected defect image data record with the equipment defect category feature template, and output the defect type labeling result.
[0007] Furthermore, the method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to the present invention performs brightness equalization calculation on the pixel grayscale distribution data and outputs a set of brightness-balanced normal samples, including: Read the pixel grayscale distribution data; Obtain a target histogram, wherein the target histogram includes a preset gray-level probability density distribution; The pixel grayscale distribution data is adjusted using histogram matching operations to obtain adjusted pixel grayscale distribution data, which then matches the preset grayscale probability density distribution. The adjusted pixel grayscale distribution data is output as the set of normal samples with balanced brightness.
[0008] Furthermore, the method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to the present invention performs image semantic parsing calculation on the equipment contour boundary coordinates, filters environmental background interference data, and outputs a set of normal sample targets containing visual information of the equipment subject, including: Read the coordinates of the device outline boundary; Calculate the mask matrix based on the device outline boundary coordinates; The mask matrix is used to cover the set of normal samples with equal brightness and to remove the background pixel data in the set of normal samples with equal brightness, thereby extracting the main pixels inside the mask matrix; The main pixel is output as the normal sample set of the target main body.
[0009] Furthermore, the method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to the present invention includes: acquiring an image reconstruction network, using the image reconstruction network to extract normal state visual features of the normal sample set of the target subject, and outputting a normal feature distribution space and a normal state feature extraction network, comprising: The image reconstruction network uses an autoencoder network to receive the target subject normal sample set, which contains pixel arrangement information; Compress the pixel arrangement information to output low-dimensional latent features; The low-dimensional latent features are extracted using the decoding network within the image reconstruction network to reconstruct the image; The reconstruction error is calculated by comparing the reconstructed image with the normal sample set of the target subject; The weight parameters of the autoencoder network are updated according to the gradient descent algorithm that minimizes the reconstruction error, and the normal state feature extraction network is output.
[0010] Furthermore, the method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to the present invention, wherein the step of acquiring an image reconstruction network, using the image reconstruction network to extract normal state visual features of the normal sample set of the target subject, and outputting a normal feature distribution space and a normal state feature extraction network, further includes: The normal state feature extraction network is used to read the normal sample set of the target subject and extract a set of normal feature vectors; The Gaussian mixture clustering algorithm is applied to the normal feature vector set to perform clustering operations, and Gaussian distribution components are obtained. Extract the mean vector and covariance matrix of the Gaussian distribution components; The range of the normal operation boundary is defined based on the mean vector and the covariance matrix, and the range of the normal operation boundary is output as the normal feature distribution space.
[0011] Furthermore, the method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to the present invention, after receiving the inspection image of the target to be tested and before extracting the deep visual features of the inspection image of the target to be tested using the normal state feature extraction network, further includes: Acquire grayscale distribution data of the pixels to be tested in the inspection image of the target to be tested, perform the brightness equalization calculation on the grayscale distribution data of the pixels to be tested, and output the brightness equalization image to be tested, the brightness equalization image to be tested includes the outline boundary coordinates of the device to be tested; The image semantic parsing calculation is performed on the contour boundary coordinates of the device under test, and the image of the target body is output. The image of the target subject to be tested is transmitted as the inspection image of the target subject to be tested to the normal state feature extraction network.
[0012] Furthermore, the method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to the present invention utilizes the normal state feature extraction network to extract deep visual features of the inspection image of the target to be tested, and outputs a multi-dimensional feature vector of the target state, including: Obtain the red, green, and blue color channel matrix contained in the inspection image of the target under test; The local texture feature map and global structure feature map of the red, green and blue color channel matrix are extracted using a multi-layer convolutional network; The cascaded local texture feature map and the global structural feature map are subjected to dimensionality reduction pooling calculation to output the target state multidimensional feature vector.
[0013] Furthermore, the method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to the present invention calculates the Euclidean distance by comparing the multidimensional feature vector of the target state with the normal feature distribution space and outputs the feature deviation value, including: Obtain the coordinates of the cluster centers contained in the normal feature distribution space; Calculate the distance between the multidimensional feature vector of the target state and the coordinates of the cluster center; The minimum distance value among the distance values is extracted and output as the feature deviation value.
[0014] Furthermore, the method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to the present invention obtains a preset reference threshold. When the feature deviation value is greater than the preset reference threshold, an abnormal feature label is added to the inspection image of the target to be tested, and a suspected defect image data record is output, including: Obtain a reference light intensity, dynamically calculate an initial threshold based on the reference light intensity, and use the initial threshold as the preset reference threshold; Compare the preset reference threshold with the feature deviation value and calculate the difference; Determine whether the difference is negative; When the difference is negative, it is determined that there is an abnormal deviation. An abnormal feature label is added to the inspection image of the target to be tested, and the suspected defect image data record is output.
[0015] Furthermore, the method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to the present invention obtains a pre-stored equipment defect category feature template, compares the suspected defect image data record with the equipment defect category feature template, and outputs a defect type labeling result, including: Read the local defect texture data of the suspected defect image data record, wherein the suspected defect image data record contains local defect texture data; Obtain the local features of the template contained in the equipment defect category feature template; Compare the local defect texture data with the local features of the template; Calculate the confidence score of the local defect texture data belonging to the equipment defect category feature template; The category with the highest confidence score is output as the defect type labeling result.
[0016] Beneficial effects of this invention: This invention utilizes a large number of readily available images of normal operating conditions to construct an initial reference sample set, and learns the normal visual feature distribution space through an image reconstruction network. This computational process completely changes the situation where traditional image classification models overly rely on scarce outlier samples for training, and solves the data processing bottleneck of difficult data collection of equipment defects in real-world operating networks.
[0017] This invention performs brightness equalization calculations and image semantic parsing calculations on the input image, effectively eliminating lighting interference caused by changes in external light and accurately removing interfering data from environmental background elements. These pre-calculation steps ensure that the image input to the model contains only the visual information of the target subject, significantly reducing the adaptation error caused by changes in external weather and lighting conditions on feature extraction.
[0018] This invention employs a method of calculating the Euclidean distance between the multidimensional feature vector of the target and the normal feature distribution space to quantify the output feature deviation value. Any deviation of the target image from the normal visual representation pattern triggers an anomaly threshold determination. This calculation method can accurately detect novel defect types not present in the pre-stored training set, effectively preventing missed detections caused by rare defects. After screening suspected defect images by calculating feature deviation, this invention further reads local defect texture data and compares it with pre-stored feature templates for various equipment defect categories. The computing system extracts the category with the highest confidence score and outputs the defect type labeling result, thereby ensuring the accuracy and reliability of power equipment monitoring data management results. Attached Figure Description
[0019] To more clearly illustrate the technical solution of the present invention, the drawings used in the embodiments will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on the drawings without creative effort.
[0020] Figure 1 This is a flowchart illustrating the method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to the present invention. Detailed Implementation
[0021] To make the technical solution of the present invention clearer, the present invention will be clearly and completely described below with reference to specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. The present invention provided by various embodiments will be described in detail below with reference to the accompanying drawings. To better understand the purpose of the present invention, the present invention will be described in further detail below.
[0022] Please see Figure 1 The present invention provides a method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment, comprising: Step 1: Obtain an initial reference sample set, which includes visual images of power equipment in normal operation, and the visual images of power equipment contain pixel grayscale distribution data; Step 2: Perform brightness equalization calculation on the pixel grayscale distribution data and output a set of normal brightness equalization samples, which includes the device outline boundary coordinates. Step 3: Perform image semantic parsing calculation on the device outline boundary coordinates, filter environmental background interference data, and output a set of normal target subject samples with device subject visual information; Step 4: Obtain the image reconstruction network, use the image reconstruction network to extract the normal state visual features of the normal sample set of the target subject, and output the normal feature distribution space and the normal state feature extraction network. Step 5: Receive the inspection image of the target to be tested; use the normal state feature extraction network to extract the deep visual features of the inspection image of the target to be tested, and output the multi-dimensional feature vector of the target state; Step 6: Compare the multidimensional feature vector of the target state with the normal feature distribution space to calculate the Euclidean distance and output the feature deviation value; Step 7: Obtain a preset reference threshold. When the feature deviation value is greater than the preset reference threshold, add an abnormal feature label to the inspection image of the target to be tested and output the suspected defect image data record. Step 8: Obtain the pre-stored equipment defect category feature template, compare the suspected defect image data record with the equipment defect category feature template, and output the defect type labeling result.
[0023] This invention provides a main flowchart for screening positive sample abnormal inspection images of intelligent inspection images of power equipment, and the specific steps are as follows: The computing system acquires an initial reference sample set, which includes visual images of power equipment in normal operating condition. In a specific implementation scenario, the visual images of power equipment are high-resolution RGB images captured by a network acquisition terminal when the power equipment is in a defect-free state, and these images contain pixel grayscale distribution data. The computing system performs brightness equalization calculations on the pixel grayscale distribution data, thereby outputting a set of normal samples with balanced brightness, including the coordinates of the equipment's outline boundaries.
[0024] The computing system performs image semantic parsing calculations on the device contour boundary coordinates to filter out environmental background interference data and output a set of normal samples of the target subject containing visual information of the device. In specific implementation scenarios, the image semantic parsing calculations are performed by a fully convolutional segmentation network. The computing system acquires an image reconstruction network, uses the image reconstruction network to extract normal state visual features of the normal sample set of the target subject, and outputs the normal feature distribution space and the normal state feature extraction network.
[0025] The computing system receives the inspection image of the target to be tested, uses the normal state feature extraction network to extract the deep visual features of the inspection image of the target to be tested, and then outputs the multi-dimensional feature vector of the target state.
[0026] The computing system compares the multidimensional feature vector of the target state with the normal feature distribution space to calculate the Euclidean distance and outputs the feature deviation value, where a larger Euclidean distance value indicates a higher probability of anomaly. The computing system obtains a preset reference threshold. When the feature deviation value is greater than the preset reference threshold, an abnormal feature label is added to the inspection image of the target under test, and suspected defect image data is recorded.
[0027] The computing system acquires pre-stored equipment defect category feature templates, compares suspected defect image data records with equipment defect category feature templates, and outputs defect type labeling results. The equipment defect category feature templates include historical feature data of specific defects such as insulator damage, transformer oil leakage, and lead wire breakage.
[0028] The specific process of performing brightness equalization calculations on pixel grayscale distribution data and outputting a set of brightness-equalized normal samples is as follows: The processing system reads pixel grayscale distribution data, specifically the pixel grayscale histogram data. Simultaneously, it acquires a target histogram containing a preset grayscale probability density distribution, where the preset distribution exhibits a uniform, smooth curve. The system then uses histogram matching operations to adjust the pixel grayscale distribution data, resulting in adjusted grayscale data. These operations utilize cumulative distribution function mapping rules to match the adjusted grayscale distribution data with the preset grayscale probability density distribution.
[0029] The computing system outputs the adjusted pixel grayscale distribution data as a set of normal samples for brightness balance. By using histogram matching operations, it can eliminate lighting interference caused by backlighting, overexposure, or shadows.
[0030] The execution logic for performing image semantic parsing calculations on the device outline boundary coordinates, filtering environmental background interference data, and outputting a set of normal sample targets containing visual information of the device subject is as follows: The computing system reads the device outline boundary coordinates, which include the two-dimensional pixel coordinates of the edge of the power equipment.
[0031] The computing system calculates the mask matrix based on the device outline boundary coordinates. In the mask matrix, pixel positions within the range bounded by the device outline boundary coordinates are assigned a value of 1, and pixel positions outside the range bounded by the device outline boundary coordinates are assigned a value of 0.
[0032] The computing system uses a mask matrix to cover a set of normal samples with balanced brightness, and removes the background pixel data contained in the set of normal samples with balanced brightness, and extracts the main pixels within the range enclosed by the mask matrix; the specific calculation process is to perform a pixel-by-pixel multiplication operation between the mask matrix and the set of normal samples with balanced brightness.
[0033] The computing system outputs the main subject pixels as a set of normal samples of the target subject, thereby completely stripping away irrelevant background elements such as the sky, farmland, and roads.
[0034] The computing system uses the autoencoder network contained in the image reconstruction network to receive a set of normal samples of the target subject, and the set of normal samples of the target subject contains pixel arrangement information.
[0035] The computational system compresses pixel arrangement information and outputs low-dimensional latent features; the compression process is performed by multiple convolutional kernels and max pooling layers. The computational system uses the decoding network contained in the image reconstruction network to extract low-dimensional latent features to reconstruct the reconstructed image; the reconstruction process is performed by deconvolutional layers and upsampling layers.
[0036] The computing system compares the reconstructed image with the set of normal samples of the target subject and calculates the reconstruction error; the reconstruction error is quantified by the mean squared error loss function.
[0037] The computing system updates the weight parameters of the autoencoder network according to the gradient descent algorithm that minimizes the reconstruction error. When the reconstruction error converges to the lower limit, the update stops and the normal state feature extraction network is output.
[0038] The computing system utilizes a normal state feature extraction network to read the normal sample set of the target subject, and then extracts a normal feature vector set. The system applies a Gaussian mixture clustering algorithm to perform clustering operations on the normal feature vector set, obtaining Gaussian distribution components; the clustering operation is combined with an expectation-maximization algorithm for parameter iteration. The system extracts the mean vector and covariance matrix of the Gaussian distribution components. Based on the mean vector and covariance matrix, the system defines the range of the normal operation boundary, outputting this range as the normal feature distribution space; the range defining the normal operation boundary is the geometric space of the confidence interval around the mean vector.
[0039] The data processing pre-steps after receiving the inspection image of the target under test are as follows: The computing system acquires the grayscale distribution data of the pixels to be tested contained in the inspection image of the target under test, and performs brightness equalization calculation on the grayscale distribution data of the pixels to be tested, outputting a brightness equalization image of the target under test; the brightness equalization image of the target under test contains the contour boundary coordinates of the device under test. The computing system performs image semantic parsing calculation on the contour boundary coordinates of the device under test, and outputs the main image of the target under test. The computing system transmits the main image of the target under test as the inspection image of the target under test to the normal state feature extraction network. The above calculation process ensures that the inspection image of the target under test has a consistent data distribution pattern with the initial reference sample set.
[0040] This invention provides a computational method for extracting deep visual features of a target inspection image using a normal state feature extraction network: The computing system acquires the red, green, and blue color channel matrix contained in the target inspection image. The computing system uses a multi-layer convolutional network to extract local texture feature maps and global structural feature maps of the red, green, and blue color channel matrix; the local texture feature map includes edge and corner information of the device surface, and the global structural feature map includes the overall shape and topology information of the device. The computing system cascades the local texture feature map and the global structural feature map to perform dimensionality reduction pooling calculation, thereby outputting a multi-dimensional feature vector of the target state; the dimensionality reduction pooling calculation is completed by a global average pooling layer to compress the feature dimension.
[0041] The execution steps for calculating the Euclidean distance between the target state's multidimensional feature vector and the normal feature distribution space are as follows: The computing system obtains the coordinates of the cluster centers contained in the normal feature distribution space. The computing system calculates the distance values between the target state's multidimensional feature vector and the coordinates of the cluster centers. The computing system extracts the minimum distance value from the distance values as the feature deviation value and outputs it; the minimum distance value reflects the quantitative index of the deviation degree of the target's inspection image from the known normal state.
[0042] The quantization logic for acquiring a preset reference threshold and outputting suspected defect image data records is as follows: The computing system acquires a reference illumination intensity, which is obtained by a light sensor and digitized. The computing system dynamically calculates an initial threshold based on the reference illumination intensity. The initial threshold and the reference illumination intensity have a negatively correlated linear mapping relationship, and the initial threshold is used as the preset reference threshold. The computing system compares the preset reference threshold with the feature deviation value and calculates the difference, which is equal to the preset reference threshold minus the feature deviation value. The computing system determines whether the difference is negative. When the difference is negative, the computing system determines that there is an abnormal deviation, adds an abnormal feature label to the inspection image of the target under test, and outputs suspected defect image data records.
[0043] The steps for comparing suspected defect image data records with equipment defect category feature templates and outputting defect type labeling results are as follows: The computing system reads the local defect texture data from the suspected defect image data records, which contain local defect texture data. The computing system obtains the template local features contained in the equipment defect category feature template. The computing system compares the local defect texture data with the template local features; the comparison operation is performed by a cosine similarity calculation algorithm. The computing system calculates the confidence score of the local defect texture data belonging to the equipment defect category feature template. The computing system outputs the category with the highest confidence score as the defect type labeling result. By extracting the item with the highest confidence score, the specific equipment defect type is determined, thereby solving the problem of easily missed equipment defects.
[0044] In the application scenario of automatic inspection of transformer bushings and insulators in 110 kV outdoor substations, strong winds can easily cause atypical foreign object adhesion phenomena such as agricultural film entanglement on the insulator surface. Traditional anomaly identification networks are prone to missed detections due to a lack of specific training samples. To solve the above problems, this embodiment provides a screening mechanism based on positive samples. The network acquisition terminal collects 30,000 high-definition RGB images of normal insulators and bushings under different daily defect-free conditions, such as sunny and rainy weather, and then constructs an initial reference sample set.
[0045] In the image preprocessing stage, the computing system performs histogram matching on the initial reference sample set to eliminate backlight interference. The system then uses a fully convolutional segmentation network to remove background pixels such as the sky and gantry. The system normalizes the image size to 256×256, generating a normal sample set for the target subject. This normal sample set is then input into the autoencoder network within the ResNet-based image reconstruction network. The autoencoder network extracts the normal porcelain skirt texture and contour structure through multiple convolutional kernels, compressing this structure into 256-dimensional latent features. The decoding network receives these latent features through deconvolutional layers and reconstructs the reconstructed image.
[0046] The model training module continuously updates the weight parameters of the autoencoder network within the image reconstruction network by minimizing the mean squared error loss function. When the reconstruction error converges to the lower bound of 0.05, the model training module stops updating the parameters. Based on the converged network parameters, the computation system constructs a normal feature distribution space defined by the mean vector and covariance matrix of the Gaussian distribution components of the normal features.
[0047] When the inspection drone transmits inspection images of the target object wrapped with a new type of agricultural film, the computing system receives the image and performs brightness equalization and mask background removal calculations. The system then inputs the processed image into a pre-trained normal state feature extraction network to extract the target state multidimensional feature vector. Because the agricultural film occlusion disrupts the original regular texture and edge topology of the insulator, the target state multidimensional feature vector deviates significantly from the Gaussian cluster center.
[0048] After comparison and calculation, the distance calculation node compared the target state multidimensional feature vector with the Gaussian cluster center, and the calculated Euclidean distance value reached 8.7. The light sensor obtained the current light intensity as 5000 lux, and the computing system combined the light intensity to dynamically calculate and output a preset reference threshold of 4.2. The Euclidean distance value is much greater than the preset reference threshold, and the computing system determines that the inspection image of the target under test deviates from the normal operating benchmark. The computing system adds abnormal feature tags to the inspection image of the target under test, automatically generates suspected defect image data records, and pushes the suspected defect image data records to the monitoring center's large screen for alarm.
[0049] The anomaly classification model then retrieves pre-stored equipment defect category feature templates. These templates contain 85 defect features, including damage, flashover, and foreign objects. By calculating cosine similarity, the model finds that the local defect texture data has the highest confidence score (0.89) compared to the "foreign object attachment" template. The model ultimately outputs a precise defect type label and automatically triggers a maintenance work order. This entire data processing process eliminates the need for exhaustive enumeration of rare defect samples, enabling accurate screening of equipment anomalies and effectively solving the technical challenge of missed defects in complex environments.
Claims
1. A method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment, characterized in that, include: Obtain an initial reference sample set, which includes visual images of power equipment in normal operation, and the visual images of power equipment contain pixel grayscale distribution data; Perform brightness equalization calculation on the pixel grayscale distribution data and output a set of normal brightness equalization samples, which includes the device outline boundary coordinates; Perform image semantic parsing calculation on the device outline boundary coordinates, filter environmental background interference data, and output a set of normal target subject samples with device subject visual information; Obtain an image reconstruction network, use the image reconstruction network to extract normal state visual features of the target subject's normal sample set, and output the normal feature distribution space and the normal state feature extraction network; Receive the inspection image of the target to be tested; use the normal state feature extraction network to extract the deep visual features of the inspection image of the target to be tested, and output the multi-dimensional feature vector of the target state; Compare the multidimensional feature vector of the target state with the normal feature distribution space to calculate the Euclidean distance and output the feature deviation value; Obtain a preset reference threshold. When the feature deviation value is greater than the preset reference threshold, add an abnormal feature label to the inspection image of the target to be tested and output a suspected defect image data record. Obtain a pre-stored equipment defect category feature template, compare the suspected defect image data record with the equipment defect category feature template, and output the defect type labeling result.
2. The method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to claim 1, characterized in that, Perform brightness equalization calculation on the pixel grayscale distribution data and output a set of normal brightness-equalized samples, including: Read the pixel grayscale distribution data; Obtain a target histogram, wherein the target histogram includes a preset gray-level probability density distribution; The pixel grayscale distribution data is adjusted using histogram matching operations to obtain adjusted pixel grayscale distribution data, which then matches the preset grayscale probability density distribution. The adjusted pixel grayscale distribution data is output as the set of normal samples with balanced brightness.
3. The method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to claim 1, characterized in that, Image semantic parsing calculations are performed on the device outline boundary coordinates to filter environmental background interference data and output a set of normal target subject samples containing visual information of the device, including: Read the coordinates of the device outline boundary; Calculate the mask matrix based on the device outline boundary coordinates; The mask matrix is used to cover the set of normal samples with equal brightness and to remove the background pixel data in the set of normal samples with equal brightness, thereby extracting the main pixels inside the mask matrix; The main pixel is output as the normal sample set of the target main body.
4. The method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to claim 1, characterized in that, An image reconstruction network is obtained, and the network is used to extract normal-state visual features of the target subject's normal sample set. The network outputs a normal feature distribution space and a normal-state feature extraction network, including: The image reconstruction network uses an autoencoder network to receive the target subject normal sample set, which contains pixel arrangement information; Compress the pixel arrangement information to output low-dimensional latent features; The low-dimensional latent features are extracted using the decoding network within the image reconstruction network to reconstruct the image; The reconstruction error is calculated by comparing the reconstructed image with the normal sample set of the target subject; The weight parameters of the autoencoder network are updated according to the gradient descent algorithm that minimizes the reconstruction error, and the normal state feature extraction network is output.
5. The method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to claim 4, characterized in that, The image reconstruction network is used to extract normal-state visual features of the target subject's normal sample set, outputting a normal feature distribution space and a normal-state feature extraction network, and further includes: The normal state feature extraction network is used to read the normal sample set of the target subject and extract a set of normal feature vectors; The Gaussian mixture clustering algorithm is applied to the normal feature vector set to perform clustering operations, and Gaussian distribution components are obtained. Extract the mean vector and covariance matrix of the Gaussian distribution components; The range of the normal operation boundary is defined based on the mean vector and the covariance matrix, and the range of the normal operation boundary is output as the normal feature distribution space.
6. The method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to claim 1, characterized in that, After receiving the inspection image of the target to be tested, and before extracting the deep visual features of the inspection image of the target to be tested using the normal state feature extraction network, the method further includes: Acquire grayscale distribution data of the pixels to be tested in the inspection image of the target to be tested, perform the brightness equalization calculation on the grayscale distribution data of the pixels to be tested, and output the brightness equalization image to be tested, the brightness equalization image to be tested includes the outline boundary coordinates of the device to be tested; The image semantic parsing calculation is performed on the contour boundary coordinates of the device under test, and the image of the target body is output. The image of the target subject to be tested is transmitted as the inspection image of the target subject to be tested to the normal state feature extraction network.
7. The method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to claim 6, characterized in that, The normal state feature extraction network is used to extract deep visual features from the inspection image of the target under test, and outputs a multi-dimensional feature vector of the target state, including: Obtain the red, green, and blue color channel matrix contained in the inspection image of the target under test; The local texture feature map and global structure feature map of the red, green and blue color channel matrix are extracted using a multi-layer convolutional network; The cascaded local texture feature map and the global structural feature map are subjected to dimensionality reduction pooling calculation to output the target state multidimensional feature vector.
8. The method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to claim 1, characterized in that, The Euclidean distance is calculated by comparing the multidimensional feature vector of the target state with the normal feature distribution space, and the feature deviation value is output, including: Obtain the coordinates of the cluster centers contained in the normal feature distribution space; Calculate the distance between the multidimensional feature vector of the target state and the coordinates of the cluster center; The minimum distance value among the distance values is extracted and output as the feature deviation value.
9. The method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to claim 1, characterized in that, Obtain a preset reference threshold. When the feature deviation value is greater than the preset reference threshold, add an abnormal feature label to the inspection image of the target to be tested, and output a suspected defect image data record, including: Obtain a reference light intensity, dynamically calculate an initial threshold based on the reference light intensity, and use the initial threshold as the preset reference threshold; Compare the preset reference threshold with the feature deviation value and calculate the difference; Determine whether the difference is negative; When the difference is negative, it is determined that there is an abnormal deviation. An abnormal feature label is added to the inspection image of the target to be tested, and the suspected defect image data record is output.
10. The method for screening positive sample abnormal inspection images of intelligent inspection images of power equipment according to claim 1, characterized in that, Obtain a pre-stored equipment defect category feature template, compare the suspected defect image data record with the equipment defect category feature template, and output the defect type labeling result, including: Read the local defect texture data of the suspected defect image data record, wherein the suspected defect image data record contains local defect texture data; Obtain the local features of the template contained in the equipment defect category feature template; Compare the local defect texture data with the local features of the template; Calculate the confidence score of the local defect texture data belonging to the equipment defect category feature template; The category with the highest confidence score is output as the defect type labeling result.
