CN106875407B - Unmanned aerial vehicle image canopy segmentation method combining morphology and mark control - Google Patents

Unmanned aerial vehicle image canopy segmentation method combining morphology and mark control Download PDF

Info

Publication number
CN106875407B
CN106875407B CN201710070334.XA CN201710070334A CN106875407B CN 106875407 B CN106875407 B CN 106875407B CN 201710070334 A CN201710070334 A CN 201710070334A CN 106875407 B CN106875407 B CN 106875407B
Authority
CN
China
Prior art keywords
image
canopy
forest
remote sensing
segmentation
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
Application number
CN201710070334.XA
Other languages
Chinese (zh)
Other versions
CN106875407A (en
Inventor
周小成
鲁林
黄洪宇
汪小钦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuzhou University
Original Assignee
Fuzhou University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuzhou University filed Critical Fuzhou University
Priority to CN201710070334.XA priority Critical patent/CN106875407B/en
Publication of CN106875407A publication Critical patent/CN106875407A/en
Application granted granted Critical
Publication of CN106875407B publication Critical patent/CN106875407B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10032Satellite or aerial image; Remote sensing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20036Morphological image processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30181Earth observation
    • G06T2207/30188Vegetation; Agriculture

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

本发明涉及一种结合形态学和标记控制的无人机影像林冠分割方法:利用无人机获取若干幅林区的局部遥感影像,经镶嵌和正射校正得到完整遥感影像;采用高斯滤波方法对绿光波段进行平滑滤波处理;采用自适应的局部最大值搜索方法从绿光波段中检测林冠顶点位置;利用形态学运算,通过一个强制最小值转换将获取的林冠顶点位置信息强加到影像上;对于正射校正的真彩色遥感影像,采用ISODATA聚类算法得到只包含林冠区域和非林冠区域两类的二值影像,将提取出的非林冠区域作为分割的外部标记;将外部标记强加到经过强制最小值转换后的影像上进行分水岭变换分割,获得精确的林分单木林冠边界信息。本发明有效解决了常规方法造成的林冠边界分割不准确问题。

Figure 201710070334

The invention relates to an unmanned aerial vehicle image forest canopy segmentation method combined with morphology and marker control: using an unmanned aerial vehicle to obtain local remote sensing images of several forest areas, and obtaining a complete remote sensing image through mosaicking and orthorectification; The light band is smoothed and filtered; the adaptive local maximum search method is used to detect the position of the canopy apex from the green light band; the obtained canopy apex position information is imposed on the image through a forced minimum transformation by using morphological operations; Ortho-corrected true-color remote sensing images, using ISODATA clustering algorithm to obtain binary images that only contain forest canopy areas and non-forest canopy areas, and use the extracted non-forest canopy areas as external markers for segmentation; Perform watershed transformation segmentation on the image converted by the minimum value to obtain accurate information on the single tree canopy boundary of the stand. The invention effectively solves the problem of inaccurate segmentation of forest canopy boundaries caused by conventional methods.

Figure 201710070334

Description

一种结合形态学和标记控制的无人机影像林冠分割方法A UAV imagery canopy segmentation method combining morphology and marker control

技术领域technical field

本发明涉及一种结合形态学和标记控制的无人机影像林冠分割方法。The invention relates to an unmanned aerial vehicle image forest canopy segmentation method combined with morphology and marker control.

背景技术Background technique

树冠作为树木获取光能并进行能量转换的场所,其对于研究森林生长情况和动态变化具有重要意义。但由于森林结构的复杂性和随机性,使得对树冠形状和边界信息的获取异常困难。近年来,随着卫星遥感技术的发展,尤其是卫星影像空间分辨率的逐渐提高,提高了森林树冠的估测精度,但受到气候、周期、分辨率和成本等因素的影响,使得获取的遥感数据远远不能满足林业调查的需求。无人机遥感作为新兴遥感技术,其特有的机动灵活性、时效性和成本低,数据易获取等优势而逐渐成为卫星遥感技术的有效补充手段,并在多个领域得到了广泛应用。虽然针对无人机技术的研究日益增多,但针对可见光无人机影像提取森林冠层结构信息的研究还处于试验阶段,如Díazvarela等评估了普通无人机相机影像获取树冠参数的可靠程度,并对西班牙科尔多瓦地区的一处橄榄育种园地进行了试验,其冠幅估测的RMSE达到了0.28。Chianucci等利用eBee无人飞行系统获取的真彩色影像,并结合LAB2影像分类方法来估算山毛榉林的森林冠层覆盖度,其决定系数R2达到0.7左右;此外还有Morgenroth、Mathews等利用无人机影像生成的点云数据来对森林冠层结构进行分析,并取得了一定成果。但常规的林冠分割方法会造成林冠边界分割不准确的问题,这对于无人机遥感获取森林参数的精度带来不确定性。As a place for trees to obtain light energy and perform energy conversion, tree canopy is of great significance for the study of forest growth and dynamic changes. However, due to the complexity and randomness of the forest structure, it is extremely difficult to obtain information on the shape and boundary of the tree canopy. In recent years, with the development of satellite remote sensing technology, especially the gradual improvement of the spatial resolution of satellite images, the estimation accuracy of forest canopy has been improved. However, affected by factors such as climate, period, resolution and cost, the obtained remote sensing The data are far from meeting the needs of forestry surveys. As an emerging remote sensing technology, UAV remote sensing has gradually become an effective supplement to satellite remote sensing technology due to its unique advantages of flexibility, timeliness, low cost, and easy access to data, and has been widely used in many fields. Although the research on UAV technology is increasing, the research on extracting forest canopy structure information from visible light UAV images is still in the experimental stage. For example, Díazvarela et al. An olive breeding plot in the Cordoba region of Spain was tested with an estimated crown size RMSE of 0.28. Chianucci et al. used the true color images obtained by the eBee unmanned aerial system, combined with the LAB2 image classification method to estimate the forest canopy coverage of the beech forest, and the coefficient of determination R2 reached about 0.7; in addition, Morgenroth, Mathews, etc. used UAVs. The point cloud data generated by the image is used to analyze the forest canopy structure, and certain results have been achieved. However, the conventional forest canopy segmentation method will cause the problem of inaccurate segmentation of the forest canopy boundary, which brings uncertainty to the accuracy of the forest parameters obtained by UAV remote sensing.

发明内容SUMMARY OF THE INVENTION

有鉴于此,本发明的目的在于提供一种结合形态学和标记控制的无人机影像林冠分割方法,有效解决了常规方法造成的林冠边界分割不准确问题。In view of this, the purpose of the present invention is to provide a UAV image canopy segmentation method combining morphology and marker control, which effectively solves the problem of inaccurate canopy boundary segmentation caused by conventional methods.

为实现上述目的,本发明采用如下技术方案:一种结合形态学和标记控制的无人机影像林冠分割方法,其特征在于,包括以下步骤:In order to achieve the above object, the present invention adopts the following technical scheme: a method for segmenting the canopy of an unmanned aerial vehicle image combined with morphology and marker control, which is characterized in that, comprising the following steps:

步骤S1:利用无人机获取若干幅林区的局部遥感影像,对所述若干幅林区遥感图像进行镶嵌和正射校正得到林区的完整遥感影像;Step S1: using the UAV to obtain local remote sensing images of several forest areas, and performing mosaic and orthorectification on the several remote sensing images of forest areas to obtain complete remote sensing images of forest areas;

步骤S2:采用高斯滤波方法对完整遥感影像的绿光波段进行平滑滤波处理;Step S2: using the Gaussian filtering method to perform smooth filtering processing on the green light band of the complete remote sensing image;

步骤S3:采用自适应的局部最大值搜索方法从完整遥感影像的绿光波段中检测林冠顶点位置;Step S3: using an adaptive local maximum search method to detect the position of the canopy vertex from the green light band of the complete remote sensing image;

步骤S4:利用形态学运算,通过一个强制最小值转换将获取的林冠顶点位置信息强加到平滑滤波后的绿光波段影像上;Step S4: using morphological operations to impose the obtained canopy vertex position information on the green light band image after smooth filtering through a forced minimum conversion;

步骤S5:对于步骤S1获得的完整遥感影像,采用ISODATA聚类算法得到只包含林冠区域和非林冠区域两类的二值影像,将提取出的非林冠区域作为分割的外部标记;Step S5: For the complete remote sensing image obtained in Step S1, the ISODATA clustering algorithm is used to obtain a binary image that only includes two types of forest canopy areas and non-forest canopy areas, and the extracted non-forest canopy area is used as an external marker for segmentation;

步骤S6:基于步骤S4和步骤S5获得的结果,将外部标记强加到经过强制最小值转换后的影像上进行分水岭变换分割,获得精确的林分单木林冠边界信息。Step S6: Based on the results obtained in Step S4 and Step S5, an external marker is imposed on the image transformed by the forced minimum value to perform watershed transformation segmentation, so as to obtain accurate stand single tree canopy boundary information.

进一步的,所述局部遥感影像为真彩色影像,分辨率在0.05-0.20m之间。Further, the local remote sensing image is a true color image, and the resolution is between 0.05-0.20m.

进一步的,所述步骤S2的具体方法如下:采用一个高斯分布曲线来对完整遥感影像的绿光波段进行处理,减少影像的噪声水平和强化林冠顶点的辐射强度值,滤波公式如下:Further, the specific method of the step S2 is as follows: using a Gaussian distribution curve to process the green light band of the complete remote sensing image, reducing the noise level of the image and strengthening the radiation intensity value of the canopy vertex, the filtering formula is as follows:

Figure GDA0002442222770000031
Figure GDA0002442222770000031

式中,G(i,j)为第i行,j列处影像象元高斯滤波结果,i、j为自然数,σ为高斯滤波的均方差,σ取值选择林分内最小林冠尺寸大小作为窗口进行影像滤波处理。In the formula, G(i,j) is the result of Gaussian filtering of image pixels at row i and column j, i and j are natural numbers, σ is the mean square error of Gaussian filtering, and the value of σ is selected as the minimum canopy size in the stand as window for image filtering.

进一步的,所述步骤S3的具体方法如下:Further, the specific method of the step S3 is as follows:

步骤S31:通过一个固定窗口探测样地内潜在的林冠顶点位置,获得潜在林冠顶点;Step S31: Detect the position of the potential forest canopy vertex in the sample plot through a fixed window, and obtain the potential forest canopy vertex;

步骤S32:采用自适应的动态窗口对获取的潜在林冠顶点进行判断,如果当前顶点为对应窗口区域的最大值则保存,否则删除;动态窗口大小通过计算潜在顶点八个剖面方向半方差的变程值进行确定,其影像像元的半方差计算公式为:Step S32: Use an adaptive dynamic window to judge the acquired potential forest canopy vertices. If the current vertex is the maximum value of the corresponding window area, save it, otherwise delete it; The semi-variance calculation formula of the image pixel is:

Figure GDA0002442222770000032
Figure GDA0002442222770000032

式中,γ(h)为经验半方差值,xi为影像的像元位置,h为两个像元的空间分隔距离,Z(x)为对应影像xi处的像元值,N为在一定分隔距离下像元对的对数。In the formula, γ(h) is the empirical semivariance value, xi is the pixel position of the image, h is the spatial separation distance between two pixels, Z(x) is the pixel value at the corresponding image xi , N is the logarithm of cell pairs at a certain separation distance.

进一步的,所述步骤S4的具体方法如下:Further, the specific method of the step S4 is as follows:

步骤S41:对滤波处理后的影像f进行取反操作,然后对获取的林冠顶点进行极小值标记,获得标记影像,如下式:Step S41: Perform an inversion operation on the filtered image f, and then mark the obtained canopy apex with a minimum value to obtain a marked image, as follows:

Figure GDA0002442222770000041
Figure GDA0002442222770000041

式中,fm为获取的标记影像,p为影像的每个像元,tmax为影像的最大值;In the formula, f m is the acquired marked image, p is each pixel of the image, and t max is the maximum value of the image;

步骤S42:逐像元的计算影像f+1和标记影像fm之间的极小值,对影像进行强制最小值转换;Step S42: Calculate the minimum value between the image f+1 and the marked image f m pixel by pixel, and perform forced minimum conversion on the image;

这一步骤中,形态学计算表示为:(f+1)∧fm,然后利用标记图像fm对(f+1)∧fm进行形态学腐蚀重建,如下式:In this step, the morphological calculation is expressed as: (f+1)∧f m , and then the marked image f m is used to reconstruct (f+1)∧f m by morphological erosion, as follows:

Figure GDA0002442222770000042
Figure GDA0002442222770000042

式中,fmp为强制最小值转换后的影像,

Figure GDA0002442222770000043
描述(f+1)∧fm在标记影像fm掩膜下的形态学腐蚀重建过程。In the formula, f mp is the image after forced minimum conversion,
Figure GDA0002442222770000043
Describe the morphological corrosion reconstruction process of (f+1)∧f m under the mask of marked image f m .

进一步的,所述步骤S5的具体方法如下:基于获得的完整遥感影像,采用ISODATA非监督分类方法进行分类,设置的分类类别数≥10,最大迭代次数≥5;对获取的分类结果通过目视判读进行合并,得到只包含林冠区域和非林冠区域这两类的二值影像,并将提取出的非林冠区域作为分割的外部标记。Further, the specific method of the step S5 is as follows: based on the obtained complete remote sensing image, the ISODATA unsupervised classification method is used for classification, the set number of classification categories is ≥ 10, and the maximum number of iterations is ≥ 5; the obtained classification results are visually inspected. The interpretations were merged to obtain a binary image that only contained the forest canopy area and the non-forest canopy area, and the extracted non-forest canopy area was used as an external marker for segmentation.

进一步的,所述步骤S6中分水岭变换分割采用公式如下:Further, the watershed transformation and segmentation in the step S6 adopts the following formula:

Figure GDA0002442222770000044
Figure GDA0002442222770000044

式中,WaterShed()是分水岭函数;Mask是掩膜函数;BOutMask是外部标记,即非林冠区域,Wcanopy为林分单木林冠边界。In the formula, WaterShed() is the watershed function; Mask is the mask function; B OutMask is the external mark, that is, the non-forest canopy area, and W canopy is the stand single tree canopy boundary.

本发明与现有技术相比具有以下有益效果:本发明有效解决了常规方法造成的林冠边界分割不准确问题;有利于森林树冠信息的快速有效提取,为森林资源调查中林分株数、郁闭度的准确高效估算提供有力支持。Compared with the prior art, the present invention has the following beneficial effects: the present invention effectively solves the problem of inaccurate segmentation of forest canopy boundaries caused by conventional methods; it is conducive to the rapid and effective extraction of forest canopy information, which is the number of trees and canopy closures in forest resources surveys. Provides strong support for accurate and efficient estimation of degree.

附图说明Description of drawings

图1是本发明的方法流程图。FIG. 1 is a flow chart of the method of the present invention.

图2A是本发明实施例一的无人机影像。FIG. 2A is a drone image according to the first embodiment of the present invention.

图2B是本发明实施例一的绿光波段滤波结果。FIG. 2B is a result of filtering the green light band according to the first embodiment of the present invention.

图2C是本发明实施例一的直接分水岭分割结果。FIG. 2C is a direct watershed segmentation result according to Embodiment 1 of the present invention.

图2D是本发明实施例一采用固定窗口提取的林冠顶点。FIG. 2D is a canopy vertex extracted by using a fixed window according to Embodiment 1 of the present invention.

图2E是本发明实施例一采用可变窗口去除异常值结果。FIG. 2E is a result of removing outliers by adopting a variable window according to Embodiment 1 of the present invention.

图2F是本发明实施例一的林冠非林冠二值图。FIG. 2F is a binary map of forest canopy and non-forest canopy according to Embodiment 1 of the present invention.

图2G是本发明实施例一的形态学重构标记结果。FIG. 2G is the result of morphological reconstruction marking according to the first embodiment of the present invention.

图2H是本发明实施例一的内外部标记添加结果。FIG. 2H is the result of adding internal and external markers according to the first embodiment of the present invention.

图2I是本发明实施例一的结合内外标记影像分割结果。FIG. 2I is a result of image segmentation combined with internal and external markers according to Embodiment 1 of the present invention.

图3A本发明实施例二的无人机影像。FIG. 3A is a drone image of the second embodiment of the present invention.

图3B本发明实施例二的直接分水岭分割结果。FIG. 3B is the direct watershed segmentation result of the second embodiment of the present invention.

图3C本发明实施例二采用固定窗口提取的林冠定点。Fig. 3C The fixed point of the canopy extracted by the fixed window in the second embodiment of the present invention.

图3D本发明实施例二的自适应窗口去除异常顶点结果。FIG. 3D shows the result of removing abnormal vertices from an adaptive window according to Embodiment 2 of the present invention.

图3E本发明实施例二的强加林冠顶点影像。FIG. 3E is an image of the top of the imposed forest canopy according to the second embodiment of the present invention.

图3F本发明实施例二的形态学重构结果。FIG. 3F shows the morphological reconstruction results of the second embodiment of the present invention.

图3G本发明实施例二的林冠非林冠二值图。FIG. 3G is a binary map of forest canopy and non-forest canopy according to the second embodiment of the present invention.

图3H本发明实施例二的内标记影像直接分水岭分割结果。FIG. 3H is the direct watershed segmentation result of the inner-marked image according to the second embodiment of the present invention.

图3I本发明实施例二的结合内外标记影像分割结果。FIG. 3I shows the result of image segmentation combined with internal and external markers according to the second embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图及实施例对本发明做进一步说明。The present invention will be further described below with reference to the accompanying drawings and embodiments.

请参照图1,本发明提供一种结合形态学和标记控制的无人机影像林冠分割方法,其特征在于,包括以下步骤:Please refer to FIG. 1, the present invention provides a UAV image canopy segmentation method combining morphology and marker control, which is characterized in that it includes the following steps:

步骤S1:利用无人机获取若干幅分辨率在0.05-0.20m之间的林区的局部遥感影像,对所述若干幅林区遥感图像进行镶嵌和正射校正得到林区的完整遥感影像;所述局部遥感图像至少应为包含红、绿、蓝波段的真彩色影像,且影像的航向和旁向重叠率≥80%,经镶嵌和正射校正得到的完整遥感影像无明显拼接痕迹。Step S1: using the unmanned aerial vehicle to obtain several local remote sensing images of the forest area with a resolution between 0.05-0.20m, and performing mosaic and orthorectification on the several remote sensing images of the forest area to obtain a complete remote sensing image of the forest area; The local remote sensing images should be at least true-color images containing red, green, and blue bands, and the heading and lateral overlap rates of the images should be ≥80%.

步骤S2:采用高斯滤波方法对完整遥感影像的绿光波段进行平滑滤波处理;具体方法如下:采用一个高斯分布曲线(钟形曲线)来对完整遥感影像的绿光波段进行处理,减少影像的噪声水平和强化林冠顶点的辐射强度值,滤波公式如下:Step S2: use a Gaussian filtering method to smooth the green light band of the complete remote sensing image; the specific method is as follows: use a Gaussian distribution curve (bell curve) to process the green light band of the complete remote sensing image to reduce the noise of the image Radiation intensity values of horizontal and enhanced canopy vertices, the filtering formula is as follows:

Figure GDA0002442222770000061
Figure GDA0002442222770000061

式中,G(i,j)为第i行,j列处影像象元高斯滤波结果,i、j为自然数,,σ为高斯滤波的均方差,σ取值选择林分内最小林冠尺寸大小作为窗口进行影像滤波处理。In the formula, G(i,j) is the result of Gaussian filtering of image pixels at row i and column j, i and j are natural numbers, σ is the mean square error of Gaussian filtering, and the value of σ selects the minimum canopy size in the stand Image filtering is performed as a window.

步骤S3:采用自适应的局部最大值搜索方法从完整遥感影像的绿光波段中检测林冠顶点位置;具体方法如下:Step S3: Use the adaptive local maximum search method to detect the position of the canopy vertex from the green light band of the complete remote sensing image; the specific method is as follows:

步骤S31:首先,通过一个较小的固定窗口探测样地内潜在的林冠顶点位置,获得潜在林冠顶点;Step S31: First, detect the position of the potential forest canopy vertex in the sample plot through a small fixed window to obtain the potential forest canopy vertex;

步骤S32:采用自适应的动态窗口对获取的潜在林冠顶点进行判断,如果当前顶点为对应窗口区域的最大值则保存,否则删除;动态窗口大小通过计算潜在顶点八个剖面方向半方差的变程值进行确定,其影像像元的半方差计算公式为:Step S32: Use an adaptive dynamic window to judge the acquired potential forest canopy vertices. If the current vertex is the maximum value of the corresponding window area, save it, otherwise delete it; The semi-variance calculation formula of the image pixel is:

Figure GDA0002442222770000071
Figure GDA0002442222770000071

式中,γ(h)为经验半方差值,xi为影像的像元位置,h为两个像元的空间分隔距离,Z(x)为对应影像xi处的像元值,N为在一定分隔距离下像元对的对数。In the formula, γ(h) is the empirical semivariance value, xi is the pixel position of the image, h is the spatial separation distance between two pixels, Z(x) is the pixel value at the corresponding image xi , N is the logarithm of cell pairs at a certain separation distance.

步骤S4:利用形态学运算,通过一个强制最小值转换将获取的林冠顶点位置信息强加到平滑滤波后的绿光波段影像上;具体方法如下:Step S4: Using morphological operations, the obtained forest canopy vertex position information is imposed on the green light band image after smooth filtering through a forced minimum conversion; the specific method is as follows:

步骤S41:首先,对平滑滤波处理后的影像f进行取反操作,然后对获取的林冠顶点进行极小值标记,获得标记影像,如下式:Step S41: First, perform an inversion operation on the image f after smoothing filtering, and then mark the obtained canopy vertex with a minimum value to obtain a marked image, as shown in the following formula:

Figure GDA0002442222770000072
Figure GDA0002442222770000072

式中,fm为获取的标记影像,p为影像的每个像元,tmax为影像的最大值;In the formula, f m is the acquired marked image, p is each pixel of the image, and t max is the maximum value of the image;

步骤S42:然后,逐像元的计算影像f+1和标记影像fm之间的极小值,对影像进行强制最小值转换;Step S42: Then, calculate the minimum value between the image f+1 and the marked image f m pixel by pixel, and perform forced minimum conversion on the image;

这一步骤中,形态学计算表示为:(f+1)∧fm,然后利用标记图像fm对(f+1)∧fm进行形态学腐蚀重建,如下式:In this step, the morphological calculation is expressed as: (f+1)∧f m , and then the marked image f m is used to reconstruct (f+1)∧f m by morphological erosion, as follows:

Figure GDA0002442222770000081
Figure GDA0002442222770000081

式中,fmp为强制最小值转换后的影像,

Figure GDA0002442222770000082
描述(f+1)∧fm在标记影像fm掩膜下的形态学腐蚀重建过程。In the formula, f mp is the image after forced minimum conversion,
Figure GDA0002442222770000082
Describe the morphological corrosion reconstruction process of (f+1)∧f m under the mask of marked image f m .

步骤S5:对于步骤S1获得的完整遥感影像,采用ISODATA聚类算法得到只包含林冠区域和非林冠区域两类的二值影像,将提取出的非林冠区域作为分割的外部标记;具体方法如下:基于获得的完整遥感影像,采用ISODATA非监督分类方法进行分类,设置的分类类别数≥10,最大迭代次数≥5;对获取的分类结果通过目视判读进行合并,得到只包含林冠区域和非林冠区域这两类的二值影像,并将提取出的非林冠区域作为分割的外部标记。Step S5: For the complete remote sensing image obtained in Step S1, the ISODATA clustering algorithm is used to obtain a binary image that only includes the forest canopy area and the non-forest canopy area, and the extracted non-forest canopy area is used as an external marker for segmentation; the specific method is as follows: Based on the obtained complete remote sensing images, the ISODATA unsupervised classification method is used for classification. The set number of classification categories is greater than or equal to 10, and the maximum number of iterations is greater than or equal to 5. The obtained classification results are merged through visual interpretation, and only the canopy area and non-forest canopy are obtained. Binary images of these two types of regions are used, and the extracted non-forest canopy regions are used as external markers for segmentation.

步骤S6:基于步骤S4和步骤S5获得的结果,将外部标记强加到经过强制最小值转换后的影像上进行分水岭变换分割,获得精确的林分单木林冠边界信息。分水岭变换分割采用公式如下:Step S6: Based on the results obtained in Step S4 and Step S5, an external marker is imposed on the image transformed by the forced minimum value to perform watershed transformation segmentation, so as to obtain accurate stand single tree canopy boundary information. The watershed transformation segmentation adopts the following formula:

Figure GDA0002442222770000083
Figure GDA0002442222770000083

式中,WaterShed()是分水岭函数;Mask是掩膜函数;BOutMask是外部标记,即非林冠区域,Wcanopy为林分单木林冠边界。In the formula, WaterShed() is the watershed function; Mask is the mask function; B OutMask is the external mark, that is, the non-forest canopy area, and W canopy is the stand single tree canopy boundary.

为了让一般技术人员更好的理解本发明的技术方案,以下结合两个实施例对本发明进行详细介绍。其中,无人机获取的局部遥感影像为RGB真彩色影像,采用PIX4D软件进行预处理,经过镶嵌和正射校正后,影像分辨率越为7cm。In order to make those skilled in the art better understand the technical solutions of the present invention, the present invention will be described in detail below with reference to two embodiments. Among them, the local remote sensing images obtained by the UAV are RGB true color images, which are preprocessed by PIX4D software. After mosaicking and orthorectification, the image resolution is 7cm.

实施例一:Example 1:

图2A是样地1原始可见光影像,样地1为针叶林样地,有孤立的树冠也有相互重叠的树冠。图2B为绿光波段经最大值滤波和高斯平滑滤波的结果,增强了林冠与非林冠的光谱差异,减小了林冠内部的光谱异质性。图2C是直接对滤波处理后的绿光波段进行分水岭分割,出现过分割的现象。这是因为影像中除了林冠顶点还会存在部分噪声值,以及影像中存在道路和空地的原因;Figure 2A is the original visible light image of Plot 1. Plot 1 is a coniferous forest plot with isolated tree crowns and overlapping tree crowns. Figure 2B shows the result of maximum filtering and Gaussian smoothing filtering in the green light band, which enhances the spectral difference between canopy and non-forest canopy and reduces the spectral heterogeneity within the canopy. Figure 2C directly performs watershed segmentation on the filtered green light band, and the phenomenon of over-segmentation occurs. This is because there are some noise values in the image in addition to the canopy vertices, and there are roads and open spaces in the image;

图2D是应用固定窗口局部最大值法进行林冠顶点检测的结果,存在部分林冠检测到多个顶点问题;Figure 2D is the result of the canopy vertex detection using the fixed window local maximum method, and there is a problem of detecting multiple vertices in some canopies;

图2E是在固定窗口检测结果基础上,应用可变窗口(自适应窗口)最大值法进行林冠顶点检测的结果,可以发现,消除了部分林冠出现多个顶点的现象;Figure 2E is the result of applying the variable window (adaptive window) maximum value method to detect the canopy vertices on the basis of the fixed window detection results. It can be found that the phenomenon of multiple vertices appearing in some canopies is eliminated;

图2F为经过非监督分类获得的林冠和非林冠二值图;Figure 2F is a binary map of forest canopy and non-forest canopy obtained by unsupervised classification;

图2G:是经过形态学重构,进行强制最小转换处理的绿光波段,此时查找得到的树冠顶点标记被强加到影像上,即保证分水岭分割只会按照这些树顶标记进行分割;Figure 2G: It is the green light band after morphological reconstruction and forced minimum conversion processing. At this time, the tree crown vertex marks obtained by searching are imposed on the image, that is, to ensure that the watershed segmentation will only be divided according to these tree top marks;

图2H是在图2G结果上增加了非林冠区域外部标记的结果;Figure 2H is the result of adding non-forest canopy outer markers to the results of Figure 2G;

图2I为结合树冠内外标记分水岭分割结果,每个闭合的多边形表示一个树冠。通过将树冠勾绘结果与原始影像叠加,可以看出本算法得到的结果相对较好。Figure 2I shows the result of watershed segmentation combined with inner and outer canopy markers. Each closed polygon represents a canopy. By superimposing the canopy delineation results with the original image, it can be seen that the results obtained by this algorithm are relatively good.

实施例二:Embodiment 2:

图3A是样地2原始可见光影像,样地2为阔叶林样地。图3B为绿光波段直接分水岭分割结果。出现过分割的现象。这是因为影像中除了林冠顶点还会存在部分噪声值,以及影像中存在灌草地的原因;Figure 3A is the original visible light image of Plot 2, which is a broad-leaved forest plot. Figure 3B shows the results of direct watershed segmentation in the green light band. Over-splitting occurs. This is because there are some noise values in the image in addition to the canopy vertices, and the reason for the existence of shrubs and grasslands in the image;

图3C是应用固定窗口局部最大值法进行林冠顶点检测的结果,存在部分林冠检测到多个顶点问题,以及灌草地上检测到顶点问题;Figure 3C is the result of using the fixed window local maximum method to detect canopy vertices. There is a problem of detecting multiple vertices in some canopies, as well as detecting vertices on shrubs and grasslands;

图3D是在固定窗口检测结果基础上,应用可变窗口(自适应窗口)最大值法进行林冠顶点检测的结果,可以发现,消除了部分林冠出现多个顶点的现象,但仍然存在灌草地顶点问题;Figure 3D is the result of the canopy vertex detection using the variable window (adaptive window) maximum method on the basis of the fixed window detection results. It can be found that the phenomenon of multiple vertices in some canopies has been eliminated, but there are still shrub and grassland vertices. question;

图3E是得到的树冠顶点标记被强加到绿光波段影像上的结果;图3F是经过形态学重构,结果,该结果保证分水岭分割只会按照树顶标记进行分割。此外,为了消除非林冠区域对林冠分割边界的影响,还需要对分割结果进行掩膜处理。图3G为非监督分类获得的林冠非林冠二值图。图3H为树冠标记影像直接进行分水岭分割结果,未能消除灌草地影响;图3I为在树顶标记和非林冠掩膜标记的基础上进行分水岭分割后的结果,得到的结果相对较好。Figure 3E is the result of the obtained tree crown vertex markers being imposed on the green light band image; Figure 3F is the result of morphological reconstruction. As a result, the result ensures that the watershed segmentation will only be segmented according to the tree top markers. In addition, in order to eliminate the influence of the non-forest canopy area on the canopy segmentation boundary, the segmentation result also needs to be masked. Figure 3G is a binary map of canopy and non-canopy obtained by unsupervised classification. Figure 3H is the result of watershed segmentation directly on the canopy marked image, which fails to eliminate the influence of shrubs and grasslands; Figure 3I is the result of watershed segmentation based on treetop marking and non-canopy mask marking, and the obtained results are relatively good.

根据以上实验分割结果,分别对两个样地单木林冠分割结果与目视解译结果进行对比验证,其结果如表1所示。According to the above experimental segmentation results, the results of single-tree canopy segmentation and visual interpretation of the two plots were compared and verified, and the results are shown in Table 1.

表1样地单木树冠提取精度分析Table 1 Analysis of the extraction accuracy of single tree canopy in the sample plot

Figure GDA0002442222770000101
Figure GDA0002442222770000101

Figure GDA0002442222770000111
Figure GDA0002442222770000111

从表1中我们可以得出,两个样地的林冠分割精度都较高,以针叶林为主的样地plot-01达到94.54%,而以阔叶林为主的样地plot-02则达到95.56%。From Table 1, we can conclude that the canopy segmentation accuracy of the two sample plots is high, the plot-01 dominated by coniferous forest reaches 94.54%, while the sample plot dominated by broad-leaved forest plot-02 Then it reaches 95.56%.

以上所述仅为本发明的较佳实施例,凡依本发明申请专利范围所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.

Claims (4)

1.一种结合形态学和标记控制的无人机影像林冠分割方法,其特征在于,包括以下步骤:1. a UAV image canopy segmentation method combining morphology and marker control, is characterized in that, comprises the following steps: 步骤S1:利用无人机获取若干幅分辨率在0.05-0.20m之间的林区的局部遥感影像,对所述若干幅林区遥感影像进行镶嵌和正射校正得到林区的完整遥感影像;所述局部遥感影像至少应为包含红、绿、蓝波段的真彩色影像,且影像的航向和旁向重叠率≥80%;Step S1: using unmanned aerial vehicle to obtain several local remote sensing images of forest areas with a resolution between 0.05-0.20m, and performing mosaic and orthorectification on the several remote sensing images of forest areas to obtain complete remote sensing images of forest areas; The above-mentioned local remote sensing images shall at least be true color images containing red, green and blue bands, and the heading and side overlap ratio of the images shall be ≥80%; 步骤S2:采用高斯滤波方法对完整遥感影像的绿光波段进行平滑滤波处理;Step S2: using the Gaussian filtering method to perform smooth filtering processing on the green light band of the complete remote sensing image; 步骤S3:采用自适应的局部最大值搜索方法从完整遥感影像的绿光波段中检测林冠顶点位置;Step S3: using an adaptive local maximum search method to detect the position of the canopy vertex from the green light band of the complete remote sensing image; 步骤S4:利用形态学运算,通过一个强制最小值转换将获取的林冠顶点位置信息强加到平滑滤波后的绿光波段影像上;Step S4: using morphological operations to impose the obtained canopy vertex position information on the green light band image after smooth filtering through a forced minimum conversion; 步骤S5:对于步骤S1获得的完整遥感影像,采用ISODATA聚类算法得到只包含林冠区域和非林冠区域两类的二值影像,将提取出的非林冠区域作为分割的外部标记;Step S5: For the complete remote sensing image obtained in Step S1, the ISODATA clustering algorithm is used to obtain a binary image that only includes two types of forest canopy areas and non-forest canopy areas, and the extracted non-forest canopy area is used as an external marker for segmentation; 步骤S6:基于步骤S4和步骤S5获得的结果,将外部标记强加到经过强制最小值转换后的影像上进行分水岭变换分割,获得精确的林分单木林冠边界信息;Step S6: Based on the results obtained in steps S4 and S5, an external marker is imposed on the image after forced minimum conversion to perform watershed transformation segmentation to obtain accurate stand single tree canopy boundary information; 所述步骤S3的具体方法如下:The specific method of the step S3 is as follows: 步骤S31:通过一个固定窗口探测样地内潜在的林冠顶点位置,获得潜在林冠顶点;Step S31: Detect the position of the potential forest canopy vertex in the sample plot through a fixed window, and obtain the potential forest canopy vertex; 步骤S32:采用自适应的动态窗口对获取的潜在林冠顶点进行判断,如果当前顶点为对应窗口区域的最大值则保存,否则删除;动态窗口大小通过计算潜在林冠顶点八个剖面方向半方差的变程值进行确定,其影像像元的半方差计算公式为:Step S32: Use an adaptive dynamic window to judge the acquired potential forest canopy vertices. If the current vertex is the maximum value of the corresponding window area, save it, otherwise delete it; The range value is determined, and the semi-variance calculation formula of the image pixel is:
Figure FDA0002442222760000011
Figure FDA0002442222760000011
式中,γ(h)为经验半方差值,xi为影像的像元位置,h为两个像元的空间分隔距离,Z(xi)为对应影像xi处的像元值,N为在一定分隔距离下像元对的对数;In the formula, γ(h) is the empirical semivariance value, x i is the pixel position of the image, h is the spatial separation distance between two pixels, Z( xi ) is the pixel value at the corresponding image x i , N is the logarithm of pixel pairs at a certain separation distance; 所述步骤S4的具体方法如下:The specific method of the step S4 is as follows: 步骤S41:对滤波处理后的影像f进行取反操作,然后对获取的林冠顶点进行极小值标记,获得标记影像,如下式:Step S41: Perform an inversion operation on the filtered image f, and then mark the obtained canopy apex with a minimum value to obtain a marked image, as follows:
Figure FDA0002442222760000021
Figure FDA0002442222760000021
式中,fm为获取的标记影像,p为影像的每个像元,tmax为影像的最大值;In the formula, f m is the acquired marked image, p is each pixel of the image, and t max is the maximum value of the image; 步骤S42:逐像元的计算影像f+1和标记影像fm之间的极小值,对影像进行强制最小值转换;Step S42: Calculate the minimum value between the image f+1 and the marked image f m pixel by pixel, and perform forced minimum conversion on the image; 这一步骤中,形态学计算表示为:(f+1)∧fm,然后利用标记影像fm对(f+1)∧fm进行形态学腐蚀重建,如下式:In this step, the morphological calculation is expressed as: (f+1)∧f m , and then the morphological erosion reconstruction of (f+1)∧f m is performed by using the marked image f m , as follows:
Figure FDA0002442222760000022
Figure FDA0002442222760000022
式中,fmp为强制最小值转换后的影像,
Figure FDA0002442222760000023
描述(f+1)∧fm在标记影像fm掩膜下的形态学腐蚀重建过程。
In the formula, f mp is the image after forced minimum conversion,
Figure FDA0002442222760000023
Describe the morphological corrosion reconstruction process of (f+1)∧f m under the mask of marked image f m .
2.根据权利要求1所述的结合形态学和标记控制的无人机影像林冠分割方法,其特征在于:所述步骤S2的具体方法如下:采用一个高斯分布曲线来对完整遥感影像的绿光波段进行处理,减少影像的噪声水平和强化林冠顶点的辐射强度值,滤波公式如下:2. the unmanned aerial vehicle image forest canopy segmentation method combining morphology and mark control according to claim 1, is characterized in that: the concrete method of described step S2 is as follows: adopt a Gaussian distribution curve to the green light of complete remote sensing image The waveband is processed to reduce the noise level of the image and strengthen the radiation intensity value of the canopy vertex. The filtering formula is as follows:
Figure FDA0002442222760000024
Figure FDA0002442222760000024
式中,G(i,j)为第i行第j列处影像像元高斯滤波结果,i、j为自然数,σ为高斯滤波的均方差,σ取值选择林分内最小林冠尺寸大小作为窗口进行影像滤波处理。In the formula, G(i,j) is the result of Gaussian filtering of the image pixel at row i and column j, i and j are natural numbers, σ is the mean square error of Gaussian filtering, and the value of σ selects the minimum canopy size in the stand as window for image filtering.
3.根据权利要求1所述的结合形态学和标记控制的无人机影像林冠分割方法,其特征在于:所述步骤S5的具体方法如下:基于获得的完整遥感影像,采用ISODATA非监督分类方法进行分类,设置的分类类别数≥10,最大迭代次数≥5;对获取的分类结果通过目视判读进行合并,得到只包含林冠区域和非林冠区域这两类的二值影像,并将提取出的非林冠区域作为分割的外部标记。3. the unmanned aerial vehicle image forest canopy segmentation method combining morphology and marking control according to claim 1, is characterized in that: the concrete method of described step S5 is as follows: based on the complete remote sensing image obtained, adopt ISODATA unsupervised classification method Perform classification, set the number of classification categories ≥ 10, and the maximum number of iterations ≥ 5; the obtained classification results are merged through visual interpretation to obtain binary images that only include canopy areas and non-forest canopy areas, and will be extracted. The non-forest canopy area is used as an external marker for segmentation. 4.根据权利要求1所述的结合形态学和标记控制的无人机影像林冠分割方法,其特征在于:所述步骤S6中分水岭变换分割采用公式如下:4. the unmanned aerial vehicle image forest canopy segmentation method combining morphology and mark control according to claim 1, is characterized in that: in described step S6, watershed transformation segmentation adopts formula as follows:
Figure FDA0002442222760000031
Figure FDA0002442222760000031
式中,WaterShed()是分水岭函数;Mask是掩膜函数;BOutMask是外部标记,即非林冠区域,Wcanopy为林分单木林冠边界。In the formula, WaterShed() is the watershed function; Mask is the mask function; B OutMask is the external mark, that is, the non-forest canopy area, and W canopy is the stand single tree canopy boundary.
CN201710070334.XA 2017-02-09 2017-02-09 Unmanned aerial vehicle image canopy segmentation method combining morphology and mark control Expired - Fee Related CN106875407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710070334.XA CN106875407B (en) 2017-02-09 2017-02-09 Unmanned aerial vehicle image canopy segmentation method combining morphology and mark control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710070334.XA CN106875407B (en) 2017-02-09 2017-02-09 Unmanned aerial vehicle image canopy segmentation method combining morphology and mark control

Publications (2)

Publication Number Publication Date
CN106875407A CN106875407A (en) 2017-06-20
CN106875407B true CN106875407B (en) 2020-06-12

Family

ID=59167303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710070334.XA Expired - Fee Related CN106875407B (en) 2017-02-09 2017-02-09 Unmanned aerial vehicle image canopy segmentation method combining morphology and mark control

Country Status (1)

Country Link
CN (1) CN106875407B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107516068A (en) * 2017-07-26 2017-12-26 福州大学 A Method for Extracting Individual Tree Canopies from UAV High-Resolution Imagery
CN109446983A (en) * 2018-10-26 2019-03-08 福州大学 A method for estimating the logging volume of coniferous forests based on two-phase UAV images
CN110189328B (en) * 2019-06-11 2021-02-23 北华航天工业学院 Satellite remote sensing image processing system and processing method thereof
CN111160236A (en) * 2019-12-27 2020-05-15 北京林业大学 An automatic segmentation method of watershed canopy combined with 3D morphological filtering in forest area
TWI749833B (en) * 2020-10-29 2021-12-11 中華學校財團法人中華科技大學 UAV sloping soil-rock watershed image identification method, system and application
CN114092504B (en) * 2021-11-12 2024-12-31 中国科学院空天信息创新研究院 Tree crown delineation method and device
CN114648538A (en) * 2022-03-01 2022-06-21 厦门聚视智创科技有限公司 A Gray-based ISODATA Segmentation Method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096818A (en) * 2011-01-31 2011-06-15 中国林业科学研究院资源信息研究所 Object-oriented automatic extracting method and system for outline and parameter of remote sensing image crown
CN103426200A (en) * 2013-08-26 2013-12-04 天津大学 Tree three-dimensional reconstruction method based on unmanned aerial vehicle aerial photo sequence image

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096818A (en) * 2011-01-31 2011-06-15 中国林业科学研究院资源信息研究所 Object-oriented automatic extracting method and system for outline and parameter of remote sensing image crown
CN103426200A (en) * 2013-08-26 2013-12-04 天津大学 Tree three-dimensional reconstruction method based on unmanned aerial vehicle aerial photo sequence image

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
基于标记控制分水岭分割方法的高分辨率遥感影像单木树冠提取;郭昱杉 等;《地球信息科学学报》;20160930;第18卷(第9期);第1259-1266页 *
基于标记控制分水岭算法的树冠高程模型分割;刘峰 等;《中国农学通报》;20111231;第29卷(第19期);第126-133页 *
面向对象的退耕还林造林效果遥感特征提取技术研究;陈永富 等;《林业资源管理》;20060430(第2期);第49-54页 *
高空间分辨率遥感的单木树冠自动提取方法与应用;刘晓双 等;《浙江林学院学报》;20100228;第27卷(第1期);第57-61页 *

Also Published As

Publication number Publication date
CN106875407A (en) 2017-06-20

Similar Documents

Publication Publication Date Title
CN106875407B (en) Unmanned aerial vehicle image canopy segmentation method combining morphology and mark control
Huang et al. Individual tree crown detection and delineation from very-high-resolution UAV images based on bias field and marker-controlled watershed segmentation algorithms
CN111340826B (en) Segmentation Algorithm of Single Tree Canopy in Aerial Images Based on Superpixel and Topological Features
CN109558806B (en) Method for detecting high-resolution remote sensing image change
CN105913421B (en) Remote sensing images cloud detection method of optic based on adaptive shape dark
WO2018076138A1 (en) Target detection method and apparatus based on large-scale high-resolution hyper-spectral image
CN103927741A (en) SAR image synthesis method for enhancing target characteristics
CN106600574A (en) Landslide extraction method based on remote-sensing image and altitude data
CN107516068A (en) A Method for Extracting Individual Tree Canopies from UAV High-Resolution Imagery
CN104951765B (en) Remote Sensing Target dividing method based on shape priors and visual contrast
Yang et al. A multi-band watershed segmentation method for individual tree crown delineation from high resolution multispectral aerial image
CN107301420A (en) A kind of thermal infrared imagery object detection method based on significance analysis
CN112861654A (en) Famous tea picking point position information acquisition method based on machine vision
CN106845326A (en) A kind of glacier recognition methods based on Airborne Hyperspectral remotely-sensed data
CN107784634A (en) A kind of power transmission line shaft tower Bird's Nest recognition methods based on template matches
CN111027497A (en) A fast detection method for weak and small targets based on high-resolution optical remote sensing images
CN110175556A (en) Remote sensing images cloud detection method of optic based on Sobel operator
US20240290089A1 (en) Method for extracting forest parameters of wetland with high canopy density based on consumer-grade uav image
CN107292328A (en) The remote sensing image shadow Detection extracting method and system of multiple dimensioned multiple features fusion
CN110070545B (en) A Method for Automatically Extracting Urban Built-up Areas from Urban Texture Feature Density
CN117423010A (en) River and lake demarcation recognition monitoring method based on remote sensing data
CN103927759A (en) Automatic cloud detection method of aerial images
Luo et al. An evolutionary shadow correction network and a benchmark UAV dataset for remote sensing images
CN113421301A (en) Method and system for positioning central area of field crop
CN115410074B (en) Remote sensing image cloud detection method and device

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200612