CN109712098B - Image restoration method based on statistical reasoning - Google Patents

Image restoration method based on statistical reasoning Download PDF

Info

Publication number
CN109712098B
CN109712098B CN201910019969.6A CN201910019969A CN109712098B CN 109712098 B CN109712098 B CN 109712098B CN 201910019969 A CN201910019969 A CN 201910019969A CN 109712098 B CN109712098 B CN 109712098B
Authority
CN
China
Prior art keywords
loss
image
data
neural network
training
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910019969.6A
Other languages
Chinese (zh)
Other versions
CN109712098A (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.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
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 Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN201910019969.6A priority Critical patent/CN109712098B/en
Publication of CN109712098A publication Critical patent/CN109712098A/en
Application granted granted Critical
Publication of CN109712098B publication Critical patent/CN109712098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to an image restoration method based on statistical reasoning, which comprises the following steps: s1: applying basic statistical reasoning to the signal reconstruction by a machine learning algorithm; s2: the deep neural network algorithm is used for avoiding the prior statistical modeling of the traditional loss signal, and a convolutional neural network regression model is built by training a large number of damage inputs and clear target output parameters; s3: by minimizing the risk of experience, learning maps the corrupted observations onto the observed sharp signals, and thus results in the possibility of repairing the image in this way, in the usual case, by observing only the corrupted data, even if no sharp signals are observed. The invention is based on the principle of statistical reasoning, only damaged target data can be trained for image restoration under the condition that complete target data is not observed, and the image restoration performance close to the use of the complete data can be obtained under the normal condition.

Description

Image restoration method based on statistical reasoning
Technical Field
The invention belongs to the field of image restoration, and relates to an image restoration method based on statistical reasoning.
Background
With the continuous development of computer and multimedia technologies, information mainly based on images becomes the mainstream media of information exchange, and the life style of people is greatly influenced. Image restoration is an important research branch in the field of image processing, and has wide applications in various fields such as medical care, military security, public management, and the like. The image restoration is to fill up an unknown area or remove redundant objects in an image by using some intact information existing in a damaged image, so that the restored image approaches or reaches the visual effect of the original image, and the image information can still completely express the content contained in the image information. In the conventional image restoration method, complete target data needs to be collected for training, but it is difficult to collect complete undamaged target data in the real world, especially in the fields of astronomical imaging, nuclear magnetic resonance imaging and the like. The development of the deep neural network avoids the traditional image restoration method of prior modeling of the damaged signal, and the same performance of training by using a complete signal can be obtained by training the damaged data immediately.
Disclosure of Invention
In view of the above, the present invention aims to provide an image restoration method based on statistical inference, which can train only damaged target data to perform image restoration without observing complete target data, and can achieve image restoration performance close to that of using complete data under normal conditions.
In order to achieve the purpose, the invention provides the following technical scheme:
an image restoration method based on statistical reasoning comprises the following steps:
s1: applying basic statistical reasoning to the signal reconstruction by a machine learning algorithm;
s2: the deep neural network algorithm is used for avoiding the prior statistical modeling of the traditional loss signal, and a convolutional neural network regression model is built by training a large number of damage inputs and clear target output parameters;
s3: by minimizing the risk of experience, learning maps the corrupted observations onto the observed sharp signals, and thus results in the possibility of repairing the image in this way, in the usual case, by observing only the corrupted data, even if no sharp signals are observed.
Further, step S1 includes the steps of:
s11: preparing a set of data-corrupted target data values (y)1,y2…), the complete unknown data value is estimated by finding the number z with the smallest mean deviation from the measured value according to some loss function L, as follows:
argminzEy{L(z,y)}
wherein, L (z, y) is a loss function, which represents the loss caused by adopting the parameter with the value of z to replace the real value when the real value of the parameter is y; argminzEyIt is shown that the parameter z is chosen such that the expected loss of the loss function L (z, y) is minimal.
S12: for the loss function L1
L(z,y)=(z-y)2
The minimum of this loss function is found at the arithmetic mean of the observations:
z=Ey{y}
s13: for the loss function L2
L(z,y)=|z-y|
The minimum of the loss function is found at the median of the observations;
s14: a general class bias minimization estimator is a known M estimator, and from a statistical point of view, a collective estimate using these common loss functions can be considered an ML estimate by interpreting the loss functions as negative log-likelihoods.
Further, step S2 includes the steps of:
s21: training neural network regressors is a generalization of ML estimation, where the following is a set of input target pairs (x),y) In which the network parameter fθ(x) Parameterized by θ:
argminθE(x,y){L(fθ(x),y)}
using f which only outputs a learning scalar if input data is not usedθ(x) Then the task is equal to step S11;
s22: the complete training will yield the same minimization problem in each training sample, and the task is equivalent to the following equation:
argminθEx{Ey|x{L(fθ(x),y)}}
the network minimizes this loss by solving the point estimation problem separately for each input sample, with the properties of the potential loss inherited by the neural network training.
Through the equation in step S11, in a limited number of input-target pairs (x),y) By training the regression metric, it can be found that the mapping between the input and the target is multivalued. For example, in a super resolution task, a low resolution image may be interpreted by many different high resolution images y. Using L1Loss, training a neural network regressor using training pairs of low resolution images and high resolution images, it can be found that if random numbers are usedThe matching random numbers replace the target, and the estimated value remains unchanged.
Further, step S3 includes:
the training target that destroys neural networks with zero mean noise without changing the network learning, combined with the corrupted input from the formula in step S1, results in an empirical risk minimization task:
Figure GDA0003663805230000021
input xAnd object yAre derived from a corrupted distribution with potentially unknown integrity data yIs a condition such that
Figure GDA0003663805230000031
Given limited data, the problem can be solved using the above-described method. For limited data, the estimated variance is the average variance of corrupted data in the target divided by the number of training samples in many image recovery tasks, the expectation of corrupted input data is the complete target that we seek to recover. The above results show that in these cases we can use this method for image inpainting, as long as we can view each source image twice.
The invention has the beneficial effects that: based on the principle of statistical reasoning, only damaged target data can be trained for image restoration without observing complete target data, and image restoration performance close to that of the complete data can be obtained under the normal condition.
Drawings
In order to make the purpose, technical scheme and beneficial effect of the invention more clear, the invention provides the following drawings for explanation:
FIG. 1 is a contrast graph of image restoration with Gaussian noise added, where (a) represents the original, (b) represents the noise graph, (c) the method of the present invention, and (d) the mean filtering denoising algorithm.
Fig. 2 is a comparison graph of image inpainting with poisson noise added, where (a) represents the original, (b) represents the noise map, (c) the method of the present invention, and (d) the median filtering algorithm.
FIG. 3 is a graph of image restoration contrast with random value impulse noise added, where (a) represents the original image, (b) represents the noise map, (c) the method of the present invention, and (d) the BM3D algorithm;
fig. 4 is a schematic flow chart of an image restoration method based on statistical inference according to an embodiment of the present invention.
Detailed Description
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
As shown in fig. 4, a method for repairing an image based on statistical inference includes the following steps:
s1: applying basic statistical reasoning to the signal reconstruction by a machine learning algorithm;
s2: the deep neural network algorithm is used for avoiding the prior statistical modeling of the traditional loss signal, and a convolutional neural network regression model is built by training a large number of damage inputs and clear target output parameters;
s3: by minimizing the risk of experience, learning maps the corrupted observations onto the observed sharp signals, and thus results in the possibility of repairing the image in this way, in the usual case, by observing only the corrupted data, even if no sharp signals are observed.
Optionally, step S1 includes the steps of:
s11: preparing a set of data-corrupted target data values (y)1,y2…), the complete unknown data value is estimated by finding the number z with the smallest mean deviation from the measured value according to some loss function L, as follows:
argminzEy{L(z,y)}
wherein, L (z, y) is a loss function, which represents the loss caused by adopting the parameter with the value of z to replace the real value when the real value of the parameter is y; argminzEyIt is shown that the parameter z is chosen such that the expected loss of the loss function L (z, y) is minimal.
S12: for the loss function L1
L(z,y)=(z-y)2
The minimum of this loss function is found at the arithmetic mean of the observations:
z=Ey{y}
s13: for the loss function L2
L(z,y)=|z-y|
The minimum of the loss function is found at the median of the observations;
s14: a general class-bias-minimization estimator is the known M estimator, and from a statistical point of view, a collective estimate using these common loss functions can be considered as an ML estimate by interpreting the loss functions as negative log-likelihood.
Optionally, step S2 includes the steps of:
s21: training neural network regressors is a generalization of ML estimation, where the following is a set of input target pairs (x),y) In which the network parameter fθ(x) Parameterized by θ:
argminθE(x,y){L(fθ(x),y)}
using f which only outputs a learning scalar if input data is not usedθ(x) Then the task is equal to step S11;
s22: a complete training will yield the same minimization problem in each training sample, and the task is equivalent to the following equation:
argminθEx{Ey|x{L(fθ(x),y)}}
the network minimizes this loss by solving the point estimation problem separately for each input sample, with the properties of the potential loss inherited by the neural network training.
By the equation in step S11, in a limited number of input-target pairs (x),y) By training the regression metric, it can be found that the mapping between the input and the target is multivalued. For example, in a super resolution task, a low resolution image may be interpreted by many different high resolution images y. Using L1Training a neural network regressor using a training pair of low resolution images and high resolution images, one finds that the estimate remains unchanged if the target is replaced with a random number that matches the random number.
Optionally, step S3 includes:
the training target that destroys the neural network with zero mean noise without changing the network learning, in combination with the corrupted input from the formula in step S1, results in an empirical risk minimization task:
Figure GDA0003663805230000041
input xAnd object yAre derived from a corrupted distribution with potentially unknown integrity data yIs a condition such that
Figure GDA0003663805230000051
Given limited data, the problem can be solved using the above-described method. For limited data, the estimated variance is the average variance of corrupted data in the target divided by the number of training samples in many image recovery tasks, the expectation of corrupted input data is the complete target that we seek to recover. The above results show that in these cases we can use this method for image inpainting, as long as we can view each source image twice.
In fig. 1, the original clear picture is added with gaussian noise with an average value of 0 and a variance of 0.05, and a median filtering algorithm and two algorithms of image restoration based on statistical inference proposed by the invention are adopted to perform a comparison experiment on a denoising result.
From the simulation result, the two image restoration methods both effectively remove noise to a certain extent, and basically restore the original appearance of the image, but cannot completely restore the original image. Although the overall effect of the median filtering algorithm is good and the repairing speed is fast, it can be seen from fig. 1(c) that a large amount of details are lost in the denoising process and a good denoising effect cannot be achieved. The image restoration algorithm based on statistical reasoning has good restoration effect on the image, not only ensures the definition of the image, but also effectively removes noise, and the detailed part information of the image is well stored.
Fig. 2 is a simulation experiment performed by using an airplane picture, adding salt-pepper noise with a mean value of 0 and a variance of 0.03 to an original clear picture, and performing a comparison experiment on a denoising result by using a mean filtering algorithm and an image restoration algorithm based on statistical reasoning provided by the invention.
From the simulation result, the two image restoration methods effectively remove the noise to a certain extent, and basically restore the original appearance of the image. From fig. 1(c), it can be seen that the two algorithms have good overall effect and high restoration speed, and although the details of the part are lost, the noise can be removed well. This means that the performance of image inpainting can be guaranteed without observing the complete target data.
In fig. 3, the original clear picture is added with bernoulli noise with a mean value of 0 and a variance of 0.7, and a comparison experiment is performed on the denoising result by adopting a BM3D algorithm and an image repairing algorithm based on statistical reasoning provided by the invention.
From the simulation result, the two image restoration methods effectively remove the noise to a certain extent, and basically restore the original appearance of the image. The two algorithms have good image restoration effect, ensure the definition of the image, effectively remove noise and keep the information of the detail part of the image in good condition. Thus further illustrating that complete target data is not entirely necessary in image inpainting.
Finally, it is noted that the above-mentioned preferred embodiments illustrate rather than limit the invention, and that, although the invention has been described in detail with reference to the above-mentioned preferred embodiments, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the scope of the invention as defined by the appended claims.

Claims (2)

1. An image restoration method based on statistical reasoning is characterized in that: the method comprises the following steps:
s1: applying basic statistical reasoning to signal reconstruction by a machine learning algorithm, comprising the steps of:
s11: preparing a set of data-corrupted target data values (y)1,y2…), the complete unknown data value is estimated by finding the number z with the smallest mean deviation from the measured value according to some loss function L, as follows:
argminzEy{L(z,y)}
wherein, L (z, y) is a loss function, which represents the loss caused by adopting the parameter with the value of z to replace the real value when the real value of the parameter is y; argminzEyMeans to select a suitable parameter z such that the expected loss of the loss function L (z, y) is minimal;
s12: for the loss function L1
L(z,y)=(z-y)2
The minimum of this loss function is found at the arithmetic mean of the observations:
z=Ey{y}
s13: for the loss function L2
L(z,y)=|z-y|
The minimum of the loss function is found at the median of the observations;
s14: the general class-bias minimization estimator is a known M estimator, and a summary estimate using common loss functions is considered as an ML estimate, interpreting the loss functions as negative log-likelihood;
s2: training damage input and target output parameters by using a deep neural network algorithm, and establishing a convolutional neural network regression model;
s3: learning to map corrupted observations onto observed sharp signals by a method that minimizes empirical risk, repairing the image by observing corrupted data, destroying the training targets of the neural network with zero mean noise without altering the network learning, and combining the corrupted inputs from the formula in step S1, to arrive at an empirical risk minimization task:
Figure FDA0003663805220000011
2. the statistical inference-based image inpainting method of claim 1, wherein: step S2 includes the following steps:
s21: training neural network regressors is a generalization of ML estimation, where the following is a set of input target pairs (x)i,yi) In which the network parameter fθ(x) Parameterized by θ:
argminθE(x,y){L(fθ(x),y)}
using f which only outputs a learning scalar if input data is not usedθ(x) Then the task is equal to step S11;
s22: the task is equivalent to the following formula:
argminθEx{Ey|x{L(fθ(x),y)}}
the network minimizes this loss by solving the point estimation problem separately for each input sample, with the properties of the potential loss inherited by the neural network training.
CN201910019969.6A 2019-01-08 2019-01-08 Image restoration method based on statistical reasoning Active CN109712098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910019969.6A CN109712098B (en) 2019-01-08 2019-01-08 Image restoration method based on statistical reasoning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910019969.6A CN109712098B (en) 2019-01-08 2019-01-08 Image restoration method based on statistical reasoning

Publications (2)

Publication Number Publication Date
CN109712098A CN109712098A (en) 2019-05-03
CN109712098B true CN109712098B (en) 2022-07-08

Family

ID=66261001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910019969.6A Active CN109712098B (en) 2019-01-08 2019-01-08 Image restoration method based on statistical reasoning

Country Status (1)

Country Link
CN (1) CN109712098B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280814A (en) * 2018-02-08 2018-07-13 重庆邮电大学 Light field image angle super-resolution rate method for reconstructing based on perception loss

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7085426B2 (en) * 2001-10-15 2006-08-01 Jonas August Volterra filters for enhancement of contours in images
CN106251314A (en) * 2016-08-19 2016-12-21 深圳市唯特视科技有限公司 A kind of method that image reasoning is rebuild
CN106780356B (en) * 2016-11-15 2020-04-28 天津大学 Image defogging method based on convolutional neural network and prior information
CN106960415A (en) * 2017-03-17 2017-07-18 深圳市唯特视科技有限公司 A kind of method for recovering image based on pixel-recursive super-resolution model
CN107945118B (en) * 2017-10-30 2021-09-28 南京邮电大学 Face image restoration method based on generating type confrontation network
CN107945140A (en) * 2017-12-20 2018-04-20 中国科学院深圳先进技术研究院 A kind of image repair method, device and equipment
CN108257100A (en) * 2018-01-12 2018-07-06 北京奇安信科技有限公司 A kind of image repair method and server
CN108460746B (en) * 2018-04-10 2021-09-03 武汉大学 Image restoration method based on structure and texture layered prediction

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280814A (en) * 2018-02-08 2018-07-13 重庆邮电大学 Light field image angle super-resolution rate method for reconstructing based on perception loss

Also Published As

Publication number Publication date
CN109712098A (en) 2019-05-03

Similar Documents

Publication Publication Date Title
Pan et al. Physics-based generative adversarial models for image restoration and beyond
Sohn et al. Learning structured output representation using deep conditional generative models
Kang et al. Shakeout: A new regularized deep neural network training scheme
Wang et al. G-image segmentation: Similarity-preserving fuzzy C-means with spatial information constraint in wavelet space
CN107133923B (en) Fuzzy image non-blind deblurring method based on adaptive gradient sparse model
Wei et al. Self-filtering: A noise-aware sample selection for label noise with confidence penalization
Pan et al. Dual convolutional neural networks for low-level vision
CN112884671B (en) Fuzzy image restoration method based on unsupervised generation countermeasure network
Kutyniok The mathematics of artificial intelligence
WO2023197601A1 (en) Gradient field-based point cloud repair method
Qi et al. Research on the image segmentation of icing line based on NSCT and 2-D OSTU
Li et al. Drcnet: Dynamic image restoration contrastive network
Ayyoubzadeh et al. High frequency detail accentuation in CNN image restoration
CN113763268B (en) Blind restoration method and system for face image
Tang et al. Feature preserving 3d mesh denoising with a dense local graph neural network
CN109712098B (en) Image restoration method based on statistical reasoning
CN111047537A (en) System for recovering details in image denoising
CN114998107A (en) Image blind super-resolution network model, method, equipment and storage medium
Sujatha et al. Grey wolf optimiser-based feature selection for feature-level multi-focus image fusion
Gan et al. An autoencoder based approach to defend against adversarial attacks for autonomous vehicles
Lin et al. Noise2blur: Online noise extraction and denoising
Kar et al. Progressive update guided interdependent networks for single image dehazing
Wen et al. Overview of traditional denoising and deep learning-based denoising
Jena An approach to image denoising using manifold approximation without clean images
Bhardwaj et al. An enhanced cellular automata based filter for despeckling of ultrasound images

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant