CN110781954A - Adaptive fuzzy superpixel generation method for polarized SAR image classification - Google Patents
Adaptive fuzzy superpixel generation method for polarized SAR image classification Download PDFInfo
- Publication number
- CN110781954A CN110781954A CN201911017077.9A CN201911017077A CN110781954A CN 110781954 A CN110781954 A CN 110781954A CN 201911017077 A CN201911017077 A CN 201911017077A CN 110781954 A CN110781954 A CN 110781954A
- Authority
- CN
- China
- Prior art keywords
- pixel
- pixels
- superpixel
- search area
- superpixels
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000003044 adaptive effect Effects 0.000 title 1
- 239000011159 matrix material Substances 0.000 claims abstract description 31
- 230000010287 polarization Effects 0.000 claims abstract description 5
- 238000004088 simulation Methods 0.000 description 14
- 230000000694 effects Effects 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000003709 image segmentation Methods 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
- G06F18/232—Non-hierarchical techniques
- G06F18/2321—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
- G06F18/23213—Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
Landscapes
- Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Probability & Statistics with Applications (AREA)
- Radar Systems Or Details Thereof (AREA)
- Image Analysis (AREA)
Abstract
本发明公开了一种用于极化SAR图像分类的超像素产生方法,主要解决现有技术超像素生成结果精度不高并且不能自适应调整待定像素的比例的问题。其实现方案为:1)设定参数并输入极化SAR图片;2)初始化极化SAR图片的聚类中心,找到重叠搜索区域和非重叠搜索区域;3)迭代计算重叠搜索区域内像素的聚类中心和隶属度矩阵,直到达到最大迭代次数或者两次迭代之间聚类中心的变化小于设定的阈值;4)自适应确定待定像素的比例;5)根据隶属度矩阵和待定像素的比例生成模糊超像素;本发明提高了超像素生成结果精度,并能够自适应调整待定像素的比例,可应用于极化SAR图像分类。
The invention discloses a superpixel generation method for polarimetric SAR image classification, which mainly solves the problems of low precision of superpixel generation results in the prior art and inability to adaptively adjust the ratio of undetermined pixels. The implementation scheme is: 1) set parameters and input the polarimetric SAR image; 2) initialize the cluster center of the polarimetric SAR image to find the overlapping search area and non-overlapping search area; 3) iteratively calculate the clustering of pixels in the overlapping search area. Class center and membership matrix, until the maximum number of iterations is reached or the change of cluster center between two iterations is less than the set threshold; 4) Adaptively determine the proportion of undetermined pixels; 5) According to the ratio of membership matrix and undetermined pixels The fuzzy superpixel is generated; the invention improves the accuracy of the superpixel generation result, can adaptively adjust the ratio of the undetermined pixels, and can be applied to polarization SAR image classification.
Description
技术领域technical field
本发明属于遥感影像技术领域,特别涉及一种自适应模糊超像素产生方法。可用于对极化SAR图像的分类。The invention belongs to the technical field of remote sensing images, and in particular relates to a method for generating self-adaptive fuzzy superpixels. Can be used to classify polarimetric SAR images.
背景技术Background technique
超像素方法的目的是将原始图像分割为一些特征相近的较小区域,以保留一些空间邻域信息,使得在此基础上对图像再进行分类要比直接使用像素分类的计算效率更高。如今,超像素已被广泛应用于计算机视觉领域,例如图像分类,图像分割,图像增强,前景提取和视觉目标追踪。The purpose of the superpixel method is to segment the original image into smaller regions with similar features to preserve some spatial neighborhood information, so that the image classification is more computationally efficient than directly using pixel classification. Today, superpixels have been widely used in computer vision fields, such as image classification, image segmentation, image enhancement, foreground extraction, and visual object tracking.
随着极化合成孔径雷达SAR的发展,PolSAR图像已广泛应用于土地资源监测和破坏评估,极化SAR图像分类也是一个重要的研究方向,由于超像素能够在保持区域一致性的同时降低计算复杂度,基于超像素的极化SAR图像分类方法也已经被广泛研究。With the development of Polarimetric Synthetic Aperture Radar SAR, PolSAR images have been widely used in land resource monitoring and damage assessment. Polarimetric SAR image classification is also an important research direction, since superpixels can reduce computational complexity while maintaining regional consistency. Degree, superpixel-based polarimetric SAR image classification methods have also been extensively studied.
几乎所有的超像素产生方法都具有多样性,可以作为预处理方法用于各种应用场合。多样性是一个优势,但由于在生成超像素的过程中没有考虑到应用场景本身的特定性质,因而导致超像素生成结果在具体的应用场景中表现不能达到最好。也就是说,超像素作为极化SAR图像分类的预处理应考虑两个主要方面,一方面是极化SAR图像的特性,即极化散射信息,另一方面是分类精度要求。Almost all superpixel generation methods are diverse and can be used as preprocessing methods for various applications. Diversity is an advantage, but since the specific nature of the application scene itself is not considered in the process of generating superpixels, the results of superpixel generation cannot achieve the best performance in specific application scenarios. That is to say, two main aspects should be considered for superpixels as the preprocessing of polarimetric SAR image classification, one is the characteristics of polarimetric SAR images, that is, polarimetric scattering information, and the other is the classification accuracy requirements.
R.Achanta等人在“Slic superpixels compared to state-of-the-artsuperpixel methods”提出了简单线性迭代聚类SLIC方法,该方法是使用k-means聚类算法来产生超像素,超像素的数量和紧凑程度可以通过参数来调节。SLIC作为一种通用性的超像素产生方法,由于没有利用极化SAR图像中的极化散射信息,因此在极化SAR图像上产生的超像素的精度不高。R. Achanta et al. proposed a simple linear iterative clustering SLIC method in "Slic superpixels compared to state-of-the-artsuperpixel methods", which uses the k-means clustering algorithm to generate superpixels, the number of superpixels and The degree of compactness can be adjusted by parameters. As a general superpixel generation method, SLIC does not use the polarization scattering information in the polarization SAR image, so the accuracy of the superpixel generated on the polarization SAR image is not high.
Y.Guo等人在“Fuzzy superpixels for polarimetric sar imagesclassification”提出了模糊超像素FS方法,该FS在SLIC方法的基础上提出了模糊超像素的概念,模糊超像素将一些像素划分为待定像素,并不归入到特定的超像素中,因此提高了纯净超像素的比例。但该FS方法由于只利用了极化SAR图像的颜色和空间信息,而没有使用极化散射信息,因此其在极化SAR图像上产生的超像素的精度还有提升空间,且FS方法不能自适应调整待定像素的比例,而是需要针对不同的图像人工进行调整,在要处理的图像数量增加时,参数调整会变得非常不便。Y. Guo et al. proposed the fuzzy superpixel FS method in "Fuzzy superpixels for polarimetric sar images classification". The FS proposed the concept of fuzzy superpixel based on the SLIC method. The fuzzy superpixel divides some pixels into undetermined pixels. Not classified into a specific superpixel, thus increasing the proportion of pure superpixels. However, since the FS method only uses the color and spatial information of the polarimetric SAR image, and does not use the polarimetric scattering information, the accuracy of the superpixels generated on the polarimetric SAR image still has room for improvement, and the FS method cannot automatically To adapt to adjust the ratio of undetermined pixels, it needs to be adjusted manually for different images. When the number of images to be processed increases, parameter adjustment will become very inconvenient.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于针对上述现有技术的不足,提出一种用于极化SAR图像分类的超像素产生方法,以提高超像素分类精度,实现对待定像素比例的自适应调整。The purpose of the present invention is to provide a superpixel generation method for polarimetric SAR image classification in view of the above-mentioned deficiencies of the prior art, so as to improve the superpixel classification accuracy and realize self-adaptive adjustment of the pixel ratio to be determined.
本发明的技术思路是:除了颜色和空间信息外,通过SAR图像的极化散射信息产生超像素;通过像素之间的相关性自适应确定待定像素占整体像素的比例,其实现步骤包括如下:The technical idea of the present invention is: in addition to color and space information, superpixels are generated by polarization scattering information of SAR images; the ratio of undetermined pixels to overall pixels is adaptively determined by correlation between pixels, and the implementation steps include the following:
(1)设定期望得到的超像素数K,阈值E,最大迭代次数I,距离权重参数mf;(1) Set the desired number of superpixels K, the threshold E, the maximum number of iterations I, and the distance weight parameter mf;
(2)初始化超像素的聚类中心,找出不重叠的搜索区域和重叠的搜索区域;(2) Initialize the cluster centers of superpixels to find non-overlapping search areas and overlapping search areas;
(3)生成模糊超像素,即将像素划分为超像素和待定像素两部分:(3) Generate fuzzy superpixels, that is, divide the pixels into two parts: superpixels and undetermined pixels:
(3a)更新重叠搜索区域内像素相应的聚类中心为:其中cj表示此重叠区域内像素对应于超像素j的聚类中心,n为该重叠搜索区域内的像素总数,xi表示该重叠搜索区域内的第i个像素点的特征,uij表示像素点i与其对应于超像素j的聚类中心的隶属度,m为隶属度的正则化参数,i取值都是从1到n;(3a) Update the corresponding cluster centers of pixels in the overlapping search area as: where c j represents the cluster center of the pixels in the overlapping area corresponding to superpixel j, n is the total number of pixels in the overlapping search area, x i represents the feature of the i-th pixel in the overlapping search area, and u ij represents The membership degree of the pixel point i and the cluster center corresponding to the superpixel j, m is the regularization parameter of the membership degree, and the value of i is from 1 to n;
(3b)更新重叠搜索区域中像素i与第j个超像素聚类中心之间的隶属度为:其中c表示该重叠搜索区域为c个聚类中心搜索区域的重叠部分,Dij为第i个像素到第j个像素的距离,Dik为第i个像素到第k个聚类中心的距离,m为隶属度的正则化参数,k取值为从1到c;(3b) Update the membership degree between pixel i and the jth superpixel cluster center in the overlapping search area as: where c indicates that the overlapping search area is the overlapping part of the c cluster center search areas, D ij is the distance from the i-th pixel to the j-th pixel, and D ik is the distance from the i-th pixel to the k-th cluster center , m is the regularization parameter of membership degree, and k is from 1 to c;
(3c)重复步骤(3a)到(3b)直到最大迭代次数I或者两次迭代之间聚类中心的变化小于E;(3c) Repeat steps (3a) to (3b) until the maximum number of iterations I or the change of the cluster center between two iterations is less than E;
(3d)计算模糊相似关系矩阵:其中:表示第i个像素与第j个像素之间的模糊相似关系值,feat表示SAR特征图的第t个通道,featmax,featmin分别表示特征图第t个通道中的最大值和最小值,如果rij小于零,则令rij=0;(3d) Calculate the fuzzy similarity relationship matrix: in: Represents the fuzzy similarity relationship value between the ith pixel and the jth pixel, fea t represents the t-th channel of the SAR feature map, fea t max, fea t min represent the maximum value in the t-th channel of the feature map and The minimum value, if ri ij is less than zero, then let ri ij =0;
(3e)计算重叠搜索区域的关联度矩阵:其中U为该重叠搜索区域内所有像素与各个聚类中心之间的隶属度所构成的矩阵,矩阵大小为n×c;(3e) Calculate the relevance matrix of overlapping search regions: where U is the matrix formed by the membership degrees between all pixels in the overlapping search area and each cluster center, and the size of the matrix is n×c;
(3f)计算聚类中心之间的差异度:其中Etq为关联度矩阵E的第t行第q列的元素,sum(diag(E))表示关联度矩阵E对角元素之和;(3f) Calculate the degree of difference between cluster centers: Where E tq is the element of the t-th row and the q-th column of the correlation matrix E, and sum(diag(E)) represents the sum of the diagonal elements of the correlation matrix E;
(3g)根据等式P=0.5×Fand P<1确定重叠搜索区域中待定像素的比例;(3g) Determine the proportion of undetermined pixels in the overlapping search area according to the equation P=0.5×Fand P<1;
(3h)根据隶属度矩阵U和自适应确定的待定像素的比例P生成模糊超像素,即将隶属度矩阵U中每一行的最大元素从大到小进行排序,将排序在第n×P位前的像素归入到该行最大元素所在列对应的超像素中,将排序在第n×P位后的像素确定为待定像素,其中n为隶属度矩阵U的行数;(3h) Generate fuzzy superpixels according to the membership matrix U and the adaptively determined proportion P of undetermined pixels, that is, sort the largest elements of each row in the membership matrix U from large to small, and sort them before the n×Pth bit The pixel of , is classified into the superpixel corresponding to the column where the largest element of the row is located, and the pixel after the n×Pth bit is determined as the undetermined pixel, where n is the number of rows of the membership matrix U;
(4)以每个待定像素为中心,在其周围M×M的区域中,查找该区域内的超像素个数:若超像素个数大于1,则将此区域内的像素全标记为待定像素,若超像素个数等于1,则将该待定像素归入此超像素内。(4) Taking each undetermined pixel as the center, in the surrounding M×M area, find the number of superpixels in this area: if the number of superpixels is greater than 1, then mark all the pixels in this area as undetermined If the number of superpixels is equal to 1, the pending pixel is included in this superpixel.
本发明与现有技术相比具有以下优点:Compared with the prior art, the present invention has the following advantages:
第一,本发明利用了颜色特征,空间特征和极化SAR图像的极化散射特征来生成超像素,因此更适用于极化SAR图像的超像素生成。First, the present invention utilizes color features, spatial features and polarization scattering features of polarimetric SAR images to generate superpixels, so it is more suitable for superpixel generation of polarimetric SAR images.
第二,本发明由于重叠搜索区域内待定像素的比例是通过重叠搜索区域内像素间的关联程度自适应调节,因此降低了参数调整的复杂度,提高了超像素分割结果的准确度。Second, the present invention reduces the complexity of parameter adjustment and improves the accuracy of superpixel segmentation results because the proportion of undetermined pixels in the overlapping search area is adaptively adjusted by the degree of association between pixels in the overlapping search area.
附图说明Description of drawings
图1为本发明的实现流程图;Fig. 1 is the realization flow chart of the present invention;
图2为用本发明在Flevoland图像上产生超像素结果的仿真结果图;Fig. 2 is the simulation result figure that produces superpixel result on Flevoland image with the present invention;
图3为用本发明中在ESAR图像上产生超像素的仿真结果图;Fig. 3 is the simulation result figure that produces superpixel on ESAR image with the present invention;
图4为用本发明中在San Francisco图像上产生超像素的仿真结果图;Fig. 4 is the simulation result figure that produces superpixel on San Francisco image with the present invention;
具体实施方式Detailed ways
下面结合附图,对本发明的实例和效果做进一步的详细描述。The examples and effects of the present invention will be further described in detail below in conjunction with the accompanying drawings.
参照图1,对本发明的具体实施步骤做进一步的详细描述:1, the specific implementation steps of the present invention are described in further detail:
步骤1,根据要处理的数据设定合适的超参数。
获取尺寸为300×270的极化SAR图像Flevoland,设该图像的预期超像素个数K为500,模糊相似关系的权重mf设为0.6,阈值E设为0.001,隶属度的正则化参数m设为2,最大迭代次数it设为500;Obtain the polarimetric SAR image Flevoland with a size of 300 × 270, set the expected number of superpixels K in the image to be 500, the weight mf of the fuzzy similarity relationship is set to 0.6, the threshold E is set to 0.001, and the regularization parameter m of the membership degree is set to is 2, and the maximum number of iterations it is set to 500;
步骤2,初始化聚类中心,找出非重叠搜索区域和重叠搜索区域。Step 2, initialize the cluster center, find out the non-overlapping search area and the overlapping search area.
(2a)根据超像素的所需数量,在规则网格上以S个像素间隔选择K个聚类中心,N为图像中像素的总数;(2a) According to the required number of superpixels, K cluster centers are selected at S pixel intervals on a regular grid, N is the total number of pixels in the image;
(2b)将聚类中心移到3×3邻域中的最低梯度位置,对于每个聚类中心,设置查找相似像素的搜索区域大小为2S×2S;(2b) Move the cluster center to the lowest gradient position in the 3×3 neighborhood, and for each cluster center, set the size of the search area to find similar pixels to 2S×2S;
(2c)用两个或多个聚类中心相对应的搜索区域中重叠的像素构成为重叠搜索区域;用只包含在一个聚类中心的搜索区域中的像素构成非重叠搜索区域;(2c) Form an overlapping search area with overlapping pixels in the search areas corresponding to two or more cluster centers; form a non-overlapping search area with pixels only included in the search area of one cluster center;
步骤3,生成模糊超像素,即将像素划分为超像素和待定像素两部分。Step 3, generating fuzzy superpixels, that is, dividing the pixels into two parts: superpixels and undetermined pixels.
(3a)更新重叠搜索区域内像素相应的聚类中心为:其中cj表示此重叠区域内像素对应于超像素j的聚类中心,n为该重叠搜索区域内的像素总数,xi表示该重叠搜索区域内的第i个像素点的特征,uij表示像素点i与其对应于超像素j的聚类中心的隶属度,m为隶属度的正则化参数,i,j取值都是从1到n;(3a) Update the corresponding cluster centers of pixels in the overlapping search area as: where c j represents the cluster center of the pixels in the overlapping area corresponding to superpixel j, n is the total number of pixels in the overlapping search area, x i represents the feature of the i-th pixel in the overlapping search area, and u ij represents The membership degree of the pixel point i and its cluster center corresponding to the superpixel j, m is the regularization parameter of the membership degree, and the values of i and j are from 1 to n;
(3b)更新重叠搜索区域中第i个像素与第j个超像素聚类中心之间的隶属度其中c表示该重叠搜索区域内聚类中心的个数,Dij为第i个像素到第j个像素的距离,Dik为第i个像素到第k个聚类中心的距离,m为隶属度的正则化参数,k取值为从1到c;(3b) Update the membership between the i-th pixel and the j-th superpixel cluster center in the overlapping search area where c represents the number of cluster centers in the overlapping search area, D ij is the distance from the i-th pixel to the j-th pixel, D ik is the distance from the i-th pixel to the k-th cluster center, and m is the membership Degree regularization parameter, k takes value from 1 to c;
(3b1)分别计算第i个像素到第j个像素的空间距离dsij和颜色特征距离dcij:(3b1) Calculate the spatial distance ds ij from the i-th pixel to the j-th pixel and the color feature distance dc ij :
其中sxi,syi表示第i个像素的空间特征,sxj,syj表示第j个像素的空间特征,li,ai,bi表示第i个像素在色彩空间lab中的颜色特征,lj,aj,bj表示第j个像素在色彩空间lab中的颜色特征;where sx i , sy i represent the spatial features of the ith pixel, sx j , sy j represent the spatial features of the j th pixel, l i , a i , b i represent the color features of the ith pixel in the color space lab , l j , a j , b j represent the color feature of the jth pixel in the color space lab;
(3b2)根据(3b1)的结果,计算得到第i个像素与第j个超像素聚类中心之间的距离Dij:(3b2) According to the result of (3b1), calculate the distance D ij between the i-th pixel and the j-th superpixel cluster center:
其中dscij=dsij+dcij为空间特征距离dsij与颜色特征距离dcij的和,rij表示根据极化散射信息计算的第i个像素与第j个像素之间的模糊相似关系值,mf为模糊相似关系值的权重。where dsc ij =ds ij +dc ij is the sum of the spatial characteristic distance ds ij and the color characteristic distance dc ij , and r ij represents the fuzzy similarity value between the ith pixel and the jth pixel calculated according to the polarization scattering information , mf is the weight of the fuzzy similarity value.
(3b3)计算第i个像素到第k个聚类中心的距离Dik,计算方法与Dij计算方法相同;(3b3) Calculate the distance Di ik from the i-th pixel to the k-th cluster center, and the calculation method is the same as that of D ij ;
(3b4)更新重叠搜索区域第i个像素与第j个超像素聚类中心之间的隶属度(3b4) Update the membership degree between the i-th pixel and the j-th superpixel cluster center in the overlapping search area
(3c)重复步骤(3a)到(3b),直到最大迭代次数it或者两次迭代之间聚类中心的变化小于阈值E;(3c) Repeat steps (3a) to (3b) until the maximum number of iterations it or the change of the cluster center between two iterations is less than the threshold E;
(3d)计算模糊相似关系矩阵 (3d) Calculate the fuzzy similarity relationship matrix
(3d1)计算第i个像素与第j个像素的模糊相似关系值: (3d1) Calculate the fuzzy similarity value between the ith pixel and the jth pixel:
其中,feat表示SAR特征图的第t个通道,featmax,featmin分别表示特征图第t个通道中的最大值和最小值,如果rij小于零,则令rij=0,t的取值范围为1到9;Among them, fea t represents the t-th channel of the SAR feature map, and fea t max and fea t min represent the maximum and minimum values in the t-th channel of the feature map, respectively. If r ij is less than zero, then set r ij =0, The value range of t is 1 to 9;
(3d2)计算重叠搜索区域内所有n个像素之间的模糊相似关系值,组成模糊相似关系矩阵 (3d2) Calculate the fuzzy similarity relationship value between all n pixels in the overlapping search area, and form a fuzzy similarity relationship matrix
(3e)计算重叠搜索区域的关联度矩阵:(3e) Calculate the relevance matrix of overlapping search regions:
其中,U为该重叠搜索区域内所有像素与各个聚类中心之间的隶属度矩阵,矩阵大小为n×c,n为重叠搜索区域内像素个数,c表示该重叠搜索区域内聚类中心的个数,UT表示矩阵U的转置;Among them, U is the membership matrix between all pixels in the overlapping search area and each cluster center, the size of the matrix is n×c, n is the number of pixels in the overlapping search area, and c represents the cluster center in the overlapping search area The number of , U T represents the transpose of the matrix U;
(3f)计算聚类中心之间的差异度:(3f) Calculate the degree of difference between cluster centers:
其中,Etq为关联度矩阵E的第t行第q列的元素,sum(diag(E))表示关联度矩阵E对角元素之和;Among them, E tq is the element of the t-th row and the q-th column of the correlation degree matrix E, and sum(diag(E)) represents the sum of the diagonal elements of the correlation degree matrix E;
(3g)根据等式P=0.5×Fand P<1确定重叠搜索区域中待定像素的比例;(3g) Determine the proportion of undetermined pixels in the overlapping search area according to the equation P=0.5×Fand P<1;
(3h)根据隶属度矩阵U和自适应确定的待定像素的比例P生成模糊超像素,即将隶属度矩阵U中每一行的最大元素从大到小进行排序,将排序在第n×P位前的像素归入到该行最大元素所在列对应的超像素中,将排序在第n×P位后的像素确定为待定像素,其中n为隶属度矩阵U的行数。(3h) Generate fuzzy superpixels according to the membership matrix U and the adaptively determined proportion P of undetermined pixels, that is, sort the largest elements of each row in the membership matrix U from large to small, and sort them before the n×Pth bit The pixels of , are classified into the superpixels corresponding to the column where the largest element of the row is located, and the pixels after the n×Pth bit are determined as undetermined pixels, where n is the number of rows of the membership matrix U.
步骤4,根据超像素个数进行类别标记。Step 4: Perform category labeling according to the number of superpixels.
以每个待定像素为中心,在其周围的M×M区域中,查找该区域内的超像素个数:Taking each undetermined pixel as the center, in the M×M area around it, find the number of superpixels in this area:
若超像素个数大于1,则将此区域内的像素全标记为待定像素;If the number of superpixels is greater than 1, all the pixels in this area are marked as pending pixels;
若超像素个数等于1,则将该待定像素归入此超像素内;If the number of superpixels is equal to 1, the pending pixel is classified into this superpixel;
若超像素个数小于1,则不进行任何处理。If the number of superpixels is less than 1, no processing is performed.
下面结合仿真实验对本发明的效果做进一步详细描述。The effects of the present invention will be further described in detail below in conjunction with simulation experiments.
1.仿真实验条件1. Simulation experimental conditions
仿真采用公开数据Flevoland,ESAR和San Francisco三张极化SAR图像。仿真所用的处理器为AMD@Ryzen5 2600,仿真平台为windows10,仿真软件为matlab 2018b。The simulation uses public data Flevoland, ESAR and San Francisco three polarimetric SAR images. The processor used for the simulation is AMD @ Ryzen5 2600, the simulation platform is windows10, and the simulation software is matlab 2018b.
仿真使用的已有的超像素生成方法,包括:SLIC,LSC,USEAQ,LearnedS,FS。The existing superpixel generation methods used in the simulation include: SLIC, LSC, USEAQ, LearnedS, FS.
2.仿真实验内容及其仿真实验结果分析:2. Simulation experiment content and simulation experiment result analysis:
仿真实验一,使用本发明与已有的超像素生成方法在极化SAR图像Flevoland上进行超像素生成,再利用超像素结果进行分类,比较分类精度,生成超像素的个数为500时的结果如图2,其中:Simulation experiment one, using the present invention and the existing superpixel generation method to generate superpixels on the polarimetric SAR image Flevoland, and then use the superpixel results to classify, compare the classification accuracy, and generate the results when the number of superpixels is 500 Figure 2, where:
图2(f)为用本发明方法在Flevoland数据上的超像素生成结果,Fig. 2 (f) is the superpixel generation result on Flevoland data with the inventive method,
图2(a)为用SLIC方法在在Flevoland数据上的超像素生成结果,Figure 2(a) shows the result of superpixel generation on Flevoland data using the SLIC method,
图2(b)为用LSC方法在Flevoland数据上的超像素生成结果,Figure 2(b) is the result of superpixel generation on Flevoland data by LSC method,
图2(c)为用USEAQ方法在Flevoland数据上的超像素生成结果,Figure 2(c) shows the result of superpixel generation on Flevoland data using the USEAQ method,
图2(d)为用LearnedS方法在Flevoland数据上的超像素生成结果,Figure 2(d) shows the result of superpixel generation on Flevoland data using the LearnedS method,
图2(e)为用FS方法在Flevoland数据上的超像素生成结果。Figure 2(e) shows the results of superpixel generation on Flevoland data using the FS method.
由图2可见,本发明方法在Flevoland数据上的超像素生成结果相比于现有的五种方法,产生的超像素中所有像素都为同一类的超像素比例更高,同时超像素轮廓与图像中类别边界更加贴合。As can be seen from Figure 2, the superpixel generation result of the method of the present invention on Flevoland data is compared with the existing five methods, and all the pixels in the generated superpixels are the same type of superpixels. The class boundaries in the image fit better.
统计使用上述6种超像素生成方法在Flevoland数据上的结果进行分类的精度,如表一Statistical accuracy of classification using the results of the above six superpixel generation methods on Flevoland data, as shown in Table 1
表一使用不同超像素生成方法在Flevoland的结果进行分类的精度对比Table 1. Comparison of classification accuracy using different superpixel generation methods in Flevoland
由表一可见,使用本发明在Flevoland数据上的超像素结果进行分类的精度高于现有的SLIC,LSC,USEAQ,LearnedS,FS方法,并且精度波动幅度更小,更加稳定。It can be seen from Table 1 that the classification accuracy using the superpixel results on Flevoland data of the present invention is higher than that of the existing SLIC, LSC, USEAQ, LearnedS, and FS methods, and the accuracy fluctuation range is smaller and more stable.
仿真实验二,使用本发明与已有的超像素生成方法在极化SAR图像ESAR上进行超像素生成,再利用超像素结果进行分类,比较分类精度,生成超像素的个数为500时的结果如图3,其中:Simulation experiment 2, use the present invention and the existing superpixel generation method to generate superpixels on the polarimetric SAR image ESAR, then use the superpixel results to classify, compare the classification accuracy, and generate the results when the number of superpixels is 500 Figure 3, where:
图3(f)为用本发明方法在ESAR数据上的超像素生成结果,Fig. 3 (f) is the superpixel generation result on ESAR data with the inventive method,
图3(a)为用SLIC方法在ESAR数据上的超像素生成结果,Figure 3(a) shows the result of superpixel generation on ESAR data using the SLIC method.
图3(b)为用LSC方法在ESAR数据上的超像素生成结果,Figure 3(b) shows the result of superpixel generation on ESAR data by the LSC method,
图3(c)为用USEAQ方法在ESAR数据上的超像素生成结果,Figure 3(c) shows the superpixel generation results on ESAR data using the USEAQ method,
图3(d)为用LearnedS方法在ESAR数据上的超像素生成结果,Figure 3(d) shows the result of superpixel generation on ESAR data using the LearnedS method,
图3(e)为用FS方法在ESAR数据上的超像素生成结果。Figure 3(e) shows the result of superpixel generation on ESAR data using the FS method.
由图3可见,本发明方法在ESAR数据上的超像素生成结果相比于现有的五种方法,产生的超像素中所有像素都为同一类的超像素比例更高,同时超像素轮廓与图像中类别边界更加贴合。As can be seen from Figure 3, the superpixel generation result of the method of the present invention on ESAR data is compared with the existing five methods, and all the pixels in the generated superpixels are the same type of superpixel ratio higher, while the superpixel outline and The class boundaries in the image fit better.
统计使用上述6种方法在ESAR数据上的超像素结果进行分类的精度,如表二Statistics on the classification accuracy of superpixel results on ESAR data using the above 6 methods, as shown in Table 2
表二使用不同方法在ESAR的超像素结果进行分类的精度对比Table 2. Comparison of the classification accuracy of ESAR superpixel results using different methods
由表二可见,使用本发明在ESAR数据上的超像素结果进行分类的精度高于现有的SLIC,LSC,USEAQ,LearnedS,FS方法,并且精度波动幅度更小,更加稳定。It can be seen from Table 2 that the classification accuracy using the superpixel results on ESAR data of the present invention is higher than that of the existing SLIC, LSC, USEAQ, LearnedS, and FS methods, and the accuracy fluctuation range is smaller and more stable.
仿真实验三,使用本发明与已有的超像素生成方法在极化SAR图像San Francisco上进行超像素生成,再利用超像素结果进行分类,比较分类精度,生成超像素的个数为500时的结果如图4,其中:Simulation experiment three, use the present invention and the existing superpixel generation method to generate superpixels on the polarimetric SAR image San Francisco, and then use the superpixel results to classify, compare the classification accuracy, and generate the number of superpixels when 500. The results are shown in Figure 4, where:
图4(f)为用本发明方法在San Francisco数据上的超像素生成结果,Fig. 4 (f) is the superpixel generation result on San Francisco data with the inventive method,
图4(a)为用SLIC方法在San Francisco数据上的超像素生成结果,Figure 4(a) is the result of superpixel generation on San Francisco data using SLIC method,
图4(b)为用LSC方法在San Francisco数据上的超像素生成结果,Figure 4(b) is the superpixel generation result on the San Francisco data using the LSC method,
图4(c)为用USEAQ方法在San Francisco数据上的超像素生成结果,Figure 4(c) is the result of superpixel generation on the San Francisco data using the USEAQ method,
图4(d)为用LearnedS方法在San Francisco数据上的超像素生成结果,Figure 4(d) shows the result of superpixel generation on the San Francisco data using the LearnedS method,
图4(e)为用FS方法在San Francisco数据上的超像素生成结果,Figure 4(e) is the result of superpixel generation on San Francisco data by FS method,
由图4可见,本发明方法在San Francisco数据上的超像素生成结果相比于现有的五种方法,产生的超像素中所有像素都为同一类的超像素比例更高,同时超像素轮廓与图像中类别边界更加贴合。As can be seen from Figure 4, the superpixel generation result of the method of the present invention on the San Francisco data is compared with the existing five methods, and all the pixels in the superpixels produced are the same type of superpixels. The ratio is higher, while the superpixel outline Fits more closely with the class boundaries in the image.
统计上述6种方法在San Francisco数据上生成相同数量的超像素时的精度,如表三。The accuracy of the above six methods when generating the same number of superpixels on San Francisco data is calculated, as shown in Table 3.
表三使用不同方法在San Francisco的超像素结果进行分类的精度对比Table 3. Comparison of the classification accuracy of superpixel results in San Francisco using different methods
由表三可见,使用本发明在San Francisco数据上的超像素结果进行分类的精度高于现有的SLIC,LSC,USEAQ,LearnedS,FS方法,并且精度波动幅度更小,更加稳定。It can be seen from Table 3 that the classification accuracy using the superpixel results on the San Francisco data of the present invention is higher than that of the existing SLIC, LSC, USEAQ, LearnedS, and FS methods, and the accuracy fluctuation range is smaller and more stable.
综上所述,本发明在三张极化SAR图像上的表现,均高于现有的超像素生成方法。To sum up, the performance of the present invention on the three polarimetric SAR images is higher than that of the existing superpixel generation methods.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911017077.9A CN110781954A (en) | 2019-10-24 | 2019-10-24 | Adaptive fuzzy superpixel generation method for polarized SAR image classification |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911017077.9A CN110781954A (en) | 2019-10-24 | 2019-10-24 | Adaptive fuzzy superpixel generation method for polarized SAR image classification |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110781954A true CN110781954A (en) | 2020-02-11 |
Family
ID=69387381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911017077.9A Pending CN110781954A (en) | 2019-10-24 | 2019-10-24 | Adaptive fuzzy superpixel generation method for polarized SAR image classification |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110781954A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103413316A (en) * | 2013-08-24 | 2013-11-27 | 西安电子科技大学 | SAR image segmentation method based on superpixels and optimizing strategy |
CN103824300A (en) * | 2014-03-12 | 2014-05-28 | 西安电子科技大学 | SAR (synthetic aperture radar) image segmentation method based on spatial correlation feature ultra-pixel block |
-
2019
- 2019-10-24 CN CN201911017077.9A patent/CN110781954A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103413316A (en) * | 2013-08-24 | 2013-11-27 | 西安电子科技大学 | SAR image segmentation method based on superpixels and optimizing strategy |
CN103824300A (en) * | 2014-03-12 | 2014-05-28 | 西安电子科技大学 | SAR (synthetic aperture radar) image segmentation method based on spatial correlation feature ultra-pixel block |
Non-Patent Citations (2)
Title |
---|
Y. GUO等: "Fuzzy Superpixels for Polarimetric SAR Images Classification", 《IEEE TRANSACTIONS ON FUZZY SYSTEMS》 * |
郭雨薇: "基于超像素表征和模糊特征学习的图像分类与识别", 《中国博士学位论文全文数据库 信息科技辑》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110443143B (en) | Remote sensing image scene classification method based on multi-branch convolutional neural network fusion | |
WO2022199583A1 (en) | Image processing method and apparatus, computer device, and storage medium | |
Xie et al. | Visual saliency detection based on Bayesian model | |
CN103824050B (en) | A kind of face key independent positioning method returned based on cascade | |
CN106815842B (en) | improved super-pixel-based image saliency detection method | |
CN110705344B (en) | Crowd counting model based on deep learning and implementation method thereof | |
CN107977660A (en) | Region of interest area detecting method based on background priori and foreground node | |
CN107564022A (en) | Saliency detection method based on Bayesian Fusion | |
CN105701467A (en) | Many-people abnormal behavior identification method based on human body shape characteristic | |
CN105809672A (en) | Super pixels and structure constraint based image's multiple targets synchronous segmentation method | |
CN113344103B (en) | Hyperspectral remote sensing image ground object classification method based on hypergraph convolution neural network | |
CN103020992A (en) | Video image significance detection method based on dynamic color association | |
CN108629783A (en) | Image partition method, system and medium based on the search of characteristics of image density peaks | |
CN110633640A (en) | Optimize PointNet's recognition method for complex scenes | |
CN103456017B (en) | Image partition method based on the semi-supervised weight Kernel fuzzy clustering of subset | |
CN107862680A (en) | A kind of target following optimization method based on correlation filter | |
Qian et al. | A hybrid network with structural constraints for SAR image scene classification | |
CN107423771A (en) | A kind of two phase method for detecting change of remote sensing image | |
CN110135435B (en) | Saliency detection method and device based on breadth learning system | |
CN105005987A (en) | SAR image superpixel generating method based on general gamma distribution | |
CN107564008A (en) | Rapid SAR image segmentation method based on crucial pixel fuzzy clustering | |
CN104778683B (en) | A Multimodal Image Segmentation Method Based on Functional Mapping | |
Zhang | Feature mining simulation of video image information in multimedia learning environment based on BOW algorithm | |
CN110781954A (en) | Adaptive fuzzy superpixel generation method for polarized SAR image classification | |
CN106530319A (en) | Video object cooperative segmentation method based on track directed graph |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200211 |
|
WD01 | Invention patent application deemed withdrawn after publication |