CN106127729A - A kind of picture noise level estimation method based on gradient - Google Patents
A kind of picture noise level estimation method based on gradient Download PDFInfo
- Publication number
- CN106127729A CN106127729A CN201610408403.9A CN201610408403A CN106127729A CN 106127729 A CN106127729 A CN 106127729A CN 201610408403 A CN201610408403 A CN 201610408403A CN 106127729 A CN106127729 A CN 106127729A
- Authority
- CN
- China
- Prior art keywords
- image block
- gradient
- noise level
- pixel
- estimation method
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
-
- 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/20081—Training; Learning
-
- 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/20084—Artificial neural networks [ANN]
-
- 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/30—Subject of image; Context of image processing
- G06T2207/30168—Image quality inspection
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Picture Signal Circuits (AREA)
Abstract
The invention discloses a kind of picture noise level estimation method based on gradient, including: the noisy image of noise level to be estimated is divided into the image block of multiple fixed size by (1);(2) calculate the comprehensive gradient metric of each pixel in each image block, choose the image block of predetermined quantity according to the interval distribution of comprehensive gradient metric;(3) neutral net is utilized, the variance yields before and after each image block choosing out is carried out denoising and calculates denoising;(4) variance yields of minimum is chosen as final picture noise horizontal estimated value.The present invention, by the way of using statistical picture gradient, selects the image block that corresponding texture is more weak, improves the computational accuracy of final variance;Utilize neutral net, the image block of selection is first carried out a denoising, then calculates the variance of error image block so that algorithm more robust, the scope of application is wider.
Description
Technical field
The present invention relates to Computer Image Processing field, be specifically related to a kind of picture noise horizontal estimated side based on gradient
Method.
Background technology
The fast development of multimedia technology so that we live in the world of a full digital picture and video.So
And, these images are usually because the impact of the factor such as electronic component, illumination condition, and the when of meeting imaging, meeting is with noise.Generally
We research noise be independently of image itself, the additive noise of Gaussian distributed.Many Denoising Algorithm are by noise
Variance as a priori to carry out denoising process, it is apparent that this is inapplicable to produce actual way, so making an uproar from band
Image calculates noise level automatically, is the most necessary.
In recent years, the algorithm having many noise levels to estimate is suggested, including using wavelet transformation etc..Based on filtering
Method is used to first carry out image denoising, then by the side of the error image of image after calculating noisy image and denoising
Difference is using as final noise level estimated value.But this class method has its limitation, because in the error image obtained
The most also the marginal information of original image is comprised, so the variance calculated can be affected.
In the recent period, new noise level algorithm for estimating is also had to be suggested.Tian and Chen utilizes graph model and ant group optimization
Technology selects the image block for carrying out calculating noise level.Jiang and Zhang proposes a kind of quickly based on statistics vacation
If noise Estimation Algorithm.Pyatykh proposes a kind of new noise level algorithm for estimating based on image texture.
Summary of the invention
The invention provides a kind of picture noise level estimation method based on gradient, by using statistical picture gradient
Mode, selects the image block that corresponding texture is more weak, improves the computational accuracy of final variance;Utilize neutral net, will select
Image block first carry out a denoising, then calculate the variance of error image block so that algorithm more robust, the scope of application is more
Extensively.
A kind of picture noise level estimation method based on gradient, including:
(1) noisy image of noise level to be estimated is divided into the image block of multiple fixed size;
(2) calculate the comprehensive gradient metric of each pixel in each image block, divide according to the interval of comprehensive gradient metric
The image block of predetermined quantity chosen by cloth;
(3) neutral net is utilized, the variance yields before and after each image block choosing out is carried out denoising and calculates denoising;
(4) variance yields of minimum is chosen as final picture noise horizontal estimated value.
In step (1), the noisy image of noise level to be estimated divides according to pre-fixed step size, and adjacent image block
Between with overlapping region;
Described in step (2), comprehensive gradient metric is:
Wherein:
Pi(x y) represents image block PiIn (x, y) pixel of position,
Represent image block PiIn (x, y) the horizontal direction gradient of position pixel,
Represent image block PiIn (x, y) the vertical direction gradient of position pixel.
Horizontal direction gradient and the vertical direction gradient of pixel are respectively as follows:
For each image block in step (2), the comprehensive gradient metric of each pixel is sorted from small to large;
Wherein maximum is max (measure), and minima is min (measure);
Interval between max (measure)-min (measure) is divided into nine parts, adds up combining on each subinterval
Close gradient metric number, i.e. corresponding number of pixels, be designated as In (m) (m=1,2 ..., 9);By In (m) (m=1,2 ...,
9) maxima and minima in takes out, the corresponding ratio of calculating:
This corresponding for all of image block ratio is sorted from big to small, and the descending image choosing predetermined quantity
Block.
Compared with prior art, the invention have the benefit that
(1) a kind of based on gradient the picture noise level estimation method that the present invention proposes, by using statistical picture ladder
The mode of degree, selects the image block that corresponding texture is more weak, improves the computational accuracy of final variance;
(2) a kind of based on gradient the picture noise level estimation method that the present invention proposes, utilizes neutral net, will select
Image block first carry out a denoising, then calculate the variance of error image block;With this so that algorithm more robust, it is suitable for
Wider.
Detailed description of the invention
Below in conjunction with specific embodiment, the present invention is described in detail.Present invention picture noise based on gradient level
Method of estimation mainly comprises the following steps:
(1) noisy image of given noise level to be estimated, (in the present embodiment, I size is 256 × 256 pictures to be designated as I
Element), block (when being embodied as, N=28) that I is divided into size be N × N (on image I according to interval (step-length) 2 pixels, from
From left to right, top-down rule scan, and obtain the image block that multiple size is N × N).
(2) each image block P that step (1) is obtainedi(i=1,2 ..., n), wherein n is image block number, carries out
Following operation:
(2-1) according to equation below, image block P is calculatediIn the horizontal direction of each pixel and the gradient of vertical direction:
Wherein, Pi(x y) represents image block PiIn (x, y) pixel of position,Represent image block PiIn (x, y)
The horizontal direction gradient of position pixel,Represent image block PiIn (x, y) the vertical direction gradient of position pixel.
(2-2) gradient of each pixel obtained according to step (2-1), calculates each pixel according to equation below and repaiies
Positive gradient direction:
Wherein, Pi(x y) represents image block PiIn (x, y) pixel of position,The most above-mentioned ask
The gradient obtained, arctan represents arc tangent trigonometric function.
(2-3) according to equation below, image block PiIn the comprehensive gradient metric of each pixel be expressed as:
Wherein, Pi(x y) represents image block PiIn (x, y) pixel of position,The most above-mentioned ask
The gradient obtained, θ (Pi(x, y)) is calculated gradient direction in step (2-2).
(2-4) by comprehensive gradient metric obtained above according to sorting from small to large, it is assumed that maximum is max
(measure), minima min (measure), the interval between max (measure)-min (measure) is divided into nine parts,
Add up the comprehensive gradient metric number on each subinterval, i.e. corresponding number of pixels, be designated as In (m) (m=1,2 ...,
9)。
(2-5) by (2-4) calculates In (m) (m=1,2 ..., 9) in maxima and minima take out, it is right to calculate
Answer ratio:
Wherein, calculate during max (In (m)) is step (2-4) comprises the interval that comprehensive gradient metric number is most
Contained pixel count, corresponding min (In (m)) is in step (2-4) interval comprising gradient metric minimum number calculated
Contained pixel count;
(3) each image block is through the calculating of step (2), the most all can obtain ratio I n_ration, will be all
This ratio corresponding to image block sort from big to small, take its front K numerical value (in being embodied as, K=25), and it be corresponding to record it
Image block.
(4) for K the image block determined in step (3), list of references " Agostinelli F, Anderson M R,
Lee H.Adaptive Multi-Column Deep Neural Networks with Application to Robust
Image Denoising (2013) " the middle AMC-SSDA technology proposed, utilize neutral net, to each image block PkGo
Make an uproar:
(4-1) size of image block here is 28 × 28 in a particular embodiment, and the AMC-SSDA god mentioned in literary composition
Also it is 28 × 28 through the input dimension of network, therefore can directly utilize the neutral net trained and carry out relevant treatment;Here
AMC-SSDA be the linear combination of a series of SSDA (stacking coefficient denoising automatic coding machine);
(4-2) for image block Pk, as the input of the AMC-SSDA neutral net trained, first pass around C (specifically real
Shi Shi, C=20) individual SSDA, each of which SSDA is trained for the specific noise type of one, and output result is C
Image block after corresponding denoisingThe size of each image block and PkUnanimously;
(4-3) image block of above-mentioned generationIt is multiplied by the weight coefficient s of correspondence1,s2,...,sCIt is added, this
Weight coefficient is the same a bit is automatically generated by the neutral net trained, and final weighted results is corresponding noise-reduced image piece
Obtain the noise-reduced image of correspondenceThe advantage of the method is to obtain on the premise of unknown noise level value
To good denoising effect, this is also the feature of neutral net.
(5) P is calculated according to equation belowkWithDifference variance:
Wherein, S is image block PkNumber of pixels (being 256 in being embodied as), μ isAverage, be defined as:
(6) K variance yields calculated in step (5) is sorted from small to large, take minimum that as final
Noise level estimated value
Claims (5)
1. a picture noise level estimation method based on gradient, it is characterised in that including:
(1) noisy image of noise level to be estimated is divided into the image block of multiple fixed size;
(2) the comprehensive gradient metric of each pixel in each image block is calculated, according to the interval distribution choosing of comprehensive gradient metric
Take the image block of predetermined quantity;
(3) neutral net is utilized, the variance yields before and after each image block choosing out is carried out denoising and calculates denoising;
(4) variance yields of minimum is chosen as final picture noise horizontal estimated value.
2. picture noise level estimation method based on gradient as claimed in claim 1, it is characterised in that step is treated in (1)
Estimate that the noisy image of noise level divides according to pre-fixed step size, and with overlapping region between adjacent image block.
3. picture noise level estimation method based on gradient as claimed in claim 1, it is characterised in that institute in step (2)
Stating comprehensive gradient metric is:
Wherein:
Pi(x y) represents image block PiIn (x, y) pixel of position,
Represent image block PiIn (x, y) the horizontal direction gradient of position pixel,
Represent image block PiIn (x, y) the vertical direction gradient of position pixel.
4. picture noise level estimation method based on gradient as claimed in claim 3, it is characterised in that the level side of pixel
It is respectively as follows: to gradient and vertical direction gradient
5. picture noise level estimation method based on gradient as claimed in claim 1, it is characterised in that pin in step (2)
To each image block, the comprehensive gradient metric of each pixel is sorted from small to large;
Wherein maximum is max (measure), and minima is min (measure);
Interval between max (measure)-min (measure) is divided into nine parts, adds up the comprehensive ladder on each subinterval
Degree metric number, i.e. corresponding number of pixels, be designated as In (m) (m=1,2 ..., 9);By In (m) (m=1,2 ..., 9) in
Maxima and minima take out, calculate corresponding ratio:
This corresponding for all of image block ratio is sorted from big to small, and the descending image block choosing predetermined quantity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610408403.9A CN106127729A (en) | 2016-06-08 | 2016-06-08 | A kind of picture noise level estimation method based on gradient |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610408403.9A CN106127729A (en) | 2016-06-08 | 2016-06-08 | A kind of picture noise level estimation method based on gradient |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106127729A true CN106127729A (en) | 2016-11-16 |
Family
ID=57270444
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610408403.9A Pending CN106127729A (en) | 2016-06-08 | 2016-06-08 | A kind of picture noise level estimation method based on gradient |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106127729A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107704914A (en) * | 2017-11-07 | 2018-02-16 | 龚土婷 | A kind of intelligent interaction robot |
CN107844904A (en) * | 2017-11-07 | 2018-03-27 | 潘柏霖 | A kind of transformer station goes on patrol device |
CN107895503A (en) * | 2017-11-07 | 2018-04-10 | 钟永松 | A kind of unattended parking farm monitoring system |
WO2019087033A1 (en) * | 2017-11-01 | 2019-05-09 | International Business Machines Corporation | Protecting cognitive systems from gradient based attacks through the use of deceiving gradients |
CN110213462A (en) * | 2019-06-13 | 2019-09-06 | Oppo广东移动通信有限公司 | Image processing method, device, electronic equipment and image processing circuit |
CN110298858A (en) * | 2019-07-01 | 2019-10-01 | 北京奇艺世纪科技有限公司 | A kind of image cropping method and device |
US10790432B2 (en) | 2018-07-27 | 2020-09-29 | International Business Machines Corporation | Cryogenic device with multiple transmission lines and microwave attenuators |
US11023593B2 (en) | 2017-09-25 | 2021-06-01 | International Business Machines Corporation | Protecting cognitive systems from model stealing attacks |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104680483A (en) * | 2013-11-25 | 2015-06-03 | 浙江大华技术股份有限公司 | Image noise estimating method, video image de-noising method, image noise estimating device, and video image de-noising device |
-
2016
- 2016-06-08 CN CN201610408403.9A patent/CN106127729A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104680483A (en) * | 2013-11-25 | 2015-06-03 | 浙江大华技术股份有限公司 | Image noise estimating method, video image de-noising method, image noise estimating device, and video image de-noising device |
Non-Patent Citations (2)
Title |
---|
FOREST AGOSTINELLI等: "Adaptive Multi-Column Deep Neural Networks with Application to Robust Image Denoising", 《ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS》 * |
PRANAV SODHANI等: "Blind Content Independent Noise Estimation for Multimedia Applications", 《ELEVENTH INTERNATIONAL MULTI-CONFERENCE ON INFORMATION PROCESSING-2015》 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11023593B2 (en) | 2017-09-25 | 2021-06-01 | International Business Machines Corporation | Protecting cognitive systems from model stealing attacks |
US11853436B2 (en) | 2017-09-25 | 2023-12-26 | International Business Machines Corporation | Protecting cognitive systems from model stealing attacks |
WO2019087033A1 (en) * | 2017-11-01 | 2019-05-09 | International Business Machines Corporation | Protecting cognitive systems from gradient based attacks through the use of deceiving gradients |
US10657259B2 (en) | 2017-11-01 | 2020-05-19 | International Business Machines Corporation | Protecting cognitive systems from gradient based attacks through the use of deceiving gradients |
GB2580579A (en) * | 2017-11-01 | 2020-07-22 | Ibm | Protecting cognitive systems from gradient based attacks through the use of deceiving gradients |
CN107704914A (en) * | 2017-11-07 | 2018-02-16 | 龚土婷 | A kind of intelligent interaction robot |
CN107895503A (en) * | 2017-11-07 | 2018-04-10 | 钟永松 | A kind of unattended parking farm monitoring system |
CN107844904A (en) * | 2017-11-07 | 2018-03-27 | 潘柏霖 | A kind of transformer station goes on patrol device |
US10790432B2 (en) | 2018-07-27 | 2020-09-29 | International Business Machines Corporation | Cryogenic device with multiple transmission lines and microwave attenuators |
CN110213462A (en) * | 2019-06-13 | 2019-09-06 | Oppo广东移动通信有限公司 | Image processing method, device, electronic equipment and image processing circuit |
CN110213462B (en) * | 2019-06-13 | 2022-01-04 | Oppo广东移动通信有限公司 | Image processing method, image processing device, electronic apparatus, image processing circuit, and storage medium |
CN110298858A (en) * | 2019-07-01 | 2019-10-01 | 北京奇艺世纪科技有限公司 | A kind of image cropping method and device |
CN110298858B (en) * | 2019-07-01 | 2021-06-22 | 北京奇艺世纪科技有限公司 | Image clipping method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106127729A (en) | A kind of picture noise level estimation method based on gradient | |
Kim et al. | Deep learning of human visual sensitivity in image quality assessment framework | |
CN110378844B (en) | Image blind motion blur removing method based on cyclic multi-scale generation countermeasure network | |
CN103632352B (en) | Method for time domain noise reduction of noise image and related device | |
CN102521813B (en) | Infrared image adaptive enhancement method based on dual-platform histogram | |
CN102256048B (en) | Density-adaptive image salt-pepper noise switching filtering method | |
CN111652814B (en) | Denoising method and device for video image, electronic equipment and storage medium | |
CN107645621A (en) | A kind of method and apparatus of Video processing | |
CN111047543A (en) | Image enhancement method, device and storage medium | |
Jin et al. | Perceptual image quality assessment using block-based multi-metric fusion (BMMF) | |
CN102298773A (en) | Shape-adaptive non-local mean denoising method | |
Gu et al. | Structural similarity weighting for image quality assessment | |
CN102800054B (en) | Image blind deblurring method based on sparsity metric | |
CN107333027A (en) | A kind of method and apparatus of video image enhancement | |
Sandoub et al. | A low‐light image enhancement method based on bright channel prior and maximum colour channel | |
Yao et al. | Brightness preserving and contrast limited bi-histogram equalization for image enhancement | |
CN115131229A (en) | Image noise reduction and filtering data processing method and device and computer equipment | |
CN105279742B (en) | A kind of image de-noising method quickly based on piecemeal estimation of noise energy | |
CN111325671A (en) | Network training method and device, image processing method and electronic equipment | |
CN104966271B (en) | Image de-noising method based on biological vision receptive field mechanism | |
He et al. | A night low‐illumination image enhancement model based on small probability area filtering and lossless mapping enhancement | |
CN104835121B (en) | Tone mapping method with entropy principle is constrained based on Infinite Norm | |
CN106952243A (en) | UUV Layer Near The Sea Surface infrared image self adaptation merger histogram stretches Enhancement Method | |
CN106875383A (en) | The insensitive blurred picture quality evaluating method of content based on Weibull statistical nature | |
Ma et al. | An automatic analysis method for seabed mineral resources based on image brightness equalization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161116 |
|
RJ01 | Rejection of invention patent application after publication |