HYPERSPECTRAL IMAGE DISTRIBUTED RESTORATION METHOD AND SYSTEM BASED ON GRAPH SIGNAL PROCESSING AND SUPERPIXEL SEGMENTATION

Information

  • Patent Application
  • 20240046602
  • Publication Number
    20240046602
  • Date Filed
    January 12, 2023
    2 years ago
  • Date Published
    February 08, 2024
    a year ago
Abstract
Provide is a novel mixed-noise removal method for HSI with large size. First, the underlying structure of the HSI is modeled by a two-layer architecture graph. The upper layer, called a skeleton graph, is a rough graph constructed by using the modified k-nearest-neighborhood algorithm and its nodes correspond to a series of superpixels formed by HSI segmentation, which can efficiently characterize the inter-correlations between superpixels, while preserving the boundary information and reducing the computational complexity. The lower layer, called detailed graph, consists of a series of local graphs which are constructed to model the similarities between pixels. Second, based on the two-layer graph architecture, the HSI restoration problem is formulated as a series of optimization problems each of which resides on a subgraph. Third, a novel distributed algorithm is tailored for the restoration problem, by using the information interaction between the nodes of skeleton graph and subgraphs.
Description
TECHNICAL FIELD

The present disclosure relates to the technical field of hyperspectral data processing and graph signal processing, and in particularly, to a hyperspectral image distributed restoration method and system based on graph signal processing and superpixel segmentation.


DESCRIPTION OF RELATED ART

A hyperspectral image (HSI) is composed of dozens or even hundreds of gray images corresponding to spectral channels, and has a high spectral resolution and rich texture information. Based on HSI features, a combination of a spatial image and a spectral band can provide favorable conditions for the extraction of target features. Therefore, the HSI is widely used in food quality and safety assessment, medical diagnosis and image-guided surgery, precision agriculture and other fields. However, the HSI is often disturbed by various noises in a process of acquisition and transmission. These noises bring great challenges to a subsequent analysis, especially in feature extraction and target detection, which will greatly reduce the reliability of processing. Therefore, how to effectively remove the noises of the HSI has become a key issue.


At present, various denoising methods have been proposed to restore the HSI. The traditional methods of HSI denoising include: regarding each band as a gray image, and applying a two-dimensional denoising method such as a block matching and 3D collaborative filtering (BM3D) algorithm to remove noise band by band. However, these methods ignore high correlation between spectral bands or spatial pixels, resulting in relatively poor restoration performance. In view of this, various HSI denoising methods have been proposed to consider the correlation, for example, a hybrid spatial-spectral noise reduction (HS SNR) method, where a wavelet shrinkage model in the derivative domain of mixed spatial spectrum was proposed, which considers the difference of signal regularity in spatial and spectral dimensions; color total variation (CTV) and spectral spatial adaptive hyperspectral total variation (SSAHTV), which apply an image operator called total variation (TV) to HSI restoration, the image operator describes a spatial piecewise smoothness (PWS) characteristic of the HSI; low-rank matrix recovery (LRMR), which uses a low-dimensional structure in high-dimensional data to remove noise based on low-rank (LR) matrix approximation; tensor subspace low-rank learning with non-local prior for hyperspectral image mixed denoising (TSLRLN) and total variation regularized low-rank tensor decomposition (LRTDTV), which utilize LR characteristic of the HSI based on tensor decomposition; Global and Nonlocal Low-Rank Factorizations (GLF), which combines different LR characteristics, etc. These methods effectively represent the spatial and spectral correlation of the HSI. In addition, there are some nonlocal methods, such as Nonlocal Tensor-Ring Decomposition (NLTR) and non-local meets global (NGMeet), which denoise the HSI group by group, but these methods only consider nonlocal self-similarity and ignore PWS characteristics in groups. Total Variation Regularization and Nonlocal Low-Rank Tensor Decomposition (TVNLRTD) regards a non-local self-similarity as a regularization term in a model, and combines the regularization term with other global regularization terms (such as TV), in which good restoration performance is achieved through combining the regularization term with the other global regularization terms, but it cannot simply restore the HSI group by group, and a disadvantage of high complexity of single computing node in large-scale HSI is brought out. Different from the non-local-based method, a superpixel segmentation-based method, such as superpixel segmentation of smooth band (SSSB) groups pixels of the HSI into a series of uniform regions, a shape of each region depends on boundary information, and the shape is irregular. Therefore, the method superpixel segmentation-based method can effectively preserve the boundary information, while the non-local-based method cannot preserve the boundary information because of square patch-based strategy. However, the existing superpixel segmentation-based methods, such as SSSB, do not perform well in HSI restoration, partly because they do not consider the PWS characteristics of the HSI and the similarity between superpixels. In view of the shortcomings of the above methods, graph signal processing (GSP) is considered, which is a multi-disciplinary research field, uses graph topology to describe the correlation between network data, comprehensively constructs the theoretical framework of network data processing, and greatly expands the theoretical boundary of classical signal processing. Therefore, a hyperspectral mixed noise removal method based on GSP and superpixel segmentation can be proposed.


Moreover, the existing methods usually focus on a small-scale HSI or a subregion of large-scale HSI and they exhibit poor scalability on large HSI since they employ the centralized operators in general. Besides, several restoration methods transform the three-dimensional HSI dataset into a two-dimensional matrix, an ill-posed matrix where the spatial dimension greatly exceeds the spectral one, resulting in blurring and a loss of details in denoised results. For large-scale HSI, the loss of boundary information and texture details will be more serious.


In addition, the existing HSI is often disturbed by various noises, which brings great challenges to the subsequent applications. Many existing restoration methods are not suitable for large-scale HSI, so how to improve the scalability of the restoration methods is a key issue.


SUMMARY

In view of this, objectives of the present disclosure are to provide a large-scale hyperspectral image (HSI) distributed restoration method based on graph signal processing and superpixel segmentation.


To achieve the above objectives, the present disclosure provides the following technical solutions.


A large-scale hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation is provided according to an embodiment of the present disclosure, which includes:


step 1, constructing an input signal model, to linearly normalize a hyperspectral image to obtain a normalized hyperspectral image;


step 2, selecting an image corresponding to a target-band from the normalized hyperspectral image, and pre-denoising the image to obtain a pre-denoised image;


step 3, segmenting the pre-denoised image into multiple superpixel regions using simple linear iterative cluster (SLIC) superpixel segmentation algorithm;


step 4, constructing a skeleton graph based on the multiple superpixel regions;


step 5, constructing a local graph for all pixels of each of the multiple superpixel regions, to obtain multiple local graphs respectively corresponding to the multiple superpixel regions;


step 6, constructing sub-graphs based on the skeleton graph and the multiple local graphs, each of the sub-graphs being corresponding to a computing node;


step 7, applying an exchange distributed mode to each of the sub-graphs, to perform distributed denoising on the hyperspectral image;


step 8, establishing an optimization model of each of the sub-graphs, based on the each of the sub-graphs; and


step 9, repeating step 7 and step 8 through multiple iterations, where each of the multiple iterations adopts the exchange distributed mode in the step 7 to iteratively solve the optimization model in the step 8; and in a situation that each of the sub-graphs being meeting an iterative convergence condition, the multiple iterations are stopped, and a corresponding sub-graph of the sub-graphs meeting the iterative convergence condition is no longer updated while other sub-graphs of the sub-graphs not meeting the iterative convergence condition continue to participate the multiple iterations.


In a further embodiment, in the step 4, the constructing the skeleton graph based on the multiple superpixel regions, includes:


modeling the multiple superpixel regions as multiple skeleton graph nodes respectively, where a graph signal of each skeleton graph node of the multiple skeleton graph nodes is an average value of values of all pixels in a superpixel region of the multiple superpixel regions corresponding to the skeleton graph node, a coordinate of the skeleton graph node is a coordinate of a center pixel of the all pixels whose intensity is closest to the graph signal; and


constructing the skeleton graph custom-character:=({circumflex over (V)}s,custom-character,custom-character) based on the multiple skeleton graph nodes using a modified k-Nearest Neighbor (KNN) algorithm, where {circumflex over (V)}s represents a node set composed of the multiple skeleton graph nodes, custom-character represents an edge set composed of edges of the skeleton graph, and custom-character represents a skeleton graph adjacency matrix, which is used to describe a correlation


weight matrix of the edges of the skeleton graph,


where the skeleton graph adjacency matrix custom-character is determined by:


determining an initial skeleton graph adjacency matrix based on an element ai,j of the initial skeleton graph adjacency matrix, the element ai,j is expressed as a formula (1):











a

i
,
j


=


exp

(

-






I
i

-

I
j




2
2


σ
1
2



)



exp

(

-






x
i

-

x
j




2
2


σ
x
2



)



,




(
1
)







where Ii represents a coordinate of the i-th superpixel of all pixels of each of the multiple superpixel regions; Ij represents a coordinate of the j-th superpixel of all pixels of each of the multiple superpixel regions; xi represents a graph signal of the i-th superpixel of all pixels of each of the multiple superpixel regions; xj represents a graph signal of the j-th superpixel of all pixels of each of the multiple superpixel regions; and σ1 and σx represent two constant parameters; and


setting first k relative greater values of each row of the initial skeleton graph adjacency matrix to 1, setting the rest of the row of the initial skeleton graph adjacency matrix to 0, and symmetrizing and modifying the initial skeleton graph adjacency matrix after setting into an unweighted matrix as the skeleton graph adjacency matrix custom-character.


In a further embodiment, in the step 5, the m-th superpixel region of the multiple superpixel regions has Km pixels, and the constructing the local graph for all pixels of each of the multiple superpixel regions, to obtain the multiple local graphs respectively corresponding to the multiple superpixel regions, includes:


modeling all pixels of each of the multiple superpixel regions as pixel nodes, to thereby construct the multiple local graphs custom-character:=(custom-character,custom-character,custom-character),


where custom-character represents a node set composed of all pixel nodes in the m-th superpixel region, custom-character represents an edge set composed of edges for connecting each pixel node of the all pixel nodes in the m-th superpixel region to surrounding four neighbors of the pixel node, and custom-character represents an unweighted four-neighborhood adjacency matrix; where a graph signal of each of the multiple local graphs is a vector xm=[xm,1,xm,2, . . . ,xm,Km]T custom-characterKm, a graph signal of an image corresponding to the b-th band of the hyperspectral image is Xm,b=[Xm(1,b),Xm(2,b), . . . , Xm(Km,b)]T custom-characterKm, b=1, . . . , p, and the local graph is applied to an image corresponding to each band of the hyperspectral image;


where a matrix is formed based on graph signals of all bands, as a graph signal of the hyperspectral image, expressed as: Xm=[Xm(i,b)]=[Xm,1, . . . , Xm,b, . . . , Xm,p)]∈custom-characterKm×p,


where Xm(i,b) represents the i-th graph signal of the image corresponding to the b-th band of the hyperspectral image; Xm,b represents the m-th graph signal of the image corresponding to the b-th band of the hyperspectral image, and custom-characterKm×p represents a dimension Km×p of the matrix.


In a further embodiment, in the step 6, a hyperspectral restoration problem is transformed into solving of multiple small-scale problems, each sub-graph of the multiple small-scale problems is located on one of the sub-graphs, and each sub-graph is centered on one of the multiple skeleton graph nodes of the skeleton graph;


where the f-th sub-graph custom-character of the sub-graphs is expressed as a formula (2):






custom-character=(Vf, Ef,), f=1, 2, . . . , Ms  (2),


where









V
f

_

=


{
}


m



(

f
,

d

)





,





custom-character represents the f-th sub-graph, Vf represents a node set composed of all sub-graph nodes of the f-th sub-graph, Ef represents an edge set composed of edges between the all sub-graph nodes of the f-th sub-graph, Ms represents of a total number of the sub-graphs, and f represents an integer;


where custom-character(f, d):={j∈{circumflex over (V)}s:ρ(f, j)≤d} represents a set of neighbor sub-graph nodes of a sub-graph node f of the f-th sub-graph within d hops;


where ρ(f,j) represents a shortest path from the sub-graph node f to a sub-graph node j;


where each sub-graph includes at least two of the multiple local graphs, the m-th local graph of the at least two of the multiple local graphs is one sub-graph node of the set of neighbor sub-graph nodes of the sub-graph node f corresponding to the f-th sub-graph within the d hops, that is m∈custom-character(f, d);


where d represents the set of neighbor sub-graph nodes within the d hops, m represents the m-th local graph and is a sub-graph node of the f-th sub-graph, custom-character in represents the node set composed of all pixel nodes in the m-th superpixel region of the multiple superpixel regions, custom-character(f, d) represents the set of neighbor sub-graph nodes of the sub-graph node f corresponding to the f-th sub-graph of the skeleton graph custom-character within the d hops;


where the edge set Ef is obtained by: connecting a boundary node to four neighborhood


nodes of the boundary node, and forming an edge between the pixel nodes of a local graph custom-character and the local graph custom-character, if there is a boundary connection for the local graph custom-character and the local graph custom-character in corresponding superpixel regions thereof; or, forming only the edge between the pixel nodes of the local graph custom-character and the local graph custom-character, if there is no boundary connection for the local graph custom-character and the local graph custom-character in corresponding superpixel regions thereof, that is, there is edge connection between the pixel nodes of the local graph custom-character and the local graph custom-character;


where a Laplacian matrix Lf of the f-th sub-graph custom-character is obtained, and a same sub-graph is applied to all bands of the hyperspectral image corresponding to the sub-graph;


where a graph signal of the sub-graph node ν∈Vf of the f-th sub-graph is mapped into a vector Xf,b=[Xf(1,b),Xf(2,b), . . . ,Xf(ΣKm,b)]T custom-characterΣKm,


where m∈custom-character(f,d),b=1, . . . , p, Xf(i,b) represents a graph signal of the i-th sub-graph node corresponding to the b-th band in the f-th sub-graph custom-character, Xf(1,b) represents a graph signal of a first sub-graph node corresponding to the b-th band in the f-th sub-graph custom-character, Km represents a total number of pixels in the superpixel region corresponding to the m-th local graph on the f-th sub-graph custom-character, and b represents the b-th band; and


where a matrix is formed based on graph signals of all bands using a formula expressed as follows: Xf=[Xf(i,b)]=[Xf,1, . . . , Xf,b, . . . , Xf,p)]∈custom-character(ΣKm)×p, m∈custom-character(f, d), and thus the graph signal of the hyperspectral image on the sub-graph custom-character, f=1, 2, . . . , Ms is obtained.


In a further embodiment, in the step 7, multiple computing units are set, each of the plurality of computing units corresponds to one of the multiple local graphs, and a transmission link with neighbored computing units of the computing unit is established by the computing unit based on edges of the skeleton graph, and


where the applying the exchange distributed mode to each of the sub-graphs to perform distributed denoising on the hyperspectral image, includes:


receiving computing results from the neighbored computing units when each of multiple iterations is performed;


fusing and averaging, by the computing unit, the received computing results from the neighbored computing units with a last calculation result of the computing unit;


determining, by the computing unit, an optimized computing result of the computing unit and optimized computing results of the neighbored computing units based on the optimization model of each of the sub-graphs; and


transmitting, by the computing unit, the optimized computing result of the computing unit and a corresponding one of the optimized computing results of the neighbored computing units to a corresponding one of the neighbored computing units. In a further embodiment, in the step 8, the optimization model is expressed as a formula (3):











min


X

f
,

S
f








(



K
m


)

×
p








X
f



*


+

α





X
f



GLR


+

β





S
f



1






(
3
)











s
.
t
.





O
f

-

X
f

-

S
f




F
2



ε

,


rank



(

X
f

)



r

,




where m∈custom-character(f, d), Km represents a total number of pixels in the m-th superpixel region, α and β are two parameters, and used to adjust proportions of a nuclear norm, GLR and an L1 norm, Sf represents a model of sparse noise of in the f-th sub-graph, Of represents hyperspectral image data originally input in the f-th sub-graph, ϵ represents a threshold value, r is a constant for indicating constraint on a rank of a hyperspectral signal; f represents an integer;


where GLR of signals of one band of the HSI is expressed as a formula (4):





x∥GLR=xTcustom-characterx=Σi˜jαi,j·(xi−xj)2  (4),


the GLR of signals of all bands of the HSI is expressed as a formula (5):





X∥GLR=Tr(XTcustom-characterX)=∥x1GLR+ . . . +∥xbGLR+ . . . +∥xpGLR  (5),


where custom-character represents a Laplacian matrix of the f-th sub-graph, αi,j represents the (i, j)-th element of an adjacency matrix of the f-th sub-graph; xi represents the i-th graph signal of the f-th sub-graph; ∥xbGLR represents a GLR corresponding to the b-th band; and Tr(·) represents a trace of a matrix.


In a further embodiment, in the step 8, the optimization model is obtained according to augmented Lagrange method;


where the formula (3) is equivalently converted into a formula (6):











min


X

f
,


,


X

f
,

S
f








(



K
m


)

×
p









H
f



*


+

α





X
f



GLR


+

β





S
f



1






(
6
)











s
.
t
.





O
f

-

H
f

-

S
f




F
2



ε

,


rank




(


H
f

)



r

,


H
f

=

X
f


,




where Hf represents an introduced auxiliary variable, and Hf=Xf;


where an augmented Lagrange function of the formula (6) is expressed as a formula (7):












(


H
f

,

X
f

,

S
f

,

C
f

,

D
f


)

=





H
f



*

+

α





X
f




G

L

R



+

β





S
f



1



+





C
f

,


O
f

-

H
f

-

S
f





+




D
f

,


X
f

-

H
f





+


γ
2



(






O
f

-

H
f

-

S
f




F
2

+





X
f

-

H
f




F
2


)







(
7
)











s
.
t
.











rank



(

H
f

)



r

,





where r represents a penalty variable, which is greater than zero, and Cf and Df represent Lagrange multipliers;


where the formula (7) is alternately optimized through following updatings:


1) updating Hf










H
f

(

k
+
1

)


=




arg

min



rank
(

H
f

)


r






(


H
f

,

X
f

(
k
)


,

S
f

(
k
)


,

C
f

(
k
)


,

D
f

(
k
)



)


=





arg

min



rank
(

H
f

)


r







H
f



*


+




C
f

(
k
)


,


O
f

-

H
f

-

S
f

(
k
)






+





D
f

(
k
)


,


X
f

(
k
)


-

H
f





+


γ
2



(






O
f

-

H
f

-

S
f

(
k
)





F
2

+


γ
2







X
f

(
k
)


-

H
f




F
2



)



=





arg

min



rank
(

H
f

)


r







H
f



*


+

γ
(






H
f

-


1
2



(


O
f

+

X
f

(
k
)


-

S
f

(
k
)


+


1
γ



(


C
f

(
k
)


+

D
f

(
k
)



)



)





F
2

,









(
8
)







where (k+1) represents the (k+1)-th iteration, Xf(k) represents the denoised hyperspectral image after the k-th iteration of the f-th sub-graph, Sf(k) represents sparse noise after the k-th iteration of the f-th sub-graph, Cf(k) and Df(k) represent Lagrange multipliers after the k-th iteration of the f-th sub-graph;


where for a given matrix Z ∈ custom-characterK×p with a rank r, singular value decomposition is used to decompose the given matrix, to obtain a formula (9):






Z=UE
r
V
H
,E
r=diag(σi)  (9),


where U ∈ custom-characterK×r and V ∈ custom-characterp×r are orthogonal matrices, Er represents a diagonal matrix composed of singular values, a singular value σi(1≤i≤r)≥0, a threshold value ϕ being greater than or equal to zero is given, and a singular value contraction operator is defined as a formula (10):






D
ϕ(Z)=UDϕ(Er)VH  (10)






D
ϕ(Er)=diag(max(η, 0))


where η=σi−ϕ, η represents a vector composed of a difference between the i-th singular value σi and a threshold value ϕ, σi represents the i-th singular value after singular value decomposition, ϕ represents a constant, which is the threshold value, Dϕ(·) represents a solution of a singular value contraction operator, the singular value contraction operator (10) is a solution of a problem (11):












D
ϕ

(
Z
)

=




arg

min



rank

(

H
f

)


r






H


*


+


1

2

ϕ







H
-
Z



F
2




,




(
11
)







where the singular value contraction operator (10) is used to optimize a solution of the formula (8) to obtain a formula (12):











H
f

(

k
+
1

)


=


D

1

2

γ



(


1
2



(


O
f

+

X
f

(
k
)


-

S
f

(
k
)


+


1
γ



(


C
f

(
k
)


+

D
f

(
k
)



)



)


)


,




(
12
)







2) updating Xf











X
f

(

k
+
1

)


=


arg



min


X





(


H
f

(

k
+
1

)


,

X
f

,

S
f

(
k
)


,

C
f

(
k
)


,

D
f

(
k
)



)



=




arg



min



X
f



α





X
f




G

L

R



+




D
f

(
k
)


,


X
f

-

H
f

(

k
+
1

)






+


γ
2







X
f

-

H
f

(

k
+
1

)





F
2



=


arg



min



X
f



α





X
f




G

L

R



+


γ
2







X
f

-

H
f

(

k
+
1

)


+


D
f

(
k
)


γ




F
2






,




(
13
)







where Bf=Hf(k+1)−DB(k)/γ+[b1, . . . , bp], according to the matrix form of GLR in the formula (5), the formula (13) is equivalent to a formula (14):










X
f

(

k
+
1

)


=



arg

min



X
f

=

[


x
1

,



,


x
p


]










j
=
1

p



(



α





x
j




G

L

R



+


γ
2



(





x
j

-

b
j




2
2

)



,







(
14
)







where the formula (14) is decomposed into p sub-problems and solved band by band, and the j-th sub-problem of the p sub-problems is expressed as a formula (15):










x
j

(

k
+
1

)


=




arg

min


x
j




α





x
j




G

L

R



+


γ
2



(







x
j

-

b
j




2
2

=


α


x
j
T



L


𝒢

f

_




x
j


+


γ
2







x
j

-

b
j




2
2




,








(
15
)







where the formula (15) is a least squares problem, and a solution of the formula (15) is


expressed as a formula (16):






x
j
(k+1)=(2αcustom-characterI)−1γbj  (16),


where a solution of the formula (14) is obtained by combining the solutions (16) of each band and is expressed as a formula (17):











[


x
1

(

k
+
1

)


,


,

x
f

(

k
+
1

)


,


,

x
p

(

k
+
1

)



]

=


[




(


2

α


L


𝒢
f

_



+

γ

I


)


-
1



γ


b
1


,


,



(


2

α


L


𝒢
f

_



+

γ

I


)


-
1



γ


b
f


,


,



(


2

α


L


𝒢
f

_



+

γ

I


)


-
1



γ


b
p



]

=



(


2

α


L


𝒢
f

_



+

γ

I


)


-
1


[


b
1

,


,

b
f

,


,

b
p


]



,




(
17
)







where the formula (17) is rewritten in matrix form expressed in a formula (18):






X
f
(k+1)=(2αcustom-characterI)−1Bf  (18),


where by derivation, the formula (13) is equivalently transformed to a formula (19):











X
f

(

k
+
1

)


=



arg


min

X
f



α





X
f




G

L

R



+


γ
2







X
f

-

H
f

(

k
+
1

)


+


D
f

(
k
)


γ




F
2



=



arg


min

X
f



α


Tr

(


X
f
T



L


𝒢
f

_




X
f


)


+


γ
2







X
f

-

H
f

(

k
+
1

)


+


D
f

(
k
)


γ




F
2



=



(


2

α


L


𝒢
f

_



+

γ

I


)


-
1




(


H
f

(

k
+
1

)


-


D
f

(
k
)


γ


)





,




(
19
)







3) updating Sf











S
f

(

k
+
1

)


=


arg


min

S
f






(


H
f

(

k
+
1

)


,

X
f

(

k
+
1

)


,

S
f

,

C
f

(
k
)


,

D
f

(
k
)



)


=



arg


min

S
f



β





S
f



1


+




C
f

(
k
)


,


O
f

-

H
f

(

k
+
1

)


-

S
f





+


γ
2







O
f

-

H
f

(

k
+
1

)


-

S
f




F
2



=


arg


min

S
f



β





S
f



1


+


γ
2







S
f

-

(


O
f

-

H
f

(

k
+
1

)


+


C
f

(
k
)


γ


)




F
2






,




(
20
)







where a soft threshold operator is introduced and expressed as a formula (21):











R
Δ

(
φ
)

=

{






φ
-
Δ

,


if


φ

>
Δ








φ
+
Δ

,


if


φ

<
Δ







0
,

otherwise




,






(
21
)







where φ ∈custom-character, Δ>0, and a solution of the formula (20) is expressed as a formula (22):










S
f

(

k
+
1

)


=


R

β
γ


(


(


O
f

-

H
f

(

k
+
1

)


+


C
f

(
k
)


γ


)

,






(
22
)







4) updating the Lagrange multipliers Cf and Df, and the penalty variable γ






C
f
(k+1)
=C
f
(k)+γ(Of−Hf(k+1)−Sf(k+1))






D
f
(k+1)
=D
f
(k)+γ(Xf(k+1)−Hf(k+1))  (23 )





γ(k+1)=min(ργ(k)max),


where ρ represents a growth step, and γmax represents a constant.


In a further embodiment, in the step 9, the iterative convergence condition is determined according to a formula (24):





Of−Hf(k+1)−Sf(k+1)F/∥OfF≤ϵ1  (24)





Hf(k+1)−Xf(k+1≤ϵ2,


where ϵ1 and ϵ2 represent two constants, Hf(k+1) represents introduced auxiliary variable and is a solution of Hf=Xf after (k+1) iterations, Sf(k+1) represents a solution of sparse noise after (k+1) iterations of the f-th sub-graph, and Xf(k+1) represents a solution of a clean hyperspectral image after (k+1) iterations of the f-th sub-graph.


A hyperspectral image distributed restoration system based on graph signal processing and superpixel segmentation is provided according to an embodiment of the present disclosure, including: a memory, a processor, and a computer program stored in the memory and executable by the processor, where the hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation described above is implemented when the computer program is executed by the processor.


The present disclosure may have at least one of the following beneficial effects.


According to the large-scale hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation provided by the present disclosure, firstly, the underlying structure of the HSI is modeled by a two-layer architecture graph. The upper layer, called skeleton graph, is a rough graph constructed by using the modified k-nearest-neighborhood algorithm and its nodes correspond to a series of superpixels formed by HSI segmentation. The skeleton graph can efficiently characterize the inter-correlations between superpixels, while preserving the boundary information and reducing the computational complexity. The lower layer, called detailed graph consisting of a series of local graphs which are constructed to model the similarities between pixels. Second, based on the two-layer graph architecture, the HSI restoration problem is formulated as a series of optimization problems each of which resides on a subgraph. In each optimization problem, a graph Laplacian regularization is defined and incorporated into a low-rank-based model. Third, a novel distributed algorithm is tailored for the restoration problem, by using the information interaction between the nodes of skeleton graph and subgraphs. The present method overcomes the problem that hyperspectral images (HSI) are often disturbed by various noises and thus brings great challenges to subsequent applications.


A distributed algorithm based on graph signal processing may serve as a new idea to solve this problem. In the graph signal processing framework, these distributed methods always exchange information with neighbors during each iteration, with a potential to achieve better denoising performance than methods based on non-local or superpixel segmentation. Numerical experiments conducted on both synthetic and real world datasets demonstrate the effectiveness of the proposed restoration algorithm compared with existing methods.


Other advantages, objectives, and features of the present disclosure will be set forth in the following specification to some extent, and will be apparent to those skilled in the art based on the following investigation to some extent, or may be taught from the practice of the present disclosure. The objects and other advantages of the present disclosure can be realized and obtained by the following description.





BRIEF DESCRIPTION OF THE DRAWINGS

In order to make the objectives, the technical solutions and the beneficial effects of the present disclosure clearer, the present disclosure provides the following drawings for illustration.



FIG. 1 illustrates a clean original image.



FIG. 2 illustrates an image generated after a noise is added to the clean original image.



FIG. 3 illustrates an image generated after low-rank matrix recovery (LRMR) denoising is performed on the clean original image.



FIG. 4 illustrates an image generated after total-variation-regularized low-rank matrix factorization (LRTV) denoising is performed on the clean original image.



FIG. 5 illustrates an image generated after SSSB denoising is performed on the clean original image.



FIG. 6 illustrates an image generated after hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation (GLRSSDA) denoising is performed according to an embodiment of the present disclosure.



FIG. 7 illustrates a comparison view of peak signal to noise ratios (PSNR) of each band according to an embodiment of the present disclosure.



FIG. 8 illustrates a comparison view of structural similarities (SSIM) of each band according to an embodiment of the present disclosure.





DETAILED DESCRIPTION OF EMBODIMENTS

The present disclosure is further described hereinafter combined with accompanying drawings and specific embodiments, so that those skilled in the art can better understand the present disclosure and implement the present disclosure, but the specific embodiments hereinafter are not intended to limit the present disclosure.


First Embodiment

The first embodiment of the present disclosure provides a large-scale HSI distributed restoration method based on graph signal processing and superpixel segmentation. The method may include steps 1 through step 9 as follows.


In step 1, an input signal model is constructed, to linearly normalize an HSI to a range from 0 to 1, to obtain a normalized HSI. The constructed input signal model Y=X+S+N, where Y presents an input noise signal; X represents a clean original image; S represents sparse noise, which may be an impulse noise, a bad dot, a stripe noise; and N represents a Gaussian noise.


In step 2, an image corresponding to a target-band (for example, a specified band or a random band) from the normalized HSI is selected, and the image is pre-denoised using a median filter to obtain a pre-denoised image.


In step 3, the pre-denoised image is segmented into multiple superpixel regions using simple linear iterative cluster (SLIC) superpixel segmentation algorithm.


In step 4, a skeleton graph is constructed based on the multiple superpixel regions. It is assumed that there are Ms superpixel regions after the segmenting. Ms superpixel regions are modeled as Ms skeleton graph nodes respectively. A graph signal of each skeleton graph node is an average value of all pixels in a superpixel region of the multiple superpixel regions corresponding to the skeleton graph node, a coordinate of the skeleton graph node is a coordinate of a target pixel in the superpixel region, and an intensity value of the target pixel is closest to the graph signal. The skeleton graph custom-character:=({circumflex over (V)}s,custom-character,custom-character) is constructed based on the multiple skeleton graph nodes using a modified k-Nearest Neighbor (KNN) algorithm, where {circumflex over (V)}s represents a node set composed of the multiple skeleton graph nodes, custom-character represents an edge set composed of edges of the skeleton graph, and custom-character represents a skeleton graph adjacency matrix, which is used to describe a correlation weight matrix of the edges of the skeleton graph, and the skeleton graph adjacency matrix custom-character is determined by:


determining an initial skeleton graph adjacency matrix based on an element ai,j of the initial skeleton graph adjacency matrix, the element ai,j is expressed as a formula (1):











a

i
,

j


=


exp

(

-






I
i

-

I
j




2
2


σ
1
2



)



exp

(

-






x
i

-

x
j




2
2


σ
x
2



)



,




(
1
)







where Ii represents a coordinate of the i-th superpixel of all pixels of each of the multiple superpixel regions; Ij represents a coordinate of the j-th superpixel of all pixels of each of the multiple superpixel regions; xi represents a graph signal of the i-th superpixel of all pixels of each of the multiple superpixel regions; xj represents a graph signal of the j-th superpixel of all pixels of each of the multiple superpixel regions; and σ1 and σx represent two constant parameters; and


setting first k relative greater values of each row of the initial skeleton graph adjacency matrix to 1, setting the rest of the row of the initial skeleton graph adjacency matrix to 0, and symmetrizing and modifying the initial skeleton graph adjacency matrix after setting into an unweighted matrix as the skeleton graph adjacency matrix custom-character.


In step 5, a local graph is constructed for all pixels of each of the multiple superpixel regions, to obtain multiple local graphs respectively corresponding to the multiple superpixel regions. The m-th superpixel region of the multiple superpixel regions has Km pixels. All pixels of each of the multiple superpixel regions are modeled as pixel nodes, to thereby construct the multiple local graphs custom-character:=(custom-character,custom-character,custom-character). custom-character represents a node set composed of all pixel nodes in the m-th superpixel region, custom-character represents an edge set composed of edges for connecting each pixel node of the all pixel nodes in the m-th superpixel region to surrounding four neighbors of the pixel node, and custom-character represents an unweighted four-neighborhood adjacency matrix, which is a sparse matrix. A graph signal of each of the multiple local graphs is a vector xm=[xm,1,xm,2, . . . ,xm,Km]T custom-characterKm, a graph signal of an image corresponding to the b-th band of the hyperspectral image is Xm,b=[Xm(1,b), Xm(2,b), . . . , Xm(Km, b)]T custom-characterKm, b=1, . . . , p, and the local graph is applied to an image corresponding to each band of the hyperspectral image. A matrix is formed based on graph signals of all bands, as a graph signal of the hyperspectral image, expressed as: Xm=[Xm(i,b)]=[Xm,1, . . . , Xm,b, . . . , Xm,p)]∈Km×p.


Xm(i,b) represents the i-th graph signal of the image corresponding to the b-th band of the hyperspectral image; Xm,b represents the m-th graph signal of the image corresponding to the b-th band of the hyperspectral image, and custom-characterKm×p represents a dimension Km×p of the matrix.


In step 6, sub-graphs are constructed based on the skeleton graph and the multiple local graphs. Since each sub-graph corresponds to one computing node, a hyperspectral restoration problem is transformed into solving of multiple small-scale problems, each sub-graph of the multiple small-scale problems is located on one of the sub-graphs, and each sub-graph is centered on one of the multiple skeleton graph nodes of the skeleton graph. The f-th sub-graph custom-character of the sub-graphs is expressed as a formula (2):






custom-character:=(Vf,Ef,), f=1, 2, . . . , Ms  (2).









V
f

_

=


{
}


m



(

f
,

d

)





,





custom-character represents the f-th sub-graph, Vf represents a node set


composed of all sub-graph nodes of the f-th sub-graph, Ef represents an edge set composed of edges between the all sub-graph nodes of the f-th sub-graph, Ms represents of a total number of the sub-graphs, and f represents an integer.



custom-character(f, d):={j∈{circumflex over (V)}s:ρ(f, j)≤d} represents a set of neighbor sub-graph nodes of a sub-graph node f of the f-th sub-graph within d hops; ρ(f, j) represents a shortest path (i.e., a quantity of the hopes) from the sub-graph node f to a sub-graph node j. Each sub-graph includes multiple local graphs, the m-th local graph of the at least two of the multiple local graphs is one sub-graph node of the set of neighbor sub-graph nodes of the sub-graph node f corresponding to the f-th sub-graph within the d hops, that is m∈custom-character(f, d); where d represents the set of neighbor sub-graph nodes within the d hops, m represents the m-th local graph and is a sub-graph node of the f-th sub-graph, custom-character represents the node set composed of all pixel nodes in the m-th superpixel region of the multiple superpixel regions, custom-character(f,d) represents the set of neighbor sub-graph nodes of the sub-graph node f corresponding to the f-th sub-graph of the skeleton graph custom-character within the d hops.


The edge set Ef is obtained by: connecting a boundary node to four neighborhood nodes of the boundary node, and forming an edge between the pixel nodes of a local graph custom-character and the local graph custom-character, if there is a boundary connection for the local graph custom-character and the local graph custom-character in corresponding superpixel regions thereof; or, forming only the edge between the pixel nodes of the local graph custom-character and the local graph custom-character, if there is no boundary connection for the local graph custom-character and the local graph custom-character in corresponding superpixel regions thereof, that is, there is edge connection between the pixel nodes of the local graph custom-character and the local graph custom-character.


A Laplacian matrix Lf of the f-th sub-graph custom-character is obtained, and a same sub-graph is applied to all bands of the hyperspectral image corresponding to the sub-graph.


A graph signal of the sub-graph node ν ∈ Vf of the f-th sub-graph is mapped into a vector Xf,b=[Xf(1,b),Xf(2,b), . . . , Xf(ΣKm,b)]T custom-characterΣKm, where m∈custom-character(f,d),b=1, . . . , p, Xf(i,b) represents a graph signal of the i-th sub-graph node corresponding to the b-th band in the f-th sub-graph custom-character, Xf(1,b) represents a graph signal of a first sub-graph node corresponding to the b-th band in the f-th sub-graph custom-character, Km represents a total number of pixels in the superpixel region corresponding to the m-th local graph on the f-th sub-graph custom-character, and b represents the b-th band.


A matrix is formed based on graph signals of all bands using a formula expressed as follows: Xf=[Xf(i,b)]=[Xf,1, . . . , Xf,b, . . . , Xf,p)]∈custom-character(ΣKm)×p, m∈custom-character(f,d), and thus the graph signal of the hyperspectral image on the sub-graph custom-character, f=1, 2, . . . , Ms is obtained.


In step 7, a receiving-transmitting-fusing (also referred to as exchange) distributed mode is applied to each of the sub-graphs, to perform distributed denoising on the HSI. It is assumed that there are Ms computing units, each computing unit corresponds to one of the multiple local graphs custom-character, and a transmission link with neighbored computing units of the computing unit is established by the computing unit based on edges of the skeleton graph custom-character.


Ms computing units perform following steps during each iteration of the optimization model of each of the sub-graphs: receiving computing results from the neighbored computing units when each of multiple iterations is performed; fusing and averaging, by the computing unit, the received computing results from the neighbored computing units with a last calculation result of the computing unit; determining, by the computing unit, an optimized computing result of the computing unit and optimized computing results of the neighbored computing units based on the optimization model of each of the sub-graphs; and transmitting, by the computing unit, the optimized computing result of the computing unit and a corresponding one of the optimized computing results of the neighbored computing units to a corresponding one of the neighbored computing units. The above steps are repeated for iteration solving of the optimization model of each of the sub-graphs.


In step 8, an optimization model of each of the sub-graphs is established based on the each of the sub-graphs; the optimization model is expressed as a formula (3):












min


X

f
,

S
f








(

Σ


K
m


)

×
p







X
f



*


+

α





X
f



GLR


+

β





S
f



1








s
.
t
.






O
f

-

X
f

-

S
f




F
2



ε

,


rank
(

X
f

)



r
.







(
3
)







m∈custom-character(f, d), Km represents a total number of pixels in the m-th superpixel region, α and β are two parameters, and used to adjust proportions of a kernel norm, GLR and an L1 norm, Sf represents a model of sparse noise of in the f-th sub-graph, Of represents hyperspectral image data originally input in the f-th sub-graph, ϵ represents a threshold value, r is a constant for indicating constraint on a rank of a hyperspectral signal; f represents an integer.


GLR of signals of one band of the HSI is expressed as a formula (4):





x∥GLR=xTcustom-characterx=Σi˜jαi,j·(xi−xj)2  (4).


The GLR of signals of all bands of the HSI is expressed as a formula (5):





X∥GLR=Tr(XTcustom-characterX)=∥x1GLR+ . . . +∥xbGLR+ . . . +∥xpGLR  (5).


Therefore, it can be regarded as the combination vector form of GLR. GLR is a quadratic form of matrix, which has many excellent characteristics. A solution of quadratic problem can be solved by simple standard linear algebra. In addition, because of the rank constraint in the optimization model, the formula (3) is non-convex, and the augmented Lagrange multiplier method (ALM) can be used to solve this problem.



custom-character represents a Laplacian matrix of the f-th sub-graph, αi,j represents the (i, j)-th element of an adjacency matrix of the f-th sub-graph; xi represents the i-th graph signal of the f-th sub-graph; ∥xbGLR represents a GLR corresponding to the b-th band; and Tr(·) represents a trace of a matrix.


The formula (3) is equivalently converted into a formula (6):












min


H

f
,


,


X

f
,

S
f








(

Σ


K
m


)

×
p








H
f



*


+

α





X
f



GLR


+

β





S
f



1








s
.
t
.






O
f

-

H
f

-

S
f




F
2



ε

,


rank
(

H
f

)


r

,


H
f

=

X
f


,





(
6
)







where Hf represents an introduced auxiliary variable, and Hf=Xf.


An augmented Lagrange function of the formula (6) is expressed as a formula (7):












(


H
f

,

X
f

,

S
f

,

C
f

,

D
f


)

=





H
f



*

+

α





X
f



GLR


+

β





S
f



1


+




C
f

,


O
f

-

H
f

-

S
f





+




D
f

,


X
f

-

H
f





+


γ
2



(






O
f

-

H
f

-

S
f




F
2

+





X
f

-

H
f




F
2


)







(
7
)













s
.
t
.


rank
(

H
f

)



r

,





where r represents a penalty variable, which is greater than zero, and Cf and Df represent Lagrange multipliers. When the formula (7) is alternately optimized, one variable can be optimized while other variables are remain unchanged.


The formula (7) is alternately optimized through following updatings:


1) updating Hf










H
f

(

k
+
1

)


=





argmin






rank
(

H
f

)


r








(


H
f

,

X
f

(
k
)


,

S
f

(
k
)


,

C
f

(
k
)


,

D
f

(
k
)



)


=





argmin






rank
(

H
f

)


r









H
f



*


+




C
f

(
k
)


,


O
f

-

H
f

-

S
f

(
k
)






+




D
f

(
k
)


,


X
f

(
k
)


-

H
f





+


γ
2



(






O
f

-

H
f

-

S
f

(
k
)





F
2

+


γ
2







X
f

(
k
)


-

H
f




F
2



)








(
8
)









=





argmin






rank
(

H
f

)


r









H
f



*


+

γ
(






H
f

-


1
2



(


O
f

+

X
f

(
k
)


-

S
f

(
k
)


+


1
γ



(


C
f

(
k
)


+

D
f

(
k
)



)



)





F
2

,







(k+1) represents a (k+1)-th iteration, Xf(k) represents the denoised hyperspectral image after the k-th iteration of the f-th sub-graph, Sf(k) represents sparse noise after the k-th iteration of the f-th sub-graph, Cf(k) and Df(k) represent Lagrange multipliers after the k-th iteration of the f-th sub-graph.


For a given matrix Z ∈ custom-characterK×p with a rank r, singular value decomposition is used to decompose the given matrix, to obtain a formula (9):






Z=UE
r
V
H
,E
r=diag(σi)  (9),


U ∈ custom-characterK×r and V ∈ custom-characterp×r are orthogonal matrices, Er represents a diagonal matrix composed of singular values, a singular value σi(1≤i≤r)≥0, a threshold value ϕ being greater than or equal to zero is given, and a singular value threshold value (also referred to as ingular value contraction) operator is defined as a formula (10):






D
ϕ(Z)=UDϕ(Er)VH  (10)






D
ϕ(Er)=diag(max(η,0))


η=σi−ϕ, η represents a vector composed of a difference between an i-th singular value σi and a threshold value ϕ, σi represents the i-th singular value after singular value decomposition, ϕ represents a constant, which is the threshold value, Dϕ(·) represents a solution of a singular value contraction operator, the singular value contraction operator (10) is a solution of a problem (11):











D
ϕ

(
X
)

=





argmin






rank
(
H
)


r








H


*


+


1

2

ϕ








H
-
Z



F
2

.







(
11
)







The singular value contraction operator (10) is used to optimize a solution of the formula (8) to obtain a formula (12):











H
f

(

k
+
1

)


=


D

1

2

γ



(


1
2



(


O
f

+

X
f

(
k
)


-

S
f

(
k
)


+


1
γ



(


C
f

(
k
)


+

D
f

(
k
)



)



)


)


,




(
12
)







2) updating Xf














X
f

(

k
+
1

)


=




argmin




X







(


H
f

(

k
+
1

)


,

X
f

,

S
f

(
k
)


,

C
f

(
k
)


,

D
f

(
k
)



)








=





argmin





X
f





α





X
f



GLR


+




D
f

(
k
)


,


X
f

-

H
f

(

k
+
1

)






+


γ
2







X
f

-

H
f

(

k
+
1

)





F
2









=





argmin





X
f





α





X
f



GLR


+


γ
2








X
f

-

H
f

(

k
+
1

)


+


D
f

(
k
)


γ




F
2

.







,




(
13
)







For convenience, Bf=Hf(k+1)−DB(k)/γ+[b1, . . . , bp], and according to the matrix form of GLR in the formula (5), the formula (13) is equivalent to a formula (14):










X
f

(

k
+
1

)


=




argmin






X
f

=

[


x
1

,


,

x
p


]










j
=
1

p


(



α





x
j



GLR


+


γ
2



(





x
j

-

b
j




2
2

)



,








(
14
)







Then, the formula (14) is decomposed into p sub-problems and solved band by band, and the j-th sub-problem of the p sub-problems is expressed as a formula (15):










x
j

(

k
+
1

)


=





argmin





x
j





α





x
j



GLR


+


γ
2



(






x
j

-

b
j




2
2

=


α


x
j
T



L


𝒢
f

_




x
j


+


γ
2








x
j

-

b
j




2
2

.











(
15
)







The formula (15) is a least squares problem, and a solution of the formula (15) is expressed as a formula (16):






x
j
(k+1)=(2αcustom-characterI)−1γbj  (16).


Therefore, a solution of the formula (14) can be obtained by combining the solutions (16) of each band and is expressed as a formula (17):











[


x
1

(

k
+
1

)


,


,

x
f

(

k
+
1

)


,


,

x
p

(

k
+
1

)



]

=


[




(


2

α


L


𝒢
f

_



+

γ

I


)


-
1



γ


b
1


,


,



(


2

α


L


𝒢
f

_



+

γ

I


)


-
1



γ


b
f


,


,



(


2

α


L


𝒢
f

_



+

γ

I


)


-
1



γ


b
p



]

=



(


2

α


L


𝒢
F

_



+

γ

I


)


-
1


[


b
1

,


,

b
f

,


,

b
p


]



,




(
17
)







It is apparent that the formula (17) can be rewritten in matrix form expressed in a formula (18):






X
f
(k+1)=(2αcustom-characterI)−1Bf  (18)


By derivation, the formula (13) is equivalently transformed to a formula (19):













X
f

(

k
+
1

)


=





argmin





X
f





α





X
f



GLR


+


γ
2







X
f

-

H
f

(

k
+
1

)


+


D
f

(
k
)


γ




F
2









=





argmin





X
f





α


Tr

(


X
f
T



L


𝒢
f

_




X
f


)


+


γ
2







X
f

-

H
f

(

k
+
1

)


+


D
f

(
k
)


γ




F
2









=



(


2

α


L


𝒢
f

_



+

γ

I


)


-
1





(


H
f

(

k
+
1

)


-


D
f

(
k
)


γ


)

.









(
19
)







3) updating Sf














S
f

(

k
+
1

)


=




argmin





S
f








(


H
f

(

k
+
1

)


,

X
f

(

k
+
1

)


,

S
f

,

C
f

(
k
)


,

D
f

(
k
)



)








=





argmin





S
f





β





S
f



1


+




C
f

(
k
)


,


O
f

-

H
f

(

k
+
1

)


-

S
f





+


γ
2







O
f

-

H
f

(

k
+
1

)


-

S
f




F
2









=





argmin





S
f





β





S
f



1


+


γ
2








S
f

-

(


O
f

-

H
f

(

k
+
1

)


+


C
f

(
k
)


γ


)




F
2

.







,




(
20
)







A soft threshold operator is introduced and expressed as a formula (21):











R
Δ

(
φ
)

=

{






φ
-
Δ

,


if


φ

>
Δ








φ
+
Δ

,


if


φ

<
Δ







0
,
otherwise




,






(
21
)







where φ∈custom-character, Δ>0, and a solution of the formula (20) is expressed as a formula (22):










S
f

(

k
+
1

)


=


R

β
γ


(


(


O
f

-

H
f

(

k
+
1

)


+


C
f

(
k
)


γ


)

,






(
22
)







4) updating the Lagrange multipliers Cf and Df, and the penalty variable γ






C
f
(k+1)
=C
f
(k)+γ(Of−Hf(k+1)−Sf(k+1))






D
f
(k+1)
=D
f
(k)+γ(Xf(k+1)−Hf(k+1))  (23)





γ(k+1)=min(ργ(k)max),


where ρ represents a growth step, and γmax represents a constant.


In step 9, the step 7 and the step 8 are repeated through multiple iterations, where each of the multiple iterations adopts the receiving-transmitting-fusing distributed mode in the step 7 to iteratively solve the optimization model in the step 8; and in a situation that each of the sub-graphs being meeting an iterative convergence condition, the repeating is stopped, and a corresponding sub-graph of the sub-graphs meeting the iterative convergence condition is no longer updated while other sub-graphs of the sub-graphs not meeting the iterative convergence condition continue to participate the repeating. The iterative convergence condition is determined according to a formula (24):





Of−Hf(k+1)−Sf(k+1)F/∥OfF≤ϵ1  (2)





Hf(k+1)−Xf(k+1)≤ϵ2,


where ϵ1 and ϵ2 represent two constants, Hf(k+1) represents introduced auxiliary variable and is a solution of Hf=Xf after (k+1) iterations, Sf(k+1) represents a solution of sparse noise after (k+1) iterations of the f-th sub-graph, and Xf(k+1) represents a solution of a clean hyperspectral image after (k+1) iterations of the f-th sub-graph.


Further, a hyperspectral image distributed restoration system based on graph signal processing and superpixel segmentation is provided according to an embodiment of the present disclosure, including: a memory, a processor, and a computer program stored in the memory and executable by the processor, where the hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation described above is implemented when the computer program is executed by the processor.


Second Embodiment

In the second embodiment, the input hyperspectral image is a clean hyperspectral image of a Washington Shopping Center, namely X, which has 191 bands and a dimension thereof is 1280×307×191. Noises are added artificially, and the added noises include parse noise (including a salt and pepper noise and a deadline noise) and a Gaussian noise. An output after noise addition is Y. A three-dimensional (3D) hyperspectral image after noise addition is input into the model of this method of the present disclosure to obtain the denoised hyperspectral image.


In this embodiment, parameters of the specific steps are set as follows. In the step (2), a specific hyperspectral band is selected, and hyperspectral data of the 50-th band is taken; and a window adopted by the median filtering is [3, 3]. For parameters of the SLIC superpixel segmentation in the step (3), a size of the regions is set to 30, and a regularization parameter is set to 0.05. In the step (4), σ1=100, σx=0.2, and k=3. In the step (6), d=1. In the step (8), α=0.5, β=0.23, ϵ=ϵ1 2=1e−6, r=3, ρ=1.5, γmax=1e6, each of Hf(0), Xf(0), Sf(0), Cf(0), Df(0) is an all-zero matrix, and γ(0)=1e−2. Finally, a peak signal-to-noise ratio (PSNR) and a structural similarity (SSIM) parameters of the denoised hyperspectral image X and the clean image without adding noise are calculated to evaluate the superiority of the denoised effect.


The denoised 3D hyperspectral image is input into the technical solution model with set parameters of the present disclosure. The solution GLRSSDA is compared with a hyperspectral image restoration method based on low-rank matrix recovery (LRMR) proposed by Hongyan Zhang, the hyperspectral image restoration method based on total-variation-regularized low-rank matrix factorization (LRTV) proposed by Wei He and the hyperspectral image restoration method based on superpixel segmentation of smooth band (SSSB) proposed by Yaru Fan, and the comparison graphs before and after denoising are shown in FIGS. 1 to 6, which are grayscale graphs showing a depth of black, the darker the color, the smaller a gray value of a gray scale image. FIG. 1 illustrates a clean original image, FIG. 2 illustrates an image generated after a noise is added to the clean original image, FIG. 3 illustrates an image denoised by the LRMR method, FIG. 4 illustrates an image denoised by the LRTV method, FIG. 5 illustrates an image denoised by the SSSB method, and FIG. 6 illustrates an image denoised by the GLRSSDA of the present disclosure. According to the comparison between FIGS. 1 and 2, it can be observed that more serious noise is added in this experiment, which can better reflect the effectiveness of the technical solution of the present disclosure. According to FIGS. 3 and 5, it can be observed that there is detail loss in the image, and there is over-smoothing in FIG. 4, while FIG. 6 shows a good denoising ability, which not only removes noise well, but also excels in edge details, that is to say, it can be observed that the model of the technical solution of the present disclosure has a good denoising effect. Comparing the PSNR and SSIM parameters of each band after denoising in the technical solution of the present disclosure with the solutions of the above-mentioned prior art, FIGS. 7 and 8 are obtained. It can be seen from the two drawings that the circled solid line in the drawings represents a curve of the GLRSSDA of the technical solution of the present disclosure, the solid line with ‘.’ represents a curve of the LRMR, the dotted line with ‘+’ represents a curve of the LRMR, and the dotted line with a five-pointed star represents a curve of the SSSB. There is a footnote corresponding to the line type and technical solution in an upper left of each of the two drawings. The higher the PSNR and SSIM, the better the denoising effect. From FIGS. 7 and 8, it can be observed that the denoising effect of PSNR and SSIM in the technical solution of the present disclosure is better than that of LRMR, LRTV and SS SB in most bands.


In summary, it can be observed that the technical solution of the present disclosure is superior to the technical solutions of the above-mentioned prior arts. The PSNR and SSIM of each band in the technical solution of the present disclosure and the above-mentioned existing solution are averaged to obtain MPSNR and MSSIM indexes, to obtain results shown in a table 1 below, and it can be observed that the technical solution of the present disclosure is superior to the above-mentioned existing solutions.









TABLE 1







Comparison table of denoising effect of different methods








Comparison of
Denoising method











denoising effect
LRMR
LRTV
SSSB
GLRSSDA















Parameter
MPSNR
28.93
37.30
33.09
40.38



MSSIM
0.5131
0.7905
0.6615
0.8893









The large-scale hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation provided by the embodiment of the present disclosure overcomes the problem that hyperspectral images (HSI) are often disturbed by various noises.


The above-mentioned embodiments are merely preferred embodiments for fully explaining the present disclosure, and the scope of protection of the present disclosure is not limited thereto. Equivalent substitutions or changes made by those skilled in the art on the basis of the present disclosure are within the scope of protection of the present disclosure. The scope of protection of the disclosure is subject to the claims.

Claims
  • 1. A hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation, comprising: step 1, constructing an input signal model, to linearly normalize a hyperspectral image to obtain a normalized hyperspectral image;step 2, selecting an image corresponding to a target-band from the normalized hyperspectral image, and pre-denoising the image to obtain a pre-denoised image;step 3, segmenting the pre-denoised image into a plurality of superpixel regions using simple linear iterative cluster (SLIC) superpixel segmentation algorithm;step 4, constructing a skeleton graph based on the plurality of superpixel regions;step 5, constructing a local graph for all pixels of each of the plurality of superpixel regions, to obtain a plurality of local graphs respectively corresponding to the plurality of superpixel regions;step 6, constructing sub-graphs based on the skeleton graph and the plurality of local graphs;step 7, applying an exchange distributed mode to each of the sub-graphs, to perform distributed denoising on the hyperspectral image;step 8, establishing an optimization model of each of the sub-graphs, based on the each of the sub-graphs; andstep 9, repeating step 7 and step 8 through a plurality of iterations, wherein each of the plurality of iterations adopts the exchange distributed mode in the step 7 to iteratively solve the optimization model in the step 8; and in a situation that each of the sub-graphs being meeting an iterative convergence condition, the plurality of iterations are stopped, and a corresponding sub-graph of the sub-graphs meeting the iterative convergence condition is no longer updated while other sub-graphs of the sub-graphs not meeting the iterative convergence condition continue to participate the plurality of iterations.
  • 2. The hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation according to claim 1, wherein in the step 4, the constructing the skeleton graph based on the plurality of superpixel regions, comprises: modeling the plurality of superpixel regions as a plurality of skeleton graph nodes respectively, wherein a graph signal of each skeleton graph node of the plurality of skeleton graph nodes is an average value values of all pixels in a superpixel region of the plurality of superpixel regions corresponding to the skeleton graph node, a coordinate of the skeleton graph node is a coordinate of a center pixel of the all pixels whose intensity is closest to the graph signal; andconstructing the skeleton graph :=({circumflex over (V)}s,,) based on the plurality of skeleton graph nodes using a modified k-Nearest Neighbor (KNN) algorithm, where {circumflex over (V)}s represents a node set composed of the plurality of skeleton graph nodes, represents an edge set composed of edges of the skeleton graph, and represents a skeleton graph adjacency matrix, which is used to describe a correlation weight matrix of the edges of the skeleton graph,wherein the skeleton graph adjacency matrix is determined by: determining an initial skeleton graph adjacency matrix based on an element ai,j of the initial skeleton graph adjacency matrix, the element ai,j is expressed as a formula (1):
  • 3. The hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation according to claim 1, wherein in the step 5, the m-th superpixel region of the plurality of superpixel regions has Km pixels, and the constructing the local graph for all pixels of each of the plurality of superpixel regions, to obtain the plurality of local graphs respectively corresponding to the plurality of superpixel regions, comprises: modeling all pixels of each of the plurality of superpixel regions as pixel nodes, to thereby construct the plurality of local graphs :=(,,),wherein represents a node set composed of all pixel nodes in the m-th superpixel region, represents an edge set composed of edges for connecting each pixel node of the all pixel nodes in the m-th superpixel region to surrounding four neighbors of the pixel node, and represents an unweighted four-neighborhood adjacency matrix;wherein a graph signal of each of the plurality of local graphs is a vector xm=[xm,1, xm,2, . . . , xm,Km]T ∈Km, a graph signal of an image corresponding to the b-th band of the hyperspectral image is Xm,b=[Xm(1,b),Xm(2,b), . . . ,Xm(Km,b)]% ∈Km, b=1, . . . , p, and the local graph is applied to an image corresponding to each band of the hyperspectral image;wherein a matrix is formed based on graph signals of all bands, as a graph signal of the hyperspectral image, expressed as: Xm=[Xm(i,b)]=[Xm,1, . . . , Xm,b, . . . , Xm,p)]∈Km×p, where Xm(i,b) represents the i-th graph signal of the image corresponding to the b-th band of the hyperspectral image; Xm,b represents the m-th graph signal of the image corresponding to the b-th band of the hyperspectral image, and Km×p represents a dimension Km×p of the matrix.
  • 4. The hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation according to claim 3, wherein in the step 6, a hyperspectral restoration problem is transformed into solving of a plurality of small-scale problems, each sub-graph of the plurality of small-scale problems is located on one of the sub-graphs, and each sub-graph is centered on one of the plurality of skeleton graph nodes of the skeleton graph; wherein the f-th sub-graph of the sub-graphs is expressed as a formula (2): :=(Vf,Ef), f=1, 2, . . . , Ms  (2)where
  • 5. The hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation according to claim 1, wherein in the step 7, a plurality of computing units are set, each of the plurality of computing units corresponds to one of the plurality of local graphs, and a transmission link with neighbored computing units of the computing unit is established by the computing unit based on edges of the skeleton graph, and wherein the applying the exchange distributed mode to each of the sub-graphs to perform distributed denoising on the hyperspectral image, comprises: receiving computing results from the neighbored computing units when each of plurality of iterations is performed;fusing and averaging, by the computing unit, the received computing results from the neighbored computing units with a last calculation result of the computing unit;determining, by the computing unit, an optimized computing result of the computing unit and optimized computing results of the neighbored computing units based on the optimization model of each of the sub-graphs; andtransmitting, by the computing unit, the optimized computing result of the computing unit and a corresponding one of the optimized computing results of the neighbored computing units to a corresponding one of the neighbored computing units.
  • 6. The hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation according to claim 1, wherein in the step 8, the optimization model is expressed as a formula (3):
  • 7. The hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation according to claim 6, wherein in the step 8, the optimization model is obtained according to augmented Lagrange method; wherein the formula (3) is equivalently converted into a formula (6):
  • 8. The hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation according to claim 1, wherein in the step 9, the iterative convergence condition is determined according to a formula (24): ∥Of−Hf(k+1)−Sf(k+1)∥F/∥Of∥F≤ϵ1  (24)∥Hf(k+1)−Xf(k+1)∥∞≤ϵ2,where ϵ1 and ϵ2 represent two constants, Hf(k+1) represents introduced auxiliary variable and is a solution of Hf=Xf after (k+1) iterations, Sf(k+1) represents a solution of sparse noise after (k+1) iterations of the f-th sub-graph, and Xf(k+1) represents a solution of a clean hyperspectral image after (k+1) iterations of the f-th sub-graph.
  • 9. A hyperspectral image distributed restoration system based on graph signal processing and superpixel segmentation, comprising: a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the hyperspectral image distributed restoration method based on graph signal processing and superpixel segmentation according to claim 1 is implemented when the computer program is executed by the processor.
Priority Claims (1)
Number Date Country Kind
2022109338569 Aug 2022 CN national