Infrared line scanning camera flash element detection method
By performing median filtering and threshold screening on the infrared line scan camera, flash elements are detected and suppressed, which solves the problem of flash elements affecting the observation in the infrared detector and improves the detection accuracy and imaging quality of the infrared camera.
Patent Information
- Application Number
- CN202410826293.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-17
AI Technical Summary
There is a problem of flash elements in infrared detectors, which makes it more difficult to detect small and weak infrared targets. Especially under alternating temperatures, the position and number of flash elements are easy to change, which affects the observation effect of infrared cameras. The existing technology lacks efficient detection. method.
The flash element detection method of infrared line scanning camera is adopted, which includes cold air scanning of the infrared camera, obtaining an image sequence, performing median filtering and absolute value operation, and determining the flash element position through statistics and threshold filtering. The specific steps include column direction and time direction. Summation statistics and threshold segmentation.
Effectively detects and suppresses flash elements, improves the imaging quality and target detection accuracy of infrared cameras, reduces false alarms, and solves the impact of flash elements on infrared camera observations.
Smart Images

Figure CN118657663A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of space infrared camera information processing, and in particular to a flash element detection method for an infrared line scanning camera. Background Art
[0002] Infrared detectors have invalid pixels such as blind pixels and flicker pixels due to their own insufficient technological level, which makes it more difficult to detect weak infrared targets. Blind pixels are divided into bright pixels with too high grayscale values and bad pixels with too low grayscale values. Their positions are relatively fixed and easy to calibrate. Usually, detectors are calibrated before leaving the factory. Flicker pixels are also called overheated pixels, random blind pixels, etc. Their grayscale values fluctuate violently, and they have various manifestations in the time domain, showing noise waveforms such as 1 / f noise, burst noise, and step noise. At the same time, the position of flicker pixels is affected by factors such as process defects, system working conditions, and random noise. Flicker pixels are different from blind pixels. Within a certain time range, the output level of flicker pixels fluctuates greatly, and sometimes tends to be normal. Flicker pixels are not completely fixed during application, and the blind pixel judgment standard cannot be used to calibrate flicker pixels.
[0003] Under temperature changes, the number of flash elements and their positions in the focal plane are prone to change, which will affect the infrared camera's ground observation. Especially for push-broom space infrared cameras using linear detectors, the presence of flash elements will affect the data of an entire column (or row), causing false alarms during target detection, so they need to be detected and suppressed. At present, there is a lack of efficient flash element detection methods for scanning cameras. Summary of the invention
[0004] The present invention is intended to provide a flash element detection method for an infrared line scanning camera to solve the problems raised in the above background technology.
[0005] In order to achieve the above object, the present invention provides the following technical solutions:
[0006] A method for detecting flash elements of an infrared array scanning camera comprises the following steps:
[0007] S1, firstly, the infrared camera is used to scan the cold air to obtain an infrared line scanning image sequence;
[0008] S2, performing median filtering on each image in the column direction, subtracting the median filtered image from the original image to obtain a median-filtered image;
[0009] S3. Determine the flash element position through statistics and threshold screening.
[0010] Preferably, in step S1, the infrared camera is first used to scan the cold air to obtain an infrared line scanning image sequence I 1 , I 2 ,…I N , for Ik (x, y), x is the row index, y is the column index;
[0011] Preferably, the step S2 performs median filtering on each image in the column direction, and subtracts the median filtered image from the original image:
[0012] S21, obtain the median-subtracted filter image H k (x, y), assuming I k (x, y) is a pixel point in the kth image in the original image sequence, M k (x, y) is the corresponding pixel after the median filter is applied, then the operation of subtracting the median filter can be expressed as:
[0013] H k (x,y)=I k (x,y)-M k (x,y)
[0014] M k (x,y)=median{I k (x+i,y)|i∈[-a,a]}
[0015] Where: a is the filter window radius;
[0016] S22, minus median filter graph H k (x, y) takes the absolute value operation to obtain the image H′ k (x, y):
[0017] H′ k (x,y)=|H k (x,y)|
[0018] Preferably, the step S3 determines the flash element position by statistics and threshold screening:
[0019] S31, for H′ k Perform threshold segmentation, the threshold is set to Th1, and the image after threshold segmentation is S k :
[0020]
[0021] S32, S in the column direction k Perform sum statistics to obtain data V k (y):
[0022]
[0023] S33, V k (y) Perform threshold segmentation, set the threshold to Th2, and obtain T k(y), those exceeding the threshold Th2 are selected as candidate flash elements:
[0024]
[0025] S34, in the continuous N frames, in the time direction T k Perform sum statistics to obtain U(y):
[0026]
[0027] S35, U(y) is the one-dimensional data obtained after summing and counting in the time direction. U(y) is segmented by threshold, and the threshold is set to Th3 to obtain Z(y). The data exceeding the threshold Th3 are determined as flash elements:
[0028]
[0029] Where Th1 = α 1 std(H′ k ), Th2=α 2 std(V k ), Th3=α 3 std(U k ), in general, α 1 =6,α 2 =6,α 3 =6, or can be set according to actual needs.
[0030] Compared with the prior art, the present invention has the following beneficial effects:
[0031] The present invention provides a method for detecting flash elements of infrared column scanning cameras. Aiming at the problem that flash elements exist in spaceborne scanning cameras and affect remote sensing observation, the flash elements are detected according to the statistical characteristics of the flash elements, including firstly scanning the cold sky with the infrared camera to obtain an infrared column scanning image sequence; then performing median filtering on each image in the column direction, subtracting the median filtered image from the original image, and obtaining a median filtered image; and determining the flash element position through statistical and threshold screening. The method can be applied to the optimization of detector imaging quality and the field of target detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a flow chart of a flash element detection method for an infrared array scanning camera;
[0033] Figure 2 It is a grayscale variation diagram of a flash element column of a flash element detection method of an infrared line scanning camera;
[0034] Figure 3 It is a flicker element threshold analysis diagram of a flicker element detection method of an infrared line scanning camera;
[0035] Figure 4 This paper presents a flicker threshold analysis for a flicker detection method of infrared line scan camera. DETAILED DESCRIPTION
[0036] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments:
[0037] A method for detecting flash elements of an infrared array scanning camera comprises the following steps:
[0038] S1, firstly, the infrared camera is used to scan the cold air to obtain an infrared line scanning image sequence;
[0039] S2, performing median filtering on each image in the column direction, subtracting the median filtered image from the original image to obtain a median-filtered image;
[0040] S3. Determine the flash element position through statistics and threshold screening.
[0041] Preferably, in step S1, the infrared camera is first used to scan the cold air to obtain an infrared line scanning image sequence I 1 , I 2 ,...I N , for I k (x, y), x is the row index, y is the column index;
[0042] Preferably, the step S2 performs median filtering on each image in the column direction, and subtracts the median filtered image from the original image:
[0043] S21, obtain the median-subtracted filter image H k (x, y), assuming I k (x, y) is a pixel point in the kth image in the original image sequence, M k (x, y) is the corresponding pixel after the median filter is applied, then the operation of subtracting the median filter can be expressed as:
[0044] H k (x,y)=I k (x,y)-M k (x,y)
[0045] M k (x,y)=median{I k (x+i,y)|i∈[-a,a]}
[0046] Where: a is the filter window radius;
[0047] S22, minus median filter graph H k (x, y) takes the absolute value operation to obtain the image H′ k (x, y):
[0048] H′ k (x,y)=|H k (x,y)|
[0049] Preferably, the step S3 determines the flash element position by statistics and threshold screening:
[0050] S31, for H′ k Perform threshold segmentation, the threshold is set to Th1, and the image after threshold segmentation is S k :
[0051]
[0052] S32, S in the column direction k Perform sum statistics to obtain data V k (y):
[0053]
[0054] S33, V k (y) Perform threshold segmentation, set the threshold to Th2, and obtain T k (y), those exceeding the threshold Th2 are selected as candidate flash elements:
[0055]
[0056] S34, in the continuous N frames, in the time direction T k Perform sum statistics to obtain U(y):
[0057]
[0058] S35, U(y) is the one-dimensional data obtained after summing and counting in the time direction. U(y) is segmented by threshold, and the threshold is set to Th3 to obtain Z(y). The data exceeding the threshold Th3 are determined as flash elements:
[0059]
[0060] Where Th1 = α 1 std(H′ k ), Th2=α 2 std(V k ), Th3=α 3 std(U k ), in general, α 1 =6,α 2 =6,α 3 =6, or can be set according to actual needs.
[0061] The specific implementation process is as follows:
[0062] Embodiment 1:
[0063] like Figure 1 As shown in the figure, the design steps of the flash element detection based on the 2000-element detector space infrared camera are as follows:
[0064] Step 1, pointing the imaging direction of the scanning camera toward the deep space, and imaging the deep space;
[0065] Step 2: Obtain image sequence data in real time and save it, such as Figure 2 As shown;
[0066] Step 3, perform median filtering on each image in the column direction in real time, subtract the median filtered image from the original image, and obtain a median filtered image;
[0067] Step 4: Subtract median filter image H k (x, y) takes the absolute value operation to obtain the image H′ k (x, y);
[0068] Step 5: H′ k Perform threshold segmentation, the threshold is set to Th1, and the image after threshold segmentation is S k ;
[0069] Step 6: S in the column direction k Perform sum statistics to obtain data V k (y);
[0070] Step 7, V k (y) Perform threshold segmentation, set the threshold to Th2, and obtain T k (y), those exceeding the threshold Th2 are selected as candidate flash elements, as shown in Figure 3, where Th2 = 6, and when Th2 = 4, the candidate flash elements can be screened out;
[0071] Step 8: In the N consecutive frames, T k Perform sum statistics to obtain U(y);
[0072] Step 9, U(y) is the one-dimensional data obtained after summing and counting in the time direction. U(y) is threshold segmented, and the threshold is set to Th3 to obtain Z(y). The pixels exceeding the threshold Th3 are determined to be flash pixels. Before the Th3 threshold is used, the pixel performance is as follows, the horizontal axis represents the pixel number, and the vertical axis represents the number of suspected flash pixels in 50 frames, such as Figure 4 shown.
[0073] Th1=6; Th2=4; Th3=4; the results of flash element screening are shown in the table:
[0074] Flash Coin Number 101 132 268 1086
[0075] The above is only an embodiment of the present invention, and the common knowledge such as the known specific technical solutions and / or characteristics in the solution is not described in detail here. It should be pointed out that for those skilled in the art, without departing from the technical solution of the present invention, several modifications and improvements can be made, which should also be regarded as the protection scope of the present invention, and these will not affect the effect of the implementation of the present invention and the practicality of the patent. The scope of protection required by this application shall be based on the content of its claims, and the specific implementation methods and other records in the specification can be used to interpret the content of the claims.
Claims
1. A method for detecting flash elements of an infrared line scanning camera, characterized in that: The following steps are involved: S1, firstly, the infrared camera is used to scan the cold air to obtain an infrared line scanning image sequence; S2, performing median filtering on each image in the column direction, subtracting the median filtered image from the original image to obtain a median-filtered image; S3. Determine the flash element position through statistics and threshold screening.
2. The method for detecting flash elements of an infrared line scanning camera according to claim 1, characterized in that: In step S1, the infrared camera is first used to scan the cold air to obtain an infrared line scanning image sequence I1, I2, ...I N , for I k (x, y), where x is the row index and y is the column index.
3. The method for detecting flash elements of an infrared line scanning camera according to claim 1, characterized in that: The step S2 performs median filtering on each image in the column direction, and subtracts the median filtered image from the original image: S21, obtain the median-subtracted filter image H k (x, y), assuming I k (x, y) is a pixel point in the kth image in the original image sequence, M k (x, y) is the corresponding pixel after the median filter is applied, then the operation of subtracting the median filter can be expressed as: H k (x,y)=I k (x,y)-M k (x,y) M k (x,y)=median{I k (x+i,y)|i∈[-a,a]} Where: a is the filter window radius; S22, minus median filter graph H k (x, y) takes the absolute value operation to obtain the image H′ k (x, y): H′ k (x,y)=|H k (x,y)| 4. The method for detecting flash elements of an infrared line scanning camera according to claim 1, characterized in that: The step S3 determines the flash element position by statistics and threshold screening: S31, for H′ k Perform threshold segmentation, the threshold is set to Th1, and the image after threshold segmentation is S k : S32, S in the column direction k Perform sum statistics to obtain data V k (y): S33, V k (y) Perform threshold segmentation, set the threshold to Th2, and obtain T k (y), those exceeding the threshold Th2 are selected as candidate flash elements: S34, in the continuous N frames, in the time direction T k Perform sum statistics to obtain U(y): S35, U(y) is the one-dimensional data obtained after summing and counting in the time direction. U(y) is segmented by threshold, and the threshold is set to Th3 to obtain Z(y). The data exceeding the threshold Th3 are determined as flash elements: Where Th1 = α1std(H′ k ), Th2=α2std(V k ), Th3=α3std(U k ), generally, α1=6, α2=6, α3=6, or they can be set according to actual needs.
