CN108932742B - A real-time rendering method of large-scale infrared terrain scene based on remote sensing image classification - Google Patents

A real-time rendering method of large-scale infrared terrain scene based on remote sensing image classification Download PDF

Info

Publication number
CN108932742B
CN108932742B CN201810750719.5A CN201810750719A CN108932742B CN 108932742 B CN108932742 B CN 108932742B CN 201810750719 A CN201810750719 A CN 201810750719A CN 108932742 B CN108932742 B CN 108932742B
Authority
CN
China
Prior art keywords
terrain
infrared
data
remote sensing
rendering
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810750719.5A
Other languages
Chinese (zh)
Other versions
CN108932742A (en
Inventor
李妮
李韧
龚光红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beihang University
Original Assignee
Beihang University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beihang University filed Critical Beihang University
Priority to CN201810750719.5A priority Critical patent/CN108932742B/en
Publication of CN108932742A publication Critical patent/CN108932742A/en
Application granted granted Critical
Publication of CN108932742B publication Critical patent/CN108932742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2411Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on the proximity to a decision surface, e.g. support vector machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • G06V20/13Satellite images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10032Satellite or aerial image; Remote sensing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10048Infrared image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Astronomy & Astrophysics (AREA)
  • Remote Sensing (AREA)
  • Multimedia (AREA)
  • Image Processing (AREA)
  • Image Generation (AREA)

Abstract

本发明公开了一种基于遥感图像分类的大规模红外地形场景实时渲染方法,属于红外物理和虚拟现实技术领域。所述方法首先建立地形分类模型;建立简化的地形辐射模型,计算所述各不同地形的地形表面温度值,根据片段着色器将计算所得的各不同地形的地形表面温度值转化为颜色数据并添加红外噪声,实现红外纹理渲染;最后基于cfMMOC模型对大规模地形的红外特性进行实时渲染。本发明的渲染流程基于cfMMOC模型和着色器程序,渲染效率高,能在较低的资源消耗情况下实现对全球地形红外特性的实时渲染。渲染全过程帧率能够稳定在55帧以上,满足实时渲染条件。

Figure 201810750719

The invention discloses a large-scale infrared terrain scene real-time rendering method based on remote sensing image classification, and belongs to the technical field of infrared physics and virtual reality. The method first establishes a terrain classification model; establishes a simplified terrain radiation model, calculates the terrain surface temperature values of the different terrains, and converts the calculated terrain surface temperature values of the different terrains into color data according to the fragment shader. Infrared noise to achieve infrared texture rendering; finally, based on the cfMMOC model, the infrared characteristics of large-scale terrain are rendered in real time. The rendering process of the present invention is based on the cfMMOC model and the shader program, has high rendering efficiency, and can realize real-time rendering of the infrared characteristics of the global terrain under the condition of low resource consumption. The frame rate of the whole rendering process can be stabilized at more than 55 frames, which meets the real-time rendering conditions.

Figure 201810750719

Description

一种基于遥感图像分类的大规模红外地形场景实时渲染方法A real-time rendering method of large-scale infrared terrain scene based on remote sensing image classification

技术领域technical field

本发明属于红外物理和虚拟现实技术领域,涉及一种基于遥感图像分类的大规模红外地形场景实时渲染方法,具体涉及一种基于可见光地形遥感图像对大规模地形表面的不同特征进行分类的大规模红外地形场景实时渲染方法。The invention belongs to the technical fields of infrared physics and virtual reality, and relates to a real-time rendering method for large-scale infrared terrain scenes based on remote sensing image classification, in particular to a large-scale method for classifying different features of large-scale terrain surfaces based on visible light terrain remote sensing images. A real-time rendering method for infrared terrain scenes.

背景技术Background technique

红外成像仿真包括背景成像仿真和目标成像仿真,其中目标成像仿真是指在仿真区域内的感兴趣对象,例如车辆、建筑物等,背景则是除目标以外的场景,任何目标都不能孤立于背景而单独存在,其中大范围地形就是一类非常典型的背景。地形红外特性对于整个红外地形场景来说是非常重要的组成部分。尤其对于红外目标识别、红外隐身这些关心地形红外特性的应用,红外地形场景的准确、实时渲染尤为重要,一般而言满足实时渲染需求需要渲染结果稳定在30帧或以上。实现大规模红外地形场景的实时渲染涉及到传热学、红外物理、模式识别、计算机图形图像等学科,是一个典型的多学科交叉问题。Infrared imaging simulation includes background imaging simulation and target imaging simulation. Target imaging simulation refers to objects of interest in the simulation area, such as vehicles, buildings, etc., and the background is a scene other than the target. No target can be isolated from the background. It exists alone, and the large-scale terrain is a very typical background. Terrain infrared characteristics are a very important part of the entire infrared terrain scene. Especially for infrared target recognition and infrared stealth applications that care about the infrared characteristics of terrain, accurate and real-time rendering of infrared terrain scenes is particularly important. Generally speaking, to meet the real-time rendering requirements, the rendering results need to be stable at 30 frames or more. Real-time rendering of large-scale infrared terrain scenes involves disciplines such as heat transfer, infrared physics, pattern recognition, computer graphics and images, and is a typical multidisciplinary problem.

发明内容SUMMARY OF THE INVENTION

本发明针对现有技术中无法对大规模红外地形场景进行实时渲染的问题,提出一种基于遥感图像分类的大规模红外地形场景实时渲染方法,着重实现大规模地形渲染中的红外特性渲染功能,在保证仿真可信度的前提下提高了渲染稳定性。本发明所述方法首先建立地形分类模型,对可见光大规模地形遥感图像中各不同地形的图像的表面特征进行分类;简化地表辐射模型,由简化的地表辐射模型分别计算各不同地形的地形表面温度值,根据片段着色器(shader)将计算所得的各不同地形的地形表面温度值转化为颜色数据,在颜色数据上叠加红外噪声,实现红外纹理渲染;最后基于核外地形统一渲染框架cfMMOC(Aconsolidated framework of multiresolution management and occlusion cullingfor out-of-core hierarchical terrain rendering)模型对大规模地形的红外特性进行实时渲染。Aiming at the problem that large-scale infrared terrain scenes cannot be rendered in real time in the prior art, the present invention proposes a real-time rendering method for large-scale infrared terrain scenes based on remote sensing image classification, focusing on realizing the infrared characteristic rendering function in large-scale terrain rendering, The rendering stability has been improved on the premise of ensuring the credibility of the simulation. The method of the invention first establishes a terrain classification model, and classifies the surface features of the images of different terrains in the visible light large-scale terrain remote sensing images; simplifies the surface radiation model, and calculates the terrain surface temperature of each different terrain from the simplified surface radiation model. According to the fragment shader (shader), the calculated terrain surface temperature values of different terrains are converted into color data, and infrared noise is superimposed on the color data to realize infrared texture rendering; framework of multiresolution management and occlusion culling for out-of-core hierarchical terrain rendering) model for real-time rendering of infrared properties of large-scale terrain.

本发明提供的所述基于遥感图像分类的大规模红外地形场景实时渲染方法,具体包括如下步骤:The method for real-time rendering of large-scale infrared terrain scenes based on remote sensing image classification provided by the present invention specifically includes the following steps:

步骤一、建立地形分类模型,对可见光大规模地形遥感图像进行分类;Step 1. Establish a terrain classification model to classify visible light large-scale terrain remote sensing images;

步骤101、获取可见光波段下的大规模地形遥感图像;Step 101, obtaining a large-scale topographic remote sensing image in the visible light band;

步骤102、选取所述大规模地形遥感图像中地表材质特征向量。Step 102: Select the surface material feature vector in the large-scale topographic remote sensing image.

根据大规模地形遥感图像中不同地形的表面特征,提取地表材质特征向量,所述的表面特征包括颜色特征和纹理特征,选取颜色特征中色相、饱和度以及明度作为颜色特征向量,选取纹理特征中能量、熵、惯性矩以及标准差作为纹理特征向量。所述地表材质特征向量包括颜色特征向量和纹理特征向量。According to the surface features of different terrains in the large-scale terrain remote sensing image, extract the surface material feature vector, the surface features include color features and texture features, select the hue, saturation and lightness in the color features as the color feature vectors, select the texture features Energy, entropy, moment of inertia, and standard deviation are used as texture feature vectors. The surface material feature vector includes a color feature vector and a texture feature vector.

步骤103、根据遥感图像中的地表材质特征向量,生成对应的训练图片和标签数据,并选取测试用的测试图片。所述的标签数据是指地形种类,包括裸地、草地、森林、枯林和水体这五种。Step 103: Generate corresponding training pictures and label data according to the surface material feature vector in the remote sensing image, and select a test picture for testing. The label data refers to terrain types, including five types: bare land, grassland, forest, dry forest and water body.

步骤104、选取支持向量机作为地形种类判定依据,对训练图片的地表材质特征向量进行分类,并采用测试图片作为训练数据对所述的地形分类模型进行训练建立地形分类模型。将所述的地形分类模型应用到遥感图像,得到全部15个等级的遥感图像的地形分类结果。Step 104: Select the support vector machine as the terrain type determination basis, classify the surface material feature vector of the training image, and use the test image as training data to train the terrain classification model to establish a terrain classification model. The terrain classification model is applied to remote sensing images, and the terrain classification results of all 15 levels of remote sensing images are obtained.

步骤二、对地表辐射平衡方程进行简化,得到简化的地表辐射模型;Step 2: Simplify the surface radiation balance equation to obtain a simplified surface radiation model;

对所述地表辐射模型进行简化,过程如下:The process of simplifying the surface radiation model is as follows:

A:在太阳辐射中,忽略反射对于辐射平衡的影响;B:在向内辐射中,简化温度分布规律:假设地表以下0.5m处温度为常值并且自地表向下温度均匀变化;C、对于地表能量平衡方程影响不直接或者本身数值比较稳定的参数设定经验值。A: In solar radiation, the influence of reflection on radiation balance is ignored; B: In inward radiation, the law of temperature distribution is simplified: it is assumed that the temperature at 0.5m below the surface is constant and the temperature changes uniformly from the surface down; C. For The surface energy balance equation affects the empirical values of parameters that are not directly or have relatively stable values.

步骤三:基于cfMMOC模型,对大规模地形进行红外渲染。Step 3: Based on the cfMMOC model, infrared rendering of large-scale terrain.

本发明的优点在于:The advantages of the present invention are:

(1)基于可见光地形遥感图像和气象站通用的环境数据,数据较易获得。(1) Based on visible light terrain remote sensing images and environmental data commonly used by weather stations, the data are relatively easy to obtain.

(2)在保证计算准确度的情况下实时根据环境数据解算裸地、草地、枯林、绿林和水体的地表温度。(2) Calculate the surface temperature of bare land, grassland, dry forest, green forest and water body in real time according to the environmental data while ensuring the calculation accuracy.

(3)渲染流程基于cfMMOC模型和着色器程序,渲染效率高,能在较低的资源消耗情况下实现对全球地形红外特性的实时渲染。(3) The rendering process is based on the cfMMOC model and shader program, which has high rendering efficiency and can realize real-time rendering of the infrared characteristics of the global terrain with low resource consumption.

附图说明Description of drawings

图1是本发明建立地形分类模型流程图;Fig. 1 is that the present invention establishes the flow chart of terrain classification model;

图2是本发明红外纹理实时生成方法;Fig. 2 is the infrared texture real-time generation method of the present invention;

图3是本发明简化前后的地表辐射模型的结构对比图;Fig. 3 is the structure comparison diagram of the surface radiation model before and after the simplification of the present invention;

图4是cfMMOC大规模地形渲染框架图;Figure 4 is a large-scale terrain rendering framework diagram of cfMMOC;

图5是大规模地形红外渲染结果图。Figure 5 is the result of large-scale terrain infrared rendering.

具体实施方式Detailed ways

下面结合附图对本发明的具体实施方法进行详细说明。The specific implementation method of the present invention will be described in detail below with reference to the accompanying drawings.

本发明针对现有技术中无法对大规模红外地形场景进行实时渲染的问题,提出一种基于可见光大规模地形遥感图像对大规模地形表面的不同特征进行分类的大规模红外地形场景实时渲染方法,所述方法首先基于可见光大规模地形遥感图像对各不同地形表面的不同特征进行分类,建立地形分类模型;根据所述的各不同地形建立地表辐射模型,由地表能量平衡方程分别计算所述各不同地形的地形表面温度值,根据片段着色器(shader)将计算所得的各不同地形的地形表面温度值进行红外渲染;最后基于核外地形统一渲染框架cfMMOC(A consolidated framework of multiresolution management and occlusionculling for out-of-core hierarchical terrain rendering)模型对大规模红外地形场景进行实时渲染。所述方法具体包括步骤:Aiming at the problem that the large-scale infrared terrain scene cannot be rendered in real time in the prior art, the present invention proposes a real-time rendering method for a large-scale infrared terrain scene based on a visible light large-scale terrain remote sensing image to classify different features of the large-scale terrain surface, The method first classifies different features of different terrain surfaces based on visible light large-scale terrain remote sensing images, and establishes a terrain classification model; establishes a surface radiation model according to the different terrains, and calculates the different terrains according to the surface energy balance equation respectively. The terrain surface temperature value of the terrain, according to the fragment shader (shader) will calculate the terrain surface temperature value of each different terrain for infrared rendering; finally, based on the unified rendering framework of out-of-core terrain, cfMMOC (A consolidated framework of multiresolution management and occlusionculling for out -of-core hierarchical terrain rendering) model for real-time rendering of large-scale infrared terrain scenes. The method specifically includes the steps:

步骤一:基于可见光大规模地形遥感图像,对各地形表面进行分类,建立地形分类模型,为红外特性计算提供支持;如图1所示,具体步骤如下:Step 1: Based on the visible light large-scale terrain remote sensing image, classify each terrain surface, establish a terrain classification model, and provide support for the calculation of infrared characteristics; as shown in Figure 1, the specific steps are as follows:

步骤101、获取可见光波段下的大规模地形遥感图像,按照分辨率精细程度划分为0~14共15级LOD(Levels of Detail)的数据集;Step 101: Obtain a large-scale topographic remote sensing image in the visible light band, and divide it into a data set of 15 LOD (Levels of Detail) from 0 to 14 according to the resolution fineness;

步骤102、分别选取所述大规模地形遥感图像中各不同地形的图像的表面特征作为地表材质特征向量。Step 102 , respectively selecting surface features of images of different terrains in the large-scale terrain remote sensing image as surface material feature vectors.

将所述的地形种类设定为裸地、草地、森林、枯林和水体五种地形,因而后续采用有监督学习方法进行此五种地形的识别与分类。所述的表面特征包括颜色特征和纹理特征,选取颜色特征包括色相、饱和度以及明度各10维作为颜色特征向量,选取纹理特征包括能量、熵、惯性矩以及标准差共8维作为纹理特征向量,由此构成共计38维的地表材质特征向量包括30维的颜色特征向量和8维的纹理特征向量。The described terrain types are set as five types of terrains: bare land, grassland, forest, dry forest and water body, so the supervised learning method is used to identify and classify these five terrains. The surface features include color features and texture features. The color features include hue, saturation, and lightness, each with 10 dimensions as the color feature vector, and the texture features include energy, entropy, moment of inertia, and standard deviation. A total of 8 dimensions are used as the texture feature vector. , which constitutes a total of 38-dimensional surface material feature vectors, including 30-dimensional color feature vectors and 8-dimensional texture feature vectors.

步骤103、选取遥感图像数据集中最精细一级(14级)的遥感图像作为监督学习中的训练数据,并设定标签数据。所述的标签数据是指地形种类,包括裸地、草地、森林、枯林和水体这五种。Step 103: Select the most refined level (14 level) remote sensing image in the remote sensing image data set as the training data in the supervised learning, and set the label data. The label data refers to terrain types, including five types: bare land, grassland, forest, dry forest and water body.

步骤104、随机抽取一定量的遥感图像作为测试数据集用于检验训练效果,采用机器学习集成方法中的支持向量机方法(Support Vector Machine)方法进行分类学习,核函数选用高斯核(RBF),超参数中高斯核系数选取0.43,惩罚系数选为1.0。对测试数据集进行迭代训练,得到地形分类结果。当地形分类结果符合分类要求(Kappa系数大于0.8)后,完成模型训练过程,得到地形分类模型。将所述的地形分类模型应用到遥感图像,得到全部15个等级的遥感图像的地形分类结果。Step 104: Randomly select a certain amount of remote sensing images as a test data set for testing the training effect, adopt the support vector machine method (Support Vector Machine) method in the machine learning integration method to perform classification learning, and select a Gaussian kernel (RBF) for the kernel function, In the hyperparameters, the Gaussian kernel coefficient is selected as 0.43, and the penalty coefficient is selected as 1.0. Iterative training is performed on the test dataset to obtain terrain classification results. When the terrain classification results meet the classification requirements (the Kappa coefficient is greater than 0.8), the model training process is completed, and the terrain classification model is obtained. The terrain classification model is applied to remote sensing images, and the terrain classification results of all 15 levels of remote sensing images are obtained.

步骤二、对地表辐射平衡方程进行简化,得到简化的地表辐射模型;Step 2: Simplify the surface radiation balance equation to obtain a simplified surface radiation model;

地表辐射模型依照地表辐射平衡方程进行建立,主要分为六个部分:向内辐射QMg、显热通量QH、潜热通量QLE、太阳辐射Qsun、大气辐射Qsky和向外辐射QG,有如下地表能量平衡方程:The surface radiation model is established according to the surface radiation balance equation, which is mainly divided into six parts: inward radiation Q Mg , sensible heat flux Q H , latent heat flux Q LE , solar radiation Q sun , atmospheric radiation Q sky and outward radiation Q G , there is the following surface energy balance equation:

Figure BDA0001725470980000031
Figure BDA0001725470980000031

其中,kλ为地表材质导热系数,S为表面积,n为地表法线方向,T为温度。Among them, k λ is the thermal conductivity of the surface material, S is the surface area, n is the normal direction of the surface, and T is the temperature.

为提高运行效率,本发明对所述地表辐射模型进行简化,如图3所示,过程如下:In order to improve the operation efficiency, the present invention simplifies the surface radiation model, as shown in Figure 3, the process is as follows:

A:在太阳辐射中,忽略反射对于辐射平衡的影响;B:在向内辐射中,简化温度分布规律:假设地表以下0.5m处温度为常值并且自地表向下温度均匀变化;C、对于地表能量平衡方程影响不直接或者本身数值比较稳定的参数设定合适经验值,如下表1所示,A和B所述的简化部分用图3中虚线框标出;简化后的地表辐射模型,接收当地时间、环境温度、风速和相对湿度作为输入数据,输出五种地形对应的地表温度值。经过测定,地形表面温度值的单次计算大约耗时1.5毫秒,为本发明实时渲染性能提供了良好保障。A: In solar radiation, the influence of reflection on radiation balance is ignored; B: In inward radiation, the law of temperature distribution is simplified: it is assumed that the temperature at 0.5m below the surface is constant and the temperature changes uniformly from the surface down; C. For Appropriate empirical values should be set for parameters that are not directly affected by the surface energy balance equation or whose values are relatively stable, as shown in Table 1 below. The simplified parts described in A and B are marked with the dotted box in Figure 3; the simplified surface radiation model, The local time, ambient temperature, wind speed and relative humidity are received as input data, and the surface temperature values corresponding to the five terrains are output. After measurement, a single calculation of the temperature value of the terrain surface takes about 1.5 milliseconds, which provides a good guarantee for the real-time rendering performance of the present invention.

表1参数经验值Table 1 parameter empirical value

Figure BDA0001725470980000041
Figure BDA0001725470980000041

步骤三:基于cfMMOC大规模地形渲染模型和基于着色器的红外纹理实时生成,对大规模地形的红外特性进行实时渲染,如图5所示;Step 3: Based on the cfMMOC large-scale terrain rendering model and the shader-based infrared texture generation in real time, the infrared characteristics of the large-scale terrain are rendered in real time, as shown in Figure 5;

具体步骤如下:Specific steps are as follows:

步骤301、获取15级LOD遥感图像的高程数据,并将所述的高程数据转化为描述地形的三维网格Mesh数据,并按照cfMMOC模型的要求进行结构化划分,按照四叉树结构存储不同等级的遥感图像与三维网格Mesh数据。Step 301: Obtain the elevation data of the 15-level LOD remote sensing image, and convert the elevation data into three-dimensional mesh data describing the terrain, and perform structured division according to the requirements of the cfMMOC model, and store different levels according to the quad-tree structure. Remote sensing imagery with 3D mesh Mesh data.

步骤302、基于着色器实现红外纹理实时动态渲染;Step 302, realizing real-time dynamic rendering of infrared textures based on shaders;

如图2所示,首先基于Cg语言编写着色器控制脚本,将步骤一中获取的地形分类结果输入到片段着色器材质输入接口中;然后从气象站获取当地环境数据输入到地表辐射模型中,计算遥感图像中的地形表面温度值,并将所述的地形表面温度值输入到片段着色器数值输入接口中。As shown in Figure 2, the shader control script is first written based on the Cg language, and the terrain classification results obtained in step 1 are input into the fragment shader material input interface; then the local environment data obtained from the weather station is input into the surface radiation model, Calculate the terrain surface temperature value in the remote sensing image, and input the terrain surface temperature value into the fragment shader value input interface.

所述的当地环境数据包括当地时间、环境温度、风速和相对湿度。The local environmental data includes local time, ambient temperature, wind speed and relative humidity.

将灰度与温度对应关系或者红外伪色彩与温度对应关系以图像形式输入到片段着色器中,编写相应代码实现温度到颜色数据/灰度数据的转化,并在转化结果上叠加红外噪声,最终实现地形表面温度值到红外纹理的实时动态渲染。Input the corresponding relationship between grayscale and temperature or the corresponding relationship between infrared pseudo-color and temperature into the fragment shader in the form of an image, write the corresponding code to realize the conversion of temperature to color data/grayscale data, and superimpose infrared noise on the conversion result, and finally Real-time dynamic rendering of terrain surface temperature values to infrared textures.

步骤303、基于cfMMOC模型,读取步骤302中获取的红外纹理数据实现大规模地形遥感图像的三维红外场景实时渲染。Step 303 , based on the cfMMOC model, read the infrared texture data obtained in step 302 to realize real-time rendering of a three-dimensional infrared scene of a large-scale terrain remote sensing image.

cfMMOC模型的渲染分为前进程和后进程两个部分。如图4所示,前进程中的渲染器将原始窗口中视点信息发送给后进程中的渲染器,后进程中的渲染器在小窗口实现像素计算,像素计算结果体现可见性信息,将所述的可见性信息发送给前进程的地形块管理单元,所述的前进程的地形块管理单元将地形块状态反馈给后进程的地形块管理单元,所述的后进程的地形块管理单元判断地形资源在前进程的加载状态,并结合地形块状态数据向前进程的地形块加载器发出数据加载/卸载请求信息。前进程获取到地形数据加载/卸载请求信息之后,在原始窗口更新地形网格数据,并结合步骤302实时生成的红外纹理数据进行实时的三维红外场景渲染。该过程中地形块数据分别通过前后进程的地形块加载器进行加载。The rendering of the cfMMOC model is divided into two parts: the pre-process and the post-process. As shown in Figure 4, the renderer in the former process sends the viewpoint information in the original window to the renderer in the latter process, and the renderer in the latter process implements pixel calculation in the small window, and the pixel calculation result reflects the visibility information. The visibility information is sent to the terrain block management unit of the previous process, and the terrain block management unit of the previous process feeds back the terrain block status to the terrain block management unit of the later process, and the terrain block management unit of the latter process judges The terrain resource is in the loading state of the previous process, and combined with the terrain block state data, the terrain block loader of the forward process sends data loading/unloading request information. After the previous process obtains the terrain data loading/unloading request information, the terrain grid data is updated in the original window, and the real-time 3D infrared scene rendering is performed in combination with the infrared texture data generated in real time in step 302 . In this process, the terrain block data is loaded through the terrain block loaders of the front and rear processes respectively.

基于以上步骤实现的渲染结果参见图5,图5中A~D为前进程中不同层级下红外场景效果图,图5中E~H为后进程对于不同层级地形的调度示意图,由附图结果可见,本发明实现了大规模红外地形场景的实时渲染。渲染全过程帧率能够稳定在55帧以上,满足实时渲染条件。The rendering results realized based on the above steps are shown in Figure 5. In Figure 5, A to D are the infrared scene renderings at different levels in the previous process, and E to H in Figure 5 are schematic diagrams of the scheduling of different levels of terrain in the latter process. It can be seen that the present invention realizes real-time rendering of large-scale infrared terrain scenes. The frame rate of the whole rendering process can be stabilized at more than 55 frames, which meets the real-time rendering conditions.

Claims (1)

1. A large-scale infrared terrain scene real-time rendering method based on remote sensing image classification specifically comprises the following steps:
establishing a terrain classification model, and carrying out terrain classification on a visible light large-scale terrain remote sensing image;
step two, establishing a simplified topographic radiation model;
selecting five terrains, establishing equilibrium equations of solar radiation, atmospheric radiation, earth surface outward radiation, latent heat flux, sensible heat flux and earth surface downward radiation according to an energy equilibrium equation, and establishing an earth surface radiation model; simplifying the earth surface radiation model, and the process is as follows:
a: neglecting the effect of surface reflections on ambient radiation;
b: assuming that the temperature 0.5m below the surface is constant and varies uniformly from the surface to the bottom;
C. setting an empirical value for parameters which are not directly influenced by the earth surface energy balance equation or have stable numerical values;
step three: generating infrared textures of a shader in real time based on the cfMMOC large-scale terrain rendering model, and rendering infrared characteristics of large-scale terrain in real time;
the method is characterized in that:
the specific process of the step one is as follows:
step 101, acquiring a large-scale terrain remote sensing image under a visible light wave band, and dividing the large-scale terrain remote sensing image into data sets of 15 levels of LOD (level of detail) of 0-14 according to the resolution fineness;
102, selecting a surface material characteristic vector in the large-scale terrain remote sensing image;
the surface material characteristic vector comprises a color characteristic vector and a texture characteristic vector;
the color feature vector comprises 10 dimensions of hue, saturation and lightness;
the texture feature vector comprises 8 dimensions of energy, entropy, moment of inertia and standard deviation;
103, selecting a 14-level remote sensing image in a remote sensing image data set as training data in supervised learning, generating corresponding training pictures and label data, and selecting test pictures for testing;
the label data refers to terrain types including five types of bare land, grassland, forest, withered forest and water body;
104, classifying and learning the training pictures by adopting a support vector machine method in a machine learning integration method, wherein a kernel function adopts a Gaussian kernel, the Gaussian kernel coefficient in the hyperparameter is selected to be 0.43, and a penalty coefficient is selected to be 1.0;
performing iterative training on the test data set to obtain a terrain classification result;
when the Kappa coefficient of the terrain classification result is larger than 0.8, completing a model training process to obtain a terrain classification model;
applying the terrain classification model to the remote sensing images to obtain terrain classification results of all the remote sensing images with 15 levels;
the third specific process is as follows:
301, acquiring elevation data of a 15-level LOD remote sensing image, converting the elevation data into three-dimensional grid Mesh data describing a terrain, performing structured division according to the requirements of a cfMMOC model, and storing remote sensing images and three-dimensional grid Mesh data of different levels according to a quadtree structure;
step 302, realizing real-time dynamic rendering of the infrared texture based on a shader;
inputting the terrain classification result obtained in the first step into a fragment shader material input interface; selecting local time, environment temperature, wind speed and relative humidity from meteorological station data as input data of a simplified earth surface radiation model, calculating a terrain surface temperature value in a remote sensing image, and inputting the terrain surface temperature value into a numerical value input interface of a fragment shader;
the fragment shader converts the terrain surface temperature value into color data or gray data according to the corresponding relation between gray and temperature or infrared pseudo color, and infrared noise is superposed on the color data or gray data to realize real-time dynamic rendering from the terrain surface temperature value to infrared texture;
step 303, reading the infrared texture data obtained in the step 302 based on the cfMMOC model to realize real-time rendering of the three-dimensional infrared scene of the large-scale terrain remote sensing image;
the rendering of the cfMMOC model is divided into a front process and a rear process;
the renderer in the front process sends the viewpoint information in the original window to the renderer in the back process;
a renderer in the later process realizes pixel calculation in a small window, the pixel calculation result embodies visibility information, and the visibility information is sent to a terrain block management unit of the former process;
the terrain block management unit of the front process feeds the terrain block state back to the terrain block management unit of the back process;
the terrain block management unit of the back process judges the loading state of the terrain resource in the front process and sends data loading/unloading request information to a terrain block loader of the front process by combining terrain block state data;
after acquiring the topographic data loading/unloading request information, the front process updates topographic grid data in the original window, and performs real-time three-dimensional infrared scene rendering by combining the infrared texture data generated in step 302 in real time;
in the process, the terrain block data are loaded through terrain block loaders in front and back processes respectively.
CN201810750719.5A 2018-07-10 2018-07-10 A real-time rendering method of large-scale infrared terrain scene based on remote sensing image classification Active CN108932742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810750719.5A CN108932742B (en) 2018-07-10 2018-07-10 A real-time rendering method of large-scale infrared terrain scene based on remote sensing image classification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810750719.5A CN108932742B (en) 2018-07-10 2018-07-10 A real-time rendering method of large-scale infrared terrain scene based on remote sensing image classification

Publications (2)

Publication Number Publication Date
CN108932742A CN108932742A (en) 2018-12-04
CN108932742B true CN108932742B (en) 2022-09-09

Family

ID=64446928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810750719.5A Active CN108932742B (en) 2018-07-10 2018-07-10 A real-time rendering method of large-scale infrared terrain scene based on remote sensing image classification

Country Status (1)

Country Link
CN (1) CN108932742B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113167779B (en) * 2018-12-10 2024-07-16 克莱米特有限责任公司 Mapping field anomalies using digital images and machine learning models
CN110648395A (en) * 2019-02-02 2020-01-03 完美世界(北京)软件科技发展有限公司 Terrain rendering method and device
CN109920056B (en) * 2019-03-18 2023-08-01 阿波罗智联(北京)科技有限公司 Building rendering method, device, equipment and medium
CN110889888B (en) * 2019-10-29 2020-10-09 桂林理工大学 A 3D Model Visualization Method Integrated with Texture Reduction and Fractal Compression
WO2021220452A1 (en) * 2020-04-30 2021-11-04 日本電信電話株式会社 Temperature sense estimation device, temperature sense estimation method, and program
CN112288841B (en) * 2020-12-18 2021-04-02 完美世界(北京)软件科技发展有限公司 Method and device for creating rendering frame graph
CN112233217B (en) * 2020-12-18 2021-04-02 完美世界(北京)软件科技发展有限公司 Rendering method and device of virtual scene
CN113297344B (en) * 2021-06-16 2021-11-30 重庆富沛和科技有限公司 Three-dimensional remote sensing image-based ground linear matching method and device and ground object target position positioning method
CN114842286B (en) * 2022-03-24 2024-02-23 西北工业大学 Large-scale remote sensing data set generation method based on real topography

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867331A (en) * 2012-08-31 2013-01-09 电子科技大学 Graphics processing unit (GPU)-orientated large-scale terrain fast drawing method
CN103186906A (en) * 2011-12-28 2013-07-03 中国科学院沈阳自动化研究所 Real-time infrared dynamic scene simulation method for multiple objects in sea and sky background
CN103761762A (en) * 2013-12-11 2014-04-30 南京乐飞航空技术有限公司 Infrared imaging simulation method based on OpenGL shader
CA2834575A1 (en) * 2012-11-30 2014-05-30 Thales Method of rendering a terrain stored in a massive database

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186906A (en) * 2011-12-28 2013-07-03 中国科学院沈阳自动化研究所 Real-time infrared dynamic scene simulation method for multiple objects in sea and sky background
CN102867331A (en) * 2012-08-31 2013-01-09 电子科技大学 Graphics processing unit (GPU)-orientated large-scale terrain fast drawing method
CA2834575A1 (en) * 2012-11-30 2014-05-30 Thales Method of rendering a terrain stored in a massive database
CN103761762A (en) * 2013-12-11 2014-04-30 南京乐飞航空技术有限公司 Infrared imaging simulation method based on OpenGL shader

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
《Real-time and multi-resolution rendering of the infrared characteristics for large-scale terrains》;Li, N 等;《INFRARED PHYSICS & TECHNOLOGY 》;20180920;全文 *
《地面背景红外辐射特性建模与仿真研究》;吕震华 等;《中国电子科学研究院学报》;20170831;第12卷(第4期);正文第1-2节 *
《基于核外渲染的大规模红外场景实时仿真系统研究》;张俭;《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》;20141115(第11期);正文第三、四章 *

Also Published As

Publication number Publication date
CN108932742A (en) 2018-12-04

Similar Documents

Publication Publication Date Title
CN108932742B (en) A real-time rendering method of large-scale infrared terrain scene based on remote sensing image classification
Tremblay et al. Rain rendering for evaluating and improving robustness to bad weather
JP2024510265A (en) High resolution neural rendering
Wang et al. Neural light field estimation for street scenes with differentiable virtual object insertion
CN108460841A (en) A kind of indoor scene light environment method of estimation based on single image
WO2022198684A1 (en) Methods and systems for training quantized neural radiance field
CN111223191A (en) Large-scale scene infrared imaging real-time simulation method for airborne enhanced synthetic vision system
US20220165040A1 (en) Appearance-driven automatic three-dimensional modeling
CN117333637B (en) Modeling and rendering method, device and equipment for three-dimensional scene
CN116385619A (en) Object model rendering method, device, computer equipment and storage medium
Hong et al. Acl-spc: Adaptive closed-loop system for self-supervised point cloud completion
Liu et al. Mvsgaussian: Fast generalizable gaussian splatting reconstruction from multi-view stereo
Yang et al. Reconstructing objects in-the-wild for realistic sensor simulation
CN117115359A (en) Multi-view power grid three-dimensional space data reconstruction method based on depth map fusion
CN117689847A (en) Editing multidimensional images from input images
Atienza A conditional generative adversarial network for rendering point clouds
Chen et al. Ortho-NeRF: generating a true digital orthophoto map using the neural radiance field from unmanned aerial vehicle images
Sun et al. SOL-NeRF: Sunlight modeling for outdoor scene decomposition and relighting
CN117152377A (en) New view angle synthesis method and system for road scene based on iterative generation
CN116704112A (en) 3D scanning system for object reconstruction
Yasuda et al. Two-Stage Super-Resolution Simulation Method for Three-Dimensional Flow Fields Around Buildings for Real-Time Prediction of Urban Micrometeorology
CN117332840B (en) Training method of nerve radiation field, method and device for acquiring target scene image
Gorbatsevich et al. Semi-Automatic Cityscape 3d Model Restoration Using Generative Adversarial Network
Yuan et al. Illumination consistency based on single low dynamic range images
Wu Research on the Application of Computer Graphics and Image Processing Technology in Graphic Design

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant