Infrared shadow simulation generation method and system
By combining three-dimensional modeling and heat balance equations with a planar projection shadow algorithm, the simulation generates infrared shadows caused by blocking sunlight, solving the problem of the lack of a unified method in the existing technology and achieving efficient and accurate infrared shadow simulation.
Patent Information
- Application Number
- CN202210569037.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-24
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-05-24
AI Technical Summary
Existing infrared simulation technology lacks a unified method or model to simulate the generation of infrared shadows caused by blocking sunlight, causing infrared target detection and information acquisition to be negatively affected.
Three-dimensional modeling and meshing technology are used to model the occluding objects and the ground in the target scene. The plane projection shadow algorithm is used to calculate the illumination state of the fragment, and the ground surface heat balance equation is established. The fragment is determined based on the illumination state and heat balance equation. The temperature of the element is simulated to generate infrared shadows.
It achieves accurate simulation of infrared shadows produced by blocking sunlight, taking into account the influence of multiple environmental factors and lighting time. The generated shadow effects are realistic and accurate, reducing the complexity of the model.
Smart Images

Figure CN114937120B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of infrared simulation technology, and in particular to an infrared shadow simulation generation method and system. Background Art
[0002] In recent years, with the development and application of infrared guided weapon systems, infrared imaging simulation technology has become a hot topic of research at home and abroad. Carrying out research on infrared scene simulation technology for typical ground targets, especially building targets, and establishing more realistic and reliable infrared simulation scenes can provide strong guarantees for the design, development and verification of infrared weapons, greatly improve development efficiency, shorten product cycles, and have great military significance.
[0003] At present, many methods of infrared scene simulation have been proposed in China. The first idea is based on foreign simulation platform systems. There are many such simulation platforms, such as SensorVision of Vega and MODTRAN of the US Air Force Earth Laboratory. The second idea is to use the experimental experience value method. In the infrared simulation process, the scene is given an empirical radiation value based on a large number of experiments to quickly obtain the scene image. The experimental experience value method can reproduce the infrared image under specific conditions and scenes, which has high credibility, but has high requirements for experimental conditions, consumes a lot of manpower and material resources, and also ensures that the experiment is accurate and feasible. The third idea is to use the theoretical generation method, which completes the simulation work according to the principle of heat transfer combined with the atmospheric transmission model and the infrared sensor model. Traditional infrared scene generation technology is usually based on this idea, and its research focus is on the calculation of the target background surface temperature field distribution.
[0004] There is no unified method or model for the simulation generation of scene infrared shadows. However, the existence of infrared shadows has brought unavoidable negative impacts on infrared target detection and infrared information acquisition. Research on infrared shadow generation and simulation has gradually begun to attract people's attention. The published literature involves infrared shadow calculation simulation generation as follows:
[0005] "Realistic Synthesis of Infrared Targets and Backgrounds" (Wang Zhangye et al., Journal of Computer-Aided Design and Graphics, vol. 14(11), 2002). The infrared shadow defined in this article is the temperature field distribution effect of the ground being higher than the surrounding area due to the strong thermal radiation of the tank, rather than the infrared shadow formed by the uneven distribution of ground temperature in the scene due to the blocking of sunlight. In addition, it only calculates the case of continuous temperature changes, and does not take into account the situation of changes in external radiation conditions.
[0006] "Research on infrared imaging simulation of typical target scenes" (Jiang Zhaoyi, doctoral dissertation, 2007). This paper considers the thermal state of the ground itself in the past, forms the occlusion interval texture according to the illumination time, and uses the linear visibility function to enhance the optimization of shadows when drawing images. However, it treats the ground shadow generation area as a whole, and only blurs and optimizes the edges, resulting in insufficient shadow accuracy and a stiff shadow.
[0007] "Simulation of solar infrared radiation reflection by ground targets" (Lu Qingpeng, master's degree thesis, 2007). In this paper, the sun is regarded as a point light source, and the shadow caused by the self-occlusion of the object is mainly considered. The shadow area is calculated using a ray tracing algorithm, but the effect of illumination time on the shadow and the superposition gain are not comprehensively considered.
[0008] In summary, up to now, there has been no unified and effective method to calculate the infrared shadows caused by blocking sunlight. Summary of the invention
[0009] The purpose of the present invention is to provide an infrared shadow simulation generation method and system, which can simulate and generate infrared shadows caused by blocking sunlight.
[0010] To achieve the above object, the present invention provides the following solutions:
[0011] A method for generating infrared shadow simulation, comprising:
[0012] Performing three-dimensional modeling on the occluding objects and the ground in the target scene to obtain a target scene model, and meshing the ground model in the target scene model to obtain a multi-layered fragment unit, wherein one of the fragment units is a single-layer structure composed of a plurality of fragments;
[0013] Using a plane projection shadow algorithm to calculate the illumination state of each of the fragments in the top-level fragment unit at each time in a day according to the occluding object model in the target scene model; the illumination state includes illumination and no illumination;
[0014] Establish the ground surface heat balance equation;
[0015] Obtaining the temperature of each chip in the top chip unit at the target time according to the illumination state of each chip in the top chip unit at the target time and the ground surface heat balance equation;
[0016] The infrared shadow of the target scene at the target time is determined according to the temperature of each fragment in the top-layer fragment unit at the target time.
[0017] Optionally, obtaining the temperature of each chip in the top chip unit at the target time according to the illumination state of each chip in the top chip unit at the target time and the ground surface heat balance equation specifically includes:
[0018] For any fragment in the top-level fragment unit, determine the initial value of the solution according to the illumination state of the fragment at the target time;
[0019] The ground surface heat balance equation is solved according to the initial value to obtain the temperature of the element at the target time.
[0020] Optionally, determining the infrared shadow of the target scene at the target time according to the temperature of each fragment in the top-level fragment unit at the target time specifically includes:
[0021] For any one of the top-level fragment units, determine the radiation brightness of the fragment according to the temperature of the fragment at the target time;
[0022] Determine the grayscale value corresponding to the fragment according to the radiation brightness of the fragment;
[0023] The infrared shadow of the target scene at the target time is obtained according to the grayscale value of each fragment in the top-level fragment unit.
[0024] Optionally, determining the initial value to be solved according to the illumination state of the fragment at the target time specifically includes:
[0025] Determine the illumination data texture of the fragment according to the illumination state of the fragment at each moment in a day;
[0026] Determining the illumination state of the fragment at a target time according to the illumination data texture of the fragment;
[0027] Determine the illumination condition of the fragment at the target moment according to the illumination state of the fragment at the target moment, wherein the illumination condition includes: before illumination, during illumination, and after illumination;
[0028] The initial value of the solution is determined according to the lighting conditions of the fragment at the target time.
[0029] An infrared shadow simulation generation system, comprising:
[0030] A modeling and meshing module is used to perform three-dimensional modeling on the occluding objects and the ground in the target scene to obtain a target scene model, and to mesh the ground model in the target scene model to obtain a multi-layered fragment unit, wherein one of the fragment units is a single-layer structure composed of a plurality of fragments;
[0031] An illumination state determination module, for calculating the illumination state of each of the fragments in the top-level fragment unit at each time in a day by using a plane projection shadow algorithm according to the occluding object model in the target scene model; the illumination state includes illumination and no illumination;
[0032] Heat balance equation building module, used to establish the ground surface heat balance equation;
[0033] A temperature determination module, used for obtaining the temperature of each chip in the top chip unit at the target time according to the illumination state of each chip in the top chip unit at the target time and the ground surface heat balance equation;
[0034] The infrared shadow determination module is used to determine the infrared shadow of the target scene at the target time according to the temperature of each fragment in the top-level fragment unit at the target time.
[0035] Optionally, the temperature determination module specifically includes:
[0036] An initial value determination unit, used for determining an initial value to be solved for any one of the top-level fragment units according to the illumination state of the fragment at a target time;
[0037] The temperature determination unit is used to solve the ground surface heat balance equation according to the initial value to obtain the temperature of the fragment at the target time.
[0038] Optionally, the infrared shadow determination module specifically includes:
[0039] A radiation brightness calculation unit, used for determining the radiation brightness of any one of the top-level fragment units according to the temperature of the fragment at a target time;
[0040] A gray value calculation unit, used to determine the gray value corresponding to the fragment according to the radiation brightness of the fragment;
[0041] The infrared shadow calculation unit is used to obtain the infrared shadow of the target scene at the target time according to the grayscale value of each fragment in the top-level fragment unit.
[0042] Optionally, the initial value determination unit specifically includes:
[0043] An illumination data texture determination subunit, configured to determine the illumination data texture of the fragment according to the illumination state of the fragment at each moment in a day;
[0044] An illumination state determination subunit, configured to determine an illumination state of the fragment at a target time according to the illumination data texture of the fragment;
[0045] An illumination condition determination subunit, configured to determine the illumination condition of the fragment at the target moment according to the illumination state of the fragment at the target moment, wherein the illumination condition includes: before illumination, during illumination, and after illumination;
[0046] The initial value determination subunit is used to determine the initial value to be solved according to the lighting conditions of the fragment at the target time.
[0047] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects: the present invention performs three-dimensional modeling of the occluding objects and the ground in the target scene to obtain the target scene model, and meshes the ground model in the target scene model to obtain a multi-layer chip unit; a plane projection shadow algorithm is used to calculate the illumination state of each chip in the top-level chip unit at each moment in a day according to the occluding object model in the target scene model; the illumination state includes illumination and no illumination; a ground surface heat balance equation is established; the temperature of each chip in the top-level chip unit at the target moment is obtained according to the illumination state of each chip in the top-level chip unit at the target moment and the ground surface heat balance equation; the infrared shadow of the target scene at the target moment is determined according to the temperature of each chip in the top-level chip unit at the target moment, and in the process of generating the infrared shadow, the influence of the illumination moment on the infrared shadow of the ground is fully considered, so that the infrared shadow generated by blocking the sunlight can be simulated and generated. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0049] Figure 1 A flowchart of an infrared shadow simulation generation method provided by an embodiment of the present invention;
[0050] Figure 2 A schematic diagram of the gridding of a ground model provided in an embodiment of the present invention;
[0051] Figure 3 A schematic diagram of a plane projection shadow algorithm provided by an embodiment of the present invention;
[0052] Figure 4 A schematic diagram of heat exchange of ground slices provided in an embodiment of the present invention;
[0053] Figure 5 This is a simulation effect diagram provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.
[0055] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0056] The embodiment of the present invention provides an infrared shadow simulation generation method, which generally comprises the following steps: step 1: three-dimensional modeling of the target scene is performed, and the ground area where the shadow is generated is gridded; step 2: the illumination time of each small element on the ground surface is calculated by using a plane projection shadow algorithm for 24 hours a day, and a data texture of the illumination time of each element is generated and stored; step 3: as Figure 4 As shown in the figure, various natural conditions of the target scene (temperature, humidity, solar radiation intensity, atmospheric long-wave radiation, wind speed) are integrated to establish the ground surface heat balance equation; Step 4: According to the different target moments, the corresponding initial conditions are selected, and it is decided whether to add the solar radiation effect in the heat balance equation calculation process, and finally the radiance of each ground element at a given moment is obtained; Step 5: The radiance is quantified and simulated and outputted, that is, the infrared shadow of the ground at a given moment is obtained. The specific steps include:
[0057] The occluding objects and the ground in the target scene are three-dimensionally modeled to obtain a target scene model, and the ground model in the target scene model is gridded to obtain a multi-layer fragment unit, wherein one of the fragment units is a single-layer structure composed of multiple fragments.
[0058] A plane projection shadow algorithm is used to calculate the illumination state of each of the fragments in the top-level fragment unit at each moment in a day according to the occluding object model in the target scene model; the illumination state includes illumination and no illumination.
[0059] Establish the ground surface heat balance equation.
[0060] The temperature of each chip in the top chip unit at the target time is obtained according to the illumination state of each chip in the top chip unit at the target time and the ground surface heat balance equation.
[0061] The infrared shadow of the target scene at the target time is determined according to the temperature of each fragment in the top-layer fragment unit at the target time.
[0062] In practical applications, obtaining the temperature of each chip in the top chip unit at the target time according to the illumination state of each chip in the top chip unit at the target time and the ground surface heat balance equation specifically includes:
[0063] For any fragment in the top-level fragment unit, the initial value to be solved is determined according to the illumination state of the fragment at the target time.
[0064] The ground surface heat balance equation is solved according to the initial value to obtain the temperature of the element at the target time.
[0065] In practical applications, determining the infrared shadow of the target scene at the target time according to the temperature of each fragment in the top-level fragment unit at the target time specifically includes:
[0066] For any one of the top-level fragment units, the radiation brightness of the fragment is determined according to the temperature of the fragment at the target time.
[0067] The grayscale value corresponding to the fragment is determined according to the radiation brightness of the fragment.
[0068] The infrared shadow of the target scene at the target time is obtained according to the grayscale value of each fragment in the top-level fragment unit.
[0069] In practical applications, the initial value of the solution is determined according to the illumination state of the fragment at the target time, specifically including:
[0070] The illumination data texture of the fragment is determined according to the illumination state of the fragment at each moment in a day.
[0071] The illumination state of the fragment at a target time is determined according to the illumination data texture of the fragment.
[0072] The illumination condition of the fragment at the target moment is determined according to the illumination state of the fragment at the target moment, and the illumination condition includes: before illumination, during illumination, and after illumination.
[0073] The initial value of the solution is determined according to the lighting conditions of the fragment at the target time.
[0074] In view of the above method, an embodiment of the present invention further provides an infrared shadow simulation generation system, comprising:
[0075] The modeling and meshing module is used to perform three-dimensional modeling of the occluding objects and the ground in the target scene to obtain a target scene model, and to mesh the ground model in the target scene model to obtain multi-layer fragment units, wherein one of the fragment units is a single-layer structure composed of multiple fragments.
[0076] The lighting state determination module is used to calculate the lighting state of each of the fragments in the top-level fragment unit at each moment within a day using a plane projection shadow algorithm according to the occluding object model in the target scene model; the lighting state includes lighting and no lighting.
[0077] The heat balance equation building module is used to establish the ground surface heat balance equation.
[0078] The temperature determination module is used to obtain the temperature of each chip in the top chip unit at the target time according to the illumination state of each chip in the top chip unit at the target time and the ground surface heat balance equation.
[0079] The infrared shadow determination module is used to determine the infrared shadow of the target scene at the target time according to the temperature of each fragment in the top-level fragment unit at the target time.
[0080] As an optional implementation, the temperature determination module specifically includes:
[0081] The initial value determination unit is used to determine the initial value to be solved for any one of the top-level fragment units according to the illumination state of the fragment at a target time.
[0082] The temperature determination unit is used to solve the ground surface heat balance equation according to the initial value to obtain the temperature of the fragment at the target time.
[0083] As an optional implementation manner, the infrared shadow determination module specifically includes:
[0084] The radiation brightness calculation unit is used to determine the radiation brightness of any one of the top-level fragment units according to the temperature of the fragment at a target time.
[0085] A grayscale value calculation unit is used to determine the grayscale value corresponding to the fragment according to the radiation brightness of the fragment.
[0086] The infrared shadow calculation unit is used to obtain the infrared shadow of the target scene at the target time according to the grayscale value of each of the fragments in the top-level fragment unit.
[0087] As an optional implementation manner, the initial value determination unit specifically includes:
[0088] The illumination data texture determination subunit is used to determine the illumination data texture of the fragment according to the illumination state of the fragment at each moment in a day.
[0089] The illumination state determination subunit is used to determine the illumination state of the fragment at a target time according to the illumination data texture of the fragment.
[0090] The illumination condition determination subunit is used to determine the illumination condition of the fragment at the target moment according to the illumination state of the fragment at the target moment, and the illumination condition includes: before illumination, during illumination and after illumination.
[0091] The initial value determination subunit is used to determine the initial value to be solved according to the lighting conditions of the fragment at the target time.
[0092] like Figure 1 As shown, the embodiment of the present invention provides a more specific shadow generation method:
[0093] 1. 3D modeling mesh division.
[0094] Scene 3D modeling and ground surface meshing:
[0095] Use 3ds Max modeling tools to model the target scene, including two models of the occluding object and the horizontal ground. Then use the Ogremax plug-in specifically for OGRE in 3ds Max to export the model into a model file (.Mesh) that complies with the rendering support of the OGRE engine. Perform three-dimensional meshing on the horizontal ground model, assuming that the plane where the ground is located is the X-Y plane, and the direction perpendicular to the ground is the Z axis. Divide the scene ground into several small cubes in the X, Y, and Z directions. The length, width, and height of each small cube are Δx, Δy, and Δz, respectively, and are recorded as the (x, y, z)th fragment, such as Figure 2 shown.
[0096] 2. Calculate the fragment lighting time to generate data texture.
[0097] The plane projection shadow algorithm is used to calculate the matrix that projects an object's vertex onto a plane to obtain the shadow range. Figure 3 Point L represents the light source, point V represents the vertex of the occluder, and point P represents the vertex after projection, that is, the boundary vertex of the shadow.
[0098] Derive the x-coordinate projection. According to the proportion of similar triangles in the figure, we can get the following equation
[0099]
[0100] The same method can be used to obtain the y-coordinate projection:
[0101]
[0102] For the ground plane, the z-axis coordinate is 0. Therefore, the projection matrix M is
[0103] And M·V=P, so the coordinates of the vertex P in the shadow range can be calculated from the coordinates of the light source point L and the coordinates of the vertex V on the edge of the occluding object.
[0104] During the simulation, we regard the sun as a point light source, and calculate the solar altitude angle, solar azimuth angle, and solar incident angle at the target time, so as to obtain the relative position of the sun and the target occluded object. Then, with a step length of 0.5 hours, the plane projection shadow algorithm is used to obtain the ground shadow range of the target scene for 24 hours a day. From this, the sunshine state of each element at each time can be reversed, and the sunshine time interval within a day can be obtained, and it is stored in a data texture. The texture uses the DDS format of D3DFMT_R32G32F. Each pixel represents a top-level element. The R channel represents the earliest illumination time of the element, and the G channel represents the latest illumination time of the element. If it is always in the light, RG is 1, and if it is never in the light, RG is 0.
[0105] 3. Establish the ground surface heat balance equation
[0106] By analyzing the radiation exchange between the target object and the background environment, a heat balance equation containing solar radiation can be established to determine the target ground surface temperature distribution field, as shown in the following formula:
[0107] dW=α1W sun +α2W sky -W rad +W cv +W cd (3)
[0108] If the effect of light is not considered, that is, the solar radiation term is removed from the above formula:
[0109] dW=α2W sky -W rad +W cv +W cd (4)
[0110] The terms on the right side of formula (3) represent the heat radiation from the sun, sky, object surface, convection term, and heat conduction term absorbed by the outer surface. α1 and α2 are the absorption rates of the object surface to solar radiation and atmospheric long-wave radiation, respectively.
[0111] We use the three-dimensional finite difference method to solve the temperature of the ground surface element. For a single element, the heat conducted by each surface in unit time Δt is
[0112]
[0113] Among them, S is the cross-sectional area in the heat conduction direction, α is the thermal conductivity, T(t,x) is the temperature of the slice at depth x at time t, is the depth variation in the heat conduction direction.
[0114] In one time step, the heat increase of the (x, y, z)th element is:
[0115] Δw cd (t,x,y,z)=cm(T(t+1,x,y,z)-T(t,x,y,z))=cρΔxΔyΔz(T(t+1,x,y,z)-T(t,x,y,z)) (6)
[0116] T(t,x,y,z) represents the temperature of the (x,y,z)th element at the tth moment, c is the specific heat capacity, and ρ is the density.
[0117] The left side of the above equation can be transformed into the following formula according to Fourier's law:
[0118]
[0119] Taking Δx=Δy=Δz, combining equation 6 and equation 7, we get
[0120]
[0121] The initial condition upper surface element temperature varies according to the illumination time. The upper surface heat balance equation (the upper surface of the small cube on the top of the large cube) is shown in equation (3) and the left side of equation (3) has the following equation (9). The lower surface is at a constant temperature T0, and the temperature of the middle element is generated by a uniform difference. The boundary conditions are that the four surfaces perpendicular to the ground are adiabatic and the lower surface temperature is constant.
[0122] dW=cρ(Δx) 3 (T(t+1,x,y,0)-T(t,x,y,0)) (9)
[0123] Then, within one time step and at each unit time, there are only five heat conduction surfaces. After the boundary conditions are determined, the multi-layer finite difference method can be used to iteratively solve the surface element temperature.
[0124] 4. Determine the lighting state of the fragment.
[0125] According to the illumination time of the surface fragments, the corresponding thermal balance model is selected to solve the temperature value of each fragment at the target time.
[0126] like Figure 1As shown, after obtaining the target moment to be simulated, the illumination data texture of the ground fragment is sampled. For a single fragment, it is determined whether it is before, during, or after illumination. (1) Before illumination, a non-illuminated thermal model is selected, and the initial condition is the zero-point temperature of the ground surface as an empirical constant. (2) During illumination, an illuminated thermal model is selected, and the initial condition is the temperature of the earliest illumination moment of this fragment, which can be obtained from the non-illuminated thermal model. During calculation, only the temperature change from the earliest illumination moment to the target moment is calculated. (3) After illumination, a non-illuminated thermal model is selected, and the initial condition is the temperature of this fragment at the latest illumination moment, which can be obtained from case 2. By traversing all fragments, the corresponding ground fragment temperature distribution can be obtained. Due to the different initial conditions of different fragments, the influence of illumination on their gains is different, which leads to temperature differences.
[0127] 5. Quantify the radiance and simulate the output to get the infrared shadow on the ground at the target time.
[0128] After calculating the temperature field distribution of the ground element, the ground radiation brightness L can be expressed as:
[0129]
[0130] Among them, c1 c2 is the radiation constant; λ is the wavelength; T is the surface temperature of the object (K), and ε represents the ratio of the radiation emittance of the object to the radiation emittance of the black body at the same temperature, which is called emissivity. The average emissivity of the object is usually used instead of the spectral emissivity.
[0131] In order to quantify the radiance and visualize the output, the ground fragment radiance is mapped into a grayscale image with gray levels of 0-255, and the grayscale value of each pixel is calculated according to the following formula:
[0132]
[0133] Where L max , L min are the maximum and minimum radiant brightness in the whole scene respectively; L i is the radiation brightness value corresponding to the i-th fragment; [] is the rounding operation.
[0134] In order to verify the effectiveness of the method of the present invention, the embodiment of the present invention simulates a sand dune test site on September 15 in autumn, with a temperature of 9-24°C, a breeze of level 3, about 4m / s, and a sunshine time of about 7:30-19:20. The infrared simulation image of a typical brick-concrete building of 10km×10km in the 8-12μm band is 2km away from the target and 200m high. There are no tall trees covering the scene, and the surface is a desertified land with little undulation, and some vegetation is mainly low shrubs.
[0135] The area where shadows may be generated is selected, and the 0.5km×0.5km range around the building is gridded. The resulting illumination time data texture is in the DirectDraw Surface (DDS) format of 512*512 size. The division Δx is selected as 1m, the lower surface is kept at a constant temperature of 5℃, and the zero-point ground temperature is 9℃. The object-oriented graphics rendering engine (OGRE) is used for simulation. Figure 5 These are infrared simulation images of the sand scene at four time points, Figure 5 (a) is the infrared simulation image at 8 points. Figure 5 (b) is the infrared simulation image at 11 o'clock. Figure 5 (c) is the infrared simulation image at 12 o’clock. Figure 5 (d) is the infrared simulation image at 16 o'clock. Since the specific heat capacity of sand is smaller than that of the brick wall, the temperature changes greatly after being blocked, the shadow effect is more obvious, and it reflects the gain influence of the thermal state at the past moment on the current shadow.
[0136] The advantages and strengths of the present invention are:
[0137] 1. The infrared shadows simulated and generated by the method of the present invention comprehensively consider the effects of multiple environmental factors (temperature, humidity, solar radiation intensity, atmospheric long-wave radiation, wind speed) and different illumination times on the shadows, and reflect the illumination gain in the initial value determination and model selection of the calculation model, thereby reducing the complexity of the model and making it easy to implement.
[0138] 2. During the simulation process, the ground is gridded and tiny elements are used as the smallest units for model calculation and shadow generation, which can obtain more realistic infrared shadows.
[0139] 3. The simulation results can reflect the impact of past light radiation on the current infrared shadow simulation generation, showing a certain delay.
[0140] 4. The present invention provides a simulation generation method for infrared shadows caused by blocking sunlight, which relates to a simulation generation method for ground infrared shadows caused by tall objects blocking sunlight. Starting from the principle of heat transfer, the effects of various environmental factors are comprehensively considered, and the influence of illumination time on the generation of ground infrared shadows is fully considered. The finite difference method is used to calculate and draw the infrared shadow effect of the blocked ground area, thereby more accurately simulating and generating the infrared shadow of the blocked area.
[0141] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0142] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for generating infrared shadow simulation, characterized in that: include: Performing three-dimensional modeling on the occluding objects and the ground in the target scene to obtain a target scene model, and meshing the ground model in the target scene model to obtain a multi-layered fragment unit, wherein one of the fragment units is a single-layer structure composed of a plurality of fragments; Using a plane projection shadow algorithm to calculate the illumination state of each of the fragments in the top-level fragment unit at each time in a day according to the occluding object model in the target scene model; The lighting state includes lighting and no lighting; Establish the ground surface heat balance equation; Obtaining the temperature of each chip in the top chip unit at the target time according to the illumination state of each chip in the top chip unit at the target time and the ground surface heat balance equation; The infrared shadow of the target scene at the target time is determined according to the temperature of each fragment in the top-layer fragment unit at the target time.
2. The infrared shadow simulation generation method according to claim 1, characterized in that: The step of obtaining the temperature of each chip in the top chip unit at the target time according to the illumination state of each chip in the top chip unit at the target time and the ground surface heat balance equation specifically includes: For any fragment in the top-level fragment unit, determine the initial value of the solution according to the illumination state of the fragment at the target time; The ground surface heat balance equation is solved according to the initial value to obtain the temperature of the element at the target time.
3. The infrared shadow simulation generation method according to claim 1, characterized in that: The determining the infrared shadow of the target scene at the target time according to the temperature of each fragment in the top-level fragment unit at the target time specifically includes: For any one of the top-level fragment units, determine the radiation brightness of the fragment according to the temperature of the fragment at the target time; Determine the grayscale value corresponding to the fragment according to the radiation brightness of the fragment; The infrared shadow of the target scene at the target time is obtained according to the grayscale value of each fragment in the top-level fragment unit.
4. The infrared shadow simulation generation method according to claim 2, characterized in that: The determining of the initial value to be solved according to the illumination state of the fragment at the target time specifically includes: Determine the illumination data texture of the fragment according to the illumination state of the fragment at each moment in a day; Determining the illumination state of the fragment at a target time according to the illumination data texture of the fragment; Determine the illumination condition of the fragment at the target moment according to the illumination state of the fragment at the target moment, wherein the illumination condition includes: before illumination, during illumination, and after illumination; The initial value of the solution is determined according to the lighting conditions of the fragment at the target time.
5. An infrared shadow simulation generation system, characterized in that: include: A modeling and meshing module is used to perform three-dimensional modeling on the occluding objects and the ground in the target scene to obtain a target scene model, and to mesh the ground model in the target scene model to obtain a multi-layered fragment unit, wherein one of the fragment units is a single-layer structure composed of a plurality of fragments; An illumination state determination module, for calculating the illumination state of each of the fragments in the top-level fragment unit at each time in a day by using a plane projection shadow algorithm according to the occluding object model in the target scene model; the illumination state includes illumination and no illumination; Heat balance equation building module, used to establish the ground surface heat balance equation; A temperature determination module, used for obtaining the temperature of each chip in the top chip unit at the target time according to the illumination state of each chip in the top chip unit at the target time and the ground surface heat balance equation; The infrared shadow determination module is used to determine the infrared shadow of the target scene at the target time according to the temperature of each fragment in the top-level fragment unit at the target time.
6. The infrared shadow simulation generation system according to claim 5, characterized in that: The temperature determination module specifically includes: An initial value determination unit, used for determining an initial value to be solved for any one of the top-level fragment units according to the illumination state of the fragment at a target time; A temperature determination unit is used to solve the ground surface heat balance equation according to the initial value to obtain the temperature of the fragment at the target time.
7. The infrared shadow simulation generation system according to claim 5, characterized in that: The infrared shadow determination module specifically includes: A radiation brightness calculation unit, used for determining the radiation brightness of any one of the top-level fragment units according to the temperature of the fragment at a target time; A gray value calculation unit, used to determine the gray value corresponding to the fragment according to the radiation brightness of the fragment; The infrared shadow calculation unit is used to obtain the infrared shadow of the target scene at the target time according to the grayscale value of each fragment in the top-level fragment unit.
8. The infrared shadow simulation generation system according to claim 6, characterized in that: The initial value determination unit specifically includes: An illumination data texture determination subunit, configured to determine the illumination data texture of the fragment according to the illumination state of the fragment at each moment in a day; An illumination state determination subunit, configured to determine an illumination state of the fragment at a target time according to the illumination data texture of the fragment; An illumination condition determination subunit, configured to determine the illumination condition of the fragment at the target moment according to the illumination state of the fragment at the target moment, wherein the illumination condition includes: before illumination, during illumination, and after illumination; The initial value determination subunit is used to determine the initial value to be solved according to the lighting conditions of the fragment at the target time.
