CN103886326B - The hyperspectral classification result optimizing method of combining space information - Google Patents

The hyperspectral classification result optimizing method of combining space information Download PDF

Info

Publication number
CN103886326B
CN103886326B CN201410064547.8A CN201410064547A CN103886326B CN 103886326 B CN103886326 B CN 103886326B CN 201410064547 A CN201410064547 A CN 201410064547A CN 103886326 B CN103886326 B CN 103886326B
Authority
CN
China
Prior art keywords
centerdot
pixel
target
classification
spectral
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.)
Active
Application number
CN201410064547.8A
Other languages
Chinese (zh)
Other versions
CN103886326A (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.)
Aopu Tiancheng (Hunan) Information Technology Co.,Ltd.
Original Assignee
Hangzhou Dianzi 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 Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN201410064547.8A priority Critical patent/CN103886326B/en
Publication of CN103886326A publication Critical patent/CN103886326A/en
Application granted granted Critical
Publication of CN103886326B publication Critical patent/CN103886326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses the hyperspectral classification result optimizing method of a kind of combining space information.Conventional classification hyperspectral imagery technology is focused mainly on the classification information how better profiting from spectral space, often ignores image space domain information.Spectral classification result is supplemented by the spatial domain effective information that the present invention uses adaptive threshold edge extracting and internal expansion method to combine while utilizing data to carry out self spectral signature classification.The present invention carries out spectral domain classification initially with sorting technique based on support vector machine to data.Use adaptive threshold edge extracting and internal expansion method to introduce spatial domain effective information afterwards spectral classification result is modified.The present invention more fully make use of the information that high-spectral data comprises, and improves classification hyperspectral imagery precision.

Description

The hyperspectral classification result optimizing method of combining space information
Technical field
The invention belongs to areas of information technology, relate to pattern recognition, image processing techniques, specifically combining space information Hyperspectral classification result optimizing method.
Background technology
High-spectrum remote sensing data has higher spectral resolution, comprises abundant object spectrum information.Traditional height is right Spectral remote sensing image carries out classifying with when identifying, the most only focuses on the information in data spectrum dimension, but have ignored space dimension bag The information contained, general less effective.In fact, target in hyperspectral remotely sensed image can from space dimension, spectrum two different angles of dimension over the ground Thing is expressed.When high-spectral data carrying out spectrum dimension and analyzing, introducing space dimension information, it is a large amount of implicit right to increase The information that Objects recognition is useful with process, thus spectrum dimension classification results is optimized.
Summary of the invention
The purpose of the present invention is aiming at the deficiencies in the prior art, it is provided that the hyperspectral classification of a kind of combining space information Result optimizing method.The method compensate for traditional mode sorting technique and ignores the information of space dimension in hyperspectral classification problem Deficiency.In order to the result of spectrum dimension classification is optimized, present invention introduces space dimension information, available adaptive threshold edge Extract and internal expansion method realizes.
The inventive method comprises the following steps:
1) EO-1 hyperion spectral domain classification.
First data are done normalized, and according to priori, in each atural object category regions, random chooses A certain proportion of training sample composing training sample set;Then carrying out the training of grader, the grader of employing is for supporting vector Machine;Finally carry out the test of data with the grader trained, the result of spectral domain classification can be obtained.
2) adaptive threshold edge extracting
Adaptive threshold edge extracting is divided into extraction multiband gradient map and by an adaptive threshold binary conversion treatment two Part.
2.1) multiband gradient map is extracted
Concretely comprising the following steps of extraction multiband gradient map:
The first step: select the data that n object edge wave band clearly (assuming n=m) composition extracts for object edge Collection.
And calculate each wave band each pixel partial derivative under abscissa and vertical coordinate:
u n = ∂ f ( n ) ∂ x , n = 1,2,3 . . . . . . m - - - ( 1 )
v n = ∂ f ( n ) ∂ y , n = 1,2,3 . . . . m - - - ( 2 )
Wherein f (n) represents every wave band data.
Second step: calculate the sum of each wave band partial derivative dot product:
g xx = Σ n = 1 m ( u n · u n ) = Σ n = 1 m ( u n T u n ) = ∂ f ( 1 ) ∂ x · ∂ f ( 1 ) ∂ x + ∂ f ( 2 ) ∂ x · ∂ f ( 2 ) ∂ x · + . . . . . . + ∂ f ( n ) ∂ x · ∂ f ( n ) ∂ x - - - ( 3 )
g yy = Σ n = 1 m ( v n · v n ) = Σ n = 1 m ( v n T v n ) = ∂ f ( 1 ) ∂ x · ∂ f ( 1 ) ∂ x + ∂ f ( 2 ) ∂ x · ∂ f ( 2 ) ∂ x · + . . . . . . + ∂ f ( n ) ∂ x · ∂ f ( n ) ∂ x - - - ( 4 )
g xy = Σ n = 1 m ( u n · v n ) = Σ n = 1 m ( u n T v n ) = ∂ f ( 1 ) ∂ x · ∂ f ( 1 ) ∂ y + ∂ f ( 2 ) ∂ x · ∂ f ( 2 ) ∂ y · + . . . . . . + ∂ f ( n ) ∂ x · ∂ f ( n ) ∂ y - - - ( 5 )
I.e. can get 3 matrixes.
3rd step: the rate of change F (θ) on the maximum rate of change direction θ of calculating and the direction:
θ = 1 2 arctan [ 2 g xy ( g xy - g yy ) ] - - - ( 6 )
F ( θ ) = { 1 2 [ ( g xx + g yy ) + ( g xx - g yy ) cos 2 θ + 2 g xy sin 2 θ ] } 1 2 - - - ( 7 )
I.e. can get multi-wavelength data features of edge gradient maps F (θ).
2.2) adaptive threshold binary conversion treatment
After obtaining gradient map, if using single threshold value T that view picture gradient map is carried out binary conversion treatment, it is difficult to accomplish While extracting more object edge, suppress more background edge.The present invention proposes a kind of to image elder generation piecemeal, then selects Take an adaptive threshold value to each piece of method carrying out binary conversion treatment.The size of the optimal threshold of each piece and its gradient Average is directly proportional.
First, this characteristic of area distribution should be into according to the pixel of same target, can be spectral domain classification knot Fruit dot is divided into polylith region automatically, and (distance is classified as one piece less than the result points of 3 pixels) also thinks every piece of area pixel Point is little for noise, leaves out, finally obtains N block region.And calculate the central point in each piece of region;
Then, with each central point as the center of circle, drawing a circle, radius can be asked according to the number of every piece of regional aim point cluster , the area that can select circle is 3 times of segmented areas pixel, thus can substantially cover each target, extracts in circle Gradient map, it is thus possible to obtain N width goal gradient figure.
Calculate average K of pixel gradient in each circle simultaneouslyN, according to formula
TN=aKN+ b (8)
It is calculated threshold value T of each round inside gradient figureN, wherein a, b are two variablees, need to be according to the big ditty of real data Joint.
Finally, by each threshold value TNEach round inside gradient figure is carried out binary conversion treatment and edge thinning processes, can obtain Edge to N number of target.Seek union, be i.e. the edge of all targets.
3) internal expansion method
The invention allows for a kind of internal expansion method for spatial domain result optimizing.Obtaining impact point segmented areas After edge contour information, the pixel at contoured interior is expanded, until being full of this edge contour.
The first step: extract the existing pixel of target (after the noise spot that delete step 4 obtains), and judge each pixel (i, whether j) in each contour area, the step of judgement is point: (1) chooses the profile point coordinate gone together with this pixel (X1n,Y1n), n=1,2 ... and with the profile point coordinate (X of this pixel same column2m,Y2m),m=1,2,...;(2) if there is andThen can determine whether that this pixel is inside target area.
Second step: if this pixel is in target internal, then once expand this point, and newly obtained point is classified as target Point.Wherein, the template that expansive working uses is:
p = 0 1 0 1 1 1 0 1 0
Compared with the template that conventional 3x3 is all 1, because the four of template p angles are all 0, it is oblique running into object edge When limit or more irregular situation, impact point would not expand into target external.
3rd step: repeat step 1 and 2, until terminating when not putting increase.
4th step: result is done union and just can obtain the stacking chart of target and profile.Cut all profile point can obtain Pure impact point, but this outermost one also having deducted target encloses profile and some internal pixels, in order to solve this problem, Can be tried again expansion to image.I.e. can get final result figure.
The method have the benefit that the present invention more fully make use of the information that high-spectral data comprises, improve Gao Guang Spectrum image classification accuracy.
Accompanying drawing explanation
Fig. 1 is the gray-scale map of 145 wave bands.
Fig. 2 is the inventive method flow chart.
Fig. 3 is target 1 and target 2 spectrum dimension classification results figure.
Fig. 4 is 127 to 148 wave band data gradient map.
Fig. 5 is the edge contour of target 1.
Fig. 6 is the classification results optimization figure of target 1 and target 2.
Detailed description of the invention
The present invention, according to spatial-domain information, first proposed one adaptive threshold and asks for high spectrum image edge contour Method: traditional method less effective carrying out edge extracting with single band data, single threshold, so the present invention is first with multiple The data of wave band extract gradient map, then carry out edge extracting by one group of adaptive threshold value.
Then also been proposed a kind of internal expansion method.After obtaining edge contour, traditional region-growing method is used to carry out Optimize and need completely enclosed edge contour, but this hardly results in when reality is applied, and the internal expansion method that the present invention proposes Even if in the face of the edge contour not exclusively closed, preferable result also can be obtained.
Hyperspectral classification result based on SVM support vector machine can be optimized in conjunction with two kinds of methods.
Below in conjunction with embodiment, the invention will be further described.
1) data general introduction
Experimental data is provided by Changchun Institute of Optics, Fine Mechanics and Physics, CAS.Size of data is 226 × 500 × 155 pixels, upper right side semitrailer include military green iron plate target 5 from left to right (for target 1, each target size About 16 × 29 pixels), upper left side comprises military green plank target 5 from left to right (for target 2, each target size about 17 × 30 Pixel), other are background, comprise unrelated non-targeted target 4, van 1, semitrailer 2, the woods, brushwood etc..The 145 wave band datas are as shown in Figure 1.
The inventive method flow chart is as shown in Figure 2.
2) spectral domain classification
Support vector machine is selected as grader, data to be classified.
First, the pixel composition training sample set in background pixel point, 30% target 1 and 30% target 2 region of 2% is selected; The followed by training of grader, selecting gaussian radial basis function is the kernel function of support vector machine, takes grid data service to ginseng Number c and γ optimizing (c be penalty factor, γ be kernel functional parameter);Finally with the grader trained, data are classified.Mesh Mark 1 and target 2 spectrum dimension classification results are as shown in Figure 3.
Spectrum dimension classification results shows, the classification accuracy rate for military green iron plate only has 23.44%, for military green plank Classification accuracy rate only has 30.17%, and general classification accuracy is 26.80%, and classification results is the most undesirable.
3) object edge is extracted
The first step: the high-spectral data composition of 127 to 148 wave bands that first selection object edge is more visible is for target limit The data set that edge extracts.
Second step: calculate each pixel partial derivative under abscissa and vertical coordinate according to formula (1) and formula (2), Gradient operator is Sobel operator;The gradient map of multi-wavelength data, 127 to 148 wave bands it are calculated further according to formula (3)-(7) Data gradient figure is as shown in Figure 4.
3rd step: be loaded into spectral domain classification results, distance is classified as one piece of region less than the result points of 3 pixels, with Time delete pixel number less than 5 region, target 1 and target 2 can be divided into 5 pieces of regions.
4th step: ask for gradient mean value K in every piece of regionN, the adaptive thresholding in every piece of region can be tried to achieve according to formula (8) Value TN, wherein, a, b value has taken 2 and-0.39.The edge contour of target 1 is as shown in Figure 5.
4) internal expansion
After obtaining impact point piecemeal result and objective contour region, it is possible to process by internal expansion method, target 1 With the classification results optimization figure of target 2 as shown in Figure 6.
5) result and analysis
After spectrum dimension classification results and optimization, classification accuracy statistical table is as shown in table 1.
Table 1. classification results statistical table (%)
Spectral domain classification results After spatial information optimizes
Target 1(military green iron plate target) 23.44 93.52
Target 2(military green plank target) 30.17 95.37
Target population 26.81 94.48
Classification results shows, traditional spectral domain classifying quality based on SVM support vector machine is poor;Introducing space letter After breath, target 1(military green iron plate target) classification accuracy rise to 93.52% from 23.44%, target 2(military green plank target) Classification accuracy rise to 95.48% from 30.17%, be respectively increased 70.08% and 65.37%.
It is demonstrated experimentally that when high-spectral data being carried out target classification by traditional sorting technique, introducing spatial information has It is beneficial to the lifting of nicety of grading.

Claims (1)

1. the hyperspectral classification result optimizing method of combining space information, it is characterised in that the method comprises the following steps:
1) EO-1 hyperion spectral domain classification;
First data are done normalized, and according to priori, in each atural object category regions, random choosing is certain The training sample composing training sample set of ratio;Then carrying out the training of grader, the grader of employing is support vector machine;? Carry out the test of data afterwards with the grader trained, the result of spectral domain classification can be obtained;
2) adaptive threshold edge extracting;
Adaptive threshold edge extracting is divided into extraction multiband gradient map and with adaptive threshold binary conversion treatment two parts;
2.1) multiband gradient map is extracted, specifically:
The first step: select the data set that n object edge wave band clearly composition extracts for object edge;
And calculate each wave band each pixel partial derivative under abscissa and vertical coordinate:
u n = ∂ f ( n ) ∂ x , n = 1 , 2 , 3 ... ... m - - - ( 1 )
v n = ∂ f ( n ) ∂ y , n = 1 , 2 , 3 ... ... m - - - ( 2 )
Wherein f (n) represents every wave band data;
Second step: calculate the sum of each wave band partial derivative dot product:
g x x = Σ n = 1 m ( u n · u n ) = Σ n = 1 m ( u n T u n ) = ∂ f ( 1 ) ∂ x · ∂ f ( 1 ) ∂ x + ∂ f ( 2 ) ∂ x · ∂ f ( 2 ) ∂ x + ... ... + ∂ f ( n ) ∂ x · ∂ f ( n ) ∂ x - - - ( 3 )
g y y = Σ n = 1 m ( v n · v n ) = Σ n = 1 m ( v n T v n ) = ∂ f ( 1 ) ∂ y · ∂ f ( 1 ) ∂ y + ∂ f ( 2 ) ∂ y · ∂ f ( 2 ) ∂ y + ... ... + ∂ f ( n ) ∂ y · ∂ f ( n ) ∂ y - - - ( 4 )
g x y = Σ n = 1 m ( u n · v n ) = Σ n = 1 m ( u n T v n ) = ∂ f ( 1 ) ∂ x · ∂ f ( 1 ) ∂ y + ∂ f ( 2 ) ∂ x · ∂ f ( 2 ) ∂ y + ... ... + ∂ f ( n ) ∂ x · ∂ f ( n ) ∂ y - - - ( 5 )
I.e. can get 3 matrixes;
3rd step: the rate of change F (θ) on the maximum rate of change direction θ of calculating and the direction:
θ = 1 2 a r c t a n [ 2 g x y ( g x y - g y y ) ] - - - ( 6 )
F ( θ ) = { 1 2 [ ( g x x + g y y ) + ( g x x - g y y ) c o s 2 θ + 2 g x y s i n 2 θ ] } 1 2 - - - ( 7 )
I.e. can get multi-wavelength data features of edge gradient maps F (θ);
2.2) adaptive threshold binary conversion treatment, specifically:
First, this characteristic of area distribution should be into according to the pixel of same target, automatic for spectral domain classification results point It is divided into polylith region, and calculates the central point in each piece of region;
Then, with each central point as the center of circle, drawing a circle, the number that radius clusters according to every piece of regional aim point is tried to achieve, choosing Selecting round area is 3 times of segmented areas pixel, thus can substantially cover each target, extracts the gradient map in circle, from And N width goal gradient figure can be obtained;
Calculate average K of pixel gradient in each circle simultaneouslyN, according to formula
TN=aKN+b (8)
It is calculated threshold value T of each round inside gradient figureN, wherein a=2, b=-0.39;
Finally, by each threshold value TNEach round inside gradient figure is carried out binary conversion treatment and edge thinning processes, can obtain N number of The edge of target;Seek union, be i.e. the edge of all targets;
3) internal expansion, specifically:
The first step: extract the existing pixel of target, and judge each pixel (i, j) whether in each contour area, The step judged is: (1) chooses the profile point coordinate (X gone together with this pixel1n,Y1n), n=1,2 ... and with this pixel Profile point coordinate (the X of same column2m,Y2m), m=1,2 ...;(2) if there isAndThen may be used Judge that this pixel is inside target area;
Second step: if this pixel is in target internal, then once expand this point, and newly obtained point is classified as impact point; Wherein, the template that expansive working uses is:
p = 0 1 0 1 1 1 0 1 0
3rd step: repeat the step first step and second step, until terminating when not putting increase;
4th step: result is done union and just can obtain the stacking chart of target and profile;Cut all profile point and can obtain pure mesh Punctuate, try again expansion to image;I.e. can get final result figure.
CN201410064547.8A 2014-02-25 2014-02-25 The hyperspectral classification result optimizing method of combining space information Active CN103886326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410064547.8A CN103886326B (en) 2014-02-25 2014-02-25 The hyperspectral classification result optimizing method of combining space information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410064547.8A CN103886326B (en) 2014-02-25 2014-02-25 The hyperspectral classification result optimizing method of combining space information

Publications (2)

Publication Number Publication Date
CN103886326A CN103886326A (en) 2014-06-25
CN103886326B true CN103886326B (en) 2016-12-07

Family

ID=50955209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410064547.8A Active CN103886326B (en) 2014-02-25 2014-02-25 The hyperspectral classification result optimizing method of combining space information

Country Status (1)

Country Link
CN (1) CN103886326B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104268556A (en) * 2014-09-12 2015-01-07 西安电子科技大学 Hyperspectral image classification method based on nuclear low-rank representing graph and spatial constraint
CN104766092B (en) * 2015-03-26 2017-11-07 杭州电子科技大学 A kind of hyperspectral image classification method of combination potential function

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682450A (en) * 2012-04-25 2012-09-19 北京航空航天大学 Method for automatically detecting Keystone effect of hyper-spectral image
CN103473557A (en) * 2013-09-02 2013-12-25 杭州电子科技大学 Spatial-spectral integrated hyperspectral remote sensing image classification method
CN103500343A (en) * 2013-09-30 2014-01-08 河海大学 Hyperspectral image classification method based on MNF (Minimum Noise Fraction) transform in combination with extended attribute filtering

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682450A (en) * 2012-04-25 2012-09-19 北京航空航天大学 Method for automatically detecting Keystone effect of hyper-spectral image
CN103473557A (en) * 2013-09-02 2013-12-25 杭州电子科技大学 Spatial-spectral integrated hyperspectral remote sensing image classification method
CN103500343A (en) * 2013-09-30 2014-01-08 河海大学 Hyperspectral image classification method based on MNF (Minimum Noise Fraction) transform in combination with extended attribute filtering

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
A note on the gradient of a multi-image;SILVANO DI ZENZO;《COMPUTER VISION,GRAPHICS,AND IMAGE PROCESSING》;19861230;第33卷;全文 *

Also Published As

Publication number Publication date
CN103886326A (en) 2014-06-25

Similar Documents

Publication Publication Date Title
CN104484667B (en) A kind of contour extraction method based on brightness and integrality of outline
CN103559500B (en) A kind of multi-spectral remote sensing image terrain classification method based on spectrum Yu textural characteristics
CN107610114B (en) optical satellite remote sensing image cloud and snow fog detection method based on support vector machine
CN101398894B (en) Automobile license plate automatic recognition method and implementing device thereof
CN110210362A (en) A kind of method for traffic sign detection based on convolutional neural networks
CN101510262B (en) Automatic measurement method for separated-out particles in steel and morphology classification method thereof
CN104299008B (en) Vehicle type classification method based on multi-feature fusion
CN103473557A (en) Spatial-spectral integrated hyperspectral remote sensing image classification method
CN105303184A (en) Method for accurately identifying ground features in satellite remote-sensing image
CN104766046A (en) Detection and recognition algorithm conducted by means of traffic sign color and shape features
CN102254191B (en) Rainfall particle phase identification method based on image processing
CN104794502A (en) Image processing and mode recognition technology-based rice blast spore microscopic image recognition method
CN102663357A (en) Color characteristic-based detection algorithm for stall at parking lot
CN112907595B (en) Surface defect detection method and device
CN109492593A (en) Hyperspectral image classification method based on principal component analysis network and space coordinate
CN103413303A (en) Infrared target segmentation method based on joint obviousness
CN104880389A (en) Mixed crystal degree automatic measurement and fine classification method for steel crystal grains, and system thereof
CN104215639A (en) Pear surface defect detection method based on machine vision
CN108647593A (en) Unmanned plane road surface breakage classification and Detection method based on image procossing and SVM
CN109785301A (en) A kind of rail corrugation automatic identifying method and appraisal procedure based on image procossing
CN107092871A (en) Remote sensing image building detection method based on multiple dimensioned multiple features fusion
CN107480585A (en) Object detection method based on DPM algorithms
CN102508917A (en) Multi-dimensional object robust high-speed retrieval and positioning method for some feature images
CN113221881B (en) Multi-level smart phone screen defect detection method
CN104573707A (en) Vehicle license plate Chinese character recognition method based on multi-feature fusion

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201109

Address after: 310012 room 2603, building 8, No. 2, xiyuanba Road, Sandun Town, Xihu District, Hangzhou City, Zhejiang Province

Patentee after: HANGZHOU ZHUILIE TECHNOLOGY Co.,Ltd.

Address before: Hangzhou City, Zhejiang province 310018 Xiasha Higher Education Park No. 2 street

Patentee before: HANGZHOU DIANZI University

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230104

Address after: 1025 Yuedong Commercial Center, No. 390, Section 2, Furong South Road, Tianxin District, Changsha City, Hunan Province, 410000

Patentee after: Aopu Tiancheng (Hunan) Information Technology Co.,Ltd.

Address before: Room 2603, building 8, No.2, Xiyuan 8th Road, Sandun Town, Xihu District, Hangzhou City, Zhejiang Province

Patentee before: HANGZHOU ZHUILIE TECHNOLOGY Co.,Ltd.