TWI407801B - Method and apparatus for performing bad pixel compensation - Google Patents

Method and apparatus for performing bad pixel compensation Download PDF

Info

Publication number
TWI407801B
TWI407801B TW099126728A TW99126728A TWI407801B TW I407801 B TWI407801 B TW I407801B TW 099126728 A TW099126728 A TW 099126728A TW 99126728 A TW99126728 A TW 99126728A TW I407801 B TWI407801 B TW I407801B
Authority
TW
Taiwan
Prior art keywords
pixel
value
compensation
target
values
Prior art date
Application number
TW099126728A
Other languages
Chinese (zh)
Other versions
TW201208388A (en
Inventor
Yung Wei Chen
Original Assignee
Silicon Motion 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 Silicon Motion Inc filed Critical Silicon Motion Inc
Priority to TW099126728A priority Critical patent/TWI407801B/en
Priority to US12/917,499 priority patent/US8422816B2/en
Publication of TW201208388A publication Critical patent/TW201208388A/en
Application granted granted Critical
Publication of TWI407801B publication Critical patent/TWI407801B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/10Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths
    • H04N23/12Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from different wavelengths with one sensor only
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • 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
    • H04N25/683Noise processing, e.g. detecting, correcting, reducing or removing noise applied to defects by defect estimation performed on the scene signal, e.g. real time or on the fly detection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/70SSIS architectures; Circuits associated therewith

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Color Television Image Signal Generators (AREA)
  • Image Processing (AREA)

Abstract

A method for performing bad pixel compensation includes: with regard to each direction of a plurality of directions, summing up absolute values of differences between a plurality of sets of first pixel values around a target pixel of an image to generate a first detection value, and with regard to each direction of at least a portion of the directions, summing up absolute values of differences between a plurality of sets of second pixel values around the target pixel to generate a second detection value, where each set of the sets of first pixel values and the sets of second pixel values includes two pixel values corresponding to a difference; and with regard to a specific direction of the directions, selectively performing bad pixel compensation on the target pixel according to the first detection value and the second detection value. An associated apparatus is also provided.

Description

用來進行壞像素補償之方法與用來進行壞像素補償之裝置Method for performing bad pixel compensation and means for performing bad pixel compensation

本發明係有關於拜耳圖樣(Bayer Pattern)影像之影像處理,尤指一種用來進行壞像素補償之方法與相關裝置。The present invention relates to image processing of Bayer Pattern images, and more particularly to a method and related apparatus for performing bad pixel compensation.

個人電腦攝影鏡頭(PC Camera)中之影像感測器所產生的影像通常為拜耳圖樣(Bayer Pattern)影像。依據相關技術,該影像感測器之任一感測單元只能產生一相對應像素之各個像素值當中屬於一色彩通道(Color Channel)的像素值。例如:完整的色彩通道應包含紅色、綠色、藍色之色彩通道,而該影像感測器之任一感測單元只能產生一相對應像素之紅色、綠色、藍色像素值中之一者,而這些紅色、綠色、藍色像素值中之另外兩個像素值則需要透過影像處理來產生。The image produced by the image sensor in a PC Camera is usually a Bayer Pattern image. According to the related art, any sensing unit of the image sensor can only generate pixel values belonging to a color channel among respective pixel values of a corresponding pixel. For example, a complete color channel should contain red, green, and blue color channels, and any sensing unit of the image sensor can only generate one of red, green, and blue pixel values of a corresponding pixel. And the other two pixel values of these red, green, and blue pixel values need to be generated by image processing.

為了減少材料成本,傳統的影像處理電路往往採用低階的硬體資源,以致產生諸多問題。例如:一旦其設計過於簡化,往往會有副作用產生,使影像品質不佳。尤其是,傳統的影像處理電路對於壞像素補償的處理效果不佳。因此,需要一種新穎的方法,來改善影像品質。In order to reduce the material cost, the conventional image processing circuit often uses low-order hardware resources, which causes many problems. For example, once the design is too simplistic, there are often side effects that make the image quality poor. In particular, conventional image processing circuits have poor processing effects for bad pixel compensation. Therefore, a novel method is needed to improve image quality.

因此本發明之目的之一在於提供一種用來進行壞像素補償之方法與相關裝置,以解決上述問題。It is therefore an object of the present invention to provide a method and associated apparatus for performing bad pixel compensation to solve the above problems.

本發明之另一目的在於提供一種用來進行壞像素補償之方法與相關裝置,以確保影像品質。即使在採用低階的硬體資源的狀況下,本發明仍能保持良好的影像品質。Another object of the present invention is to provide a method and related apparatus for performing bad pixel compensation to ensure image quality. The present invention maintains good image quality even in the case of using low-order hardware resources.

本發明之較佳實施例中提供一種用來進行壞像素補償之方法,該方法包含有:針對複數個方向之每一方向,計算一影像中之一目標像素附近之複數組第一像素值的差之絕對值之和作為一第一偵測值,且針對該些方向中之至少一部分之每一方向,計算該目標像素附近之複數組第二像素值的差之絕對值之和作為一第二偵測值,其中該些組第一像素值與該些組第二像素值中之每一組包含對應於一差值之兩個像素值,同一組之兩個像素值屬於同一色彩通道(Color Channel),而每一組第一像素值不包含該目標像素之一像素值,且每一組第二像素值包含該目標像素之該像素值;以及針對該些方向中之一特定方向,依據該第一偵測值與該第二偵測值選擇性地對該目標像素進行壞像素補償。A preferred embodiment of the present invention provides a method for performing bad pixel compensation, the method comprising: calculating, for each direction of a plurality of directions, a first array of values of a complex array near a target pixel in an image The sum of the absolute values of the differences is used as a first detection value, and for each direction of at least a part of the directions, the sum of the absolute values of the differences of the second pixel values of the complex array near the target pixel is calculated as a first And a detection value, wherein each of the first pixel value of the group and the second pixel value of the group includes two pixel values corresponding to a difference, and two pixel values of the same group belong to the same color channel ( a color channel), and each set of first pixel values does not include a pixel value of the target pixel, and each set of second pixel values includes the pixel value of the target pixel; and for a specific direction of the one of the directions, Performing bad pixel compensation on the target pixel selectively according to the first detection value and the second detection value.

本發明於提供上述方法之同時,亦對應地提供一種用來進行壞像素補償之裝置,該裝置包含有:一處理電路,用來接收代表一影像之至少一影像訊號,並對該影像進行壞像素補償。該處理電路包含有:一偵測模組,用來針對複數個方向之每一方向,計算一影像中之一目標像素附近之複數組第一像素值的差之絕對值之和作為一第一偵測值,且針對該些方向中之至少一部分之每一方向,計算該目標像素附近之複數組第二像素值的差之絕對值之和作為一第二偵測值,其中該些組第一像素值與該些組第二像素值中之每一組包含對應於一差值之兩個像素值,同一組之兩個像素值屬於同一色彩通道,而每一組第一像素值不包含該目標像素之一像素值,且每一組第二像素值包含該目標像素之該像素值;以及一補償模組,用來針對該些方向中之一特定方向,依據該第一偵測值與該第二偵測值選擇性地對該目標像素進行壞像素補償。The present invention provides a device for performing bad pixel compensation correspondingly, and the device includes: a processing circuit for receiving at least one image signal representing an image, and performing the image on the image Pixel compensation. The processing circuit includes: a detecting module, configured to calculate, in each direction of the plurality of directions, a sum of absolute values of differences of first pixel values of a complex array near a target pixel in an image as a first Detecting a value, and calculating, for each direction of at least a portion of the directions, a sum of absolute values of differences of second pixel values of the complex array near the target pixel as a second detected value, wherein the groups are Each of the one pixel value and the second set of pixel values includes two pixel values corresponding to a difference, two pixel values of the same group belong to the same color channel, and each set of first pixel values does not include a pixel value of the target pixel, and each set of second pixel values includes the pixel value of the target pixel; and a compensation module configured to target the specific one of the directions according to the first detected value The target pixel is selectively subjected to bad pixel compensation with the second detection value.

請參考第1A圖,第1A圖為本發明一第一實施例之一種用來進行壞像素補償之裝置100的示意圖。裝置100包含一影像感測器105與一處理電路110,而處理電路110包含有一偵測模組112與一補償模組114。依據本實施例,處理電路110自影像感測器105接收代表一影像之至少一影像訊號S1,並對該影像進行壞像素補償,其中該影像係為一拜耳圖樣(Bayer Pattern)影像。如第1A圖所示,處理電路110可輸出載有補償後影像之至少一影像訊號S2。另外,偵測模組112可進行偵測以產生複數個偵測值,而補償模組114則可依據該些偵測值中之至少一部分,選擇性地對一目標像素進行壞像素補償。實作上,偵測模組112與補償模組114可利用電路來實施。這只是為了說明的目的而已,並非對本發明之限制。依據本實施例之某些變化例,諸如第1B圖所示之第二實施例,上述之處理電路110被代換為處理電路110’,而處理電路110’可執行一程式碼110P來進行與該第一實施例相同的運作,其中程式碼110P包含程式模組諸如偵測模組112’與補償模組114’,分別具備偵測模組112與補償模組114之運作;因應架構上的變化,上述之裝置於該第二實施例中改以標號100’來標示。Please refer to FIG. 1A. FIG. 1A is a schematic diagram of an apparatus 100 for performing bad pixel compensation according to a first embodiment of the present invention. The device 100 includes an image sensor 105 and a processing circuit 110. The processing circuit 110 includes a detection module 112 and a compensation module 114. According to the embodiment, the processing circuit 110 receives at least one image signal S1 representing an image from the image sensor 105, and performs bad pixel compensation on the image, wherein the image is a Bayer Pattern image. As shown in FIG. 1A, the processing circuit 110 can output at least one image signal S2 carrying the compensated image. In addition, the detection module 112 can detect to generate a plurality of detection values, and the compensation module 114 can selectively perform bad pixel compensation on a target pixel according to at least a part of the detection values. In practice, the detection module 112 and the compensation module 114 can be implemented by using a circuit. This is for illustrative purposes only and is not a limitation of the invention. According to some variations of the embodiment, such as the second embodiment shown in FIG. 1B, the processing circuit 110 described above is replaced with the processing circuit 110', and the processing circuit 110' can execute a code 110P for The same operation of the first embodiment, wherein the code 110P includes a program module such as a detection module 112' and a compensation module 114', respectively having the operation of the detection module 112 and the compensation module 114; Variations, the above described device is indicated by the reference numeral 100' in this second embodiment.

不論採用第1A圖所示之架構或第1B圖所示之架構,本發明能避免相關技術之問題諸如不良的影像品質。尤其是,本發明能妥善地進行壞像素補償。即使在採用低階的硬體資源之狀況下,本發明仍能保持良好的影像品質。請參考第2圖,壞像素補償之相關運作之細節說明如下。Regardless of the architecture shown in FIG. 1A or the architecture shown in FIG. 1B, the present invention can avoid problems of the related art such as poor image quality. In particular, the present invention can properly perform bad pixel compensation. The present invention maintains good image quality even in the case of using low-order hardware resources. Please refer to Figure 2 for details of the operation of the bad pixel compensation.

第2圖為依據本發明一實施例之一種用來進行壞像素補償之方法910的流程圖。方法910可應用於第1A圖所示之裝置100(或第1B圖所示之裝置100’),尤其是該第一實施例之處理電路110(或該第二實施例之處理電路110’)。為了便於說明,以下利用該第一實施例之架構來進行說明,其中這些說明亦適用於該第二實施例之架構。該方法說明如下:於步驟912中,偵測模組112針對複數個方向之每一方向,計算一影像(例如:上述之拜耳圖樣影像)中之一目標像素附近之複數組第一像素值的差之絕對值之和作為一第一偵測值,且針對該些方向中之至少一部分之每一方向(例如:該些方向中之每一方向),計算該目標像素附近之複數組第二像素值的差之絕對值之和作為一第二偵測值。尤其是,該些組第一像素值與該些組第二像素值中之每一組包含對應於一差值之兩個像素值,而同一組之兩個像素值屬於同一色彩通道。另外,每一組第一像素值不包含該目標像素之一像素值,且每一組第二像素值包含該目標像素之該像素值。2 is a flow chart of a method 910 for performing bad pixel compensation in accordance with an embodiment of the present invention. The method 910 can be applied to the device 100 shown in FIG. 1A (or the device 100' shown in FIG. 1B), in particular, the processing circuit 110 of the first embodiment (or the processing circuit 110' of the second embodiment) . For ease of explanation, the following description is made using the architecture of the first embodiment, and the descriptions are also applicable to the architecture of the second embodiment. The method is as follows: In step 912, the detecting module 112 calculates a first pixel value of a complex array near a target pixel in an image (for example, the Bayer pattern image described above) for each of the plurality of directions. The sum of the absolute values of the differences is used as a first detection value, and for each direction of at least a portion of the directions (eg, each of the directions), a complex array second near the target pixel is calculated The sum of the absolute values of the differences in pixel values is used as a second detected value. In particular, each of the set of first pixel values and the set of second pixel values includes two pixel values corresponding to a difference, and the two sets of pixel values of the same group belong to the same color channel. In addition, each set of first pixel values does not include one of the target pixel values, and each set of second pixel values includes the pixel value of the target pixel.

於步驟914中,補償模組114針對該些方向中之一特定方向,依據該第一偵測值與該第二偵測值選擇性地對該目標像素進行壞像素補償。實作上,補償模組144可依據該些方向之每一方向之該第一偵測值,於該些方向中選擇出該特定方向;然後,補償模組114針對該特定方向,依據該第一偵測值與該第二偵測值選擇性地對該目標像素進行壞像素補償。例如:每一方向之該第一偵測值可代表該目標像素附近之影像均勻度的偵測值,補償模組114可依據各個方向之各個第一偵測值的大小,來判斷該目標像素附近之可能的邊緣及/或線條之方向,作為上述之特定方向。In step 914, the compensation module 114 selectively performs bad pixel compensation on the target pixel according to the first detection value and the second detection value for a specific direction of the directions. In practice, the compensation module 144 can select the specific direction in the directions according to the first detection value in each direction of the directions; and then, the compensation module 114 is configured according to the specific direction. A detected value and the second detected value selectively perform bad pixel compensation on the target pixel. For example, the first detection value in each direction can represent the detection value of the image uniformity in the vicinity of the target pixel, and the compensation module 114 can determine the target pixel according to the size of each first detection value in each direction. The possible edges and/or directions of the neighborhood are nearby as the specific direction described above.

於本實施例中,該些方向包含N個方向諸如方向DN(n),其中N為正整數,且n=1、2、...、或N。例如:於N=4的狀況下,方向DN(1)、DN(2)、DN(3)、與DN(4)可分別代表水平方向、45度方向、垂直方向、與135度方向。為了便於理解,在此將四個參數Horz、D45、Vert、與D135分別定義為1、2、3、與4,也就是方向DN(1)、DN(2)、DN(3)、與DN(4)之四個索引值1、2、3、與4,以便在後續說明中之虛擬程式碼(Pseudo Code)當中用來指出水平方向、45度方向、垂直方向、與135度方向。In this embodiment, the directions include N directions such as direction DN(n), where N is a positive integer and n=1, 2, . . . , or N. For example, in the case of N=4, the directions DN(1), DN(2), DN(3), and DN(4) can represent the horizontal direction, the 45-degree direction, the vertical direction, and the 135-degree direction, respectively. For ease of understanding, the four parameters Horz, D45, Vert, and D135 are defined as 1, 2, 3, and 4, respectively, that is, directions DN (1), DN (2), DN (3), and DN. (4) The four index values 1, 2, 3, and 4 are used to indicate the horizontal direction, the 45-degree direction, the vertical direction, and the 135-degree direction in the Pseudo Code in the subsequent description.

第3圖至第6圖繪示一實施例中關於第2圖所示之方法910所涉及之實施細節,其中第3圖至第6圖中之圓圈代表像素,而各個圓圈內的符號諸如集合{{V00,V01,V02,V03,V04},{V10,V11,V12,V13,V14},{V20,V21,V22,V23,V24},{V30,V31,V32,V33,V34},{V40,V41,V42,V43,V44}}中之符號代表像素值。請注意,第3圖至第6圖中之正中央像素(其像素值為V22)為步驟912所述之該目標像素。另外,第3圖至第6圖中之箭頭是用來指出一些可能用於步驟912所述之各組像素值,而每一箭頭對應於一組像素值,也就是步驟912所述之「對應於一差值之兩個像素值」。舉例而言,由於該影像於實施例中係為拜耳圖樣影像,在像素值V22係為藍色像素值的狀況下,第3圖至第6圖中之各個箭頭的位置正好符合步驟912所述「同一組之兩個像素值屬於同一色彩通道」之說明。3 to 6 illustrate implementation details related to the method 910 shown in FIG. 2 in an embodiment, wherein the circles in FIGS. 3 to 6 represent pixels, and the symbols in the respective circles are, for example, a set. {{V00, V01, V02, V03, V04}, {V10, V11, V12, V13, V14}, {V20, V21, V22, V23, V24}, {V30, V31, V32, V33, V34}, { The symbols in V40, V41, V42, V43, V44}} represent pixel values. Please note that the positive central pixel (the pixel value of V22) in FIGS. 3 to 6 is the target pixel described in step 912. In addition, the arrows in FIGS. 3 to 6 are used to indicate some of the set of pixel values that may be used in step 912, and each arrow corresponds to a set of pixel values, that is, the corresponding step in step 912. Two pixel values of a difference." For example, since the image is a Bayer pattern image in the embodiment, in the case where the pixel value V22 is a blue pixel value, the positions of the arrows in the third to sixth figures are exactly as described in step 912. Description of "two pixel values of the same group belong to the same color channel".

第3圖繪示方向DN(n)係為水平方向DN(Horz)的狀況(亦即,於第3圖中,n=Horz),其中關於第3圖之某些虛擬程式碼詳列如下:Figure 3 shows the situation in which the direction DN(n) is the horizontal direction DN (Horz) (i.e., in Figure 3, n = Horz), wherein some of the virtual code numbers for the third figure are as follows:

在上面的虛擬程式碼中,最前面幾列中之符號abs代表絕對值,而這些絕對值之線性組合諸如Det1[n]與Det1a[n](於第3圖中,n=Horz)可用來產生步驟912所述之第一偵測值。例如:在模式M1中(即「mode==1」成立時),該第一偵測值可為上面的虛擬程式碼當中最前面6列的12個絕對值之和。又例如:在模式M0中(即「mode==0」成立時),該第一偵測值可為上面的虛擬程式碼當中最前面4列的8個絕對值之和的3/2倍,其中放大倍數3/2係用來調整該第一偵測值,使該第一偵測值可同時適用於兩種模式的計算,以減少運算量及相關成本。如此,於完成上面的虛擬程式碼中之前11列所代表之運作後,符號Det1[n](於第3圖中,n=Horz)可代表步驟912所述之第一偵測值。In the above virtual code, the symbol abs in the first few columns represents the absolute value, and linear combinations of these absolute values such as Det1[n] and Det1a[n] (in Figure 3, n=Horz) can be used. The first detected value described in step 912 is generated. For example, in mode M1 (ie, when "mode==1" is established), the first detected value may be the sum of the 12 absolute values of the first six columns of the above virtual code. For another example, in mode M0 (ie, when "mode==0" is established), the first detection value may be 3/2 times the sum of the 8 absolute values of the first 4 columns of the above virtual code, The magnification 3/2 is used to adjust the first detection value, so that the first detection value can be applied to the calculation of the two modes at the same time, so as to reduce the calculation amount and the related cost. Thus, after completing the operation represented by the previous 11 columns in the above virtual code, the symbol Det1[n] (in FIG. 3, n=Horz) may represent the first detection value described in step 912.

請注意,如第3圖之大部分的箭頭所揭露,針對步驟912所述之該些方向之每一方向DN(n)諸如水平方向DN(1),該些組第一像素值對應於依據該方向排列的至少三直線上之像素。例如:在模式M0中,針對步驟912所述之該些方向之每一方向DN(n)諸如水平方向DN(1),該些組第一像素值對應於依據該方向排列的三直線上之像素。又例如:在模式M1中,針對步驟912所述之該些方向之每一方向DN(n)諸如水平方向DN(1),該些組第一像素值對應於依據該方向排列的五直線上之像素。Please note that as indicated by the arrow of most of FIG. 3, for each direction DN(n) of the directions described in step 912, such as the horizontal direction DN(1), the set of first pixel values corresponds to the basis. The pixels on at least three straight lines arranged in the direction. For example, in the mode M0, for each direction DN(n) of the directions described in step 912, such as the horizontal direction DN(1), the set of first pixel values correspond to three straight lines arranged according to the direction. Pixel. For another example, in the mode M1, for each direction DN(n) of the directions described in step 912, such as the horizontal direction DN(1), the set of first pixel values correspond to five straight lines arranged according to the direction. The pixels.

另外,如第3圖之某些其它的箭頭所揭露,針對步驟912所述之該些方向之每一方向DN(n)諸如水平方向DN(1),該些組第二像素值對應於依據該方向排列的一直線上之像素。In addition, as disclosed by some other arrows in FIG. 3, for each direction DN(n) of the directions described in step 912, such as the horizontal direction DN(1), the set of second pixel values correspond to the basis. The pixels on the straight line arranged in this direction.

另外,在上面的虛擬程式碼中之最後兩列之符號Det2[n]與Cand[n](於第3圖中,n=Horz)分別代表步驟912所述之第二偵測值與步驟914所涉及之候選值。假設步驟914所述之特定方向為n=n0的狀況下之方向DN(n0)。於步驟914中,當決定對該目標像素進行壞像素補償時,補償模組114依據候選值Cand[n](例如:n=n0)對該目標像素進行壞像素補償,其中候選值Cand[n]對應於該特定方向之該些組第二像素值中之一部分像素值。尤其是,候選值Cand[n]係為該特定方向之該些組第二像素值諸如像素值{V20,V22}與{V22,V24}當中除了該目標像素之像素值V22之外的像素值(於第3圖中,即像素值{V20,V24})之平均值。在n0=Horz的狀況下,這個平均值等於(V20+V24)/2。In addition, the symbols Det2[n] and Cand[n] (in FIG. 3, n=Horz) in the last two columns of the above virtual code represent the second detection value and the step 914 described in step 912, respectively. The candidate values involved. It is assumed that the specific direction described in step 914 is the direction DN(n0) in the case of n=n0. In step 914, when it is determined that the target pixel is subjected to bad pixel compensation, the compensation module 114 performs bad pixel compensation on the target pixel according to the candidate value Cand[n] (for example, n=n0), wherein the candidate value Cand[n] ] corresponding to one of the set of second pixel values of the particular direction. In particular, the candidate value Cand[n] is a pixel value of the group of second pixel values in the specific direction, such as pixel values {V20, V22} and {V22, V24} except for the pixel value V22 of the target pixel. (In Fig. 3, the average value of the pixel values {V20, V24}). In the case of n0=Horz, this average value is equal to (V20+V24)/2.

第4圖繪示方向DN(n)係為垂直方向DN(Vert)的狀況(亦即,於第4圖中,n=Vert),其中關於第4圖之某些虛擬程式碼詳列如下:Figure 4 shows the situation in which the direction DN(n) is the vertical direction DN(Vert) (i.e., in Fig. 4, n=Vert), and some of the virtual code codes for the fourth figure are as follows:

在上面的虛擬程式碼中,因應n=Vert的狀況,各個可能用來計算步驟912所述之第一偵測值之像素值已被代換,且各個可能用來計算步驟912所述之第二偵測值之像素值已被代換,其中第4圖之各個箭頭亦對應地改變位置,以指出某些可能用到的各組像素值。另外,候選值Cand[n](於第4圖中,n=Vert)的計算所需之像素值已被對應地代換。第4圖與第3圖相仿之處不再重複贅述。In the above virtual code, in response to the condition of n=Vert, each pixel value that may be used to calculate the first detection value described in step 912 has been replaced, and each may be used to calculate the number described in step 912. The pixel values of the two detected values have been replaced, and the arrows of Fig. 4 also change positions correspondingly to indicate some sets of pixel values that may be used. In addition, the pixel values required for the calculation of the candidate value Cand[n] (in FIG. 4, n=Vert) have been correspondingly substituted. The similarities between Fig. 4 and Fig. 3 will not be repeated.

第5圖繪示方向DN(n)係為45度方向DN(D45)的狀況(亦即,於第5圖中,n=D45),其中關於第5圖之某些虛擬程式碼詳列如下:Figure 5 shows the direction DN(n) in the 45-degree direction DN (D45) (i.e., in Figure 5, n = D45), wherein some of the virtual code numbers in Figure 5 are detailed below. :

在上面的虛擬程式碼中,因應n=D45的狀況,各個可能用來計算步驟912所述之第一偵測值之像素值已被代換,且各個可能用來計算步驟912所述之第二偵測值之像素值已被代換,其中第5圖之各個箭頭亦對應地改變位置,以指出某些可能用到的各組像素值。另外,候選值Cand[n](於第5圖中,n=D45)的計算所需之像素值已被對應地代換。第5圖與第3圖相仿之處不再重複贅述。In the above virtual code, in response to the condition of n=D45, each pixel value that may be used to calculate the first detection value described in step 912 has been replaced, and each may be used to calculate the number described in step 912. The pixel values of the two detected values have been replaced, and the arrows of Figure 5 also change positions correspondingly to indicate certain sets of pixel values that may be used. In addition, the pixel values required for the calculation of the candidate value Cand[n] (in FIG. 5, n=D45) have been correspondingly substituted. The similarities between Fig. 5 and Fig. 3 will not be repeated.

第6圖繪示方向DN(n)係為135度方向DN(D135)的狀況(亦即,於第6圖中,n=D135),其中關於第6圖之某些虛擬程式碼詳列如下:Figure 6 shows the direction DN(n) in the 135-degree direction DN (D135) (i.e., in Figure 6, n = D135), wherein some of the virtual code numbers in Figure 6 are detailed below. :

在上面的虛擬程式碼中,因應n=D135的狀況,各個可能用來計算步驟912所述之第一偵測值之像素值已被代換,且各個可能用來計算步驟912所述之第二偵測值之像素值已被代換,其中第6圖之各個箭頭亦對應地改變位置,以指出某些可能用到的各組像素值。另外,候選值Cand[n](於第6圖中,n=D135)的計算所需之像素值已被對應地代換。第6圖與第3圖相仿之處不再重複贅述。In the above virtual code, in response to the condition of n=D135, each pixel value that may be used to calculate the first detection value described in step 912 has been replaced, and each may be used to calculate the number described in step 912. The pixel values of the two detected values have been replaced, and the arrows of Fig. 6 also change positions correspondingly to indicate some sets of pixel values that may be used. In addition, the pixel values required for the calculation of the candidate value Cand[n] (in FIG. 6, n=D135) have been correspondingly substituted. The similarities between Fig. 6 and Fig. 3 will not be repeated.

依據本實施例,去雜訊模組114於該些方向DN(n)當中選出其第一偵測值Det1[n]中之最小值所對應之方向DN(n0)作為該特定方向;亦即,第一偵測值Det1[n0]係為各個方向之第一偵測值Det1[n]當中之最小值。如此,步驟914所述之特定方向為n=n0的狀況下之方向DN(n0),則補償模組114可在某(些)條件成立的狀況下,利用候選值Cand[n](例如:n=n0)取代該目標像素之該像素值諸如像素值V22,以對該目標像素進行壞像素補償,其中此運作之一例的虛擬程式碼如以下所列:According to the embodiment, the de-noising module 114 selects the direction DN(n0) corresponding to the minimum value of the first detection value Det1[n] among the directions DN(n) as the specific direction; that is, The first detected value Det1[n0] is the minimum value among the first detected values Det1[n] in each direction. Thus, if the specific direction in step 914 is the direction DN(n0) in the case of n=n0, the compensation module 114 can use the candidate value Cand[n] under the condition that the condition(s) is satisfied (for example: n=n0) replaces the pixel value of the target pixel, such as the pixel value V22, to perform bad pixel compensation on the target pixel, wherein the virtual code of one of the operations is as follows:

如上面的虛擬程式碼所揭露,補償模組114比較特定方向DN(n0)之第二偵測值Det2[n0]與一門檻值TH以決定是否對該目標像素進行壞像素補償,其中門檻值TH對應於特定方向DN(n0)之第一偵測值Det1[n0]。當決定對該目標像素進行壞像素補償時,補償模組114對該目標像素進行壞像素補償。例如:本實施例之門檻值TH可描述如下:As disclosed in the above virtual code, the compensation module 114 compares the second detection value Det2[n0] of a specific direction DN(n0) with a threshold TH to determine whether to perform bad pixel compensation on the target pixel, wherein the threshold value is TH corresponds to the first detected value Det1[n0] of the specific direction DN(n0). When it is decided to perform bad pixel compensation on the target pixel, the compensation module 114 performs bad pixel compensation on the target pixel. For example, the threshold TH of this embodiment can be described as follows:

其中門檻值TH與特定方向DN(n0)之第一偵測值Det1[n0]之間的關係為線性關係,而符號Thrd1與Thrd2可代表固定值或預定(Predetermined)值。實作上,為了簡化計算,上面的虛擬程式碼中之第1列係將第二偵測值Det2[n0]與門檻值TH都乘以16,避免補償模組114進行除法運算。The relationship between the threshold TH and the first detected value Det1[n0] of the specific direction DN(n0) is a linear relationship, and the symbols Thrd1 and Thrd2 may represent a fixed value or a predetermined value. In practice, in order to simplify the calculation, the first column in the above virtual code multiplies the second detected value Det2[n0] and the threshold TH by 16 to prevent the compensation module 114 from performing the division operation.

請注意,依據第3圖至第6圖所示之實施例,偵測模組112於步驟912中,針對該些方向中之每一方向,計算該目標像素附近之複數組第二像素值的差之絕對值之和作為該第二偵測值。這只是為了說明的目的而已,並非對本發明之限制。依據本實施例之某些變化例,偵測模組112於步驟912中,針對該特定方向,計算該目標像素附近之複數組第二像素值的差之絕對值之和作為該第二偵測值。也就是說,這些變化例之偵測模組112於步驟912中不需要針對該些方向當中的其它方向(即該特定方向之外的其它方向)計算任何第二偵測值。Please note that, according to the embodiment shown in FIG. 3 to FIG. 6, the detecting module 112 calculates, in step 912, the second pixel value of the complex array near the target pixel for each of the directions. The sum of the absolute values of the differences is taken as the second detected value. This is for illustrative purposes only and is not a limitation of the invention. According to some variations of the embodiment, the detecting module 112 calculates, in the step 912, the sum of the absolute values of the differences of the second pixel values of the complex array in the vicinity of the target pixel as the second detection. value. That is, the detection module 112 of these variations does not need to calculate any second detection value for the other directions among the directions (ie, other directions than the specific direction) in step 912.

本發明的好處之一是,本發明能避免相關技術之問題諸如不良的影像品質。尤其是,本發明能妥善地進行壞像素補償。即使在採用低階的硬體資源之狀況下,本發明仍能保持良好的影像品質。One of the advantages of the present invention is that the present invention can avoid problems of the related art such as poor image quality. In particular, the present invention can properly perform bad pixel compensation. The present invention maintains good image quality even in the case of using low-order hardware resources.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

100,100’...用來進行壞像素補償之裝置100,100’. . . Device for performing bad pixel compensation

105...影像感測器105. . . Image sensor

110,110’...處理電路110,110’. . . Processing circuit

110P...程式碼110P. . . Code

112,112’...偵測模組112, 112’. . . Detection module

114,114’...補償模組114,114’. . . Compensation module

910...用來進行壞像素補償之方法910. . . Method for performing bad pixel compensation

912,914...步驟912,914. . . step

S1,S2...影像訊號S1, S2. . . Image signal

V00,V01,V02,V03,V04,V10,V11,V12,V13,V14,V20,V21,V22,V23,V24,V30,V31,V32,V33,V34,V40,V41,V42,V43,V44...像素值V00, V01, V02, V03, V04, V10, V11, V12, V13, V14, V20, V21, V22, V23, V24, V30, V31, V32, V33, V34, V40, V41, V42, V43, V44. . . Pixel values

第1A圖為依據本發明一第一實施例之一種用來進行壞像素補償之裝置的示意圖。1A is a schematic diagram of an apparatus for performing bad pixel compensation in accordance with a first embodiment of the present invention.

第1B圖為依據本發明一第二實施例之一種用來進行壞像素補償之裝置的示意圖。1B is a schematic diagram of an apparatus for performing bad pixel compensation in accordance with a second embodiment of the present invention.

第2圖為依據本發明一實施例之一種用來進行壞像素補償之方法的流程圖。2 is a flow chart of a method for performing bad pixel compensation in accordance with an embodiment of the present invention.

第3圖至第6圖繪示一實施例中關於第2圖所示之方法所涉及之實施細節。3 to 6 illustrate implementation details of the method shown in FIG. 2 in an embodiment.

910...用來進行壞像素補償之方法910. . . Method for performing bad pixel compensation

912,914...步驟912,914. . . step

Claims (20)

一種用來進行壞像素補償之方法,該方法包含有:針對複數個方向之每一方向,計算一影像中之一目標像素附近之複數組第一像素值的差之絕對值之和作為一第一偵測值,且針對該些方向中之至少一部分之每一方向,計算該目標像素附近之複數組第二像素值的差之絕對值之和作為一第二偵測值,其中該些組第一像素值與該些組第二像素值中之每一組包含對應於一差值之兩個像素值,同一組之兩個像素值屬於同一色彩通道(Color Channel),而每一組第一像素值不包含該目標像素之一像素值,且每一組第二像素值包含該目標像素之該像素值;以及針對該些方向中之一特定方向,依據該第一偵測值與該第二偵測值選擇性地對該目標像素進行壞像素補償。A method for performing bad pixel compensation, the method comprising: calculating, for each direction of a plurality of directions, a sum of absolute values of differences of first pixel values of a complex array near a target pixel in an image as a first a detection value, and for each direction of at least a part of the directions, calculating a sum of absolute values of differences of second pixel values of the complex array near the target pixel as a second detection value, wherein the groups Each of the first pixel value and the second set of pixel values includes two pixel values corresponding to a difference, and two pixel values of the same group belong to the same color channel (Color Channel), and each group One pixel value does not include one pixel value of the target pixel, and each set of second pixel values includes the pixel value of the target pixel; and for one of the specific directions, according to the first detection value and the The second detected value selectively performs bad pixel compensation on the target pixel. 如申請專利範圍第1項所述之方法,其中針對該些方向之每一方向,該些組第一像素值對應於依據該方向排列的至少三直線上之像素。The method of claim 1, wherein the set of first pixel values corresponds to pixels on at least three lines arranged according to the direction for each of the directions. 如申請專利範圍第1項所述之方法,其中針對該些方向中之該至少一部分之每一方向,該些組第二像素值對應於依據該方向排列的一直線上之像素。The method of claim 1, wherein the set of second pixel values correspond to pixels on a straight line arranged according to the direction for each of the at least a portion of the directions. 如申請專利範圍第1項所述之方法,其中依據該第一偵測值與該第二偵測值選擇性地對該目標像素進行壞像素補償之步驟另包含:依據該些方向之每一方向之該第一偵測值,於該些方向中選擇出該特定方向。The method of claim 1, wherein the step of selectively performing bad pixel compensation on the target pixel according to the first detection value and the second detection value further comprises: according to each of the directions The first detected value of the direction selects the specific direction among the directions. 如申請專利範圍第1項所述之方法,其中依據該第一偵測值與該第二偵測值選擇性地對該目標像素進行壞像素補償之步驟另包含:比較該特定方向之該第二偵測值與一門檻值以決定是否對該目標像素進行壞像素補償,其中該門檻值對應於該特定方向之該第一偵測值;以及當決定對該目標像素進行壞像素補償時,對該目標像素進行壞像素補償。The method of claim 1, wherein the step of selectively performing bad pixel compensation on the target pixel according to the first detection value and the second detection value further comprises: comparing the specific direction a detection value and a threshold value to determine whether to perform bad pixel compensation on the target pixel, wherein the threshold value corresponds to the first detection value in the specific direction; and when it is decided to perform bad pixel compensation on the target pixel, Bad pixel compensation is performed on the target pixel. 如申請專利範圍第5項所述之方法,其中該門檻值與該特定方向之該第一偵測值之間的關係為線性關係。The method of claim 5, wherein the relationship between the threshold value and the first detected value of the specific direction is a linear relationship. 如申請專利範圍第1項所述之方法,其中依據該第一偵測值與該第二偵測值選擇性地對該目標像素進行壞像素補償之步驟另包含:當決定對該目標像素進行壞像素補償時,依據一候選值對該目標像素進行壞像素補償,其中該候選值對應於該特定方向之該些組第二像素值中之一部分像素值。The method of claim 1, wherein the step of selectively performing bad pixel compensation on the target pixel according to the first detection value and the second detection value further comprises: when deciding to perform the target pixel In the case of bad pixel compensation, the target pixel is subjected to bad pixel compensation according to a candidate value, wherein the candidate value corresponds to one of the set of second pixel values in the specific direction. 如申請專利範圍第7項所述之方法,其中該候選值係為該特定方向之該些組第二像素值當中除了該目標像素之該像素值之外的像素值之平均值。The method of claim 7, wherein the candidate value is an average of pixel values of the set of second pixel values in the specific direction other than the pixel value of the target pixel. 如申請專利範圍第7項所述之方法,其中依據該第一偵測值與該第二偵測值選擇性地對該目標像素進行壞像素補償之步驟另包含:利用該候選值取代該目標像素之該像素值,以對該目標像素進行壞像素補償。The method of claim 7, wherein the step of selectively performing bad pixel compensation on the target pixel according to the first detection value and the second detection value further comprises: replacing the target with the candidate value The pixel value of the pixel to perform bad pixel compensation on the target pixel. 如申請專利範圍第1項所述之方法,其中該影像係為一拜耳圖樣(Bayer Pattern)影像。The method of claim 1, wherein the image is a Bayer Pattern image. 一種用來進行壞像素補償之裝置,該裝置包含有:一處理電路,用來接收代表一影像之至少一影像訊號,並對該影像進行壞像素補償,其中該處理電路包含有:一偵測模組,用來針對複數個方向之每一方向,計算一影像中之一目標像素附近之複數組第一像素值的差之絕對值之和作為一第一偵測值,且針對該些方向中之至少一部分之每一方向,計算該目標像素附近之複數組第二像素值的差之絕對值之和作為一第二偵測值,其中該些組第一像素值與該些組第二像素值中之每一組包含對應於一差值之兩個像素值,同一組之兩個像素值屬於同一色彩通道(Color Channel),而每一組第一像素值不包含該目標像素之一像素值,且每一組第二像素值包含該目標像素之該像素值;以及一補償模組,用來針對該些方向中之一特定方向,依據該第一偵測值與該第二偵測值選擇性地對該目標像素進行壞像素補償。A device for performing bad pixel compensation, the device comprising: a processing circuit for receiving at least one image signal representing an image, and performing bad pixel compensation on the image, wherein the processing circuit comprises: detecting a module, configured to calculate a sum of absolute values of differences of first pixel values of a complex array near a target pixel in an image as a first detection value for each direction of the plurality of directions, and for the directions Calculating, in each direction of at least a part of the target, a sum of absolute values of differences of second pixel values of the complex array in the vicinity of the target pixel as a second detection value, wherein the group of first pixel values and the second group of the groups Each of the pixel values includes two pixel values corresponding to a difference, two pixel values of the same group belong to the same color channel, and each set of first pixel values does not include one of the target pixels a pixel value, and each set of second pixel values includes the pixel value of the target pixel; and a compensation module for using a specific direction of the one of the directions, according to the first detected value and the second detect Measure selection Of the target pixel to compensate for bad pixel. 如申請專利範圍第11項所述之裝置,其中針對該些方向之每一方向,該些組第一像素值對應於依據該方向排列的至少三直線上之像素。The device of claim 11, wherein for each of the directions, the set of first pixel values correspond to pixels on at least three lines arranged in accordance with the direction. 如申請專利範圍第11項所述之裝置,其中針對該些方向中之該至少一部分之每一方向,該些組第二像素值對應於依據該方向排列的一直線上之像素。The device of claim 11, wherein the set of second pixel values correspond to pixels on a straight line arranged according to the direction for each of the at least a portion of the directions. 如申請專利範圍第11項所述之裝置,其中該補償模組依據該些方向之每一方向之該第一偵測值,於該些方向中選擇出該特定方向。The device of claim 11, wherein the compensation module selects the specific direction in the directions according to the first detection value in each direction of the directions. 如申請專利範圍第11項所述之裝置,其中該補償模組比較該特定方向之該第二偵測值與一門檻值以決定是否對該目標像素進行壞像素補償,而該門檻值對應於該特定方向之該第一偵測值;以及當決定對該目標像素進行壞像素補償時,該補償模組對該目標像素進行壞像素補償。The device of claim 11, wherein the compensation module compares the second detection value and the threshold value in the specific direction to determine whether to perform bad pixel compensation on the target pixel, and the threshold value corresponds to The first detection value of the specific direction; and when determining to perform bad pixel compensation on the target pixel, the compensation module performs bad pixel compensation on the target pixel. 如申請專利範圍第15項所述之裝置,其中該門檻值與該特定方向之該第一偵測值之間的關係為線性關係。The device of claim 15, wherein the relationship between the threshold value and the first detected value of the specific direction is a linear relationship. 如申請專利範圍第11項所述之裝置,其中當決定對該目標像素進行壞像素補償時,該補償模組依據一候選值對該目標像素進行壞像素補償,而該候選值對應於該特定方向之該些組第二像素值中之一部分像素值。The device of claim 11, wherein when determining to perform bad pixel compensation on the target pixel, the compensation module performs bad pixel compensation on the target pixel according to a candidate value, and the candidate value corresponds to the specific One of the set of second pixel values of the set of pixel values. 如申請專利範圍第17項所述之裝置,其中該候選值係為該特定方向之該些組第二像素值當中除了該目標像素之該像素值之外的像素值之平均值。The device of claim 17, wherein the candidate value is an average of pixel values of the set of second pixel values in the particular direction other than the pixel value of the target pixel. 如申請專利範圍第17項所述之裝置,其中該補償模組利用該候選值取代該目標像素之該像素值,以對該目標像素進行壞像素補償。The device of claim 17, wherein the compensation module replaces the pixel value of the target pixel with the candidate value to perform bad pixel compensation on the target pixel. 如申請專利範圍第11項所述之裝置,其中該影像係為一拜耳圖樣(Bayer Pattern)影像。The device of claim 11, wherein the image is a Bayer Pattern image.
TW099126728A 2010-08-11 2010-08-11 Method and apparatus for performing bad pixel compensation TWI407801B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW099126728A TWI407801B (en) 2010-08-11 2010-08-11 Method and apparatus for performing bad pixel compensation
US12/917,499 US8422816B2 (en) 2010-08-11 2010-11-02 Method and apparatus for performing bad pixel compensation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099126728A TWI407801B (en) 2010-08-11 2010-08-11 Method and apparatus for performing bad pixel compensation

Publications (2)

Publication Number Publication Date
TW201208388A TW201208388A (en) 2012-02-16
TWI407801B true TWI407801B (en) 2013-09-01

Family

ID=45564875

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099126728A TWI407801B (en) 2010-08-11 2010-08-11 Method and apparatus for performing bad pixel compensation

Country Status (2)

Country Link
US (1) US8422816B2 (en)
TW (1) TWI407801B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI492621B (en) * 2012-02-10 2015-07-11 Novatek Microelectronics Corp Adaptive image processing method and related device
CN103297717B (en) * 2012-02-22 2016-04-27 联咏科技股份有限公司 Adapting to image processing method and relevant apparatus thereof
JP6045523B2 (en) * 2014-02-27 2016-12-14 キヤノン株式会社 Image processing apparatus and control method thereof
JP5970012B2 (en) 2014-02-27 2016-08-17 キヤノン株式会社 Image processing apparatus and control method thereof
EP3756341A1 (en) 2018-02-21 2020-12-30 Aselsan Elektronik Sanayi ve Ticaret Anonim Sirketi Method for target detection and bad pixel replacement by controlled camera motion
CN113962974A (en) * 2021-10-27 2022-01-21 阿波罗智联(北京)科技有限公司 Image processing method, image processing apparatus, electronic device, and medium
KR20250052122A (en) * 2023-10-11 2025-04-18 에스케이하이닉스 주식회사 Image signal processor and method for processing image signal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040213345A1 (en) * 2002-09-04 2004-10-28 Microsoft Corporation Multi-resolution video coding and decoding
US20050123274A1 (en) * 2003-09-07 2005-06-09 Microsoft Corporation Signaling coding and display options in entry point headers
US20080259067A1 (en) * 2007-04-20 2008-10-23 Hon Hai Precision Industry Co., Ltd. Method for adjusting backlight brightness and electronic device using the same
US20090303357A1 (en) * 2004-03-30 2009-12-10 Canon Kabushiki Kaisha Method and apparatus for correcting a defective pixel
TW201017155A (en) * 2008-09-25 2010-05-01 Photon Dynamics Inc Automatic dynamic pixel map correction and drive signal calibration
TW201020912A (en) * 2008-10-18 2010-06-01 Micron Technology Inc Indirect register access method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4239091B2 (en) * 2004-02-09 2009-03-18 ノーリツ鋼機株式会社 Image processing apparatus, method, and program
JP4388909B2 (en) * 2005-04-25 2009-12-24 イーストマン コダック カンパニー Pixel defect correction device
US8089537B2 (en) * 2005-08-23 2012-01-03 Nikon Corporation Image processing system and image processing program for defective pixel correction
US7800661B2 (en) * 2006-12-22 2010-09-21 Qualcomm Incorporated Programmable pattern matching device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040213345A1 (en) * 2002-09-04 2004-10-28 Microsoft Corporation Multi-resolution video coding and decoding
US20050123274A1 (en) * 2003-09-07 2005-06-09 Microsoft Corporation Signaling coding and display options in entry point headers
US20090303357A1 (en) * 2004-03-30 2009-12-10 Canon Kabushiki Kaisha Method and apparatus for correcting a defective pixel
US20080259067A1 (en) * 2007-04-20 2008-10-23 Hon Hai Precision Industry Co., Ltd. Method for adjusting backlight brightness and electronic device using the same
TW201017155A (en) * 2008-09-25 2010-05-01 Photon Dynamics Inc Automatic dynamic pixel map correction and drive signal calibration
TW201020912A (en) * 2008-10-18 2010-06-01 Micron Technology Inc Indirect register access method and system

Also Published As

Publication number Publication date
US20120039545A1 (en) 2012-02-16
TW201208388A (en) 2012-02-16
US8422816B2 (en) 2013-04-16

Similar Documents

Publication Publication Date Title
TWI407801B (en) Method and apparatus for performing bad pixel compensation
CN102469273B (en) Method for removing image noise and device for removing image noise
EP3354009B1 (en) Phase detection autofocus arithmetic
CN102469275B (en) Method for Compensating Bad Pixels and Device for Compensating Bad Pixels
US20090040343A1 (en) Methods and apparatuses for defective pixel detection and correction
CN107920246B (en) Inclination testing method and device for camera module
US20130229550A1 (en) Defective pixel correction apparatus, method for controlling the apparatus, and program for causing computer to perform the method
US9030579B2 (en) Image processing apparatus and control method that corrects a signal level of a defective pixel
US7158690B2 (en) Enhancing the resolution of measurement systems employing image capturing systems to measure lengths
JP6397236B2 (en) Image processing apparatus and image processing method
US8208030B2 (en) Method and unit for motion detection based on a difference histogram
US9147257B2 (en) Consecutive thin edge detection system and method for enhancing a color filter array image
KR101327790B1 (en) Image interpolation method and apparatus
CN116563388A (en) Calibration data acquisition method and device, electronic equipment and storage medium
JP2005318498A (en) Noise reduction device, noise reduction method, and imaging device
US8855443B2 (en) Detection of non-uniform spatial scaling of an image
US20130223692A1 (en) Method for logo detection in memc
JP2009250937A (en) Pattern inspection device and method
TWI488484B (en) Method and apparatus for performing de-noise processing
JP6063728B2 (en) Defective pixel detection device, defective pixel detection method, and program
CN101442680B (en) Image Displacement Detection Method
JP6184277B2 (en) Image processing device
JP4331120B2 (en) Defective pixel detection method
JP2009290277A (en) Signal processor
JP5655480B2 (en) Video encoding device