[go: up one dir, main page]

CN116579960B - A geospatial data fusion method - Google Patents

A geospatial data fusion method Download PDF

Info

Publication number
CN116579960B
CN116579960B CN202310501962.4A CN202310501962A CN116579960B CN 116579960 B CN116579960 B CN 116579960B CN 202310501962 A CN202310501962 A CN 202310501962A CN 116579960 B CN116579960 B CN 116579960B
Authority
CN
China
Prior art keywords
remote sensing
value
rem
sensing images
data
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
CN202310501962.4A
Other languages
Chinese (zh)
Other versions
CN116579960A (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.)
Guangzhou Nano Technology Co ltd
Original Assignee
Guangzhou Nano Technology Co ltd
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 Guangzhou Nano Technology Co ltd filed Critical Guangzhou Nano Technology Co ltd
Priority to CN202310501962.4A priority Critical patent/CN116579960B/en
Publication of CN116579960A publication Critical patent/CN116579960A/en
Application granted granted Critical
Publication of CN116579960B publication Critical patent/CN116579960B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration using two or more images, e.g. averaging or subtraction
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/70Denoising; Smoothing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

本发明涉及数据处理领域,本发明提供了一种地理空间数据融合方法及系统,获取多张遥感影像,提取出多张遥感影像中的地理空间数据,将多张遥感影像中的地理空间数据进行整合,得到数据源,计算数据源的几何驳合度,根据数据源的几何驳合度对多张遥感影像进行数据融合。所述方法能够对地理空间数据进行高效融合,无需对部分数据进行人工调整,大幅提高数据的融合速度,融合后的影像更能准确反映地段内的地理空间信息和地物变化,还能够提高地理空间数据的质量和精度,大幅减少融合过程中由多张不同遥感影像带来的数据偏差或误差。

The invention relates to the field of data processing. The invention provides a geospatial data fusion method and system, which acquires multiple remote sensing images, extracts the geospatial data in the multiple remote sensing images, and fuses the geospatial data in the multiple remote sensing images. Integrate, obtain the data source, calculate the geometric fit of the data source, and perform data fusion on multiple remote sensing images based on the geometric fit of the data source. The method described can efficiently fuse geospatial data without manual adjustment of some data, greatly improving the data fusion speed. The fused image can more accurately reflect the geospatial information and changes in ground objects in the area, and can also improve geographical location. The quality and accuracy of spatial data greatly reduce data deviations or errors caused by multiple different remote sensing images during the fusion process.

Description

一种地理空间数据融合方法A geospatial data fusion method

技术领域Technical field

本发明涉及数据处理领域,特别涉及一种地理空间数据融合方法。The invention relates to the field of data processing, and in particular to a geospatial data fusion method.

背景技术Background technique

地理空间数据是指与地理空间位置相关的各种数据,包括地理位置、地理区域、地理现象、地形地貌等等。地理空间数据一般具有空间、时间和属性等维度,其收集和获取的方式主要有遥感技术、全球定位系统、地面测量等。地理空间数据能够用来描述和分析地理现象、地理规律和地理过程,在城市规划、自然资源管理、灾害预警等领域有着广泛应用。Geospatial data refers to various data related to geographical spatial location, including geographical location, geographical area, geographical phenomenon, topography and landforms, etc. Geospatial data generally has dimensions such as space, time and attributes, and is collected and obtained mainly through remote sensing technology, global positioning system, ground survey, etc. Geospatial data can be used to describe and analyze geographical phenomena, geographical laws and geographical processes, and is widely used in urban planning, natural resource management, disaster early warning and other fields.

地理空间数据融合是指将不同来源、不同类型的地理空间数据进行集成、整合和处理,以获得更加准确、完整的地理信息数据。随着地理信息系统的广泛应用,越来越多的地理空间数据被采集和生成,包括遥感影像、地理位置数据、卫星图像等,同时,地理空间数据融合的方法也愈发趋于多样化和复杂化,传统的数据融合方法主要有模型融合、特征融合、决策融合等,但由于数据格式、数据精度等差异,在地理空间数据在融合和整合的过程中,如数据处理效率低下、融合效果较差等问题往往难以解决,而例如多源数据融合、多尺度数据融合、深度学习等目前数据融合的主流方法,尽管有着处理效率高、融合速度快的特点,但在信息损失、复杂度庞大等方面的处理效果仍然差强人意,因此,提出一种地理空间数据融合方法及应用,是当前地理信息技术研究领域中提高地理空间数据融合精度和可靠性的关键。Geospatial data fusion refers to the integration, integration and processing of geospatial data from different sources and types to obtain more accurate and complete geographic information data. With the widespread application of geographic information systems, more and more geospatial data are collected and generated, including remote sensing images, geographical location data, satellite images, etc. At the same time, geospatial data fusion methods are becoming increasingly diversified and Complexity, traditional data fusion methods mainly include model fusion, feature fusion, decision fusion, etc. However, due to differences in data formats, data accuracy, etc., in the process of fusion and integration of geospatial data, such as low data processing efficiency, poor fusion effect, etc. Problems such as poor performance are often difficult to solve. Current mainstream data fusion methods such as multi-source data fusion, multi-scale data fusion, and deep learning, although they have the characteristics of high processing efficiency and fast fusion speed, suffer from information loss and huge complexity. The processing effects in other aspects are still unsatisfactory. Therefore, proposing a geospatial data fusion method and application is the key to improving the accuracy and reliability of geospatial data fusion in the current field of geographic information technology research.

发明内容Contents of the invention

本发明的目的在于提出一种地理空间数据融合方法及应用,以解决现有技术中所存在的一个或多个技术问题,至少提供一种有益的选择或创造条件。The purpose of the present invention is to propose a geospatial data fusion method and application to solve one or more technical problems existing in the existing technology, and at least provide a beneficial choice or creation condition.

本发明提供了一种地理空间数据融合方法,获取多张遥感影像,提取出多张遥感影像中的地理空间数据,将多张遥感影像中的地理空间数据进行整合,得到数据源,计算数据源的几何驳合度,根据数据源的几何驳合度对多张遥感影像进行数据融合。所述方法能够对地理空间数据进行高效融合,无需对部分数据进行人工调整,大幅提高数据的融合速度,融合后的影像更能准确反映地段内的地理空间信息和地物变化,还能够提高地理空间数据的质量和精度,大幅减少融合过程中由多张不同遥感影像带来的数据偏差或误差。The invention provides a geospatial data fusion method, which acquires multiple remote sensing images, extracts the geospatial data in the multiple remote sensing images, integrates the geospatial data in the multiple remote sensing images, obtains data sources, and calculates the data sources. The geometric joining degree is used to perform data fusion on multiple remote sensing images based on the geometric joining degree of the data source. The method described can efficiently fuse geospatial data without manual adjustment of some data, greatly improving the data fusion speed. The fused image can more accurately reflect the geospatial information and surface object changes in the area, and can also improve geographical location. The quality and accuracy of spatial data greatly reduce data deviations or errors caused by multiple different remote sensing images during the fusion process.

为了实现上述目的,根据本发明的一方面,提供一种地理空间数据融合方法及应用,所述方法包括以下步骤:In order to achieve the above objectives, according to one aspect of the present invention, a geospatial data fusion method and application are provided. The method includes the following steps:

S100,获取多张遥感影像,提取出多张遥感影像中的地理空间数据;S100, acquire multiple remote sensing images and extract the geospatial data in the multiple remote sensing images;

S200,将多张遥感影像中的地理空间数据进行整合,得到数据源;S200, integrate geospatial data from multiple remote sensing images to obtain data sources;

S300,计算数据源的几何驳合度;S300, calculate the geometric coupling degree of the data source;

S400,根据数据源的几何驳合度对多张遥感影像进行数据融合。S400 performs data fusion on multiple remote sensing images based on the geometric fit of data sources.

进一步地,步骤S100中,所述遥感影像为遥感数字图像,遥感数字图像以数字形式存储,遥感数字图像的基本单位为像素点,所述像素点具有相应的亮度值。Further, in step S100, the remote sensing image is a remote sensing digital image, and the remote sensing digital image is stored in digital form. The basic unit of the remote sensing digital image is a pixel, and the pixel has a corresponding brightness value.

进一步地,步骤S100中,获取多张遥感影像,提取出多张遥感影像中的地理空间数据的步骤具体为:通过遥感监测获取多张遥感影像,将遥感影像中的像素点的亮度值以及遥感影像中的像素点的空间坐标作为遥感影像中的地理空间数据,在多张遥感影像中依次提取每张遥感影像的地理空间数据并保存。Further, in step S100, the steps of acquiring multiple remote sensing images and extracting the geospatial data in the multiple remote sensing images are specifically: acquiring multiple remote sensing images through remote sensing monitoring, and combining the brightness values of the pixels in the remote sensing images with the remote sensing The spatial coordinates of the pixels in the image are used as the geospatial data in the remote sensing image. The geospatial data of each remote sensing image is sequentially extracted from multiple remote sensing images and saved.

进一步地,步骤S200中,将多张遥感影像中的地理空间数据进行整合,得到数据源的步骤具体为:Further, in step S200, the geospatial data in multiple remote sensing images are integrated to obtain the data source. The specific steps are:

S201,以rem(i)表示多张遥感影像中的第i张遥感影像,记多张遥感影像的数目为N(即多张遥感影像的具体数量为N张),则i=1,2,…,N,初始化一个整数变量j1,变量j1的初始值为1,变量j1的取值范围为[1,N],从j1=1开始遍历j1,并创建一个空白的集合lan{},转至S202;S201, use rem(i) to represent the i-th remote sensing image among multiple remote sensing images, and record the number of multiple remote sensing images as N (that is, the specific number of multiple remote sensing images is N), then i=1,2, ..., N, initialize an integer variable j1, the initial value of variable j1 is 1, the value range of variable j1 is [1, N], traverse j1 starting from j1 = 1, and create a blank set lan{}, transfer to S202;

S202,记当前的rem(j1)内的所有像素点的数量为Mj1,以alr(j)表示当前的rem(j1)中第j个像素点的亮度值,j=1,2,…,Mj1,以tha(j1)表示当前的rem(j1)中所有像素点的亮度值的平均值,将当前tha(j1)的值加入到集合lan{}中,转至S203;S202, record the number of all pixels in the current rem(j1) as M j1 , and use alr(j) to represent the brightness value of the j-th pixel in the current rem(j1), j=1,2,…, M j1 , let tha(j1) represent the average brightness value of all pixels in the current rem(j1), add the current tha(j1) value to the set lan{}, and go to S203;

S203,如果当前j1的值小于N,则将当前j1的值增加1,转至S202;如果当前j1的值等于或大于N,则转至S204;S203, if the current value of j1 is less than N, increase the current value of j1 by 1 and go to S202; if the current value of j1 is equal to or greater than N, go to S204;

S204,以lan(i)表示集合lan{}中的第i个元素,i=1,2,…,N,记集合lan{}中值最大的元素为lan(M1),记集合lan{}中值最小的元素为lan(M2),创建一个空白的集合mis{},将集合lan{}中剔除了元素lan(M1)和lan(M2)后所余下的所有元素加入到集合mis{}中,记tow=mis_A/(lan(M1)-lan(M2)),mis_A代表集合mis{}中所有元素的总和;重置变量j1的值为1,创建一个空白的集合und{},转至S205;S204, use lan(i) to represent the i-th element in the set lan{}, i=1,2,...,N, and record the element with the largest value in the set lan{} as lan(M1), and record the set lan{} The element with the smallest median value is lan(M2). Create a blank set mis{}, and add all the remaining elements after removing the elements lan(M1) and lan(M2) from the set lan{} to the set mis{}. in to S205;

S205,如果当前lan(j1)的值大于roundup(tow)的值,则将当前变量j1的值加入到集合und{}中;如果当前lan(j1)的值小于或等于roundup(tow)的值,则转至S206;其中,roundup(tow)为对tow的值进行向上取整后得到的值;S205, if the current value of lan(j1) is greater than the value of roundup(tow), add the value of the current variable j1 to the set und{}; if the current value of lan(j1) is less than or equal to the value of roundup(tow) , then go to S206; where roundup(tow) is the value obtained by rounding up the value of tow;

S206,如果当前j1的值小于N,则将当前j1的值增加1,转至S205;如果当前j1的值等于或大于N,则转至S207;S206, if the current value of j1 is less than N, increase the current value of j1 by 1 and go to S205; if the current value of j1 is equal to or greater than N, go to S207;

S207,记集合und{}中所有元素的数量为N1,以und(i1)表示集合und{}中的第i1个元素,i1=1,2,…,N1,依次将rem(und(1)),rem(und(2)),…,rem(und(N1))保存为数据源。S207, record the number of all elements in the set und{} as N1, use und(i1) to represent the i1-th element in the set und{}, i1=1,2,...,N1, and then rem(und(1) ),rem(und(2)),…,rem(und(N1)) are saved as data sources.

本步骤的有益效果为:由于遥感影像中存在着光谱信息和空间信息,而遥感影像中像素点的亮度值最能反映目标地段的地理空间信息,同时,对于同一地段的多张遥感影像,当影像的捕捉角度较为相似时,其影像中所有像素点的平均亮度值都较为接近,而当影像的捕捉角度相差较大时,其影像内所有像素点的亮度值呈现出较大幅度的波动,因此,本步骤的方法通过筛选出多张遥感影像中的关键样张(即rem(und(1)),rem(und(2)),…,rem(und(N1))),将关键样张保存为数据源,关键样张内的像素点的亮度值变化能够反映出目标地段的关键信息,筛选出关键样张能够提供更优质的数据融合效果,还能够加快后续部分像素点的平滑处理速度。The beneficial effect of this step is: since there is spectral information and spatial information in remote sensing images, the brightness value of pixels in remote sensing images can best reflect the geospatial information of the target area. At the same time, for multiple remote sensing images of the same area, when When the capture angles of the images are relatively similar, the average brightness values of all pixels in the images are relatively close. When the capture angles of the images are greatly different, the brightness values of all pixels in the images will fluctuate greatly. Therefore, the method in this step saves the key samples by filtering out the key samples from multiple remote sensing images (i.e. rem(und(1)), rem(und(2)),..., rem(und(N1))) As a data source, changes in the brightness value of pixels in key samples can reflect the key information of the target area. Screening out key samples can provide a better data fusion effect, and can also speed up the subsequent smoothing processing of some pixels.

进一步地,步骤S300中,计算数据源的几何驳合度的步骤具体为:Further, in step S300, the step of calculating the geometric coupling degree of the data source is specifically:

S301,初始化整数变量k1,变量k1的初始值为1,变量k1的取值范围为[1,N1],N1为集合und{}中所有元素的数量,转至S302;S301, initialize the integer variable k1. The initial value of the variable k1 is 1. The value range of the variable k1 is [1, N1]. N1 is the number of all elements in the set und{}. Go to S302;

S302,选取数据源中的rem(und(k1)),即rem(und(k1))为多张遥感影像中的第und(k1)张遥感影像,记rem(und(k1))内左上角的像素点为par1,记rem(und(k1))内右上角的像素点为par2,记rem(und(k1))内左下角的像素点为par3,记rem(und(k1))内右下角的像素点为par4,连接像素点par1和par2得到直线cap1,连接像素点par2和par3得到直线cap2,连接像素点par3和par4得到直线cap3,连接像素点par4和par1得到直线cap4,转至S303;S302, select rem(und(k1)) in the data source, that is, rem(und(k1)) is the und(k1)th remote sensing image among multiple remote sensing images, record the upper left corner of rem(und(k1)) The pixel point of is par1, the pixel point in the upper right corner of rem(und(k1)) is denoted as par2, the pixel point of the lower left corner within rem(und(k1)) is denoted as par3, and the pixel point in the right corner of rem(und(k1)) is denoted as par3. The pixel point in the lower corner is par4. Connect the pixel points par1 and par2 to get the straight line cap1. Connect the pixel points par2 and par3 to get the straight line cap2. Connect the pixel points par3 and par4 to get the straight line cap3. Connect the pixel points par4 and par1 to get the straight line cap4. Go to S303 ;

S303,在当前的rem(und(k1))中,选取亮度值最小的像素点并记为soc,在直线cap1、cap2、cap3、cap4中选取出一条与像素点soc的距离最短的直线并记为capA,在直线cap1、cap2、cap3、cap4中选取出两条与直线capA具有垂直关系的直线并分别记为capC1,capC2,在直线capC1、capC2中选取出与像素点soc的距离最短的直线并记为capB,转至S304;S303. In the current rem(und(k1)), select the pixel with the smallest brightness value and record it as soc. Select a straight line with the shortest distance from the pixel soc among the straight lines cap1, cap2, cap3, and cap4 and record it. is capA, select two straight lines perpendicular to the straight line capA from the straight lines cap1, cap2, cap3, and cap4 and record them as capC1 and capC2 respectively. Select the straight line with the shortest distance from the pixel point soc among the straight lines capC1 and capC2. And record it as capB, go to S304;

S304,过像素点soc作垂线于直线capA从而得到垂足exaA,过像素点soc作垂线于直线capB从而得到垂足exaB,记直线capA和直线capB的交点为dau,依次连接soc、exaA、dau、exaB得到正方形区域gro,记当前的rem(und(k1))内所有落在正方形区域gro内的像素点为几何像素点,创建一个空白的集合fut{},将所有几何像素点对应的亮度值依次全部加入到集合fut{}中(每个像素点都对应着一个亮度值),记M2为集合fut{}中所有元素的数量,以fut(k2)表示集合fut{}中的第k2个元素,k2=1,2,…,M2;剔除掉当前rem(und(k1))中所有的几何像素点,将余下的像素点记为第一像素点;通过下式计算当前的rem(und(k1))的几何驳合度Geo_Re(rem(und(k1))):S304. Draw a perpendicular line through the pixel point soc to the straight line capA to obtain the vertical foot exaA. Draw a perpendicular line through the pixel point soc to the straight line capB to obtain the vertical foot exaB. Note the intersection of the straight line capA and the straight line capB as dau, and connect soc and exaA in sequence. , dau, exaB get the square area gro, record all the pixels falling in the square area gro in the current rem(und(k1)) as geometric pixels, create a blank set fut{}, and correspond all the geometric pixels The brightness values are all added to the set fut{} in turn (each pixel corresponds to a brightness value), M2 is the number of all elements in the set fut{}, and fut(k2) represents the number of elements in the set fut{}. The k2th element, k2=1,2,...,M2; eliminate all geometric pixels in the current rem(und(k1)), and record the remaining pixels as the first pixels; calculate the current The geometric coupling degree of rem(und(k1)) Geo_Re(rem(und(k1))):

式中,fut_A为集合fut{}中值最小的元素,soc_B为所有第一像素点中亮度值最小的像素点的亮度值,k3为累加变量,fut(k3)为集合fut{}中的第k3个元素,hav为所有第一像素点的亮度值的平均值,min{}代表对{}内的数取最小值,max{}代表对{}内的数取最大值,转至S305;In the formula, fut_A is the element with the smallest value in the set fut{}, soc_B is the brightness value of the pixel with the smallest brightness value among all the first pixel points, k3 is the accumulated variable, and fut(k3) is the first element in the set fut{}. k3 elements, hav is the average of the brightness values of all first pixels, min{} means taking the minimum value of the number in {}, max{} means taking the maximum value of the number in {}, go to S305;

S305,如果当前变量k1的值小于N1,则将k1的值增加1,转至S302;如果当前变量k1的值等于或大于N1,则转至S306;S305, if the value of the current variable k1 is less than N1, increase the value of k1 by 1 and go to S302; if the value of the current variable k1 is equal to or greater than N1, go to S306;

S306,创建一个空白的集合Geo{},依次将Geo_Re(rem(und(1))),Geo_Re(rem(und(2))),…,Geo_Re(rem(und(N1)))加入到集合Geo{}中,记集合Geo{}中所有元素的平均值为GeoA。S306, create a blank set Geo{}, and add Geo_Re(rem(und(1))), Geo_Re(rem(und(2))),..., Geo_Re(rem(und(N1))) to the set in sequence In Geo{}, the average of all elements in the set Geo{} is GeoA.

本步骤的有益效果为:在图像配准的过程中,利用数据源中的关键样张是一种行之有效的方法。这些样张往往是具有代表性的样本,能够用来计算不同影像之间的在几何层面上的匹配度。这些几何层面上的匹配度可以指出不同遥感影像之间不同空间位置的匹配程度,并可以用于确定高匹配度的融合位置。对于这些高匹配度的融合位置进行局部处理,以消除可能存在的拼接误差,从而实现图像的无缝融合。同时,由于遥感图像在成像时存在质量差异或拍摄角度存在不同,导致单张的遥感图像只能反映出目标地段的局部特征,本步骤的方法利用数据源中的关键样张,计算关键样张的几何驳合度,几何驳合度能够指出不同遥感影像中不同空间位置的在融合程度上是否足够匹配,对高匹配度的融合位置进行局部处理,不仅能够提高目标地段的整体特征的反映完整度,更能使得融合后的图像有更优的地理信息量,提高遥感图像融合的精度和可靠性。The beneficial effect of this step is that in the process of image registration, using key samples in the data source is an effective method. These proofs are often representative samples and can be used to calculate the geometric matching between different images. The matching degree at these geometric levels can indicate the matching degree of different spatial positions between different remote sensing images, and can be used to determine the fusion position with high matching degree. These high-matching fusion positions are locally processed to eliminate possible splicing errors, thereby achieving seamless fusion of images. At the same time, due to quality differences or different shooting angles in remote sensing images during imaging, a single remote sensing image can only reflect the local characteristics of the target area. The method in this step uses key samples in the data source to calculate the geometry of the key samples. The degree of fusion and geometric fusion can indicate whether the fusion degree of different spatial positions in different remote sensing images is sufficiently matched. Local processing of fusion positions with high matching degrees can not only improve the completeness of the reflection of the overall characteristics of the target area, but also This makes the fused image have better geographical information and improves the accuracy and reliability of remote sensing image fusion.

进一步地,步骤S400中,根据数据源的几何驳合度对多张遥感影像进行数据融合的方法具体为:Further, in step S400, the method for data fusion of multiple remote sensing images according to the geometric fit of the data sources is specifically:

S401,初始化一个整数变量j2,变量j2的初始值为1,变量j2的取值范围为[1,N],N为多张遥感影像的数目,从j2=1开始遍历j2,转至S402;S401, initialize an integer variable j2. The initial value of variable j2 is 1. The value range of variable j2 is [1, N]. N is the number of multiple remote sensing images. Start traversing j2 from j2 = 1 and go to S402;

S402,记当前rem(j2)中亮度值最大的像素点为pag(j2),将rem(j2)中的亮度值大于cla的临界像素点标记为第二像素点,转到S403;其中,cla=GeoA*pag(j2),rem(j2)中的临界像素点的定义为:与rem(j2)的边缘的距离小于T的像素点(即,临界像素点是与rem(j2)的边缘的距离小于T的像素点);T为[3,50]个像素点的距离;S402, record the pixel with the largest brightness value in the current rem(j2) as pag(j2), mark the critical pixel in rem(j2) whose brightness value is greater than cla as the second pixel, and go to S403; where, cla =GeoA*pag(j2), the definition of critical pixel point in rem(j2) is: the pixel point whose distance from the edge of rem(j2) is less than T (that is, the critical pixel point is from the edge of rem(j2) pixels whose distance is less than T); T is the distance of [3,50] pixels;

S403,如果当前变量j2的值小于N,则将变量j2的值增加1并转到S402。S403, if the current value of variable j2 is less than N, increase the value of variable j2 by 1 and go to S402.

本步骤的有益效果为:在数据融合的过程中,位于遥感图像的边缘的像素点尤为关键,这些像素点对融合后生成的遥感图像的质量具有决定性的作用,本步骤的方法利用几何驳合度,筛选出临界像素点中的第二像素点,第二像素点的周边像素较高程度地还原出了目标地段中的几何形态信息,对第二像素点进行局部的像素级处理,不仅能够提高遥感图像的细节度和局部质量,还能够更准确地提取出目标地段的关键信息,为后续的地理信息分析和应用提供更可靠的数据基础。The beneficial effect of this step is: in the process of data fusion, the pixels located at the edge of the remote sensing image are particularly critical. These pixels play a decisive role in the quality of the remote sensing image generated after fusion. The method of this step uses the geometric coupling degree. , filter out the second pixel point among the critical pixel points. The surrounding pixels of the second pixel point restore the geometric shape information in the target area to a high degree. Local pixel-level processing of the second pixel point can not only improve The detail and local quality of remote sensing images can also more accurately extract key information of target areas, providing a more reliable data basis for subsequent geographical information analysis and application.

进一步地,步骤S400中,根据数据源的几何驳合度对多张遥感影像进行数据融合,还包括:将多张遥感影像中的第二像素点使用邻域均值法进行滤波平滑预处理,将所有经过滤波平滑预处理后的遥感影像进行数据融合;所述数据融合的方法为像素级图像融合、特征级图像融合、决策级图像融合中的任意一种方法。Further, in step S400, performing data fusion on multiple remote sensing images according to the geometric fit of the data sources also includes: performing filtering and smoothing preprocessing on the second pixels in the multiple remote sensing images using the neighborhood mean method, and merging all the pixels. The remote sensing images after filtering and smoothing preprocessing are subjected to data fusion; the data fusion method is any one of pixel-level image fusion, feature-level image fusion, and decision-level image fusion.

本发明还提供了一种地理空间数据融合系统,所述一种地理空间数据融合系统包括:处理器、存储器及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现一种地理空间数据融合方法中的步骤,所述地理空间数据融合系统可以运行于桌上型计算机、笔记本电脑、移动电话、手提电话、平板电脑、掌上电脑及云端数据中心等计算设备中,可运行的系统可包括,但不仅限于,处理器、存储器、服务器集群,所述处理器执行所述计算机程序运行在以下系统的单元中:The present invention also provides a geospatial data fusion system. The geospatial data fusion system includes: a processor, a memory and a computer program stored in the memory and capable of running on the processor. When the processor executes the computer program, it implements the steps in a geospatial data fusion method. The geospatial data fusion system can run on desktop computers, notebook computers, mobile phones, mobile phones, tablet computers, handheld computers and In computing devices such as cloud data centers, executable systems may include, but are not limited to, processors, memories, and server clusters. The processor executes the computer program and runs in the following system units:

影像获取单元,用于获取多张遥感影像,提取出多张遥感影像中的地理空间数据;The image acquisition unit is used to acquire multiple remote sensing images and extract the geospatial data in the multiple remote sensing images;

数据整合单元,用于将多张遥感影像中的地理空间数据进行整合,得到数据源;The data integration unit is used to integrate geospatial data from multiple remote sensing images to obtain data sources;

参数计算单元,用于计算数据源的几何驳合度;Parameter calculation unit, used to calculate the geometric fit of the data source;

数据融合单元,用于根据数据源的几何驳合度对多张遥感影像进行数据融合。The data fusion unit is used to fuse multiple remote sensing images based on the geometric fit of the data sources.

本发明的有益效果为:所述方法能够对地理空间数据进行高效融合,无需对部分数据进行人工调整,大幅提高数据的融合速度,融合后的影像更能准确反映地段内的地理空间信息和地物变化,还能够提高地理空间数据的质量和精度,大幅减少融合过程中由多张不同遥感影像带来的数据偏差或误差。The beneficial effects of the present invention are: the method can efficiently integrate geospatial data without manual adjustment of part of the data, greatly improving the data fusion speed, and the fused image can more accurately reflect the geospatial information and location within the area. It can also improve the quality and accuracy of geospatial data and significantly reduce data deviations or errors caused by multiple different remote sensing images during the fusion process.

附图说明Description of the drawings

通过对结合附图所示出的实施方式进行详细说明,本发明的上述以及其他特征将更加明显,本发明附图中相同的参考标号表示相同或相似的元素,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,在附图中:The above and other features of the present invention will be more apparent from the detailed description of the embodiments shown in the accompanying drawings. In the drawings of the present invention, the same reference numerals designate the same or similar elements. It will be apparent that the appended drawings in the following description The drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts. In the drawings:

图1所示为一种地理空间数据融合方法的流程图;Figure 1 shows a flow chart of a geospatial data fusion method;

图2所示为一种地理空间数据融合系统的系统结构图。Figure 2 shows the system structure diagram of a geospatial data fusion system.

具体实施方式Detailed ways

以下将结合实施例和附图对本发明的构思、具体结构及产生的技术效果进行清楚、完整的描述,以充分地理解本发明的目的、方案和效果。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The following will give a clear and complete description of the concept, specific structure and technical effects of the present invention in conjunction with the embodiments and drawings, so as to fully understand the purpose, solutions and effects of the present invention. It should be noted that, as long as there is no conflict, the embodiments and features in the embodiments of this application can be combined with each other.

在本发明的描述中,若干的含义是一个或者多个,多个的含义是两个以上,大于、小于、超过等理解为不包括本数,以上、以下、以内等理解为包括本数。如果有描述到第一、第二只是用于区分技术特征为目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量或者隐含指明所指示的技术特征的先后关系。In the description of the present invention, several means one or more, plural means two or more, greater than, less than, more than, etc. are understood to exclude the original number, and above, below, within, etc. are understood to include the original number. If there is a description of first and second, it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the order of indicated technical features. relation.

如图1所示为根据本发明的一种地理空间数据融合方法的流程图,下面结合图1来阐述根据本发明的实施方式的一种地理空间数据融合方法。Figure 1 shows a flow chart of a geospatial data fusion method according to the present invention. A geospatial data fusion method according to an embodiment of the present invention will be described below with reference to Figure 1 .

本发明提出一种地理空间数据融合方法,所述方法包括以下步骤:The present invention proposes a geospatial data fusion method, which includes the following steps:

S100,获取多张遥感影像,提取出多张遥感影像中的地理空间数据;S100, acquire multiple remote sensing images and extract the geospatial data in the multiple remote sensing images;

S200,将多张遥感影像中的地理空间数据进行整合,得到数据源;S200, integrate geospatial data from multiple remote sensing images to obtain data sources;

S300,计算数据源的几何驳合度;S300, calculate the geometric coupling degree of the data source;

S400,根据数据源的几何驳合度对多张遥感影像进行数据融合。S400 performs data fusion on multiple remote sensing images based on the geometric fit of data sources.

进一步地,步骤S100中,所述遥感影像为遥感数字图像,遥感数字图像以数字形式存储,遥感数字图像的基本单位为像素点,所述像素点具有相应的亮度值。Further, in step S100, the remote sensing image is a remote sensing digital image, and the remote sensing digital image is stored in digital form. The basic unit of the remote sensing digital image is a pixel, and the pixel has a corresponding brightness value.

进一步地,步骤S100中,获取多张遥感影像,提取出多张遥感影像中的地理空间数据的步骤具体为:通过遥感监测获取多张遥感影像,将遥感影像中的像素点的亮度值以及遥感影像中的像素点的空间坐标作为遥感影像中的地理空间数据,在多张遥感影像中依次提取每张遥感影像的地理空间数据并保存。Further, in step S100, the steps of acquiring multiple remote sensing images and extracting the geospatial data in the multiple remote sensing images are specifically: acquiring multiple remote sensing images through remote sensing monitoring, and combining the brightness values of the pixels in the remote sensing images with the remote sensing The spatial coordinates of the pixels in the image are used as the geospatial data in the remote sensing image. The geospatial data of each remote sensing image is sequentially extracted from multiple remote sensing images and saved.

进一步地,步骤S200中,将多张遥感影像中的地理空间数据进行整合,得到数据源的步骤具体为:Further, in step S200, the geospatial data in multiple remote sensing images are integrated to obtain the data source. The specific steps are:

S201,以rem(i)表示多张遥感影像中的第i张遥感影像,记多张遥感影像的数目为N(即多张遥感影像的具体数量为N张),则i=1,2,…,N,初始化一个整数变量j1,变量j1的初始值为1,变量j1的取值范围为[1,N],从j1=1开始遍历j1,并创建一个空白的集合lan{},转至S202;S201, use rem(i) to represent the i-th remote sensing image among multiple remote sensing images, and record the number of multiple remote sensing images as N (that is, the specific number of multiple remote sensing images is N), then i=1,2, ..., N, initialize an integer variable j1, the initial value of variable j1 is 1, the value range of variable j1 is [1, N], traverse j1 starting from j1 = 1, and create a blank set lan{}, transfer to S202;

S202,记当前的rem(j1)内的所有像素点的数量为Mj1,以alr(j)表示当前的rem(j1)中第j个像素点的亮度值,j=1,2,…,Mj1,以tha(j1)表示当前的rem(j1)中所有像素点的亮度值的平均值,将当前tha(j1)的值加入到集合lan{}中,转至S203;S202, record the number of all pixels in the current rem(j1) as M j1 , and use alr(j) to represent the brightness value of the j-th pixel in the current rem(j1), j=1,2,…, M j1 , let tha(j1) represent the average brightness value of all pixels in the current rem(j1), add the current tha(j1) value to the set lan{}, and go to S203;

S203,如果当前j1的值小于N,则将当前j1的值增加1,转至S202;如果当前j1的值等于或大于N,则转至S204;S203, if the current value of j1 is less than N, increase the current value of j1 by 1 and go to S202; if the current value of j1 is equal to or greater than N, go to S204;

S204,以lan(i)表示集合lan{}中的第i个元素,i=1,2,…,N,记集合lan{}中值最大的元素为lan(M1),记集合lan{}中值最小的元素为lan(M2),创建一个空白的集合mis{},将集合lan{}中剔除了元素lan(M1)和lan(M2)后所余下的所有元素加入到集合mis{}中,记tow=mis_A/(lan(M1)-lan(M2)),mis_A代表集合mis{}中所有元素的总和;重置变量j1的值为1,创建一个空白的集合und{},转至S205;S204, use lan(i) to represent the i-th element in the set lan{}, i=1,2,...,N, and record the element with the largest value in the set lan{} as lan(M1), and record the set lan{} The element with the smallest median value is lan(M2). Create a blank set mis{}, and add all the remaining elements after removing the elements lan(M1) and lan(M2) from the set lan{} to the set mis{}. in to S205;

S205,如果当前lan(j1)的值大于roundup(tow)的值,则将当前变量j1的值加入到集合und{}中;如果当前lan(j1)的值小于或等于roundup(tow)的值,则转至S206;其中,roundup(tow)为对tow的值进行向上取整后得到的值;S205, if the current value of lan(j1) is greater than the value of roundup(tow), add the value of the current variable j1 to the set und{}; if the current value of lan(j1) is less than or equal to the value of roundup(tow) , then go to S206; where roundup(tow) is the value obtained by rounding up the value of tow;

S206,如果当前j1的值小于N,则将当前j1的值增加1,转至S205;如果当前j1的值等于或大于N,则转至S207;S206, if the current value of j1 is less than N, increase the current value of j1 by 1 and go to S205; if the current value of j1 is equal to or greater than N, go to S207;

S207,记集合und{}中所有元素的数量为N1,以und(i1)表示集合und{}中的第i1个元素,i1=1,2,…,N1,依次将rem(und(1)),rem(und(2)),…,rem(und(N1))保存为数据源。S207, record the number of all elements in the set und{} as N1, use und(i1) to represent the i1-th element in the set und{}, i1=1,2,...,N1, and then rem(und(1) ),rem(und(2)),…,rem(und(N1)) are saved as data sources.

进一步地,步骤S300中,计算数据源的几何驳合度的步骤具体为:Further, in step S300, the step of calculating the geometric coupling degree of the data source is specifically:

S301,初始化整数变量k1,变量k1的初始值为1,变量k1的取值范围为[1,N1],N1为集合und{}中所有元素的数量,转至S302;S301, initialize the integer variable k1. The initial value of the variable k1 is 1. The value range of the variable k1 is [1, N1]. N1 is the number of all elements in the set und{}. Go to S302;

S302,选取数据源中的rem(und(k1)),即rem(und(k1))为多张遥感影像中的第und(k1)张遥感影像,记rem(und(k1))内左上角的像素点为par1,记rem(und(k1))内右上角的像素点为par2,记rem(und(k1))内左下角的像素点为par3,记rem(und(k1))内右下角的像素点为par4,连接像素点par1和par2得到直线cap1,连接像素点par2和par3得到直线cap2,连接像素点par3和par4得到直线cap3,连接像素点par4和par1得到直线cap4,转至S303;S302, select rem(und(k1)) in the data source, that is, rem(und(k1)) is the und(k1)th remote sensing image among multiple remote sensing images, record the upper left corner of rem(und(k1)) The pixel point of is par1, the pixel point in the upper right corner of rem(und(k1)) is denoted as par2, the pixel point of the lower left corner within rem(und(k1)) is denoted as par3, and the pixel point in the right corner of rem(und(k1)) is denoted as par3. The pixel point in the lower corner is par4. Connect the pixel points par1 and par2 to get the straight line cap1. Connect the pixel points par2 and par3 to get the straight line cap2. Connect the pixel points par3 and par4 to get the straight line cap3. Connect the pixel points par4 and par1 to get the straight line cap4. Go to S303 ;

S303,在当前的rem(und(k1))中,选取亮度值最小的像素点并记为soc,在直线cap1、cap2、cap3、cap4中选取出一条与像素点soc的距离最短的直线并记为capA,在直线cap1、cap2、cap3、cap4中选取出两条与直线capA具有垂直关系的直线并分别记为capC1,capC2,在直线capC1、capC2中选取出与像素点soc的距离最短的直线并记为capB,转至S304;S303. In the current rem(und(k1)), select the pixel with the smallest brightness value and record it as soc. Select a straight line with the shortest distance from the pixel soc among the straight lines cap1, cap2, cap3, and cap4 and record it. is capA, select two straight lines perpendicular to the straight line capA from the straight lines cap1, cap2, cap3, and cap4 and record them as capC1 and capC2 respectively. Select the straight line with the shortest distance from the pixel point soc among the straight lines capC1 and capC2. And record it as capB, go to S304;

S304,过像素点soc作垂线于直线capA从而得到垂足exaA,过像素点soc作垂线于直线capB从而得到垂足exaB,记直线capA和直线capB的交点为dau,依次连接soc、exaA、dau、exaB得到正方形区域gro,记当前的rem(und(k1))内所有落在正方形区域gro内的像素点为几何像素点,创建一个空白的集合fut{},将所有几何像素点对应的亮度值依次全部加入到集合fut{}中(每个像素点都对应着一个亮度值),记M2为集合fut{}中所有元素的数量,以fut(k2)表示集合fut{}中的第k2个元素,k2=1,2,…,M2;剔除掉当前rem(und(k1))中所有的几何像素点,将余下的像素点记为第一像素点;通过下式计算当前的rem(und(k1))的几何驳合度Geo_Re(rem(und(k1))):S304. Draw a perpendicular line through the pixel point soc to the straight line capA to obtain the vertical foot exaA. Draw a perpendicular line through the pixel point soc to the straight line capB to obtain the vertical foot exaB. Note the intersection of the straight line capA and the straight line capB as dau, and connect soc and exaA in sequence. , dau, exaB get the square area gro, record all the pixels falling in the square area gro in the current rem(und(k1)) as geometric pixels, create a blank set fut{}, and correspond all the geometric pixels The brightness values are all added to the set fut{} in turn (each pixel corresponds to a brightness value), M2 is the number of all elements in the set fut{}, and fut(k2) represents the number of elements in the set fut{}. The k2th element, k2=1,2,...,M2; eliminate all geometric pixels in the current rem(und(k1)), and record the remaining pixels as the first pixels; calculate the current The geometric coupling degree of rem(und(k1)) Geo_Re(rem(und(k1))):

式中,fut_A为集合fut{}中值最小的元素,soc_B为所有第一像素点中亮度值最小的像素点的亮度值,k3为累加变量,fut(k3)为集合fut{}中的第k3个元素,hav为所有第一像素点的亮度值的平均值,min{}代表对{}内的数取最小值,max{}代表对{}内的数取最大值,转至S305;In the formula, fut_A is the element with the smallest value in the set fut{}, soc_B is the brightness value of the pixel with the smallest brightness value among all the first pixel points, k3 is the accumulated variable, and fut(k3) is the first element in the set fut{}. k3 elements, hav is the average of the brightness values of all first pixels, min{} means taking the minimum value of the number in {}, max{} means taking the maximum value of the number in {}, go to S305;

S305,如果当前变量k1的值小于N1,则将k1的值增加1,转至S302;如果当前变量k1的值等于或大于N1,则转至S306;S305, if the value of the current variable k1 is less than N1, increase the value of k1 by 1 and go to S302; if the value of the current variable k1 is equal to or greater than N1, go to S306;

S306,创建一个空白的集合Geo{},依次将Geo_Re(rem(und(1))),Geo_Re(rem(und(2))),…,Geo_Re(rem(und(N1)))加入到集合Geo{}中,记集合Geo{}中所有元素的平均值为GeoA。S306, create a blank set Geo{}, and add Geo_Re(rem(und(1))), Geo_Re(rem(und(2))),..., Geo_Re(rem(und(N1))) to the set in sequence In Geo{}, the average of all elements in the set Geo{} is GeoA.

进一步地,步骤S400中,根据数据源的几何驳合度对多张遥感影像进行数据融合的方法具体为:Further, in step S400, the method for data fusion of multiple remote sensing images according to the geometric fit of the data sources is specifically:

S401,初始化一个整数变量j2,变量j2的初始值为1,变量j2的取值范围为[1,N],N为多张遥感影像的数目,从j2=1开始遍历j2,转至S402;S401, initialize an integer variable j2. The initial value of variable j2 is 1. The value range of variable j2 is [1, N]. N is the number of multiple remote sensing images. Start traversing j2 from j2 = 1 and go to S402;

S402,记当前rem(j2)中亮度值最大的像素点为pag(j2),将rem(j2)中的亮度值大于cla的临界像素点标记为第二像素点,转到S403;其中,cla=GeoA*pag(j2),rem(j2)中的临界像素点的定义为:与rem(j2)的边缘的距离小于T的像素点(即,临界像素点是与rem(j2)的边缘的距离小于T的像素点);T为[3,50]个像素点的距离;S402, record the pixel with the largest brightness value in the current rem(j2) as pag(j2), mark the critical pixel in rem(j2) whose brightness value is greater than cla as the second pixel, and go to S403; where, cla =GeoA*pag(j2), the definition of critical pixel point in rem(j2) is: the pixel point whose distance from the edge of rem(j2) is less than T (that is, the critical pixel point is from the edge of rem(j2) pixels whose distance is less than T); T is the distance of [3,50] pixels;

S403,如果当前变量j2的值小于N,则将变量j2的值增加1并转到S402。S403, if the current value of variable j2 is less than N, increase the value of variable j2 by 1 and go to S402.

进一步地,步骤S400中,根据数据源的几何驳合度对多张遥感影像进行数据融合,还包括:将多张遥感影像中的第二像素点使用邻域均值法进行滤波平滑预处理,将所有经过滤波平滑预处理后的遥感影像进行数据融合;所述数据融合的方法为像素级图像融合、特征级图像融合、决策级图像融合中的任意一种方法。Further, in step S400, performing data fusion on multiple remote sensing images according to the geometric fit of the data sources also includes: performing filtering and smoothing preprocessing on the second pixels in the multiple remote sensing images using the neighborhood mean method, and merging all the pixels. The remote sensing images after filtering and smoothing preprocessing are subjected to data fusion; the data fusion method is any one of pixel-level image fusion, feature-level image fusion, and decision-level image fusion.

所述一种地理空间数据融合系统包括:处理器、存储器及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述一种地理空间数据融合方法实施例中的步骤,所述一种地理空间数据融合系统可以运行于桌上型计算机、笔记本电脑、移动电话、手提电话、平板电脑、掌上电脑及云端数据中心等计算设备中,可运行的系统可包括,但不仅限于,处理器、存储器、服务器集群。The geospatial data fusion system includes: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above geospatial data fusion system is implemented. The steps in the embodiment of the spatial data fusion method. The geospatial data fusion system can run on computing devices such as desktop computers, notebook computers, mobile phones, portable phones, tablet computers, handheld computers, and cloud data centers, Runnable systems may include, but are not limited to, processors, memories, and server clusters.

本发明的实施例提供的一种地理空间数据融合系统,如图2所示,该实施例的一种地理空间数据融合系统包括:处理器、存储器及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述一种地理空间数据融合方法实施例中的步骤,所述处理器执行所述计算机程序运行在以下系统的单元中:An embodiment of the present invention provides a geospatial data fusion system. As shown in Figure 2, the geospatial data fusion system of this embodiment includes: a processor, a memory, and a processor that is stored in the memory and can be stored in the memory. A computer program running on a processor. When the processor executes the computer program, it implements the steps in one of the above geospatial data fusion method embodiments. The processor executes the computer program and runs in the unit of the following system:

影像获取单元,用于获取多张遥感影像,提取出多张遥感影像中的地理空间数据;The image acquisition unit is used to acquire multiple remote sensing images and extract the geospatial data in the multiple remote sensing images;

数据整合单元,用于将多张遥感影像中的地理空间数据进行整合,得到数据源;The data integration unit is used to integrate geospatial data from multiple remote sensing images to obtain data sources;

参数计算单元,用于计算数据源的几何驳合度;Parameter calculation unit, used to calculate the geometric fit of the data source;

数据融合单元,用于根据数据源的几何驳合度对多张遥感影像进行数据融合。The data fusion unit is used to fuse multiple remote sensing images based on the geometric fit of the data sources.

所述一种地理空间数据融合系统可以运行于桌上型计算机、笔记本电脑、掌上电脑及云端数据中心等计算设备中。所述一种地理空间数据融合系统包括,但不仅限于,处理器、存储器。本领域技术人员可以理解,所述例子仅仅是一种地理空间数据融合方法及系统的示例,并不构成对一种地理空间数据融合方法及系统的限定,可以包括比例子更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述一种地理空间数据融合系统还可以包括输入输出设备、网络接入设备、总线等。The geospatial data fusion system can run in computing devices such as desktop computers, notebook computers, handheld computers, and cloud data centers. The geospatial data fusion system includes, but is not limited to, a processor and a memory. Those skilled in the art can understand that the above examples are only examples of a geospatial data fusion method and system, and do not constitute a limitation to a geospatial data fusion method and system, and may include more or less than the examples. components, or a combination of certain components, or different components. For example, the geospatial data fusion system may also include input and output devices, network access devices, buses, etc.

所称处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application SpecificIntegrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立元器件门电路或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器是所述一种地理空间数据融合系统的控制中心,利用各种接口和线路连接整个一种地理空间数据融合系统的各个分区域。The so-called processor can be a Central Processing Unit (CPU), or other general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or an on-site processor. Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete component gate circuits or transistor logic devices, discrete hardware components, etc. The general processor can be a microprocessor or the processor can be any conventional processor, etc. The processor is the control center of the geospatial data fusion system and uses various interfaces and lines to connect the entire Various sub-regions of the geospatial data fusion system.

所述存储器可用于存储所述计算机程序和/或模块,所述处理器通过运行或执行存储在所述存储器内的计算机程序和/或模块,以及调用存储在存储器内的数据,实现所述一种地理空间数据融合方法及系统的各种功能。所述存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(SecureDigital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory may be used to store the computer program and/or module, and the processor implements the process by running or executing the computer program and/or module stored in the memory and calling data stored in the memory. A variety of geospatial data fusion methods and various functions of the system. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may store Data created based on the use of mobile phones (such as audio data, phone books, etc.), etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, Flash Card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

本发明提供了一种地理空间数据融合方法,获取多张遥感影像,提取出多张遥感影像中的地理空间数据,将多张遥感影像中的地理空间数据进行整合,得到数据源,计算数据源的几何驳合度,根据数据源的几何驳合度对多张遥感影像进行数据融合。所述方法能够对地理空间数据进行高效融合,无需对部分数据进行人工调整,大幅提高数据的融合速度,融合后的影像更能准确反映地段内的地理空间信息和地物变化,还能够提高地理空间数据的质量和精度,大幅减少融合过程中由多张不同遥感影像带来的数据偏差或误差。尽管本发明的描述已经相当详尽且特别对几个所述实施例进行了描述,但其并非旨在局限于任何这些细节或实施例或任何特殊实施例,从而有效地涵盖本发明的预定范围。此外,上文以发明人可预见的实施例对本发明进行描述,其目的是为了提供有用的描述,而那些目前尚未预见的对本发明的非实质性改动仍可代表本发明的等效改动。The invention provides a geospatial data fusion method, which acquires multiple remote sensing images, extracts the geospatial data in the multiple remote sensing images, integrates the geospatial data in the multiple remote sensing images, obtains data sources, and calculates the data sources. The geometric joining degree is used to perform data fusion on multiple remote sensing images based on the geometric joining degree of the data source. The method described can efficiently fuse geospatial data without manual adjustment of some data, greatly improving the data fusion speed. The fused image can more accurately reflect the geospatial information and surface object changes in the area, and can also improve geographical location. The quality and accuracy of spatial data greatly reduce data deviations or errors caused by multiple different remote sensing images during the fusion process. While the invention has been described in considerable detail and particularly with respect to several of the described embodiments, it is not intended to be limited to any such details or embodiments or to any particular embodiment so as to effectively encompass the intended scope of the invention. In addition, the above description of the present invention is based on embodiments foreseeable by the inventor for the purpose of providing a useful description, and those non-substantive changes to the present invention that are not yet foreseen can still represent equivalent changes of the present invention.

Claims (7)

1. A method of geospatial data fusion, the method comprising the steps of:
s100, acquiring a plurality of remote sensing images, and extracting geographic space data in the plurality of remote sensing images;
s200, integrating the geospatial data in the plurality of remote sensing images to obtain a data source;
s300, calculating the geometric degree of overlap of the data source;
s400, carrying out data fusion on a plurality of remote sensing images according to the geometric degree of the data source;
in step S300, the step of calculating the geometric degree of overlap of the data source specifically includes:
s301, initializing an integer variable k1, wherein the initial value of the variable k1 is 1, the value range of the variable k1 is [1, N1], N1 is the number of all elements in a set und { }, and turning to S302;
s302, selecting rem (un (k 1)) in a data source, namely rem (un (k 1)) as an un (k 1) Zhang Yaogan image in a plurality of remote sensing images, marking a pixel point at the upper left corner in rem (un (k 1)) as par1, marking a pixel point at the upper right corner in rem (un (k 1)) as par3, marking a pixel point at the lower left corner in rem (un (k 1)) as par4, connecting the pixel points par1 and par2 to obtain a straight line cap1, connecting the pixel points par2 and par3 to obtain a straight line cap2, connecting the pixel points par3 and par4 to obtain a straight line cap3, connecting the pixel points par4 and par1 to obtain a straight line cap4, and turning to S303;
s303, selecting a pixel point with the minimum brightness value from the current rem (und (k 1)) and marking as a soc, selecting a line with the shortest distance to the pixel point soc from the lines cap1, cap2, cap3 and cap4 and marking as a capA, selecting two lines with a perpendicular relation to the lines capA from the lines cap1, cap2, cap3 and cap4 and marking as capC1 and capC2 respectively, selecting a line with the shortest distance to the pixel point soc from the lines capC1 and capC2 and marking as a capB, and turning to S304;
s304, making a vertical line on a straight line capA through a pixel point soc to obtain a drop foot exaA, making a vertical line on a straight line capB through the pixel point soc to obtain a drop foot exaB, recording the intersection point of the straight line capA and the straight line capB as dau, sequentially connecting soc, exaA, dau, exaB to obtain a square region gro, recording all pixel points in the square region gro in the current rem (un (k 1)) as geometric pixel points, creating a blank set fut { }, sequentially adding brightness values corresponding to all geometric pixel points into the set fut { } (each pixel point corresponds to a brightness value), recording M2 as the number of all elements in the set fut { }, and recording the k2 element in the set fut { } as fut (k 2), wherein k2=1, 2, … and M2; removing all geometric pixel points in the current rem (un (k 1)), and marking the rest pixel points as first pixel points; the geometric degree of overlap geo_re (rem (un (k 1))) of the current rem (un (k 1)) is calculated by:
wherein fut _a is the element with the smallest median value in the set fut { }, soc_b is the brightness value of the pixel with the smallest brightness value in all the first pixel points, k3 is an accumulation variable, fut (k 3) is the k3 element in the set fut { }, hav is the average value of the brightness values of all the first pixel points, min { } represents the minimum value of the numbers in { }, max { } represents the maximum value of the numbers in { }, and the process goes to S305;
s305, if the value of the current variable k1 is smaller than N1, increasing the value of k1 by 1, and turning to S302; if the value of the current variable k1 is equal to or greater than N1, go to S306;
s306, creating a blank set Geo { }, adding Geo_Re (rem (und (1))), geo_Re (rem (und (2))), …, geo_Re (rem (und (N1))) to the set Geo { }, and recording the average value of all elements in the set Geo { } as GeoA.
2. The geospatial data fusion method of claim 1 wherein in step S100, the remote sensing image is a remote sensing digital image, the remote sensing digital image is stored in digital form, the basic unit of the remote sensing digital image is a pixel, and the pixel has a corresponding brightness value.
3. The method of claim 1, wherein in step S100, the step of obtaining a plurality of remote sensing images and extracting geospatial data in the plurality of remote sensing images is specifically: and acquiring a plurality of remote sensing images through remote sensing monitoring, taking the brightness value of the pixel point in the remote sensing images and the space coordinate of the pixel point in the remote sensing images as the geographic space data in the remote sensing images, and sequentially extracting and storing the geographic space data of each remote sensing image in the plurality of remote sensing images.
4. The geospatial data fusion method according to claim 1 wherein in step S200, the step of integrating geospatial data in a plurality of remote sensing images to obtain a data source is specifically:
s201, representing an ith remote sensing image in a plurality of remote sensing images by rem (i), recording the number of the plurality of remote sensing images as N (namely, the specific number of the plurality of remote sensing images is N), initializing an integer variable j1, wherein the initial value of the variable j1 is 1, the value range of the variable j1 is [1, N ], traversing j1 from j1 = 1, creating a blank set lan { } and turning to S202;
s202, recording the number of all pixel points in the current rem (j 1) as M j1 Expressed as alr (j)Luminance value of j-th pixel in current rem (j 1), j=1, 2, …, M j1 Representing the average value of the brightness values of all pixel points in the current rem (j 1) by using tha (j 1), adding the value of the current tha (j 1) into a set lan { }, and turning to S203;
s203, if the value of the current j1 is smaller than N, the value of the current j1 is increased by 1, and the process goes to S202; if the value of current j1 is equal to or greater than N, go to S204;
s204, representing the ith element in the set lan { } by lan (i), i=1, 2, …, N, recording the largest median element in the set lan { } as lan (M1), recording the smallest median element in the set lan { } as lan (M2), creating a blank set mis { }, adding all the elements remained after removing the elements lan (M1) and lan (M2) from the set lan { } to the set mis { }, recording tow=mis_a/(lan (M1) -lan (M2)), where mis_a represents the sum of all the elements in the set mis { }; resetting the value of the variable j1 to 1, creating a blank set und { }, and turning to S205;
s205, if the value of the current lan (j 1) is larger than the value of the round dup (tow), adding the value of the current variable j1 into the set und; if the value of the current lan (j 1) is less than or equal to the value of the round dup (tow), then go to S206; wherein, the round dup (top) is a value obtained by rounding up the top value;
s206, if the value of the current j1 is smaller than N, the value of the current j1 is increased by 1, and the process goes to S205; if the value of current j1 is equal to or greater than N, go to S207;
s207, the number of all elements in the set und { } is denoted by N1, and the i1 st element in the set und { } is denoted by und (i 1), i1=1, 2, …, N1, and rem (und (1)), rem (und (2)), …, rem (und (N1)) are sequentially stored as a data source.
5. The geospatial data fusion method according to claim 1 wherein in step S400, the method for data fusion of a plurality of remote sensing images according to the geometric degree of overlap of the data sources is specifically as follows:
s401, initializing an integer variable j2, wherein the initial value of the variable j2 is 1, the value range of the variable j2 is [1, N ], N is the number of a plurality of remote sensing images, traversing the variable j2 from j2 = 1, and turning to S402;
s402, recording the pixel point with the maximum brightness value in the current rem (j 2) as pag (j 2), marking the critical pixel point with the brightness value larger than cla in rem (j 2) as a second pixel point, and turning to S403; wherein cla=geoa×pag (j 2), and critical pixel points in rem (j 2) are defined as: a pixel having a distance less than T from the edge of rem (j 2) (i.e., a critical pixel is a pixel having a distance less than T from the edge of rem (j 2)); t is the distance between [3,50] pixel points;
s403, if the value of the current variable j2 is smaller than N, the value of the variable j2 is increased by 1 and the process goes to S402.
6. The geospatial data fusion method of claim 1 wherein in step S400, data fusion is performed on a plurality of remote sensing images according to geometric degree of overlap of data sources, further comprising: filtering and smoothing the second pixel point in the plurality of remote sensing images by using a neighborhood mean value method, and carrying out data fusion on all the remote sensing images subjected to filtering and smoothing pretreatment; the data fusion method is any one of pixel-level image fusion, feature-level image fusion and decision-level image fusion.
7. A geospatial data fusion system, the geospatial data fusion system comprising: a processor, a memory and a computer program stored in the memory and running on the processor, the processor implementing the steps of a geospatial data fusion method according to any of claims 1-6 when the computer program is executed, the geospatial data fusion system running in a computing device of a desktop, notebook, palm or cloud data center.
CN202310501962.4A 2023-05-06 2023-05-06 A geospatial data fusion method Active CN116579960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310501962.4A CN116579960B (en) 2023-05-06 2023-05-06 A geospatial data fusion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310501962.4A CN116579960B (en) 2023-05-06 2023-05-06 A geospatial data fusion method

Publications (2)

Publication Number Publication Date
CN116579960A CN116579960A (en) 2023-08-11
CN116579960B true CN116579960B (en) 2023-12-08

Family

ID=87538972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310501962.4A Active CN116579960B (en) 2023-05-06 2023-05-06 A geospatial data fusion method

Country Status (1)

Country Link
CN (1) CN116579960B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646027A (en) * 2013-10-30 2014-03-19 广东省数字广东研究院 Geographic spatial database updating method and system
CN110186820A (en) * 2018-12-19 2019-08-30 河北中科遥感信息技术有限公司 Multisource data fusion and environomental pollution source and pollutant distribution analysis method
CN111581308A (en) * 2020-03-26 2020-08-25 中国农业科学院农业信息研究所 Agricultural remote sensing monitoring data multidimensional fusion method and system
CN112258464A (en) * 2020-10-14 2021-01-22 宁波大学 Full-reference remote sensing image fusion quality evaluation method
WO2021056538A1 (en) * 2019-09-29 2021-04-01 深圳市大疆创新科技有限公司 Image processing method and device
WO2021077847A1 (en) * 2019-10-23 2021-04-29 北京建筑大学 Seawater-polluted area identification method based on high-resolution remote-sensing image, and device
WO2022048196A1 (en) * 2020-09-03 2022-03-10 深圳前海微众银行股份有限公司 Method and device for monitoring industrial production index
WO2022160895A1 (en) * 2021-01-28 2022-08-04 北京迈格威科技有限公司 Image processing method, image processing apparatus, electronic system and readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8145677B2 (en) * 2007-03-27 2012-03-27 Faleh Jassem Al-Shameri Automated generation of metadata for mining image and text data

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103646027A (en) * 2013-10-30 2014-03-19 广东省数字广东研究院 Geographic spatial database updating method and system
CN110186820A (en) * 2018-12-19 2019-08-30 河北中科遥感信息技术有限公司 Multisource data fusion and environomental pollution source and pollutant distribution analysis method
WO2021056538A1 (en) * 2019-09-29 2021-04-01 深圳市大疆创新科技有限公司 Image processing method and device
WO2021077847A1 (en) * 2019-10-23 2021-04-29 北京建筑大学 Seawater-polluted area identification method based on high-resolution remote-sensing image, and device
CN111581308A (en) * 2020-03-26 2020-08-25 中国农业科学院农业信息研究所 Agricultural remote sensing monitoring data multidimensional fusion method and system
WO2022048196A1 (en) * 2020-09-03 2022-03-10 深圳前海微众银行股份有限公司 Method and device for monitoring industrial production index
CN112258464A (en) * 2020-10-14 2021-01-22 宁波大学 Full-reference remote sensing image fusion quality evaluation method
WO2022160895A1 (en) * 2021-01-28 2022-08-04 北京迈格威科技有限公司 Image processing method, image processing apparatus, electronic system and readable storage medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
城市轨道交通接运公交最优长度与线路布设研究;郭本峰;张杰林;李铁柱;;交通运输工程与信息学报(04);全文 *
基于高斯混合模型的遥感影像云检测技术;杨帆;赵增鹏;张磊;;南京林业大学学报(自然科学版)(04);全文 *
多源遥感影像数据融合的理论与技术;韩玲, 吴汉宁;西北大学学报(自然科学版)(04);全文 *
影像融合技术在地学信息处理中的应用;潘存玲;李伟风;;测绘技术装备(04);全文 *
遥感影像融合关键技术探讨;杨玉静;;北京测绘(02);全文 *

Also Published As

Publication number Publication date
CN116579960A (en) 2023-08-11

Similar Documents

Publication Publication Date Title
US8989506B1 (en) Incremental image processing pipeline for matching multiple photos based on image overlap
CN108279670A (en) Method, equipment and computer-readable medium for adjusting point cloud data acquisition trajectories
US12136236B2 (en) Location determination in a GPS-denied environment with user annotation
CN110598541A (en) Method and equipment for extracting road edge information
CN108986152A (en) A kind of foreign matter detecting method and device based on difference image
CN113192174A (en) Mapping method and device and computer storage medium
CN112232311B (en) Face tracking method and device and electronic equipment
WO2019128504A1 (en) Method and apparatus for image processing in billiards game, and terminal device
CN110766996B (en) Click-to-read content positioning method and device, electronic equipment and storage medium
CN110597937A (en) A method, device, equipment and storage medium for unmanned intelligent inspection
CN110636248A (en) Target Tracking Method and Device
CN114359383A (en) Image positioning method, device, equipment and storage medium
CN111986214A (en) Construction method of pedestrian crossing in map and electronic equipment
CN113793370A (en) Three-dimensional point cloud registration method and device, electronic equipment and readable medium
CN114998743A (en) Method, device, equipment and medium for constructing visual map points
CN109916415A (en) Road type determination method, device, equipment and storage medium
US20150154736A1 (en) Linking Together Scene Scans
CN109213515B (en) Multi-platform lower buried point normalization method and device and electronic equipment
CN115272470A (en) Camera positioning method and device, computer equipment and storage medium
CN112132892A (en) Target position marking method, device and equipment
CN116579960B (en) A geospatial data fusion method
WO2021129142A1 (en) Building based outdoor positioning method, device and mobile equipment
CN115114302A (en) Road sign data updating method and device, electronic equipment and storage medium
CN116229406B (en) Lane line detection method, system, electronic equipment and storage medium
CN118521850A (en) Simulation data generation method and system for vehicle shielding interference

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Geospatial Data Fusion Method

Granted publication date: 20231208

Pledgee: Huangpu sub branch of Guangzhou Rural Commercial Bank Co.,Ltd.

Pledgor: Guangzhou Nano Technology Co.,Ltd.

Registration number: Y2024980024820

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20231208

Pledgee: Huangpu sub branch of Guangzhou Rural Commercial Bank Co.,Ltd.

Pledgor: Guangzhou Nano Technology Co.,Ltd.

Registration number: Y2024980024820