Pedestrian infrared image segmentation method and system used under complex conditions

By improving the PCNN model, infrared image segmentation is performed using background scores and cluster center dynamic thresholds, the problem of poor infrared image segmentation effect in complex environments is solved, and more efficient and accurate human target segmentation is achieved.

CN119991703AActive Publication Date: 2025-05-13KUNMING UNIV OF SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510144565.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-10
Publication Date
2025-05-13
Estimated Expiration
2045-02-10

AI Technical Summary

Technical Problem

The prior art has poor infrared image segmentation effect in complex environments, especially in the case of high noise, low contrast, complex background and external heat sources interference, human targets are prone to uneven brightness distribution and are prone to aliasing with the background, resulting in blurred edges and seriously affecting the segmentation effect.

Method used

By improving the pulse coupled neural network (PCNN) model, the infrared image denoising process is performed using visible light image details, and the background scores of each pixel in the image are used as the connection intensity, and the clustering center of the background area is used as the dynamic threshold, an improved PCNN model is constructed for image segmentation.

Benefits of technology

It effectively improves the accuracy and efficiency of infrared image segmentation in complex environments, especially when there is a lot of heat source interference in the background, significantly improves the segmentation effect of human targets and avoids oversegment or undersegment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119991703A_ABST
    Figure CN119991703A_ABST
Patent Text Reader

Abstract

The invention discloses a pedestrian infrared image segmentation method and system used under complex conditions, which are applied to the technical field of infrared image processing, and the method comprises the steps: carrying out the denoising processing of a collected pedestrian infrared image through employing the detail information in a visible light image, and employing a guide image filtering method, and obtaining a processed image; constructing an improved pulse coupling neural network model, including: taking a background score of each pixel in the image as a connection strength, and taking a clustering center of a background region of the image as a dynamic threshold; and performing image segmentation on the processed image by using the improved pulse coupling neural network model to obtain a segmented image. In this way, the improved model obtained through the method can automatically stop according to the segmentation result, the over-segmentation phenomenon is avoided, various infrared pedestrian images with complex environments can be effectively segmented, and the method has a good segmentation effect on infrared images with many heat source interferences in the background.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of infrared image processing, and in particular to a method and system for segmenting infrared images of pedestrians under complex conditions. Background Art

[0002] Infrared imaging is a technology that uses infrared radiation to capture images. Compared with visible light images, infrared images have the advantages of nighttime visibility, detection of hidden thermal targets, and all-weather operation in complex environments. Therefore, they are widely used in pedestrian detection, aerospace, security, military, and assisted driving. Infrared pedestrian segmentation is a key issue in infrared image processing systems. It can help people accurately identify human targets in complex night environments and obtain more detailed information about the targets. It has become one of the research hotspots in the development of machine vision.

[0003] There are many methods for infrared pedestrian segmentation, such as threshold-based segmentation method, clustering-based segmentation method and deep learning-based segmentation method. Among them, the threshold-based segmentation method is simple and easy to implement, but it has poor segmentation effect on infrared images with noise and complex background. The clustering-based method is sensitive to noise. The deep learning-based segmentation method is too dependent on the completeness of the training set. When the sample labels are few or unlabeled, the segmentation effect is poor. The network is too deep, which increases the application. However, when these methods are applied to complex environment images with overlapping target and background grayscale features, over-segmentation or under-segmentation is prone to occur.

[0004] Pulse Coupled Neural Network (PCNN) is a new type of neural network derived from the synchronization phenomenon of γ-band neurons in the visual cortex system of mammals. It simulates the synchronous oscillation phenomenon in the cat visual cortex. PCNN has low computational complexity and high segmentation accuracy and has been widely used in image segmentation. When the existing PCNN model is directly applied to infrared pedestrian segmentation in complex environments, due to factors such as high interference noise, low contrast, complex background, external heat source interference, and the human body being easily hidden and blocked, the human target is prone to uneven brightness distribution and easy to alias with the background, resulting in blurred edges of the human target, which seriously affects the effective segmentation of human targets in infrared images under complex environments. Therefore, the current model still has limited application conditions, and the segmentation effect of some low-quality, high-blur, and complex infrared images is poor, which still needs to be further studied and solved.

[0005] Therefore, there is an urgent need for a technical solution to improve the traditional PCNN to achieve accurate segmentation of infrared images. Summary of the invention

[0006] The present invention provides a method and system for pedestrian infrared image segmentation under complex conditions, which at least solves the technical problems of poor effect and low efficiency in the infrared image segmentation process of the prior art by improving the traditional PCNN solution.

[0007] According to a first aspect of the present disclosure, a method for segmenting pedestrian infrared images under complex conditions is provided, comprising the following steps:

[0008] Using the detailed information in the visible light image and the guided image filtering method, the infrared image of the pedestrian collected is denoised to obtain a processed image;

[0009] An improved pulse coupled neural network model is constructed, including: using the background score of each pixel in the image as the connection strength and using the cluster center of the background area of ​​the image as the dynamic threshold;

[0010] The improved pulse coupled neural network model is used to perform image segmentation on the processed image to obtain a segmented image.

[0011] According to the above aspects and any possible implementation, an implementation is further provided, wherein the improved pulse coupled neural network model is specifically:

[0012]

[0013]

[0014] E ij [n] = m(n)

[0015] Among them, F ij [n] is the feedback input, L ij [n] is the connection input, U ij [n] is the internal activity item, Y ij [n] is the pulse output, S kl is the external stimulus, corresponding to the pixel intensity in the image, (k,l) is the neighborhood of neuron (i,j), M ij,kl and W ij,kl is the weight matrix, E ij [n] is the dynamic threshold, λ is a coefficient to adjust the dynamic threshold and control the model iteration speed. is the connection strength, n is the number of model iterations, and m(n) represents the neuron pulse output.

[0016] According to the above aspects and any possible implementation, an implementation is further provided, wherein the M ij,kl , W ij,kl and λ are specifically:

[0017]

[0018] λ=0.2

[0019] Among them, (i,j) represents the central neuron and (k,l) represents the area neuron.

[0020] According to the above aspect and any possible implementation, an implementation is further provided, wherein the connection strength is calculated as follows:

[0021] The SLIC superpixel segmentation algorithm is used to segment the infrared image into multiple superpixels, and each superpixel is regarded as a node in the graph;

[0022] The generated superpixels are used as vertices to build an undirected graph, and the brightness similarity is used as the edge weight between superpixels;

[0023] Defining a probability transfer matrix of transfer between vertices on the undirected graph, and setting a background score vector of a node;

[0024] The background score vector is iteratively updated, and the updated background score vector is mapped to the original infrared image, and the connection strength is obtained after normalization.

[0025] According to the above aspects and any possible implementation, an implementation is further provided, wherein the process of using the SLIC superpixel segmentation algorithm to segment the infrared image into multiple superpixels is as follows:

[0026] Initialize several superpixel centers to get the initial superpixel center. For an infrared image containing N pixels, the superpixel center C i It can be expressed as (l i ,x i ,y i ), the image is divided into two parts according to the grid step size Divided into k square grids;

[0027] For each initial superpixel center, search the pixels in the 3×3 range around it to find the minimum gradient position;

[0028] The cluster center is changed from the central pixel of the original square pixel group to the minimum gradient point in its neighborhood, and then k initial cluster centers are obtained;

[0029] The characteristic distance D between the pixel points within a 2F×2F range around the initial cluster center and the initial cluster center is calculated, and the pixel points are divided into corresponding superpixel clusters according to the characteristic distance D to obtain multiple superpixels.

[0030] According to the above aspects and any possible implementation, an implementation is further provided, wherein the construction process of the undirected graph is:

[0031] The random walk method is used to build an undirected graph G with the generated superpixels as vertices.<V,E> , where V represents the superpixel vertex set and E represents the undirected edge set connecting two superpixels;

[0032] Connect the two vertices v a and v b The edge of a,b The weight w ab ;

[0033] Gaussian weights are used to represent the weights between two vertices, and brightness similarity is used as the edge weight between superpixels;

[0034] The adjacency matrix of the undirected graph G is constructed based on the edge weights.

[0035] According to the above aspects and any possible implementation, an implementation is further provided, wherein the process of iteratively updating the background score vector and mapping the updated background score vector to the infrared image and obtaining the connection strength after normalization is as follows:

[0036] A probability transfer matrix P of transfer between vertices is defined on the undirected graph G;

[0037] For an infrared pedestrian image, an edge region is used as a background seed, a center region is used as a foreground seed, and an initial background score vector of a node is set based on the background seed and the foreground seed;

[0038] Based on the probability transfer matrix and the initial background score vector, an updated background score vector is obtained in a continuous iterative updating process;

[0039] The updated background score vector is mapped to the infrared image, and after normalization, the connection strength is obtained.

[0040] According to the above aspects and any possible implementation, an implementation is further provided, wherein the method of using the cluster center of the background area of ​​the image as the dynamic threshold is:

[0041] The ignition area is increased from small to large in an iterative and progressive manner, and the background area with relatively low thermal radiation value in the image is gradually segmented. The expression is as follows:

[0042]

[0043] Among them, I ij is the gray value of the pixel with coordinates (i, j) on the original infrared image, Y ij(n) is the pulse output under the current iteration operation, O is the number of row pixels of the original infrared image, P is the number of column pixels of the original infrared image, and m(n) represents the neuron pulse output Y ij (n) Divide the entire image into background Y ij (n) = 1 and target Y ij Under the specific condition of (n)=0, the cluster center of the background is the dynamic threshold.

[0044] According to the above aspects and any possible implementation manner, an implementation manner is further provided, wherein the process of performing image segmentation on the processed image using the improved pulse coupled neural network model to obtain the segmented image is:

[0045] Initializing the improved pulse coupled neural network model and setting model parameters, setting the number of initialization iterations n=1;

[0046] Using the improved pulse coupled neural network model to segment the processed image I to obtain an output segmented image Y;

[0047] It is determined whether the dynamic threshold value continues to increase. If it increases, the number of iterations is automatically increased by 1, and the image segmentation is continued. Otherwise, the segmented image Y is taken as the final segmentation result and output to obtain the final output segmented image.

[0048] According to a second aspect of the present disclosure, there is provided a pedestrian infrared image segmentation system for use under complex conditions, comprising: a pedestrian infrared image acquisition module, a neural network model building module, and an image segmentation module;

[0049] The pedestrian infrared image acquisition module is used to acquire pedestrian infrared images, and use the detail information in the visible light image and the guided image filtering method to perform denoising on the infrared image to obtain a processed image;

[0050] The neural network model construction module is used to use the background score of each pixel in the processed image as the connection strength, use the cluster center of the background area of ​​the processed image as the dynamic threshold, and construct an improved pulse coupled neural network model according to the connection strength and the dynamic threshold;

[0051] The image segmentation module is used to acquire infrared images of pedestrians in real time and segment the infrared images of pedestrians acquired in real time using the improved pulse coupled neural network model to obtain segmented images.

[0052] Compared with the prior art, the present invention has the following technical effects:

[0053] The present invention takes into account that the proportion of background area in the image is much larger than that of human target area, and the similarity between the neighborhoods of the background area is relatively large. A new idea of ​​preferentially segmenting the background area is proposed, and the infrared pedestrian image is represented as a graph structure. The nodes of the graph represent superpixels in the infrared image, and the weights of the edges reflect the similarity or distance between the nodes. The structure of the graph is analyzed to evaluate the score of each node becoming the background area, and the score is mapped to the original image as the connection strength of the model. Correspondingly, the dynamic threshold is set as the clustering center of the image background, and the background area of ​​the image is preferentially classified and outputted to obtain the final human target segmentation result. Therefore, the parameters in the present invention are determined according to the properties of the image itself. At the same time, the model can automatically stop according to the segmentation result, and the over-segmentation phenomenon will not occur. At the same time, the model can effectively segment infrared pedestrian images of various complex environments, especially infrared images with a lot of heat source interference in the background have a better segmentation effect.

[0054] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, among which:

[0056] Figure 1 A schematic flow chart of a pedestrian infrared image segmentation method under complex conditions according to an embodiment of the present disclosure is shown;

[0057] Figure 2 8 infrared pedestrian images in complex environments collected by a method for segmenting infrared images of pedestrians in complex conditions according to an embodiment of the present disclosure are shown;

[0058] Figure 3 The figure shows 8 true value images of infrared pedestrian images under complex conditions collected by a method for segmenting infrared images of pedestrians under complex conditions according to an embodiment of the present disclosure;

[0059] Figure 4 A schematic diagram of the structure of a pedestrian infrared image segmentation system for use under complex conditions according to an embodiment of the present disclosure is shown;

[0060] Figure 5 A schematic diagram of infrared pedestrian image segmentation results of the Ostu algorithm according to an embodiment of a method for infrared image segmentation of pedestrians under complex conditions is shown;

[0061] Figure 6 A schematic diagram of infrared pedestrian image segmentation results using a Canny operator according to an embodiment of a method for infrared image segmentation of pedestrians under complex conditions is shown;

[0062] Figure 7 A schematic diagram of infrared pedestrian image segmentation results using a Prewitt operator according to an embodiment of a pedestrian infrared image segmentation method for complex conditions is shown;

[0063] Figure 8 A schematic diagram of infrared pedestrian image segmentation results using a Sobel operator according to an embodiment of a pedestrian infrared image segmentation method under complex conditions is shown;

[0064] Fig. 9 A schematic diagram of infrared pedestrian image segmentation results using a weighted entropy Ostu algorithm according to an embodiment of a method for infrared image segmentation of pedestrians under complex conditions is shown;

[0065] Fig.10 A schematic diagram of infrared pedestrian image segmentation results of a traditional PCNN algorithm according to an embodiment of a pedestrian infrared image segmentation method for complex conditions according to an embodiment of the present disclosure is shown;

[0066] Fig.11 A schematic diagram of infrared pedestrian image segmentation results based on a spectral residual PCNN algorithm according to an embodiment of a pedestrian infrared image segmentation method for complex conditions according to an embodiment of the present disclosure is shown;

[0067] Fig.12 A schematic diagram of infrared pedestrian image segmentation results of an improved PCNN algorithm according to an embodiment of a method for infrared image segmentation of pedestrians under complex conditions according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0068] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0069] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0070] Reference Figure 1 As shown, this embodiment provides a pedestrian infrared image segmentation method for complex conditions, comprising the following steps:

[0071] S101 , using detail information in the visible light image and a guided image filtering method to perform denoising on the collected infrared image of pedestrians to obtain a processed image.

[0072] like Figure 2 and Figure 3 As shown, in this embodiment, an outdoor pedestrian image is acquired by an infrared camera. Infrared spectroscopy technology has gradually become a hot topic in pedestrian detection research due to its superior performance at night and in low visibility conditions. Infrared images can effectively capture the thermal radiation emitted by human body temperature, thereby realizing accurate identification of pedestrians in various environments.

[0073] S102, constructing an improved pulse coupled neural network model, including: taking the background score of each pixel in the image as the connection strength, and taking the cluster center of the background area of ​​the image as the dynamic threshold.

[0074] In this embodiment, the background score of each pixel in the processed image is used as the connection strength. The cluster center of the background area is used as the dynamic threshold E ij [n], the improved PCNN model is as follows:

[0075]

[0076] E ij [n]=m(n) (5)

[0077] Among them, F ij [n] is the feedback input, L ij [n] is the connection input, U ij [n] is the internal activity item, Y ij [n] is the pulse output, S kl is the external stimulus, usually corresponding to the pixel intensity in the image, (k,l) is the neighborhood of neuron (i,j), M ij,kl and W ij,kl is the weight matrix, E ij [n] is the dynamic threshold, λ is a coefficient to adjust the dynamic threshold and control the model iteration speed. For connection strength.

[0078] Furthermore, in this embodiment, the connection strength The specific calculation process is:

[0079] The SLIC superpixel segmentation algorithm is used to segment the infrared pedestrian image into multiple superpixels. Each superpixel is regarded as a node of the graph, and an undirected graph G is established with the generated superpixels as vertices.<V,E> , using brightness similarity as the edge weight between superpixels, defining a probability transfer matrix P for transfer between vertices on the graph G, setting a background score vector H of a node, and updating H in iterations, mapping it to the original infrared image, and normalizing it to obtain an improved connection strength

[0080] Furthermore, the process of using the SLIC superpixel segmentation algorithm to segment the infrared pedestrian image into multiple superpixels is as follows:

[0081] First, initialize k superpixel centers. For an infrared image containing N pixels, the superpixel center C i It can be expressed as (l i ,x i ,y i ), the image is divided into two parts according to the grid step size Divide into k square grids, each initial superpixel center searches for the position of the minimum gradient by searching the pixels in the 3×3 range around it, and changes the cluster center from the central pixel of the original square pixel group to the point with the minimum gradient in its neighborhood; after obtaining k initial cluster centers, calculate the characteristic distance D between the pixel points in the 2F×2F range around the cluster center and the cluster center, and divide the pixel point into the corresponding superpixel group according to the distance. The distance metric expression is as follows:

[0082]

[0083] Among them, d c Indicates the brightness distance between the pixel and the center pixel, d s Represents the distance in space, and m is a fixed constant.

[0084] Finally, we get k superpixels L(i,j)∈{1,2,..,k}, where L(i,j) is the superpixel label to which pixel (i,j) belongs.

[0085] Furthermore, in this embodiment, the construction process of the undirected graph G is:

[0086] Based on the idea of ​​random walk algorithm, the generated superpixels are used as vertices to establish an undirected graph G=<V,E> , V represents the superpixel vertex set, E represents the undirected edge set connecting two superpixels, and the edge connecting two vertices v a and v b The edge of a,b The weight w ab , Gaussian weight is used to represent the weight between two vertices, and brightness similarity is used as the edge weight between superpixels. The expression is as follows:

[0087]

[0088] Among them, C a and C b is the brightness feature of superpixels a and b, σ is the parameter controlling the similarity, so we can get the adjacency matrix A of graph G = [w ab ] k .

[0089] Furthermore, in this embodiment, the background score vector H is mapped to the infrared image and normalized to obtain the connection strength The process is:

[0090] Define a probability transfer matrix P for transitions between vertices on the graph G. Since the sum of the transition probabilities from a vertex is 1, that is, the sum of the elements in each row of P is 1, the adjacency matrix can be regularized to obtain the transfer matrix:

[0091] P=D -1 A (8)

[0092] Where D is a diagonal matrix consisting of the degree of each vertex, D = diag (d1, d2, ..., d m ), is the degree matrix of graph G.

[0093] For infrared pedestrian images, the edge area is used as the background seed, represented as sn(L(i,j)∈edge)=1, and the center is used as the foreground seed sn(L(i,j)∈center)=2. A background score vector H of a node is set and H is updated in iterations:

[0094]

[0095] H (t+1) =PH (t) (10)

[0096]

[0097] in, is the initial background score vector of each node, is the background score vector of each node at the t+1th iteration, H (t) is the background score vector of each node at the tth iteration.

[0098] The final background score vector H is mapped to the original infrared image and normalized to obtain the improved connection strength

[0099]

[0100] Among them, normalize(·) is a normalization function that normalizes the value of the connection strength to [0,1].

[0101] Furthermore, in this embodiment, the cluster center of the background area is used as the dynamic threshold E ij [n] The method is:

[0102] When designing the dynamic threshold, an iterative and progressive method is used to progressively increase the ignition area from small to large, and gradually segment the background area with relatively low thermal radiation value in the image. The expression is as follows:

[0103]

[0104] In the formula, I ij is the gray value of the pixel with coordinates (i, j) on the original infrared image, Y ij (n) is the pulse output under the current iterative operation, and m(n) represents the neuron pulse output Y ij (n) Divide the entire image into background (Y ij (n)=1) and target (Y ij The cluster center of the background under the specific condition of (n)=0), O is the number of row pixels of the original infrared image, P is the number of column pixels of the original infrared image, and n is the number of iterations.

[0105] S103, collecting infrared images of pedestrians in real time, and segmenting the infrared images of pedestrians collected in real time using an improved pulse coupled neural network model to obtain segmented images.

[0106] In this embodiment, the improved pulse coupled neural network model is first initialized and model parameters are set, and the number of iterations n=1 is initialized.

[0107] Specifically, in this embodiment, the model parameter M that needs to be set is ij,kl , W ij,kl and λ, the expressions are as follows:

[0108]

[0109] λ=0.2

[0110] Among them, (i,j) represents the central neuron and (k,l) represents the area neuron.

[0111] Then, the improved pulse coupled neural network model is used to segment the real-time pedestrian infrared image I to obtain the output segmented image Y;

[0112] Finally, determine the dynamic threshold E ij[n] Whether it continues to increase. If it increases, the number of iterations will automatically increase by 1 and continue image segmentation. Otherwise, the final segmentation result of Y will be output to obtain the final output result.

[0113] like Figure 4 As shown, this embodiment also provides a pedestrian infrared image segmentation system for complex conditions, including: a pedestrian infrared image acquisition module 1, a neural network model construction module 2 and an image segmentation module 3;

[0114] The pedestrian infrared image acquisition module 1 is used to acquire pedestrian infrared images, and use the detail information in the visible light image and the guided image filtering method to perform denoising on the infrared image to obtain a processed image;

[0115] The neural network model construction module 2 is used to use the background score of each pixel in the processed image as the connection strength, use the cluster center of the background area of ​​the processed image as the dynamic threshold, and construct an improved pulse coupled neural network model according to the connection strength and the dynamic threshold;

[0116] The image segmentation module 3 is used to collect infrared images of pedestrians in real time, and uses an improved pulse coupled neural network model to segment the infrared images of pedestrians collected in real time to obtain segmented images.

[0117] Example

[0118] This example is based on the MSRS public data set, from which 144 infrared images with pedestrian targets in complex environments are selected to form a data set to verify the algorithm of the present invention. At the same time, the scheme of the present invention is compared with Ostu, Canny, Prewitt, weighted entropy Ostu, traditional PCNN, spectral residual PCNN and other methods, and 8 typical infrared pedestrian images in complex environments are selected for display. The segmentation results corresponding to the 8 methods are as follows: Figures 5 to 12 , three evaluation indicators, mean intersection over union (MIoU), pixel accuracy, and F1-Score, are used for evaluation and comparison. The calculation formula is as follows:

[0119]

[0120] Among them, Z is the number of classes, v is the index of this class, True Positive (TP) represents the number of pixels correctly segmented as targets, TN (True Negative) represents the number of pixels correctly segmented as background, FP (False Positive) represents the number of background pixels incorrectly segmented as targets, and FN (False Negative) represents the number of target pixels incorrectly segmented as background.

[0121] The evaluation index is calculated according to the above formula. The evaluation indexes of 8 image segmentation algorithms on this dataset are shown in Table 1.

[0122] The MIoU, Pixel Accuracy and F1-score of the method of the present invention are 0.524, 0.985 and 0.665 respectively, achieving the highest index value. The MIoU of the method of the present invention is improved by 19.6% to 44.4% compared with other image segmentation algorithms, the Pixel Accuracy is improved by 0.2% to 7.4% compared with other image segmentation algorithms, and the F1-score is improved by 15.1% to 41.2% compared with other image segmentation algorithms, indicating that the algorithm has a good segmentation effect for human targets in complex environments.

[0123] Table 1 Evaluation indicators of different segmentation algorithms

[0124]

[0125] Taking into account that the proportion of background area in the image is much larger than that of human target area, and the similarity between the neighborhoods of the background area is relatively large, the present invention proposes a new idea of ​​preferentially segmenting the background area, and represents the infrared pedestrian image as a graph structure. The nodes of the graph represent superpixels in the infrared image, and the weights of the edges reflect the similarity or distance between the nodes. The structure of the graph is analyzed to evaluate the score of each node becoming the background area, and the score is mapped to the original image as the connection strength of the model. Correspondingly, the dynamic threshold is set as the clustering center of the image background, and the background area of ​​the image is preferentially classified and outputted, so as to obtain the final human target segmentation result, thereby effectively improving the segmentation effect of infrared images with more heat source interference in the background.

[0126] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present disclosure is not limited by the order of the actions described, because according to the present disclosure, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.

[0127] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0128] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A pedestrian infrared image segmentation method for complex conditions, characterized in that: The following steps are involved: Using the detailed information in the visible light image and the guided image filtering method, the infrared image of the pedestrian collected is denoised to obtain a processed image; An improved pulse coupled neural network model is constructed, including: using the background score of each pixel in the image as the connection strength and using the cluster center of the background area of ​​the image as the dynamic threshold; The improved pulse coupled neural network model is used to perform image segmentation on the processed image to obtain a segmented image.

2. The pedestrian infrared image segmentation method for complex conditions according to claim 1, characterized in that: The improved pulse coupled neural network model is specifically: E ij [n]=m(n) Among them, F ij [n] is the feedback input, L ij [n] is the connection input, U ij [n] is the internal activity item, Y ij [n] is the pulse output, S kl is the external stimulus, corresponding to the pixel intensity in the image, (k,l) is the neighborhood of neuron (i,j), M ij,kl and W ij,kl is the weight matrix, E ij [n] is the dynamic threshold, λ is a coefficient to adjust the dynamic threshold and control the model iteration speed. is the connection strength, n is the number of model iterations, and m(n) represents the neuron pulse output.

3. The pedestrian infrared image segmentation method for complex conditions according to claim 2, characterized in that: The M ij,kl , W ij,kl and λ are specifically: λ=0.2 Among them, (i,j) represents the central neuron and (k,l) represents the area neuron.

4. The pedestrian infrared image segmentation method for complex conditions according to claim 3, characterized in that: The calculation process of the connection strength is: The SLIC superpixel segmentation algorithm is used to segment the infrared image into multiple superpixels, and each superpixel is regarded as a node in the graph; The generated superpixels are used as vertices to build an undirected graph, and the brightness similarity is used as the edge weight between superpixels; Defining a probability transfer matrix of transfer between vertices on the undirected graph, and setting a background score vector of a node; The background score vector is iteratively updated, and the updated background score vector is mapped to the original infrared image, and the connection strength is obtained after normalization.

5. The pedestrian infrared image segmentation method for complex conditions according to claim 4, characterized in that: The process of using the SLIC superpixel segmentation algorithm to segment the infrared image into multiple superpixels is as follows: Initialize several superpixel centers to get the initial superpixel center. For an infrared image containing N pixels, the superpixel center C i It can be expressed as (l i ,x i ,y i ), the image is divided into two parts according to the grid step size Divided into k square grids; For each initial superpixel center, search the pixels in the 3×3 range around it to find the minimum gradient position; The cluster center is changed from the central pixel of the original square pixel group to the minimum gradient point in its neighborhood, and then k initial cluster centers are obtained; The characteristic distance D between the pixel points within a 2F×2F range around the initial cluster center and the initial cluster center is calculated, and the pixel points are divided into corresponding superpixel clusters according to the characteristic distance D to obtain multiple superpixels.

6. The pedestrian infrared image segmentation method for complex conditions according to claim 5, characterized in that: The construction process of the undirected graph is: The random walk method is used to build an undirected graph G with the generated superpixels as vertices.<V,E> , where V represents the superpixel vertex set and E represents the undirected edge set connecting two superpixels; Connect the two vertices v a and v b The edge of a,b The weight w ab ; Gaussian weights are used to represent the weights between two vertices, and brightness similarity is used as the edge weight between superpixels; The adjacency matrix of the undirected graph G is constructed based on the edge weights.

7. The pedestrian infrared image segmentation method for complex conditions according to claim 6, characterized in that: The process of iteratively updating the background score vector and mapping the updated background score vector to the infrared image and obtaining the connection strength after normalization is as follows: A probability transfer matrix P of transfer between vertices is defined on the undirected graph G; For an infrared pedestrian image, an edge region is used as a background seed, a center region is used as a foreground seed, and an initial background score vector of a node is set based on the background seed and the foreground seed; Based on the probability transfer matrix and the initial background score vector, an updated background score vector is obtained in a continuous iterative updating process; The updated background score vector is mapped to the infrared image, and after normalization, the connection strength is obtained.

8. The pedestrian infrared image segmentation method for complex conditions according to claim 1, characterized in that: The method of using the cluster center of the background area of ​​the image as the dynamic threshold is: The ignition area is increased from small to large in an iterative and progressive manner, and the background area with relatively low thermal radiation value in the image is gradually segmented. The expression is as follows: Among them, I ij is the gray value of the pixel with coordinates (i, j) on the original infrared image, Y ij (n) is the pulse output under the current iteration operation, O is the number of row pixels of the original infrared image, P is the number of column pixels of the original infrared image, and m(n) represents the neuron pulse output Y ij (n) Divide the entire image into background Y ij (n) = 1 and target Y ij Under the specific condition of (n)=0, the cluster center of the background is the dynamic threshold.

9. The pedestrian infrared image segmentation method for complex conditions according to claim 8, characterized in that: The process of using the improved pulse coupled neural network model to segment the processed image to obtain the segmented image is as follows: Initializing the improved pulse coupled neural network model and setting model parameters, setting the number of initialization iterations n=1; Using the improved pulse coupled neural network model to segment the processed image I to obtain an output segmented image Y; It is determined whether the dynamic threshold value continues to increase. If it increases, the number of iterations is automatically increased by 1, and the image segmentation is continued. Otherwise, the segmented image Y is taken as the final segmentation result and output to obtain the final output segmented image.

10. A pedestrian infrared image segmentation system for use under complex conditions, used to implement the pedestrian infrared image segmentation method for use under complex conditions as claimed in any one of claims 1 to 9, characterized in that: include: Pedestrian infrared image acquisition module (1), neural network model building module (2) and image segmentation module (3); The pedestrian infrared image acquisition module (1) is used to acquire pedestrian infrared images, and use detail information in the visible light image and a guided image filtering method to perform denoising on the infrared image to obtain a processed image; The neural network model construction module (2) is used to use the background score of each pixel in the processed image as the connection strength, use the cluster center of the background area of ​​the processed image as the dynamic threshold, and construct an improved pulse coupled neural network model according to the connection strength and the dynamic threshold; The image segmentation module (3) is used to acquire infrared images of pedestrians in real time and segment the infrared images of pedestrians acquired in real time using the improved pulse coupled neural network model to obtain segmented images.

Citation Information

Patent Citations

  • Image segmentation method based on improved pulse coupling neural network

    CN117808817A

  • Image segmenting device and method for segmenting an image with a multiplicity of pixels

    US20050180625A1