CN101119502B - Image processing device and image processing method - Google Patents

Image processing device and image processing method Download PDF

Info

Publication number
CN101119502B
CN101119502B CN2007101205988A CN200710120598A CN101119502B CN 101119502 B CN101119502 B CN 101119502B CN 2007101205988 A CN2007101205988 A CN 2007101205988A CN 200710120598 A CN200710120598 A CN 200710120598A CN 101119502 B CN101119502 B CN 101119502B
Authority
CN
China
Prior art keywords
pixel
value
bad
digital gain
point
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
CN2007101205988A
Other languages
Chinese (zh)
Other versions
CN101119502A (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.)
Mid Star Technology Ltd By Share 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 CN2007101205988A priority Critical patent/CN101119502B/en
Publication of CN101119502A publication Critical patent/CN101119502A/en
Application granted granted Critical
Publication of CN101119502B publication Critical patent/CN101119502B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention discloses an image processing device which comprises a dead detecting module, a dead compensating module, a digital gain adjusting module and a digital gain module. The digital gain adjusting module is used for determining the digital gain value and sending the value to the digital gain module and dead detecting module. The dead detecting module is used for using the ratio ofthe threshold constant and the digital gain value as a dead detecting threshold and detects the dead on each pixel that is defined as a dead according to the surrounding pixel. The dead compensatingmodule is used for compensating the dead on each pixel that is thought as dead according to the surrounding pixel. The digital gain module enlarges each pixel according to the digital gain value afterdetecting the dead.

Description

Image processing apparatus and method
Technical field
The present invention relates to image processing field, relate in particular to image processing apparatus and method that bad point detects.
Technical background
In image processing process, run into the problem that bad point detects through regular meeting.In general, the generation of bad point all is that the corresponding photosensitive pixel in the imageing sensor is out of joint, such as when an imageing sensor generates image, no matter the external environment condition value that how to change some pixel in the image of generation always remains unchanged, this just shows that the corresponding photosensitive pixel of described imageing sensor is bad point (dead pixel), and pixel corresponding in the image is also referred to as bad point.Also have some bad points more hidden in addition, though that be exactly its pixel value along with the variation of environment its size of conversion because the problem of the photosensitive pixel of its imageing sensor itself makes its pixel value may be bigger or slightly little slightly than standard value.These bad points are detected as bad point owing to its influence than conference under situation about having, and not quite and not can be detected as bad point owing to its influence in some cases.
Dead pixel detection method generally is that each pixel is compared with pixel on every side, and the difference of its value is then thought this bad point of pixel greater than a bad some threshold value (dpd_threshold).After bad point detects, follow-uply also need to carry out other processing, wherein just comprise the processing that image is gained and amplifies, the gain amplification here is a step in the automatic exposure process, after finishing, each automatic exposure all needs to generate a time for exposure parameter and digital gain parameter, wherein imageing sensor is exposed, with the digital gain parameter whole the image that generates carried out digital gain and amplify with the automatic exposure parameter value.Carrying out after the gain process, originally is not the pixel of bad point in the image, may just become the bad point that influences picture quality.
And in the image processing flow process, bad point detects preceding, multiply by digital gain after, and the value of bad some threshold value (dpd_threshold) is constant forever.Like this when detecting bad point, the bad point that those are slight, owing to be not more than with the difference of surrounding pixel point and badly put threshold value and do not detect, if this moment, the brightness of image did not need multiply by digital gain (digital gain) when being digital gain=1, these slight bad points are difficult for being discovered.But if be in a darker environment this moment, image will multiply by digital gain and improve brightness, and this moment, these slight bad points and the difference between the surrounding pixel point will be strengthened, and will see that tangible bad point is arranged on the screen.
Summary of the invention
In view of this, one object of the present invention is to provide a kind of image processing apparatus, and they can adaptive all bad points that detect.
Another object of the present invention is to provide a kind of image processing method, and they can adaptive all bad points that detect.
In order to achieve the above object, the image processing apparatus that provides according to an aspect of the present invention, it comprises that bad point detects module, compensating bad point module, digital gain adjusting module and digital gain module.Described digital gain adjusting module is used for determining the value of digital gain and sends it to digital gain module and bad some detection module.Described bad point detects module, is used for the ratio of threshold constant and described digital gain value is detected threshold value as bad point, and according to the pixel value and the bad some detection threshold value of surrounding pixel point each pixel is gone bad some detection.Described compensating bad point module is used for according to the pixel value of surrounding pixel point the pixel that is identified as bad point being carried out compensating bad point.Described digital gain module, go bad a little detect the back according to described digital gain value to the amplification that gains of each pixel.
Further, when coming the remarked pixel value with 0~255 number range, the span of threshold constant is [28,35].
Further, described threshold constant is 32.
Further, after each automatic exposure program locking, digital gain adjusting module all can redefine a digital gain value.
Further, the span of described digital gain is [1,3].
Further, the absolute value of pixel value that detects threshold value and current pixel point and vertical lower pixel greater than bad point at the absolute value of the pixel value of current pixel point and vertical direction pixel is during greater than bad some detection threshold value, or the absolute value of pixel value that detects threshold value and current pixel point and the right-hand pixel of level greater than bad point at the absolute value of the pixel value of current pixel point and horizontal left pixel is during greater than bad some detection threshold value, and the identification current pixel point is a bad point.
Further, concrete dead pixel compensation method is: the pixel value summation back of the pixel of the upper and lower, left and right that will badly put is average, gives described bad point with the mean value assignment.
A kind of image processing method that provides according to an aspect of the present invention, it comprises: step 100, determine digital gain value; Step 200 detects threshold value with the ratio of threshold constant and described digital gain value as bad point, detects a threshold value according to the pixel value of surrounding pixel point and bad point each pixel is gone bad some detection; Step 300 is carried out compensating bad point according to the pixel value of surrounding pixel point to the pixel that is identified as bad point; Step 400, bad point detect the back according to described digital gain value to the amplification that gains of each pixel.
Further, after each automatic exposure program locking, in step 100, all to redefine a digital gain value.
Further, when coming the remarked pixel value with 0~255 number range, threshold constant is 32.
Like this, in the technical scheme that the present invention proposes, the bad some threshold value (dpd_threshold) that bad point is detected associates with digital gain (digital gain), and the value of digital gain is big more, the value of bad some threshold value is more little, so just can adaptively detect all bad points.
Description of drawings
Fig. 1 is the structured flowchart of an embodiment of image processing apparatus of the present invention;
Fig. 2 is the flow chart of an embodiment of image processing method of the present invention.
Embodiment
Below in conjunction with Figure of description the specific embodiment of the present invention is described.
In the technical scheme that the present invention proposes, the bad some threshold value (dpd_threshold) that bad point is detected associates with digital gain (digital gain), the value of digital gain is big more, and the value of bad some threshold value is more little, so just can adaptively detect all bad points.
Please refer to shown in Figure 1ly, it shows the block diagram of an embodiment of image processing apparatus of the present invention, and described image processing apparatus comprises that bad point detects a module 10, compensating bad point module 20, digital gain adjusting module 30 and digital gain module 40.
A described badly detection module 10 is used for according to the pixel value and the bad some detection threshold value (dpd_threshold) of surrounding pixel point each pixel being gone bad some detection, concrete bad some detection mode can be: the absolute value of pixel value that detects threshold value and current pixel point and vertical lower pixel greater than bad point at the absolute value of the pixel value of current pixel point and vertical direction pixel is during greater than bad some detection threshold value, or the absolute value of pixel value that detects threshold value and current pixel point and the right-hand pixel of level greater than bad point at the absolute value of the pixel value of current pixel point and horizontal left pixel is during greater than bad some detection threshold value, and the identification current pixel point is a bad point.Certainly, the mode that detects of bad point can also adopt other any ways known to the those of ordinary skill.Described bad point detects threshold value and can obtain according to a threshold constant, and this threshold constant can obtain through testing repeatedly, and when the pixel value of representing with 0~255 number range, the span of threshold constant can be [28,35], and its best value is 32.
Described compensating bad point module 20 is used for according to the surrounding pixel point pixel that is identified as bad point being carried out compensating bad point, concrete dead pixel compensation method can be: the pixel value summation back of the pixel of the upper and lower, left and right that will badly put is average, gives described bad point with the mean value assignment.Certainly, dead pixel compensation method can also adopt other any ways known to the those of ordinary skill.In addition, not being identified as badly, the pixel of point just directly passes through the described digital gain module 40 of compensating bad point module 20 arrival.
Described digital gain adjusting module 30 is used for determining the value of digital gain (digital gain) and sends it to digital gain module 40 and bad some detection module 20, the span of described digital gain can be [1,3], described bad point detects module 20 ratio of threshold constant and described digital gain value is detected threshold value as bad point, described digital gain module 40 after go bad a little detection according to described digital gain value to the amplification that gains of each pixel.Wherein, after each automatic exposure program locking, digital gain adjusting module 30 all will redefine a digital gain value and send to digital gain module 40 and bad some detection module 20, has so just guaranteed that described bad point detects the variation that threshold value is followed digital gain value.
Like this, bad some threshold value dpd_threshold and digital gain (digital gain) that bad point is detected associate, and the value of digital gain is big more, and the value of bad some threshold value dpd_threshold should be more little, so just can adaptively detect all bad points.
It should be noted that, also may have additional other image processing modules at bad between detection module, compensating bad point module and digital gain module, bad some detection module, compensating bad point module and the digital gain module that therefore can not limit among the present invention must be linked in sequence successively.
Please refer to shown in Figure 2ly, it shows the schematic flow sheet of an embodiment of image processing method of the present invention, and this method comprises the steps.
Step 100 is determined digital gain and is sent to digital gain module 40 and bad some detection module 20.
Step 200 detects threshold value with the ratio of threshold constant and described digital gain value as bad point, and described bad point detects module 10 and detects a threshold value according to the pixel value of surrounding pixel point and bad point each pixel is gone bad some detection.
Step 300, described compensating bad point module is carried out compensating bad point according to the pixel value of surrounding pixel point to the pixel that is identified as bad point, and the pixel that is not identified as bad point is just directly by compensating bad point module 20.
Step 400, described digital gain module 40 bad point detect the back according to described digital gain value to the amplification that gains of each pixel.
After each automatic exposure program locking, in step 100, all to redefine a digital gain value, so just guaranteed that described bad point detects the real-time change that threshold value is followed digital gain value.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement etc., all should be included within protection scope of the present invention.

Claims (10)

1. image processing apparatus, it comprises that bad point detects a module, compensating bad point module, digital gain adjusting module and digital gain module,
Described digital gain adjusting module is used for determining the value of digital gain and sends it to digital gain module and bad some detection module;
Described bad point detects module, is used for the ratio of threshold constant and described digital gain value is detected threshold value as bad point, and according to the pixel value and the bad some detection threshold value of surrounding pixel point each pixel is gone bad some detection;
Described compensating bad point module is used for according to the pixel value of surrounding pixel point the pixel that is identified as bad point being carried out compensating bad point;
Described digital gain module, go bad a little detect the back according to described digital gain value to the amplification that gains of each pixel.
2. image processing apparatus as claimed in claim 1 is characterized in that, when coming the remarked pixel value with 0~255 number range, the span of threshold constant is [28,35].
3. image processing apparatus as claimed in claim 1 is characterized in that, described threshold constant is 32.
4. image processing apparatus as claimed in claim 1 is characterized in that, after each automatic exposure program locking, digital gain adjusting module all can redefine a digital gain value.
5. image processing apparatus as claimed in claim 1 is characterized in that, the span of described digital gain is [1,3].
6. image processing apparatus as claimed in claim 1, it is characterized in that, the absolute value of pixel value that detects threshold value and current pixel point and vertical lower pixel greater than bad point at the absolute value of the pixel value of current pixel point and vertical direction pixel is during greater than bad some detection threshold value, or the absolute value of pixel value that detects threshold value and current pixel point and the right-hand pixel of level greater than bad point at the absolute value of the pixel value of current pixel point and horizontal left pixel is during greater than bad some detection threshold value, and the identification current pixel point is a bad point.
7. image processing apparatus as claimed in claim 1 is characterized in that, concrete dead pixel compensation method is: the pixel value summation back of the pixel of the upper and lower, left and right that will badly put is average, gives described bad point with the mean value assignment.
8. image processing method is characterized in that it comprises:
Step 100 is determined digital gain value;
Step 200 detects threshold value with the ratio of threshold constant and described digital gain value as bad point, detects a threshold value according to the pixel value of surrounding pixel point and bad point each pixel is gone bad some detection;
Step 300 is carried out compensating bad point according to the pixel value of surrounding pixel point to the pixel that is identified as bad point;
Step 400, bad point detect the back according to described digital gain value to the amplification that gains of each pixel.
9. image processing method as claimed in claim 8 is characterized in that, after each automatic exposure program locking, all will redefine a digital gain value in step 100.
10. image processing method as claimed in claim 8 is characterized in that, when coming the remarked pixel value with 0~255 number range, threshold constant is 32.
CN2007101205988A 2007-08-22 2007-08-22 Image processing device and image processing method Active CN101119502B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101205988A CN101119502B (en) 2007-08-22 2007-08-22 Image processing device and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101205988A CN101119502B (en) 2007-08-22 2007-08-22 Image processing device and image processing method

Publications (2)

Publication Number Publication Date
CN101119502A CN101119502A (en) 2008-02-06
CN101119502B true CN101119502B (en) 2010-06-16

Family

ID=39055395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101205988A Active CN101119502B (en) 2007-08-22 2007-08-22 Image processing device and image processing method

Country Status (1)

Country Link
CN (1) CN101119502B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107087153A (en) * 2017-04-05 2017-08-22 深圳市冠旭电子股份有限公司 3D rendering generation method, device and VR equipment

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242542B (en) * 2008-02-26 2010-04-21 北京中星微电子有限公司 An image detection method and device
CN101729764B (en) * 2008-10-13 2012-05-23 慧国(上海)软件科技有限公司 Shooting device and dead pixel compensation method for image sensor
CN101715050B (en) * 2009-11-20 2014-07-09 北京中星微电子有限公司 Method and system for detecting dead pixels of image sensor
CN104935838B (en) * 2015-06-04 2018-04-06 上海集成电路研发中心有限公司 A kind of method of image restoring
CN105163114A (en) * 2015-08-21 2015-12-16 深圳创维-Rgb电子有限公司 Method and system for detecting screen dead pixel based on camera
CN106412542A (en) * 2016-02-03 2017-02-15 周彩章 Image processing method and system
CN106022329B (en) * 2016-05-12 2019-09-20 福建南威软件有限公司 A kind of character noise reduction process method in character recognition process
CN107016669B (en) * 2017-03-27 2019-08-23 福州瑞芯微电子股份有限公司 A kind of dead pixel points of images detection method and device
CN108965749B (en) * 2018-08-16 2021-02-26 思特威(上海)电子科技有限公司 Defect pixel detection and correction device and method based on texture recognition
CN109887461B (en) * 2019-03-29 2020-12-25 京东方科技集团股份有限公司 Display device and display method
CN110288599B (en) * 2019-07-10 2021-06-15 浙江大华技术股份有限公司 Dead pixel detection method and device, electronic equipment and storage medium
CN110891172B (en) * 2019-12-31 2021-07-16 上海富瀚微电子股份有限公司 Dead pixel detection and correction device
CN112656435A (en) * 2020-12-21 2021-04-16 明峰医疗系统股份有限公司 Method for automatically detecting detector dead pixel

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6943919B1 (en) * 2000-06-29 2005-09-13 Eastman Kodak Company Method and apparatus for correcting defects in a spatial light modulator based printing system
CN1672403A (en) * 2002-06-10 2005-09-21 索尼株式会社 Digital still camera apparatus, video camera apparatus, and information terminal apparatus
CN1717006A (en) * 2004-06-29 2006-01-04 三星电子株式会社 Be used for improving the equipment and the method for picture quality at imageing sensor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6943919B1 (en) * 2000-06-29 2005-09-13 Eastman Kodak Company Method and apparatus for correcting defects in a spatial light modulator based printing system
CN1672403A (en) * 2002-06-10 2005-09-21 索尼株式会社 Digital still camera apparatus, video camera apparatus, and information terminal apparatus
CN1717006A (en) * 2004-06-29 2006-01-04 三星电子株式会社 Be used for improving the equipment and the method for picture quality at imageing sensor

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JP特开2005-318642A 2005.11.10
JP特开2006-340173A 2006.12.14

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107087153A (en) * 2017-04-05 2017-08-22 深圳市冠旭电子股份有限公司 3D rendering generation method, device and VR equipment
CN107087153B (en) * 2017-04-05 2020-07-31 深圳市冠旭电子股份有限公司 3D image generation method and device and VR equipment

Also Published As

Publication number Publication date
CN101119502A (en) 2008-02-06

Similar Documents

Publication Publication Date Title
CN101119502B (en) Image processing device and image processing method
US7162074B2 (en) Adjusting apparatus for stereoscopic camera
CN101299799B (en) Image detection, repair method and image detection, repair apparatus
KR101575803B1 (en) Method and apparatus of generating high sensitivity image in dark environment
CN109856164B (en) Optimization device for acquiring large-range images by machine vision and detection method thereof
CN103945145A (en) Apparatus and method for processing image
CN102724405A (en) Method and device for automatic exposure compensation of backlit scenes in video imaging system
CN101815221A (en) Image processing equipment and image processing method
WO2005088959A1 (en) Imaging system with adjusted dark floor correction
JP2003050211A (en) Lightness correcting method, selective defect detecting method and recording medium recording the methods
CN100520291C (en) Method for establishing optimum transillumination parameter system of industry digital radial imaging detecting
US8913163B2 (en) Method for detecting/correcting bad pixel in image sensor
JP4591046B2 (en) Defect detection correction circuit and defect detection correction method
CN112802017B (en) Method and device for detecting product external qualification based on workbench
TW200507638A (en) Image defect correction apparatus and method
US20090160938A1 (en) Image Processing Method and Image Capture Apparatus Applying The Same
US8576310B2 (en) Image processing apparatus, camera module, and image processing method
CN101843090A (en) White/black pixel correction in a digital image sensor
US20060279646A1 (en) Pixel defect detection method for solid-state image pickup device
JP2012070319A (en) Image processing method, image processing apparatus, and image processing program
CN109842837B (en) Self-adaptive volume adjusting method for radio
JP4392650B2 (en) Image correction apparatus and method
JP5051622B2 (en) Image processing method and image processing apparatus
CN102118559A (en) Method for adjusting shooting conditions of digital camera by utilizing motion detection
KR101470001B1 (en) Camera Module Having Backlight Compensation Function and Method for the Same

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
TR01 Transfer of patent right

Effective date of registration: 20180124

Address after: 519031 Guangdong city of Zhuhai province Hengqin Baohua Road No. 6, room 105, -23898 (central office)

Patentee after: Zhongxing Technology Co., Ltd.

Address before: 100083, Haidian District, Xueyuan Road, Beijing No. 35, Nanjing Ning building, 15 Floor

Patentee before: Beijing Vimicro Corporation

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 519031 -23898, 105 room 6, Baohua Road, Hengqin New District, Zhuhai, Guangdong (centralized office area)

Patentee after: Mid Star Technology Limited by Share Ltd

Address before: 519031 -23898, 105 room 6, Baohua Road, Hengqin New District, Zhuhai, Guangdong (centralized office area)

Patentee before: Zhongxing Technology Co., Ltd.

CP01 Change in the name or title of a patent holder