CN110162650B - Small image spot melting method considering local optimization and overall area balance - Google Patents
Small image spot melting method considering local optimization and overall area balance Download PDFInfo
- Publication number
- CN110162650B CN110162650B CN201910313763.4A CN201910313763A CN110162650B CN 110162650 B CN110162650 B CN 110162650B CN 201910313763 A CN201910313763 A CN 201910313763A CN 110162650 B CN110162650 B CN 110162650B
- Authority
- CN
- China
- Prior art keywords
- area
- small
- adjacent
- patch
- spot
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims description 47
- 238000002844 melting Methods 0.000 title claims description 37
- 230000008018 melting Effects 0.000 title claims description 37
- 238000005457 optimization Methods 0.000 title claims description 6
- 230000008859 change Effects 0.000 claims abstract description 34
- 239000012634 fragment Substances 0.000 claims abstract description 15
- 238000004364 calculation method Methods 0.000 claims description 22
- 238000004422 calculation algorithm Methods 0.000 claims description 17
- 238000002224 dissection Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 2
- 238000005094 computer simulation Methods 0.000 claims 1
- 238000007500 overflow downdraw method Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 15
- 230000011218 segmentation Effects 0.000 description 14
- 230000009286 beneficial effect Effects 0.000 description 9
- 230000004927 fusion Effects 0.000 description 9
- 244000025254 Cannabis sativa Species 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 4
- 238000002474 experimental method Methods 0.000 description 4
- 238000010309 melting process Methods 0.000 description 4
- 238000003786 synthesis reaction Methods 0.000 description 4
- 230000002860 competitive effect Effects 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 2
- 238000013178 mathematical model Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/56—Information retrieval; Database structures therefor; File system structures therefor of still image data having vectorial format
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Library & Information Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Image Processing (AREA)
- Image Analysis (AREA)
Abstract
本发明实施例公开了一种兼顾局部最优与整体面积平衡的小图斑融解方法,包括:A、获取一待处理的图像的全铺盖矢量图斑数据;并据此数据获取其中的邻近图斑的数据信息;B、根据邻近图斑的数据信息,对图像中的小图斑进行面积预分配,得到每个邻近图斑对小图斑的剖分面积;C、将面积预分配之后的小图斑的一级地类的面积进行统计,并计算预分配之前与之后的各地类面积的各个变化率;D、当所述各个变化率均低于第二指定阈值时,确定小图斑的内部地骨架线,并根据骨架线将各个小图斑分别分裂成多个碎片;将碎片兼并至与其邻近的图斑,以使得小图斑融解,以形成兼并之后的全铺盖图斑数据。由上,本申请可以实现有效地保持图斑兼并前后的地类的一致性。
The embodiment of the present invention discloses a small patch fusion method that takes into account both local optimum and overall area balance, including: A. Obtaining full overlay vector image patch data of an image to be processed; and obtaining adjacent images in it according to the data The data information of the spot; B. According to the data information of the adjacent spots, the area of the small spots in the image is pre-allocated, and the subdivision area of each adjacent spot to the small spots is obtained; C. After the area is pre-allocated Count the areas of the first-level land types of the small map spots, and calculate the respective change rates of the area of each type before and after the pre-allocation; D. When the respective change rates are lower than the second specified threshold, determine the small map spots According to the skeleton line, each small patch is split into multiple fragments; the fragments are merged into adjacent patches, so that the small patches are melted to form the merged full-coverage patch data. From the above, the present application can effectively maintain the consistency of the land types before and after the patch merger.
Description
技术领域technical field
本发明涉及地图制图与地图综合领域,尤其涉及一种兼顾局部最优与整体面积平衡的小图斑融解方法。The invention relates to the field of map mapping and map synthesis, in particular to a small map spot melting method that takes into account both local optimum and overall area balance.
背景技术Background technique
随着地理国情普查数据应用深度和广度加大,从大比例尺地表覆盖数据(图斑)综合至各种小比例尺数据,以多层次全面反映区域土地利用状况的需求越来越迫切。然而,土地利用专题数据是一种全覆盖、无重叠的空间铺盖,当地图由大比例尺变化至小比例尺,细小图斑因面积太小无法在图上继续表达而必须融解(艾廷华等,2010)。融解(Dissolving)操作的基本思路是根据临近面要素的情况,按一定的规则将细小图斑分裂成若干“碎片”,并将这些“碎片”兼并至邻近图斑,使图幅内的要素更加简洁。其中,细小图斑是指土地利用数据中呈离散分布的细碎地表覆盖数据,其面积较小,但数量庞大、形状复杂多样且在区域内广泛分布。在进行土地利用数据综合时,小图斑的融解处理结果可直接影响土地利用数据综合结果的质量。With the increasing depth and breadth of the application of geographic and national census data, the need to comprehensively reflect the regional land use status at multiple levels from large-scale land cover data (plots) to various small-scale data is becoming more and more urgent. However, the land use thematic data is a full-coverage, non-overlapping spatial overlay. When the map changes from a large scale to a small scale, the small patches must be melted because the area is too small to continue to be expressed on the map (Ai Tinghua et al., 2010). The basic idea of the Dissolving operation is to split the small patch into several "fragments" according to certain rules according to the conditions of the adjacent polygon elements, and merge these "fragments" into the adjacent patches, so that the elements in the map frame are more compact. concise. Among them, the small patches refer to the discretely distributed fine surface cover data in the land use data, which are small in area, but large in number, complex and diverse in shape and widely distributed in the region. When synthesizing land use data, the melting results of small patches can directly affect the quality of land use data synthesis results.
图斑分裂融解的关键是如何划定小图斑内的剖分分裂线。 Delaunay三角网由于具有“圆规则”或“最大最小角规则”等优势,成为图斑融解综合的常用方法(Ware et al,1997a)。Jones等(1995) 提出了基于Delaunay三角网的分裂线提取方法,使用三角网对小图斑内部进行剖分并对小图斑进行融解。艾廷华等(2000)提出针对多边形面状目标的综合问题,可以通过建立约束Delaunay三角网剖分结构实现多边形合并等操作。Gao等(2004)结合专题知识,基于 Delaunay三角网提取小图斑分裂线对土地利用数据进行降维(Collapse)操作。然而,以上操作均基于三角网的中轴化剖分,艾廷华等(2002)指出中轴化剖分方法在提取骨架线的过程中未考虑邻近图斑空间竞争能力的强弱之分,不利于维持综合前后各类型用地面积的百分比,小图斑的分裂线应根据邻近图斑的重要程度进行调整,为此提出了一种加权骨架线剖分策略。刘耀林等(2010)利用该方法,建立了顾及空间邻近和语义邻近的加权骨架线对约束Delaunay三角网进行剖分的改进算法,综合结果较好的保持了土地利用的特征。同样,Meijers等人提出SPLITAREA方法,基于局部要素实现三角网的加权分裂线提取。The key to the fusion of patch splitting is how to delineate the splitting line in the small patch. Delaunay triangulation has the advantages of "circle rule" or "maximum and minimum angle rule", and has become a common method for patch fusion synthesis (Ware et al, 1997a). Jones et al. (1995) proposed a split line extraction method based on Delaunay triangulation, which uses triangulation to subdivide the interior of small blobs and dissolve the small blobs. Ai Tinghua et al. (2000) proposed a synthesis problem for polygonal surface objects, which can realize polygon merging and other operations by establishing a constrained Delaunay triangulation structure. Gao et al. (2004) combined with thematic knowledge, based on the Delaunay triangulation to extract small patch split lines to perform dimensionality reduction (Collapse) operation on land use data. However, the above operations are all based on the central axis division of the triangulation. It is not conducive to maintain the percentage of land area of various types before and after integration. The splitting lines of small patches should be adjusted according to the importance of adjacent patches. To this end, a weighted skeleton line segmentation strategy is proposed. Liu Yaolin et al. (2010) used this method to establish an improved algorithm for constrained Delaunay triangulation with weighted skeleton lines considering spatial proximity and semantic proximity, and the comprehensive results kept the characteristics of land use better. Similarly, Meijers et al. proposed the SPLITAREA method to achieve the weighted split line extraction of the triangulation based on local elements.
然而,已有算法多考虑局部最优约束,导致小图斑融解结果仍存在不足:如小面积图斑与邻近图斑地类相似程度及共享边界长度作为局部最优,导致剖分兼并后全局的地类面积变化较大,输出结果不符合实际情况。如Cheng和Li(2006)分别利用相邻图斑面积以及共享边界长度这两种局部最优计算方法对小图斑进行融解,发现兼并前后分别有12.3%与8.3%的地类类别发生了变化。However, the existing algorithms mostly consider the local optimal constraints, which leads to the shortcomings of the fusion results of small patches: for example, the similarity between small-area patches and adjacent patches and the length of the shared boundary are regarded as the local optimum, which leads to the globalization after subdivision and merger. The area of the land type varies greatly, and the output result does not conform to the actual situation. For example, Cheng and Li (2006) used two local optimal calculation methods of adjacent patch area and shared boundary length to dissolve small patches, and found that 12.3% and 8.3% of land types changed before and after the merger, respectively. .
因此,目前亟需一种兼顾局部最优与整体面积平衡的小图斑融解方法,以解决或者部分解决上述技术问题,以更好的保持图斑兼并前后的地类的一致性。Therefore, there is an urgent need for a small patch fusion method that takes into account both the local optimum and the overall area balance, so as to solve or partially solve the above technical problems, so as to better maintain the consistency of the land types before and after the merger of the patches.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明的主要目的在于提出一种兼顾局部最优与整体面积平衡的小图斑融解方法,以更好的保持图斑兼并前后的地类的一致性。In view of this, the main purpose of the present invention is to propose a small patch melting method that takes into account both local optimum and overall area balance, so as to better maintain the consistency of land types before and after patch merger.
本申请提供的一种兼顾局部最优与整体面积平衡的图斑融解方法,包括:A patch fusion method that takes into account both local optimum and overall area balance provided by the present application includes:
A、获取一待处理的图像的全铺盖矢量图斑数据;并据此数据获取其中的邻近图斑的数据信息;其中,所述邻近图斑的数据信息至少包括以下其一:邻近图斑的面积、共享边长度及语义距离;A. Obtain full-coverage vector image spot data of an image to be processed; and obtain data information of adjacent spots in it according to the data; wherein, the data information of adjacent spots includes at least one of the following: Area, shared edge length and semantic distance;
B、根据所述邻近图斑的数据信息,对图像中的小图斑进行面积预分配,得到每个邻近图斑对小图斑的剖分面积;其中,将面积小于第一指定阈值的图斑作为小图斑;B. According to the data information of the adjacent spots, the area of the small spots in the image is pre-allocated, and the subdivision area of each adjacent spot to the small spots is obtained; wherein, the area is smaller than the first specified threshold. spots as small pattern spots;
C、将面积预分配之后的每个所述小图斑的一级地类的面积进行统计,并计算所述预分配之前与之后的各地类面积的各个变化率;C. Count the area of the first-level land type of each of the small patches after the area pre-allocation, and calculate the respective change rates of the area of each type before and after the pre-allocation;
D、当所述各个变化率均低于第二指定阈值时,确定每个所述小图斑的内部地骨架线,并根据所述骨架线将各个小图斑分别分裂成多个碎片;并将所述碎片兼并至与其邻近的图斑,以使得所述小图斑融解,以形成兼并之后的全铺盖图斑数据。D. When the respective change rates are lower than the second specified threshold, determine the internal skeleton line of each of the small image spots, and split each small image spot into a plurality of fragments according to the skeleton lines; and The fragments are merged into adjacent patches, so that the small patches are melted to form the merged full-coverage patch data.
由上,本申请提出的图斑融解方法,融解过程中在顾及图斑局部空间格局最优的同时,又能维持融解前后整体地类面积的平衡。有利于更好的保持图斑兼并前后的地类的一致性。From the above, the patch melting method proposed in the present application can maintain the balance of the overall land type area before and after melting while taking into account the optimal local spatial pattern of the patch during the melting process. It is beneficial to better maintain the consistency of the land types before and after the merger of the map patches.
其中,一级地类为国家标准的一级地类分布标准,包括:耕地、林地、草地、水域、(城乡、工况、居民)用地、未利用土地。Among them, the first-level land type is the distribution standard of the first-level land type of the national standard, including: cultivated land, forest land, grassland, water area, (urban and rural, working conditions, residents) land, unused land.
优选地,所述步骤C还包括:Preferably, the step C also includes:
当所述各个变化率中存在高于第二指定阈值的变化率时,则记录所有地类与所述第二指定阈值的差值,并依据面积平衡迭代算法对面积预分结果进行迭代处理至所述各个变化率均低于所述第二指定阈值。When there is a rate of change higher than the second specified threshold in each of the rates of change, the difference between all land types and the second specified threshold is recorded, and the area pre-segmentation result is iteratively processed according to the area balance iterative algorithm to Each of the rates of change is below the second specified threshold.
由上,有利于更好的进行分配以及有利于进一步的融解处理。From the above, it is conducive to better allocation and further melting processing.
优选地,步骤A获取所述邻近图斑的面积的计算模型为:Preferably, the calculation model for obtaining the area of the adjacent patch in step A is:
其中,i为邻近多边形各结点按顺时针的编号,xi为邻近多边形各结点横坐标,yi+1、yi-1为邻接多边形各结点纵坐标。Among them, i is the clockwise number of each node of the adjacent polygon, xi is the abscissa of each node of the adjacent polygon, and y i+1 and y i-1 are the ordinate of each node of the adjacent polygon.
由上,有利于更加精确有效的获取邻近图斑的面积。From the above, it is beneficial to obtain the area of adjacent patches more accurately and effectively.
优选地,步骤A获取所述共享边长度的计算模型为:Preferably, the calculation model for obtaining the length of the shared edge in step A is:
其中,xi、yi分别为所述共享边的一端点的横坐标和纵坐标;xi+1和yi+1分别表示所述共享边的另一端点的横坐标和纵坐标。Wherein, x i and y i are respectively the abscissa and ordinate of an end point of the shared side; x i+1 and y i+1 respectively represent the abscissa and ordinate of the other end of the shared side.
由上,有利于更加精确有效的获取共享边长度。From the above, it is beneficial to obtain the shared edge length more accurately and effectively.
优选地,所述步骤B包括:Preferably, the step B includes:
B1、获取每个小图斑的每个邻近图斑对于获取该小图斑的剖分面积的剖分能力;B1. Obtain the subdivision capability of each adjacent dot of each small dot for obtaining the subdivision area of the small dot;
B2、根据所述剖分能力的比例,获取每个邻近图斑对该小图斑的剖分面积。B2. According to the ratio of the segmenting capability, obtain the segmented area of each adjacent patch of the small patch.
由上,有利于更加精确有效的获取每个邻近图斑对该小图斑的剖分面积。From the above, it is beneficial to obtain the subdivision area of each adjacent patch of the small patch more accurately and effectively.
优选地,步骤B1所述剖分能力的计算模型为:Preferably, the calculation model of the dissection capability described in step B1 is:
其中,Si中的i=1,2,3,S1、S2、S3分别表示邻近图斑面积、共享边长度、语义距离三项约束指标,wi为各项指标的权重;其中,a 表示所述小图斑,bi表示第i个邻近图斑。Among them, i=1, 2, 3 in S i , S 1 , S 2 , and S 3 represent three constraint indicators of adjacent patch area, shared edge length, and semantic distance, respectively, and wi is the weight of each indicator; , a represents the small patch, and b i represents the i-th adjacent patch.
由上,有利于更加精确有效地获取每个邻近图斑的剖分能力。From the above, it is beneficial to obtain the segmentation capability of each adjacent patch more accurately and effectively.
优选地,所述步骤B2根据所述剖分能力的比例,获取每个邻近图斑对小图斑的剖分面积的计算模型为:Preferably, in the step B2, according to the ratio of the subdivision capability, the calculation model for obtaining the subdivision area of each adjacent dot to the small dot is:
Areai=SAF(a,bi)/SAF(a,b)*AreaArea i =SAF(a, b i )/SAF(a, b)*Area
其中,Areai为第i邻近图斑对小图斑的剖分面积;SAF(a,b)为所有邻近图斑剖分能力的总和;Area为该小图斑的面积;SAF(a,bi)表示第i个邻近图斑对于获取该小图斑的剖分面积的剖分能力。Among them, Area i is the subdivision area of the i-th adjacent dot to the small dot; SAF(a,b) is the sum of the subdivision capabilities of all adjacent dots; Area is the area of the small dot; SAF(a,b) i ) represents the ability of the i-th adjacent patch to obtain the segmented area of the small patch.
由上,有利于更加精确有效地获取每个邻近图斑对小图斑的剖分面积。From the above, it is beneficial to obtain the subdivision area of each adjacent patch to the small patch more accurately and effectively.
优选地,所述步骤D,包括:Preferably, the step D includes:
D1、根据Delaunay三角网法确定对所述小图斑形成剖分的邻近图斑;D1, according to the Delaunay triangulation method, determine the adjacent image spots that form a subdivision for the small image spots;
D2、分别对所述小图斑和所述邻近图斑进行两两计算,以获取剖分点;D2. Perform pairwise calculations on the small image spots and the adjacent image spots, respectively, to obtain subdivision points;
D3、根据所述剖分点生成分裂线,并据此将所述小图斑分裂成多个碎片,并将所述碎片兼并至与邻近的图斑,以使得所述小图斑融解,以形成兼并之后的全铺盖图斑数据。D3. Generate a split line according to the split point, and split the small patch into a plurality of fragments accordingly, and merge the fragments into adjacent patches, so that the small patches are melted to The full-coverage patch data after the merger is formed.
由上,有利于更加合理的进行小图斑的融解,以形成兼并之后的全铺盖图斑数据。From the above, it is conducive to more reasonable melting of small patches to form full overlay patch data after the merger.
优选地,所述获取剖分点的计算公式为:Preferably, the calculation formula for obtaining the division points is:
其中,a表示所述小图斑,b表示一邻近图斑,c表示另一邻近图斑,(xb,yb)、(xc,yc),分别表示三角网中边的两端点坐标,其中xb和xc表示横坐标,yb和yc表示纵坐标;Area(a,b)、Area(a,c)分别为邻近图斑b、c对小图斑a的剖分面积的值。Among them, a represents the small patch, b represents a neighboring patch, c represents another neighboring patch, (x b , y b ), (x c , y c ), respectively represent the two ends of the edge in the triangular network Coordinates, where x b and x c represent the abscissa, and y b and y c represent the ordinate; Area(a,b), Area(a,c) are the divisions of adjacent patches b and c to small patch a, respectively area value.
由上,有利于更加精确有效的获取剖分点。From the above, it is beneficial to obtain the subdivision points more accurately and effectively.
借由上述方案,本发明至少具有以下优点:By means of the above scheme, the present invention has at least the following advantages:
本申请提出的图斑融解方法,融解过程中在顾及图斑局部空间格局最优的同时,又能维持融解前后整体地类面积的平衡。有利于更好的保持图斑兼并前后的地类的一致性。The patch melting method proposed in the present application, while taking into account the optimal local spatial pattern of the patch during the melting process, can maintain the balance of the overall land type area before and after the melting. It is beneficial to better maintain the consistency of the land types before and after the merger of the map patches.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为现有顾及邻近图斑空间竞争剖分能力的小图斑融解方法示意图:(a)原始骨架线,(b)调整后骨架线;Figure 1 is a schematic diagram of an existing small patch fusion method taking into account the competitive segmentation ability of adjacent patch spaces: (a) the original skeleton line, (b) the adjusted skeleton line;
图2为现有顾及局部最优的小图斑融解方法存在的不足示意图: (a)原始土地利用数据及其中的小图斑(加深的部分),(b)基于 Delaunay三角网利用局部最优算法所提分裂线(加粗的线),(c) 融解结果;Figure 2 is a schematic diagram of the shortcomings of the existing small patch melting methods considering local optimization: (a) the original land use data and the small patches (deepened part) in it, (b) based on Delaunay triangulation using local optimization The split line proposed by the algorithm (bold line), (c) the melting result;
图3a、b为本发明提供的兼顾局部最优与整体面积平衡的小图斑融解方法流程图;Fig. 3a, b are the flow charts of the method for dissolving small image spots that take into account local optimum and overall area balance provided by the present invention;
图4为本发明实施例所作各地类面积变化率的调整值统计示意图;4 is a schematic diagram of the adjustment value statistics of the area change rates of various categories made according to an embodiment of the present invention;
图5为本发明实施例所作顾及全局最优的小图斑融解面积迭代调整示意图;FIG. 5 is a schematic diagram of iterative adjustment of the dissolving area of a small patch taking into account the global optimum made by an embodiment of the present invention;
图6为本发明实施例所作草地与人工构筑物图斑调整面积统计示意图;FIG. 6 is a schematic diagram of the area statistics of the patch adjustment of grassland and artificial structures made according to an embodiment of the present invention;
图7为本发明实施例所作土地利用铺盖数据小图斑融解结果示意图;FIG. 7 is a schematic diagram of a small map spot melting result of land use pavement data made in an embodiment of the present invention;
图8为本发明实施例所作小图斑向周边地类图斑融解面积对比示意图。FIG. 8 is a schematic diagram showing the comparison of the melting area of the small map spot to the surrounding land type map spot according to the embodiment of the present invention.
具体实施方式Detailed ways
实施例一Example 1
下面参照附图,详细介绍本发明提供的一种保持结构化地物轮廓特征的图斑合并方法。Referring to the accompanying drawings, a method for merging patches provided by the present invention for maintaining the contour features of structured objects will be described in detail.
如图1所示,为现有顾及邻近图斑空间竞争剖分能力的小图斑融解方法示意图:(a)原始骨架线,(b)调整后骨架线。As shown in Figure 1, it is a schematic diagram of the existing small patch fusion method considering the space competition division ability of adjacent patches: (a) the original skeleton line, (b) the adjusted skeleton line.
对土地利用数据小图斑的融解包含着空间上几何特征简化处理和语义上类型层次的归并以及相邻地块的邻近关系。艾廷华等(2002) 基于Delaunay三角网提出了一种较好的小图斑融解方法,即顾及邻近图斑空间竞争剖分能力的加权骨架线剖分方法。其核心步骤为:The fusion of small patches of land use data includes the simplification of spatial geometric features, the merging of semantic type levels and the adjacent relationship between adjacent plots. Ai Tinghua et al. (2002) proposed a better small patch fusion method based on Delaunay triangulation, that is, a weighted skeleton line segmentation method that takes into account the competitive segmentation ability of adjacent patch spaces. Its core steps are:
步骤1:识别比例尺上小于面积阈值的兼并图斑候选集,如图1 (a)中的图斑a;Step 1: Identify the merged patch candidate set that is smaller than the area threshold on the scale, such as patch a in Figure 1 (a);
步骤2:计算与相邻图斑b、c的空间几何特征及语义距离等约束下的空间竞争剖分能力(假设邻近地块b、c对小图斑的剖分能力分别为8、2);Step 2: Calculate the spatial competitive segmentation ability under the constraints of spatial geometric features and semantic distance with adjacent patches b and c (assuming that the segmentation capabilities of adjacent patches b and c for small patches are 8 and 2, respectively) ;
步骤3:剖分点由原来三角形边的二等分点变为按剖分能力比例形成的分割点,如图1(b)所示,小图斑a被剖分融解至邻近地块b、 c。Step 3: The division point is changed from the bisecting point of the original triangle side to the division point formed according to the division ability ratio. As shown in Figure 1(b), the small image spot a is divided and melted into the adjacent plots b, c.
图2为现有顾及局部最优的小图斑融解方法存在的不足示意图: (a)原始土地利用数据及其中的小图斑(加深的部分),(b)基于 Delaunay三角网利用局部最优算法所提分裂线(加粗线),(c)融解结果。Figure 2 is a schematic diagram of the shortcomings of the existing small patch melting methods considering local optimization: (a) the original land use data and the small patches (deepened part) in it, (b) based on Delaunay triangulation using local optimization The split line proposed by the algorithm (bold line), (c) the fusion result.
应用Delaunay三角网对土地利用数据小图斑进行融解时,最重要的就是确定小图斑的剖分点。现有小图斑融解方法更多的依赖于直接利用邻近图斑的局部最优计算结果进行小图斑的剖分融解 (Podrenek,2002;Van Smaalen,2003),如基于邻近图斑面积、共享边、局部语义距离等(艾廷华等,2010),忽视了全局地类面积平衡性的保持,导致融解操作前后各种土地分类面积在整个区域面积中所占比例变化较大(李晶等,2014;王冠,2009)。尤其在土地利用数据较为破碎,小图斑分布较多的情况下,基于局部最优方法进行小图斑融解在保持全局地类面积平衡上存在不足:When using Delaunay triangulation to melt small patches of land use data, the most important thing is to determine the subdivision points of the patches. Existing small patch fusion methods rely more on directly using the local optimal calculation results of adjacent patches to subdivide and dissolve small patches (Podrenek, 2002; Van Smaalen, 2003). For example, based on the area of adjacent patches, sharing edge, local semantic distance, etc. (Ai Tinghua et al., 2010), neglecting the maintenance of the balance of the global land type area, resulting in a large change in the proportion of various land classification areas in the entire area before and after the melting operation (Li Jing et al. , 2014; Crown, 2009). Especially in the case where the land use data is relatively fragmented and there are many small patches, the local optimal method for patch fusion is insufficient in maintaining the balance of the global land type area:
如图2(a)所示为原始土地利用数据,数据中的小图斑均加深显示,假设矩形框为整个研究区;图2(b)所示为基于Delaunay三角网利用局部最优算法(考虑了相邻图斑面积、共享边长、语义距离) 修正后的分裂线(加粗的线);最终的小图斑融解结果如图2(c)所示。Figure 2(a) shows the original land use data, and the small plots in the data are deepened, assuming that the rectangular frame is the entire study area; Figure 2(b) shows the local optimal algorithm based on the Delaunay triangulation ( Considering the area of adjacent patches, shared side length, and semantic distance), the corrected splitting line (bold line); the final small patch fusion result is shown in Figure 2(c).
对融解前后的一级地类图斑进行面积占比统计,结果如表1所示,可以看出,在融解前后,整个区域园地面积变化绝对值高达56%,融解前后全局地类面积变化较大。The area ratio statistics of the first-level land type patches before and after the melting are carried out. The results are shown in Table 1. It can be seen that before and after the melting, the absolute value of the change in the area of the entire region is as high as 56%. big.
表1融解前后一级地类图斑面积占比统计Table 1 Statistics on the proportion of first-level land-type map spots before and after melting
注:该图仅为示意图,区域中的土地利用类型未包含所有地类。Note: This figure is only a schematic diagram, and the land use types in the area do not include all land types.
如图3a、b所示,本申请提供一种兼顾局部最优与整体面积平衡的图斑融解方法,其特征在于,包括:As shown in Figures 3a and 3b, the present application provides a method for spot melting that takes into account both local optimum and overall area balance, and is characterized in that, it includes:
S301,获取一待处理的图像的全铺盖矢量图斑数据;并据此数据获取其中的邻近图斑的数据信息;其中,所述邻近图斑的数据信息包括:邻近图斑的面积、共享边长度及语义距离;具体地,本申请通过局部最优指标与计算:输入一幅全铺盖矢量图斑数据,提出邻近图斑面积、共享边长度、语义距离三项指标,作为小图斑融解过程中局部邻近图斑剖分竞争能力的计算依据;具体地:S301, obtaining full-coverage vector image spot data of an image to be processed; and obtaining data information of adjacent spots in the image according to the data; wherein the data information of the adjacent spots includes: the area of adjacent spots, the shared edge Length and semantic distance; specifically, this application uses local optimal indicators and calculation: input a full-coverage vector map spot data, and propose three indicators of adjacent spot area, shared edge length, and semantic distance as the small graph spot melting process The calculation basis of the competitive ability of the local adjacent patch segmentation in the middle; specifically:
(1)邻近图斑面积(1) Area of adjacent spots
邻近图斑面积大小是决定其“占有”小图斑能力的最直观影响因素,针对小图斑的邻近图斑,原则上面积占比较大的图斑相对面积较小的图斑更属于局部最优融解对象。计算邻近图斑面积的方法一般采用坐标解析法,其数学模型如下:The size of the adjacent patch area is the most intuitive factor that determines its ability to "occupy" a small patch. For the neighboring patches of a small patch, in principle, the patch with a larger area is more local than the patch with a smaller area. Excellent fusion object. The method of calculating the area of adjacent patches generally adopts the coordinate analysis method, and its mathematical model is as follows:
其中,本发明以一阶邻近场作为空间格局约束的区域,i为邻近多边形各结点按顺时针的编号,xi为邻近多边形各结点横坐标,yi+1、 yi-1为邻接多边形各结点纵坐标。Wherein, the present invention uses the first-order adjacent field as the area constrained by the spatial pattern, i is the clockwise number of each node of the adjacent polygon, x i is the abscissa of each node of the adjacent polygon, y i+1 , y i-1 are The ordinate of each node of the adjacent polygon.
(2)共享边长度(2) Shared edge length
共享边长度是判断图斑之间空间邻近程度的重要指标,在景观生态学上,共享边越大,说明图斑之间有更为良好的物质能量流通和过渡能力,因此,共享边越大的邻近图斑具有更优的小图斑归属“竞争力”。共享边通过在拓扑结构上附加语义信息进行识别,若某一弧段的结点具有两种不同的语义信息,则该边为共享边。计算邻近图斑与小图斑共享边两结点间距离(d)的方法一般采用欧式距离法,其数学模型如下:The length of the shared edge is an important indicator for judging the spatial proximity between the patches. In landscape ecology, the larger the shared edge, the better the material and energy flow and transition between the patches. Therefore, the larger the shared edge The neighboring patches have better attribution of "competitiveness" to small patches. Shared edges are identified by adding semantic information to the topology. If the nodes of an arc segment have two different semantic information, the edge is a shared edge. The Euclidean distance method is generally used to calculate the distance (d) between the two nodes on the shared edge of the adjacent patch and the small patch, and its mathematical model is as follows:
(3)语义距离(3) Semantic distance
语义邻近度是判断小图斑归属的核心要素(Liu et al.,2002), Van Oosterom(1995)在经典的迭代兼并算法中就提出了以小面积图斑与其邻近图斑地类的语义相似程度作为邻近图斑局部最优的判断依据。本发明基于制图知识相关理论,建立条件语义邻近度模型,细化了地类之间的语义距离计算方法。该方法既能够防止地类之间的不合理转换(杨俊等,2013),又能保证同类型图斑的兼并操作。Semantic proximity is the core element for judging the attribution of small patches (Liu et al., 2002). Van Oosterom (1995) proposed in the classic iterative merger algorithm that the semantic similarity between small-area patches and their neighboring patches is similar. The degree is used as the basis for judging the local optimum of adjacent patches. Based on the relevant theory of cartographic knowledge, the invention establishes a conditional semantic proximity model, and refines the semantic distance calculation method between land types. This method can not only prevent unreasonable conversion between land types (Yang Jun et al., 2013), but also ensure the merge operation of the same type of patches.
土地利用数据往往关心的是一、二级各地类的总量,但其原始数据中以更为精细的三级地类作为图斑分类管理单元。根据《地理国情普查内容与指标》中的分类及地理国情图斑数据兼并操作规则,本发明语义邻近度模型创建如下:Land use data often care about the total amount of first- and second-level land categories, but in the original data, more refined third-level land categories are used as the classification and management unit of the patches. According to the classification and operation rules for merging data of geographic and national conditions in the "Census Contents and Indicators of Geographical National Conditions", the semantic proximity model of the present invention is created as follows:
其中,X、Yi为参与邻近度计算的两地类,Yi为兼并源地类的地类类别,X为兼并目标地类的地类类别;m为与X具有语义邻近关系的地类类别个数,规定相邻元素之间的语义距离为1个单位, Distance(X,Yi)为兼并源地类在语义邻近地类集合中的位置(首先考虑与其同父类的地类之间的邻近关系,然后再考虑与非同父类的地类之间的邻近关系)。Among them, X and Y i are the two land types involved in the proximity calculation, Yi is the land class of the merged source land class, X is the land class of the annexed target land class; m is the land class that has a semantic proximity relationship with X The number of categories, which specifies that the semantic distance between adjacent elements is 1 unit, and Distance(X,Y i ) is the position of the merged source category in the semantically adjacent category set (first consider the category of the same parent category and then consider the proximity relationship with land types that are not of the same parent type).
S302,根据所述邻近图斑的数据信息,对每个所述小图斑进行面积预分配,得到每个邻近图斑对小图斑的剖分面积;其中,将面积小于第一指定阈值的图斑作为小图斑;具体地,基于CRITIC客观赋权法,定义邻近图斑剖分能力函数(Split Ability Function,SAF)计算对于某一小图斑其邻近图斑的空间竞争能力,利用Delaunay三角网提取图斑目标骨架线对小图斑进行面积预分。S302, according to the data information of the adjacent spots, perform area pre-allocation on each of the small spots, to obtain the subdivision area of each adjacent spot to the small spots; wherein, the area smaller than the first specified threshold is A patch is used as a small patch; specifically, based on the CRITIC objective weighting method, a Split Ability Function (SAF) of adjacent patches is defined to calculate the spatial competitiveness of a small patch and its neighboring patches, and Delaunay is used to calculate the spatial competitiveness of adjacent patches. The triangulation network extracts the target skeleton line of the patch to pre-divide the area of the small patch.
其中,所述S302包括:Wherein, the S302 includes:
B1、获取每个小图斑的每个邻近图斑对于获取该小图斑的剖分面积的剖分能力;B1. Obtain the subdivision capability of each adjacent dot of each small dot for obtaining the subdivision area of the small dot;
B2、根据所述剖分能力的比例,获取每个邻近图斑对该小图斑的剖分面积。B2. According to the ratio of the segmenting capability, obtain the segmented area of each adjacent patch of the small patch.
其中,步骤B1所述剖分能力的计算模型为:Wherein, the calculation model of the dissection capability described in step B1 is:
其中,Si中的i=1,2,3,S1、S2、S3分别表示邻近图斑面积、共享边长度、语义距离三项约束指标,wi为各项指标的权重;其中,a表示所述小图斑,bi表示第i个邻近图斑。若S1和S2有一个为0,则SAF 为0。SAF(a,bi)表示第i个邻近图斑对于获取该小图斑的剖分面积的剖分能力。Among them, i=1, 2, 3 in S i , S 1 , S 2 , and S 3 represent three constraint indicators of adjacent patch area, shared edge length, and semantic distance, respectively, and wi is the weight of each indicator; , a represents the small patch, and b i represents the i-th adjacent patch. If either S1 or S2 is 0 , then SAF is 0 . SAF(a,b i ) represents the ability of the i-th adjacent patch to obtain the segmented area of the small patch.
其中,所述步骤B2根据所述剖分能力的比例,获取每个邻近图斑对小图斑的剖分面积的计算模型为:Wherein, in the step B2, according to the ratio of the division capability, the calculation model for obtaining the subdivision area of each adjacent spot to a small spot is:
Areai=SAF(a,bi)/SAF(a,b)*AreaArea i =SAF(a, b i )/SAF(a, b)*Area
其中,Areai为第i邻近图斑对小图斑的剖分面积;SAF(a,b)为所有邻近图斑剖分能力的总和;Area为该小图斑的面积;SAF(a,bi)表示第i 个邻近图斑对于获取该小图斑的剖分面积的剖分能力。Among them, Area i is the subdivision area of the i-th adjacent dot to the small dot; SAF(a,b) is the sum of the subdivision capabilities of all adjacent dots; Area is the area of the small dot; SAF(a,b) i ) represents the ability of the i-th adjacent patch to obtain the segmented area of the small patch.
S303,将面积预分配之后的每个所述小图斑的一级地类的面积进行统计,并计算所述预分配之前与之后的各地类面积的各个变化率。具体地:S303: Count the areas of the first-level land types of each of the small patches after the area pre-allocation, and calculate the respective change rates of the areas of each type before and after the pre-allocation. specifically:
(1)各地类面积统计(1) Statistics on the area of each category
对空间预分后的一级地类的面积进行统计,并计算预分前后各地类面积的变化率。给定阈值第二指定阈值V,若至少一个地类变化率超过该阈值,则记录所有地类与阈值的差值Ui,并对面积预分结果进行迭代调整;若不超过阈值,则直接按照面积预分结果进行分裂线确定与融解。The area of the first-level land classes after spatial pre-classification is counted, and the change rate of the area of each class before and after the pre-classification is calculated. Given a threshold and a second specified threshold V, if the rate of change of at least one land type exceeds the threshold, record the difference U i between all land types and the threshold, and iteratively adjust the area pre-segmentation results; if it does not exceed the threshold, directly The splitting line is determined and melted according to the area pre-segmentation result.
(2)面积平衡迭代算法(2) Area balance iterative algorithm
需要调整的地类分为两类,一种为面积增加超过阈值的地类(记为 A地类),一种为面积降低量超过阈值的地类(记为B地类)。对于面积预分后面积变化在阈值范围内的地类记为C地类。面积预分后的地类主要包括这三种地类。记小图斑的总面积为N,地类面积迭代调整的主要流程如下:The land types that need to be adjusted are divided into two categories, one is the land type whose area has increased beyond the threshold (denoted as A land type), and the other is the land type whose area reduction exceeds the threshold (denoted as B land type). The land type whose area change is within the threshold range after area pre-segmentation is recorded as land type C. The land types after area pre-division mainly include these three land types. Note that the total area of the small patch is N, and the main process of iterative adjustment of the land type area is as follows:
1)查找需要调整地类的图斑信息1) Find the patch information that needs to be adjusted
对于需要调整的地类,首先遍历该地类图斑与小图斑相邻的所有图斑,并记录小图斑与其相邻图斑信息;For the ground type that needs to be adjusted, first traverse all the patches adjacent to the patch of the ground type and the small patch, and record the information of the small patch and its adjacent patches;
2)确定有效调整图斑信息2) Determine the effective adjustment patch information
过滤小图斑相邻图斑中只含有A地类或B地类的图斑,得到有效可调整图斑,记此时每个有效调整小图斑的面积为Mi,有效小图斑的总面积为M;Filter the adjacent patches of the small patch that only contain the patches of type A or type B, and obtain the effective adjustable patch. Note that the area of each effective adjustment patch is Mi at this time, and the effective patch is The total area is M;
3)统计全局尺度地类可调整面积3) Statistically adjustable area of global scale land types
假设全局A、B地类需要调整的面积分别为Ua、Ub,C地类可增加的最大限度面积为Uc1,可降低的最大限度面积为Uc2;Assuming that the areas that need to be adjusted for the global land types A and B are U a and U b respectively, the maximum area that can be increased for land type C is U c1 , and the maximum area that can be reduced is U c2 ;
4)统计局部每个小图斑尺度,地类可调整的面积4) Count the scale of each small spot in the local area, and the area that can be adjusted by the land type
将步骤3得到的全局调整面积,分配到每一个有效小图斑i上,则其相邻图斑:The global adjustment area obtained in step 3 is allocated to each valid small patch i, then its adjacent patches:
A地类需要调整面积为:Nai=Ua/M*Mi The area that needs to be adjusted for land type A is: N ai =U a /M*M i
B地类需要调整面积为:Nbi=Ub/M*Mi The area that needs to be adjusted for land type B is: N bi =U b /M*M i
C地类可增加调整的最大面积为:Nc1i=Uc1/N*Mi The maximum area that can be increased and adjusted for type C is: N c1i =U c1 /N*M i
C地类可降低调整的最大面积为:Nc2i=Uc2/N*Mi The maximum area that can be reduced and adjusted for type C is: N c2i =U c2 /N*M i
5)面积调整5) Area adjustment
若小图斑相邻图斑中,只存在A、B、C地类中的任意两种地类,则两个地类调整的面积值均为Min{Nai,Nbi,Nci};If there are only any two types of ground types A, B, and C in the adjacent patches of the small patch, then the area value adjusted by the two ground types is Min{N ai , N bi , N ci };
若三种地类均存在,则A、B、C地类调整的面积如下表所示:If all three land types exist, the adjusted areas of land types A, B, and C are shown in the following table:
表4Table 4
其中,当相邻图斑有两个或以上A地类时(如地类A1,地类A2),则A1需要调整的面积为局部A地类调整面积与A1地类的面积调整阈值占比的乘积。B地类、C地类处理相同。Among them, when there are two or more A ground types (such as ground type A 1 , ground type A 2 ) in the adjacent patches, the area that needs to be adjusted in A 1 is the area of local ground type A adjustment and the area of ground type A 1 Adjust the product of the threshold proportions. Type B and Type C are treated the same.
6)重复迭代调整6) Repeat iterative adjustment
对每一个小图斑均按照步骤5进行调整,将调整后面积与预分面积进行相应的相加或相减,得到调整后的相邻图斑剖分小图斑的面积 Areai。通过全局面积统计判断调整后面积是否在阈值范围内,不断迭代调整,直到所有地类满足条件。其中本发明算法将最大迭代次数设置为 10000次,即最大可执行10000次迭代过程。Each small spot is adjusted according to
S304,判断各个变化率是否均低于第二指定阈值,若否,则执行 S305,若是,则执行S306。S304, determine whether each rate of change is lower than the second specified threshold, if not, execute S305, and if so, execute S306.
S305,当所述各个变化率中存在高于第二指定阈值的变化率时,则记录所有地类与所述第二指定阈值的差值,并依据面积平衡迭代算法对面积预分结果进行迭代处理至所述各个变化率均低于所述第二指定阈值。S305, when there is a rate of change higher than the second specified threshold in each of the rates of change, record the difference between all land types and the second specified threshold, and iterate the area pre-segmentation result according to the area balance iterative algorithm Process until each of the rates of change is below the second specified threshold.
S306,当所述各个变化率均低于第二指定阈值时,确定每个所述小图斑的内部地骨架线,并根据所述骨架线将各个小图斑分别分裂成多个碎片;并将所述碎片兼并至与邻近的图斑,以使得所述小图斑融解,以形成兼并之后的全铺盖图斑数据。S306, when the respective change rates are all lower than the second specified threshold, determine the internal skeleton line of each of the small image spots, and split each small image spot into a plurality of fragments according to the skeleton lines; and The fragments are merged into adjacent patches so that the small patches are melted to form the merged full overlay patch data.
所述S306,包括:The S306 includes:
D1、根据Delaunay三角网法确定对所述小图斑形成剖分的邻近图斑;D1, according to the Delaunay triangulation method, determine the adjacent image spots that form a subdivision for the small image spots;
D2、分别对所述小图斑和所述邻近图斑进行两两计算,以获取剖分点;其中,所述获取剖分点的计算公式为:D2. Perform two-by-two calculations on the small image spots and the adjacent image spots, respectively, to obtain subdivision points; wherein, the calculation formula for obtaining the subdivision points is:
其中,a表示所述小图斑,b表示一邻近图斑,c表示另一邻近图斑,(xb,yb)、(xc,yc),分别表示三角网中边的两端点坐标,其中xb和xc表示横坐标,yb和yc表示纵坐标;Area(a,b)、Area(a,c)分别为邻近图斑b、c对小图斑a的剖分面积的值。Among them, a represents the small patch, b represents a neighboring patch, c represents another neighboring patch, (x b , y b ), (x c , y c ), respectively represent the two ends of the edge in the triangular network Coordinates, where x b and x c represent the abscissa, and y b and y c represent the ordinate; Area(a,b), Area(a,c) are the divisions of adjacent patches b and c to small patch a, respectively area value.
D3、根据所述剖分点生成分裂线,并据此将所述小图斑分裂成多个碎片,并将所述碎片兼并至与其邻近的图斑,以使得所述小图斑融解,以形成兼并之后的全铺盖图斑数据。D3. Generate a split line according to the split point, and split the small patch into a plurality of fragments accordingly, and merge the fragments into adjacent patches, so that the small patches are melted to The full-coverage patch data after the merger is formed.
实施例二
进一步的,为了更好的说明本申请的技术方案,申请人还进行了如下实验,依托中国测绘科学研究院研制的WJ-III地图工作站,嵌入本发明基于约束Delaunay三角网提出的兼顾局部最优与整体面积平衡的小图斑融解方法,利用OpenMP在C++环境下实现地理国情数据的小图斑融解操作,对本发明方法进行合理性和有效性验证。实验以广东省某县地理国情全铺盖土地利用数据为例,原始数据比例尺为1:1万,需要融解的小图斑2604个。地物类型以林地、耕地、水体等自然地物为主,分别占比49.6%、26.2%与7.0%,园地、草地、房屋建筑、构筑物等地物分散,荒漠与裸露地表数量稀少,仅占比0.01%。其中,化简目标比例尺为1:10万。本实验环境为Microsoft Win7 64位操作系统,CPU为 Intel Core I7-4790,单机8核8线程,主频3.2GHz,内存16GB,固态硬盘1024GB。Further, in order to better illustrate the technical solution of the present application, the applicant has also carried out the following experiments, relying on the WJ-III map workstation developed by the Chinese Academy of Surveying and Mapping Sciences, and embedding the local optimum proposed by the present invention based on the constrained Delaunay triangulation. The small graph spot melting method balanced with the overall area uses OpenMP to realize the small graph spot melting operation of geographic national conditions data in the C++ environment, and the rationality and effectiveness of the method of the present invention are verified. The experiment takes the full-coverage land use data of a county in Guangdong Province as an example. The scale of the original data is 1:10,000, and there are 2604 small patches that need to be melted. The types of land features are mainly natural features such as forest land, cultivated land, and water bodies, accounting for 49.6%, 26.2% and 7.0% respectively. Land features such as gardens, grasslands, houses and structures are scattered, and deserts and bare surfaces are scarce, only occupying than 0.01%. Among them, the simplified target scale is 1:100,000. The experimental environment is Microsoft Win7 64-bit operating system, the CPU is Intel Core I7-4790, a single machine with 8 cores and 8 threads, the main frequency is 3.2GHz, the memory is 16GB, and the solid-state drive is 1024GB.
依据地理国情普查成果图技术规定要求,若成图比例尺大于1:50 万,则各个地类最小上图面积如表2所示,本发明以此作为小图斑的判定标准,其他比例尺小图斑的判定标准参考表2进行微调。According to the requirements of the technical regulations on the results of the census of geographical conditions and national conditions, if the scale of the map is greater than 1:500,000, the minimum area of the top map for each land type is shown in Table 2. The present invention uses this as the judgment standard for small map spots, and other scales are small maps. Refer to Table 2 for fine-tuning of the criteria for determining the spot.
表2最小上图面积表Table 2 Minimum area of the upper image
(1)优越性验证(1) Superiority verification
本发明方法首先利用局部最优约束对试验区内的小图斑进行空间预分,并对预分后的面积进行统计,各地类空间预分前后的面积变化如表3所示。The method of the present invention firstly uses the local optimal constraint to perform spatial pre-segmentation on the small spots in the test area, and counts the pre-segmented areas.
表3面积预分前后一级地类图斑面积占比统计(单位:km2)Table 3. Statistics on the area proportion of first-level land types before and after area pre-segmentation (unit: km 2 )
由于缺少小图斑融解前后地类面积变化范围标准,本实验根据相关文献(刘耀林等,2009)及本试验区数据特点,将小图斑融解前后各地类面积的变化率阈值设置为5%。由表3可知,仅利用局部最优方法进行小图斑融解,草地、人工构筑物土地类型的面积变化率均超过了阈值 5%。表明单纯利用局部最优算法不能保证整体地类面积的平衡。根据本发明算法,需对预分后的面积进行迭代调整。Due to the lack of the standard for the change range of the area before and after the melting of the small patch, this experiment set the threshold of the change rate of the area of each type before and after the melting of the small patch to 5% according to the relevant literature (Liu Yaolin et al., 2009) and the data characteristics of the experimental area. It can be seen from Table 3 that only the local optimal method is used to dissolve small patches, and the area change rate of the land types of grassland and artificial structures exceeds the threshold of 5%. It shows that simply using the local optimal algorithm cannot guarantee the balance of the overall land type area. According to the algorithm of the present invention, iterative adjustment of the pre-divided area is required.
实验经过108次迭代调整后,保证了小图斑融解后所有地类的面积变化率小于阈值。本发明统计了算法在第10、20、30、40、50、60、70、 80、90、100及108次迭代时,各地类的变化率调整数值,并对每一次迭代调整后各个地类的面积变化率进行统计分析,结果分别如图4、图 5所示。After 108 iterative adjustments in the experiment, it is ensured that the area change rate of all land types is less than the threshold after the small patches are melted. The present invention counts the adjustment values of the rate of change of each category at the 10th, 20th, 30th, 40th, 50th, 60th, 70th, 80th, 90th, 100th and 108th iterations of the algorithm, and adjusts the value of each category after each iteration adjustment. Statistical analysis was carried out on the area change rate of , and the results are shown in Figure 4 and Figure 5, respectively.
图4为本发明实施例所作各地类面积变化率的调整值统计示意图。FIG. 4 is a schematic diagram showing the statistics of the adjustment value of the area change rate of each category according to the embodiment of the present invention.
图5为本发明实施例所作顾及全局最优的小图斑融解面积迭代调整示意图。FIG. 5 is a schematic diagram of iterative adjustment of the small patch melting area that takes into account the global optimum and is performed according to an embodiment of the present invention.
由图4和图5可知,随着迭代次数的增加,各地类调整的面积逐渐降低。对于每一次迭代调整,草地和人工构筑物的调整值均为正值,负值出现最多的为耕地和林地,其次为房屋建筑、堆掘地,但由于降低幅度较小,在图中显示不明显。各地类每一次迭代都是一个向阈值收敛的过程,直至调整结束后,所有地类的面积变化率均小于设定阈值。充分证明了本发明方法的可行性以及对保证全局地类面积平衡的优越性。结合方法的可靠性验证可以发现,本发明方法在保证局部空间及语义特征的同时,又能够维持全局地类面积的平衡,证明了方法的可行性。It can be seen from Figure 4 and Figure 5 that as the number of iterations increases, the area adjusted by each category gradually decreases. For each iterative adjustment, the adjustment values of grassland and artificial structures are all positive values, and the most negative values are cultivated land and forest land, followed by house construction and piled digging land, but due to the small reduction, it is not obvious in the figure . Each iteration of each category is a process of converging to the threshold. After the adjustment, the area change rate of all categories is less than the set threshold. It fully proves the feasibility of the method of the present invention and the superiority of ensuring the balance of the global land type area. Combining with the reliability verification of the method, it can be found that the method of the present invention can maintain the balance of the global land type area while ensuring the local space and semantic features, which proves the feasibility of the method.
(2)可靠性验证(2) Reliability verification
为验证本发明方法的可靠性,即融解结果仍能保持局部最优,在实验区内选取实际小图斑,将本发明调整后融解结果与根据局部最优初步预分的融解结果进行对比。其中选取面积变化率超出阈值的草地与构筑物作为测试地类。In order to verify the reliability of the method of the present invention, that is, the melting results can still maintain the local optimum, the actual small spots were selected in the experimental area, and the adjusted melting results of the present invention were compared with the melting results preliminarily pre-divided according to the local optimum. Among them, grassland and structures whose area change rate exceeds the threshold are selected as test land types.
分别以xi、yi表示草地或构筑物图斑初始剖分面积与利用本发明算法调整后剖分面积,计算二者的差值(xi-yi),即各有效图斑的调整面积,其中,i表示地类所有调整的图斑个数,各图斑调整面积统计曲线结果如图6所示(由于调整的图斑个数较多,本发明仅选取了调整变化面积位于前100的图斑进行统计)。Respectively use x i and y i to represent the initial subdivision area of the grass or structure spot and the subdivided area after adjustment by the algorithm of the present invention, and calculate the difference (x i -y i ) between the two, that is, the adjustment area of each effective spot , where i represents the number of all the adjusted patches of the land type, and the statistical curve results of the adjusted area of each patch are shown in Figure 6 (due to the large number of adjusted patches, the present invention only selects the adjusted area in the top 100 statistics of the plot).
图6为本发明实施例所作草地与人工构筑物图斑调整面积统计示意图。FIG. 6 is a schematic diagram showing the area statistics of the patch adjustment of grassland and artificial structures according to an embodiment of the present invention.
由图6可以看出,草地图斑调整面积最大值为283.3m2,构筑物图斑调整面积最大为112.6m2,调整后面积相比初始预分无明显变化。在草地与构筑物地类调整图斑中,分别选取调整面积最大的前三个图斑 (椭圆内),对其调整后融解结果与初始剖分结果进行对比,如图6所示。其中图7矩形框A表示利用本发明算法对土地利用铺盖数据小图斑的融解结果,矩形框B1、B2与B3表示草地调整面积较大的三个图斑,矩形框C1、C2与C3表示人工构筑物调整面积较大的三个图斑;其中实线显示了利用本发明算法小图斑的融解分裂线,虚线表示只利用局部最优提取的小图斑融解分裂线。It can be seen from Figure 6 that the maximum adjusted area of grass patch is 283.3m 2 , and the maximum adjusted area of structure patch is 112.6m 2 , and the adjusted area has no significant change compared with the initial pre-division. In the adjustment patches of grass and structures, the first three patches (within the ellipse) with the largest adjustment area were selected respectively, and the adjusted melting results were compared with the initial subdivision results, as shown in Figure 6. The rectangular box A in Fig. 7 represents the result of dissolving the small patches of land use cover data by using the algorithm of the present invention, the rectangular boxes B1, B2 and B3 represent the three patches with larger grass adjustment areas, and the rectangular boxes C1, C2 and C3 represent the The artificial structures adjust the three patches with larger areas; the solid line shows the melting split line of the small patch using the algorithm of the present invention, and the dotted line represents the melting split line using only the locally optimal extraction of the patch.
图7为本发明实施例所作土地利用铺盖数据小图斑融解结果示意图。FIG. 7 is a schematic diagram showing a result of dissolving a small patch of land use pavement data according to an embodiment of the present invention.
图8为本发明实施例所作小图斑向周边地类图斑融解面积对比示意图。FIG. 8 is a schematic diagram showing the comparison of the melting area of the small map spot to the surrounding land type map spot according to the embodiment of the present invention.
对B1、B2、B3及C1、C2、C3矩形框中小图斑向周边各地类图斑的初始融解面积与调整后向个地类图斑的融解面积进行对比统计,结果如图8所示,其中点状填充的柱状表示该小图斑根据局部最优向周边地类图斑的初始剖分面积,空白填充的柱表示了根据本发明方法调整后的剖分面积。The initial melting area of the small patches in the rectangular boxes of B1, B2, B3 and C1, C2, and C3 to the surrounding types of patches is compared with the melting area of each type of patches after adjustment. The results are shown in Figure 8. The dot-filled column represents the initial subdivision area of the small patch to the surrounding terrain based on the local optimum, and the blank-filled column represents the subdivision area adjusted according to the method of the present invention.
由图7和8可知,利用本发明方法迭代调整后的小图斑融解结果与只考虑局部最优得到的结果相比,无论从空间特征还是具体的面积差值来看,周围图斑对小图斑的剖分能力相差不大,两种结果在局部特征的保持了较高的一致性,充分证明了本发明方法仍能保持局部空间邻近及语义距离特征的可靠性。It can be seen from Figures 7 and 8 that, compared with the results obtained by considering only the local optimum, the fusion results of the small patches after iterative adjustment using the method of the present invention, no matter from the perspective of spatial features or specific area differences, the surrounding patches are relatively small. The segmentation capabilities of the patches are not much different, and the two results maintain a high consistency in the local features, which fully proves that the method of the present invention can still maintain the reliability of the local spatial proximity and semantic distance features.
综上所述,本申请提出的图斑融解方法,融解过程中在顾及图斑局部空间格局最优的同时,又能维持融解前后整体地类面积的平衡。有利于更好的保持图斑兼并前后的地类的一致性。To sum up, the patch melting method proposed in the present application can maintain the balance of the overall land type area before and after melting while taking into account the optimal local spatial pattern of the patch during the melting process. It is beneficial to better maintain the consistency of the land types before and after the merger of the map patches.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the present invention. within the scope of protection.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910313763.4A CN110162650B (en) | 2019-04-18 | 2019-04-18 | Small image spot melting method considering local optimization and overall area balance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910313763.4A CN110162650B (en) | 2019-04-18 | 2019-04-18 | Small image spot melting method considering local optimization and overall area balance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110162650A CN110162650A (en) | 2019-08-23 |
CN110162650B true CN110162650B (en) | 2020-10-27 |
Family
ID=67639511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910313763.4A Expired - Fee Related CN110162650B (en) | 2019-04-18 | 2019-04-18 | Small image spot melting method considering local optimization and overall area balance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110162650B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111915669B (en) * | 2020-08-03 | 2024-04-05 | 北京吉威空间信息股份有限公司 | Total quantity control-based land survey linear ground object pattern spotting method |
CN112733377B (en) * | 2021-01-18 | 2023-06-23 | 胡月明 | Farmland continuous treatment optimization planning method based on computer simulation |
CN114461841B (en) * | 2022-04-14 | 2022-07-05 | 自然资源部第三地理信息制图院 | Automatic contraction and editing method for land utilization data |
CN114549685B (en) * | 2022-04-28 | 2022-07-15 | 江苏省基础地理信息中心 | Natural resource one-base map construction method based on data fusion |
CN115577058B (en) * | 2022-09-23 | 2023-08-01 | 中国测绘科学研究院 | Small image spot competition splitting method considering global and local optimal influences |
CN118314245B (en) * | 2024-06-07 | 2024-08-13 | 浙江省水利河口研究院(浙江省海洋规划设计研究院) | Optimization strategy-based map spot area adjustment method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7756342B2 (en) * | 2004-09-20 | 2010-07-13 | The United States Of America As Represented By The Secretary Of The Navy | Method for image data processing |
CN103049517A (en) * | 2012-12-17 | 2013-04-17 | 上海市房屋土地资源信息中心 | Method and system for discriminating changeable graphic spot in dynamic monitoring of present situation of land use |
CN104574449A (en) * | 2015-01-27 | 2015-04-29 | 国家测绘地理信息局大地测量数据处理中心 | DEM-based projection area calculation method |
CN107193856A (en) * | 2017-01-06 | 2017-09-22 | 中南林业科技大学 | A kind of method that vector figure spot is cut based on Android system and JTS storehouses |
CN109636870A (en) * | 2018-12-04 | 2019-04-16 | 中国测绘科学研究院 | A kind of long and narrow figure spot piecemeal melts method and device |
-
2019
- 2019-04-18 CN CN201910313763.4A patent/CN110162650B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7756342B2 (en) * | 2004-09-20 | 2010-07-13 | The United States Of America As Represented By The Secretary Of The Navy | Method for image data processing |
CN103049517A (en) * | 2012-12-17 | 2013-04-17 | 上海市房屋土地资源信息中心 | Method and system for discriminating changeable graphic spot in dynamic monitoring of present situation of land use |
CN104574449A (en) * | 2015-01-27 | 2015-04-29 | 国家测绘地理信息局大地测量数据处理中心 | DEM-based projection area calculation method |
CN107193856A (en) * | 2017-01-06 | 2017-09-22 | 中南林业科技大学 | A kind of method that vector figure spot is cut based on Android system and JTS storehouses |
CN109636870A (en) * | 2018-12-04 | 2019-04-16 | 中国测绘科学研究院 | A kind of long and narrow figure spot piecemeal melts method and device |
Non-Patent Citations (4)
Title |
---|
Construction of the Planar Partition Postal Code Map Based on Cadastral Registration;Friso Penninga等;《GeoInformatica》;20050418;第181–204页 * |
一种改进的图斑合并算法;翁杰等;《武汉大学学报 信息科学版》;20120930;第37卷(第9期);第1116-1119页 * |
一种狭长图斑分块融解方法;李成名;《武汉大学学报 信息科学版》;20181231;第43卷(第12期);第2259-2268页 * |
第二次土地资源调查数据建库中的土地利用图综合所编;艾廷华等;《武汉大学学报 信息科学版》;20020831;第35卷(第8期);第887-891页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110162650A (en) | 2019-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110162650B (en) | Small image spot melting method considering local optimization and overall area balance | |
CN102073981B (en) | Point group geographic entity selection method under the restriction of correlated elements | |
CN107292276B (en) | A vehicle point cloud clustering method and system | |
Abraham et al. | Hierarchical hub labelings for shortest paths | |
CN106777365B (en) | Project of transmitting and converting electricity environmentally sensitive areas Intelligent Recognition and Forecasting Methodology | |
CN110176018A (en) | A kind of figure spot merging method keeping structuring atural object contour feature | |
CN110363861A (en) | Three-dimensional reconstruction method of field crops based on lidar point cloud | |
CN111858810B (en) | A modeling elevation point screening method for road DEM construction | |
CN105118090A (en) | Adaptive point-cloud filtering method for complex terrain structure | |
CN106709989B (en) | Geographic Ontology Modeling and Semantic Reasoning Based on Object-Oriented Image Features | |
CN109636870A (en) | A kind of long and narrow figure spot piecemeal melts method and device | |
CN105893703B (en) | A polygon-based method for selecting main roads in urban road network | |
CN115205690B (en) | Method and device for extracting street tree in monomer mode based on MLS point cloud data | |
CN113205042B (en) | Method and system for identifying multi-level boundaries of city | |
CN113468286A (en) | Three-dimensional pyramid construction method based on triangular patch number division | |
CN101853526A (en) | An Adaptive Density Simplified Processing Method for Inhomogeneous Point Clouds | |
Chang et al. | Applying a modified VIKOR method to classify land subdivisions according to watershed vulnerability | |
CN115049164A (en) | Ecological network optimization method for coupling social network model and carbon offset | |
CN117036939A (en) | Urban functional area identification method based on multi-source data collaboration of graph rolling network | |
CN105894553B (en) | A kind of Street Space form layout method based on grid selection | |
CN106910218A (en) | Earth's surface surface area computational methods based on big region grid digital elevation model | |
CN115577058B (en) | Small image spot competition splitting method considering global and local optimal influences | |
CN116579518A (en) | A method for identifying target areas for water ecological space protection and restoration | |
Li et al. | Building boundaries extaction from point clouds using dual-threshold Alpha Shapes | |
AU2021102429A4 (en) | Method for selecting roads in a small-mesh accumulation area |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201027 |
|
CF01 | Termination of patent right due to non-payment of annual fee |