CN1208740C - Method for purifying noise and sharpening digital image - Google Patents

Method for purifying noise and sharpening digital image Download PDF

Info

Publication number
CN1208740C
CN1208740C CN 02120708 CN02120708A CN1208740C CN 1208740 C CN1208740 C CN 1208740C CN 02120708 CN02120708 CN 02120708 CN 02120708 A CN02120708 A CN 02120708A CN 1208740 C CN1208740 C CN 1208740C
Authority
CN
China
Prior art keywords
activity
pixel
predetermined
sharpening
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CN 02120708
Other languages
Chinese (zh)
Other versions
CN1462978A (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.)
Guangdong Zhongxing Electronics Co ltd
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CN 02120708 priority Critical patent/CN1208740C/en
Publication of CN1462978A publication Critical patent/CN1462978A/en
Application granted granted Critical
Publication of CN1208740C publication Critical patent/CN1208740C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The present invention relates to a method for simultaneously denoising and sharpening digital images, particularly to a method of synchronous processing for denoising and sharpening images. The method comprises the steps that firstly, a brightness diagram comprising brightness values of image pixels in digital images is worked out; secondly, an activity diagram is worked out from the brightness diagram, the activity value of each pixel in the diagram conforms to the activity surrounding the pixel; then, the activity magnitude of the pixel is compared with three predetermined threshold values, the activity diagram is modified by the three predetermined regulations, and the modified activity diagram is added back to the brightness channel of digital images. The three predetermined regulations respectively have a denoising function, a moderate sharpening function and a high sharpening function.

Description

The digital image noise purifies and sharpening method
Technical field
The present invention relates to a kind of image sharpening and noise purification method thereof, particularly, relate to a kind of method of image being carried out denoising and sharpening synchronous processing.
Background technology
The digital image treatment technology is that multipath improves picture quality and opened wide the gate, no matter be that its advantage all is obvious to all to motion or static image.
In the process that image is ingested, its pixel value always is subjected to the influence from various noise source random noises, in fact, every width of cloth image all comprises noise to a certain degree, and for example: the image that absorbs on traditional film comprises because the film particle that chemical reaction process produces; Equally, also comprise noise in the image that digital camera is directly caught, as shot noise, dark current noise and fixing photoreceptor noise or the like.
Noise effect picture quality, therefore suitably deletion or minimizing noise are necessary often.The natural property of light has determined to realize that a complete muting system is impossible, but can improve the ratio of signal and noise by certain technology, makes its high existence that can ignore noise to the observer relatively.
As everyone knows, strengthen the minimizing that not only can promote noise from the view data of optical detection device, also can make image sharpening simultaneously.Image sharpening has improved the acutance of digitized map corner edge, therefore can improve the quality of image usually.The U.S. 5,038, No. 388 patents have described the technology of image sharpening in detail.In many enhancing operations, denoising and image sharpening are two operations important and that adopt often.Improve acutance by suppressing noise, strengthen picture quality.But denoising and image sharpening interior last be contradiction, in fact all devices of catching image have the characteristic of low-pass filtering, just mean the high fdrequency component that has weakened image.Unfavorable low-pass filtering will reduce image definition.What make worse off is that the high fdrequency component that suppresses image all is inclined in nearly all noise purification run, thereby increases the loss of sharpness.Therefore, the also very necessary sharpening image manipulation that adopts.
As usual, a width of cloth digital image is successively carried out denoising and sharpening, denoising is prior to sharpening, because noise also can be exaggerated in sharpening process usually.Up to the present, noise removing and sharpening generally are separately designs.The main disadvantage of this method is that sharpening does not know that when operation noise purifies situation about having moved, thereby can't select best sharpening method.In addition, the parameter setting of selected sharpening method often is not best yet.
Therefore need provide a kind of method that can be applicable to digital image denoising and sharpening, the method is carried out to produce high-quality image denoising and sharpening synchronously under the situation of understanding operation each other mutually.
Summary of the invention
Problem to be solved by this invention just provides a kind of method, and this method logarithmic code image is simultaneously carried out denoising and sharpening operation.This method comprises following step:
At first, calculate luminance graph from digital image, it comprises the brightness value of image pixel;
Secondly, calculate activity diagram again from luminance graph, the activity value of each pixel among its figure meets the activity around this pixel.
Then, compare with the activity magnitude of this pixel and three threshold values that are predetermined, and compare and adjust, the luminance channel of corrected activity diagram add-back digital image.
If the activity magnitude of this pixel is the threshold value that is predetermined less than first, this activity then is judged as noise, with first predetermined adjustment it is revised earlier, is increased to the brightness value of this pixel then;
If the activity magnitude of this pixel is the threshold value that is predetermined greater than first, less than second predetermined threshold value, this activity then is judged as based between noise and the edge, will be left intact to this pixel;
If the activity magnitude of this pixel is the threshold value that is predetermined greater than second, less than the 3rd threshold value that is predetermined, it is weak edge that this activity then is judged as, and with second predetermined adjustment it is revised earlier, is increased to the brightness value of this pixel then;
If the activity magnitude of this pixel is greater than the 3rd threshold value that is predetermined, it is strong edge that this activity then is judged as, and with the 3rd predetermined adjustment it is revised earlier, is increased to the brightness value of this pixel then.
First predetermined adjustment is the denoising function.
Second predetermined adjustment is the sharpening function of appropriateness.
The 3rd predetermined adjustment is the sharpening function of height.The adjustment of all activity diagrams (AM) is all passed through lookup table (LUT) and realized, and is as follows:
AMLUT ( x ) = mx x &le; - x 3 m x 3 &times; ( x + x 2 x 3 - x 2 ) - x 3 < x &le; - x 2 0 - x 2 < x &le; - x 1 Avg - Y - x 1 < x &le; x 1 0 x 1 < x &le; x 2 m x 3 &times; ( x - x 2 x 3 - x 2 ) x 2 < x &le; x 3 mx x 3 < x
Wherein, x is the activity magnitude of pixel, and x1, x2, x3 are respectively predetermined three threshold values.
The invention has the advantages that against existing technologies:
Method proposed by the invention logarithmic code image simultaneously purifies noise and sharpening operation.This denoising and sharpening are carried out method of operating in the mode of being mutually related, and can farthest improve the quality of image.In addition, purification and sharpening use look-up table also to guarantee the high-speed of processing.
Description of drawings
Figure one is the permutation table of 5 pixels * 5 pixels.
Figure two is picture specifications of the embodiment of the invention.
Figure three is picture specifications of the look-up table that is suitable for of the present invention.
Below be the Reference numeral of each several part among figure two and the figure three:
10 computer systems
20 main frames
30 displays
40 keyboards
50 mouses
52 cursors
55 CD drive (CD-ROM)
56 printers
57 (read-only) CD
61 disks
62 personal computer cards (PC card)
80LUT
Embodiment
At first, calculate luminance graph from digital image, it comprises the brightness value of image pixel;
Secondly, calculate activity diagram again from luminance graph, the activity value of each pixel among its figure meets the activity around this pixel.
Then, compare with the activity magnitude of this pixel and three threshold values that are predetermined, and compare and adjust, the luminance channel of corrected activity diagram add-back digital image.
If the activity magnitude of this pixel is the threshold value that is predetermined less than first, this activity then is judged as noise, with first predetermined adjustment it is revised earlier, is increased to the brightness value of this pixel then;
If the activity magnitude of this pixel is the threshold value that is predetermined greater than first, less than second predetermined threshold value, this activity then is judged as based between noise and the edge, will be left intact to this pixel;
If the activity magnitude of this pixel is the threshold value that is predetermined greater than second, less than the 3rd threshold value that is predetermined, it is weak edge that this activity then is judged as, and with second predetermined adjustment it is revised earlier, is increased to the brightness value of this pixel then;
If the activity magnitude of this pixel is greater than the 3rd threshold value that is predetermined, it is strong edge that this activity then is judged as, and with the 3rd predetermined adjustment it is revised earlier, is increased to the brightness value of this pixel then.
First predetermined adjustment is the denoising function.
Second predetermined adjustment is the sharpening function of appropriateness.
The 3rd predetermined adjustment is the sharpening function of height.
The monochromatic digital image of one width of cloth comprises a passage, just, and brightness or intensity passage.One width of cloth colored digital image is by redness, green, three blue passages form.Substantially, the edge of the acutance of image by the brightness of image passage reflects.Therefore, luminance channel is defined as the Y passage, will at first be derived.A formula of reasonably deriving the Y passage is as follows:
Y=(red+2*green+blue)/4
In general, noise and edge all are considered as the endemic activity among a small circle of image.For instance, the pixel of the black matrix Y mark that is listed as at image m row and n shows in 5 pixels * 5 pixel coverages, sees accompanying drawing one.
For near the activity the pixel of weighing black matrix Y mark, following column matrix is used to the Y passage width of cloth activity diagram (AM) of deriving
- 1 0 - 1 0 - 1 0 0 0 0 0 - 1 0 8 0 - 1 0 0 0 0 0 - 1 0 - 1 0 - 1 &times; 1 8
Promptly
AM = ( 8 Y m , n - Y m - 2 , n - 2 - Y m - 2 , n - Y m - 2 , n + 2 - Y m , n - 2 - Y m , n + 2 - Y m + 2 , n - 2 - Y m + 2 , n - Y m + 2 , n + 2 ) 8
Activity diagram is further revised (AMLUT) by a look-up table.This look-up table shows in figure three graphically.
AMLUT is made up of following:
AMLUT ( x ) = = m 1 x x &le; - x 3 m 2 x 3 &times; ( x + x 2 x 3 - x 2 ) - x 3 < x &le; - x 2 0 - x 2 < x &le; - x 1 Avg - Y - x 1 < x &le; x 1 0 x 1 < x &le; x 2 m 2 x 3 &times; ( x - x 2 x 3 - x 2 ) x 2 < x &le; x 3 m 1 x x 3 < x
Wherein x is the activity magnitude of pixel, x 1, x 2, x 3Be respectively predetermined threshold value, m 1, m 2It is given parameter.
When-x 1<x≤x 1The time, x is considered to noise, is different from picture structure such as edge.In this case, following column operations will be used for calculating the Avg value.
At first, four direction mean value calculates according to following each row equation:
AvgH = ( Y m , n + Y m , n - 2 + Y m , n - 1 + Y m , n + 1 + Y m , n + 2 ) 5 ;
AvgV = Y m , n + Y m - 2 , n + Y m - 1 , n + Y m + 1 , n + Y m + 2 , n 5 ;
AvgL = Y m , n + Y m - 2 , n - 2 + Y m - 1 , n - 1 + Y m + 1 , n + 1 + Y m + 2 , n + 2 5 ;
AvgR = Y m , n + Y m - 2 , n + 2 + Y m - 1 , n + 1 + Y m + 1 , n - 1 + Y m + 2 , n - 2 5 ;
Then, in the direction of level, definition DH M, n=| Y M, n-AvgH| and
DDH=DH m,n+DH m,n-2+DH m,n-1+DH m,n+1+DH m,n+2
Similarly, in vertical direction, diagonal and back-diagonal direction, define
DDV=DV m,n+DV m-2,n+DV m-1,n+DV m+1,n+DV m+2,n
DDL=DL m,n+DL m-2,n-2+DL m-1,n-1+DL m+1,n+1+DL m+2,n+2
DDR=DR m,n+DR m+2,n-2+DR m+1,n-1+DR m-1,n+1+DR m-2,n+2
If a pixel is on the edge, noise purifies and carries out along the edge only to guarantee that the edge is not darkened.For this reason, (DDH, DDV, DDL, DDR) middle minimum value need be identified, and Dui Ying directivity mean value is selected as Avg then, just,
Avg=(AvgP|DDP<=DDQ,for?all?Q!=P,Pin{H,V,L,R},Qin{H,V,L,R})
At last, through corrected Y passage (purifying and sharpening) be through noise:
Y’=Y+AMLUT(AM)
In above-mentioned invention, can carry out denoising and sharpening operation simultaneously, thereby make the sharpening operation know the operation of noise removing fully.
Know that in above description the present invention can preferentially be implemented in specific software program.But the expert of this area can be easy to realize this software equally in hardware.
Fig. 1 shows that is implemented a computer system 10 of the present invention.Computer system 10 comprises the main frame 20 based on microprocessor, is used for acceptance and process software programs and moves other processing capacity.A display 30 links to each other with main frame 20, shows the user data relevant with software.A keyboard 40 also links to each other with main frame 20, can make the user to the software input information.In addition, mouse 50 alternative keyboard 40 inputs, it can be used for the cursor 52 on the mobile display 30 and carries out option.
Compact disc read-only memory (read-only optical disc) 55 links to each other with main frame, accepts software program and Input Software program and the method for other information to main frame 20 are provided by read-only optical disc 57.Read-only optical disc 57 comprises a software program usually.In addition, disk 61 also comprises a software program, can insert main frame and be used for the Input Software program.Further, able to programme based on the main frame 20 of microprocessor, know in the technology, be used for the storage inside software program.A printer 56 links to each other with the main frame 20 that with the microprocessor is base, is used for the hard copy of the output of printing computer system 10.
Image can show on display 30 by a personal computer card (PC card).As what knew in the past, personal computer storage international association card (pcmcia card) electronic personal computer card 62 that comprises digitized image.Personal computer card 62 is inserted in the main frame 20 based on microprocessor at last, is used for display image on display 30.
Though computer system 10 is as specific specific descriptions, the present invention is defined as the computer system of demonstration 10, also can use on any electronic processing system.Further, as example, computing machine scale storage medium can comprise that much for instance, magnetic-based storage media is as disk (flexible plastic disc) or tape; Optical storage medium is as CD, optical magnetic tape or machine readable barcode; The solid-state electronic storage facilities, as random access memory (RAM), ROM (read-only memory) (ROM); Perhaps any other is used for the actual device or the medium of storage computation machine program.
Though this invention is set forth by top specific description, for those skilled in the art, can easily realize additional advantage and make amendment.Therefore its most widely aspect the present invention's examples shown of being not limited to specific details, representational equipment and illustrating here and describe, therefore under the situation of the spirit and scope of the general notion that does not deviate from attached claim and equivalency range and limited, can carry out various modifications.

Claims (6)

1, a kind of image of logarithmic code simultaneously method of carrying out denoising and sharpening is used for image is carried out denoising and sharpening synchronous processing, it is characterized in that, comprises following steps:
(a) from the luminance channel computational activity figure of digital image;
(b) use a table lookup correction activity diagram;
(c) the luminance channel of corrected activity diagram add-back digital image.
2, method according to claim 1 is characterized in that, comprises concrete steps:
(a) calculate luminance graph from digital image, it comprises the brightness value of digital pixel image;
(b) calculate activity diagram from luminance graph, the activity value of each pixel among its figure meets the activity around this pixel;
(c) if the activity magnitude of this pixel is the threshold value that is predetermined less than first, this activity then is judged as noise, revises with first predetermined adjustment earlier, is increased to the brightness value of this pixel then;
(d) if the activity magnitude of this pixel is the threshold value that is predetermined greater than first, less than second threshold value that is predetermined, this activity then is judged as based between noise and the edge, will be left intact to this pixel;
(e) if the activity magnitude of this pixel is the threshold value that is predetermined greater than second, less than the 3rd threshold value that is predetermined, it is weak edge that this activity then is judged as, and revises with second predetermined adjustment earlier, is increased to the brightness value of this pixel then;
(f) if the activity magnitude of this pixel is greater than the 3rd threshold value that is predetermined, it is strong edge that this activity then is judged as, and revises with the 3rd predetermined adjustment earlier, is increased to the brightness value of this pixel then.
3, method according to claim 2 is characterized in that, first predetermined adjustment is the denoising function.
4, method according to claim 2 is characterized in that, second predetermined adjustment is the sharpening function of appropriateness.
5, method according to claim 2 is characterized in that, the 3rd predetermined adjustment is the sharpening function of height.
6, method according to claim 2 is characterized in that, the adjustment of all activity diagram AM all realizes by lookup table LUT, and is as follows:
X is the activity magnitude of pixel, and x1, x2, x3 are respectively predetermined three threshold values.
CN 02120708 2002-05-29 2002-05-29 Method for purifying noise and sharpening digital image Expired - Lifetime CN1208740C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02120708 CN1208740C (en) 2002-05-29 2002-05-29 Method for purifying noise and sharpening digital image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02120708 CN1208740C (en) 2002-05-29 2002-05-29 Method for purifying noise and sharpening digital image

Publications (2)

Publication Number Publication Date
CN1462978A CN1462978A (en) 2003-12-24
CN1208740C true CN1208740C (en) 2005-06-29

Family

ID=29742518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02120708 Expired - Lifetime CN1208740C (en) 2002-05-29 2002-05-29 Method for purifying noise and sharpening digital image

Country Status (1)

Country Link
CN (1) CN1208740C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8306348B2 (en) * 2007-04-24 2012-11-06 DigitalOptics Corporation Europe Limited Techniques for adjusting the effect of applying kernels to signals to achieve desired effect on signal
CN105046655B (en) * 2015-06-24 2019-02-01 武汉烽火众智数字技术有限责任公司 A kind of automatic sharpening method of video image and device
CN106604057A (en) * 2016-12-07 2017-04-26 乐视控股(北京)有限公司 Video processing method and apparatus thereof
CN108970152B (en) * 2018-08-15 2020-03-27 浙江大丰实业股份有限公司 Extension state monitoring system for extension type stage
CN109210855B (en) * 2018-11-29 2020-12-08 安徽省华腾农业科技有限公司经开区分公司 Intelligent fluorine-free refrigerator
CN115311161B (en) * 2022-08-11 2023-11-17 北京百度网讯科技有限公司 Image enhancement method, device, equipment and storage medium based on artificial intelligence

Also Published As

Publication number Publication date
CN1462978A (en) 2003-12-24

Similar Documents

Publication Publication Date Title
CN1239014C (en) Method and device for raising digital picture quality
US8290252B2 (en) Image-based backgrounds for images
CN1308891C (en) Apparatus and method for intensifying edge in picture processing
CN101061502A (en) Magnification and pinching of two-dimensional images
CN1774030A (en) Method for reducing noise in images
CN101079956A (en) Image processing apparatus and image processing method
CN1890691A (en) Image processing
CN1615029A (en) Method and apparatus for enhancing local luminance of image, and recording medium
CN1761309A (en) Signal processing apparatus and signal processing method for image data
CN1649388A (en) Resolution conversion method and device
CN1731451A (en) Method of image color enhancement
CN101039396A (en) Image output apparatus and method using numbers of chroma key color
CN1249619C (en) Impact suppession method and device for image detail enhancment
CN1208740C (en) Method for purifying noise and sharpening digital image
CN1578475A (en) Image processing method and apparatus for correcting image brightness distribution
KR101437626B1 (en) System and method for region-of-interest-based artifact reduction in image sequences
CN100342710C (en) Structure method for enhancing image
CN1622633A (en) Method of reducing block and mosquito noise (effect) in images
CN1366270A (en) Technology for removing false image of liquid crystal projector
US10762604B2 (en) Chrominance and luminance enhancing systems and methods
US9275316B2 (en) Method, apparatus and system for generating an attribute map for processing an image
CN1467987A (en) Image processing method, image processing program and memory media storing the program
CN1776666A (en) Method of setting background picture in image printer having display unit
CN1232926C (en) Apparatus for conducting binary coding to image and using method thereof
CN1178470C (en) Image synthesis apparatus and image processing apparatus

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: GUANGDONG ZHONGXING ELECTRONICS CO., LTD.

Free format text: FORMER OWNER: BEIJING VIMICRO CORPORATION

Effective date: 20150228

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100081 HAIDIAN, BEIJING TO: 519031 ZHUHAI, GUANGDONG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20150228

Address after: 519031 Guangdong city of Zhuhai province Hengqin Baohua Road No. 6, room 105 -478

Patentee after: Guangdong Zhongxing Electronics Co.,Ltd.

Address before: 100081, 5 floor, Haidian science and technology building, 3 South Avenue, Beijing, Zhongguancun

Patentee before: VIMICRO Corp.

DD01 Delivery of document by public notice

Addressee: Guangdong Zhongxing Electronics Co.,Ltd.

Document name: Notification of Passing Examination on Formalities

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20050629

DD01 Delivery of document by public notice

Addressee: Shen Yingming

Document name: Notice of expiration and termination of patent right

DD01 Delivery of document by public notice