Image color difference detection method based on feature perception and multi-channel learning

The image color difference detection method through feature perception and multi-channel learning solves the problem of complex texture and pattern image detection, achieves high-speed and high-precision color difference detection of industrial images, and improves detection accuracy and reliability.

CN114581536BActive Publication Date: 2024-09-20SOUTH CHINA UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210180091.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-25
Publication Date
2024-09-20
Estimated Expiration
2042-02-25

AI Technical Summary

Technical Problem

In industrial image detection, it is difficult to detect color differences in complex texture and pattern images, and missed detections are prone to occur. Especially in X-ray images and PCBA images, unstable object features and complex textures make detection difficult.

Method used

An image color difference detection method based on feature perception and multi-channel learning is adopted. The multi-channel learning module is used to obtain comprehensive features of the image. The feature perception module is combined with the feature perception module to mine small color difference changes in complex textures. The region proposal network and the predictive regression network are used for color difference detection and construction. training set and iteratively train the color difference detection network.

Benefits of technology

It achieves high-speed and high-precision color difference detection of complex texture and pattern images, improves the accuracy and reliability of X-ray image and PCBA defect detection, and is suitable for a variety of industrial visual inspection scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure QLYQS_1
    Figure QLYQS_1
  • Figure QLYQS_2
    Figure QLYQS_2
  • Figure QLYQS_3
    Figure QLYQS_3
Patent Text Reader

Abstract

The present invention discloses an image color difference detection method based on feature perception and multi-channel learning, comprising: 1) constructing a training set for training a color difference detection network, the color difference detection network is composed of a multi-channel learning module, a feature perception module, a region proposal network and a prediction regression network; 2) inputting an image into the multi-channel learning module to obtain a comprehensive feature map of the image; 3) inputting the comprehensive feature map of the image into the feature perception module to obtain a perception weighted feature map; 4) inputting the perception weighted feature map into the region proposal network to obtain a block feature map; 5) inputting the block feature map into the prediction regression network to obtain a color difference offset and position, calculating the loss with the true value, and back-propagating the adjustment parameters; 6) iteratively training to a preset value to determine the color difference detection network; 7) inputting the image to be detected into the color difference detection network to obtain a color difference offset and position. The present invention can realize high-speed and high-precision color difference detection of images with complex textures and patterns.
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 detection, and in particular to an image color difference detection method based on feature perception and multi-channel learning. Background Art

[0002] With the development of intelligence in the industrial field, more and more industrial inspection tasks are beginning to use visual inspection systems to replace manual inspection, such as X-ray image hazardous goods inspection and PCBA (Printed Circuit Board Assembly) defect inspection.

[0003] X-ray images are images obtained by X-rays penetrating the object to be inspected and rendering different colors according to the different densities of the object. They are often used for security inspections to identify dangerous goods. PCBA is a circuit board with various components installed by patch or punching. In order to ensure production quality, the circuit board needs to be imaged and inspected before leaving the factory. In the visual inspection system, the texture color difference information between dangerous goods and background in X-ray images or between defects and normal products in PCBA images can be used for target detection.

[0004] Compared with natural scene images, the above industrial images are easily disturbed by noise or other factors during the imaging process. For example, when objects are stacked or the imaging angle is distorted in X-ray images, the features of dangerous goods objects are unstable and easily overlap with background features, making them difficult to detect. When the PCBA has a complex bottom and dense components, the resulting image has complex textures and patterns, and defect color differences are difficult to detect. If there are stains, missed detections and false detections are more likely to occur. In the above cases where the texture is complex and the object features are unstable, the task target detection is more difficult, so the color difference detection of complex texture and pattern images has always been a difficult problem that needs to be solved urgently.

[0005] In recent years, the development of the transportation and express delivery industries has created tremendous pressure on X-ray baggage / express delivery security inspections. PCBA is a core component of common home appliances such as air conditioners, electric water heaters, washing machines, refrigerators, etc. Its quality inspection is related to the safe production and reliable use of home appliances. Therefore, it is urgent to develop accurate and reliable algorithms to solve the above industrial inspection problems. Summary of the invention

[0006] The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art, and proposes an image color difference detection method based on feature perception and multi-channel learning. The multi-channel learning module is used to obtain the comprehensive features of the image, and then the feature perception module is used to distinguish the complex texture of the image while mining the slight color difference changes of the image, so as to realize high-speed and high-precision color difference detection of images with complex textures and patterns.

[0007] To achieve the above object, the technical solution provided by the present invention is: an image color difference detection method based on feature perception and multi-channel learning, comprising the following steps:

[0008] 1) Collecting images with complex textures and patterns, marking the color difference offset and position of the color difference in the image, and constructing a training set for training the color difference detection network; wherein the color difference detection network is composed of a multi-channel learning module, a feature perception module, a region proposal network and a prediction regression network;

[0009] 2) Input the images in the training set into the color difference detection network for training. The specific process is as follows:

[0010] 2.1) Image input multi-channel learning module to obtain comprehensive feature maps of the image;

[0011] 2.2) Input the comprehensive feature map of the image into the feature perception module to obtain the feature map after perceptual weighting;

[0012] 2.3) Input the perceptually weighted feature map into the region proposal network to obtain the feature map of the block judged by the network to have color difference abnormalities;

[0013] 2.4) Input the block feature map into the prediction regression network to obtain the abnormal position and offset of the chromatic aberration, perform operations with the actual abnormal position and offset of the chromatic aberration, calculate the loss, and adjust the parameters of the multi-channel learning module, feature perception module and prediction regression network through back propagation of the loss function;

[0014] 3) Return to step 2), re-input the images in the training set into the adjusted color difference detection network for iterative training, and continuously repeat steps 2) to 3) until the number of training times exceeds the preset number of iterations, and determine the network obtained at the last time as the trained color difference detection network;

[0015] 4) Input the image with complex textures and patterns to be detected into the trained color difference detection network, identify the color difference anomalies exceeding the threshold and mark the color difference offset and position in the image to complete the color difference detection of the image with complex textures and patterns.

[0016] Further, in step 1), the image with complex textures and patterns is an X-ray image of a courier package with many items imaged under an X-ray machine or an image of a PCBA with a complex textured bottom obtained under an optical imaging device, which is an RGB format image with annotated color difference positions and color difference offset values ​​to construct a training set.

[0017] Further, in step 2.1), the multi-channel learning module includes two steps: channel transformation and channel feature extraction:

[0018] 2.1.1) In the channel conversion step, the original RGB format image is converted into an HSV format image and a YUV' format image, and the following operations are performed on each pixel in the image:

[0019] C max =max(R,G,B),C min =min(R,G,B),Δ=C max -C min

[0020]

[0021] Y=0.299·R+0.587·G+0.114·B, U=(BY) / 1.772, V'=(RY) / 1.402

[0022] In the formula, C max is the maximum value of the three RGB channel values ​​of the pixel point, C min is the minimum value of the three RGB channel values ​​of the pixel point, and Δ is C max With C min The difference between the two, (R, G, B) is the value of the three channels of RGB of the pixel point, (H, S, V) and (Y, U, V') are the corresponding channel values ​​of the converted HSV format and YUV' format respectively, and · is the multiplication operation;

[0023] 2.1.2) In the channel feature extraction step, different convolutional layers are used to extract channel features of all 9 channels of the image to obtain a comprehensive feature map of the image:

[0024] f i [x,y]=I i [x,y]*w i [d,e],i∈{R,G,B,H,S,V,Y,U,V'}

[0025] In the formula, f i [x,y] represents the feature map corresponding to channel i, I i [x,y] is the image corresponding to channel i, w i [d,e] represents the convolution kernel in the convolution layer corresponding to channel i, and * represents the convolution operation.

[0026] Furthermore, in step 2.2), the overall image features are input into the feature perception module to obtain a perceptually weighted feature map:

[0027] Weighted summation of feature maps of different channels:

[0028]

[0029] Concatenate the feature maps of different channels in pairs and then perform weighted summation:

[0030]

[0031] The feature map C obtained by summing the above two steps 0 [x,y] and C 1 [x, y] are concatenated and passed through k layers of convolution to obtain the perceptually weighted feature map:

[0032]

[0033] In the above three formulas, f i [x,y] and f j [x, y] represents the feature maps corresponding to the i channel and j channel respectively, (R, G, B) is the value of the three channels of RGB of the pixel point, (H, S, V) and (Y, U, V') are the corresponding channel values ​​in the converted HSV format and YUV' format respectively, δ i and δ ij is the perceptual weight corresponding to different channels, is the convolution kernel from the 1st layer to the kth layer, * is the convolution operation, · is the multiplication operation, and C[x, y] is the perceptually weighted feature map.

[0034] Further, in step 2.3), the perceptually weighted feature map is input into the region proposal network (RPN, a proprietary network) to obtain the feature map of the block judged by the network to have color difference abnormalities:

[0035] {m 1 [x,y],……,m n [x,y]}=RPN(C[x,y])

[0036] In the formula, C[x,y] is the perceptually weighted feature map, RPN() is the region proposal network, and m 1 [x,y],......,m n [x,y] is a feature map of n blocks with a high probability of color difference.

[0037] Further, the step 2.4) comprises the following steps:

[0038] 2.4.1) Input the block feature map into the prediction regression network to obtain the chromatic aberration abnormal position and chromatic aberration offset;

[0039] Color difference offset value prediction: z r =H(m r [x,y])

[0040] In the formula, m r [x,y] is the feature map of the block with a high probability of color difference, H() is the prediction part of the prediction regression network, z ris the predicted color difference offset value;

[0041] Bounding box prediction: [x o ,y o ,h,w]=G(m r [x,y])

[0042] In the formula, G() is the regression part of the prediction regression network, [x o ,y o ,h,w] is the color difference abnormal position output by the network, and the center coordinates [x o ,y o ] and width and height [h,w] describe a border;

[0043] 2.4.2) Calculate the predicted value and the actual color difference abnormal position and color difference offset, calculate the loss, and adjust the parameters of the multi-channel learning module, feature perception module and prediction regression network through back propagation of the loss function;

[0044] Loss function:

[0045]

[0046] L pre =-(z r ·log(P r )+(1-z r )·log(1-P r ))

[0047]

[0048] Where, L pre represents the color difference offset prediction loss, represents the bounding box regression loss, L represents the total loss, and P r Indicates the true color difference offset value, t i represents the predicted position parameter vector, represents the true position parameter vector, (x o * ,y o * ,h * ,w * ) is the center coordinate of the real frame [x o * ,y o * ] and width and height [h * ,w * ].

[0049] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0050] 1. The multi-channel learning module designed by the method of the present invention is not limited to the information utilization of the original channels of the image. By utilizing the multi-channel information of the image through channel transformation, more comprehensive features of the complex texture image can be obtained.

[0051] 2. The feature perception module designed by the method of the present invention can perceive features that are effective for color difference detection when the image has complex textures, mine the slight color difference changes of the image, and realize color difference detection of images with complex textures and patterns.

[0052] 3. The accuracy of the method of the present invention in X-ray image contraband detection and PCBA defect detection tasks is higher than that of other detection methods, and it can effectively realize high-speed and high-precision color difference detection of images with complex textures and patterns.

[0053] 4. The method of the present invention has broad application prospects in industrial visual inspection and can be applied to a variety of task inspection scenarios. DETAILED DESCRIPTION

[0054] The present invention is further described in detail below in conjunction with examples, but the embodiments of the present invention are not limited thereto.

[0055] This embodiment discloses an image color difference detection method based on feature perception and multi-channel learning, comprising the following steps:

[0056] 1) Collect images with complex textures and patterns, which can be X-ray images of express parcels with many items imaged under an X-ray machine or images of PCBA with complex textured bottom boards obtained under an optical imaging device. The images are in RGB format, and the color difference positions (dangerous goods or defects) and color difference offset values ​​are marked to construct a training set for training a color difference detection network, wherein the color difference detection network consists of a multi-channel learning module, a feature perception module, a region proposal network, and a prediction regression network.

[0057] 2) Input the images in the training set into the color difference detection network for training. The specific process is as follows:

[0058] 2.1) The image is input into the multi-channel learning module to obtain the comprehensive feature map of the image. The multi-channel learning module includes two steps: channel transformation and channel feature extraction:

[0059] 2.1.1) In the channel conversion step, the original RGB format image is converted into an HSV format image and a YUV' format image, and the following operations are performed on each pixel in the image:

[0060] C max =max(R,G,B),C min =min(R,G,B),Δ=C max -C min

[0061]

[0062] Y=0.299·R+0.587·G+0.114·B, U=(BY) / 1.772, V'=(RY) / 1.402

[0063] In the formula, C max is the maximum value of the three RGB channel values ​​of the pixel point, C min is the minimum value of the three RGB channel values ​​of the pixel point, and Δ is C max With C min The difference between the two, (R, G, B) is the value of the three channels of RGB of the pixel point, (H, S, V) and (Y, U, V') are the corresponding channel values ​​of the converted HSV format and YUV' format respectively, and · is the multiplication operation.

[0064] 2.1.2) In the channel feature extraction step, different convolutional layers are used to extract channel features of all 9 channels of the image to obtain a comprehensive feature map of the image:

[0065] f i [x,y]=I i [x,y]*w i [d,e],i∈{R,G,B,H,S,V,Y,U,V'}

[0066] In the formula, f i [x,y] represents the feature map corresponding to channel i, I i [x,y] is the image corresponding to channel i, w i [d,e] represents the convolution kernel in the convolution layer corresponding to channel i, and * represents the convolution operation.

[0067] The specific process of each convolution is as follows:

[0068]

[0069] In the formula, I[x,y] is the image, w[d,e] is the convolution kernel, and f[x,y] is the feature obtained after convolution. 1 Represents the length of the convolution kernel, n 2 Represents the width of the convolution kernel, and I[x+d,y+e] represents the position of the image pixel being convolved.

[0070] After the image passes through the multi-channel learning module, comprehensive features with sufficient image information are learned. RGB images only reflect color information, while HSV and YUV' images can represent the hue, brightness, and saturation of the image, and can perceive color connections more accurately, which is conducive to the subsequent detection of slight color differences.

[0071] 2.2) Input the overall feature map of the image into the feature perception module to obtain the perceptually weighted feature map:

[0072] Weighted summation of feature maps of different channels:

[0073]

[0074] Concatenate the feature maps of different channels in pairs and then perform weighted summation:

[0075]

[0076] The feature map C obtained by summing the above two steps 0 [x,y] and C 1 [x, y] are concatenated and passed through k layers of convolution to obtain the perceptually weighted feature map:

[0077]

[0078] In the above three formulas, f i [x,y] and f j [x, y] represent the feature maps corresponding to channel i and channel j respectively, δ i and δ ij is the perceptual weight corresponding to different channels, is the convolution kernel from the 1st layer to the kth layer, * is the convolution operation, · is the multiplication operation, and C[x, y] is the perceptually weighted feature map.

[0079] Different channels contain different information and contribute differently to the color difference detection process. The feature perception module strengthens the features that are beneficial to color difference detection through learning and weakens the influence of irrelevant features, so that it can cope with color difference detection under complex textures.

[0080] 2.3) Input the perceptually weighted feature map into the region proposal network (RPN, a proprietary network) to obtain the feature map of the blocks judged by the network to have color difference anomalies (dangerous goods or defects):

[0081] {m 1 [x,y],......,m n [x,y]}=RPN(C[x,y])

[0082] In the formula, C[x,y] is the perceptually weighted feature map, RPN() is the region proposal network, and m 1 [x,y],......,m n [x,y] is a feature map of n blocks with a high probability of color difference.

[0083] In the process of generating the block feature map, each point in the image feature map is defined as an anchor point. Each anchor point defines 9 anchor frames with itself as the center. The anchor frames that exceed the image area are removed, and the remaining anchor frames m are i [x,y] is classified into two categories p i =F(m i [x,y]) and bounding box regression [x o ',y o ',h',w']=g(m i [x,y]). Where F() represents a binary classifier and g() represents a linear regression function.

[0084] In the training process of the binary classifier, when the intersection-and-union ratio between the anchor frame and the true marked frame is greater than 0.7, it is judged as a color difference abnormality (dangerous goods or defects), and less than 0.3, it is judged as a normal class. In the actual detection process, when the binary classification output z is less than the set confidence threshold, it means that the anchor frame is a non-color difference abnormal block and does not enter the subsequent steps. Otherwise, it means that the anchor frame is a color difference abnormal block, and a bounding box regression operation is performed on it. The final output is the coordinates of the center point of the anchor frame and the width and height [x o ',y o During the training process of bounding box regression, the offset between the effective anchor box and the true labeled box can be calculated, and the obtained difference can be used to learn to adjust the size of the anchor box so that it can better frame the object.

[0085] The color difference abnormal anchor boxes are screened using non-maximum suppression to remove overlapping anchor boxes. The top n anchor boxes with the highest confidence are then taken as the color difference abnormal block feature map for subsequent processing.

[0086] The region proposal network uses its own loss function back propagation for training, the goal is to minimize the following loss function:

[0087]

[0088] Where L' cls is the binary classification loss, is the regression loss, p i is the predicted value of the anchor box, is the true value of the anchor box. If the anchor box is a color difference anomaly, then is 1, otherwise it is 0, λ is the loss weight, t i ' is a vector representing the predicted coordinates of the anchor box, is the coordinates of the real marking box, including the center point coordinates and width and height (x o * ,y o * ,h * ,w *). When the anchor box is non-color-difference anomaly, it does not participate in the calculation of regression loss. N cls Indicates the total number of samples involved in the binary classification, N reg Indicates the total number of samples involved in bounding box regression.

[0089] 2.4) Input the block feature map into the prediction regression network to obtain the chromatic aberration abnormal position and chromatic aberration offset, perform operations with the actual chromatic aberration abnormal position and chromatic aberration offset, calculate the loss, and adjust the parameters of the multi-channel learning module, feature perception module and prediction regression network through back propagation of the loss function.

[0090] 2.4.1) Input the block feature map into the prediction regression network to obtain the chromatic aberration abnormal position and chromatic aberration offset.

[0091] Color difference offset value prediction: z r =H(m r [x,y])

[0092] In the formula, m r [x,y] is the feature map of the block with a high probability of color difference, H() is the prediction part of the prediction regression network, z r is the predicted color difference offset value.

[0093] Bounding box prediction: [x o ,y o ,h,w]=G(m r [x,y])

[0094] In the formula, G() is the regression part of the prediction regression network, [x o ,y o ,h,w] is the color difference abnormal position output by the network, and the center coordinates [x o ,y o ] and width and height [h,w] describe a bounding box.

[0095] 2.4.2) Calculate the predicted value and the actual color difference abnormal position and color difference offset, calculate the loss, and adjust the parameters of the multi-channel learning module, feature perception module and prediction regression network through back propagation of the loss function.

[0096] Loss function:

[0097]

[0098] L pre =-(z r ·log(P r )+(1-z r )·log(1-P r ))

[0099]

[0100] Where, L pre represents the color difference offset prediction loss, represents the bounding box regression loss, L represents the total loss, and P r Indicates the true color difference offset value, t i represents the predicted position parameter vector, represents the true location parameter vector.

[0101] 3) Return to step 2), re-input the images in the training set into the adjusted color difference detection network for iterative training, and continuously repeat steps 2) to 3) until the number of training times exceeds the preset number of iterations. The network obtained at the last time is determined as the trained color difference detection network.

[0102] 4) Input the image with complex textures and patterns to be detected into the trained color difference detection network, identify the color difference anomalies exceeding the threshold and mark the color difference offset and position in the image to complete the color difference detection of the image with complex textures and patterns.

[0103] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. An image color difference detection method based on feature perception and multi-channel learning, characterized in that: The following steps are involved: 1) Collecting images with complex textures and patterns, marking the color difference offset and position of the color difference in the image, and constructing a training set for training the color difference detection network; wherein the color difference detection network is composed of a multi-channel learning module, a feature perception module, a region proposal network and a prediction regression network; 2) Input the images in the training set into the color difference detection network for training. The specific process is as follows: 2.1) Image input multi-channel learning module to obtain comprehensive feature maps of the image; 2.2) Input the overall feature map of the image into the feature perception module to obtain the perceptually weighted feature map: Weighted summation of feature maps of different channels: Concatenate the feature maps of different channels in pairs and then perform weighted summation: The feature maps C0[x,y] and C1[x,y] obtained by summing the above two steps are concatenated and passed through k layers of convolution to obtain the perceptually weighted feature map: In the above three formulas, f i [x,y] and f j [x, y] represents the feature maps corresponding to the i channel and j channel respectively, (R, G, B) is the value of the three channels of RGB of the pixel point, (H, S, V) and (Y, U, V') are the corresponding channel values ​​in the converted HSV format and YUV' format respectively, δ i and δ ij is the perceptual weight corresponding to different channels, is the convolution kernel from the 1st layer to the kth layer, * is the convolution operation, · is the multiplication operation, and C[x, y] is the feature map after perceptual weighting; 2.3) Input the perceptually weighted feature map into the region proposal network to obtain the feature map of the block judged by the network to have color difference abnormalities: {m1[x, y],……,m n [x, y]}=RPN(C[x, y]) Where C[x,y] is the perceptually weighted feature map, RPN() is the region proposal network, m1[x,y],......,m n [x,y] is a feature map of n blocks with a high probability of color difference; 2.4) Input the block feature map into the prediction regression network to obtain the abnormal position and offset of the color difference, perform operations with the actual abnormal position and offset of the color difference, calculate the loss, and adjust the parameters of the multi-channel learning module, feature perception module and prediction regression network through back propagation of the loss function; including the following steps: 2.4.1) Input the block feature map into the prediction regression network to obtain the chromatic aberration abnormal position and chromatic aberration offset; Chromatic aberration offset prediction: z r =H(m r [x,y]) In the formula, m r [x,y] is the feature map of the block with a high probability of color difference, H() is the prediction part of the prediction regression network, z r is the predicted color difference offset; Bounding box prediction: [x o ,y o ,h,w]=G(m r [x,y]) In the formula, G() is the regression part of the prediction regression network, [x o ,y o , h, w] is the color difference abnormal position output by the network, and the center coordinates [x o ,y o ] and width and height [h,w] describe a border; 2.4.2) Calculate the predicted value and the actual color difference abnormal position and color difference offset, calculate the loss, and adjust the parameters of the multi-channel learning module, feature perception module and prediction regression network through back propagation of the loss function; Loss function: L pre =-(z r ·log(P r )+(1-z r )·log(1-P r )) Where, L pre represents the color difference offset prediction loss, represents the bounding box regression loss, L represents the total loss, and P r Indicates the true color difference offset value, t i represents the predicted position parameter vector, represents the true position parameter vector, (x o * ,y o * ,h * ,w * ) is the center coordinate of the real frame [x o * ,y o * ] and width and height [h * ,w * ]; 3) Return to step 2), re-input the images in the training set into the adjusted color difference detection network for iterative training, and continuously repeat steps 2) to 3) until the number of training times exceeds the preset number of iterations, and determine the network obtained at the last time as the trained color difference detection network; 4) Input the image with complex textures and patterns to be detected into the trained color difference detection network, identify the color difference anomalies exceeding the threshold and mark the color difference offset and position in the image to complete the color difference detection of the image with complex textures and patterns.

2. The image color difference detection method based on feature perception and multi-channel learning according to claim 1 is characterized in that: In step 1), the image with complex textures and patterns is an X-ray image of a courier package with many items imaged under an X-ray machine or an image of a PCBA with a complex textured bottom obtained under an optical imaging device. It is an RGB format image with annotated color difference positions and color difference offsets to construct a training set.

3. The image color difference detection method based on feature perception and multi-channel learning according to claim 1 is characterized in that: In step 2.1), the multi-channel learning module includes two steps: channel transformation and channel feature extraction: 2.1.1) In the channel conversion step, the original RGB format image is converted into an HSV format image and a YUV' format image, and the following operations are performed on each pixel in the image: C max =max(R,G,B),C min =min(R,G,B),Δ=C max -C min Y=0.299·R+0.587·G+0.114·B, U=(BY) / 1.772, V′=(RY) / 1.402 In the formula, C max is the maximum value of the three RGB channel values ​​of the pixel point, C min is the minimum value of the three RGB channel values ​​of the pixel point, and Δ is C max With C min The difference between the two, (R, G, B) is the value of the three channels of RGB of the pixel point, (H, S, V) and (Y, U, V′) are the corresponding channel values ​​of the converted HSV format and YUV' format respectively, and · is the multiplication operation; 2.1.2) In the channel feature extraction step, different convolutional layers are used to extract channel features of all 9 channels of the image to obtain a comprehensive feature map of the image: f i [x,y]=I i [x,y]*w i [d,e],i∈{R,G,B,H,S,V,Y,U,V′} In the formula, f i [x, y] represents the feature map corresponding to channel i, I i [x, y] is the image corresponding to channel i, w i [d, e] represents the convolution kernel in the convolution layer corresponding to channel i, and * represents the convolution operation.