CN1767660A - Defect pixel detecting method - Google Patents

Defect pixel detecting method Download PDF

Info

Publication number
CN1767660A
CN1767660A CNA2005101149279A CN200510114927A CN1767660A CN 1767660 A CN1767660 A CN 1767660A CN A2005101149279 A CNA2005101149279 A CN A2005101149279A CN 200510114927 A CN200510114927 A CN 200510114927A CN 1767660 A CN1767660 A CN 1767660A
Authority
CN
China
Prior art keywords
defect pixel
pixel
defect
pixel point
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.)
Granted
Application number
CNA2005101149279A
Other languages
Chinese (zh)
Other versions
CN100464590C (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 CNB2005101149279A priority Critical patent/CN100464590C/en
Publication of CN1767660A publication Critical patent/CN1767660A/en
Application granted granted Critical
Publication of CN100464590C publication Critical patent/CN100464590C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention discloses a test method for defect pixels including: setting up an information set of defect pixels, setting up a rule for judging defect pixels and refreshing said set, testing the tested frame images and refreshing the information set of said defect pixel based on said rule during the operation, which designs and introduces related historic information as the reference to increase the test accuracy greatly.

Description

A kind of defect pixel detecting method
Technical field
The present invention relates to digital image processing field, relate in particular to, the defect pixel that exists in a kind of digital picture to imageing sensor output carries out the method for detection of dynamic.
Background technology
The array that sensor devices in the digital image input device is made up of a lot of interconnected photosensitive unit, it is converted to the signal of telecommunication with light signal.As a rule, these sensor devices are also not all roses, have some defective photosensitive units and exist.Therefore, may comprise some improper pixels in its output image.
For cost of manufacture being controlled in the acceptable scope, allowing some defect pixels on these optical pickocffs exists, but transducer manufacturer must provide defect pixel before transducer is sold information so just need not carried out the detection of defect pixel to camera manufacturer in follow-up use.Current the most frequently used way is, directly when sensor devices dispatches from the factory, the position such as the coordinate of detected defect pixel is stored in the programmable nonvolatile memory, for example a ROM (read-only memory) or EEROM (electrically erasable read-only memory), after image is hunted down, extracts those pixels and carry out some compensation deals in later stage according to these positional informations again.
The problem of this method is, all will carry out the test of defect pixel when each sensor devices dispatches from the factory, and has greatly improved the cost of sensor devices; And, As time goes on, in use may also can cause new defect pixel because of reasons such as electronic original part are aging, but be not detected and store when dispatching from the factory because of it, so can not be compensated after image is hunted down yet, just can not compensate this pixel, to such an extent as to cause image quality decrease.
The processing method of another kind of defect pixel is, in the process of using, image is carried out real-time detection of dynamic, when finding the defectiveness pixel, it is being compensated, but in traditional defect pixel dynamic detection technology, often only come pixel is judged, so may cause too much erroneous judgement according to the picture quality in the single two field picture, be about to pixel and judged into defect pixel, or missed bad defect pixel.Cause too much pixel to be compensated like this, and that compensation process directly brings is image blurring, causes decrease in image quality.
The existence of these defectives makes said apparatus or method can not reach gratifying result of use in practical operation, so new defect pixel detects solution by demand.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of defect pixel detecting method, improves the accuracy of detection effectively, reduces the appearance of erroneous judgement situation.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of defect pixel detecting method, its characteristics are, comprising:
Set up the ensemble of communication of a defect pixel;
Set up the rule judging defect pixel and upgrade above-mentioned set;
In use detected two field picture is detected and come above-mentioned defective pixel information set to upgrade according to described rule.
Further, judge whether a pixel is that defect pixel is realized by the following method:
If the value of current pixel is P M, n, here m represents line number, and n refers to columns, selects following pixel as the related pixel point point of judging current pixel: P M-2, n+2, P M+2, n+2, P M-2, n-2, P M+2, n-2, P M-2, n, P M+2, n, P M, n-2, P M, n+2
Calculate the difference value of current pixel point and above-mentioned reference point;
If the minimum difference value judges then that greater than the threshold value of defined in advance this current pixel is a defect pixel.
Further, comprise in the following content one or more in the set of described defective pixel information at least: the positional information of each defect pixel point, the confidence level of each defect pixel point, each defect pixel point have and how long do not have detected and report the record of coming out;
Further, describedly carry out maintenance work and comprise in the following content one or more at least: new defect pixel point is added to the cumulative information of from set, removing, upgrade each pixel in the set in the set, with good pixel falling into the Pixel Information set;
Further, the cumulative information of described each pixel comprises one or more in the following content at least: the confidence level of each defect pixel point, each defect pixel point have how long there is not record detected and that report is come out;
Further, the rule that pixel in the described set is upgraded realizes by following process:
If this defect pixel point among set, does not then add its coordinate information among the set to, and its confidence level and activity time not are set;
If this defect pixel point among set, then corresponding its confidence level of increase and reduce its not value of activity time.
Further, the rule that pixel in the described set is upgraded realizes by following process: if the not activity time of certain point, judge then that it has been pixel and it is removed greater than preset value T among set.
Further, the rule that pixel in the described set is upgraded realizes by following process:
If filled the defect pixel point among the set, come among the set and still have new defect pixel point to add to, among then regulation will be gathered not activity time defect pixel point at most pick out and remove; If there is the not activity time of a plurality of defect pixel points all identical and all be at most, defect pixel point that then will wherein confidence level is minimum picks out and removes.
Further, the rule that pixel in the described set is upgraded realizes by following process: the not activity time value of each the defect pixel point among all will gathering after each the detection adds 1, if or the some pixels in the set are not repeated to detect, then with its not the activity time value add 1;
Further, can the quantity of maximum open ended defect pixel points in the described set be limited;
Further, the quantity of described maximum open ended defect pixel points is 32;
Further, the quantity of described maximum open ended defect pixel points is 64;
Further, stipulate the frequency that described pair set upgrades, that is, can stipulate to upgrade once every certain frame number ability pair set.
As seen from the above technical solution, the invention has the advantages that, the present invention is directed in traditional defect pixel dynamic detection technology, the method of only judging according to the pixel in the single two field picture and detecting defect pixel is improved, design has also been introduced relevant historical information as reference, thereby improved the accuracy that detects greatly, reduced the occurrence probability of good pixel as erroneous judgement situations such as defect pixels.
Description of drawings
Fig. 1 is the schematic diagram of 5 * 5 block of pixels described in the embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
Main design philosophy of the present invention is the information by utilizing the accumulation of repeated detection picture frame to obtain, dynamically new detected defect pixel point adds in the set of defect pixel point, and from the set of defect pixel point, remove good pixel, reach good detection and compensation effect.
At first, we advise the set of a defect pixel, adopt specific rule to upgrade the set of defect pixel point simultaneously, comprise the cumulative information etc. that new defect pixel point is added in the defect pixel point set, good pixel is removed and upgrades to each point in the set from set in the present embodiment, certainly, we can also establish the condition of pushing up other, and this does not break away from thought of the present invention, and we utilize the content of a two field picture to detect possible defect pixel point then; Each defect pixel point comprises following message: the x of this defect pixel point, y coordinate; The confidence level of defect pixel point; This defect pixel point has how long there is not record detected and that report is come out.
As shown in Figure 1, be the schematic diagram of one 5 * 5 block of pixels, suppose that P2 is a current pixel point, ABS represents " taking absolute value ", Min represents " getting minimum value ", then calculates:
diff02=ABS(P2-P0);diff12=ABS(P2-P1);diff32=ABS(P2-P3);
diff42=ABS(P2-P4);diff52=ABS(P2-P5);diff62=ABS(P2-P6);
diff72=ABS(P2-P7);diff82=ABS(P2-P8);
minDiff=min(diff02,diff12,diff32,diff42,diff52,diff62,diff72,diff82);
If minDiff is greater than threshold value Threshold given in advance, then, export the x of P2, the y coordinate because it not and any one connection in its 8 adjoint point, does not judge that it may be the defect pixel point.
We can set and hold N defect pixel point in the set at most, such as 64; Because, can avoid obtaining too many " vacation " defect pixel point by selecting a suitable N value." vacation " defect pixel is put misjudged situation and often might be occurred; The N value is too small, can not hold all " very " defect pixel points down again.Typical N value can obtain by sensor devices manufacturer.
After a two field picture was detected, we began to consider the renewal to the defect pixel set.
Increasing new defect pixel puts in the set:
For each new detected defect pixel point, if this defect pixel point the set among, then can upgrade its confidence level, and the activity time does not subtract 1 with it by following formula:
New confidence level=old confidence level * α+minDiff* (1-α), α=0.9.
If this defect pixel point not among set, then adds it among set to, and its confidence level is made as minDiff as yet, the activity time is not made as-1 with it simultaneously.
From set, remove good pixel:
If the not activity time of certain point greater than certain preset value T, then removes it among set; By selecting a suitable T value, can avoid too frequent removal and add operation.
Upgrade the cumulative information of each point:
The not activity time value of each the defect pixel point among all will gather after each the detection adds 1, if or the some pixels in gathering be not repeated detection, then with its not the activity time value add 1.
When set has been expired:
In some cases, filled the defect pixel point among the set, and still had new defect pixel point will add among the set.At this moment, from set, remove an original defect pixel point, add this new defect pixel point.For this reason, among regulation will be gathered not activity time defect pixel point at most pick out and remove.If there is the not activity time of a plurality of defect pixel points all identical and all be at most, defect pixel point that then will wherein confidence level is minimum picks out and removes.Then, newer defect pixel point is added among the set.
Consider because the adjacent a few two field picture contents in front and back are generally all more similar, so that reduce the frequency that upgrades set, just can stipulate to upgrade once every the K frame.
Suppose that under certain conditions the defect pixel point of " very " is removed, and influences also not too serious from set.For example, certain defect pixel point shows as one and continues highlighted red pixel point, and its peripheral region is a safflower just, in this case this defect pixel point is removed from set, and its harmfulness is also little.As long as scenery changes, it will be detected immediately again, and goes among adding set within the K frame delay.
Suppose that under certain conditions the defect pixel point of " vacation " is added in the set and goes, it can be removed among set within the T*K frame delay along with the variation of scenery.
Should be understood that; the above only is a preferred implementation of the present invention, for those skilled in the art, and under the prerequisite that does not break away from the principle of the invention; can also make some improvement and variation, these improvement and variation also should be considered as protection scope of the present invention.

Claims (13)

1, a kind of defect pixel detecting method, its characteristics are, comprising:
Set up the ensemble of communication of a defect pixel;
Set up the rule judging defect pixel and upgrade above-mentioned set;
In use detected two field picture is detected and come above-mentioned defective pixel information set to upgrade according to described rule.
2, method according to claim 1 is characterized in that, judges whether a pixel is that defect pixel is realized by the following method:
If the value of current pixel is P M, n, here m represents line number, and n refers to columns, selects following pixel as the related pixel point point of judging current pixel: P M-2, n+2, P M+2, n+2, P M-2, n-2, P M+2, n-2, P M-2, n, P M+2, n, P M, n-2, P M, n+2
Calculate the difference value of current pixel point and above-mentioned reference point;
If the minimum difference value judges then that greater than the threshold value of defined in advance this current pixel is a defect pixel.
3, method according to claim 1, it is characterized in that, comprise in the following content one or more in the set of described defective pixel information at least: the positional information of each defect pixel point, the confidence level of each defect pixel point, each defect pixel point have and how long do not have detected and report the record of coming out.
4, method according to claim 1, it is characterized in that, describedly maintenance work is carried out in defective pixel information set comprised in the following content one or more at least: new defect pixel point is added to the cumulative information of from set, removing, upgrade each pixel in the set in the set, with good pixel.
5, method according to claim 4, it is characterized in that the cumulative information of described each pixel comprises one or more in the following content at least: the confidence level of each defect pixel point, each defect pixel point have how long there is not record detected and that report is come out.
6, method according to claim 1 is characterized in that, the rule that defect pixel point in the described set is upgraded realizes by following process:
If this defect pixel point among set, does not then add its coordinate information among the set to, and its confidence level and activity time not are set;
If this defect pixel point among set, then corresponding its confidence level of increase and reduce its not value of activity time.
7, method according to claim 1, it is characterized in that, the rule that pixel in the described set is upgraded realizes by following process: if the not activity time of certain point, judge then that it has been pixel and it is removed greater than preset value T among set.
8, method according to claim 1 is characterized in that, the rule that pixel in the described set is upgraded realizes by following process:
If filled the defect pixel point among the set, come among the set and still have new defect pixel point to add to, among then regulation will be gathered not activity time defect pixel point at most pick out and remove; If there is the not activity time of a plurality of defect pixel points all identical and all be at most, defect pixel point that then will wherein confidence level is minimum picks out and removes.
9, method according to claim 1, it is characterized in that, the rule that pixel in the described set is upgraded realizes by following process: the not activity time value of each the defect pixel point among all will gathering after each the detection adds 1, if or the some pixels in the set are not repeated to detect, then with its not the activity time value add 1.
10, method according to claim 1 is characterized in that, can the quantity of maximum open ended defect pixel points in the described defective pixel information set be limited.
11, method according to claim 10 is characterized in that, the quantity of described maximum open ended defect pixel points is 32.
12, method according to claim 10 is characterized in that, the quantity of described maximum open ended defect pixel points is 64.
13, method according to claim 1 is characterized in that, stipulates the frequency that described pair set upgrades, that is, can stipulate to upgrade once every certain frame number ability pair set.
CNB2005101149279A 2005-11-16 2005-11-16 Defect pixel detecting method Active CN100464590C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101149279A CN100464590C (en) 2005-11-16 2005-11-16 Defect pixel detecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101149279A CN100464590C (en) 2005-11-16 2005-11-16 Defect pixel detecting method

Publications (2)

Publication Number Publication Date
CN1767660A true CN1767660A (en) 2006-05-03
CN100464590C CN100464590C (en) 2009-02-25

Family

ID=36743204

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101149279A Active CN100464590C (en) 2005-11-16 2005-11-16 Defect pixel detecting method

Country Status (1)

Country Link
CN (1) CN100464590C (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212703B (en) * 2006-12-29 2010-05-19 华晶科技股份有限公司 Real-time bad image pixel detection method
CN102835102A (en) * 2010-03-26 2012-12-19 佳能株式会社 Image processing apparatus and control method for image processing apparatus
CN105788500A (en) * 2016-05-20 2016-07-20 京东方科技集团股份有限公司 Positioning method and device of bad sub-pixels
CN107079121A (en) * 2014-11-07 2017-08-18 赛峰电子与防务公司 Method for detecting defective pixel
CN111833370A (en) * 2020-07-22 2020-10-27 浙江光珀智能科技有限公司 Flight pixel filtering method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7009644B1 (en) * 1999-12-15 2006-03-07 Logitech Europe S.A. Dynamic anomalous pixel detection and correction
JP4086522B2 (en) * 2002-03-19 2008-05-14 三洋電機株式会社 Video camera
JP2005124613A (en) * 2003-10-21 2005-05-19 Hitachi Medical Corp X-ray image diagnostic device
CN100366053C (en) * 2005-04-08 2008-01-30 北京中星微电子有限公司 Method for compensating bad dots on digital images

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212703B (en) * 2006-12-29 2010-05-19 华晶科技股份有限公司 Real-time bad image pixel detection method
CN102835102A (en) * 2010-03-26 2012-12-19 佳能株式会社 Image processing apparatus and control method for image processing apparatus
US8922680B2 (en) 2010-03-26 2014-12-30 Canon Kabushiki Kaisha Image processing apparatus and control method for image processing apparatus
CN102835102B (en) * 2010-03-26 2015-07-01 佳能株式会社 Image processing apparatus and control method for image processing apparatus
CN107079121A (en) * 2014-11-07 2017-08-18 赛峰电子与防务公司 Method for detecting defective pixel
CN107079121B (en) * 2014-11-07 2020-09-25 赛峰电子与防务公司 Storage unit and medium for detecting defective pixel, photoelectric system, device and method
CN105788500A (en) * 2016-05-20 2016-07-20 京东方科技集团股份有限公司 Positioning method and device of bad sub-pixels
CN105788500B (en) * 2016-05-20 2018-12-11 京东方科技集团股份有限公司 A kind of localization method, the device of bad sub-pixel
CN111833370A (en) * 2020-07-22 2020-10-27 浙江光珀智能科技有限公司 Flight pixel filtering method and system

Also Published As

Publication number Publication date
CN100464590C (en) 2009-02-25

Similar Documents

Publication Publication Date Title
CN1164083C (en) Image signal processing device and picture element flaw detecting method
US8169514B2 (en) Defective pixel detecting device, defective pixel detecting method, record medium storing a program for detecting defective pixels, and imaging apparatus
US20100215260A1 (en) Image processing apparatus, image processing method, and program
CN1767660A (en) Defect pixel detecting method
CN1732693A (en) Pixel defect detecting/correcting device and pixel defect detecting/correcting method
CN1678024A (en) Improved motion vector estimation at image borders
US11297249B2 (en) Control device, control method and non-transitory computer readable storage medium
CN1755343A (en) Image testing device, defect inspection method and defects detection program
JP2006262438A (en) Method and apparatus for image processing
JP2001111893A (en) Pixel defect detection method and image processor
CN1852448A (en) Method for detecting compatibility of updating software and top-set hardware
JP5455611B2 (en) Image processing apparatus, image processing method, and program
CN1113530C (en) Word frame image automatic testing circuit in TV set
JP4591046B2 (en) Defect detection correction circuit and defect detection correction method
CN1290059C (en) A dynamic detecting and compensating method for faulty pixel
CN1044061C (en) CCD-defect compensating method and apparatus for camcorder
EP2373048A1 (en) Method for detecting and correcting bad pixels in image sensor
JP4331120B2 (en) Defective pixel detection method
CN1856010A (en) Image-quality adjusting apparatus, image-quality adjusting method, and display apparatus
JP2000217039A (en) Point defect detection method and point defect pixel value correction method
US20060279646A1 (en) Pixel defect detection method for solid-state image pickup device
KR100765257B1 (en) Method and apparatus for compensating defect of camera module
JP4397869B2 (en) Smear correction method and smear correction circuit
KR100510687B1 (en) method for reduction of impulse noise in display device
CN1187960C (en) Display signal process device and method

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

Effective date of registration: 20171221

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

CP01 Change in the name or title of a patent holder
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.