A method for removing star images from all-day medium and high orbit telescope images

By performing binary processing and noise identification on images from medium- and high-orbit telescopes, combining single-frame and multi-frame correlation methods to distinguish star images, and using background images to replace star images, the problem of star image interference is solved and the precise removal of star images is achieved. , reducing the difficulty of mid- and high-orbit target extraction and retaining image quality.

CN118735816BActive Publication Date: 2024-10-29CHANGCHUN INST OF OPTICS FINE MECHANICS & PHYSICS CHINESE ACAD OF SCI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411227446.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-10-29
Estimated Expiration
2044-09-03

AI Technical Summary

Technical Problem

In all-day mid- and high-orbit telescope images, star images interfere with the extraction of mid- and high-orbit targets, making extraction more difficult.

Method used

Through binarization processing of CCD images, connected areas are obtained, width and height thresholds are set to identify noise, single-frame and multi-frame correlation methods are combined to distinguish star images, and background images are used to replace star image pixels to achieve precise removal of star images.

Benefits of technology

It effectively weakens the star trajectory signal, improves the signal strength of mid- and high-orbit targets, reduces the difficulty of subsequent target extraction, and retains the quality of the original image.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735816B_ABST
    Figure CN118735816B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of image processing technology, and specifically provides a method for removing star images in all-day medium and high orbit telescope images, extracting a background image based on a CCD image acquired by a telescope, binarizing the CCD image, obtaining all connected areas in the binary image through a four-connected region method, setting a threshold, identifying connected areas that meet the threshold, and determining them to be noise, and for the remaining connected areas, determining whether they are noise by identifying whether they appear for the first time, and then screening out connected areas belonging to star images, obtaining pixels corresponding to star images in the background image to cover the star images, and finally obtaining a CCD image with star images removed. The star image removal method provided by the present invention can distinguish star images from noise and remove star images, improve the accuracy of star recognition, and can ensure that the grayscale values ​​of pixels in non-star image areas do not change, thereby ensuring the quality of CCD images without star images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and specifically provides a method for removing star images in all-day medium and high orbit telescope images. Background Art

[0002] Traditional medium and high orbit detection technology is mainly used for nighttime detection, and daytime detection of medium and high orbit targets by ground-based optical telescopes has gradually become a key development direction for relevant scientific research institutions at home and abroad. In addition to containing faint medium and high orbit target information, CCD images obtained by all-day medium and high orbit telescopes may also contain brighter stars. The targets cannot be imaged in CCD images and are all dim images. Therefore, it is necessary to use a multi-frame joint correlation algorithm to extract dim targets such as medium and high orbit satellites to make the targets clearly displayed.

[0003] Taking medium and high orbit satellites as an example, the information of medium and high orbit satellites in the single frame image obtained by the telescope is submerged in the noise. A series of multi-frame continuous short exposure CCD images are directly output to the multi-frame joint correlation algorithm. After the multi-frame joint correlation algorithm, an image with obvious high orbit satellite targets is generated. When using a short-wave infrared camera with a field of view of 10' diagonal to detect optoelectronic telescopes all day long to shoot medium and high orbit targets, it is found that during the complete exposure process, multiple stars will pass through the field of view. On average, no less than 50% of the single frame images will have stars visible to the naked eye. These stars will have obvious tracks in the images processed by the multi-frame joint correlation algorithm. The tracks cause serious interference to the satellite target image, which brings great difficulty to the subsequent extraction of medium and high orbit targets.

[0004] Therefore, before extracting the target through the multi-frame joint correlation algorithm, it is necessary to remove the star image in the CCD image in order to eliminate or weaken the star tracks in the medium and high orbit target images. Summary of the invention

[0005] In order to solve the above problems, the present invention provides a method for removing star images in all-day medium and high orbit telescope images. The CCD image obtained by the telescope is binarized and all connected areas therein are obtained. Star images are screened out in these connected areas and replaced with backgrounds to remove star images. The method can identify star images and will not affect non-star image areas after removal.

[0006] The present invention provides a method for removing star images from a full-day medium- and high-orbit telescope image, comprising:

[0007] S1: Acquire the CCD image of the target through the telescope and extract the background image of the CCD image;

[0008] S2: binarizing the CCD image to obtain a binary CCD image;

[0009] S3: Obtain all connected regions in the binary CCD image;

[0010] S4: setting a width threshold and a height threshold, and determining a connected area whose width is less than or equal to the width threshold or whose height is less than or equal to the height threshold as noise;

[0011] S5: Obtain the pixel center point coordinates of the remaining connected areas except the connected area determined as noise in S4 , determine the coordinates in the non-adjacent historical CCD images Whether there is such a connected region at the position, if so, the connected region is determined to be noise;

[0012] S6: The connected areas determined to be noises are removed from the connected areas. The remaining connected areas are star images. The pixels where the star images are located are replaced with pixels at corresponding positions in the background image to obtain a CCD image without star images.

[0013] Preferably, the extraction equation of the background image is:

[0014] ;

[0015] in, Represents the background image, Indicates that the coordinates in the background image are Pixels, represents the CCD image, Indicates that the coordinates in the CCD image are Pixels, represents the calculation parameters, The pixel value is larger than the radius of the imaging area of ​​the star in the CCD image.

[0016] Preferably, the calculation parameters The value is 15.

[0017] Preferably, the connected regions are obtained by a four-connected region method.

[0018] Preferably, the width threshold is 1 and the height threshold is 1.

[0019] Preferably, the frequency at which the telescope acquires CCD images is not less than 10 Hz.

[0020] Preferably, the historical CCD image is a CCD image obtained one second before the current CCD image undergoing star image removal.

[0021] Compared with the prior art, the present invention can achieve the following beneficial effects:

[0022] The present invention proposes a method for removing star images in all-day medium and high orbit telescope images. The method performs binarization processing on the CCD image, obtains all connected areas therein, and distinguishes the connected areas belonging to the star image and the noise through the single-frame method and the multi-frame association method, and replaces the pixels of the star image through the background image of the CCD image, thereby realizing the removal of the star image. The method identifies smaller noise through the single-frame method and identifies larger noise through the multi-frame association method, thereby realizing accurate and complete recognition of noise, and the connected areas belonging to non-star images will not be misidentified, ensuring that the star image removal is more accurate and effective. When removing the star image, only the pixels corresponding to the star image are replaced, which can ensure that the grayscale value of the pixels in the non-star image area does not change, and greatly retains the content and quality of the original CCD image.

[0023] The image after stars are removed is then sent to a multi-frame joint correlation algorithm for processing. The signal strength of the star tracks is greatly weakened, and the signal strength of medium and high orbit targets is much higher than that of the star tracks, reducing the difficulty of subsequent extraction of medium and high orbit targets. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 is a flow chart of a star image removal method provided according to an embodiment of the present invention;

[0025] Figure 2 is a schematic diagram of a CCD image acquired by a telescope provided by an embodiment of the present invention;

[0026] Figure 3 is a schematic diagram of a background image corresponding to a CCD image provided by an embodiment of the present invention;

[0027] Figure 4 is a schematic diagram of a CCD image acquired by a telescope provided by an embodiment of the present invention;

[0028] Figure 5 is a schematic diagram of a binary CCD image provided according to an embodiment of the present invention;

[0029] Figure 6 is a schematic diagram before the star image is removed according to an embodiment of the present invention;

[0030] Figure 7 is a schematic diagram after star images are removed according to an embodiment of the present invention;

[0031] Figure 8 is a difference diagram before and after the star image is removed according to an embodiment of the present invention;

[0032] Fig. 9 is a schematic diagram of a target image directly obtained by a CCD image according to an embodiment of the present invention;

[0033] Fig.10 It is a schematic diagram of a target image obtained by a CCD image without a star image according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the following description, the same modules are represented by the same reference numerals. In the case of the same reference numerals, their names and functions are also the same. Therefore, the detailed description thereof will not be repeated.

[0035] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and do not constitute a limitation of the present invention.

[0036] like Figure 1 As shown, the present invention provides a method for removing star images in a full-day medium- and high-orbit telescope image, which is used to remove star images contained in a CCD image of a medium- and high-orbit target acquired by a telescope. The removal method comprises:

[0037] S1: A series of continuous multi-frame CCD images of targets such as medium-orbit satellites are acquired through a telescope. The method of the embodiment of the present invention processes the series of CCD images acquired by the telescope frame by frame, and the processed CCD image is called the current frame CCD image.

[0038] After the telescope acquires the current CCD image, it is necessary to extract the background image corresponding to the current CCD image. The background image has the same image size and pixel depth as the current CCD image, and each pixel position on the background image corresponds to the current CCD image.

[0039] The extraction equation of the background image is:

[0040] ;

[0041] in, Represents the background image, Indicates that the coordinates in the background image are Pixels, Represents the current frame CCD image, Indicates that the coordinates in the current frame CCD image are Pixels, represents the calculation parameters, The value must be larger than the pixel value corresponding to the radius of the imaging area of ​​the star in the current frame CCD image, but the calculation parameter The value of should not exceed this radius. In practical applications, the calculation parameters should be determined based on the CCD image obtained by the telescope. The specific value of the calculation parameter in the embodiment of the present invention The value is 15.

[0042] The background image extracted by the above method does not contain any star images, target images, etc. It is just the background.

[0043] like Figure 2 As shown in the figure, it is the original image of the CCD image obtained by the telescope. The two selected areas in the CCD image are the star images, such as Figure 3 The figure shows the background image corresponding to the original image. After being processed by the background extraction equation, the star positions marked in the original image are replaced by a uniform background in the background image. Although four fainter white dots appear around the star positions in the background image, since the positions of the four white dots are not star images in the original CCD image, they will not have any effect when removing the star images.

[0044] S2: Figure 4 and Figure 5 As shown, the current frame CCD image is binarized, and the current frame CCD image The foreground and background are separated to obtain a binary CCD image . Figure 4 is the original image of the CCD image without binarization processing, Figure 5 is the binarized CCD image after binarization. The binarization method is as follows:

[0045] According to the actual content of the CCD image obtained by the telescope, a grayscale threshold is selected , determine the current frame CCD image Every pixel Gray value With gray threshold If the pixel Gray value Less than gray threshold , then the gray value of the point is set to 0; if the pixel Gray value Greater than or equal to gray threshold , then the gray value of the point is set to 255. The details are as follows:

[0046] ;

[0047] in, Indicates that the coordinates in the binary CCD image are The grayscale value of the pixel.

[0048] After the above processing, the current frame CCD image is converted into a binary CCD image, and image binarization processing is a mature existing technology.

[0049] S3: Obtain the binary CCD image corresponding to the current frame CCD image Then, based on the binary CCD image , all the connected regions are obtained by the four-connected region method. The connected regions include both the connected regions belonging to the star image and the connected regions belonging to the noise. However, since the CCD images of targets such as medium- and high-orbit satellites obtained by the telescope have too dim images of the targets, the connected regions obtained here do not contain the images of the targets.

[0050] The specific method of obtaining all connected regions through the four-connected region method is:

[0051] Select the binary CCD image Any coordinate in The gray value of the pixel is the target grayscale value, and the pixels located at Whether the grayscale values ​​of the four pixels above, below, left and right of the pixel are the target grayscale values, if so, the pixel is connected to the pixel A connected area is formed. If not, it is not connected. Based on the newly identified connected pixels, the grayscale values ​​of the four pixels above, below, to the left and to the right of the connected pixel are detected in turn to see if they are the target grayscale values. If so, they are also connected pixels and are merged into the pixel The above detection process is repeated until the grayscale values ​​of the four pixels above, below, to the left and to the right of all detected pixels are not equal to the target grayscale value, and the connected areas with the same grayscale value are called connected areas.

[0052] S4: Identify the binary CCD image using the four-connected region method After finding all the connected regions in the image, we distinguish whether each connected region is a star image or not. The method to distinguish between noise and star images is as follows:

[0053] Usually, the connected area corresponding to the noise occupies fewer pixels. Based on this characteristic, the single-frame method is used to identify smaller noise first, and then the represents the pixel width of the connected region, Indicates the pixel height of the connected area, sets the width threshold and height threshold, and respectively determines the relationship between the width and height of the connected area and the width threshold and the height threshold, and determines the connected area whose width is less than or equal to the width threshold or whose height is less than or equal to the height threshold as noise. In the embodiment of the present invention, the width threshold and the height threshold are both set to 1, which means 1 pixel. If the connected area satisfies or , that is, if the width or height of the connected area does not exceed 1 pixel, the connected area is determined to be noise. It should be noted that in the embodiment of the present invention, the width threshold and the height threshold are both set to 1. 1 pixel is the smallest unit in the image. Therefore, when the width threshold and the height threshold are both set to 1, if the connected area satisfies or , it can be identified as noise.

[0054] Here, the width threshold and height threshold need to be set according to the actual situation of the image.

[0055] S5: Since some noise may be large, its size may exceed the threshold. If the above threshold is set too large, larger noise can be identified, but there is also the possibility of misjudging smaller stars as noise. Therefore, the width threshold and height threshold should not be set too large. Image background noise is usually caused by the difference in pixel response rate of the detector. Therefore, if a pixel or area in the image is extracted as a false target, it will most likely become a false target in a subsequent frame. Therefore, the image background noise in the CCD image will not move in the CCD image to produce a track like a star.

[0056] For larger noise, the following multi-frame association method is used for recognition:

[0057] Remove the connected regions determined as noise in S4, obtain the remaining connected regions, and determine whether the remaining connected regions appear for the first time. Represents the pixel center coordinates of the connected region, and takes the frame it is in as the reference to extract a non-adjacent historical image. In this historical image, at the same coordinates Whether there is a connected region at the position of , if there is, then the connected region is not the first time to appear, and it is determined to be noise; if not, then the connected region appears for the first time, and it is determined to be a star image. The historical image described here refers to the binary CCD image corresponding to the CCD image acquired by the telescope before the current frame CCD image for star image removal.

[0058] When a telescope acquires CCD images, it can usually acquire dozens to hundreds of frames per second. Since the time a star appears in a CCD image is limited and is in motion, if the interval between two CCD images is too long, the interval may be longer than the total time the star appears, and it is impossible to accurately determine that it is not the first appearance. If the interval between two CCD images is too short, the displacement of the star's motion is too small and cannot be accurately determined. Therefore, the selected historical image should not be too far or too close to the binary CCD image where the connected area to be determined is located. The location of the historical image selection can be directly determined based on the actual situation. In the embodiment of the present invention, the historical image corresponding to the interval of one second is taken forward from the current frame image.

[0059] In the first second, the CCD image acquired by the telescope may not be able to obtain the historical image corresponding to the previous second. In this case, only non-adjacent historical images can be acquired. When the CCD image without star images is used later, the image within the first second can be discarded to prevent affecting the target acquisition.

[0060] S6: All noise in the binary CCD image is identified by the above single-frame method and multi-frame association method, and the connected areas determined to be noise are removed. The remaining connected areas are star images. The star image is removed by using the pixel replacement method, and the pixels where the star image is located are replaced with the pixels at the corresponding position in the corresponding background image to obtain a CCD image without star images, such as Figure 6 and Figure 7 As shown, Figure 6 shows the original image before the star image was removed. Figure 7 This is the image after the star image is removed.

[0061] like Figure 8 As shown in FIG. 1 , after the star images are removed by the method of the embodiment of the present invention, it is difficult to distinguish whether the grayscale values ​​of the non-star areas outside the two star images are replaced. To verify whether the non-star areas are replaced, the images before and after the star images are removed are subtracted to obtain the following: Figure 8 The difference image shown shows that there is no misreplacement in the non-stellar area.

[0062] like Fig. 9 As shown, the image of medium and high orbit satellites and other targets is obtained by directly outputting the CCD image obtained by the telescope to the multi-frame joint correlation algorithm without removing the star image through the method of the embodiment of the present invention. The white dots in the framed area are the images of medium and high orbit satellites and other targets. It can be seen that the star tracks in the figure are clear, which has a greater impact on the images of medium and high orbit satellites and other targets. Fig.10As shown, through the method of the embodiment of the present invention, a series of CCD images acquired by the telescope are processed into CCD images without star images, and then a series of CCD images without star images are output to a multi-frame joint correlation algorithm to obtain clear images of targets such as medium and high orbit satellites. Fig.10 It can be seen that the star tracks are eliminated, which greatly reduces the difficulty of subsequent extraction of medium and high orbit targets.

[0063] Although the embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. Those skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

[0064] The above specific implementations of the present invention do not constitute a limitation on the protection scope of the present invention. Any other corresponding changes and modifications made based on the technical concept of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. A method for removing star images from all-day medium and high orbit telescope images, characterized in that: include: S1: Acquire a CCD image of the target through a telescope, and extract a background image of the CCD image. The extraction equation of the background image is: ; in, Represents the background image, Indicates that the coordinates in the background image are Pixels, represents the CCD image, Indicates that the coordinates in the CCD image are Pixels, represents the calculation parameters, The pixel value is larger than the radius of the star imaging area in the CCD image; S2: binarizing the CCD image to obtain a binary CCD image; S3: Acquire all connected regions in the binary CCD image; S4: setting a width threshold and a height threshold, and determining a connected area whose width is less than or equal to the width threshold or whose height is less than or equal to the height threshold as noise; S5: Obtain the pixel center point coordinates of the remaining connected areas except the connected area determined as noise in S4 , determine that the coordinates in the non-adjacent historical CCD images are Whether there is such a connected region at the position, if so, the connected region is determined to be noise; S6: removing the connected areas determined to be noise from the connected areas, and the remaining connected areas are star images. The pixels where the star images are located are replaced with pixels at corresponding positions in the background image to obtain a CCD image without star images.

2. The method for removing star images from all-day medium and high orbit telescope images as claimed in claim 1, characterized in that: The calculation parameters The value is 15.

3. The method for removing star images from all-day medium and high orbit telescope images as claimed in claim 1, characterized in that: The connected regions are obtained by a four-connected region method.

4. The method for removing star images from all-day medium and high orbit telescope images as claimed in claim 1, characterized in that: The width threshold is 1, and the height threshold is 1.

5. The method for removing star images in all-day medium and high orbit telescope images as claimed in claim 1, characterized in that: The frequency at which the telescope acquires the CCD image is no less than 10 Hz.

6. The method for removing star images from all-day medium and high orbit telescope images as claimed in claim 5, characterized in that: The historical CCD image is a CCD image obtained one second before the current CCD image undergoing star image removal.

Citation Information

Patent Citations

  • Fixed star centroid extraction method used for area array instrument of geostationary orbit earth observation satellite

    CN107945229A

  • Daytime stellar imager

    US20060085129A1