CN111666858A - Forest remote sensing image registration method and system based on single tree recognition - Google Patents

Forest remote sensing image registration method and system based on single tree recognition Download PDF

Info

Publication number
CN111666858A
CN111666858A CN202010478151.3A CN202010478151A CN111666858A CN 111666858 A CN111666858 A CN 111666858A CN 202010478151 A CN202010478151 A CN 202010478151A CN 111666858 A CN111666858 A CN 111666858A
Authority
CN
China
Prior art keywords
image
single tree
registered
local
key point
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.)
Pending
Application number
CN202010478151.3A
Other languages
Chinese (zh)
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.)
Tianjin Cas Uav Application Research Institute
Institute of Geographic Sciences and Natural Resources of CAS
Original Assignee
Tianjin Cas Uav Application Research Institute
Institute of Geographic Sciences and Natural Resources of CAS
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 Tianjin Cas Uav Application Research Institute, Institute of Geographic Sciences and Natural Resources of CAS filed Critical Tianjin Cas Uav Application Research Institute
Priority to CN202010478151.3A priority Critical patent/CN111666858A/en
Publication of CN111666858A publication Critical patent/CN111666858A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • G06V20/13Satellite images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/20Image enhancement or restoration using local operators
    • G06T5/30Erosion or dilatation, e.g. thinning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/10Terrestrial scenes
    • G06V20/188Vegetation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10032Satellite or aerial image; Remote sensing

Landscapes

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

Abstract

本发明公开了基于单木识别的森林遥感图像配准方法及系统,涉及图像处理技术领域。该方法包括:根据局部最大值法分别对基准图像和待配准图像中的单木进行识别和定位;计算基准图像中识别出的第i个单木的局部描述子,并计算待配准图像中识别出的第j个单木的局部描述子;以单木的特征向量的欧式距离作为相似性判定标准,将第j个单木的局部描述子与第i个单木的局部描述子进行相似性判定,得到待配准图像的配准结果。本发明实现了对森林影像等自相似性较高图像的配准,能够得到可靠性更高的配准结果。

Figure 202010478151

The invention discloses a forest remote sensing image registration method and system based on single tree identification, and relates to the technical field of image processing. The method includes: recognizing and locating the single tree in the reference image and the image to be registered according to the local maximum method; calculating the local descriptor of the i-th single tree identified in the reference image, and calculating the image to be registered The local descriptor of the jth single tree identified in The similarity is determined to obtain the registration result of the image to be registered. The invention realizes the registration of images with high self-similarity such as forest images, and can obtain a registration result with higher reliability.

Figure 202010478151

Description

基于单木识别的森林遥感图像配准方法及系统Forest remote sensing image registration method and system based on single tree recognition

技术领域technical field

本发明涉及图像处理技术领域,尤其涉及一种基于单木识别的森林遥感图像配准方法及系统。The invention relates to the technical field of image processing, in particular to a forest remote sensing image registration method and system based on single tree identification.

背景技术Background technique

目前,随着无人机技术的迅速发展,无人机在林业领域广泛应用于森林的实时监控。由于无人机获取的遥感数据需求人力少、操作简单、成本低,因此用于辅助地面的林地调查,可以对森林进行实时监控,极大地改善了传统地面调查耗时费力且大量人员的投入的局面,并且可以实现对森林生物量探测估计的研究以及可连续进行林区的变化检测。At present, with the rapid development of UAV technology, UAVs are widely used in real-time monitoring of forests in the field of forestry. Since the remote sensing data obtained by UAV requires less manpower, simple operation and low cost, it can be used to assist the forest land survey on the ground, and can monitor the forest in real time, which greatly improves the time-consuming and labor-intensive traditional ground survey and the input of a large number of personnel. It can realize the research of forest biomass detection and estimation and the continuous detection of forest area changes.

然而,对于无人机采集到的森林影像首先需要进行配准,传统的影像如建筑、道路等目标,具有鲜明的特征,因此实现较为简单。而对于森林图像而言,植被区域占图像面积的大多数,植被图像属于自然场景图像,具有自相似性,因此进行特征点配准时容易出现错误,传统的配准特征点配准方法对林区影像不具有普适性,计算得到的配准点对的正确性较低。However, the forest images collected by drones need to be registered first. Traditional images such as buildings, roads and other targets have distinct characteristics, so the realization is relatively simple. For forest images, vegetation areas account for the majority of the image area. Vegetation images belong to natural scene images and have self-similarity. Therefore, errors are prone to occur when registering feature points. The image is not universal, and the accuracy of the calculated registration point pair is low.

发明内容SUMMARY OF THE INVENTION

本发明所要解决的技术问题是针对现有技术的不足,提供一种基于单木识别的森林遥感图像配准方法及系统。The technical problem to be solved by the present invention is to provide a forest remote sensing image registration method and system based on single tree identification, aiming at the deficiencies of the prior art.

本发明解决上述技术问题的技术方案如下:The technical scheme that the present invention solves the above-mentioned technical problems is as follows:

一种基于单木识别的森林遥感图像配准方法,包括:A forest remote sensing image registration method based on single tree identification, comprising:

获取目标森林的基准图像和待配准图像;Obtain the benchmark image and the image to be registered of the target forest;

根据局部最大值法分别对所述基准图像和所述待配准图像中的单木进行识别和定位;Identify and locate the single tree in the reference image and the to-be-registered image respectively according to the local maximum method;

计算所述基准图像中识别出的第i个单木的局部描述子,并计算所述待配准图像中识别出的第j个单木的局部描述子;Calculate the local descriptor of the ith single tree identified in the reference image, and calculate the local descriptor of the jth single tree identified in the to-be-registered image;

以单木的特征向量的欧式距离作为相似性判定标准,将所述第j个单木的局部描述子与所述第i个单木的局部描述子进行相似性判定,得到所述待配准图像的配准结果;Using the Euclidean distance of the feature vector of a single tree as a similarity determination criterion, the local descriptor of the jth single tree and the local descriptor of the ith single tree are used to determine the similarity, and the to-be-registered tree is obtained. Image registration result;

其中,i=1,2,……,I,I为所述基准图像中识别出的单木的数量,j=1,2,……,J,J为所述待配准图像中识别出的单木的数量。Wherein, i=1,2,...,I,I is the number of single trees identified in the reference image, j=1,2,...,J,J is the number of trees identified in the image to be registered the number of single wood.

本发明的有益效果是:本发明提供的森林遥感图像配准方法,通过局部最大值法对森林中的单木进行定位识别,再依据利用单木位置点邻域像素的梯度方向分布特性为每个点指定方向参数,使算子具备旋转不变性,再根据单木位置点的特征描述信息生成描述子,再根据采用单木位置点特征向量的欧式距离来作为两幅图像中关键点的相似性判定度量,实现了对森林影像等自相似性较高图像的配准,能够得到可靠性更高的配准结果。The beneficial effects of the present invention are as follows: the forest remote sensing image registration method provided by the present invention locates and identifies a single tree in the forest by using the local maximum method, and then uses the gradient direction distribution characteristics of the pixels in the neighborhood of the single tree position to be each Each point specifies the direction parameter, so that the operator has rotation invariance, and then generates a descriptor according to the feature description information of the single tree position point, and then uses the Euclidean distance of the single tree position point feature vector as the similarity of the key points in the two images. It realizes the registration of images with high self-similarity such as forest images, and can obtain registration results with higher reliability.

本发明解决上述技术问题的另一种技术方案如下:Another technical scheme that the present invention solves the above-mentioned technical problem is as follows:

一种基于单木识别的森林遥感图像配准系统,包括:A forest remote sensing image registration system based on single tree identification, comprising:

图像获取单元,用于获取目标森林的基准图像和待配准图像;an image acquisition unit, used for acquiring the reference image of the target forest and the image to be registered;

单木识别单元,用于根据局部最大值法分别对所述基准图像和所述待配准图像中的单木进行识别和定位;A single tree identification unit, used to identify and locate the single tree in the reference image and the to-be-registered image respectively according to the local maximum method;

描述子计算单元,用于计算所述基准图像中识别出的第i个单木的局部描述子,并计算所述待配准图像中识别出的第j个单木的局部描述子;a descriptor computing unit, used to calculate the local descriptor of the i-th single tree identified in the reference image, and calculate the local descriptor of the j-th single tree identified in the to-be-registered image;

相似性判断单元,用于以单木的特征向量的欧式距离作为相似性判定标准,将所述第j个单木的局部描述子与所述第i个单木的局部描述子进行相似性判定,得到所述待配准图像的配准结果;The similarity judgment unit is used to use the Euclidean distance of the feature vector of the single tree as the similarity judgment standard, and perform similarity judgment between the local descriptor of the jth single tree and the local descriptor of the ith single tree , to obtain the registration result of the to-be-registered image;

其中,i=1,2,……,I,I为所述基准图像中识别出的单木的数量,j=1,2,……,J,J为所述待配准图像中识别出的单木的数量。Wherein, i=1,2,...,I,I is the number of single trees identified in the reference image, j=1,2,...,J,J is the number of trees identified in the image to be registered the number of single wood.

本发明附加的方面的优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明实践了解到。Advantages of additional aspects of the invention will be set forth, in part, from the following description, and in part will become apparent from the following description, or may be learned by practice of the invention.

附图说明Description of drawings

图1为本发明森林遥感图像配准方法的实施例提供的流程示意图;1 is a schematic flowchart of an embodiment of a forest remote sensing image registration method according to the present invention;

图2为本发明森林遥感图像配准方法的实施例提供的森林遥感图像示意图;2 is a schematic diagram of a forest remote sensing image provided by an embodiment of a forest remote sensing image registration method of the present invention;

图3为本发明森林遥感图像配准方法的实施例提供的示例性的局部极大图;3 is an exemplary local maximal graph provided by an embodiment of the forest remote sensing image registration method of the present invention;

图4为本发明森林遥感图像配准方法的实施例提供的关键点8*8窗口示意图;4 is a schematic diagram of a key point 8*8 window provided by an embodiment of the forest remote sensing image registration method of the present invention;

图5为本发明森林遥感图像配准方法的实施例提供的加权后的窗口示意图;5 is a schematic diagram of a weighted window provided by an embodiment of the forest remote sensing image registration method of the present invention;

图6为本发明森林遥感图像配准系统的实施例提供的结构框架图。FIG. 6 is a structural frame diagram provided by an embodiment of the forest remote sensing image registration system of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的原理和特征进行描述,所举实施例只用于解释本发明,并非用于限定本发明的范围。The principles and features of the present invention will be described below with reference to the accompanying drawings. The embodiments are only used to explain the present invention, but not to limit the scope of the present invention.

如图1所示,为本发明森林遥感图像配准方法的实施例提供的流程示意图,该森林遥感图像配准方法包括:As shown in FIG. 1, it is a schematic flowchart of an embodiment of a forest remote sensing image registration method according to the present invention, and the forest remote sensing image registration method includes:

S1,获取目标森林的基准图像和待配准图像;S1, obtain the reference image of the target forest and the image to be registered;

需要说明的是,目标森林的基准图像和待配准图像可以由无人机采集,也可以由其他飞行器采集,无人机采集到的可以是图片,也可以是影像,对于图片,直接选择其中一张即可,对于影像,可以从影像序列中选择清晰度符合要求的一帧图像。It should be noted that the reference image and the image to be registered of the target forest can be collected by drones or other aircraft. The drones can collect pictures or images. For pictures, directly select one of them. One image is sufficient. For images, you can select a frame of image with the required definition from the image sequence.

S2,根据局部最大值法分别对基准图像和待配准图像中的单木进行识别和定位;S2, according to the local maximum method, identify and locate the single tree in the reference image and the image to be registered, respectively;

需要说明的是,本领域技术人员可以根据局部最大值法的具体实现方法。It should be noted that those skilled in the art can use the specific implementation method of the local maximum method.

如图2所示,提供了一种示例性的森林遥感图像示意图,通过图像处理技术实现,通过对原始图像进行基于开闭的重建操作,可以实现局部最大值处理,图中可以看到密集排布的单木的树冠,由于树冠之间存在空隙,因此可以通过局部最大值法对基准图像和待配准图像进行图像处理,从而识别出每个单木及其位置。As shown in Figure 2, a schematic diagram of an exemplary forest remote sensing image is provided, which is realized by image processing technology. By performing the reconstruction operation based on opening and closing on the original image, local maximum processing can be realized. For the canopy of a single tree, because there are gaps between the crowns, the reference image and the image to be registered can be processed by the local maximum method to identify each single tree and its position.

又例如,对于图像较小或图像数量较少的场景,还可以预先设置搜索区域,通过滑动窗口便利整个图像,从而找出局部最大的区域,确定为单木。For another example, for a scene with a small image or a small number of images, a search area can also be preset, and the entire image can be facilitated by sliding a window, so as to find the local largest area and determine it as a single tree.

例如,如图2所示,单木与背景之间的像素值不同,假设其单木的单边大小通常在10~15像素之间,那么可以将搜索区域的大小设置为15*15,将搜索区域内全部像素的平均值作为比较的依据,然后通过滑动窗口遍历整个图像,就能够识别出像素值最大的搜索区域,作为单木。For example, as shown in Figure 2, the pixel values between the single tree and the background are different. Assuming that the single side size of the single tree is usually between 10 and 15 pixels, the size of the search area can be set to 15*15, and the size of the search area can be set to 15*15. The average value of all pixels in the search area is used as the basis for comparison, and then the entire image is traversed through the sliding window, and the search area with the largest pixel value can be identified as a single tree.

S3,计算基准图像中识别出的第i个单木的局部描述子,并计算待配准图像中识别出的第j个单木的局部描述子;S3, calculate the local descriptor of the i-th single tree identified in the reference image, and calculate the local descriptor of the j-th single tree identified in the image to be registered;

例如,可以将单木的几何中心点作为关键点,通过SIFT算法生成关键点的描述子,作为单木的局部描述子。For example, the geometric center point of the single tree can be used as the key point, and the descriptor of the key point can be generated by the SIFT algorithm as the local descriptor of the single tree.

S4,以单木的特征向量的欧式距离作为相似性判定标准,将第j个单木的局部描述子与第i个单木的局部描述子进行相似性判定,得到待配准图像的配准结果;S4, using the Euclidean distance of the feature vector of the single tree as the similarity determination standard, the local descriptor of the jth single tree and the local descriptor of the ith single tree are used to determine the similarity, and the registration of the image to be registered is obtained. result;

其中,i=1,2,……,I,I为基准图像中识别出的单木的数量,j=1,2,……,J,J为待配准图像中识别出的单木的数量。Among them, i=1,2,...,I,I is the number of single trees identified in the reference image, j=1,2,...,J,J is the number of single trees identified in the image to be registered quantity.

本实施例提供的森林遥感图像配准方法,通过局部最大值法对森林中的单木进行定位识别,再依据利用单木位置点邻域像素的梯度方向分布特性为每个点指定方向参数,使算子具备旋转不变性,再根据单木位置点的特征描述信息生成描述子,再根据采用单木位置点特征向量的欧式距离来作为两幅图像中关键点的相似性判定度量,实现了对森林影像等自相似性较高图像的配准,能够得到可靠性更高的配准结果。In the forest remote sensing image registration method provided by this embodiment, a single tree in the forest is located and identified by the local maximum method, and then a direction parameter is specified for each point according to the gradient direction distribution characteristics of the pixels in the neighborhood of the single tree position point, Make the operator have rotation invariance, and then generate the descriptor according to the feature description information of the single tree position point, and then use the Euclidean distance of the feature vector of the single tree position point as the similarity judgment measure of the key points in the two images. The registration of images with high self-similarity such as forest images can obtain registration results with higher reliability.

可选地,在一些可能的实施方式中,将第j个单木的局部描述子与第i个单木的局部描述子进行相似性判定之后,还包括:Optionally, in some possible embodiments, after performing similarity determination between the local descriptor of the jth single tree and the local descriptor of the ith single tree, it also includes:

通过最小二乘法和RANSAC算法剔除在判定过程中匹配错误的结果。Through the least squares method and the RANSAC algorithm, the results of matching errors in the judgment process are eliminated.

对于相似性判定而言,是将待配准图像中的单木位置点与基准图像中的单木位置点进行匹配,但是由于多种因素匹配可能存在误差,因此,可以通过最小二乘法对匹配的两个参数进行拟合,并通过RANSAC算法剔除掉不符合预期的匹配结果,从而能够得到更为准确的匹配结果,进而提高配准的准确度。For similarity determination, the single tree position point in the image to be registered is matched with the single tree position point in the reference image, but there may be errors in the matching due to various factors. Therefore, the least squares method can be used for matching. The two parameters are fitted, and the matching results that do not meet the expectations are eliminated through the RANSAC algorithm, so that more accurate matching results can be obtained, thereby improving the accuracy of registration.

可选地,在一些可能的实施方式中,根据局部最大值法分别对基准图像和待配准图像中的单木进行识别和定位,具体包括:Optionally, in some possible implementations, the single tree in the reference image and the to-be-registered image are respectively identified and positioned according to the local maximum method, specifically including:

将基准图像转换为灰度图像,进行基于开闭的重建操作,得到局部极大图像,对局部极大图像进行腐蚀操作处理,将腐蚀操作处理后的局部极大图像叠加到基准图像中,对基准图像中的单木进行识别和定位;Convert the reference image to a grayscale image, perform a reconstruction operation based on opening and closing, obtain a local maximal image, perform an erosion operation on the local maximal image, and superimpose the local maximal image processed by the erosion operation into the reference image. Identify and locate the single tree in the benchmark image;

将待配准图像转换为灰度图像,进行基于开闭的重建操作,得到局部极大图像,对局部极大图像进行腐蚀操作处理,将腐蚀操作处理后的局部极大图像叠加到待配准图像中,对待配准图像中的单木进行识别和定位。Convert the image to be registered into a grayscale image, perform a reconstruction operation based on opening and closing, obtain a local maximal image, perform an erosion operation on the local maximal image, and superimpose the local maximal image processed by the erosion operation to the to-be-registered image. In the image, identify and locate the single tree in the image to be registered.

如图3所示,提供了一种示例性的局部极大图像,对图2中提供的森林遥感图像进行基于开闭的重建操作后,得到如图3所示的局部极大图像。As shown in FIG. 3 , an exemplary local maximal image is provided. After performing the reconstruction operation based on opening and closing on the forest remote sensing image provided in FIG. 2 , the local maximal image shown in FIG. 3 is obtained.

可选地,在一些可能的实施方式中,计算基准图像中识别出的第i个单木的局部描述子,具体包括:Optionally, in some possible implementations, calculating the local descriptor of the i-th single tree identified in the reference image, specifically including:

确定基准图像中识别出的第i个单木的位置点,将位置点作为关键点;Determine the position point of the i-th single tree identified in the benchmark image, and use the position point as a key point;

对关键点周围预设大小区域进行分块,分别计算每块区域的梯度直方图;Divide the preset size area around the key point into blocks, and calculate the gradient histogram of each block separately;

根据梯度直方图生成关键点的特征向量;Generate the feature vector of key points according to the gradient histogram;

根据关键点的特征向量生成关键点的局部描述子,作为第i个单木的局部描述子。According to the feature vector of the key point, the local descriptor of the key point is generated as the local descriptor of the ith single tree.

应理解,单木的位置点可以为单木的中心点。It should be understood that the location point of the single tree can be the center point of the single tree.

通过对单木位置点周围的区域进行分块,并分别计算每块区域的梯度直方图,能够生成具有独特性的向量,这个向量是该区域图像信息的一种抽象,具有唯一性,因此可以用于唯一表征单木,从而可以根据的单木的局部描述子进行两个图像之间的单木的相似性判定。By dividing the area around the single wood location point and calculating the gradient histogram of each area separately, a unique vector can be generated. This vector is an abstraction of the image information of the area and is unique, so it can be It is used to uniquely characterize the single tree, so that the similarity of the single tree between the two images can be determined according to the local descriptor of the single tree.

可选地,在一些可能的实施方式中,计算待配准图像中识别出的第j个单木的局部描述子,具体包括:Optionally, in some possible implementations, calculating the local descriptor of the jth single tree identified in the image to be registered, specifically including:

确定待配准图像中识别出的第j个单木的位置点,将位置点作为关键点;Determine the position point of the jth single tree identified in the image to be registered, and use the position point as a key point;

对关键点周围预设大小区域进行分块,分别计算每块区域的梯度直方图;Divide the preset size area around the key point into blocks, and calculate the gradient histogram of each block separately;

根据梯度直方图生成关键点的特征向量;Generate the feature vector of key points according to the gradient histogram;

根据关键点的特征向量生成关键点的局部描述子,作为第j个单木的局部描述子。According to the feature vector of the key point, the local descriptor of the key point is generated as the local descriptor of the jth single tree.

应理解,单木的位置点可以为单木的中心点。It should be understood that the location point of the single tree can be the center point of the single tree.

通过对单木位置点周围的区域进行分块,并分别计算每块区域的梯度直方图,能够生成具有独特性的向量,这个向量是该区域图像信息的一种抽象,具有唯一性,因此可以用于唯一表征单木,从而可以根据的单木的局部描述子进行两个图像之间的单木的相似性判定。By dividing the area around the single wood location point and calculating the gradient histogram of each area separately, a unique vector can be generated. This vector is an abstraction of the image information of the area and is unique, so it can be It is used to uniquely characterize the single tree, so that the similarity of the single tree between the two images can be determined according to the local descriptor of the single tree.

应理解,基准图像中和待配准图像中生成单木的局部描述子的方法都是相同的,因此,下面以基准图像为例,对局部描述子的生成方法进行说明。It should be understood that the methods for generating local descriptors of a single tree in the reference image and in the image to be registered are the same. Therefore, the method for generating local descriptors is described below by taking the reference image as an example.

首先,为关键点计算一个方向,这个方向是后续计算的基础,利用关键点邻域像素的梯度方向分布特性为每个关键点指定方向参数,能够使算子具备旋转不变性。First, a direction is calculated for the key point, which is the basis for subsequent calculations. Using the gradient direction distribution characteristics of the pixels in the neighborhood of the key point to specify direction parameters for each key point, the operator can be rotationally invariant.

具体地,可以在以关键点为中心的邻域窗口内采样,并用直方图统计邻域像素的梯度方向。梯度直方图的范围是0~360度,例如,可以每45度一个柱,总共8个柱,或者每10度一个柱,总共36个柱,直方图的峰值则代表了该关键点处邻域梯度的主方向,即作为该关键点的方向。还可以通过高斯函数对直方图进行平滑,减少突变的影响。Specifically, it is possible to sample in a neighborhood window centered on the key point, and use a histogram to count the gradient directions of neighborhood pixels. The range of the gradient histogram is 0 to 360 degrees. For example, there can be a bar every 45 degrees, a total of 8 bars, or a bar every 10 degrees, a total of 36 bars, and the peak of the histogram represents the neighborhood at the key point The main direction of the gradient, which is the direction of the key point. The histogram can also be smoothed by a Gaussian function to reduce the impact of sudden changes.

然后,将坐标轴旋转为关键点的方向,以确保旋转不变性。例如,图4所示,以关键点为中心,选取8*8的窗口,图5为图4加权到8个主方向后的效果,图4部分的中央为当前关键点的位置,每个小格代表关键点邻域所在尺度空间的一个像素,利用公式求得每个像素的梯度幅值与梯度方向,箭头方向代表该像素的梯度方向,箭头长度代表梯度模值,然后用高斯窗口对其进行加权运算,图4中的圆圈代表高斯加权的范围,越靠近关键点的像素梯度方向信息贡献越大。然后在每4×4的小块上计算8个方向的梯度方向直方图,绘制每个梯度方向的累加值,即可形成一个种子点,如图5所示。图5中一个关键点由2×2共4个种子点组成,每个种子点有8个方向向量信息。这种邻域方向性信息联合的思想增强了算法抗噪声的能力,同时对于含有定位误差的特征匹配也提供了较好的容错性。Then, rotate the axes to the orientation of the key to ensure rotation invariance. For example, as shown in Figure 4, a window of 8*8 is selected with the key point as the center. Figure 5 shows the effect of Figure 4 weighted to 8 main directions. The center of Figure 4 is the position of the current key point. The grid represents a pixel in the scale space where the key point neighborhood is located. The gradient magnitude and gradient direction of each pixel are obtained by using the formula. The direction of the arrow represents the gradient direction of the pixel, and the length of the arrow represents the gradient modulus value. The weighting operation is performed. The circle in Figure 4 represents the range of Gaussian weighting, and the pixel gradient direction information that is closer to the key point contributes more. Then, the gradient direction histogram of 8 directions is calculated on each 4×4 small block, and the accumulated value of each gradient direction is drawn to form a seed point, as shown in Figure 5. A key point in Figure 5 consists of 2 × 2 seed points in total, and each seed point has 8 direction vector information. This idea of combining neighborhood directional information enhances the algorithm's ability to resist noise, and also provides better fault tolerance for feature matching with positioning errors.

在每个4*4的1/16象限中,通过加权梯度值加到直方图8个方向区间中的一个,计算出一个梯度方向直方图。这样就可以对每个特征形成一个4*4*8=128维的描述子,每一维都可以表示4*4个格子中一个的scale/orientation,将这个向量归一化之后,就进一步去除了光照的影响。In each 1/16 quadrant of 4*4, a gradient direction histogram is calculated by adding the weighted gradient value to one of the 8 direction intervals of the histogram. In this way, a 4*4*8=128-dimensional descriptor can be formed for each feature, and each dimension can represent the scale/orientation of one of the 4*4 grids. After normalizing this vector, it is further removed. the effect of light.

可以理解,在一些实施例中,可以包含如上述各实施例中的部分或全部可选实施方式。It can be understood that, in some embodiments, some or all of the optional implementations in the above-mentioned embodiments may be included.

如图6所示,为本发明森林遥感图像配准系统的实施例提供的结构框架图,该森林遥感图像配准系统包括:As shown in FIG. 6, it is a structural framework diagram provided for an embodiment of the forest remote sensing image registration system of the present invention, and the forest remote sensing image registration system includes:

图像获取单元1,用于获取目标森林的基准图像和待配准图像;Image acquisition unit 1, for acquiring the reference image of the target forest and the image to be registered;

单木识别单元2,用于根据局部最大值法分别对基准图像和待配准图像中的单木进行识别和定位;The single tree identification unit 2 is used to respectively identify and locate the single tree in the reference image and the image to be registered according to the local maximum method;

描述子计算单元3,用于计算基准图像中识别出的第i个单木的局部描述子,并计算待配准图像中识别出的第j个单木的局部描述子;Descriptor computing unit 3 is used to calculate the local descriptor of the ith single tree identified in the reference image, and calculate the local descriptor of the jth single tree identified in the image to be registered;

相似性判断单元4,用于以单木的特征向量的欧式距离作为相似性判定标准,将第j个单木的局部描述子与第i个单木的局部描述子进行相似性判定,得到待配准图像的配准结果;The similarity judgment unit 4 is used to use the Euclidean distance of the feature vector of the single tree as the similarity judgment standard, and perform similarity judgment between the local descriptor of the jth single tree and the local descriptor of the ith single tree, and obtain the similarity judgment. The registration result of the registered image;

其中,i=1,2,……,I,I为基准图像中识别出的单木的数量,j=1,2,……,J,J为待配准图像中识别出的单木的数量。Among them, i=1,2,...,I,I is the number of single trees identified in the reference image, j=1,2,...,J,J is the number of single trees identified in the image to be registered quantity.

本实施例提供的森林遥感图像配准系统,通过局部最大值法对森林中的单木进行定位识别,再依据利用单木位置点邻域像素的梯度方向分布特性为每个点指定方向参数,使算子具备旋转不变性,再根据单木位置点的特征描述信息生成描述子,再根据采用单木位置点特征向量的欧式距离来作为两幅图像中关键点的相似性判定度量,实现了对森林影像等自相似性较高图像的配准,能够得到可靠性更高的配准结果。The forest remote sensing image registration system provided by this embodiment locates and identifies a single tree in the forest by using the local maximum method, and then specifies a direction parameter for each point according to the gradient direction distribution characteristics of the pixels in the neighborhood of the single tree position point, Make the operator have rotation invariance, and then generate the descriptor according to the feature description information of the single tree position point, and then use the Euclidean distance of the feature vector of the single tree position point as the similarity judgment measure of the key points in the two images. The registration of images with high self-similarity such as forest images can obtain registration results with higher reliability.

可选地,在一些可能的实施方式中,相似性判断单元4还用于通过最小二乘法和RANSAC算法剔除在判定过程中匹配错误的结果。Optionally, in some possible implementations, the similarity judging unit 4 is further configured to eliminate the results of matching errors in the judging process through the least squares method and the RANSAC algorithm.

可选地,在一些可能的实施方式中,单木识别单元2具体用于将基准图像转换为灰度图像,进行基于开闭的重建操作,得到局部极大图像,对局部极大图像进行腐蚀操作处理,将腐蚀操作处理后的局部极大图像叠加到基准图像中,对基准图像中的单木进行识别和定位;Optionally, in some possible implementations, the single wood identification unit 2 is specifically used to convert the reference image into a grayscale image, perform a reconstruction operation based on opening and closing, obtain a local maximum image, and erode the local maximum image. Operation processing, superimpose the local maximum image processed by the corrosion operation into the reference image, and identify and locate the single tree in the reference image;

将待配准图像转换为灰度图像,进行基于开闭的重建操作,得到局部极大图像,对局部极大图像进行腐蚀操作处理,将腐蚀操作处理后的局部极大图像叠加到待配准图像中,对待配准图像中的单木进行识别和定位。Convert the image to be registered into a grayscale image, perform a reconstruction operation based on opening and closing, obtain a local maximal image, perform an erosion operation on the local maximal image, and superimpose the local maximal image processed by the erosion operation to the to-be-registered image. In the image, identify and locate the single tree in the image to be registered.

可选地,在一些可能的实施方式中,描述子计算单元3具体用于确定基准图像中识别出的第i个单木的位置点,将位置点作为关键点,对关键点周围预设大小区域进行分块,分别计算每块区域的梯度直方图,根据梯度直方图生成关键点的特征向量,根据关键点的特征向量生成关键点的局部描述子,作为第i个单木的局部描述子。Optionally, in some possible implementations, the descriptor computing unit 3 is specifically used to determine the position point of the i-th single tree identified in the reference image, and the position point is used as a key point, and the preset size around the key point is determined. The area is divided into blocks, the gradient histogram of each area is calculated separately, the feature vector of the key point is generated according to the gradient histogram, and the local descriptor of the key point is generated according to the feature vector of the key point, as the local descriptor of the ith single tree .

可选地,在一些可能的实施方式中,描述子计算单元3具体用于确定待配准图像中识别出的第j个单木的位置点,将位置点作为关键点,对关键点周围预设大小区域进行分块,分别计算每块区域的梯度直方图,根据梯度直方图生成关键点的特征向量,根据关键点的特征向量生成关键点的局部描述子,作为第j个单木的局部描述子。Optionally, in some possible implementations, the descriptor computing unit 3 is specifically used to determine the position point of the j-th single tree identified in the image to be registered, using the position point as a key point, and predicting the surrounding area of the key point. Set the size area to be divided into blocks, calculate the gradient histogram of each block separately, generate the feature vector of the key point according to the gradient histogram, and generate the local descriptor of the key point according to the feature vector of the key point, as the local of the jth single tree descriptor.

可以理解,在一些实施例中,可以包含如上述各实施例中的部分或全部可选实施方式。It can be understood that, in some embodiments, some or all of the optional implementations in the above-mentioned embodiments may be included.

需要说明的是,上述各实施例是与在先方法实施例对应的产品实施例,对于产品实施例中各可选实施方式的说明可以参考上述各方法实施例中的对应说明,在此不再赘述。It should be noted that the above embodiments are product embodiments corresponding to the previous method embodiments, and for the description of each optional implementation in the product embodiments, reference may be made to the corresponding descriptions in the above method embodiments, which are not repeated here. Repeat.

读者应理解,在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。The reader should understand that in the description of this specification, reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., is intended to incorporate the embodiment or example. A particular feature, structure, material, or characteristic described is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的方法实施例仅仅是示意性的,例如,步骤的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个步骤可以结合或者可以集成到另一个步骤,或一些特征可以忽略,或不执行。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the method embodiments described above are only illustrative. For example, the division of steps is only a logical function division. In actual implementation, there may be other division methods. For example, multiple steps may be combined or integrated into another A step, or some feature, can be ignored, or not performed.

以上,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or modifications within the technical scope disclosed by the present invention. Replacement, these modifications or replacements should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims (10)

1. A forest remote sensing image registration method based on single tree recognition is characterized by comprising the following steps:
acquiring a reference image and an image to be registered of a target forest;
respectively identifying and positioning the single trees in the reference image and the image to be registered according to a local maximum method;
calculating a local descriptor of the ith single tree identified in the reference image, and calculating a local descriptor of the jth single tree identified in the image to be registered;
taking the Euclidean distance of the feature vector of the single tree as a similarity judgment standard, and carrying out similarity judgment on the local descriptor of the jth single tree and the local descriptor of the ith single tree to obtain a registration result of the image to be registered;
wherein I is 1, 2, … …, I is the number of singles identified in the reference image, and J is 1, 2, … …, J is the number of singles identified in the image to be registered.
2. The forest remote sensing image registration method based on single wood recognition according to claim 1, wherein after similarity determination is carried out on the local descriptor of the jth single wood and the local descriptor of the ith single wood, the method further comprises:
and eliminating the result of matching error in the judging process by a least square method and a RANSAC algorithm.
3. The forest remote sensing image registration method based on single tree recognition according to claim 1, wherein the single trees in the reference image and the image to be registered are respectively recognized and positioned according to a local maximum method, and the method specifically comprises the following steps:
converting the reference image into a gray image, performing reconstruction operation based on opening and closing to obtain a local maximum image, performing corrosion operation processing on the local maximum image, superposing the local maximum image subjected to the corrosion operation processing to the reference image, and identifying and positioning the single wood in the reference image;
converting the image to be registered into a gray image, performing reconstruction operation based on opening and closing to obtain a local maximum image, performing corrosion operation processing on the local maximum image, superposing the local maximum image subjected to the corrosion operation processing to the image to be registered, and identifying and positioning the single wood in the image to be registered.
4. The forest remote sensing image registration method based on single tree recognition according to any one of claims 1 to 3, wherein calculating a local descriptor of the ith single tree recognized in the reference image specifically comprises:
determining a position point of the ith single tree identified in the reference image, and taking the position point as a key point;
partitioning the preset size area around the key point, and respectively calculating the gradient histogram of each block area;
generating a feature vector of the key point according to the gradient histogram;
and generating a local descriptor of the key point according to the feature vector of the key point, wherein the local descriptor is used as a local descriptor of the ith single tree.
5. The forest remote sensing image registration method based on single tree recognition according to any one of claims 1 to 3, wherein calculating a local descriptor of a jth single tree recognized in the image to be registered specifically comprises:
determining a position point of the j-th single tree identified in the image to be registered, and taking the position point as a key point;
partitioning the preset size area around the key point, and respectively calculating the gradient histogram of each block area;
generating a feature vector of the key point according to the gradient histogram;
and generating a local descriptor of the key point according to the feature vector of the key point, wherein the local descriptor is used as a local descriptor of the jth single tree.
6. A forest remote sensing image registration system based on single wood recognition is characterized by comprising:
the image acquisition unit is used for acquiring a reference image and an image to be registered of the target forest;
the single-tree identification unit is used for respectively identifying and positioning the single trees in the reference image and the image to be registered according to a local maximum method;
the descriptor calculation unit is used for calculating a local descriptor of the ith single tree identified in the reference image and calculating a local descriptor of the jth single tree identified in the image to be registered;
the similarity judgment unit is used for taking the Euclidean distance of the feature vector of the single tree as a similarity judgment standard, and carrying out similarity judgment on the local descriptor of the jth single tree and the local descriptor of the ith single tree to obtain a registration result of the image to be registered;
wherein I is 1, 2, … …, I is the number of singles identified in the reference image, and J is 1, 2, … …, J is the number of singles identified in the image to be registered.
7. The forest remote sensing image registration system based on single wood recognition according to claim 6, wherein the similarity judgment unit is further used for eliminating the result of matching error in the judgment process through a least square method and a RANSAC algorithm.
8. The forest remote sensing image registration system based on single tree recognition according to claim 6, wherein the single tree recognition unit is specifically configured to convert the reference image into a gray image, perform reconstruction operation based on opening and closing to obtain a local maximum image, perform erosion operation processing on the local maximum image, superimpose the local maximum image after the erosion operation processing on the reference image, and recognize and position the single tree in the reference image;
and converting the image to be registered into a gray image, performing reconstruction operation based on opening and closing to obtain a local maximum image, performing corrosion operation processing on the local maximum image, superposing the local maximum image subjected to the corrosion operation processing to the image to be registered, and identifying and positioning the single wood in the image to be registered.
9. The forest remote sensing image registration system based on single tree recognition according to any one of claims 6 to 8, wherein the descriptor calculation unit is specifically configured to determine a position point of an ith single tree recognized in the reference image, use the position point as a key point, block regions of a preset size around the key point, respectively calculate a gradient histogram of each region, generate a feature vector of the key point according to the gradient histogram, and generate a local descriptor of the key point according to the feature vector of the key point, which is used as a local descriptor of the ith single tree.
10. The forest remote sensing image registration system based on single tree recognition according to any one of claims 6 to 8, wherein the descriptor calculation unit is specifically configured to determine a position point of a jth single tree recognized in the image to be registered, use the position point as a key point, block regions of a preset size around the key point, respectively calculate a gradient histogram of each region, generate a feature vector of the key point according to the gradient histogram, and generate a local descriptor of the key point according to the feature vector of the key point, as the local descriptor of the jth single tree.
CN202010478151.3A 2020-05-29 2020-05-29 Forest remote sensing image registration method and system based on single tree recognition Pending CN111666858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010478151.3A CN111666858A (en) 2020-05-29 2020-05-29 Forest remote sensing image registration method and system based on single tree recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010478151.3A CN111666858A (en) 2020-05-29 2020-05-29 Forest remote sensing image registration method and system based on single tree recognition

Publications (1)

Publication Number Publication Date
CN111666858A true CN111666858A (en) 2020-09-15

Family

ID=72385313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010478151.3A Pending CN111666858A (en) 2020-05-29 2020-05-29 Forest remote sensing image registration method and system based on single tree recognition

Country Status (1)

Country Link
CN (1) CN111666858A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102062860A (en) * 2009-11-18 2011-05-18 中国科学院遥感应用研究所 Foundation laser radar data registration method based on single tree position and surface information
CN104867137A (en) * 2015-05-08 2015-08-26 中国科学院苏州生物医学工程技术研究所 Improved RANSAC algorithm-based image registration method
CN106355577A (en) * 2016-09-08 2017-01-25 武汉科技大学 Method and system for quickly matching images on basis of feature states and global consistency
CN106558072A (en) * 2016-11-22 2017-04-05 重庆信科设计有限公司 A kind of method based on SIFT feature registration on remote sensing images is improved
CN110853081A (en) * 2019-11-18 2020-02-28 武汉数智云绘技术有限公司 Ground and airborne LiDAR point cloud registration method based on single-tree segmentation
CN111126508A (en) * 2019-12-31 2020-05-08 湖南云顶智能科技有限公司 An Improved Heterologous Image Matching Method Based on HOPC
US20200226413A1 (en) * 2017-08-31 2020-07-16 Southwest Jiaotong University Fast and robust multimodal remote sensing images matching method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102062860A (en) * 2009-11-18 2011-05-18 中国科学院遥感应用研究所 Foundation laser radar data registration method based on single tree position and surface information
CN104867137A (en) * 2015-05-08 2015-08-26 中国科学院苏州生物医学工程技术研究所 Improved RANSAC algorithm-based image registration method
CN106355577A (en) * 2016-09-08 2017-01-25 武汉科技大学 Method and system for quickly matching images on basis of feature states and global consistency
CN106558072A (en) * 2016-11-22 2017-04-05 重庆信科设计有限公司 A kind of method based on SIFT feature registration on remote sensing images is improved
US20200226413A1 (en) * 2017-08-31 2020-07-16 Southwest Jiaotong University Fast and robust multimodal remote sensing images matching method and system
CN110853081A (en) * 2019-11-18 2020-02-28 武汉数智云绘技术有限公司 Ground and airborne LiDAR point cloud registration method based on single-tree segmentation
CN111126508A (en) * 2019-12-31 2020-05-08 湖南云顶智能科技有限公司 An Improved Heterologous Image Matching Method Based on HOPC

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘丽晖: "基于不变量理论的遥感图像特征匹配技术", 知识经济 *

Similar Documents

Publication Publication Date Title
Li et al. An effective data augmentation strategy for CNN-based pest localization and recognition in the field
Ding et al. Automatic recognition of landslide based on CNN and texture change detection
Zamir et al. Accurate image localization based on google maps street view
Herrero-Huerta et al. Vineyard yield estimation by automatic 3D bunch modelling in field conditions
CN106709950B (en) Binocular vision-based inspection robot obstacle crossing wire positioning method
CN113111947B (en) Image processing method, apparatus and computer readable storage medium
CN110197157B (en) Pavement crack growth detection method based on historical crack data
CN108986143B (en) Target detection tracking method in video
Liu et al. A multispectral 3-D vision system for invertebrate detection on crops
CN106327502A (en) Multi-scene multi-target recognition and tracking method in security video
CN116403123B (en) Remote sensing image change detection method based on deep convolutional network
Yuan et al. Learning to count buildings in diverse aerial scenes
CN110245566B (en) A long-distance tracking method for infrared targets based on background features
CN108256462A (en) A kind of demographic method in market monitor video
Ye et al. An image-based approach for automatic detecting tasseling stage of maize using spatio-temporal saliency
CN108921064B (en) Pedestrian re-identification method based on multi-feature fusion
CN109544608B (en) Unmanned aerial vehicle image acquisition characteristic registration method
Fang et al. Images crack detection technology based on improved K-means algorithm
Zheng et al. Weakly supervised building extraction from high-resolution remote sensing images based on building-aware clustering and activation refinement network
CN111666858A (en) Forest remote sensing image registration method and system based on single tree recognition
CN113449663B (en) Collaborative intelligent security method and device based on polymorphic fitting
CN110852203B (en) Multi-factor suspicious person identification method based on video feature learning
Liu et al. Identification of Damaged Building Regions from High-Resolution Images Using Superpixel-Based Gradient and Autocorrelation Analysis
Cong Image stitching technology for police drones using an improved image registration method incorporating ORB algorithm
Singh et al. 3D-CTM: Unsupervised crop type mapping based on 3D convolutional autoencoder and satellite image time series

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200915

RJ01 Rejection of invention patent application after publication