CN114245043A - Image dead pixel dynamic correction and ASIC implementation method and system thereof - Google Patents

Image dead pixel dynamic correction and ASIC implementation method and system thereof Download PDF

Info

Publication number
CN114245043A
CN114245043A CN202111541831.6A CN202111541831A CN114245043A CN 114245043 A CN114245043 A CN 114245043A CN 202111541831 A CN202111541831 A CN 202111541831A CN 114245043 A CN114245043 A CN 114245043A
Authority
CN
China
Prior art keywords
pixel
dead pixel
correction
image
current
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
Application number
CN202111541831.6A
Other languages
Chinese (zh)
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 Saifang Technology Co ltd
Original Assignee
Guangdong Saifang Technology Co ltd
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 Guangdong Saifang Technology Co ltd filed Critical Guangdong Saifang Technology Co ltd
Priority to CN202111541831.6A priority Critical patent/CN114245043A/en
Publication of CN114245043A publication Critical patent/CN114245043A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/60Noise processing, e.g. detecting, correcting, reducing or removing noise
    • H04N25/68Noise processing, e.g. detecting, correcting, reducing or removing noise applied to defects

Abstract

The invention relates to the technical field of image processing, in particular to a method and a system for dynamically correcting an image dead pixel and realizing an ASIC (application specific integrated circuit) thereof, wherein the method comprises the following steps: acquiring an image to be processed, and judging a current color channel of the image; selecting a pixel point of a neighborhood needing to participate in calculation according to a current color channel; calculating the difference value between the current central pixel point and the neighborhood pixel point, and comparing the difference value with a threshold value respectively; and judging whether the current pixel point is a dead pixel or not according to the comparison result, and if so, correcting. The invention can dynamically detect and correct the image dead pixel; different detection thresholds can be selected according to different color channels; different detection thresholds can be selected according to different dead pixel types; different correction methods can be selected according to different application scenes; while facilitating ASIC implementation.

Description

Image dead pixel dynamic correction and ASIC implementation method and system thereof
Technical Field
The invention relates to the technical field of image processing, in particular to a method and a system for dynamically correcting an image dead pixel and realizing an ASIC (application specific integrated circuit) of the image dead pixel.
Background
In the prior art, the dynamic detection and correction of image dead pixels occur due to the overlong working time of an image sensor or the working under extreme conditions.
In addition, when the prior image dead pixel is dynamically detected, the image dead pixel can not be dynamically detected and corrected; different detection thresholds cannot be selected according to different color channels; different detection thresholds cannot be selected according to different dead pixel types; different correction methods cannot be selected according to different application scenarios.
Disclosure of Invention
Aiming at the defects of the prior art, the invention discloses a method and a system for dynamically correcting an image dead pixel and an ASIC (application specific integrated circuit) thereof, which are used for solving the problem that the image dead pixel cannot be dynamically detected and corrected when the existing image dead pixel is dynamically detected; different detection thresholds cannot be selected according to different color channels; different detection thresholds cannot be selected according to different dead pixel types; the problem that different correction methods cannot be selected according to different application scenes is solved.
The invention is realized by the following technical scheme:
in a first aspect, the present invention provides a method for dynamically correcting an image dead pixel and implementing an ASIC thereof, comprising the following steps:
s1, acquiring an image to be processed, and judging the current color channel of the image;
s2, selecting the pixel points of the neighborhood needing to participate in calculation according to the current color channel;
s3, calculating the difference between the current central pixel point and the neighborhood pixel point, and comparing the difference with a threshold value respectively;
s4, judging whether the current pixel point is a dead pixel according to the comparison result, and if the current pixel point is a dead pixel, correcting.
Furthermore, in the method, the dead pixels include a normally bright dead pixel and a normally dark dead pixel, and different threshold values are used for judgment.
Furthermore, in the method, the dead pixel determination method specifically includes: and selecting a normally-on dead pixel threshold of the current color channel according to the current color channel, and calculating the difference value between the central pixel and the adjacent pixel with the same color as the central point in the nxn neighborhood of the current pixel point.
Furthermore, in the method, if the number of adjacent pixels is less than that of the central pixel and the absolute value of the difference is greater than the threshold, the central pixel is a normally bright dead pixel, and whether the current pixel is a normally dark dead pixel is similarly determined, wherein n is a positive integer.
Further, in the method, the dead pixel correction includes a median filter method correction and a gradient method correction.
Furthermore, in the method, the median filtering method is used for correcting according to m pixel points in the neighborhood of the current pixel point, and selecting a middle value in the m pixel points as an output after correction, wherein m is a positive integer.
Furthermore, in the method, the gradient method is used for correcting the difference value of the pixel points in different directions in the neighborhood according to m pixel points in the neighborhood of the current pixel point, two pixel points in the direction of the difference value are selected, and the average value of the two pixel points is used as the corrected output.
Furthermore, in the method, different detection threshold values are selected according to different color channels, different detection threshold values are selected according to different dead pixel types, and different correction methods are selected according to different application scenes.
In a second aspect, the present invention provides a system for dynamically correcting an image dead pixel and implementing an ASIC thereof, where the system is used to implement the method for dynamically correcting an image dead pixel and implementing an ASIC thereof in the first aspect, and the system includes an image buffer, a data selector, a dead pixel detector, a median filter, a gradient corrector, and a selection outputter.
Furthermore, the image cache is used for caching image data and generating an nxn neighborhood of the current pixel point;
the data selector is used for selecting a central pixel point and neighborhood pixel point data thereof participating in dead pixel detection and dead pixel correction according to the current color channel;
the dead pixel detector is used for detecting whether the current pixel point is a dead pixel according to the method and threshold configuration;
the median filter is used for carrying out median filtering correction according to the current pixel point and the neighborhood pixel points thereof and the method;
the gradient corrector is used for performing gradient correction according to the method and the current pixel point and the neighborhood pixel point;
and the selection output device is used for outputting the corrected data according to the current correction mode configuration and the dead pixel detector result.
The invention has the beneficial effects that:
the invention can dynamically detect and correct the image dead pixel; different detection thresholds can be selected according to different color channels; different detection thresholds can be selected according to different dead pixel types; different correction methods can be selected according to different application scenes; while facilitating ASIC implementation.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method for dynamic correction of image dead pixel and ASIC implementation thereof;
FIG. 2 is a schematic diagram of dead pixel detection according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a dead pixel correction according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
Referring to fig. 1, the present embodiment provides a method for dynamically correcting an image dead pixel and implementing an ASIC thereof, including the following steps:
s1, acquiring an image to be processed, and judging the current color channel of the image;
s2, selecting the pixel points of the neighborhood needing to participate in calculation according to the current color channel;
s3, calculating the difference between the current central pixel point and the neighborhood pixel point, and comparing the difference with a threshold value respectively;
s4, judging whether the current pixel point is a dead pixel according to the comparison result, and if the current pixel point is a dead pixel, correcting.
The embodiment can dynamically detect and correct the image dead pixel; different detection thresholds can be selected according to different color channels; different detection thresholds can be selected according to different dead pixel types; different correction methods can be selected according to different application scenes; while facilitating ASIC implementation.
Example 2
In a specific implementation level, the embodiment provides a dead pixel detection method, where there are two types of dead pixels output by an image sensor, that is, a normally bright dead pixel and a normally dark dead pixel. Therefore, in this embodiment, different determination thresholds are used for determining the two kinds of dead pixels, and the specific method is as follows:
referring to fig. 2, taking the detection of the normally-lit dead pixel of the G channel as an example, according to the current color channel, the normally-lit dead pixel threshold of the current color channel is selected, and the difference between the central pixel and the adjacent pixel with the same color as the central pixel is calculated in a neighborhood of 5 × 5 of the current pixel.
If all 8 adjacent pixels are smaller than the central pixel and the absolute values of the differences are larger than the threshold value, the central pixel is a normally bright dead pixel. And similarly, whether the current pixel point is a normally dark dead point can be judged.
The actual calculation of this embodiment is: fGBaddPx 2 ═ GWBadPxThr) + ((G5-G2) > GWBadPxThr) + ((G5-G3) > GWBadPxThr) + ((G5-G4) > GWBadPxThr) + ((G5-G6) > GWBadPxThr) + ((G5-G7) > GWBadPxThr) + ((G5-G8) > GWdPxThr) + ((G5-G9) > GWdPxThr).
fGBadPx3=((G1–G5)>GBBadPxThr)+((G5–G2)>GWBadPxThr)+((G5-G3)>GWBadPxThr)+((G5–G4)>GWBadPxThr)+((G5–G6)>GWBadPxThr)+((G5–G7)>GWBadPxThr)+((G5–G8)>GWBadPxThr)+((G5–G9)>GWBadPxThr)。
Example 3
In a specific implementation level, this embodiment provides a method for correcting a dead pixel, which can correct a dead pixel according to a result of dead pixel detection.
Because the requirements for the image output effect in different application scenes are different, some scenes need smoother image output, and some scenes need more prominent image output details, two different correction methods can be selected according to different application scenes.
Referring to fig. 3, in the median filtering method of this embodiment, according to 8 pixel points in the neighborhood of the current pixel point, a median value of the 8 pixel points is selected as an output after correction.
The gradient method of this embodiment calculates the difference between the pixels in different directions in the neighborhood according to 8 pixels in the neighborhood of the current pixel, selects two pixels in the direction of the difference, and uses the average value thereof as the corrected output, specifically:
{a,b}=min{|B2–B8|、|B4–B6|、|B1–B9|、|B3–78|}
out=(a+b)/2。
example 4
The embodiment provides a dynamic image dead pixel correction and an ASIC (application specific integrated circuit) implementation system thereof, which comprise an image cache, a data processing module and a data processing module, wherein the image cache is used for caching image data and generating a 5x5 neighborhood of a current pixel point;
the data selector is used for selecting a central pixel point and neighborhood pixel point data thereof participating in dead pixel detection and dead pixel correction according to the current color channel;
the dead pixel detector is used for detecting whether the current pixel point is a dead pixel according to the method and threshold configuration (which can be configured by a CPU or other controllers);
the median filter is used for carrying out median filtering correction according to the current pixel point and the neighborhood pixel points thereof and the method;
and the gradient corrector is used for performing gradient correction according to the method and the current pixel point and the neighborhood pixel point.
And the selection output device is used for outputting corrected data according to the current correction mode configuration (which can be configured by a CPU or other controllers) and the dead pixel detector result.
In conclusion, the method can dynamically detect and correct the image dead pixel; different detection thresholds can be selected according to different color channels; different detection thresholds can be selected according to different dead pixel types; different correction methods can be selected according to different application scenes; while facilitating ASIC implementation.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A dynamic correction of image dead pixel and its ASIC realization method are characterized in that the method includes the following steps:
s1, acquiring an image to be processed, and judging the current color channel of the image;
s2, selecting the pixel points of the neighborhood needing to participate in calculation according to the current color channel;
s3, calculating the difference between the current central pixel point and the neighborhood pixel point, and comparing the difference with a threshold value respectively;
s4, judging whether the current pixel point is a dead pixel according to the comparison result, and if the current pixel point is a dead pixel, correcting.
2. The image dead pixel dynamic correction and ASIC implementation method thereof as claimed in claim 1, wherein the dead pixel comprises a normally bright dead pixel and a normally dark dead pixel, and different threshold value is used for judgment.
3. The method for dynamically correcting the dead pixel of the image and implementing the ASIC thereof as claimed in claim 2, wherein the dead pixel determination method is as follows: and selecting a normally-on dead pixel threshold of the current color channel according to the current color channel, and calculating the difference value between the central pixel and the adjacent pixel with the same color as the central point in the nxn neighborhood of the current pixel point.
4. The method as claimed in claim 3, wherein if the number of adjacent pixels is less than the central pixel and the absolute values of the differences are greater than the threshold, the central pixel is a normally bright dead pixel, and similarly, it is determined whether the current pixel is a normally dark dead pixel, where n is a positive integer.
5. The dynamic image dead pixel correction and ASIC implementation method thereof according to claim 1, wherein the dead pixel correction comprises a median filtering method correction and a gradient method correction.
6. The method as claimed in claim 5, wherein the median filtering correction is performed according to m pixels in the neighborhood of the current pixel, and the median of the m pixels is selected as the output after correction, where m is a positive integer.
7. The method as claimed in claim 6, wherein the gradient method correction calculates the difference between the pixels in different directions in the neighborhood according to m pixels in the neighborhood of the current pixel, selects two pixels in the direction of the difference, and uses the average value as the corrected output.
8. The dynamic image dead pixel correction and ASIC implementation method thereof as claimed in claim 1, wherein in said method, different detection thresholds are selected according to different color channels, different detection thresholds are selected according to different dead pixel types, and different correction methods are selected according to different application scenarios.
9. An image dead pixel dynamic correction and ASIC implementation system thereof, which is used for implementing the image dead pixel dynamic correction and ASIC implementation method thereof as claimed in any one of claims 1-8, characterized by comprising an image buffer, a data selector, a dead pixel detector, a median filter, a gradient corrector and a selection output device.
10. The system for dynamic image dead pixel correction and ASIC implementation thereof of claim 9, wherein said image cache is configured to cache image data while generating nxn neighborhood of current pixel;
the data selector is used for selecting a central pixel point and neighborhood pixel point data thereof participating in dead pixel detection and dead pixel correction according to the current color channel;
the dead pixel detector is used for detecting whether the current pixel point is a dead pixel according to the method and threshold configuration;
the median filter is used for carrying out median filtering correction according to the current pixel point and the neighborhood pixel points thereof and the method;
the gradient corrector is used for performing gradient correction according to the method and the current pixel point and the neighborhood pixel point;
and the selection output device is used for outputting the corrected data according to the current correction mode configuration and the dead pixel detector result.
CN202111541831.6A 2021-12-16 2021-12-16 Image dead pixel dynamic correction and ASIC implementation method and system thereof Pending CN114245043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111541831.6A CN114245043A (en) 2021-12-16 2021-12-16 Image dead pixel dynamic correction and ASIC implementation method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111541831.6A CN114245043A (en) 2021-12-16 2021-12-16 Image dead pixel dynamic correction and ASIC implementation method and system thereof

Publications (1)

Publication Number Publication Date
CN114245043A true CN114245043A (en) 2022-03-25

Family

ID=80757011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111541831.6A Pending CN114245043A (en) 2021-12-16 2021-12-16 Image dead pixel dynamic correction and ASIC implementation method and system thereof

Country Status (1)

Country Link
CN (1) CN114245043A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114648526A (en) * 2022-05-18 2022-06-21 武汉精立电子技术有限公司 Image dead pixel processing method, storage medium, electronic device and system
CN116886894A (en) * 2023-08-04 2023-10-13 上海宇勘科技有限公司 Picture dead pixel detection and correction method for adjacent internal column dead pixels

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114648526A (en) * 2022-05-18 2022-06-21 武汉精立电子技术有限公司 Image dead pixel processing method, storage medium, electronic device and system
CN116886894A (en) * 2023-08-04 2023-10-13 上海宇勘科技有限公司 Picture dead pixel detection and correction method for adjacent internal column dead pixels
CN116886894B (en) * 2023-08-04 2024-03-15 上海宇勘科技有限公司 Picture dead pixel detection and correction method for adjacent internal column dead pixels

Similar Documents

Publication Publication Date Title
CN109003249B (en) Method, device and terminal for enhancing image details
CN114245043A (en) Image dead pixel dynamic correction and ASIC implementation method and system thereof
JP4496106B2 (en) Image processing apparatus and image processing method
WO2011042948A1 (en) Defect detecting method for imaging device, and imaging device
US20220351335A1 (en) Video denoising method and device, and computer readable storage medium
US8737762B2 (en) Method for enhancing image edge
CN107305695B (en) Automatic image dead pixel correction device and method
JPWO2006025396A1 (en) Image processing apparatus and image processing program
JP5455611B2 (en) Image processing apparatus, image processing method, and program
CN100367771C (en) An adaptive picture noise suppression method
JP2020077165A (en) Image processing device, image processing method, and program
KR101336240B1 (en) Method and apparatus for image processing using saved image
WO2003088648A1 (en) Motion detector, image processing system, motion detecting method, program, and recording medium
JP2019530360A (en) ISP bias compensation noise reduction system and method
CN110740266A (en) Image frame selection method and device, storage medium and electronic equipment
KR20130012749A (en) Video enhancer and video image processing method
JP4916275B2 (en) Defective pixel correction circuit, image processing system using the same, and defective pixel correction method
CN101141655A (en) Video signal picture element point chromatic value regulation means
US8995765B2 (en) Digital image processing apparatus and method
JPH1117984A (en) Image processor
JP3304162B2 (en) Scratch correction circuit
JP7039215B2 (en) Image processing equipment, image processing methods, and programs
KR100821939B1 (en) Apparatus and method for image noise reduction
JP2005229166A (en) Apparatus and method for measuring noise amount in video signal
CN107392856B (en) Image filtering method and device

Legal Events

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