WO2019090509A1 - Hyperspectral image classification method and system - Google Patents

Hyperspectral image classification method and system Download PDF

Info

Publication number
WO2019090509A1
WO2019090509A1 PCT/CN2017/109914 CN2017109914W WO2019090509A1 WO 2019090509 A1 WO2019090509 A1 WO 2019090509A1 CN 2017109914 W CN2017109914 W CN 2017109914W WO 2019090509 A1 WO2019090509 A1 WO 2019090509A1
Authority
WO
WIPO (PCT)
Prior art keywords
classified
test set
feature point
local feature
feature points
Prior art date
Application number
PCT/CN2017/109914
Other languages
French (fr)
Chinese (zh)
Inventor
李岩山
王贤辰
谢维信
Original Assignee
深圳大学
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 深圳大学 filed Critical 深圳大学
Priority to PCT/CN2017/109914 priority Critical patent/WO2019090509A1/en
Publication of WO2019090509A1 publication Critical patent/WO2019090509A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition

Abstract

The present invention is applicable to image classification. Provided is a hyperspectral image classification method, comprising: dividing hyperspectral images into a training set and a test set and extracting local feature points; calculating the local feature points of the training set by means of a K-means algorithm to form a dictionary; forming the nearest neighbor words in the dictionary for local feature points to be classified of the test set by using a KNN algorithm, and searching for the nearest neighbor feature points for feature points to be classified of the images in the test set; searching for the neighbor word with the shortest spectral dimension distance from among the nearest neighbor words; introducing the three constraints of the neighbor feature points, the neighbor words and the spectral dimension distance; solving the constraint least absolute fitting problem to obtain a coding coefficient; and pooling the coding coefficient by means of a max-pooling algorithm and classifying the test set by taking the obtained coding coefficient as a feature descriptor of the hyperspectral images. The problem of uncertainty when a mapping relationship between a hyperspectral image feature point and a dictionary word is established is solved, and the discernment of similar images is improved.

Description

一种高光谱图像的分类方法及系统Method and system for classifying hyperspectral image 技术领域Technical field
本发明属于图像处理技术领域,尤其涉及一种高光谱图像的分类方法及系统。The invention belongs to the technical field of image processing, and in particular relates to a method and a system for classifying hyperspectral images.
背景技术Background technique
高光谱图像相比于灰度图、RGB彩色图,包含了空间和光谱的信息,数据量大,在检测伪装和隐蔽的军事目标,以及在民用搜救探测目标等方面都有重要的应用。随着高光谱技术的发展,目前的高光谱图像呈现出高空间分辨率的特点,地物目标在高光谱图像上具有丰富的纹理和结构信息,其包含的光谱信息也非常复杂和丰富。Compared with grayscale and RGB color maps, hyperspectral images contain spatial and spectral information, large amounts of data, and have important applications in detecting camouflage and concealed military targets, as well as in civilian search and rescue targets. With the development of hyperspectral technology, the current hyperspectral image exhibits high spatial resolution. The object target has rich texture and structural information on the hyperspectral image, and the spectral information it contains is also very complicated and rich.
高光谱图像作为遥感领域的一项重大突破,利用很多很窄的电磁波波段从感兴趣的物体获得有用信息,在保留较高空间分辨率同时,其光谱分辨率有极大的提高,达到了纳米的数量级,可以用来探测和识别传统全色和多光谱遥感中不可探测的地物类别。与传统的多光谱遥感图像相比,高光谱遥感图像有着信息量大、光谱分辨率高等特点,这使得在描述与区分地物类别方面的能力有了大幅提高,它使原本在多光谱遥感中无法有效探测的地物得以探测。但是由于高光谱图像具有较高的数据维数,常规的图像分类方法在处理高光谱图像时有较大的限制,如何从大量的高光谱数据中快速而准确地挖掘出所需要的信息,实现高精度的分类,仍是一个亟待解决的问题。As a major breakthrough in the field of remote sensing, hyperspectral imagery uses many narrow electromagnetic wave bands to obtain useful information from objects of interest. While retaining high spatial resolution, its spectral resolution is greatly improved, reaching nanometers. An order of magnitude that can be used to detect and identify undetectable feature categories in traditional panchromatic and multispectral remote sensing. Compared with traditional multi-spectral remote sensing images, hyperspectral remote sensing images have the characteristics of large amount of information and high spectral resolution, which greatly enhances the ability to describe and distinguish the types of features. It makes the original in multi-spectral remote sensing. Ground objects that cannot be effectively detected are detected. However, due to the high data dimension of hyperspectral images, conventional image classification methods have great limitations in processing hyperspectral images. How to quickly and accurately mine the required information from a large number of hyperspectral data to achieve high The classification of precision is still an urgent problem to be solved.
传统的高光谱图像分类主要采用像素级分类方法。传统的遥感监测手段主要由中低分辨率组成。在高光谱图像中,图像上物体的尺寸与像素一样大小。像素级分类方法适合此种高光谱图像分类。然而,随着高光谱传感器技术的发展,高光谱图像中空间和光谱的分辨率都有很大的提高。此时传统的像素级分 类方法已经不能很好的适应高光谱分类。Traditional hyperspectral image classification mainly uses pixel-level classification methods. Traditional remote sensing monitoring methods are mainly composed of medium and low resolution. In hyperspectral images, the size of an object on an image is the same size as a pixel. The pixel-level classification method is suitable for such hyperspectral image classification. However, with the development of hyperspectral sensor technology, the resolution of space and spectrum in hyperspectral images has been greatly improved. Traditional pixel fraction at this time Class methods have not been well adapted to hyperspectral classification.
词袋模型由于其对高光谱图像的简化表示和图像特征与视觉单词的有效编码而被广泛应用。一般来说,词袋模型分类方法如图1所示,主要分以下几个步骤:①从图像中抽取特征点,并进行描述(如SIFT特征,Scale-invariant feature transform,尺度不变特征变换特性);②采取K‐means等方法把生成的特征点训练成视觉词典;③通过图像特征编码方法,把待分类的图像特征映射到视觉词典中的视觉单词;④通过池化算法构成图像描述符;⑤通过支持向量机等分类算法,把图像描述符进行图像分类。高光谱特征编码是将待分类图像特征点量化到视觉单词的过程,编码误差是影响图像分类正确率的主要因素。The word bag model is widely used due to its simplified representation of hyperspectral images and efficient coding of image features and visual words. In general, the classification method of the word bag model is shown in Figure 1. It is mainly divided into the following steps: 1 Extracting feature points from the image and describing them (such as SIFT features, Scale-invariant feature transform, scale-invariant feature transform characteristics) 2; K-means and other methods are used to train the generated feature points into a visual dictionary; 3 through the image feature coding method, the image features to be classified are mapped to visual words in the visual dictionary; 4 through the pooling algorithm to form image descriptors 5 categorize the image descriptors by a classification algorithm such as a support vector machine. Hyperspectral feature coding is the process of quantifying the feature points of the image to be classified into visual words. The coding error is the main factor affecting the correct rate of image classification.
传统高光谱遥感图像分辨率低,不仅光学影像分辨率低,光谱分辨率也低。大多数光学影像分辨率低的是基于像素级的光谱曲线去分析数据,大多情况需要像元解混,而光谱分辨率低则获得的信息量少,容易产生“异物同谱”和“同谱异物”的现象,同时高光谱图像特征点和高光谱单词建立映射关系时存在的不确定性,相似图像的识别力较差。大尺度高分辨率的高光谱是一个高维的精细的大数据特征空间。随着遥感技术和光谱仪成像系统的发展,对目标探测也提出了新的要求。The traditional hyperspectral remote sensing image has low resolution, and the optical image has low resolution and low spectral resolution. Most optical image resolutions are based on pixel-level spectral curves to analyze data. Most of the cases require pixel de-mixing, while low spectral resolution yields less information, which is prone to "foreign matter" and "same spectrum". The phenomenon of foreign matter, and the uncertainty of the mapping relationship between hyperspectral image feature points and hyperspectral words, the recognition of similar images is poor. The large-scale high-resolution hyperspectral is a high-dimensional fine big data feature space. With the development of remote sensing technology and spectroscopic imaging systems, new requirements have been put forward for target detection.
发明内容Summary of the invention
本发明所要解决的技术问题在于提供一种高光谱图像的分类方法及系统,旨在解决现有技术中高光谱图像特征点和高光谱单词建立映射关系时存在的不确定性,相似图像识别力差的问题。The technical problem to be solved by the present invention is to provide a classification method and system for hyperspectral images, aiming at solving the uncertainty existing in the prior art in establishing a mapping relationship between hyperspectral image feature points and hyperspectral words, and the similar image recognition power difference The problem.
本发明是这样实现的,一种高光谱图像的分类方法,包括:The present invention is achieved in such a manner that a method for classifying hyperspectral images includes:
将高光谱图像分为训练集和测试集,分别从所述训练集和所述测试集中抽取训练集的局部特征点和测试集的待分类局部特征点,根据所述训练集的局部特征点和所述测试集的待分类局部特征点构成训练集特征点集和测试集待分类特征点集; The hyperspectral image is divided into a training set and a test set, and local feature points of the training set and local feature points of the test set to be classified are respectively extracted from the training set and the test set, according to local feature points of the training set and The local feature points to be classified of the test set constitute a training set feature point set and a test set to be classified feature point set;
通过K-means算法对所述训练集的局部特征点进行计算,形成词典;Calculating local feature points of the training set by a K-means algorithm to form a dictionary;
采用KNN算法,在所述词典中为所述测试集的待分类局部特征点形成最近邻单词;Using a KNN algorithm to form a nearest neighbor word for the local feature points of the test set to be classified in the dictionary;
采用KNN算法,为所述测试集的待分类特征点查找最近邻特征点;Using the KNN algorithm to find the nearest neighbor feature points for the feature points to be classified of the test set;
在所述最近邻单词中查找出光谱维距离最短的近邻单词;Finding a neighbor word with the shortest spectral distance in the nearest neighbor word;
引入近邻特征点、近邻单词和光谱维距离三重约束,通过求解约束最小乘拟合问题,得到所述测试集待分类特征点集中的待分类局部特征点和词典单词的编码系数;The neighboring feature points, the neighboring words and the spectral dimension distance triple constraint are introduced. By solving the constrained least squares fitting problem, the local feature points of the test set to be classified and the coding coefficients of the dictionary words are obtained.
通过最大池化算法池化所述编码系数,并将池化后得到的编码系数作为所述高光谱图像的特征描述符,根据所述特征描述符对所述高光谱图像的测试集进行分类。The coding coefficients are pooled by a maximum pooling algorithm, and the encoded coefficients obtained by the pooling are used as feature descriptors of the hyperspectral image, and the test set of the hyperspectral image is classified according to the feature descriptor.
进一步地,以Y表示所述测试集的一组待分类局部特征点集,以B表示所述词典,以yi表示Y中的第i个待分类局部特征点,以μi表示yi的对应波段信息,以Z表示所述编码系数,则:Further, the test set to Y represents a group of local feature point set to be classified, when B is a dictionary, a Y y i to the i-th local feature point to be classified, y i expressed in [mu] i of Corresponding to the band information, the coding coefficient is represented by Z, then:
Figure PCTCN2017109914-appb-000001
Figure PCTCN2017109914-appb-000001
其中,di是待分类局部特征点yi和词典单词的欧式距离,dij是待分类局部特征点和近邻特征点之间的欧式距离,hi是yi和词典单词之间光谱维上的欧式距离,λ1、λ2和λ3为惩罚因子。Where d i is the Euclidean distance between the local feature point y i to be classified and the dictionary word, d ij is the Euclidean distance between the local feature point to be classified and the neighbor feature point, h i is the spectral dimension between y i and the dictionary word The Euclidean distance, λ 1 , λ 2 and λ 3 are penalty factors.
进一步地,所述通过求解约束最小乘拟合问题包括:Further, the problem of solving the constrained minimum multiplication by solving includes:
通过求解
Figure PCTCN2017109914-appb-000002
得到所述测试集待分类特征点集中的待分类局部特征点和词典单词的编码系数Z。
By solving
Figure PCTCN2017109914-appb-000002
Obtaining a local feature point to be classified and a coding coefficient Z of the dictionary word in the test set to be classified in the test set.
本发明还提供了一种高光谱图像的分类系统,包括:The invention also provides a classification system for hyperspectral images, comprising:
特征点抽取单元,用于将高光谱图像分为训练集和测试集,分别从所述训练集和所述测试集中抽取训练集的局部特征点和测试集的待分类局部特征点,根据所述训练集的局部特征点和所述测试集的待分类局部特征点构成训练集特 征点集和测试集待分类特征点集;a feature point extracting unit, configured to divide the hyperspectral image into a training set and a test set, respectively extracting a local feature point of the training set and a local feature point of the test set to be classified from the training set and the test set, according to the The local feature points of the training set and the local feature points of the test set to be classified constitute a training set A set of feature points to be classified and a set of test points to be classified;
特征点计算单元,用于通过K-means算法对所述训练集的局部特征点进行计算,形成词典,采用KNN算法,在所述词典中为所述测试集的待分类局部特征点形成最近邻单词,采用KNN算法,为所述测试集的待分类特征点查找最近邻特征点,在所述最近邻单词中查找出光谱维距离最短的近邻单词;a feature point calculation unit, configured to calculate a local feature point of the training set by a K-means algorithm to form a dictionary, and adopt a KNN algorithm to form a nearest neighbor of the local feature points of the test set to be classified in the dictionary a word, using a KNN algorithm, searching for a nearest neighbor feature point for the feature point to be classified of the test set, and finding a neighbor word with the shortest spectral distance in the nearest neighbor word;
图像分类单元,用于引入近邻特征点、近邻单词和光谱维距离三重约束,通过求解约束最小乘拟合问题,得到得到所述测试集待分类特征点集中的待分类局部特征点和词典单词的编码系数,通过最大池化算法池化所述编码系数,并将池化后得到的编码系数作为所述高光谱图像的特征描述符,根据所述特征描述符对所述高光谱图像的测试集进行分类。The image classification unit is used to introduce the neighboring feature points, the neighboring words and the spectral dimension distance triple constraint. By solving the constrained least squares fitting problem, the local feature points and dictionary words to be classified in the test set to be classified are obtained. a coding coefficient, the coding coefficient is pooled by a maximum pooling algorithm, and the encoded coefficient obtained by the pooling is used as a feature descriptor of the hyperspectral image, and the test set of the hyperspectral image is determined according to the feature descriptor sort.
进一步地,以Y表示所述测试集的一组待分类局部特征点集,以B表示所述词典,以yi表示Y中的第i个待分类局部特征点,以μi表示yi的对应波段信息,以Z表示所述编码系数,则:Further, the test set to Y represents a group of local feature point set to be classified, when B is a dictionary, a Y y i to the i-th local feature point to be classified, y i expressed in [mu] i of Corresponding to the band information, the coding coefficient is represented by Z, then:
Figure PCTCN2017109914-appb-000003
Figure PCTCN2017109914-appb-000003
其中,di是待分类局部特征点yi和词典单词的欧式距离,dij是待分类局部特征点和近邻特征点之间的欧式距离,hi是yi和词典单词之间光谱维上的欧式距离,λ1、λ2和λ3为惩罚因子。Where d i is the Euclidean distance between the local feature point y i to be classified and the dictionary word, d ij is the Euclidean distance between the local feature point to be classified and the neighbor feature point, h i is the spectral dimension between y i and the dictionary word The Euclidean distance, λ 1 , λ 2 and λ 3 are penalty factors.
进一步地,所述图像分类单元求解约束最小乘拟合问题的步骤包括:Further, the step of the image classification unit solving the constraint minimum multiplication fitting problem comprises:
通过求解
Figure PCTCN2017109914-appb-000004
得到所述测试集待分类特征点集中的待分类局部特征点和词典单词的编码系数Z。
By solving
Figure PCTCN2017109914-appb-000004
Obtaining a local feature point to be classified and a coding coefficient Z of the dictionary word in the test set to be classified in the test set.
本发明与现有技术相比,有益效果在于:在高光谱单词对高光谱特征点局部约束的基础上,引入高光谱图像波段信息和近邻特征点的局部相关信息的局部约束性作为图像特征点分类的判别项,解决高光谱图像特征点和词典单词建立映射关系时存在的不确定性,提高相似图像的识别力。 Compared with the prior art, the invention has the beneficial effects of introducing the local constraint of the hyperspectral image band information and the local correlation information of the neighbor feature points as the image feature points on the basis of the local constraints of the hyperspectral word points on the hyperspectral features. The classification criterion solves the uncertainty existing in the mapping relationship between hyperspectral image feature points and dictionary words, and improves the recognition ability of similar images.
附图说明DRAWINGS
图1是现有技术提供的词袋模型分类方法的流程图;1 is a flow chart of a method for classifying a word bag model provided by the prior art;
图2是本发明实施例提供的一种高光谱图像的分类方法的流程图;2 is a flowchart of a method for classifying hyperspectral images according to an embodiment of the present invention;
图3是本发明实施例提供的一种高光谱图像的分类系统的结构示意图。FIG. 3 is a schematic structural diagram of a classification system for hyperspectral images according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
图2示出了本发明实施例提供的一种高光谱图像的分类方法,包括:FIG. 2 is a diagram showing a method for classifying hyperspectral images according to an embodiment of the present invention, including:
S201,将高光谱图像分为训练集和测试集,分别从所述训练集和所述测试集中抽取训练集的局部特征点和测试集的待分类局部特征点,根据所述训练集的局部特征点和所述测试集的待分类局部特征点构成训练集特征点集和测试集待分类特征点集;S201. The hyperspectral image is divided into a training set and a test set, and local feature points of the training set and local feature points of the test set to be classified are respectively extracted from the training set and the test set, according to local features of the training set. a point and a local feature point of the test set to be classified constitute a training set feature point set and a test set to be classified feature point set;
S202,通过K-means算法对所述训练集的局部特征点进行计算,形成词典;S202: Calculate local feature points of the training set by using a K-means algorithm to form a dictionary;
S203,采用KNN算法,在所述词典中为所述测试集的待分类局部特征点形成最近邻单词;S203, using a KNN algorithm, in the dictionary, forming a nearest neighbor word for the local feature points of the test set to be classified;
S204,采用KNN算法,为所述测试集的待分类特征点查找最近邻特征点;S204: Using a KNN algorithm, searching for a nearest neighbor feature point for the feature point to be classified of the test set;
S205,在所述最近邻单词中查找出光谱维距离最短的近邻单词;S205. Find a neighbor word with the shortest spectral distance in the nearest neighbor word;
S206,引入近邻特征点、近邻单词和光谱维距离三重约束,通过求解约束最小乘拟合问题,得到所述测试集待分类特征点集中的待分类局部特征点和词典单词的编码系数。在本步骤中,通过求解
Figure PCTCN2017109914-appb-000005
得到所述测试集待分类特征点集中的待分类局部特征点和词典单词的编码系数Z。
S206, introducing a neighboring feature point, a neighboring word and a spectral dimension distance triple constraint, and solving a constrained least squares fitting problem, obtaining a local feature point of the test feature to be classified and a coding coefficient of the dictionary word in the test set to be classified. In this step, by solving
Figure PCTCN2017109914-appb-000005
Obtaining a local feature point to be classified and a coding coefficient Z of the dictionary word in the test set to be classified in the test set.
S207,通过最大池化算法池化所述编码系数,并将池化后得到的编码系数作为所述高光谱图像的特征描述符,根据所述特征描述符对所述高光谱图像的测试集进行分类。 S207. The coding coefficient is pooled by a maximum pooling algorithm, and the encoded coefficient obtained by the pooling is used as a feature descriptor of the hyperspectral image, and the test set of the hyperspectral image is performed according to the feature descriptor. classification.
本发明实施例提供的分类方法提出了三重三维局部性约束线性编码算法,该算法在高光谱单词对高光谱特征点局部约束的基础上,引入高光谱图像波段信息和近邻特征点的局部相关信息的局部约束性作为图像特征点分类的判别项,解决了高光谱图像特征点和高光谱单词建立映射关系时存在的不确定性,提高相似图像的识别力。具体的三重约束是指高光谱单词、近邻特征点和高光谱图像波段信息对高光谱特征点的局部约束。三维是指在高光谱二维空间基础上引入光谱维。三重三维局部性约束线性编码算法模型如下:The classification method provided by the embodiment of the present invention proposes a triple three-dimensional locality constrained linear coding algorithm, which introduces hyperspectral image band information and local related information of neighboring feature points on the basis of local constraints of hyperspectral words on hyperspectral feature points. The local constraint is used as the distinguishing item of image feature point classification, which solves the uncertainty of the mapping relationship between hyperspectral image feature points and hyperspectral words, and improves the recognition ability of similar images. The specific triple constraint refers to the local constraint of hyperspectral words, neighbor feature points and hyperspectral image band information on hyperspectral feature points. Three-dimensional refers to the introduction of spectral dimensions on the basis of hyperspectral two-dimensional space. The three-dimensional three-dimensional local constraint linear coding algorithm model is as follows:
假设Y=[y1,y2,…,yN]∈RD×N表示高光谱图像的测试集的一组特征点集,B=[b1,b2,…,bM]∈RD×M表示词典,yi表示Y中的第i个待分类局部特征点,μi表示表示yi的对应波段信息,其中[μ12,…,μi]∈RD×N,特征点yi和词典B的编码系数Z=[z1,z2,…,zM]∈RD×M是由三重三维局部性约束线性编码算法得到,其计算公式如下:Let Y = [y 1 , y 2 , ..., y N ] ∈ R D × N represent a set of feature points of the test set of the hyperspectral image, B = [b 1 , b 2 , ..., b M ] ∈ R D×M denotes a dictionary, y i denotes the i-th local feature point to be classified in Y, and μ i denotes corresponding band information indicating y i , where [μ 1 , μ 2 , . . . , μ i ]∈R D×N The coding coefficient Z=[z 1 ,z 2 ,...,z M ]∈R D×M of the feature point y i and the dictionary B is obtained by the triple three-dimensional locality constraint linear coding algorithm, and the calculation formula is as follows:
Figure PCTCN2017109914-appb-000006
Figure PCTCN2017109914-appb-000006
其中di是特征点yi和词典单词的欧式距离,特征点dij是待分类特征点和近邻特征点之间的欧式距离,hi是特征点yi和词典单词之间光谱维上的欧式距离。Where d i is the Euclidean distance between the feature point y i and the dictionary word, the feature point d ij is the Euclidean distance between the feature point to be classified and the neighbor feature point, and h i is the spectral dimension between the feature point y i and the dictionary word European distance.
λ1、λ1和λ3为惩罚因子,λ1、λ1和λ3根据高光谱图像的数据集大小及图像特征相似度进行设置。约束条件1Tzi=1同样满足LLC(Locality-constrained Linear Coding,局部约束线性编码)编码系数的平移不变性的要求。上式中的第1项
Figure PCTCN2017109914-appb-000007
为信号保真度,保证分类信号能量不损失;第2项
Figure PCTCN2017109914-appb-000008
是系数zi受特征点的近邻单词的欧式距离约束,保证特征点映射到最近邻的单词;第3项
Figure PCTCN2017109914-appb-000009
是利用系数zi受近邻特征点的约束,用于消除由光线变化、拍摄视角等外界因素引起的高光谱图像分类中的模糊性和不确定性;第4项
Figure PCTCN2017109914-appb-000010
是利用系数zi受特征点的近邻单词的波段约束,保证特征点映射到波段最接近的单词。
λ 1 , λ 1 and λ 3 are penalty factors, and λ 1 , λ 1 and λ 3 are set according to the data set size of the hyperspectral image and the image feature similarity. Constraint 1 T z i =1 also satisfies the requirement of translation invariance of LLC (Locality-constrained Linear Coding) coding coefficients. Item 1 in the above formula
Figure PCTCN2017109914-appb-000007
For signal fidelity, ensure that the classification signal energy is not lost; item 2
Figure PCTCN2017109914-appb-000008
Is the coefficient z i constrained by the Euclidean distance of the nearest neighbor of the feature point, ensuring that the feature point is mapped to the nearest neighbor word;
Figure PCTCN2017109914-appb-000009
The coefficient z i is constrained by the neighboring feature points to eliminate the ambiguity and uncertainty in the classification of hyperspectral image caused by external factors such as light changes and shooting angles;
Figure PCTCN2017109914-appb-000010
It is to use the coefficient z i to be constrained by the band of the neighbor word of the feature point, and to ensure that the feature point is mapped to the word with the closest band.
图3示出了本发明实施例提供的一种高光谱图像的分类系统,包括:FIG. 3 shows a classification system for hyperspectral images provided by an embodiment of the present invention, including:
特征点抽取单元301,用于将高光谱图像分为训练集和测试集,分别从所述训练集和所述测试集中抽取训练集的局部特征点和测试集的待分类局部特征点,根据所述训练集的局部特征点和所述测试集的待分类局部特征点构成训练集特征点集和测试集待分类特征点集;The feature point extraction unit 301 is configured to divide the hyperspectral image into a training set and a test set, and extract local feature points of the training set and local feature points of the test set from the training set and the test set, respectively, according to the The local feature points of the training set and the local feature points of the test set to be composed constitute a training set feature point set and a test set to be classified feature point set;
特征点计算单元302,用于通过K-means算法对所述训练集的局部特征点进行计算,形成词典,采用KNN算法,在所述词典中为所述测试集的待分类局部特征点形成最近邻单词,采用KNN算法,为所述测试集的待分类特征点查找最近邻特征点,在所述最近邻单词中查找出光谱维距离最短的近邻单词;The feature point calculation unit 302 is configured to calculate a local feature point of the training set by using a K-means algorithm to form a dictionary, and adopt a KNN algorithm in which a local feature point to be classified of the test set is formed in the dictionary. a neighboring word, using a KNN algorithm, searching for a nearest neighbor feature point for the feature point to be classified of the test set, and finding a neighbor word with the shortest spectral distance in the nearest neighbor word;
图像分类单元303,用于引入近邻特征点、近邻单词和光谱维距离三重约束,通过求解约束最小乘拟合问题,得到所述测试集待分类特征点集中的待分类局部特征点和词典单词的编码系数,通过最大池化算法池化所述编码系数,并将池化后得到的编码系数作为所述高光谱图像的特征描述符,根据所述特征描述符对所述高光谱图像的测试集进行分类。The image classification unit 303 is configured to introduce a neighboring feature point, a neighboring word, and a spectral dimension distance triple constraint. By solving the constraint minimum multiplication fitting problem, the local feature point and the dictionary word to be classified in the test feature to be classified in the test set are obtained. a coding coefficient, the coding coefficient is pooled by a maximum pooling algorithm, and the encoded coefficient obtained by the pooling is used as a feature descriptor of the hyperspectral image, and the test set of the hyperspectral image is determined according to the feature descriptor sort.
进一步地,以Y表示所述测试集的一组待分类局部特征点集,以B表示所述词典,以yi表示Y中的第i个待分类局部特征点,以μi表示yi的对应波段信息,以Z表示所述编码系数,则:Further, the test set to Y represents a group of local feature point set to be classified, when B is a dictionary, a Y y i to the i-th local feature point to be classified, y i expressed in [mu] i of Corresponding to the band information, the coding coefficient is represented by Z, then:
Figure PCTCN2017109914-appb-000011
Figure PCTCN2017109914-appb-000011
其中,di是待分类局部特征点yi和词典单词的欧式距离,dij是待分类局部特征点和近邻特征点之间的欧式距离,hi是yi和词典单词之间光谱维上的欧式距离,λ1、λ2和λ3为惩罚因子。Where d i is the Euclidean distance between the local feature point y i to be classified and the dictionary word, d ij is the Euclidean distance between the local feature point to be classified and the neighbor feature point, h i is the spectral dimension between y i and the dictionary word The Euclidean distance, λ 1 , λ 2 and λ 3 are penalty factors.
进一步地,图像分类单元303求解约束最小乘拟合问题的步骤包括:Further, the step of the image classification unit 303 solving the constraint minimum multiplication fitting problem includes:
通过求解
Figure PCTCN2017109914-appb-000012
得到所述测试集待分类特征点集中的待分类局部特征点和词典单词的编码系数Z。
By solving
Figure PCTCN2017109914-appb-000012
Obtaining a local feature point to be classified and a coding coefficient Z of the dictionary word in the test set to be classified in the test set.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发 明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。 The above is only the preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims (6)

  1. 一种高光谱图像的分类方法,其特征在于,包括:A method for classifying hyperspectral images, comprising:
    将高光谱图像分为训练集和测试集,分别从所述训练集和所述测试集中抽取训练集的局部特征点和测试集的待分类局部特征点,根据所述训练集的局部特征点和所述测试集的待分类局部特征点构成训练集特征点集和测试集待分类特征点集;The hyperspectral image is divided into a training set and a test set, and local feature points of the training set and local feature points of the test set to be classified are respectively extracted from the training set and the test set, according to local feature points of the training set and The local feature points to be classified of the test set constitute a training set feature point set and a test set to be classified feature point set;
    通过K-means算法对所述训练集的局部特征点进行计算,形成词典;Calculating local feature points of the training set by a K-means algorithm to form a dictionary;
    采用KNN算法,在所述词典中为所述测试集的待分类局部特征点形成最近邻单词;Using a KNN algorithm to form a nearest neighbor word for the local feature points of the test set to be classified in the dictionary;
    采用KNN算法,为所述测试集的待分类特征点查找最近邻特征点;Using the KNN algorithm to find the nearest neighbor feature points for the feature points to be classified of the test set;
    在所述最近邻单词中查找出光谱维距离最短的近邻单词;Finding a neighbor word with the shortest spectral distance in the nearest neighbor word;
    引入近邻特征点、近邻单词和光谱维距离三重约束,通过求解约束最小乘拟合问题,得到所述测试集待分类特征点集中的待分类局部特征点和词典单词的编码系数;The neighboring feature points, the neighboring words and the spectral dimension distance triple constraint are introduced. By solving the constrained least squares fitting problem, the local feature points of the test set to be classified and the coding coefficients of the dictionary words are obtained.
    通过最大池化算法池化所述编码系数,并将池化后得到的编码系数作为所述高光谱图像的特征描述符,根据所述特征描述符对所述高光谱图像的测试集进行分类。The coding coefficients are pooled by a maximum pooling algorithm, and the encoded coefficients obtained by the pooling are used as feature descriptors of the hyperspectral image, and the test set of the hyperspectral image is classified according to the feature descriptor.
  2. 如权利要求1所述的分类方法,其特征在于,以Y表示所述测试集的一组待分类局部特征点集,以B表示所述词典,以yi表示Y中的第i个待分类局部特征点,以μi表示yi的对应波段信息,以Z表示所述编码系数,则:The classification method according to claim 1, wherein a set of local feature points to be classified of the test set is represented by Y, the dictionary is represented by B, and the i-th to be classified in Y is represented by y i For local feature points, the corresponding band information of y i is represented by μ i , and the coding coefficient is represented by Z, then:
    Figure PCTCN2017109914-appb-100001
    Figure PCTCN2017109914-appb-100001
    其中,di是待分类局部特征点yi和词典单词的欧式距离,dij是待分类局部特征点和近邻特征点之间的欧式距离,hi是yi和词典单词之间光谱维上的欧式距离,λ1、λ2和λ3为惩罚因子。Where d i is the Euclidean distance between the local feature point y i to be classified and the dictionary word, d ij is the Euclidean distance between the local feature point to be classified and the neighbor feature point, h i is the spectral dimension between y i and the dictionary word The Euclidean distance, λ 1 , λ 2 and λ 3 are penalty factors.
  3. 如权利要求2所述的分类方法,其特征在于,所述通过求解约束最小乘 拟合问题包括:The classification method according to claim 2, wherein said solving the constraint minimum multiplication The fitting problems include:
    通过求解
    Figure PCTCN2017109914-appb-100002
    得到所述测试集待分类特征点集中的待分类局部特征点和词典单词的编码系数Z。
    By solving
    Figure PCTCN2017109914-appb-100002
    Obtaining a local feature point to be classified and a coding coefficient Z of the dictionary word in the test set to be classified in the test set.
  4. 一种高光谱图像的分类系统,其特征在于,包括:A classification system for hyperspectral images, comprising:
    特征点抽取单元,用于将高光谱图像分为训练集和测试集,分别从所述训练集和所述测试集中抽取训练集的局部特征点和测试集的待分类局部特征点,根据所述训练集的局部特征点和所述测试集的待分类局部特征点构成训练集特征点集和测试集待分类特征点集;a feature point extracting unit, configured to divide the hyperspectral image into a training set and a test set, respectively extracting a local feature point of the training set and a local feature point of the test set to be classified from the training set and the test set, according to the The local feature points of the training set and the local feature points of the test set to be classified constitute a training set feature point set and a test set to be classified feature point set;
    特征点计算单元,用于通过K-means算法对所述训练集的局部特征点进行计算,形成词典,采用KNN算法,在所述词典中为所述测试集的待分类局部特征点形成最近邻单词,采用KNN算法,为所述测试集的待分类特征点查找最近邻特征点,在所述最近邻单词中查找出光谱维距离最短的近邻单词;a feature point calculation unit, configured to calculate a local feature point of the training set by a K-means algorithm to form a dictionary, and adopt a KNN algorithm to form a nearest neighbor of the local feature points of the test set to be classified in the dictionary a word, using a KNN algorithm, searching for a nearest neighbor feature point for the feature point to be classified of the test set, and finding a neighbor word with the shortest spectral distance in the nearest neighbor word;
    图像分类单元,用于引入近邻特征点、近邻单词和光谱维距离三重约束,通过求解约束最小乘拟合问题,得到所述测试集待分类特征点集中的待分类局部特征点和词典单词的编码系数,通过最大池化算法池化所述编码系数,并将池化后得到的编码系数作为所述高光谱图像的特征描述符,根据所述特征描述符对所述高光谱图像的测试集进行分类。The image classification unit is configured to introduce a neighboring feature point, a neighboring word and a spectral dimension distance triple constraint, and obtain a coding of the local feature point to be classified and the dictionary word in the feature set to be classified in the test set by solving the constraint minimum multiplication fitting problem. a coefficient, the coding coefficient is pooled by a maximum pooling algorithm, and the encoded coefficient obtained by the pooling is used as a feature descriptor of the hyperspectral image, and the test set of the hyperspectral image is performed according to the feature descriptor classification.
  5. 如权利要求4所述的分类系统,其特征在于,以Y表示所述测试集的一组待分类局部特征点集,以B表示所述词典,以yi表示Y中的第i个待分类局部特征点,以μi表示yi的对应波段信息,以Z表示所述编码系数,则:The classification system according to claim 4, wherein a set of local feature points to be classified of the test set is represented by Y, the dictionary is represented by B, and the i-th to be classified in Y is represented by y i For local feature points, the corresponding band information of y i is represented by μ i , and the coding coefficient is represented by Z, then:
    Figure PCTCN2017109914-appb-100003
    Figure PCTCN2017109914-appb-100003
    其中,di是待分类局部特征点yi和词典单词的欧式距离,dij是待分类局部特征点和近邻特征点之间的欧式距离,hi是yi和词典单词之间光谱维上的欧式距离,λ1、λ2和λ3为惩罚因子。Where d i is the Euclidean distance between the local feature point y i to be classified and the dictionary word, d ij is the Euclidean distance between the local feature point to be classified and the neighbor feature point, h i is the spectral dimension between y i and the dictionary word The Euclidean distance, λ 1 , λ 2 and λ 3 are penalty factors.
  6. 如权利要求5所述的分类系统,其特征在于,所述图像分类单元求解约 束最小乘拟合问题的步骤包括:The classification system according to claim 5, wherein said image classification unit solves about The steps of the beam minimum multiplication fit problem include:
    通过求解
    Figure PCTCN2017109914-appb-100004
    得到所述测试集待分类特征点集中的待分类局部特征点和词典单词的编码系数Z。
    By solving
    Figure PCTCN2017109914-appb-100004
    Obtaining a local feature point to be classified and a coding coefficient Z of the dictionary word in the test set to be classified in the test set.
PCT/CN2017/109914 2017-11-08 2017-11-08 Hyperspectral image classification method and system WO2019090509A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/109914 WO2019090509A1 (en) 2017-11-08 2017-11-08 Hyperspectral image classification method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/109914 WO2019090509A1 (en) 2017-11-08 2017-11-08 Hyperspectral image classification method and system

Publications (1)

Publication Number Publication Date
WO2019090509A1 true WO2019090509A1 (en) 2019-05-16

Family

ID=66439056

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/109914 WO2019090509A1 (en) 2017-11-08 2017-11-08 Hyperspectral image classification method and system

Country Status (1)

Country Link
WO (1) WO2019090509A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111967182A (en) * 2020-07-24 2020-11-20 天津大学 Hyperspectral modeling method based on mixed marks and used for spectral analysis

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005050533A2 (en) * 2003-11-13 2005-06-02 Honda Motor Co., Ltd. Image clustering with metric, local linear structure, and affine symmetry
CN103208011A (en) * 2013-05-05 2013-07-17 西安电子科技大学 Hyperspectral image space-spectral domain classification method based on mean value drifting and group sparse coding
CN104408466A (en) * 2014-11-17 2015-03-11 中国地质大学(武汉) Semi-supervision and classification method for hyper-spectral remote sensing images based on local stream type learning composition
CN104820840A (en) * 2015-05-08 2015-08-05 西安电子科技大学 Nearest neighborhood hyper-spectral image classification method based on dictionary and band restructuring
CN105809205A (en) * 2016-03-31 2016-07-27 深圳大学 Classification method and system for hyperspectral images
CN106203510A (en) * 2016-07-11 2016-12-07 南京大学 A kind of based on morphological feature with the hyperspectral image classification method of dictionary learning
CN107823793A (en) * 2017-11-21 2018-03-23 孝感葵兴机械科技有限公司 A kind of portable nerve muscular recuperation therapeutic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005050533A2 (en) * 2003-11-13 2005-06-02 Honda Motor Co., Ltd. Image clustering with metric, local linear structure, and affine symmetry
CN103208011A (en) * 2013-05-05 2013-07-17 西安电子科技大学 Hyperspectral image space-spectral domain classification method based on mean value drifting and group sparse coding
CN104408466A (en) * 2014-11-17 2015-03-11 中国地质大学(武汉) Semi-supervision and classification method for hyper-spectral remote sensing images based on local stream type learning composition
CN104820840A (en) * 2015-05-08 2015-08-05 西安电子科技大学 Nearest neighborhood hyper-spectral image classification method based on dictionary and band restructuring
CN105809205A (en) * 2016-03-31 2016-07-27 深圳大学 Classification method and system for hyperspectral images
CN106203510A (en) * 2016-07-11 2016-12-07 南京大学 A kind of based on morphological feature with the hyperspectral image classification method of dictionary learning
CN107823793A (en) * 2017-11-21 2018-03-23 孝感葵兴机械科技有限公司 A kind of portable nerve muscular recuperation therapeutic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111967182A (en) * 2020-07-24 2020-11-20 天津大学 Hyperspectral modeling method based on mixed marks and used for spectral analysis
CN111967182B (en) * 2020-07-24 2024-04-02 天津大学 Mixed-label-based hyperspectral modeling method for spectrum analysis

Similar Documents

Publication Publication Date Title
Zhang et al. Object detection in high-resolution remote sensing images using rotation invariant parts based model
Chen et al. Building change detection with RGB-D map generated from UAV images
CN107992891B (en) Multispectral remote sensing image change detection method based on spectral vector analysis
CN107480620B (en) Remote sensing image automatic target identification method based on heterogeneous feature fusion
CN105528794A (en) Moving object detection method based on Gaussian mixture model and superpixel segmentation
CN107832793B (en) Hyperspectral image classification method and system
CN107578003B (en) Remote sensing image transfer learning method based on geographic marking image
Huang et al. A multispectral and multiangle 3-D convolutional neural network for the classification of ZY-3 satellite images over urban areas
CN109635726B (en) Landslide identification method based on combination of symmetric deep network and multi-scale pooling
Liu et al. Density saliency for clustered building detection and population capacity estimation
Baik et al. Domain adaptation of learned features for visual localization
CN114140700A (en) Step-by-step heterogeneous image template matching method based on cascade network
Zhong et al. Online learning 3D context for robust visual tracking
WO2019090509A1 (en) Hyperspectral image classification method and system
CN108171270B (en) Hyperspectral image classification method based on Hash learning
WO2023273337A1 (en) Representative feature-based method for detecting dense targets in remote sensing image
Li et al. Automatic matching of multispectral images based on nonlinear diffusion of image structures
Li et al. Semantic segmentation for high-resolution aerial imagery using multi-skip network and Markov random fields
Li et al. Detecting building changes using multi-modal Siamese multi-task networks from very high resolution satellite images
CN112131962B (en) SAR image recognition method based on electromagnetic scattering characteristics and depth network characteristics
Huo et al. Change field: A new change measure for VHR images
CN111160433B (en) High-speed matching method and system for high-resolution image feature points
CN106033545B (en) Wave band selection method of determinant point process
Wu et al. LW-ODF: A light-weight object detection framework for optical remote sensing imagery
Li et al. A new framework of hyperspectral image classification based on spatial spectral interest point

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17931463

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS (EPO FORM 1205A DATED 30.06.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17931463

Country of ref document: EP

Kind code of ref document: A1