Space target infrared simulation image generation method and device

The construction of space scenes and calculating infrared radiation brightness through Blender software solves the problem that the existing technology cannot directly simulate infrared images, and realizes efficient infrared simulation image generation, reducing the cost and difficulty of space detection.

CN119295597AInactive Publication Date: 2025-01-10齐鲁空天信息研究院
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411846609.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-16
Publication Date
2025-01-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art cannot directly perform infrared image simulation. Due to the limitations of factors such as location, weather and time, it is difficult to meet the growing demand for space detection.

Method used

The space scene is constructed through Blender software, obtain the internal parameters of the observation load of the observation platform, obtain the visible light observation image, extract the outline of the space target, and equivalently it to a gray body with a preset emissivity, calculate the infrared radiation brightness, and convert it to grayscale The value is filled into the outline of the spatial target to generate an infrared simulation image.

Benefits of technology

It gets rid of the dependence on visible light, improves the efficiency of infrared imaging simulation, reduces the cost and difficulty of space detection, and realizes infrared simulation image generation at any location, weather and time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119295597A_ABST
    Figure CN119295597A_ABST
Patent Text Reader

Abstract

The invention provides a space target infrared simulation image generation method and device, and relates to the technical field of infrared imaging, and the method comprises the steps: constructing a space scene through Blender software, setting an observation load internal reference of an observation platform, and obtaining an observation visual angle of a simulation scene; obtaining a visible light observation image through simulation, then extracting the contour of a space target, enabling the space target to be equivalent to a gray body with a preset emissivity, establishing a relation between the absolute temperature of the space target and a pixel gray value, and calculating the infrared radiation brightness; and finally, converting the infrared radiation brightness into a gray value, filling the gray value into the contour of the space target, and generating an infrared simulation image of the space target. The space target infrared simulation image generation method provided by the invention does not need to depend on visible light, improves the efficiency of infrared imaging simulation in space detection, and reduces the cost and difficulty of space detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of infrared imaging technology, and in particular to a method and device for generating infrared simulation images of space targets. Background Art

[0002] In recent years, in the field of optical payload imaging, with the rapid development of computer information processing technology and infrared imaging simulation technology, great progress has been made in the modeling and simulation of targets in the infrared and visible light bands.

[0003] In the process of modeling and simulation, key factors such as the geometric conditions of the observation position, the impact of the detection background radiation, and the pixel resolution of the sensor must be fully considered, which is crucial to building a high-precision space-based infrared imaging simulation system. However, most simulation software can only build scenes based on visible light, and is limited by factors such as location, weather, and time, and cannot directly simulate infrared images. Summary of the invention

[0004] The present invention provides a method and device for generating infrared simulation images of space targets, which are used to solve the problem that simulation software in the prior art can only construct scenes based on visible light and cannot directly perform infrared image simulation due to restrictions such as location, weather and time.

[0005] The present invention provides a method for generating an infrared simulation image of a space target, comprising the following steps: Construct a space scene based on Blender software and obtain the observation payload internal parameters of the observation platform; the space scene includes the relative position of the observation platform and the space target; Based on the relative position of the observation platform and the space target, and the internal parameters of the observation payload, obtaining a visible light observation image; Extracting the contour of the space target from the visible light observation image; The space target is equivalent to a gray body with a preset emissivity, and the radiation brightness corresponding to each pixel point within the outline of the space target is determined; The radiation brightness corresponding to each pixel point in the outline of the space target is converted into a grayscale value and filled into the outline of the space target to obtain an infrared simulation image of the space target.

[0006] According to a method for generating an infrared simulation image of a space target provided by the present invention, the method of acquiring a visible light observation image based on the relative position between the observation platform and the space target and the observation payload internal parameter comprises: Rendering the space scene to obtain an observation payload perspective; A visible light observation image is acquired based on the observation payload viewing angle, the relative position of the observation platform and the space target, and the observation payload internal parameters.

[0007] According to a method for generating an infrared simulation image of a space target provided by the present invention, extracting the contour of the space target from the visible light observation image comprises: Identifying a region in the visible light observation image where the space target is located; Morphological processing is performed on the area where the space target is located to obtain the outline of the space target.

[0008] According to a method for generating an infrared simulation image of a space target provided by the present invention, the step of identifying the area where the space target is located in the visible light observation image includes: Converting the visible light observation image into a binary image; The overly bright and overly dark parts of the space target are separated respectively, and the two areas are merged to obtain the area where the space target is located.

[0009] According to a method for generating an infrared simulation image of a space target provided by the present invention, the step of converting the visible light observation image into a binary image comprises: The visible light observation image is processed twice using an adaptive threshold in OpenCV to convert the visible light observation image into a binary image.

[0010] According to a method for generating an infrared simulation image of a space target provided by the present invention, converting the radiation brightness corresponding to each pixel point within the contour of the space target into a grayscale value comprises: Obtaining the minimum radiation brightness value and the maximum radiation brightness value corresponding to the gray body; Based on the minimum radiation brightness value and the maximum radiation brightness value, the radiation brightness corresponding to each pixel point in the outline of the space target is uniformly quantized to obtain the grayscale value corresponding to each pixel point in the outline of the space target.

[0011] The present invention also provides a device for generating a space target infrared simulation image, comprising the following modules: A construction module is used to construct a space scene based on Blender software and obtain the observation payload internal parameters of the observation platform; the space scene includes the relative position of the observation platform and the space target; A simulation module, used for acquiring a visible light observation image based on the relative position of the observation platform and the space target, and the internal parameters of the observation payload; An extraction module, used for extracting the outline of the space target from the visible light observation image; A determination module, used to treat the space target as a gray body with a preset emissivity, and determine the radiation brightness corresponding to each pixel point within the contour of the space target; The filling module is used to convert the radiation brightness corresponding to each pixel point in the outline of the space target into a grayscale value, and fill it into the outline of the space target to obtain an infrared simulation image of the space target.

[0012] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the processor executes the computer program, any of the above-mentioned methods for generating infrared simulation images of space targets is implemented.

[0013] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for generating an infrared simulation image of a space target as described in any one of the above is implemented.

[0014] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for generating an infrared simulation image of a space target as described above is implemented.

[0015] The method for generating an infrared simulation image of a space target provided by the present invention constructs a space scene through Blender software, sets the observation payload internal parameters of an observation platform, and obtains the observation viewing angle of the simulation scene; further obtains a visible light observation image through Blender software simulation, then extracts the contour of the space target from the visible light observation image, and equates the space target to a gray body with a preset emissivity, establishes a relationship between the absolute temperature of the space target and the pixel gray value, calculates the infrared radiation brightness, and thus gets rid of the dependence on visible light in the traditional simulation process; converts the infrared radiation brightness into a gray value, and fills it into the contour of the space target, and generates an infrared simulation image of the space target, which is not restricted by factors such as location, weather and time, thereby improving the efficiency of infrared imaging simulation in space detection and reducing the cost and difficulty of space detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 The present invention is a flowchart of a method for generating an infrared simulation image of a space target provided by the present invention.

[0018] Figure 2 It is a structural schematic diagram of a space target infrared simulation image generating device provided by the present invention.

[0019] Figure 3 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0020] In recent years, computer information processing technology and infrared imaging simulation technology have developed rapidly and have been widely used, especially in military infrared systems and infrared observation systems. However, it is time-consuming and labor-intensive to conduct field experiments on space-based infrared detection. It not only requires a lot of financial support, but also the actual experimental conditions are difficult to meet. Therefore, it is necessary to conduct computer simulation research to generate infrared images of space targets under the background of space in real time, so as to provide a reference for the evaluation of the detection, tracking and early warning system performance of space-based infrared observation systems.

[0021] At present, on the one hand, some achievements have been made in the research of space target imaging technology, such as the design and development of large-aperture photoelectric telescopes for optical imaging, or the successful application of "adaptive optics" technology in experiments for satellites in orbit, or the detection of multiple targets in multi-space target imaging experiments, achieving hourly real-time observation. However, these observation systems are all ground-based systems, and are subject to location, weather, time and other restrictions during actual observation.

[0022] On the other hand, in terms of optical payload imaging, great progress has been made in the modeling and simulation of targets in the infrared and visible light bands. In the process of modeling and simulation, the space-based detection system needs to consider the position geometry conditions during observation, the degree of influence of detection background radiation, and the size of the sensor pixel resolution, which is crucial to building a high-precision space-based infrared imaging simulation system. However, most of the current simulation software is based on visible light for scene construction and cannot directly simulate infrared images, making it difficult to meet the growing needs of space detection.

[0023] In order to solve the above problems, the present invention equates the space target to a gray body with a certain emissivity, and provides a method for generating an infrared simulation image of the space target. Through a pre-constructed space simulation scene and the pre-set absolute temperature of the space target and the observed payload internal parameters, as well as the conversion of absolute temperature to grayscale value of infrared grayscale image, the generation of infrared simulation image of the space target is realized, thereby providing an effective way to generate infrared simulation image of the space target.

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

[0025] Combine the following Figures 1 to 3 The invention describes a method and device for generating infrared simulation images of space targets.

[0026] Figure 1 FIG. 1 is a flow chart of a method for generating an infrared simulation image of a space target provided by the present invention. Figure 1 The method comprises the following steps: Step 101: construct a space scene based on Blender software and obtain the observation payload internal parameters of the observation platform; the space scene includes the relative position of the observation platform and the space target.

[0027] The space environment is simulated based on Blender software and True Space plug-in, and the relevant parameters of observation payloads and space targets are configured to build a complete space-based observation scene.

[0028] Specifically, first use the True Space plug-in in the Blender software to set the starry sky background, and then set the space target related parameters, including position coordinates, rotation attitude, etc.; then set the observation payload internal parameters of the observation platform, including position coordinates, rotation attitude, focal length, and sensor height.

[0029] According to the position coordinates of the space target and the position coordinates of the observation platform, the relative position of the observation platform and the space target in the space scene can also be obtained.

[0030] Step 102: Acquire a visible light observation image based on the relative position of the observation platform and the space target and the observation payload internal parameters.

[0031] According to the relative position between the observation platform and the space target, and the set observation payload internal parameters, the observation angle is obtained, and then the Blender software is used for simulation to obtain the visible light observation image. The observation payload internal parameters include position coordinates, rotation attitude, focal length, and sensor height.

[0032] Step 103: extracting the outline of the space target from the visible light observation image.

[0033] Based on the simulated visible light observation image, the adaptive threshold processing method (cv2.threshold) in OpenCV is first used to convert the image into a binary image, and the overly bright and dark parts of the space target are separated respectively, and the two areas are merged; then morphological processing is performed on the merged area, including dilation operation (cv2.dilate) and closing operation (cv2.morphologyEx); finally, based on the morphological processing results, the edge of the space target is found through OpenCV (cv2.findContours) to obtain the edge with the largest area, thereby extracting the contour of the space target.

[0034] Step 104: Equivalent the space target to a gray body with a preset emissivity, and determine the radiation brightness corresponding to each pixel point within the contour of the space target.

[0035] Gray body radiation emissivity refers to the ability of an object's surface to radiate energy at a rate equal to its capacity. Gray body radiation emissivity is a value between 0 and 1, which represents the ratio of the energy radiated by the surface of an object to the energy radiated by a black body at the same temperature. A completely black ideal rough object can completely absorb energy and has the greatest radiation efficiency, and its gray body radiation emissivity is 1; while an object that completely reflects energy has a gray body radiation emissivity of 0.

[0036] In the embodiment of the present invention, the space target is equivalent to a gray body with a preset emissivity, and the preset emissivity can be any value between 0 and 1. Then, the radiation brightness (or radiation intensity) corresponding to different positions within the contour of the space target is calculated by the temperature at different positions within the contour of the space target and the imaging band of the infrared camera. The calculation formula is as follows:

[0037] in, The inner coordinates of the contour of the space target are The radiance corresponding to the pixel point at is the infrared radiation emissivity of the gray body, is the circumference of a circle, is the first radiation constant, is the imaging wavelength of the infrared camera, ranging from , is the second radiation constant, The inner coordinates of the contour of the space target are The absolute temperature corresponding to the pixel point at .

[0038] The expression is:

[0039] The expression is:

[0040] in, is the first radiation constant The dimension of is the unit of power, expressed as watt, Indicates micrometers, Indicates meters, is the second radiation constant The dimension of Indicates micrometers, is a temperature unit, expressed in Kelvin. By calculating, the radiation brightness corresponding to different positions within the contour of the space target can be obtained, thereby determining the radiation brightness corresponding to each pixel point within the contour of the space target.

[0041] The embodiment of the present invention equates the space target to a gray body with a preset emissivity, establishes a relationship between the absolute temperature of the space target and the pixel grayscale value, and calculates the infrared radiation brightness, thereby getting rid of the dependence on visible light in the traditional simulation process. The infrared radiation brightness can be obtained based on the absolute temperature of the space target, providing a basis for the subsequent generation of infrared simulation images.

[0042] Step 105: convert the radiation brightness corresponding to each pixel point in the outline of the space target into a grayscale value, and fill it into the outline of the space target to obtain an infrared simulation image of the space target.

[0043] After obtaining the radiation brightness corresponding to each pixel point within the contour of the space target, the radiation brightness of the target is converted into a grayscale value using a uniform quantization method and filled into the contour of the space target to obtain an infrared simulation image of the space target.

[0044] The invention provides a method for generating an infrared simulation image of a space target. First, a space scene is constructed based on Blender software, and the observation payload internal parameters of the observation platform are set to obtain the observation angle of the simulation scene; then, a visible light observation image is further obtained through Blender software simulation; then, the space target outline is extracted from the visible light observation image, and the absolute temperature of the space target is linked to the pixel gray value, the infrared radiation brightness is calculated, and the calculated infrared radiation brightness is grayed and filled into the outline of the space target to generate an infrared simulation image of the space target. By Blender software simulation and equating the space target to a gray body with a certain emissivity, it is not necessary to rely on visible light, and it is no longer restricted by factors such as location, weather and time. It is only necessary to fill the gray value corresponding to the infrared radiation brightness in the visible light observation image simulated by Blender software into the outline of the space target to generate an infrared simulation image, thereby improving the efficiency of infrared imaging simulation in space detection and reducing the cost and difficulty of space detection.

[0045] Optionally, acquiring the visible light observation image based on the relative position of the observation platform and the space target and the observation payload internal parameter includes: Rendering the space scene to obtain an observation payload perspective; A visible light observation image is acquired based on the observation payload viewing angle, the relative position of the observation platform and the space target, and the observation payload internal parameters.

[0046] Specifically, after the space scene is constructed, it is rendered using a renderer, and the scene renderer-related parameters are set, including renderer selection, renderer resolution, rendering result output path, etc., to obtain the observation load perspective. Renderer types include Octane Render, V-Ray, Cycles, Arnold, Renderman, Redshift, Maxwell, Corona, Enscape, and 3ds Max.

[0047] In order to obtain better rendering results, the embodiment of the present invention takes the Cycles renderer as an example to illustrate, sets the renderer resolution to 600×600, and renders the space scene to obtain the observation payload perspective. Then, based on the observation payload perspective, the relative position of the observation platform and the space target, and the set observation payload internal parameters, the simulation is started using the Blender software to output the visible light observation image.

[0048] The embodiment of the present invention renders the space scene through the Cycles renderer to obtain the observation payload perspective, and then performs Blender software simulation based on the observation payload perspective, the relative position of the observation platform and the space target, and the observation payload internal parameters to obtain a visible light observation image. Therefore, the visible light observation image can be simulated by only using Blender software and Cycles renderer, without relying on visible light in traditional infrared simulation, thereby improving the efficiency of infrared imaging simulation.

[0049] Optionally, extracting the contour of the space target from the visible light observation image includes: Identifying a region in the visible light observation image where the space target is located; Morphological processing is performed on the area where the space target is located to obtain the outline of the space target.

[0050] Specifically, after the visible light observation image is obtained by simulating the Blender software, the area where the space target is located in the visible light observation image is identified, and then the area where the space target is located is morphologically processed to obtain the outline of the space target.

[0051] Morphological processing includes operations such as dilation, erosion, opening and closing of images. In the embodiment of the present invention, in order to more accurately find the edge (i.e., contour) of a space target and extract its boundary information, the embodiment of the present invention takes the dilation operation (cv2.dilate) and the closing operation (cv2.morphologyEx) of a visible light observation image as an example for explanation.

[0052] Specifically, the dilation operation uses a 3×3 convolution kernel to connect adjacent edges, thereby expanding the area where the spatial target is located in the image. The closing operation is to perform the dilation operation first and then the erosion operation. The 3×3 convolution kernel is used to fill the small holes inside the image and connect the broken edges, making the area where the spatial target is located more complete and connected.

[0053] The embodiment of the present invention performs morphological processing on the visible light observation image, and then searches for the edge of the space target through OpenCV (cv2.findContours), obtains the edge with the largest area, and thus accurately extracts the contour of the space target.

[0054] Optionally, the identifying the area where the space target is located in the visible light observation image includes: Converting the visible light observation image into a binary image; The overly bright and overly dark parts of the space target are separated respectively, and the two areas are merged to obtain the area where the space target is located.

[0055] Specifically, after the visible light observation image is obtained by simulating the Blender software, the visible light observation image is first converted into a binary image, and then the overly bright and overly dark parts of the space target are separated respectively, and the two areas are merged to obtain the area where the space target is located.

[0056] Optionally, converting the visible light observation image into a binary image includes: The visible light observation image is processed twice using an adaptive threshold in OpenCV to convert the visible light observation image into a binary image.

[0057] Specifically, after the visible light observation image is obtained by Blender software simulation, the visible light observation image is converted into a binary image. Methods for converting the visible light observation image into a binary image include adaptive threshold method (including global threshold and local threshold), clustering-based threshold method, edge-based threshold method, and bimodal method.

[0058] The embodiment of the present invention takes the adaptive threshold (cv2.threshold) method in OpenCV as an example to illustrate, uses the OSTU algorithm to determine the global threshold, and converts the image into a binary image. The specific process is as follows: (1) Calculate the grayscale histogram of the image, that is, calculate the number of pixels occupied by each pixel value between 0 and 255; (2) Traverse each pixel value between 0 and 255. Pixel values ​​less than or equal to the threshold are too dark, that is, background pixels, and pixel values ​​greater than the threshold are too bright, that is, foreground pixels. (3) Calculate the ratio of background pixels to the total number of pixels and the average value of background pixels; (4) Calculate the ratio of foreground pixels to the total number of pixels and the average value of foreground pixels; (5) Calculate the inter-class variance or intra-class variance, and determine the threshold that maximizes the inter-class variance or minimizes the intra-class variance as the optimal threshold; (6) Use the optimal threshold to binarize the image to obtain a binary image.

[0059] After binarization of the image, the overly bright and overly dark parts of the space target are separated, and the two areas are merged to obtain the area where the space target is located.

[0060] In order to better extract the area where the space target is located, the embodiments of the present invention conducted multiple experiments. For example, the local threshold in the adaptive threshold method, or the clustering-based threshold method, the edge-based threshold method and the bimodal method were used to binarize the image respectively, and then the area where the space target is located was extracted.

[0061] The experimental results show that by using the OSTU algorithm to determine the global threshold through the two-time adaptive threshold method, converting the image into a binary image, and then separating the overly bright and dark parts of the spatial target and merging the two areas, the target area can be extracted more accurately.

[0062] The embodiment of the present invention processes the visible light observation image twice through the adaptive threshold in OpenCV, converts the visible light observation image into a binary image, then separates the overly bright and overly dark parts of the space target respectively, and merges the two areas to obtain the area where the space target is located, accurately extracts the area where the space target is located, and thereby improves the accuracy of subsequent contour extraction of the space target.

[0063] Optionally, converting the radiation brightness corresponding to each pixel point in the outline of the space target into a grayscale value includes: Obtaining the minimum radiation brightness value and the maximum radiation brightness value corresponding to the gray body; Based on the minimum radiation brightness value and the maximum radiation brightness value, the radiation brightness corresponding to each pixel point in the outline of the space target is uniformly quantized to obtain the grayscale value corresponding to each pixel point in the outline of the space target.

[0064] Specifically, after determining the radiation brightness corresponding to each pixel point in the contour of the space target, the radiation brightness of the target is converted into a grayscale value using a uniform quantization method and filled into the target contour extracted in step 103 to perform infrared image simulation.

[0065] In the process of converting the radiant brightness into grayscale values, the minimum value of the grayscale range is first determined. and maximum value . For 256 gray levels, , , while establishing the minimum radiance value and the maximum radiance value The minimum and maximum radiance values ​​can be based on the target radiance The range is set independently, and the grayscale quantization calculation method is as follows:

[0066] Through the above calculation, the gray value corresponding to each pixel in the contour of the space target is obtained. , fill the grayscale quantization result into the corresponding contour of the space target in the grayscale image, and then generate the infrared simulation image of the space target.

[0067] The embodiment of the present invention obtains the grayscale value corresponding to each pixel point in the outline of the space target by uniformly quantizing the radiation brightness corresponding to each pixel point in the outline of the space target, thereby establishing a relationship between the absolute temperature, radiation brightness and pixel grayscale value of the space target, realizing infrared image simulation without relying on visible light, improving the efficiency of infrared imaging simulation in space detection, and reducing the cost and difficulty of space detection.

[0068] A space target infrared simulation image generation device provided by the present invention is described below. The space target infrared simulation image generation device described below and the space target infrared simulation image generation method described above can be referenced to each other.

[0069] Based on any of the above embodiments, Figure 2 Schematic diagram of the structure of a device for generating infrared simulation images of space targets provided by the present invention. Figure 2 The embodiment of the present invention provides a device for generating infrared simulation images of space targets, including a construction module 201, a simulation module 202, an extraction module 203, a determination module 204 and a filling module 205, wherein: The construction module 201 is used to construct a space scene based on Blender software and obtain the observation payload internal parameters of the observation platform; the space scene includes the relative position of the observation platform and the space target; the simulation module 202 is used to obtain a visible light observation image based on the relative position of the observation platform and the space target, and the observation payload internal parameters; the extraction module 203 is used to extract the outline of the space target from the visible light observation image; the determination module 204 is used to equate the space target to a gray body with a preset emissivity, and determine the radiation brightness corresponding to each pixel point in the outline of the space target; the filling module 205 is used to convert the radiation brightness corresponding to each pixel point in the outline of the space target into a grayscale value, and fill it into the outline of the space target to obtain an infrared simulation image of the space target.

[0070] The present invention provides a space target infrared simulation image generation device. First, a space scene is constructed based on Blender software, and the observation payload internal parameters of the observation platform are set to obtain the observation angle of the simulation scene; then, a visible light observation image is further obtained through Blender software simulation; then, the space target outline is extracted from the visible light observation image, and the absolute temperature of the space target is connected with the pixel gray value, the infrared radiation brightness is calculated, and the calculated infrared radiation brightness is grayed and filled into the outline of the space target to generate an infrared simulation image of the space target. Through Blender software simulation and the space target being equivalent to a gray body with a certain emissivity, it is not necessary to rely on visible light, and it is no longer restricted by factors such as location, weather and time. It only needs to fill the gray value corresponding to the infrared radiation brightness in the visible light observation image simulated by Blender software into the outline of the space target to generate an infrared simulation image, thereby improving the efficiency of infrared imaging simulation in space detection and reducing the cost and difficulty of space detection.

[0071] Figure 3 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 3 As shown, the electronic device may include: a processor 310, a communications interface 320, a memory 330 and a communication bus 340, wherein the processor 310, the communications interface 320 and the memory 330 communicate with each other via the communication bus 340. The processor 310 may call the logic instructions in the memory 330 to execute the method for generating a space target infrared simulation image, which includes: Construct a space scene based on Blender software and obtain the observation payload internal parameters of the observation platform; the space scene includes the relative position of the observation platform and the space target; Based on the relative position of the observation platform and the space target, and the internal parameters of the observation payload, obtaining a visible light observation image; Extracting the contour of the space target from the visible light observation image; The space target is equivalent to a gray body with a preset emissivity, and the radiation brightness corresponding to each pixel point within the outline of the space target is determined; The radiation brightness corresponding to each pixel point in the outline of the space target is converted into a grayscale value and filled into the outline of the space target to obtain an infrared simulation image of the space target.

[0072] In addition, the logic instructions in the above-mentioned memory 330 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0073] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the space target infrared simulation image generation method provided by the above methods, the method includes: Construct a space scene based on Blender software and obtain the observation payload internal parameters of the observation platform; the space scene includes the relative position of the observation platform and the space target; Based on the relative position of the observation platform and the space target, and the internal parameters of the observation payload, obtaining a visible light observation image; Extracting the contour of the space target from the visible light observation image; The space target is equivalent to a gray body with a preset emissivity, and the radiation brightness corresponding to each pixel point within the outline of the space target is determined; The radiation brightness corresponding to each pixel point in the outline of the space target is converted into a grayscale value and filled into the outline of the space target to obtain an infrared simulation image of the space target.

[0074] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the method for generating an infrared simulated image of a space target provided by the above methods, the method comprising: Construct a space scene based on Blender software and obtain the observation payload internal parameters of the observation platform; the space scene includes the relative position of the observation platform and the space target; Based on the relative position of the observation platform and the space target, and the internal parameters of the observation payload, obtaining a visible light observation image; Extracting the contour of the space target from the visible light observation image; The space target is equivalent to a gray body with a preset emissivity, and the radiation brightness corresponding to each pixel point within the outline of the space target is determined; The radiation brightness corresponding to each pixel point in the outline of the space target is converted into a grayscale value and filled into the outline of the space target to obtain an infrared simulation image of the space target.

[0075] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0076] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0077] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0078] "Determine B based on A" in the embodiments of the present application means that the factor A should be considered when determining B. It is not limited to "B can be determined based on A alone", but should also include: "Determine B based on A and C", "Determine B based on A, C and E", "Determine C based on A, and further determine B based on C", etc. In addition, it can also include taking A as a condition for determining B, for example, "When A meets the first condition, use the first method to determine B"; for another example, "When A meets the second condition, determine B", etc.; for another example, "When A meets the third condition, determine B based on the first parameter", etc. Of course, it can also be a condition that takes A as a factor for determining B, for example, "When A meets the first condition, use the first method to determine C, and further determine B based on C", etc.

[0079] In the present invention, the term "plurality" refers to two or more than two, and other quantifiers are similar to them.

[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for generating a space target infrared simulation image, characterized in that: include: Build space scenes based on Blender software and obtain the observation payload internal parameters of the observation platform; The space scene includes the relative positions of the observation platform and the space target; Based on the relative position of the observation platform and the space target, and the internal parameters of the observation payload, obtaining a visible light observation image; Extracting the contour of the space target from the visible light observation image; The space target is equivalent to a gray body with a preset emissivity, and the radiation brightness corresponding to each pixel point within the outline of the space target is determined; The radiation brightness corresponding to each pixel point in the outline of the space target is converted into a grayscale value and filled into the outline of the space target to obtain an infrared simulation image of the space target.

2. The method for generating a space target infrared simulation image according to claim 1, characterized in that: The acquiring of a visible light observation image based on the relative position of the observation platform and the space target and the observation payload internal parameter includes: Rendering the space scene to obtain an observation payload perspective; A visible light observation image is acquired based on the observation payload viewing angle, the relative position of the observation platform and the space target, and the observation payload internal parameters.

3. The method for generating a space target infrared simulation image according to claim 1, characterized in that: The step of extracting the contour of the space target from the visible light observation image comprises: Identifying a region in the visible light observation image where the space target is located; Morphological processing is performed on the area where the space target is located to obtain the outline of the space target.

4. The method for generating infrared simulation images of space targets according to claim 3, characterized in that: The identifying the area where the space target is located in the visible light observation image includes: Converting the visible light observation image into a binary image; The overly bright and overly dark parts of the space target are separated respectively, and the two areas are merged to obtain the area where the space target is located.

5. The method for generating infrared simulation images of space targets according to claim 4, characterized in that: The step of converting the visible light observation image into a binary image comprises: The visible light observation image is processed twice using an adaptive threshold in OpenCV to convert the visible light observation image into a binary image.

6. The method for generating a space target infrared simulation image according to claim 1, characterized in that: The step of converting the radiation brightness corresponding to each pixel point within the contour of the space target into a grayscale value includes: Obtaining the minimum radiation brightness value and the maximum radiation brightness value corresponding to the gray body; Based on the minimum radiation brightness value and the maximum radiation brightness value, the radiation brightness corresponding to each pixel point in the outline of the space target is uniformly quantized to obtain the grayscale value corresponding to each pixel point in the outline of the space target.

7. A device for generating infrared simulation images of space targets, characterized in that: include: The construction module is used to build space scenes based on Blender software and obtain the observation payload internal parameters of the observation platform; The space scene includes the relative positions of the observation platform and the space target; A simulation module, used for acquiring a visible light observation image based on the relative position of the observation platform and the space target, and the internal parameters of the observation payload; An extraction module, used for extracting the outline of the space target from the visible light observation image; A determination module, used to treat the space target as a gray body with a preset emissivity, and determine the radiation brightness corresponding to each pixel point within the contour of the space target; The filling module is used to convert the radiation brightness corresponding to each pixel point in the outline of the space target into a grayscale value, and fill it into the outline of the space target to obtain an infrared simulation image of the space target.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the method for generating an infrared simulation image of a space target as claimed in any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating an infrared simulation image of a space target as claimed in any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for generating an infrared simulation image of a space target as claimed in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Small aerial target dynamic infrared simulation method and device capable of automatically adapting to weather

    CN113902663A