Image light spot centroid method based on adaptive threshold

Through adaptive threshold processing and the construction of the center of mass detection window, the problem of center of mass calculation accuracy of spot center of mass under the influence of noise in the adaptive optical system is solved, and the accurate identification of spot area and the stability of center of mass calculation is achieved. It is suitable for long-distance star-ground light Communication.

CN118887276APending Publication Date: 2024-11-01TONGJI UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410904213.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-07
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In adaptive optical systems, complex noise affects the spot image, resulting in the confusion of real spots with noise blocks. The existing unified threshold method is difficult to effectively remove noise, affecting the calculation accuracy of the centroid.

Method used

The center of mass method of image spot based on adaptive threshold is adopted, and the threshold value is preprocessed and the threshold value is quickly sorted, and the noise spot treatment is performed to construct a center of mass detection window to improve the accuracy of center of mass calculation.

Benefits of technology

It realizes effective positioning and identification of the spot area, improves the accuracy and stability of centroid detection, and provides more accurate signal processing conditions for long-distance satellite-ground optical communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118887276A_ABST
    Figure CN118887276A_ABST
Patent Text Reader

Abstract

The invention discloses an image light spot centroid method based on a self-adaptive threshold in order to solve the problem that noise in a self-adaptive optical system is complex and has large influence on a light spot image. Due to the fact that the influence of noise can be rapidly removed, the threshold value reduction method is widely concerned. The self-adaptive light spot centroid detection method has the advantages that the light spot area can be positioned, the light spot can be effectively identified, self-adaptive threshold segmentation is realized, and the centroid detection window is determined. The algorithm has high progress and high stability, and provides conditions for establishment of a long-distance satellite-to-ground optical communication link.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of adaptive optics, and in particular refers to an image spot centroid calculation method based on adaptive threshold. Background Art

[0002] There are complex noises in the adaptive optical system, which have a great impact on the spot image. The noises that affect the spot image mainly include readout noise, photon noise and skylight background noise. In the actual spot image, small noise blocks are prone to appear. The grayscale values ​​of these noise blocks are large, which makes the real spot area confused with these noise areas. Therefore, it is necessary to judge the real spot and distinguish it from the noise block area. Considering that the various types of noise in the system are independent additive noises, the threshold subtraction method can be used to process them. The threshold subtraction method is a method of performing a threshold subtraction operation in each image to filter out noise, thereby improving the accuracy of centroid detection. It is widely used.

[0003] At present, among the wavefront beacon extraction methods, the threshold subtraction method and the windowing method are widely used. Among them, the threshold subtraction method is divided into global threshold subtraction, local threshold subtraction and adaptive threshold subtraction. Most image threshold selection methods use a unified threshold for the entire image, but due to the large difference in light intensity distribution and uneven noise distribution, it is unscientific to use a global threshold method and a unified threshold for processing. It may cause some weaker effective spot signals to be cut off, and the noise cannot be effectively removed, thereby affecting the accuracy of the centroid calculation and causing large errors in subsequent centroid calculations. Therefore, it is necessary to use an adaptive threshold. This method locates the spot area, realizes spot validity identification, adaptive threshold segmentation, and determines the centroid detection window, which is superior to the global threshold subtraction and local threshold subtraction. A detailed study of spot centroid detection is crucial to improving the detection accuracy of the system. Summary of the invention

[0004] In order to overcome the disadvantages of the above technical problems, the present invention provides an adaptive threshold calculation method for centroid light spot, aiming to achieve more effective extraction of light spot information, improve the centroid extraction progress, and improve the tracking accuracy of the system.

[0005] To achieve the above purpose, the specific technical solution adopted by the present invention is as follows: An image spot centroid method based on adaptive threshold, characterized by comprising: S1 processes the gray value and determines the threshold point selection standard; S2 performs threshold reduction and noise spot processing; S3 constructs a centroid detection window to perform centroid calculation.

[0006] The noise in the adaptive optical system is relatively complex and has a great impact on the spot image. To address this problem, the present invention discloses an image spot centroid method based on an adaptive threshold. The advantages of the present invention are that it can locate the spot area, identify the effectiveness of the spot, implement adaptive threshold segmentation, and determine the centroid detection window of the adaptive spot centroid detection method. This algorithm has high progress and strong stability, providing conditions for the establishment of a link for long-distance satellite-to-ground optical communication. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 This is the algorithm processing flow of the present invention. DETAILED DESCRIPTION

[0007] The present invention will be further described below in conjunction with the accompanying drawings.

[0008] The image spot centroid method based on adaptive threshold includes the following steps:

[0009] Process the grayscale value and determine the threshold point selection standard S1, specifically: The skylight background noise, CMOS readout noise, photon noise, background dark current noise and shot noise in the detector image are preprocessed by using median filtering. The pixel value is replaced by the median value of the grayscale values ​​of the surrounding pixels centered on the target pixel. p(x, y)=median(f(xi, yj)), i, j∈C

[0010] Where f(x, y) is the grayscale value of the pixel to be processed in the original image, p(x, y) is the grayscale value of the pixel after filtering, and C is the filtering window.

[0011] In the pre-processed spot image area, the grayscale values ​​of the pixels are quickly sorted from large to small.

[0012] Set the gray value of the pixel at the kth position as the threshold, and use Indicates, where j represents the index of the sub-aperture.

[0013] The threshold value K value selection standard is determined by calculating the centroid calculation deviation value (CEE value). The CEE value is defined as follows:

[0014] In the above formula, (x0, y0) is the real center of the light spot generated by the simulation, (x c ,y c ) is the calculated center of mass coordinate. The smaller the CEE value is, the closer the calculated center of mass coordinate is to the real center of the simulated light spot.

[0015] Perform threshold reduction processing and noise spot processing S2, specifically: by The threshold is used to perform threshold subtraction processing on the entire sub-aperture spot image area. All pixels with grayscale values ​​less than the threshold are set to 0, and the remaining pixels are subtracted from the threshold.

[0016] p(i, j) represents the pixel of the image after filtering, g(i, j) represents the pixel of the image after threshold reduction, is the threshold value.

[0017] The image after threshold reduction is subjected to noise spot processing, and the image is divided into regions using the connected domain segmentation method. The divided regions are: f1, f2, f3, f4, ...

[0018] The energy sum is used to determine the effective signal. The energy sum is the sum of the number of pixels in f1, f2, f3, f4, ..., and the maximum value of these sums is calculated. max .

[0019] Set a threshold S and convert the obtained f max Compare with the threshold S, if the energy sum is greater than S, it is determined that there is a target signal in the image, otherwise it is considered that there is no target signal in the image.

[0020] Construct a centroid detection window to perform centroid calculation S3, specifically: After obtaining the image with light spots, a suitable centroid detection window W is constructed according to factors such as the size and shape of the actual light spots.

[0021] Window W is approximately centered on the light spot. A rectangular window with centered at , and the centroid is calculated according to the following formula.

[0022] Among them, x c is the horizontal coordinate of the center of mass, y c is the vertical coordinate, g(i, j) represents the pixel point of the image after threshold reduction. According to the noise situation of the first frame image, the difference (Δ) between the centroid processing threshold and the minimum value of the image is calculated. When processing the centroid of each frame image, the minimum value of the previous frame image plus the difference is used as the processing threshold of the current frame image, and the centroid is calculated after threshold reduction processing.

Claims

1. An image spot centroid method based on adaptive threshold, characterized in that: include: S1 processes the gray value and determines the threshold point selection standard; S2 performs threshold reduction and noise spot processing; S3 constructs a centroid detection window to calculate the centroid.

2. According to the adaptive threshold-based image spot centroid method of claim 1, it is characterized in that: Process the grayscale value and determine the threshold point selection standard S1, specifically: The sky light background noise, CMOS readout noise, photon noise, background dark current noise and shot noise in the detector image are preprocessed by using median filtering; The pixel value is replaced by the median value of the grayscale values ​​of the surrounding pixels centered on the target pixel; p(x, y)=median(f(xi, yj)), i, j∈C f(x,y) is the gray value of the pixel to be processed in the original image, p(x,y) is the gray value of the pixel after filtering, and C is the filtering window; In the pre-processed spot image area, the grayscale values ​​of the pixels are quickly sorted from large to small; Set the gray value of the pixel at the kth position as the threshold, and use Indicates, where j represents the number of the subaperture; The threshold value K value selection standard is determined by calculating the centroid calculation deviation value (CEE value). The CEE value is defined as follows: In the above formula, (x0, y0) is the real center of the light spot generated by the simulation, (x c ,y c ) is the calculated center of mass coordinate. The smaller the CEE value is, the closer the calculated center of mass coordinate is to the real center of the simulated light spot.

3. The image spot centroid method based on adaptive threshold according to claim 1, characterized in that: Perform threshold reduction processing and noise spot processing S2, specifically: by is the threshold, and the entire sub-aperture spot image area is subjected to threshold subtraction processing. All pixels with gray values ​​less than the threshold are set to 0, and the remaining pixels are subtracted from the threshold. p(i, j) represents the pixel of the image after filtering, g(i, j) represents the pixel of the image after threshold reduction, is the threshold value; The image after threshold reduction is subjected to noise spot processing, and the image is divided into regions using the connected domain segmentation method. The divided regions are: f1, f2, f3, f4, ...; The energy sum is used to determine the effective signal. The energy sum is the sum of the number of pixels in f1, f2, f3, f4, ..., and the maximum value of these sums is calculated. max ; Set a threshold S and set the maximum value f max Compare with the threshold S. If the energy sum is greater than the threshold S, it is determined that there is a target signal in the image, otherwise it is considered that there is no target signal in the image.

4. The image spot centroid method based on adaptive threshold according to claim 1, characterized in that: Construct a centroid detection window to perform centroid calculation S3, specifically: After obtaining the image with light spots, a suitable centroid detection window W is constructed according to the size and morphological factors of the actual light spots. The window W is the approximate center of the light spot. A rectangular window with the center as the center is calculated according to the following formula; Among them, x c is the horizontal coordinate of the center of mass, y c is the vertical coordinate, g(i, j) represents the pixel point of the image after threshold reduction. According to the noise situation of the first frame image, the difference (Δ) between the centroid processing threshold and the minimum value of the image is calculated. When processing the centroid of each frame image, the minimum value of the previous frame image plus the difference is used as the processing threshold of the current frame image, and the centroid is calculated after threshold reduction processing.

Citation Information

Cited By

  • Camera mass center position extraction method and system, terminal and medium

    CN121458778A