CN101567079B - Method for restoring motion blurred image based on Hopfield neural network - Google Patents

Method for restoring motion blurred image based on Hopfield neural network Download PDF

Info

Publication number
CN101567079B
CN101567079B CN2009100228676A CN200910022867A CN101567079B CN 101567079 B CN101567079 B CN 101567079B CN 2009100228676 A CN2009100228676 A CN 2009100228676A CN 200910022867 A CN200910022867 A CN 200910022867A CN 101567079 B CN101567079 B CN 101567079B
Authority
CN
China
Prior art keywords
neural network
hopfield neural
network
neuron
neuronic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009100228676A
Other languages
Chinese (zh)
Other versions
CN101567079A (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.)
Xidian University
Original Assignee
Xidian 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 Xidian University filed Critical Xidian University
Priority to CN2009100228676A priority Critical patent/CN101567079B/en
Publication of CN101567079A publication Critical patent/CN101567079A/en
Application granted granted Critical
Publication of CN101567079B publication Critical patent/CN101567079B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for restoring a motion blurred image based on Hopfield neural network, which mainly solves the problem that the prior art cannot converge an overall extreme point whenthe network is stable. The method is achieved according to the following steps: (1) constructing a Toeplitz matrix H; (2) calculating a network weight matrix and an input bias matrix; (3) calculating the input of a network neuron; (4) calculating the output of the neuron by using an updating rule; (5) calculating the output of the network by using a transfer function; (6) judging whether the upda ting of all neurons is finished or not, if so, returning to the step (3), and otherwise, executing the step (7); and (7) judging whether a preset iterations is reached or not, if so, obtaining a restoration result of the blurred image, and otherwise, returning to the step (3) until the preset iterations is reached. The method can obtain a better image restoration result, has better convergence performance, and can be applied to restoring the motion blurred image appearing in the process of digital images.

Description

Method for restoring motion blurred image based on the Hopfield neural network
Technical field
The invention belongs to technical field of image processing, a kind of restoration methods of motion blur image specifically, this method can be used for the recovery to the motion blur image that is occurred in the digital picture process.
Background technology
Image recovers to be meant removal or to alleviate the image quality decrease phenomenon that takes place that in obtaining the digital picture process it is an important and challenging research contents in the Flame Image Process.Recover problem for image, the researcher has proposed a lot of methods.
Traditional restoration methods such as liftering, Wiener filtering, Kalman filtering and generalized inverse singular value decomposition method are widely used in the recovery of image, but these methods require image to satisfy the hypothesis of wide stationary process, and the motion blur image that obtains in the reality can't satisfy such hypothesis fully, thereby has limited these methods to the restorability of motion blur image and application in practice.In addition, these methods require motion blur images to have higher signal to noise ratio (S/N ratio), are only applicable to the image of high s/n ratio as the method for liftering, and this point has further limited the application in practice of traditional restoration methods.
In recent years, the Hopfield neural network has obtained using widely as the means that a kind of image recovers.The scholar Paik of Korea S takes the lead in the image recovery method based on the Hopfield neural network that Zhou proposes is improved, referring to article " Image restoration using a modified Hopfield network ", IEEE Trans.ImageProcessing, 1992, Vol.1, pp.49-63, this method is represented each pixel of image with a neuron, and need not to judge the increase and decrease of Hopfield neural network energy, though these improvement have improved restorability and have reduced the complexity of recovering, but,, make that the speed of convergence of network still is undesirable because the neuron state of this network adopts step to change.After this, the people such as scholar Wu of China improve the method for Paik, referring to article " An Improved Algorithm for Image Restoration Based on Modified Hopfield NeuralNetwork ", Proceedings of the Fourth International Conference on Machine Learning andCybernetics, Guangzhou, August 2005, pp.18-21, the speed of convergence of this method further is improved, but this method is easy to be absorbed in Local Extremum owing to reaching at network when stablizing, can't reach the global extremum point, thereby influenced the quality of recovering image, in addition, the speed of network convergence is still waiting to improve.
Summary of the invention
The objective of the invention is to overcome the deficiency of above-mentioned prior art, proposed a kind of method for restoring motion blurred image, reach the global extremum point when being implemented in network stabilization, improve quality and the speed of convergence of recovering image based on the Hopfield neural network.
The technical scheme that realizes the object of the invention is that the Hopfield neural network of serial is improved, and applies it to then in the middle of the image recovery.Its concrete steps comprise:
(1) sets Hopfield neural network iterations, utilize point spread function structure Toeplitz matrix H;
(2) utilize the Toeplitz matrix H to calculate Hopfield neural network weight matrix W and input bias matrix b;
(3) utilize Hopfield neural network weight matrix W and network input bias matrix b, calculate i neuron input u of this network i
(4) utilize i neuron input u iWith Hopfield neural network weight matrix W, calculate neuronic i the neuron output of this network Δ x i
(5) utilize Hopfield neural network i neuronic output Δ x iWith Hopfield neural network transfer function f, calculate i output x of whole Hopfield neural network i, wherein (1,2,3...L), L represents the output number of whole Hopfield neural network to i ∈;
(6) adopt the serial of calculating i+1 to choose neuronic method, and give i, judge whether the i≤L that satisfies condition,, return step (3) if satisfy with the result of calculation assignment; If do not satisfy execution in step (7);
(7) the Hopfield neural network being carried out iteration develops, judge whether to reach the iterations of setting, if reached the iterations of setting, then Hopfield neural network at this moment is output as the restoration result of motion blur image, if do not reach the iterations of setting, return step (3), till the iterations that reaches setting.
The present invention has the following advantages compared with prior art:
1, the present invention has broken through image and must satisfy the condition of wide stationary process because the method that has adopted iteration to develop is compared with classical image recovery method, and has reduced in the image recovery process requirement to high s/n ratio;
2, the present invention is owing to adopt serial to choose neuron, utilize the neuron input and the Hopfield neural network weight matrix of Hopfield neural network to calculate this network output, compare with existing serial Hopfield neural net method, can when network stabilization, reach the global extremum point, have better restorability and speed of convergence, can obtain the restoration result of motion blur image comparatively fast, preferably.
Description of drawings
Fig. 1 is a process flow diagram of the present invention;
Fig. 2 is the former picture rich in detail that the present invention and existing three kinds of methods are used in emulation experiment;
Fig. 3 is the present invention and existing three kinds of motion blur images that method is used in emulation experiment;
Fig. 4 is the present invention and the signal to noise ratio (S/N ratio) improvement amount trend graph of existing three kinds of methods under different iterationses;
Fig. 5 is the present invention and the trend graph of the Y-PSNR of existing three kinds of methods under different iterationses;
Fig. 6 is the recovery image enlarged drawing of the present invention under different iterationses;
Fig. 7 is the recovery image enlarged drawing of existing serial Hopfield neural network under different iterationses;
Fig. 8 is the enlarged drawing of the recovery image of Hopfield neural network restoration methods under different iterationses of existing P aik;
Fig. 9 is the enlarged drawing of the recovery image of Hopfield neural network restoration methods under different iterationses of existing Zhou.
Embodiment
With reference to Fig. 1, specific implementation step of the present invention is as follows:
Step 1 is set Hopfield neural network iterations, utilizes point spread function structure Toeplitz matrix H.
At first, rule of thumb value is set Hopfield neural network iterations, is generally 300 to 400 times;
Secondly, determine motion blur yardstick d, the motion blur angle
Figure G2009100228676D00031
, these two parameters of supposition are known in the emulation experiment, fuzzy yardstick d value between 1 to 15, motion blur angle
Figure G2009100228676D00032
Value between 1 to 90 degree is used following formula like this, just constructed point spread function h (x, y); (x y) uses following formula construction to go out the Toeplitz matrix H to utilize point spread function h then;
h ( x , y ) = 1 / d - d / 2 ≤ r ≤ d / 2 0 otherwise
Wherein,
Figure G2009100228676D00034
Figure G2009100228676D00036
Step 2 utilizes the Toeplitz matrix H to calculate Hopfield neural network weight matrix W and input bias matrix b.
The computing formula of weight matrix W is: W=-H TH (1)
The computing formula of input bias matrix b is: b=H TG (2)
Wherein, g is a motion blur image, H TIt is the H transposed matrix.
Step 3 is utilized Hopfield neural network weight matrix W and network input bias matrix b, calculates i neuron input u of this network i
I neuronic input u iComputing formula be: u i = b i + Σ j w ij f j ( t ) - - - ( 3 )
Wherein, w IiBe the element among the Hopfield neural network weight matrix W, b iBe the element among the Hopfield neural network weight matrix b, f j(t) be the current output valve of j neuron of Hopfield neural network behind the t time iteration process network.
Step 4 is utilized i neuron input of Hopfield neural network u iWith Hopfield neural network weight matrix W, calculate neuronic i the neuron output of this network Δ x i
(4a) utilize i neuron input of Hopfield neural network u i, calculate the neuronic i of this network neuronic modifying factor: Δ x ' i=2u i
(4b) utilize i neuron input of Hopfield neural network u i, the element w among the Hopfield neural network weight matrix W IiWith i neuronic modifying factor Δ x ' i, calculate neuronic i the neuron output of this network: Δ x i=d (u iThe u of)=- i/ w Ii-Δ x ' i
Step 5 is utilized Hopfield neural network i neuronic output Δ x iWith Hopfield neural network transfer function f, calculate i output x of whole Hopfield neural network i, wherein i ∈ (1,2,3...L), L represents the output number of whole Hopfield neural network, and its computing formula is as follows:
x i = f ( &Delta;x i ) = 0 &Delta;x i < 0 &Delta;x i 0 &le; &Delta;x i &le; 255 255 255 < &Delta; x i . - - - ( 4 )
Step 6 adopts serial to upgrade neuronic method the neuron in the Hopfield neural network of the present invention is upgraded.
At first, change i+1 neuron over to, give i with its result of calculation assignment again from i current neuron; Judge whether the i≤L that satisfies condition then,, return step (3) if satisfy; If do not satisfy execution in step (7); Wherein, L is neuronic sum, for the purpose of the present invention, and owing to each pixel is represented by a neuron, so the number of the pixel of image just equals the size of L.
Step 7, the Hopfield neural network is carried out iteration to be developed, judge whether to reach the iterations of setting, if reached the iterations of setting, then Hopfield neural network at this moment is output as the restoration result of motion blur image, if do not reach the iterations of setting, return step (3), till the iterations that reaches setting.
This algorithm is a kind of method of iteration, all x after each iteration iVariation has all taken place, and after reaching set iterations and reaching, the output of Hopfield neural network is exactly the restoration result to motion blur image.
Effect of the present invention is found out by following The simulation experiment result.
1) simulated conditions: the used image of emulation experiment derives from the standard picture storehouse, be example only below with the part of Lena image, former picture rich in detail and the motion blur image used among the present invention are described, with reference to Fig. 2 and Fig. 3, they are respectively former picture rich in detail and the motion blur images that the present invention is applied in emulation experiment.
In emulation experiment, used the quality that two evaluation indexes are estimated restoration result, they are respectively signal to noise ratio (S/N ratio) improvement amount ISNR, Y-PSNR PSNR.Their definition is respectively:
Signal to noise ratio (S/N ratio) improvement amount: ISNR = 10 log 10 | | g - f | | 2 | | f ( t ) - f | | 2 - - - ( 5 )
Y-PSNR: PSNR = 10 log 10 ( 255 2 &times; M &times; N &Sigma; | | f ( t ) - f | | 2 ) - - - ( 6 )
Wherein: f is a picture rich in detail, and g is a motion blur image, and f (t) is t the image after the iteration, and M and N are the size of picture size.
2) simulation result
Fig. 4 be the present invention with the Hopfield neural network restoration methods of Zhou, the Hopfield neural network restoration methods of Paik and the trend graph of the signal to noise ratio (S/N ratio) improvement amount of serial Hopfield neural net method under different iterationses.
Fig. 5 be the present invention with the Hopfield neural network restoration methods of Zhou, the Hopfield neural network restoration methods of Paik and the trend graph of serial Hopfield neural net method Y-PSNR under different iterationses.
The ISNR that the present invention and three kinds of control methodss are obtained when different iterations and the data of PSNR value are as shown in table 1.Method of the present invention and existing serial Hopfield neural net method carry out 50 times the experiment after statisticss as shown in table 2.Wherein, Alg1 is a method of the present invention, and Alg2 is a serial Hopfield neural net method, and Alg3 is the Hopfield neural network restoration methods of Paik, and Alg4 is the Hopfield neural network restoration methods of Zhou.
Fig. 6 (a), Fig. 6 (b), Fig. 6 (c) and Fig. 6 (d) represent respectively the present invention carry out 100 times, 150 times, 200 times and 250 iteration after the recovery image; Fig. 7 (a), Fig. 7 (b), Fig. 7 (c) and Fig. 7 (d) represent respectively serial Hopfield neural net method carry out 100 times, 150 times, 200 times and 250 iteration after the recovery image; The Hopfield neural network restoration methods that Fig. 8 (a), Fig. 8 (b), Fig. 8 (c) and Fig. 8 (d) represent Paik respectively carry out 100 times, 150 times, 200 times and 250 iteration after the recovery image; The Hopfield neural network restoration methods that Fig. 9 (a), Fig. 9 (b), Fig. 9 (c) and Fig. 9 (d) represent Zhou respectively carry out 100 times, 150 times, 200 times and 250 iteration after the recovery image.
From Fig. 4 and Fig. 5 as seen, the present invention and other three kinds of methods all can reach stable status, but recovery effects of the present invention obviously is better than other three kinds of existing methods.
ISNR and PSNR value that table 1. the present invention and control methods are obtained when different iterations
Figure G2009100228676D00061
As can be seen from Table 1, method of the present invention is bigger than ISNR and the PSNR value that other three kinds of control methodss obtain.
From Fig. 6 (a), Fig. 7 (a), Fig. 8 (a) and Fig. 9 (a) also as can be seen, carry out 100 times iteration in neural network after, use the image graph 6 (a) after method of the present invention is recovered more much better on visual effect than other three kinds of method image restored Fig. 7 (a), Fig. 8 (a) and Fig. 9 (a).From Fig. 6 (b), Fig. 7 (b), Fig. 8 (b) and Fig. 9 (b) also as can be seen, carry out 150 times iteration in neural network after, use the image graph 6 (b) after method of the present invention is recovered more much better on visual effect than other three kinds of method image restored Fig. 7 (b), Fig. 8 (b) and Fig. 9 (b).From Fig. 6 (c), Fig. 7 (c), Fig. 8 (c) and Fig. 9 (c) also as can be seen, carry out 200 times iteration in neural network after, use the image graph 6 (c) after method of the present invention is recovered more much better on visual effect than other three kinds of method image restored Fig. 7 (c), Fig. 8 (c) and Fig. 9 (c).From Fig. 6 (d), Fig. 7 (d), Fig. 8 (d) and Fig. 9 (d) as can be seen, carry out 250 times iteration in neural network after, use the image graph 6 (d) after method of the present invention is recovered more much better on visual effect than other three kinds of method image restored Fig. 7 (d), Fig. 8 (d) and Fig. 9 (d).
Because in three kinds of control methodss, the restorability of serial Hopfield neural net method is better than the restorability of the Hopfield neural network restoration methods of the Hopfield neural network restoration methods of Zhou, Paik, therefore, the present invention and serial Hopfield neural net method have carried out 50 times contrast experiment, and the data that experiment obtains are as shown in table 2.Wherein, after Δ PSNR is illustrated in identical iterations, the PSNR value that the present invention obtains is than the raising amount of the PSNR value of serial Hopfield neural net method acquisition, after Δ ISNR is illustrated in identical iterations, the raising amount of the ISNR value that the resulting ISNR value of the present invention obtains than serial Hopfield neural net method.
Table 2. the present invention is carrying out the statistics after the experiment 50 times
Fuzzy yardstick Fuzzy angle ΔPSNR ΔISNR
1-15 1-90 0.1-0.7(dB) 0.1-0.65(dB)
Table 2 is that method of the present invention and existing serial Hopfield neural net method are being carried out the statistics after the experiment 50 times.Also as can be seen, the present invention has restorability preferably than serial Hopfield neural net method from table 2.

Claims (1)

1. the method for restoring motion blurred image based on the Hopfield neural network comprises the steps:
(1) sets Hopfield neural network iterations, utilize point spread function structure Toeplitz matrix H;
(2) utilize the Toeplitz matrix H to calculate Hopfield neural network weight matrix W and input bias matrix b;
(3) utilize Hopfield neural network weight matrix W and input bias matrix b, calculate i neuron input u of this network i
(4) utilize i neuron input u iWith Hopfield neural network weight matrix W, calculate neuronic i the neuron output of this network Δ x i:
(4a) utilize i neuron input of Hopfield neural network u iCalculate the neuronic i of this network neuronic modifying factor: Δ x ' i=2u i
(4b) utilize i neuron input of Hopfield neural network u i, the element w among the Hopfield neural network weight matrix W IiWith i neuronic modifying factor Δ x ' i, calculate neuronic i the neuron output of this network: Δ x i=d (u iThe u of)=- i/ w Ii-Δ x ' i
(5) utilize Hopfield neural network i neuronic output Δ x iCalculate i of whole Hopfield neural network output x with Hopfield neural network transfer function f i, wherein (1,2,3...L), L represents the output number of whole Hopfield neural network to i ∈;
(6) adopt i+1 neuronic serial choosing method of calculating, and give i neuron, judge whether the i≤L that satisfies condition,, return step (3) if satisfy with the result of calculation assignment; If do not satisfy execution in step (7);
(7) the Hopfield neural network being carried out iteration develops, judge whether to reach the iterations of setting, if reached the iterations of setting, then Hopfield neural network at this moment is output as the restoration result of motion blur image, if do not reach the iterations of setting, return step (3), till the iterations that reaches setting.
CN2009100228676A 2009-06-05 2009-06-05 Method for restoring motion blurred image based on Hopfield neural network Expired - Fee Related CN101567079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100228676A CN101567079B (en) 2009-06-05 2009-06-05 Method for restoring motion blurred image based on Hopfield neural network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100228676A CN101567079B (en) 2009-06-05 2009-06-05 Method for restoring motion blurred image based on Hopfield neural network

Publications (2)

Publication Number Publication Date
CN101567079A CN101567079A (en) 2009-10-28
CN101567079B true CN101567079B (en) 2011-06-29

Family

ID=41283223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100228676A Expired - Fee Related CN101567079B (en) 2009-06-05 2009-06-05 Method for restoring motion blurred image based on Hopfield neural network

Country Status (1)

Country Link
CN (1) CN101567079B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156919B (en) * 2014-08-04 2016-09-14 陕西科技大学 A kind of based on wavelet transformation with the method for restoring motion blurred image of Hopfield neutral net
CN107592198A (en) * 2017-07-24 2018-01-16 广东工业大学 The four-dimensional Hopfield neural network images encryption method of quantum Fourier conversion
CN109523482B (en) * 2018-11-14 2021-04-30 太原理工大学 Deep neural network-based restoration method for degraded image containing texture
CN113420873B (en) * 2021-08-25 2021-12-10 北京科技大学 Intelligent early screening system for Alzheimer disease

Also Published As

Publication number Publication date
CN101567079A (en) 2009-10-28

Similar Documents

Publication Publication Date Title
CN103761710B (en) The blind deblurring method of efficient image based on edge self-adaption
Liu et al. Learning converged propagations with deep prior ensemble for image enhancement
CN104599242B (en) Use the fuzzy core method of estimation of multiple dimensioned non local canonical
CN106203625B (en) A kind of deep-neural-network training method based on multiple pre-training
CN111192211B (en) Multi-noise type blind denoising method based on single deep neural network
CN107766794A (en) The image, semantic dividing method that a kind of Fusion Features coefficient can learn
CN106251315B (en) A kind of image de-noising method based on full variation
CN102567973B (en) Image denoising method based on improved shape self-adaptive window
CN104112261A (en) Norm ratio regularization based rapid image blind deblurring method
CN103337058B (en) Based on the method for blindly restoring image of fuzzy noise image to combined optimization
CN105657402A (en) Depth map recovery method
CN106709877A (en) Image deblurring method based on multi-parameter regular optimization model
CN102184533A (en) Non-local-restriction-based total variation image deblurring method
CN102393955A (en) Perfect information non-local constraint total variation method for image recovery
CN104156919B (en) A kind of based on wavelet transformation with the method for restoring motion blurred image of Hopfield neutral net
CN105184744A (en) Prior fuzzy kernel estimation method based on standardized sparse measurement image block
Wang et al. Image deblurring with filters learned by extreme learning machine
CN101567079B (en) Method for restoring motion blurred image based on Hopfield neural network
CN113421187B (en) Super-resolution reconstruction method, system, storage medium and equipment
CN107730466A (en) The method for blindly restoring image represented based on structure self-similarity and low-rank matrix
CN109345609B (en) Method for denoising mural image and generating line drawing based on convolutional neural network
CN108564166A (en) Based on the semi-supervised feature learning method of the convolutional neural networks with symmetrical parallel link
CN114387476A (en) Method for improving migration of challenge sample on defense mechanism
CN104376533A (en) Image denoising method based on regularization principal component tracking
CN105184742A (en) Image denoising method of sparse coding based on Laplace graph characteristic vector

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

Granted publication date: 20110629

Termination date: 20170605

CF01 Termination of patent right due to non-payment of annual fee