Infrared small target detection method and system based on point spread function fitting
By identifying infrared weak and small targets based on the normal distribution model and the Otsu method based on the point spread function, the problem of reduced uniformity of infrared images and distortion of grayscale information is solved, and efficient and stable infrared weak and small target detection is achieved, which is suitable for high-speed real-time processing.
Patent Information
- Application Number
- CN202410972127.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-19
AI Technical Summary
Existing infrared weak and small target detection methods have low detection rates when image uniformity decreases and grayscale information is distorted. They also rely on high-complexity algorithms, making real-time processing difficult to achieve, and do not take advantage of the inherent characteristics of infrared optical systems.
Based on the point spread function fitting method, the target background threshold is calculated through the normal distribution model and the Otsu method, and the target position and size are identified. Only simple operations such as averaging and variance are used to avoid the influence of noise and image uniformity deterioration. Realize infrared weak and small target detection.
It improves the stability and sensitivity of detection, reduces computational complexity, and can realize real-time processing of high-frequency infrared images under limited computing power, which is suitable for high-speed image processing needs.
Smart Images

Figure CN118521777B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of target detection, and in particular to an infrared dim small target detection method based on point spread function fitting. Background Art
[0002] Infrared detection has the advantages of passive detection, not easy to expose its own position, long range, sensitive detection, and little impact from bad weather. Infrared optical systems are widely used in imaging, measurement and other fields. In order to identify and track targets, it is necessary to segment the target and background in the infrared image to further realize the detection and identification of the target.
[0003] When detecting small targets at long distances, the target is usually blurred and degraded in the infrared focal plane due to the influence of factors such as observation distance, diffraction of the optical system, turbulence of atmospheric transmission, and aberrations of the system itself. This is reflected in the small imaging area of the target and the disappearance of morphological information. The target degenerates into a point target or a diffuse target, and the target grayscale value is low and converges with the background noise grayscale, that is, the signal-to-noise ratio decreases, making it difficult to detect and identify effectively.
[0004] At present, there are generally two ideas in infrared dim target detection methods. The first is to detect targets through traditional image processing methods, such as image contrast method; the second is to detect targets through artificial intelligence and deep learning methods based on neural networks.
[0005] Patent CN114820384A proposes a small target detection method based on local image contrast and gradient. The method includes the following steps: Step 1: Convolve the infrared image with Gaussian kernels of different scales to generate a multi-scale space, convolve the infrared image with the Gaussian function to obtain an image with a low-pass filter effect, and enhance the contrast between the target and the background; Step 2: Adaptive threshold segmentation is used to remove unstable edge response points of the image, enhance image matching stability, and improve anti-noise ability; Step 3: Perform multi-scale space extreme point detection on each layer of the Gaussian difference pyramid, and use each extreme point as a candidate Select points. At each candidate point, determine the position and scale of the extreme point through the fitting function, and remove the candidate points with low contrast to improve the detection rate. Step 4: Use the difference between the area where the infrared weak target is located and its adjacent area to perform local contrast calculation to enhance the target while suppressing background clutter. Step 5: The infrared image background is smoothly distributed in space, and the target is a significant area with local intensity characteristics. The target pixel has gradient characteristics in each direction, and the gradient direction of the background with strong edges is consistent. After calculating the gradient direction, the background and false targets can be eliminated, and the infrared weak targets can be accurately detected. The above method is effective when the image uniformity is good, but the uniformity of the infrared detector will decrease with the use time, causing gradient information distortion and reducing the detection rate.
[0006] Patent CN115661451A proposes a small target detection method based on deep learning, which includes the following steps: Step 1: Obtain input data for annotation, establish a training data set and a test data set; Step 2: Perform random scale reduction and flip transformation on the target image of the training data set, randomly paste the obtained new target in the original image, and perform statistical transformation based on the pasting position to obtain an infrared image enhanced by random sample replication; Step 3: Design a detection algorithm, the input image is successively subjected to feature pre-extraction module, high-resolution feature extraction module and the final feature segmentation module for feature segmentation, and output an infrared small target segmentation map; Step 4: Model training, the input image is successively subjected to feature pre-extraction module, high-resolution feature extraction module and the final feature segmentation module; Step 5: The input single-frame infrared image is subjected to a high-resolution segmentation network to output each target probability map, and the value of each pixel is the probability of occurrence of the target. After sigmoid activation, the final segmentation result is obtained. The above method still relies on manually annotated data sets, and it is difficult to implement neural network training without a data set. In addition, because point targets or diffuse targets lose their morphological and texture information, the learning and training efficiency of the neural network is extremely low.
[0007] Existing technologies all process on the basis of infrared images, without considering the inherent characteristics of the infrared optical system itself, so no prior information is used, and the above two methods are difficult to adapt to the contrast reduction and image grayscale gradient distortion caused by the decrease in uniformity of the infrared detector after long-term operation, as well as the low detection rate in the absence of training samples. The above two methods also have a large amount of image processing calculations, and use algorithms with high time complexity such as pyramid gradient, Fourier transform, and convolution. It is difficult to achieve real-time processing of high-speed images when the computing power of the image processing platform is limited. Summary of the invention
[0008] In view of the above problems, the present invention proposes an infrared dim small target detection method based on point spread function fitting. The method starts from the target dispersion caused by the inherent point spread function of the optical system, performs grayscale evaluation of the target and background based on the fitted target grayscale distribution curve, and then realizes target detection and recognition. It overcomes the shortcomings of traditional methods that only detect based on image information, and has the characteristics of strong stability and high sensitivity.
[0009] The technical solution adopted by the present invention is as follows:
[0010] A method for detecting infrared dim small targets based on point spread function fitting, the method comprising the following steps:
[0011] Step 1: Obtain the original infrared image captured by the infrared camera and determine whether the image timing and correctness are correct. If so, proceed to step 2;
[0012] Step 2: Establish a point spread function distribution model based on the normal distribution formula, and use the Otsu method to calculate the initial value of the target background threshold of the current frame image, where the target background threshold includes the grayscale mean μ of each pixel after target diffusion and the variance σ of the grayscale values of all pixels in the infrared focal plane array 2 ;
[0013] Step 3: Calculate the target diffusion size and initial position value of the current frame image according to the initial value of the target background threshold, and determine the target center according to the initial position value;
[0014] Step 4: Take the center of the target as the centroid of the rectangle, take the integer multiples of the horizontal and vertical lengths of the target diffusion size as the side length of the rectangle, take two rectangles of different sizes, and take the area between the two rectangles as the background area. Calculate the grayscale mean μ and the variance σ of the pixel grayscale value in the background area. 2 The iteration value of
[0015] Step 5: According to the pixel gray value range Classify the pixel grayscale values, identify the target pixels, and calculate the position mean of all target pixels to obtain and output the target position;
[0016] Step 6: Use the grayscale mean μ and variance σ calculated in step 4 2 The iterative value of is used as the initial value, and then return to step 2 to detect the target in the next frame image.
[0017] Accordingly, the present invention also proposes an infrared dim small target detection system based on point spread function fitting, the system comprising an infrared camera and a processing computer, the infrared camera uses an image acquisition card to collect infrared original images and outputs them to the processing computer, the processing computer comprises:
[0018] The judgment module is used to judge whether the image timing and correctness are correct. If so, the judgment result is output to the model initial value calculation module;
[0019] The model initial value calculation module is used to establish a point spread function distribution model according to the normal distribution formula, and use the Otsu method to calculate the initial value of the target background threshold of the current frame image, where the target background threshold includes the grayscale mean μ of each pixel after the target is diffused and the variance σ of the grayscale values of all pixels in the infrared focal plane array 2 ;
[0020] A target calculation module is used to calculate the target diffusion size and initial position value of the current frame image according to the initial value of the target background threshold, and determine the target center according to the initial position value;
[0021] The division and iteration value calculation module is used to take the target center as the centroid of the rectangle, take the horizontal length and the integer multiple of the vertical length of the target diffusion size as the side length of the rectangle, take two rectangles of different sizes, and take the area between the two rectangles as the background area, and calculate the grayscale mean μ and the variance σ of the pixel grayscale value in the background area. 2 The iteration value of
[0022] Identification module, used to identify the gray value interval of pixels Classify the pixel grayscale values, identify the target pixels, calculate the position mean of all target pixels, obtain and output the target position to the display module;
[0023] A display module, used to display the position of the target in the image in real time in the software interface;
[0024] Update module, used to calculate the grayscale mean μ and variance σ calculated by the division and iterative value calculation module 2 The iteration value is used as the initial value, returned to the model initial value calculation module, and the target in the next frame image is detected.
[0025] Compared with the prior art, the present invention has the following beneficial effects:
[0026] (1) The present invention can effectively overcome the shortcomings of small target imaging, loss of morphological information and inability to calculate the target edge;
[0027] (2) When calculating the precise background grayscale, the present invention only calculates the pixels near the target area, effectively avoiding the influence of noise on the grayscale calculation of Beijing West and the influence of the uniformity of infrared images deteriorating during long-term operation. It has high sensitivity and good anti-interference performance.
[0028] (3) The present invention only uses simple operations such as averaging and variance calculation, and does not use algorithms with high time and space complexity such as Fourier transform, convolution, neural network, etc. It can realize real-time target detection for two 100 Hz frequency and 640×512 resolution infrared images at the same time. It has the advantages of low computational complexity and high speed, and can meet the real-time processing requirements of high-speed images. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 This is a diagram of the image degradation process of the infrared imaging system;
[0030] Figure 2 It is the two-dimensional distribution diagram of the point spread function of the ideal point target;
[0031] Figure 3 It is the three-dimensional distribution diagram of the point spread function of the ideal point target;
[0032] Figure 4is a flow chart of a method in an embodiment of the present invention;
[0033] Figure 5 Schematic diagram of target imaging;
[0034] Figure 6 is a schematic diagram of the background area;
[0035] Figure 7 Schematic diagram of the structure of the system in the embodiment of the present invention. DETAILED DESCRIPTION
[0036] The technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings and preferred embodiments.
[0037] For the imaging system, when the external environment is stable, it can be regarded as a linear invariant system, and its image degradation process can be seen as Figure 1 .
[0038] When the target is far away, the target can be regarded as a point target, and the energy in the infrared focal plane array can be expressed as a point spread function (PSF). That is, optical aberration diffraction and target ideal geometric imaging The image that reaches the focal plane after atmospheric transmission and optical imaging is , obtained after sampling by infrared focal plane array , superimposed noise Finally, a grayscale image is obtained on the focal plane. Assume that the center position of the ideal imaging of a point target by the infrared system is , in an ideal situation, the energy distribution function at the infrared focal plane is , the target gray value is recorded as , the background gray value is recorded as , then the energy distribution G after PSF action can be expressed as:
[0039] .
[0040] For the above model, the parameters to be determined are For an ideal infrared focal plane array, when imaging the target, all pixels can be divided into two parts: the target and the background.
[0041] The two-dimensional and three-dimensional distribution diagrams of the point spread function of an ideal point target are as follows: Figure 2 and Figure 3 As shown. Figure 2 and Figure 3 It can be seen that when imaging a point target, its point spread function is normally distributed, so it can be described by a standard normal distribution to separate the background and the target.
[0042] Based on this, this embodiment provides an infrared dim small target detection method based on point spread function fitting, such as Figure 4 As shown, the method includes the following steps 1 to 6.
[0043] Step 1: Turn on the infrared camera and start collecting images, obtain the original infrared image collected by the infrared camera, and determine whether the image timing and correctness are correct. If so, execute step 2, otherwise re-collect the original infrared image.
[0044] Step 2: According to Figure 2 , Figure 3 It can be seen that the ideal distribution of PSF is normal distribution, so its distribution obeys the following formula:
[0045]
[0046] Obviously μ and σ 2 is the distribution of a continuous random variable, parameter μ is the grayscale mean of each pixel in the image after the target is diffused, and parameter σ 2 is the variance of the grayscale values of all pixels in the infrared focal plane array, so this normal distribution can be recorded as N(μ,σ 2 ), μ is the location of the energy concentration trend of the point target in the normal distribution. The grayscale value close to μ is more likely to be the target grayscale; while the value farther away from μ is more likely to be the background. σ describes the degree of dispersion of the normal distribution data. The larger σ is, the more dispersed the data distribution is, and the smaller σ is, the more concentrated the data distribution is.
[0047] According to the above formula, the point spread function distribution model is established. If there is no previous frame image threshold, the initial binarization is performed using the Otsu method to calculate the target background threshold of the current frame image, that is, the parameter μ and the parameter σ 2 The initial value of is calculated as follows:
[0048]
[0049]
[0050] Among them, μ is the mean gray value of the target pixel calculated initially; is the gray value of the i-th pixel, G average is the mean grayscale value of all pixels; n is the number of pixels in the image.
[0051] This embodiment simplifies the point spread function into a normal distribution model that can be dynamically fitted in real time when accurately calculating the separation threshold. Only three parameters, namely, target average grayscale, background grayscale variance, and target size, are used in the model. The calculation process of the above parameters does not involve complex operations such as Fourier transform and convolution, but only simple operations such as calculating the mean and variance, thereby reducing the computing power requirements.
[0052] Step 3: Calculate the target diffusion size and initial position value of the current frame image according to the initial value of the target background threshold, and determine the target center according to the initial position value.
[0053] Step 4: Considering μ and σ 2 The initial value of is the mean and variance of all pixel grayscale values. The target grayscale value is also introduced into the calculation. The amount of calculation for all pixels is large, so it is necessary to iterate at least once. In the second calculation, the target grayscale calculated in step 2 is excluded, and a local area around the target is taken to recalculate μ and σ. 2 A stable target background can be obtained at the rear.
[0054] Assume that the target diffusion lengths calculated in step 3 are R1 and R2 respectively. For the sake of generality, assume that the horizontal length of the target diffusion size is R1 and the vertical length is R2, as shown in Figure 5 As shown, two rectangles of different sizes are taken, the centroids of the rectangles are the target centers calculated and determined in step 3, and the side lengths of the two rectangles of different sizes are integer multiples of the horizontal length and the vertical length, for example, the two sides of the large rectangle are 10R1 and 10R2, and the two sides of the small rectangle are 5R1 and 5R2, as shown in FIG. Figure 6 As shown in the figure, the blue area is the background area. Then the area between the two rectangles is taken as the background area, and μ and σ are calculated in this area. 2 The iteration value of .
[0055] If the target diffusion range is less than one pixel, take R1=R2=2 for calculation.
[0056] This calculation method can avoid the error caused by calculating all pixels in step 2, as well as the interference caused by the overall non-uniformity of the infrared image after working for a long time.
[0057] This embodiment only calculates pixels near the target area when accurately calculating the background grayscale, avoiding the influence of noise on the calculation and the influence of the uniformity of the infrared image deteriorating during long-term operation. It has high sensitivity and good anti-interference performance.
[0058] Step 5: Since the gray value of the target must be greater than the background gray value ( ). Therefore, the gray value of a point on the normal distribution can reflect the probability that the gray value is the target gray. This embodiment uses the point spread function, an inherent characteristic of the infrared optical system, while introducing prior information. According to the basic idea of hypothesis testing, if the probability that the gray value of a point is the target gray is less than 5%, it is considered to be almost impossible. According to a simple calculation based on the normal distribution, it is easy to know that the gray value of a point falls within The probability of being outside the range is less than 0.3%, so this grayscale cannot be the target grayscale. It is regarded as the actual possible value range of the target grayscale. At the same time, considering that the grayscale value greater than μ can be regarded as the target, the simplified calculation is as follows:
[0059] if The pixel grayscale value is considered to be the target grayscale value; if The pixel gray value is considered to be the background gray value.
[0060] According to the pixel grayscale range By classifying the grayscale values of all pixels, the target pixel can be effectively identified, and then the pixel position mean of all target pixels is calculated as the target position, and the target position is obtained and output.
[0061] Step 6: Since the grayscale changes of the background and target in the continuous sequence images are not too drastic, the μ and σ calculated in step 4 are 2 The point spread function distribution model that can be used for the next moment is the pixel grayscale mean μ and grayscale variance σ calculated in step 4. 2 The iteration value of is used as the initial value, and then return to step 2 to detect the target in the next frame image until the image sequence ends.
[0062] The infrared dim small target detection method proposed in the present invention is based on the fitting of the inherent point spread function of the optical system, makes full use of the system prior parameters, and combines simplified fitting distribution parameters for local image detection. It has the characteristics of low computational complexity, high stability and good sensitivity, is suitable for rapid detection of dim small targets, avoids the contrast reduction caused by the decrease in image uniformity, and also avoids the interference caused by full-frame image noise.
[0063] In another embodiment, the present invention also proposes an infrared small target detection system based on point spread function fitting, such as Figure 7 As shown, the system includes an infrared camera and a processing computer, wherein the infrared camera uses an image acquisition card to collect infrared raw images and outputs them to the processing computer, and the processing computer includes a judgment module, a model initial value calculation module, a model initial value calculation module, a division and iteration value calculation module, a recognition module, a display module and a display module. The functions implemented by each module are described in detail below.
[0064] After the infrared camera and the processing computer are turned on, the infrared camera starts to collect images and outputs them to the judgment module in the processing computer. The judgment module is used to judge whether the image timing and correctness are correct. If so, the judgment result is output to the model initial value calculation module.
[0065] The model initial value calculation module is used to establish a point spread function distribution model according to the normal distribution formula, and use the Otsu method to calculate the initial value of the target background threshold of the current frame image, where the target background threshold includes the grayscale mean μ of each pixel after the target is diffused and the variance σ of the grayscale values of all pixels in the infrared focal plane array 2 .
[0066] The point spread function distribution model is established according to the normal distribution formula, and the initial binarization is performed using the Otsu method to calculate the target background threshold of the current frame image, i.e., the parameter μ and the parameter σ. 2 The initial value of is calculated as follows:
[0067]
[0068]
[0069] Among them, μ is the mean gray value of the target pixel calculated initially; is the gray value of the i-th pixel, G average is the mean grayscale value of all pixels; n is the number of pixels in the image.
[0070] This embodiment simplifies the point spread function into a normal distribution model that can be dynamically fitted in real time when accurately calculating the separation threshold. Only three parameters, namely, target average grayscale, background grayscale variance, and target size, are used in the model. The calculation process of the above parameters does not involve complex operations such as Fourier transform and convolution, but only simple operations such as calculating the mean and variance, thereby reducing the computing power requirements.
[0071] The target calculation module is used to calculate the target diffusion size and initial position value of the current frame image according to the initial value of the target background threshold, and determine the target center according to the initial position value.
[0072] The division and iteration value calculation module is used to take the target center as the centroid of the rectangle, take the horizontal length and the integer multiple of the vertical length of the target diffusion size as the side length of the rectangle, take two rectangles of different sizes, and take the area between the two rectangles as the background area, and calculate the grayscale mean μ and the variance σ of the pixel grayscale value in the background area. 2 The iteration value of .
[0073] Assuming that the target diffusion lengths calculated in the target calculation module are R1 and R2 respectively, without loss of generality, it is assumed that the horizontal length of the target diffusion size is R1 and the vertical length is R2, such as Figure 5 As shown, two rectangles of different sizes are taken, the centroids of the rectangles are the target centers calculated and determined in the target calculation module, and the side lengths of the two rectangles of different sizes are integer multiples of the horizontal length and the vertical length, for example, the two sides of the large rectangle are 10R1 and 10R2, and the two sides of the small rectangle are 5R1 and 5R2, as shown in FIG. Figure 6As shown in the figure, the blue area is the background area. Then the area between the two rectangles is taken as the background area, and μ and σ are calculated in this area. 2 The iteration value of .
[0074] If the target diffusion range is less than one pixel, take R1=R2=2 for calculation.
[0075] This calculation method can avoid the error caused by calculating all pixels in the model initial value calculation module, as well as the interference caused by the overall non-uniformity of the infrared image after working for a long time.
[0076] This embodiment only calculates pixels near the target area when accurately calculating the background grayscale, avoiding the influence of noise on the calculation and the influence of the uniformity of the infrared image deteriorating during long-term operation. It has high sensitivity and good anti-interference performance.
[0077] The recognition module is used to identify The grayscale values of all pixels are classified, the target pixels are identified, and the position mean of all target pixels is calculated to obtain and output the target position to the display module.
[0078] Specifically, if The pixel grayscale value is considered to be the target grayscale value; if The pixel gray value is considered to be the background gray value.
[0079] The display module is used to display the position of the target in the image in real time in the software interface.
[0080] The update module is used to calculate the pixel grayscale mean μ and grayscale variance σ calculated by the division and iterative value calculation module. 2 The iteration value is used as the initial value, returned to the model initial value calculation module, and the target in the next frame image is detected.
[0081] Furthermore, the system uses a processing computer in combination with a Camera link image acquisition card to collect infrared raw images. The collected infrared raw images are Camera link digital images, and the system uses image processing software in the processing computer for real-time processing, and then outputs the position of the target in the image in the software interface and records it in real time on the processing computer.
[0082] The infrared small target detection method and system based on point spread function fitting provided by the present invention have the following advantages:
[0083] (1) The present invention can effectively overcome the shortcomings of small target imaging, loss of morphological information and inability to calculate the target edge;
[0084] (2) When calculating the precise background grayscale, the present invention only calculates the pixels near the target area, which can effectively avoid the influence of noise on the calculation and the influence of the uniformity of the infrared image deteriorating during long-term operation. It has high sensitivity and good anti-interference performance.
[0085] (3) The method used in the present invention only uses simple operations such as averaging and variance calculation, and does not use algorithms with high time and space complexity such as Fourier transform, convolution, neural network, etc., and can realize real-time target detection for two 100 Hz frequency and 640×512 resolution infrared images at the same time.
[0086] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0087] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A method for infrared small target detection based on point spread function fitting, It is characterized in that The following steps are involved: Step 1: Obtain the original infrared image captured by the infrared camera and determine whether the image timing and correctness are correct. If so, proceed to step 2; Step 2: Establish a point spread function distribution model based on the normal distribution formula, and use the Otsu method to calculate the initial value of the target background threshold of the current frame image, where the target background threshold includes the grayscale mean μ of each pixel after target diffusion and the variance σ of the grayscale values of all pixels in the infrared focal plane array 2 ; Step 3: Calculate the target diffusion size and initial position value of the current frame image according to the initial value of the target background threshold, and determine the target center according to the initial position value; Step 4: Take the center of the target as the centroid of the rectangle, take the integer multiples of the horizontal and vertical lengths of the target diffusion size as the side length of the rectangle, take two rectangles of different sizes, and take the area between the two rectangles as the background area. Calculate the grayscale mean μ and the variance σ of the pixel grayscale value in the background area. 2 The iteration value of Step 5: According to the pixel gray value range Classify the pixel grayscale values, identify the target pixels, and calculate the position mean of all target pixels to obtain and output the target position; Step 6: Use the grayscale mean μ and variance σ calculated in step 4 2 The iterative value of is used as the initial value, and then return to step 2 to detect the target in the next frame image.
2. According to the infrared dim small target detection method based on point spread function fitting according to claim 1, It is characterized in that In step 1, the infrared camera uses a Camera link image acquisition card to acquire and transmit the infrared raw image.
3. The infrared small target detection method based on point spread function fitting according to claim 1, It is characterized in that In step 4, the side lengths of the large rectangle are 10 times the horizontal length and the vertical length of the target, and the side lengths of the small rectangle are 5 times the horizontal length and the vertical length of the target.
4. According to claim 3, a method for detecting infrared small targets based on point spread function fitting, It is characterized in that When the target diffusion range is less than one pixel, the horizontal and vertical lengths of the target diffusion size are both taken as 2 for calculation.
5. An infrared small target detection system based on point spread function fitting, It is characterized in that It includes an infrared camera and a processing computer. The infrared camera uses an image acquisition card to collect infrared original images and outputs them to the processing computer. The processing computer includes: The judgment module is used to judge whether the image timing and correctness are correct. If so, the judgment result is output to the model initial value calculation module; The model initial value calculation module is used to establish a point spread function distribution model according to the normal distribution formula, and use the Otsu method to calculate the initial value of the target background threshold of the current frame image, where the target background threshold includes the grayscale mean μ of each pixel after the target is diffused and the variance σ of the grayscale values of all pixels in the infrared focal plane array 2 ; A target calculation module is used to calculate the target diffusion size and initial position value of the current frame image according to the initial value of the target background threshold, and determine the target center according to the initial position value; The division and iteration value calculation module is used to take the target center as the centroid of the rectangle, take the horizontal length and the integer multiple of the vertical length of the target diffusion size as the side length of the rectangle, take two rectangles of different sizes, and take the area between the two rectangles as the background area, and calculate the grayscale mean μ and the variance σ of the pixel grayscale value in the background area. 2 The iteration value of Identification module, used to identify the gray value interval of pixels Classify the pixel grayscale values, identify the target pixels, calculate the position mean of all target pixels, obtain and output the target position to the display module; A display module, used to display the position of the target in the image in real time in the software interface; Update module, used to calculate the grayscale mean μ and variance σ calculated by the division and iterative value calculation module 2 The iteration value is used as the initial value, returned to the model initial value calculation module, and the target in the next frame image is detected.
6. The infrared small target detection system based on point spread function fitting according to claim 5, It is characterized in that The image acquisition card is a Camera link image acquisition card.
7. The infrared small target detection system based on point spread function fitting according to claim 5, It is characterized in that The side lengths of the large rectangle are 10 times the horizontal and vertical lengths of the target, and the side lengths of the small rectangle are 5 times the horizontal and vertical lengths of the target.
8. The infrared small target detection system based on point spread function fitting according to claim 7, It is characterized in that When the target diffusion range is less than one pixel, the horizontal and vertical lengths of the target diffusion size are both taken as 2 for calculation.
Citation Information
Patent Citations
Infrared weak and small target detection method based on local contrast and gradient
CN114820384A
Deep learning single-frame infrared weak and small target high-resolution segmentation method
CN115661451A
Method for detecting and tracking infrared small target in complex background
CN102103748A
Infrared small target detection method based on angular point gaussian characteristic analysis
CN102567994A
Guidance infrared small target tracking method based on self-adaption manifold particle filters
CN102982555A
