CN105957024A - Blind deblurring method based on image block prior and sparse norm - Google Patents
Blind deblurring method based on image block prior and sparse norm Download PDFInfo
- Publication number
- CN105957024A CN105957024A CN201610248012.5A CN201610248012A CN105957024A CN 105957024 A CN105957024 A CN 105957024A CN 201610248012 A CN201610248012 A CN 201610248012A CN 105957024 A CN105957024 A CN 105957024A
- Authority
- CN
- China
- Prior art keywords
- image
- candidate image
- fuzzy core
- block
- candidate
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 239000011159 matrix material Substances 0.000 claims description 46
- 239000000284 extract Substances 0.000 claims description 11
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 claims description 9
- 239000010931 gold Substances 0.000 claims description 9
- 229910052737 gold Inorganic materials 0.000 claims description 9
- 238000005070 sampling Methods 0.000 claims description 6
- 230000001186 cumulative effect Effects 0.000 claims description 4
- 238000005457 optimization Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 6
- 238000012545 processing Methods 0.000 abstract description 2
- 230000015572 biosynthetic process Effects 0.000 description 18
- 238000003786 synthesis reaction Methods 0.000 description 16
- 235000013361 beverage Nutrition 0.000 description 5
- 238000011160 research Methods 0.000 description 5
- 239000012141 concentrate Substances 0.000 description 4
- 230000007423 decrease Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000012795 verification Methods 0.000 description 4
- 230000015556 catabolic process Effects 0.000 description 3
- 238000006731 degradation reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000002474 experimental method Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000007850 degeneration Effects 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 238000012804 iterative process Methods 0.000 description 2
- 108091008747 NR2F3 Proteins 0.000 description 1
- 238000013398 bayesian method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000002427 irreversible effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000002156 mixing Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012634 optical imaging Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/73—Deblurring; Sharpening
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20021—Dividing image into blocks, subimages or windows
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
Abstract
The invention provides a blind deblurring method based on image block prior and sparse norm, mainly for solving the problem of poor image deblurring quality of the prior art. According to the technical scheme, the blind deblurring method comprises: inputting a blurred image; initializing a fuzzy kernel, a binary mask and a candidate image; calling a pyramid model, downsampling the candidate image according to the number of pyramid layers, and upsampling the candidate image and the fuzzy kernel; updating the binary mask, updating an image block variance, and updating an image sample block; keeping parameters unchanged, and updating the fuzzy kernel and the candidate image, until the last layer of the pyramid; setting the number of iterations, keeping the fuzzy kernel and the norm of the candidate image unchanged, and performing regularity of an l1 norm which is added to the fuzzy kernel, so as to obtain a new candidate image; keeping the candidate image unchanged, and performing regularity of an l1/l2 norm which is added to the candidate image, so as to obtain a new fuzzy kernel, until iteration to the highest number of iteration. The invention enhances the effect and the robustness of blind deblurring and can be used for medical equipment, computer vision and image video processing.
Description
Technical field
The invention belongs to technical field of image processing, particularly to a kind of Image Blind deblurring method, can be used for Aero-Space, doctor
Treat apparatus, computer vision and image/video to process.
Background technology
Along with individual smart machine be widely popularized use, one photographing unit of staff comes true already.Intelligentized at this
In the epoch, people are not coming into contacts with picture, little to the life picture of oneself shooting in life, big to divine boat seven companion
Fly moonlet to Divine Land seven up to 20 minutes take pictures.The most all can relate to the relevant knowledge of image deblurring, because of
This research image deblurring the most just becomes to have considerable meaningful.
Image is being formed, record, during transmission, owing to being differed by optical imaging system, and imaging diffraction, imaging non-thread
Property, the impact of system noise many factors, the quality of image all can decline, the as above a series of process of image
It is the degeneration of image.And image recovers, also known as image restoration, it is simply that the quality of image is as much as possible reduced or eliminated
Decline, recover by the true colours of degraded image.
The image deblurring problem at initial stage can trace back to explore the outer space flourishing period last century, due to by exceedingly odious weather
Or the factor impacts such as atmospheric turbulance, can cause the decline of picture quality.The decline of this picture quality has non-for scientific research
The biggest impact.Therefore, the research of image deblurring is to be highly desirable to and the most challenging research contents.Exist for another example
Video monitoring aspect, the acquisition of monitor video is irreversible, and the monitor video before namely having access to is found to have fuzzy scene
In the presence of, monitor video can not re-shoot, and is at this moment accomplished by carrying out image deblurring and could obtain more information.This
Outward, image deblurring also has critically important application, such as material science image procossing in terms of other many, public security, history,
Humane photograph image restores, the aspects such as aerial reconnaissance system such as scanned document processes, spaceborne, airborne.From single width broad image
Recover width image clearly and become the most basic and important studying a question already.
Whether image deblurring is process antipodal with image degradation, according to the origin cause of formation degenerated it is known that image can be gone mould
Paste task is divided into image non-blind deblurring and Image Blind deblurring two kinds.The non-blind deblurring of image is i.e. to know that the degeneration of image is former
Cause, thus from a width broad image, recover a width picture rich in detail, it usually needs the problem of attention is to reduce that may be present shaking
Bell effect and the most quenchable noise.Image Blind deblurring is then in the case of being not aware that causes for Degradation, obscures from a width
Image recovers width image clearly.The blind deblurring problems faced of image is more because the causes for Degradation of image and
Picture rich in detail is all unknown.Therefore, the research for image deblurring problem is the most meaningful and is necessary.
Image blurring the most common, for deblurring process known to fuzzy core, referred to as non-blind deblurring;
For the deblurring process that fuzzy core is unknown, the blindest deblurring.Each pixel of entire image is passed through identical fuzzy side
Formula obscures, the fuzzyyest;Otherwise in the zones of different of image, fuzzy mode is different, the most non-all
Even fuzzy.Non-homogeneous fuzzy closer in real-life blooming.
For the solution procedure of uniform blind deblurring, target is exactly to recover picture rich in detail and fuzzy core from broad image.Obviously this
It is an ill-conditioning problem, i.e. organizes candidate solution more.In order to overcome the ill-conditioning problem during blind deblurring, deblurring reason in early days
Opinion propose parametrization fuzzy core method, it is believed that fuzzy core be shaped as linear kernel, only length and two variablees of angle, though
The problem so this method solving a part of deblurring, but the real-life fuzzy origin cause of formation is relatively complicated, so existing
Sizable application limitation.Afterwards broad image is added by the work of some older generation and assume or priori.Such as, logical
Often assume that it is sparse and is continuous print, usually assume that the gradient information of image obeys heavytailed distribution.After this, some
New theoretical method achieves more preferable effect, it is estimated that the higher candidate image of more reliable fuzzy core, picture quality with
And more preferable robustness.Then also occurring in that well application in business software, the such as Photoshop groupware provides
Stabilization function.
At present, blind deblurring method enters the golden period of a development, mainly has three kinds of methods:
The first is method based on maximum a posteriori probability, and such method is sought most possible solution, carried to greatest extent
The associating Posterior probability distribution of high fuzzy core k and candidate image x.Such method is easily understood, and shortcoming is to there may come a time when to restrain
The solution being not intended to us;
The second is based on the Bayesian method of variation, and such method developed on the basis of based on maximum a posteriori probability,
Owing to it considers all possible solution, thus more preferable than algorithm robustness based on maximum a posteriori probability, but shortcoming to be speed slower;
The third is method based on edge prediction, and such method thinks that fuzzy core k can be estimated from sub-fraction image border
Out, and using heuristic image filter to recover sharp keen edge, such method is in fuzzy core k estimation stages speed very
Hurry up, and prove effective in an experiment, but be because adding the step of heuristic filtering, so theory analysis is the most tired
Difficult.
Summary of the invention
The present invention is directed to the deficiency in said method, propose a kind of blind deblurring method based on image block priori Yu sparse norm
To promote the adaptability of blind deblurring, reliability and robustness.
The key problem in technology of the present invention is: in last layer of pyramid model, adds one based on best sparse of effect instantly
Norm regular terms so that in iterative process, the stage sensing of ambiguous estimation core is correctly oriented, thus obtains more approaching to reality
The fuzzy core of scene, implementation step includes the following:
(1) input broad image y, is set to candidate image by broad image y;
(2) take Gaussian Blur core that size is 3 × 3 as initializing fuzzy core, use k1Represent;
(3) take the binary mask identical with image size being all 0 as initial mask, use M1Represent, to outside sample
Blocks of data integrates and learns as BSD500 standard data set, obtains the initialization external image sample block of the present invention;
(4) broad image y is initialized, obtain initial candidate image x0
Wherein, K represents fuzzy core k1Matrix form, y represent input broad image, x0Represent what current iteration was wanted to obtain
Clear candidate image, D*It is the matrix form of partial differential, w on different directions*It is these marks corresponding to different directions partial differential
Amount weight, DhAnd DvBeing respectively the matrix form of the first-order partial derivative both horizontally and vertically gone up, x is and candidate image size
Identical unknown matrix,Represent the return value that object function is x during minima;
(5) gaussian pyramid model is called, according to fuzzy core k set when initializing1Size, calculate total number of plies N of pyramid,
Initial pyramid number of plies label t=1;
(6) by candidate image x0Carry out down-sampling according to the pyramid number of plies, obtain the candidate image x of the 1st layer of gold tower layer1;
(7) by candidate image xtWith fuzzy core ktUp-sample according to the gold tower number of plies;
(8) judge whether pyramid label t is N, if it is, preserve the candidate image x of N shellNWith fuzzy core kNPerform rapid
(9) step (14), is otherwise performed;
(9) arranging local iteration's high reps is 200, iterations label j=1, the candidate image x that will try to achieve in (8)NWith
XjRepresent, as new candidate image, by fuzzy core kNUse KjRepresent, as new fuzzy core;
(10) current candidate image X is calculatedjL2Norm;
(11) fuzzy core k is kept1And candidate image XjL2Norm | | Xj||2Keep constant, use l1/l2Norm sparse just
Then Image Iterative direction is any limitation as, optimizes formula according to iterative shrinkage thresholding algorithm and calculate new candidate image Xj+1;
Wherein, KjFor the fuzzy core for j iteration, x is the unknown matrix identical with candidate image size, and y is input
Broad image,For two-dimensional convolution operator, the Section 1 in formula is data fidelity items, and Section 2 is the l adding x1/l2Model
Number regular terms, last is to fuzzy core KjThe l added1Norm canonical, scalar weight α and β is used for representing that control is fuzzy
Core KjWith the relative intensity of image regular terms, argmin represents the value that object function is x during minima;
(12) candidate image X is keptj+1Constant, calculate new fuzzy core K according to following formulaj+1;
Wherein, y is the broad image of input,For two-dimensional convolution operator, k is the unknown matrix identical with fuzzy core size,
Arg min represents the value that object function is k during minima, and Section 1 is data fidelity items, and Section 2 is to candidate image Xj+1
The l added1/l2Norm regular terms, scalar weight α represents the relative intensity controlling fuzzy core, is converted into by fuzzy core Solve problems
Optimization problem, uses Biconjugate gradient solution method for solving, and k value when return function minimizes, as new fuzzy core Kj+1;
(13) iterations label j adds 1, is again assigned to j, as new iterations label, it is judged that new iterations
Whether label is 200, if it is, output candidate image X200And fuzzy core K200, otherwise, return step (10);
(14) binary mask M is updatedt+1: in all image blocks, calculate the gradient information in eight directions, choose edge letter
Cease the image block of stronger front 2%, by these image blocks and mask MtRelative position puts 1, and remaining position sets to 0, as newly
Binary mask Mt+1;
(15) binary mask M is keptt+1, external image sample block vector SiAnd candidate image xtConstant, more new images
Variance η of blocki;
(16) other parameter constants are kept, in binary mask Mt+1Put all positions of 1, if study to image block be
pi=ηiSi+μi, ηiFor the variance of image block i, SiFor the vector form of external image sample block, μiFor image block i's
The average of gray scale, is focused to find out and candidate image block (Q at external image sample blockix-pi)/ηiMost like sample block Si,
Obtain new image sample block Si;
(17) keep other parameter constants, be calculated new candidate image xt+1;
(18) keep other parameter constants, utilize equation below to solve fuzzy core kt+1
Wherein δ*Represent corresponding D*Partial derivative;Y represents the broad image of input, w*It is that these different directions partial differential institutes are right
The scalar weight answered, ktRepresent the fuzzy core of t pyramidal layer, xt+1It is the candidate image of t+1 pyramidal layer, arranges and do not exist
Mask Mt+1In gradient information δ*xtIt is zero;
(19) pyramid number of plies label t adds 1, is again assigned to t, as new pyramid number of plies label, returns step (7);
The present invention compared with prior art has the advantage that
First, fuzzy core is estimated accurately
The present invention original based on external image block transcendental method on the basis of, at pyramid model last of ambiguous estimation core
One layer is added the l of a fuzzy core1/l2Sparse norm regular terms so that in iterative process, the stage sensing of ambiguous estimation core is just
True direction, it is thus possible to obtain the fuzzy core of more approaching to reality scene, improves the accuracy that fuzzy core is estimated.
Second, adaptivity is strong
The technology of more existing image deblurrings, arranges requirement higher to parameter, and parameter selects image the most easily occur
The fuzzy phenomenon with over-fitting, the present invention adds l1/l2Sparse norm regular terms, it is not necessary to too much arrange parameter, so that estimating
The process of fuzzy core has stronger adaptivity.
Accompanying drawing explanation
Fig. 1 is the flowchart of the present invention;
Fig. 2 is that first group of fuzzy core estimates experimentation figure;
Fig. 3 is first group of experimental result partial enlargement comparison diagram;
Fig. 4 is that second group of fuzzy core estimates experimentation figure;
Fig. 5 is second group of experimental result partial enlargement comparison diagram;
Fig. 6 is that the 3rd group of fuzzy core estimates experimentation figure;
Fig. 7 is the 3rd group of experimental result partial enlargement comparison diagram;
Fig. 8 is that the 4th group of fuzzy core estimates experimentation figure;
Fig. 9 is the 4th group of experimental result partial enlargement comparison diagram.
Specific implementation method
Referring to the drawings technical scheme and effect are described in further detail.
With reference to Fig. 1, the present invention to realize step as follows:
Step 1: input broad image y, and broad image y is set to candidate image.
This example chooses 4 different natural images, as shown in accompanying drawing 2 (a), 4 (a), 6 (a), 8 (a), its name
Being respectively as follows: brige, Boats, Beverage and tower, their picture size size is respectively as follows: Boats and tower
Being 256 × 256, the size of image brige is 419 × 566, and the size of image Beverage is 520 × 395;Wherein image
Boats is gray level image, and tower, brige and Beverage are color RGB image.It is carried out at artificial fuzzy's mixing
Reason, obtains broad image y as shown in accompanying drawing 2 (b), 4 (b), 6 (b), 8 (b).
Step 2: initialize fuzzy core
With the fspecial function of matlab generate size be the Gaussian Blur core of 3 × 3 as initial outermost layer fuzzy core,
Use k0Represent;
Step 3: initialize binary mask, initializes external image sample block.
Take that size is identical with image array, numerical value is all the matrix of 1 as initializing binary mask, uses M1Represent;
Outside sample blocks of data collection BSD500 standard data set is learnt as follows:
First, to each dimensions of 500 figures all in this data set with oversampling ratio for the downward down-sampling of 1:2, with initially
Binary mask M1Centered by, from 500 images, extract 220K the image block that size is 5 × 5;
Then, being normalized these image blocks, finally arranging clusters number is 2560, uses K mean algorithm pair
220K image block clusters, and forms 2560 clustering cluster, extracts the cluster centre of these 2560 clustering cluster as needs
External image sample block.
Step 4: input broad image y is carried out following formula such as and processes, obtains initializing candidate image x0
Wherein, K represents fuzzy core k1Matrix form, y represent input broad image, x0Represent what current iteration was wanted to obtain
Clear candidate image, D*It is the matrix form of partial differential, w on different directions*It is these marks corresponding to different directions partial differential
Amount weight, DhAnd DvBeing respectively the matrix form of the first-order partial derivative both horizontally and vertically gone up, x is and candidate image size
Identical unknown matrix,Represent the return value that object function is x during minima | | | |2Representing matrix one norm square,
∑ is summation symbol.
Step 5: call gaussian pyramid model, calculating total number of plies N of pyramid:
Wherein, N is the total number of plies of gold tower,For downward floor operation, log represents the log operations with 2 as the end, and b is according to mould
Stick with paste the customer parameter that core size determines, initial pyramid number of plies label t=1.
Step 6: to initializing candidate image x0Carry out down-sampling with the pyrDown function of MATLAB, down-sampling result is made
Candidate image x for the 1st layer of gold tower layer1。
Step 7: the candidate image x to gold tower t layertUp-sample with the pyrDown function of MATLAB, and by upper
Sampled result is assigned to x againt。
PyrDown function k to fuzzy core MATLAB of gold tower t layertUp-sample, and will up-sampling result weight
Newly it is assigned to kt。
Step 8: judge whether pyramid label t is pyramid number of plies N, if it is, preserve candidate's figure of pyramid n-th layer
As xNWith fuzzy core kNPerform rapid 9, otherwise perform step 14;
Step 9: arranging local iteration's high reps is 200, iterations label j=1, the candidate image x that will try to achieve in (8)N
Use XjRepresent, as new candidate image, fuzzy core kNUse KjRepresent, as new fuzzy core.
Step 10: calculate the candidate image X of iteration jjL2Norm | | Xj||2;
Step 11: keep fuzzy core KjAnd candidate image XjL2Norm | | Xj||2Keep constant, the l of employing1/l2Norm
Image Iterative direction is any limitation as by sparse canonical, optimizes formula according to iterative shrinkage thresholding algorithm and calculates new candidate image Xj+1;
Wherein, KjFor fuzzy core, x is the unknown matrix identical with candidate image size, and y is the broad image of input,
For two-dimensional convolution operator.Section 1 in formula is data fidelity items, and Section 2 is the l adding x1/l2Norm regular terms,
Latter is to fuzzy core KjThe l added1Norm canonical, α and β is scalar weight, is used for representing control fuzzy core KjWith
The relative intensity of image regular terms, argmin represents the value that object function is x during minima, | | | |1Representing matrix one norm, | | |2
Representing matrix two norm,Representing matrix two norm square;
Step 12: keep candidate image Xj+1Constant, fuzzy core K of iteration j it is calculated according to following formulaj+1;
Wherein, Xj+1For candidate image, y is the broad image of input,For two-dimensional convolution operator, k is and fuzzy core
The unknown matrix that size is identical, arg min represents the value that object function is k during minima;Section 1 is data fidelity items,
Section 2 is to candidate image Xj+1The l added1/l2Norm regular terms, scalar weight α represents the relative intensity controlling fuzzy core,
||·||1Representing matrix one norm, | | | |2Representing matrix two norm,Representing matrix two norm square, fuzzy core Solve problems is turned
Turning to optimization problem, use Biconjugate gradient solution method for solving, k value when return function minimizes, as new fuzzy core
Kj+1;
Step 13: iterations label j adds 1, is again assigned to j, as new iterations label, it is judged that new iteration
Whether number of times label is 200, if it is, output candidate image X200And fuzzy core K200, as the termination of this example
Really, as shown in accompanying drawing 2 (c), 4 (c), 6 (c), 8 (c), otherwise, step 10 is returned.
Step 14: update binary mask Mt+1。
In all image blocks, calculate eight directions gradient information, choose marginal information stronger front 2% image block, by this
A little image blocks and mask MtRelative position puts 1, and remaining position sets to 0, as new binary mask Mt+1。
Step 15: keep binary mask Mt+1, external image sample block vector SiAnd candidate image xtConstant, enter with two
Matrix processed extracts operator QiIn extraction candidate image x, at the i of position, size is the image block of 5 × 5 pixels, and updates image block
Variance ηi;
(15a) v is madei=Qixt-pi, calculate weight coefficient ωi:
Wherein, QiBeing that binary matrix extracts operator, ε is the gray threshold set in advance, pi=ηiSi+μi, SiFor position
Put the vector form of external image sample block corresponding at i, ηiFor the variance yields of original image block, μiFor the gray scale of image block i,
xtIt is the candidate image of pyramid t layer,It is intermediate variable viMatrix transpose;
(15b) equation below is utilized to be calculated the variance of new image block
Wherein, Mt+1It is binary mask, ωiFor weight coefficient, β is regularized image intensity, SiFor correspondence at the i of position
The vector form of external image sample block, SiTRepresent SiMatrix transpose, QiIt is that binary matrix extracts operator, μiFor figure
As the gray value of block i, | | representing and calculate determinant of a matrix, β is regularized image intensity, xtIt it is pyramid t layer
Candidate image, F is current candidate image variance ηiEmpirical cumulative distribution, ηiFor the variance yields of original image block, FrefIt is
The local contrast of external image sample block is with reference to cumulative distribution.
Step 16: keep other parameter constants, in binary mask Mt+1Put all positions of 1, if the image block that study is arrived
For pi=ηiSi+μi, ηiFor the variance of image block i, SiFor the vector form of external image sample block, μiFor image block i
The average of gray scale, be focused to find out and candidate image block (Q at external image sample blockix-pi)/ηiMost like sample block Si,
Obtain new image sample block Si;
Step 17: keep other parameter constants, is calculated the candidate image x of gold tower layer t+1 layert+1:
B is intermediate variable, and it is expressed as follows:
In formula, xt+1For the candidate image of t+1 pyramidal layer, F-1Representing Fourier inversion, β is regularized image intensity,
Mt+1It is binary mask, | | representing and calculate determinant of a matrix, ε is the gray threshold set, vi=Qixt-pi, xt
It is the candidate image of pyramid t layer, QiIt is that a binary matrix extracts operator, Qi TRepresent that binary matrix extracts to calculate
The matrix transpose of son, ηiFor the variance of image block, μ at the i of positioniFor the gray average of image block, SiFor corresponding at the i of position
The vector form of external image sample block;In intermediate variable B,Complex conjugate operation, δ are asked in representative*Represent corresponding micro-
The partial derivative ⊙ of sub matrix is Element-Level multiplication operator, ktBeing the fuzzy core of pyramid t layer, y is the mould of initial input
Stick with paste image.
Step 18: keep other parameter constants, utilizes equation below to solve fuzzy core k of t+1 pyramidal layert+1
Wherein δ*Represent corresponding D*Partial derivative, y represent input broad image, ω*It is that these different directions partial differential institutes are right
The scalar weight answered, ktRepresent the fuzzy core of pyramid t layer, xt+1It is the candidate image of pyramid t+1 layer gained, if
Put not at mask Mt+1In gradient information δ * xt+1Being zero, β represents control fuzzy core ktThe relative intensity of regular terms, ∑ is
Summation symbol, | | | | representing matrix one norm, | | | |2Representing matrix two norm,Representing matrix two norm square.
Step 19: add 1 to pyramid number of plies label t, be again assigned to t, as new pyramid number of plies label, returns
Step 7.
The effect of the present invention can be further illustrated by following experiment:
1, simulated conditions:
The software environment of the present invention is 64 systems of Windows 7 Ultimate, MATLAB 2014a.Hardware environment is Intel
The CPU of Core2Duo 3.2GHz, and in save as and run in the environment of DDR34GB.
2. emulation content:
Emulation 1, concentrates the nonlinear smearing verification picture rich in detail figure choosing 19 × 19 to carry out from existing nonlinear smearing Nuclear Data
Fuzzy hybrid processes, and obtains the broad image figure of synthesis, the broad image figure of synthesis is carried out blind deblurring process, obtains mould
Image after paste and the fuzzy core figure estimated, as shown in Figure 2.Wherein
Fig. 2 (a) is the original picture rich in detail of brige, and the image lower right corner is the fuzzy fuzzy core used of synthesis;
Fig. 2 (b) is the broad image of synthesis;
Fig. 2 (c) is the image after deblurring, and the lower right corner of image is the fuzzy core estimated;
By the Detail contrast of image, result such as Fig. 3 after the broad image shown in Fig. 2 (b) and Fig. 2 (c) deblurring.Can from Fig. 3
Seeing, the fuzzy core that the present invention estimates approaches real fuzzy core, and after deblurring, image is close to picture rich in detail.
Emulation 2, concentrates the nonlinear smearing verification picture rich in detail figure choosing 17 × 17 to carry out from existing nonlinear smearing Nuclear Data
Fuzzy hybrid processes, and obtains the broad image figure of synthesis, the broad image figure of synthesis is carried out blind deblurring process, obtains mould
Image after paste and the fuzzy core figure estimated, as shown in Figure 4.Wherein
Fig. 4 (a) is the original picture rich in detail of boats, and the image lower right corner is the fuzzy fuzzy core used of synthesis;
Fig. 4 (b) is the broad image of synthesis;
Fig. 4 (c) is the image after deblurring, and the lower right corner of image is the fuzzy core estimated;
By the Detail contrast of image, result such as Fig. 5 after the broad image shown in Fig. 4 (b) and Fig. 4 (c) deblurring.Can from Fig. 5
See, the present invention in this group figure after deblurring image clear, the fuzzy core estimated is almost identical with real fuzzy core.
Emulation 3, concentrates the nonlinear smearing verification picture rich in detail figure choosing 15 × 15 to carry out from existing nonlinear smearing Nuclear Data
Fuzzy hybrid processes, and obtains the broad image figure of synthesis, the broad image figure of synthesis is carried out blind deblurring process, obtains mould
Image after paste and the fuzzy core figure estimated, as shown in Figure 6.Wherein
Fig. 6 (a) is the original picture rich in detail of Beverage, and the image lower right corner is the fuzzy fuzzy core used of synthesis;
Fig. 6 (b) is the broad image of synthesis;
Fig. 6 (c) is the image after deblurring, and the lower right corner of image is the fuzzy core estimated;
By the Detail contrast of image, result such as Fig. 7 after the broad image shown in Fig. 6 (b) and Fig. 6 (c) deblurring.Can from Fig. 7
Seeing, after deblurring of the present invention, image is clear, and the fuzzy core estimated is almost identical with real fuzzy core.
Emulation 4, concentrates the nonlinear smearing verification picture rich in detail figure choosing 13 × 13 to carry out from existing nonlinear smearing Nuclear Data
Fuzzy hybrid processes, and obtains the broad image figure of synthesis, the broad image figure of synthesis is carried out blind deblurring process, obtains mould
Image after paste and the fuzzy core figure estimated, as shown in Figure 8.Wherein
Fig. 8 (a) is the original picture rich in detail of Beverage, and the image lower right corner is the fuzzy fuzzy core used of synthesis;
Fig. 8 (b) is the broad image of synthesis;
Fig. 8 (c) is the image after deblurring, and the lower right corner of image is the fuzzy core estimated;
By the Detail contrast of image, result such as Fig. 9 after the broad image shown in Fig. 8 (b) and Fig. 8 (c) deblurring.Can from Fig. 9
Seeing, after deblurring of the present invention, image is clear, and the fuzzy core estimated is almost identical with real fuzzy core.
3, interpretation:
Comprehensive four groups of experimental results it can be seen that after deblurring of the present invention image clear, the fuzzy core estimated approaches true mould
The fuzzy core stuck with paste, and overcome to a certain extent in fuzzy core and there is the phenomenon that class is noise-like, embody the present invention to fuzzy core
Estimation there is good accuracy.The fuzzy core estimated result performance of four groups of experiments is stable, embodies the present invention and has well
Adaptability and stability.
Claims (3)
1. a blind deblurring method based on image block priori Yu sparse norm, including:
(1) input broad image y, is set to candidate image by broad image y;
(2) take Gaussian Blur core that size is 3 × 3 as initializing fuzzy core, use k1Represent;
(3) take the binary mask identical with image size being all 0 as initial mask, use M1Represent, outside sample blocks of data is integrated and learns as BSD500 standard data set, obtain the initialization external image sample block of the present invention;
(4) broad image y is initialized, obtain initial candidate image x0
Wherein, k1Represent fuzzy core k1Matrix form, y represent input broad image, x0Represent the clear candidate image that current iteration is wanted to obtain, D*It is the matrix form of partial differential, w on different directions*It is these scalar weight corresponding to different directions partial differential, DhAnd DvBeing respectively the matrix form of the first-order partial derivative both horizontally and vertically gone up, x is the unknown matrix identical with candidate image size,Represent the return value that object function is x during minima;
(5) gaussian pyramid model is called, according to fuzzy core k set when initializing1Size, calculate total number of plies N of pyramid, initial pyramid number of plies label t=1;
(6) by candidate image x0Carry out down-sampling according to the pyramid number of plies, obtain the candidate image x of the 1st layer of gold tower layer1;
(7) by candidate image xtWith fuzzy core ktUp-sample according to the gold tower number of plies;
(8) judge whether pyramid label t is N, if it is, preserve the candidate image x of N shellNWith fuzzy core kNPerform rapid (9), otherwise perform step (14);
(9) arranging local iteration's high reps is 200, iterations label j=1, the candidate image x that will try to achieve in (8)NUse XjRepresent, as new candidate image, by fuzzy core kNUse KjRepresent, as new fuzzy core;
(10) current candidate image X is calculatedjL2Norm;
(11) fuzzy core k is kept1And candidate image XjL2Norm | | Xj||2Keep constant, use l1/l2Image Iterative direction is any limitation as by the sparse canonical of norm, optimizes formula according to iterative shrinkage thresholding algorithm and calculates new candidate image Xj+1;
Wherein, KjFor the fuzzy core for j iteration, x is the unknown matrix identical with candidate image size, and y is the broad image of input,For two-dimensional convolution operator, the Section 1 in formula is data fidelity items, and Section 2 is the l adding x1/l2Norm regular terms, last is to fuzzy core KjThe l added1Norm canonical, scalar weight α and β is used for representing control fuzzy core KjWith the relative intensity of image regular terms, argmin represents the value that object function is x during minima;
(12) candidate image X is keptj+1Constant, calculate new fuzzy core K according to following formulaj+1;
Wherein, y is the broad image of input,For two-dimensional convolution operator, k is the unknown matrix identical with fuzzy core size, and arg min represents the value that object function is k during minima, and Section 1 is data fidelity items, and Section 2 is to candidate image Xj+1The l added1/l2Norm regular terms, scalar weight α represents the relative intensity controlling fuzzy core, and fuzzy core Solve problems is converted into optimization problem, uses Biconjugate gradient solution method for solving, and k value when return function minimizes, as new fuzzy core Kj+1;
(13) iterations label j adds 1, is again assigned to j, as new iterations label, it is judged that whether new iterations label is 200, if it is, output candidate image X200And fuzzy core K200, otherwise, return step (10);
(14) binary mask M is updatedt+1: in all image blocks, calculate the gradient information in eight directions, choose marginal information stronger front 2% image block, by these image blocks and mask MtRelative position puts 1, and remaining position sets to 0, as new binary mask Mt+1;
(15) binary mask M is keptt+1, external image sample block vector SiAnd candidate image xtConstant, update variance η of image blocki;
(16) other parameter constants are kept, in binary mask Mt+1Put all positions of 1, if study to image block be pi=ηiSi+μi, ηiFor the variance of image block i, SiFor the vector form of external image sample block, μiFor the average of the gray scale of image block i, it is focused to find out and candidate image block (Q at external image sample blockix-pi)/ηiMost like sample block Si, obtain new image sample block Si;
(17) keep other parameter constants, be calculated new candidate image xt+1;
(18) keep other parameter constants, utilize equation below to solve fuzzy core kt+1
Wherein δ*Represent corresponding D*Partial derivative;Y represents the broad image of input, w*It is these scalar weight corresponding to different directions partial differential, ktRepresent the fuzzy core of t pyramidal layer, xt+1It is the candidate image of t+1 pyramidal layer, arranges not at mask Mt+1In gradient information δ*xtIt is zero;
(19) pyramid number of plies label t adds 1, is again assigned to t, as new pyramid number of plies label, returns step (7).
Blind deblurring method based on image block priori Yu sparse norm the most according to claim 1, is wherein calculated the variance of new images block in step (15)Carry out as follows:
(15a) v is madei=Qixt-pi, calculate weight coefficient ωi:
Wherein, QiBeing that binary matrix extracts operator, ε is the gray threshold set in advance, pi=ηiSi-μi, SiFor the vector form of external image sample block corresponding at the i of position, ηiFor the variance yields of original image block, μiGray value for image block i;
(15b) equation below is utilized to be calculated variance η of new image block* i:
Wherein, Mt+1It is binary mask, ηiFor the variance yields of original image block, QiIt is that binary matrix extracts operator, SiFor the vector form of external image sample block corresponding at the i of position, μiFor the gray value of image block i, β is regularized image intensity, xtBeing the candidate image of pyramid t layer, F is current candidate image variance ηiEmpirical cumulative distribution, FrefIt is that the local contrast of external image sample block is with reference to cumulative distribution.
Blind deblurring method based on image block priori Yu sparse norm the most according to claim 1, wherein step (17) calculates new candidate image xt+1, carried out by equation below:
Wherein, xt+1For the candidate image of t+1 pyramidal layer, F-1Representing Fourier inversion, β is regularized image intensity, Mt+1Being binary mask, ε is the gray threshold set, vi=Qixt-pi, xtIt is the candidate image of pyramid t layer, QiIt is that a binary matrix extracts operator, Qi TRepresent that binary matrix extracts the matrix transpose of operator, ηiFor the variance of image block, μ at the i of positioniFor the gray average of image block, SiVector form for external image sample block corresponding at the i of position;In intermediate variable B,Complex conjugate operation, δ are asked in representative*Representing the partial derivative of corresponding differential matrix, ⊙ is Element-Level multiplication operator, ktBeing the fuzzy core of pyramid t layer, y is the broad image of initial input.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610248012.5A CN105957024B (en) | 2016-04-20 | 2016-04-20 | Blind deblurring method based on image block priori Yu sparse norm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610248012.5A CN105957024B (en) | 2016-04-20 | 2016-04-20 | Blind deblurring method based on image block priori Yu sparse norm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105957024A true CN105957024A (en) | 2016-09-21 |
CN105957024B CN105957024B (en) | 2019-06-18 |
Family
ID=56917818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610248012.5A Active CN105957024B (en) | 2016-04-20 | 2016-04-20 | Blind deblurring method based on image block priori Yu sparse norm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105957024B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106373107A (en) * | 2016-12-06 | 2017-02-01 | 四川长虹电器股份有限公司 | Automatic image deblurring system and automatic image deblurring method of smart phone |
CN106530261A (en) * | 2016-12-28 | 2017-03-22 | 同观科技(深圳)有限公司 | Double-dynamic blurred image restoration method |
CN106934216A (en) * | 2017-02-16 | 2017-07-07 | 山东大学齐鲁医院 | Medicine equipment clinical evaluation method based on multiple target |
CN107292836A (en) * | 2017-06-02 | 2017-10-24 | 河海大学常州校区 | Image Blind deblurring method based on external image block prior information and rarefaction representation |
CN107680062A (en) * | 2017-10-12 | 2018-02-09 | 长沙全度影像科技有限公司 | A kind of micro- burnt Restoration method of blurred image based on l1/l2 priori combination Gaussian priors |
CN110084762A (en) * | 2019-04-26 | 2019-08-02 | 华南理工大学 | A kind of deep learning is against convolution model outlier processing method |
WO2019174068A1 (en) * | 2018-03-15 | 2019-09-19 | 华中科技大学 | Distance-weighted sparse representation priori-based image restoration and matching integration method |
CN110490822A (en) * | 2019-08-11 | 2019-11-22 | 浙江大学 | The method and apparatus that image removes motion blur |
CN110728626A (en) * | 2018-07-16 | 2020-01-24 | 宁波舜宇光电信息有限公司 | Image deblurring method and apparatus and training thereof |
CN113793272A (en) * | 2021-08-11 | 2021-12-14 | 东软医疗系统股份有限公司 | Image noise reduction method and device, storage medium and terminal |
CN116091367A (en) * | 2023-04-10 | 2023-05-09 | 中国科学院空天信息创新研究院 | Blind deblurring method, device, equipment and medium for optical remote sensing image |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104599242A (en) * | 2014-12-09 | 2015-05-06 | 西安电子科技大学 | Multi-scale non-local regularization blurring kernel estimation method |
KR101544171B1 (en) * | 2014-12-29 | 2015-08-12 | 연세대학교 산학협력단 | Apparatus and Method for Super Resolution using Hybrid Feature |
CN105184744A (en) * | 2015-08-24 | 2015-12-23 | 西安电子科技大学 | Prior fuzzy kernel estimation method based on standardized sparse measurement image block |
-
2016
- 2016-04-20 CN CN201610248012.5A patent/CN105957024B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104599242A (en) * | 2014-12-09 | 2015-05-06 | 西安电子科技大学 | Multi-scale non-local regularization blurring kernel estimation method |
KR101544171B1 (en) * | 2014-12-29 | 2015-08-12 | 연세대학교 산학협력단 | Apparatus and Method for Super Resolution using Hybrid Feature |
CN105184744A (en) * | 2015-08-24 | 2015-12-23 | 西安电子科技大学 | Prior fuzzy kernel estimation method based on standardized sparse measurement image block |
Non-Patent Citations (2)
Title |
---|
WEISHENG DONG 等: "Image Deblurring and Super-Resolution by Adaptive Sparse Domain Selection and Adaptive Regularization", 《IEEE TRANSACTIONS ON IMAGE PROCESSING》 * |
蔡德生 等: "基于字典稀疏表示和梯度稀疏的图像盲去模糊", 《燕山大学学报》 * |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106373107A (en) * | 2016-12-06 | 2017-02-01 | 四川长虹电器股份有限公司 | Automatic image deblurring system and automatic image deblurring method of smart phone |
CN106373107B (en) * | 2016-12-06 | 2019-03-19 | 四川长虹电器股份有限公司 | Smart phone automated graphics deblurring system and method |
CN106530261A (en) * | 2016-12-28 | 2017-03-22 | 同观科技(深圳)有限公司 | Double-dynamic blurred image restoration method |
CN106530261B (en) * | 2016-12-28 | 2019-03-19 | 同观科技(深圳)有限公司 | A kind of double dynamic fuzzy image recovery methods |
CN106934216A (en) * | 2017-02-16 | 2017-07-07 | 山东大学齐鲁医院 | Medicine equipment clinical evaluation method based on multiple target |
CN107292836A (en) * | 2017-06-02 | 2017-10-24 | 河海大学常州校区 | Image Blind deblurring method based on external image block prior information and rarefaction representation |
CN107292836B (en) * | 2017-06-02 | 2020-06-26 | 河海大学常州校区 | Image blind deblurring method based on external image block prior information and sparse representation |
CN107680062A (en) * | 2017-10-12 | 2018-02-09 | 长沙全度影像科技有限公司 | A kind of micro- burnt Restoration method of blurred image based on l1/l2 priori combination Gaussian priors |
WO2019174068A1 (en) * | 2018-03-15 | 2019-09-19 | 华中科技大学 | Distance-weighted sparse representation priori-based image restoration and matching integration method |
CN110728626A (en) * | 2018-07-16 | 2020-01-24 | 宁波舜宇光电信息有限公司 | Image deblurring method and apparatus and training thereof |
CN110084762A (en) * | 2019-04-26 | 2019-08-02 | 华南理工大学 | A kind of deep learning is against convolution model outlier processing method |
CN110084762B (en) * | 2019-04-26 | 2022-11-18 | 华南理工大学 | Deep learning inverse convolution model abnormal value processing method |
CN110490822A (en) * | 2019-08-11 | 2019-11-22 | 浙江大学 | The method and apparatus that image removes motion blur |
CN110490822B (en) * | 2019-08-11 | 2022-02-15 | 浙江大学 | Method and device for removing motion blur of image |
CN113793272A (en) * | 2021-08-11 | 2021-12-14 | 东软医疗系统股份有限公司 | Image noise reduction method and device, storage medium and terminal |
CN113793272B (en) * | 2021-08-11 | 2024-01-26 | 东软医疗系统股份有限公司 | Image noise reduction method and device, storage medium and terminal |
CN116091367A (en) * | 2023-04-10 | 2023-05-09 | 中国科学院空天信息创新研究院 | Blind deblurring method, device, equipment and medium for optical remote sensing image |
CN116091367B (en) * | 2023-04-10 | 2023-07-18 | 中国科学院空天信息创新研究院 | Blind deblurring method, device, equipment and medium for optical remote sensing image |
Also Published As
Publication number | Publication date |
---|---|
CN105957024B (en) | 2019-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105957024A (en) | Blind deblurring method based on image block prior and sparse norm | |
Pan et al. | Physics-based generative adversarial models for image restoration and beyond | |
Xu et al. | Motion blur kernel estimation via deep learning | |
Thakur et al. | State‐of‐art analysis of image denoising methods using convolutional neural networks | |
Meng et al. | Pansharpening for cloud-contaminated very high-resolution remote sensing images | |
CN111028177A (en) | Edge-based deep learning image motion blur removing method | |
Wu et al. | Learning interleaved cascade of shrinkage fields for joint image dehazing and denoising | |
Ju et al. | BDPK: Bayesian dehazing using prior knowledge | |
Adate et al. | Deep learning techniques for image processing | |
Wang et al. | Image deblurring with filters learned by extreme learning machine | |
CN112767297B (en) | Infrared unmanned aerial vehicle group target simulation method based on image derivation under complex background | |
Pei et al. | Effects of image degradations to cnn-based image classification | |
Li et al. | A maximum a posteriori estimation framework for robust high dynamic range video synthesis | |
Quan et al. | Collaborative deep learning for super-resolving blurry text images | |
Yang et al. | Low‐light image enhancement based on Retinex decomposition and adaptive gamma correction | |
Song et al. | Multistage curvature-guided network for progressive single image reflection removal | |
Yu et al. | Split-attention multiframe alignment network for image restoration | |
Tudavekar et al. | Dual‐tree complex wavelet transform and super‐resolution based video inpainting application to object removal and error concealment | |
Li | A survey on image deblurring | |
Zhou et al. | Sparse representation with enhanced nonlocal self-similarity for image denoising | |
CN114331913A (en) | Motion blurred image restoration method based on residual attention block | |
Zhang | A selection of image processing techniques: from fundamentals to research front | |
Wang et al. | Single image rain removal via cascading attention aggregation network on challenging weather conditions | |
CN106033595A (en) | Image blind deblurring method based on local constraint | |
CN114418877A (en) | Image non-blind deblurring method and system based on gradient amplitude similarity |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |