[go: up one dir, main page]

CN1567371A - The Method of Reducing Image Noise and Strengthening Edge in Digital Camera - Google Patents

The Method of Reducing Image Noise and Strengthening Edge in Digital Camera Download PDF

Info

Publication number
CN1567371A
CN1567371A CNA031425488A CN03142548A CN1567371A CN 1567371 A CN1567371 A CN 1567371A CN A031425488 A CNA031425488 A CN A031425488A CN 03142548 A CN03142548 A CN 03142548A CN 1567371 A CN1567371 A CN 1567371A
Authority
CN
China
Prior art keywords
value
current pixel
edge
reference value
image noise
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
Application number
CNA031425488A
Other languages
Chinese (zh)
Other versions
CN1310189C (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.)
Kinpo Electronics Inc
Original Assignee
Kinpo Electronics Inc
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 Kinpo Electronics Inc filed Critical Kinpo Electronics Inc
Priority to CNB031425488A priority Critical patent/CN1310189C/en
Publication of CN1567371A publication Critical patent/CN1567371A/en
Application granted granted Critical
Publication of CN1310189C publication Critical patent/CN1310189C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention relates to a method for reducing image noise and strengthening edges in a digital camera, which comprises the following steps: calculating the brightness difference between a current pixel and the adjacent pixels of each current pixel to obtain a plurality of brightness difference values; selecting a minimum brightness difference value from the brightness difference values; calculating an edge enhancement value of the current pixel; selecting the smaller of the minimum brightness difference value and the edge enhancement value as a comparison reference value; when the comparison reference value is smaller than a selected threshold reference value, performing image noise reduction calculation; the calculation of the strengthened edge is performed when the comparison reference value is not less than the critical reference value. The method comprises calculating the edge enhancement value of the current pixel and the minimum brightness difference between the current pixel and the adjacent pixel, selecting the smaller one as the comparison reference value, and comparing with the set critical reference value to determine whether to perform the calculation for reducing image noise or to perform the calculation for enhancing the edge, thereby reducing the image noise of the shot picture, enhancing the image edge, and further improving the image quality of the digital camera.

Description

Reduce the method at image incidental information and reinforcement edge in the digital still camera
Technical field
The present invention relates to the digital image treatment technology of the digital still camera in a kind of instrument field camera or the equipment, particularly relate to the image incidental information that a kind of one side can lower captured photograph, also the detail section of image can be strengthened simultaneously on the other hand, and the method that reduces image incidental information in the digital still camera of quality of digital still camera image and strengthen the edge can be further promoted.
Background technology
In recent years, along with significantly improving of numerical digit science and technology, add the high development of world-wide web and multimedia technology, many images are all wished to be converted to digital image and are handled.So, utilize digital still camera (Digital Camera) directly to capture scene in kind, and capture image on file or the picture with optical scanner (OpticalScanner), and be converted into digital image data output, be beneficial to the user on computing machine or other electronic product, carry out the actions such as demonstration, identification (0CR), editor, storage and output of digital image archives.
Owing to use digital still camera directly to capture scene in kind, camera compared to the conventional apparatus egative film, except using the numerical digit mode stores and edit, more because the development rapidly of electronics technology, make that its capacity that can take is more and more big, the image quality of its shooting is also more and more exquisite, and its price is also popularized day by day.Therefore, digital still camera is existing recently replaces traditional camera gradually, and is the generally accepted trend of user.
In order to satisfy the demand of user, in digital still camera, must utilization for example be to reduce various digital image treatment technologies such as image incidental information and reinforcement edge also, with the quality of the captured image of further lifting digital still camera for image quality.
This shows that above-mentioned existing digital still camera still has many defectives, and demands urgently further being improved.
In order to solve the defective of existing digital still camera, relevant manufacturer there's no one who doesn't or isn't seeks the road that solves painstakingly, but does not see always that for a long time suitable design finished by development, and this obviously is the problem that the anxious desire of relevant dealer solves.
Because the defective that above-mentioned existing digital still camera exists, the inventor is based on being engaged in this type of product design manufacturing abundant for many years practical experience and professional knowledge, actively studied innovation, in the hope of founding the method that reduces image incidental information in a kind of digital still camera and strengthen the edge, can improve general existing on the market conventional digital still camera, make it have more practicality.Through constantly research, design, and after studying sample and improvement repeatedly, create the present invention who has practical value finally.
Summary of the invention
Fundamental purpose of the present invention is, overcome the defective that existing digital still camera exists, and the method that reduces image incidental information and strengthen the edge is provided in a kind of digital still camera, technical problem underlying to be solved is to make its median filter that can improve digital still camera (Media Filter), make it can lower the image incidental information of captured photograph on the one hand, also can strengthen the detail section of image simultaneously on the other hand, and can further promote the quality of digital still camera image, thereby be suitable for practicality more.
Purpose of the present invention and to solve its technical problem underlying be to adopt following technical scheme to realize.According to the method that reduces image incidental information and reinforcement edge in a kind of digital still camera of the present invention's proposition, be applicable to a digital still camera, it may further comprise the steps: calculate the luminance difference between the neighborhood pixels of a current pixel and each this current pixel, to obtain a plurality of luminance difference; In those luminance difference, choose a minimum brightness difference; Calculate an edge reinforcement value of this current pixel; Choose the smaller of this minimum brightness difference and this edge reinforcement value, as a benchmark value; When this benchmark value during, carry out the calculating that reduces image incidental information less than a selected critical reference value; And when this benchmark value is not less than this critical reference value, carry out the calculating of strengthening the edge.
The object of the invention to solve the technical problems can also be further achieved by the following technical measures.
The method at aforesaid reduction image incidental information and reinforcement edge, wherein said execution reduces the step of the calculating of image incidental information, comprises the following steps: the size according to brightness value, the neighborhood pixels of sort this current pixel and this current pixel; And the intermediate value after selecting to sort, replace this current pixel.
Aforesaid reduction image incidental information and strengthen the method at edge, the step of the calculating at edge is strengthened in wherein said execution, is that the brightness value with this current pixel adds this edge reinforcement value.
The method at aforesaid reduction image incidental information and reinforcement edge, an edge reinforcement value of wherein said this current pixel of calculating is with one 3 * 3 Hi-pass filter arrays, calculates this edge reinforcement value of this current pixel.
The method at aforesaid reduction image incidental information and reinforcement edge, an edge reinforcement value of wherein said this current pixel of calculating is with one 5 * 5 Hi-pass filter arrays, calculates this edge reinforcement value of this current pixel.
The method at aforesaid reduction image incidental information and reinforcement edge, wherein said this selected critical reference value is 15.
The present invention compared with prior art has tangible advantage and beneficial effect.By above technical scheme as can be known, in order to reach aforementioned goal of the invention, major technique of the present invention thes contents are as follows:
The invention provides a kind of method that reduces image incidental information and strengthen the edge, it is applicable to digital still camera, with the quality of the image that promotes digital still camera.This reduction image incidental information and the method for strengthening the edge comprise the following steps: at first to calculate current pixel in just handling and the luminance difference between each its neighborhood pixels, to obtain a plurality of luminance difference; In the luminance difference that obtains, choose its minimum brightness difference again; And (Edge Enhancement) value is strengthened at an edge that calculates current pixel; Choose smaller in its minimum brightness difference and the edge reinforcement value of calculating gained then, as a benchmark value; When benchmark value during, carry out the calculating that reduces image incidental information less than selected critical reference value; And when the benchmark value is not less than the critical reference value, then carry out the calculating of strengthening the edge.
Wherein, carrying out the step of the calculating that reduces image incidental information, is to finish with the following step: according to the size of brightness value, current pixel and its neighborhood pixels sort earlier; Intermediate value after selecting again to sort is to replace the current pixel in just handling.
Wherein, carrying out the step of the calculating of strengthening the edge, is the edge reinforcement value that the brightness value of the current pixel in just handling is added the calculating gained.
Wherein, can use one 3 * 3 Hi-pass filter arrays, calculate the edge reinforcement value of the current pixel in just handling.Can also use one 5 * 5 Hi-pass filter arrays, calculate the edge reinforcement value of the current pixel in just handling.
Wherein,, and can select 15 value, should carrying out the calculating that reduces image incidental information, or carry out the critical reference value of the calculating of strengthening the edge as judging according to the generalized case of digital still camera.
By in the above-mentioned explanation as can be known, with a kind of method that reduces image incidental information and strengthen the edge provided by the present invention, be applied in the digital still camera, can make it can lower the image incidental information of captured photograph on the one hand, also the detail section of image can be strengthened simultaneously on the other hand, and the image quality of digital still camera can be further promoted.
In sum, reduce the method at image incidental information and reinforcement edge in the special digital still camera that the present invention proposes, be at first calculate current pixel edge reinforcement value and with the minimum brightness difference of neighborhood pixels, choose smaller wherein again, as a benchmark value, to make comparisons with the critical reference value of setting, judge and to carry out the calculating that reduces image incidental information, or the calculating at edge is strengthened in execution, can improve the median filter (Media Filter) of digital still camera, make it can lower the image incidental information of captured photograph on the one hand, the detail section of image is promptly strengthened at the edge that also can strengthen image on the other hand simultaneously, and can further promote the quality of digital still camera image, thereby be suitable for practicality more.It has above-mentioned many advantages and practical value, on method, really belong to innovation, multinomial effect with enhancement, extensive value with industry no matter bigger improvement is all being arranged on the method or on the function, and is had large improvement technically, and produced handy and practical effect, and have the effect of enhancement really, thus be suitable for practicality more, really be a new and innovative, progressive, practical new design.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, below with preferred embodiment of the present invention and conjunction with figs. describe in detail as after.
Description of drawings
Fig. 1 is the synoptic diagram that shows current pixel and neighborhood pixels relation.
Fig. 2 is a kind of method flow diagram that reduces image incidental information and strengthen the edge of the preferred embodiment according to the present invention.
Fig. 3 is the Hi-pass filter array synoptic diagram at the selected extraction edge of the preferred embodiment according to the present invention.
Graphic sign explanation:
S200~S245 method step
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment, reduce image incidental information in the digital still camera that foundation the present invention is proposed and strengthen its concrete grammar of method, step, feature and the effect thereof at edge, describe in detail as after.
See also Fig. 1, shown in Figure 2, Fig. 1 is the synoptic diagram that shows current pixel and neighborhood pixels relation, and Fig. 2 is a kind of method flow diagram that reduces image incidental information and strengthen the edge of the preferred embodiment according to the present invention.
As shown in the figure, at the digital still camera that is applicable to provided by the present invention, reduce image incidental information and strengthen in the explanation of method at edge with the image quality that promotes digital still camera a kind of, be that current pixel (current pixel) in supposing just to handle is P (i, j), and current pixel P (i, neighborhood pixels j) then comprise P (i-1, j-1), P (i, j-1), P (i+1, j-1), P (i-1, j), P (i+1, j), P (i-1, j+1), P (i, j+1) and P (i+1 j+1) waits totally 8 pixels, that is can gather P (m, n); (m, n)<〉(i, j), m=i+1, i, i-1, n=j+1, j, j-1} represents.
See also shown in Figure 2, reduce the method at image incidental information and reinforcement edge in the digital still camera of preferred embodiment of the present invention, it mainly may further comprise the steps: when flow process is begun by the S200 step, at first enter the S205 step, (i is j) with each its neighborhood pixels P (m for the current pixel P in just handling with calculating, n) the luminance difference d (m between, n), and obtain the set D of a plurality of luminance difference, that is set D can be expressed as:
D={d(m,n)|ABS[P(i,j)-P(m,n)];(m,n)<>(i,j),m=i+1,i,i-1,n=j+1,j,j-1}
Its signed magnitude arithmetic(al) is got in ABS representative wherein.
In the S205 step, calculate the current pixel P (i in just handling, j) with each its neighborhood pixels P (m, n) the luminance difference d (m between, n), and after obtaining the set D of a plurality of luminance difference, just enter the step of S210, among the set D with the luminance difference that obtains certainly, choose its minimum brightness difference Dmin.Enter the S215 step then, with calculate current pixel P (i, edge reinforcement value Edge_P j) (i, j).
Current pixel P (i, j) edge reinforcement value Edge_P (i, j) computing method, must be earlier selected in order to current pixel P (i, j) and neighborhood pixels P (m, n) etc. carry out the Hi-pass filter array of corresponding sum of products, this Hi-pass filter array can be one 3 * 3 Hi-pass filter arrays or one 5 * 5 Hi-pass filter arrays.In the present embodiment, be selected as shown in Figure 3 in order to extract 3 * 3 Hi-pass filter arrays at edge out.Wherein, the value of H11, H13, H31 and H33 is 0, and the value of H21, H12, H32 and H23 is-1, and the value of H22 then is 4.Use this one 3 * 3 Hi-pass filter array to calculate, can obtain edge reinforcement value Edge_P (i, j) as shown in the formula:
Edge_P(i,j)=[4*P(i,j)-P(i,j-1)-P(i-1,j)-P(i+1,j)-P(i,j+1)]
Obtaining minimum brightness difference Dmin and edge reinforcement value Edge_P (i, j) after, just can enter the S220 step, with from minimum brightness difference Dmin and edge reinforcement value Edge_P (i, j) choose its smaller in, be used as judging and carry out the calculating that reduces image incidental information, or carry out the benchmark value T that strengthens edge calculations.
Then, in the S225 step, with this benchmark value T with according to the generalized case of digital still camera, and selected critical reference value Threshold_Noise makes comparisons.In this embodiment, be selected 15 should carrying out the calculating that reduces image incidental information, or carry out the critical reference value Threshold_Noise that strengthens edge calculations as judging.
The S225 step with benchmark value T and critical reference value Threshold_Noise relatively after, as benchmark value T during, just enter the S230 step, to carry out the calculating that reduces image incidental information less than selected critical reference value Threshold_Noise.Wherein, the size in S230 step meeting elder generation according to brightness value, the ascending current pixel P (i that sorts, j) with its neighborhood pixels P (m, n) etc. pixel enters the S235 step then, to select the intermediate value after the ordering, replace current pixel P in just handling (i, j).
Otherwise, when benchmark value T is not less than critical reference value Threshold_Noise, then enter the s240 step, to carry out the calculating of strengthening the edge.Wherein, be with the current pixel P in just handling (i, brightness value j) add the edge reinforcement value Edge_P that calculates gained (i, j), replace current pixel P in just handling (i, j), that is P (i, j)=P (i, j)+Edge_P (i, j).Then, just enter the S245 step, carrying out the processing of next pixel, and arrive the reduction noise of finishing whole image and the processing of strengthening the edge.
The above, it only is preferred embodiment of the present invention, be not that the present invention is done any pro forma restriction, though the present invention discloses as above with preferred embodiment, yet be not in order to limit the present invention, any those skilled in the art, in not breaking away from the technical solution of the present invention scope, when the method that can utilize above-mentioned announcement and technology contents are made a little change or be modified to the equivalent embodiment of equivalent variations, but every content that does not break away from technical solution of the present invention, according to technical spirit of the present invention to any simple modification that above embodiment did, equivalent variations and modification all still belong in the scope of technical solution of the present invention.

Claims (6)

1、一种数位相机中降低影像杂讯及加强边缘的方法,适用于一数位相机,其特征在于其包括以下步骤:1. A method for reducing image noise and enhancing edges in a digital camera, suitable for a digital camera, characterized in that it comprises the following steps: 计算一目前像素与每一该目前像素的邻近像素间的亮度差,以获得复数个亮度差值;calculating the luminance difference between a current pixel and each adjacent pixel of the current pixel to obtain a plurality of luminance difference values; 自该些亮度差值中,选取一最小亮度差值;Selecting a minimum brightness difference from the brightness differences; 计算该目前像素的一边缘加强值;calculating an edge enhancement value of the current pixel; 选取该最小亮度差值与该边缘加强值的较小者,作为一比较基准值;Selecting the smaller of the minimum brightness difference value and the edge enhancement value as a comparison reference value; 当该比较基准值小于选定的一临界参考值时,执行降低影像杂讯的计算;以及When the comparison reference value is less than a selected critical reference value, performing calculations for reducing image noise; and 当该比较基准值不小于该临界参考值时,执行加强边缘的计算。When the comparison reference value is not less than the critical reference value, the calculation of strengthening the edge is performed. 2、根据权利要求1所述的降低影像杂讯及加强边缘的方法,其特征在于其中所述的执行降低影像杂讯的计算的步骤,包括下列步骤:2. The method for reducing image noise and enhancing edges according to claim 1, wherein said step of performing calculations for reducing image noise includes the following steps: 依亮度值的大小,来排序该目前像素与该目前像素的邻近像素;以及Sort the current pixel and the neighboring pixels of the current pixel according to the brightness value; and 选择排序后的中间值,来取代该目前像素。Select the sorted middle value to replace the current pixel. 3、根据权利要求1所述的降低影像杂讯及加强边缘的方法,其特征在于其中所述的执行加强边缘的计算的步骤,是将该目前像素的亮度值加上该边缘加强值。3. The method for reducing image noise and enhancing edges according to claim 1, wherein said step of performing the calculation of edge enhancement is to add the edge enhancement value to the brightness value of the current pixel. 4、根据权利要求1所述的降低影像杂讯及加强边缘的方法,其特征在于其中所述的计算该目前像素的一边缘加强值,是以一3×3高通滤波器数组,来计算该目前像素的该边缘加强值。4. The method for reducing image noise and enhancing edges according to claim 1, wherein said calculation of an edge enhancement value of the current pixel uses a 3×3 high-pass filter array to calculate the The edge enhancement value of the current pixel. 5、根据权利要求1所述的降低影像杂讯及加强边缘的方法,其特征在于其中所述的计算该目前像素的一边缘加强值,是以一5×5高通滤波器数组,来计算该目前像素的该边缘加强值。5. The method for reducing image noise and enhancing edges according to claim 1, wherein said calculation of an edge enhancement value of the current pixel uses a 5×5 high-pass filter array to calculate the The edge enhancement value of the current pixel. 6、根据权利要求1所述的降低影像杂讯及加强边缘的方法,其特征在于其中所述的选定的该临界参考值为15。6. The method for reducing image noise and enhancing edges according to claim 1, wherein the selected critical reference value is 15.
CNB031425488A 2003-06-13 2003-06-13 The Method of Reducing Image Noise and Strengthening Edge in Digital Camera Expired - Fee Related CN1310189C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031425488A CN1310189C (en) 2003-06-13 2003-06-13 The Method of Reducing Image Noise and Strengthening Edge in Digital Camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031425488A CN1310189C (en) 2003-06-13 2003-06-13 The Method of Reducing Image Noise and Strengthening Edge in Digital Camera

Publications (2)

Publication Number Publication Date
CN1567371A true CN1567371A (en) 2005-01-19
CN1310189C CN1310189C (en) 2007-04-11

Family

ID=34471135

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031425488A Expired - Fee Related CN1310189C (en) 2003-06-13 2003-06-13 The Method of Reducing Image Noise and Strengthening Edge in Digital Camera

Country Status (1)

Country Link
CN (1) CN1310189C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100594719C (en) * 2005-10-21 2010-03-17 广达电脑股份有限公司 Image edge enhancement device and method
CN101155248B (en) * 2006-09-26 2011-07-13 富士通株式会社 Image processing apparatus, image processing method, and computer product
CN101807388B (en) * 2009-02-16 2012-02-29 致伸科技股份有限公司 Method and related device for determining brightness critical values of image areas
CN101978681B (en) * 2008-03-18 2012-12-26 富士通株式会社 Image correction apparatus and image correction method
TWI582415B (en) * 2014-06-19 2017-05-11 斯克林集團公司 Image processing apparatus, image acquiring apparatus, image processing method, and image acquiring method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3095140B2 (en) * 1997-03-10 2000-10-03 三星電子株式会社 One-dimensional signal adaptive filter and filtering method for reducing blocking effect
JP3925588B2 (en) * 1997-11-25 2007-06-06 セイコーエプソン株式会社 Image processing apparatus, image processing method, and medium on which image processing control program is recorded

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100594719C (en) * 2005-10-21 2010-03-17 广达电脑股份有限公司 Image edge enhancement device and method
CN101155248B (en) * 2006-09-26 2011-07-13 富士通株式会社 Image processing apparatus, image processing method, and computer product
CN101978681B (en) * 2008-03-18 2012-12-26 富士通株式会社 Image correction apparatus and image correction method
CN101807388B (en) * 2009-02-16 2012-02-29 致伸科技股份有限公司 Method and related device for determining brightness critical values of image areas
TWI582415B (en) * 2014-06-19 2017-05-11 斯克林集團公司 Image processing apparatus, image acquiring apparatus, image processing method, and image acquiring method

Also Published As

Publication number Publication date
CN1310189C (en) 2007-04-11

Similar Documents

Publication Publication Date Title
CN1300744C (en) Method and system for automatically correcting underexposure defects in digital images
CN111223083B (en) Construction method, system, device and medium of surface scratch detection neural network
CN112418087B (en) A Neural Network-Based Fish Recognition Method in Underwater Video
CN115937216B (en) A method for detecting the appearance quality of magnetic rotors for new energy vehicles
CN106210712A (en) A kind of dead pixel points of images detection and processing method
WO2022041865A1 (en) Automatic image matting method and apparatus employing computation on multiple background colors
CN100337473C (en) Panorama composing method for motion video
CN1150769C (en) Static image generation method and device
CN112085017A (en) Tea tender shoot image segmentation method based on significance detection and Grabcut algorithm
CN109034230A (en) A kind of single image camera source tracing method based on deep learning
CN1567371A (en) The Method of Reducing Image Noise and Strengthening Edge in Digital Camera
CN1658667A (en) Image edge smoothing system and method based on directional interpolation
CN100341313C (en) How to determine the color composition of an image
WO2009097423A1 (en) Digital signal pattern detection and classification using kernel fusion
CN1193618C (en) Pre-processing method for motion estimation
CN113286142B (en) Artificial intelligence-based image imaging sensitivity prediction method and system
CN1901679A (en) Method for information selecting and dividing based on micro block inner edge
CN1790378A (en) Binary method and system for image
CN119832182A (en) Data center Building Information Model (BIM) dynamic coupling generation method based on multi-mode data
CN109859145B (en) Image de-texturing method based on multi-level weight relative total variation
CN114862709B (en) Image enhancement method, device and storage medium
WO2024114432A1 (en) Sample adaptive offset method and device in video coding
CN119068362A (en) A remote sensing image semantic segmentation method based on semantic-driven and graph convolution knowledge distillation
CN116634147A (en) HEVC-SCC Intra CU Fast Partitioning and Coding Method and Device Based on Multi-Scale Feature Fusion
CN116758051A (en) Glass surface defect detection method and equipment based on artificial intelligence image recognition

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070411

Termination date: 20150613

EXPY Termination of patent right or utility model