JP4397869B2 - Smear correction method and smear correction circuit - Google Patents

Smear correction method and smear correction circuit Download PDF

Info

Publication number
JP4397869B2
JP4397869B2 JP2005267368A JP2005267368A JP4397869B2 JP 4397869 B2 JP4397869 B2 JP 4397869B2 JP 2005267368 A JP2005267368 A JP 2005267368A JP 2005267368 A JP2005267368 A JP 2005267368A JP 4397869 B2 JP4397869 B2 JP 4397869B2
Authority
JP
Japan
Prior art keywords
pixel
value
smear
smear correction
correction
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.)
Expired - Fee Related
Application number
JP2005267368A
Other languages
Japanese (ja)
Other versions
JP2007081858A (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.)
Fujitsu Semiconductor Ltd
Original Assignee
Fujitsu Semiconductor 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 Fujitsu Semiconductor Ltd filed Critical Fujitsu Semiconductor Ltd
Priority to JP2005267368A priority Critical patent/JP4397869B2/en
Publication of JP2007081858A publication Critical patent/JP2007081858A/en
Application granted granted Critical
Publication of JP4397869B2 publication Critical patent/JP4397869B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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/63Noise processing, e.g. detecting, correcting, reducing or removing noise applied to dark current

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Solid State Image Pick-Up Elements (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)

Description

この発明は、CCD(Charge Coupled Devices)やCiS(CMOSイメージセンサ)等の固体撮像素子を使用した撮像装置に搭載される画像処理装置に関するものである。
固体撮像素子を使用した撮像装置では、高輝度の被写体を撮像したときに、スミア現象による画質劣化が発生する。そこで、スミア現象による画質劣化を補正する画像処理装置が必要となっている。
The present invention relates to an image processing apparatus mounted on an imaging apparatus using a solid-state imaging element such as a CCD (Charge Coupled Devices) or a CiS (CMOS image sensor).
In an imaging apparatus using a solid-state imaging device, image quality deterioration due to a smear phenomenon occurs when a high-luminance subject is imaged. Therefore, an image processing apparatus that corrects image quality deterioration due to a smear phenomenon is required.

図11は、スミア現象により画質劣化が発生した画像を示す。スミア現象は、例えば光源等の高輝度の被写体を撮像したとき、その被写体に対応する高輝度部1から上下方向に延びる白い縦筋状のスミア2が発生する。この現象は、高輝度部1において本来の電荷蓄積領域に捕捉されなかった電荷がポテンシャル領域を乗り越えて垂直転送路に漏れ込むことによるものである。   FIG. 11 shows an image in which image quality deterioration has occurred due to the smear phenomenon. In the smear phenomenon, for example, when a high-brightness subject such as a light source is imaged, a white vertical streak 2 extending vertically from the high-brightness portion 1 corresponding to the subject is generated. This phenomenon is due to the charge that was not trapped in the original charge accumulation region in the high luminance portion 1 getting over the potential region and leaking into the vertical transfer path.

この現象を補正する方法として、スミア2は垂直方向にほぼ同レベルで発生することから、次のような処理が行われている。すなわち、有効画素領域外の遮光されたOB(オプチカルブラック)領域3において、スミア2が発生している画素出力の積分値をスミア成分として算出する。そして、そのスミア成分をスミア2が発生している縦方向の各ラインの画素出力からそれぞれ減算することにより、スミア2が補正される。   As a method for correcting this phenomenon, since the smear 2 is generated at substantially the same level in the vertical direction, the following processing is performed. In other words, in the light-shielded OB (optical black) region 3 outside the effective pixel region, the integrated value of the pixel output where the smear 2 is generated is calculated as a smear component. Then, the smear 2 is corrected by subtracting the smear component from the pixel output of each vertical line in which the smear 2 is generated.

ところが、撮像装置に使用されている撮像素子には出力レベルに限界があり、その出力レベルを超えるような強い光を受光した場合には、上記のようなスミア補正ではかえって画質劣化を発生することがある。   However, there is a limit in the output level of the image sensor used in the image pickup device, and when strong light exceeding the output level is received, the smear correction as described above may cause image quality degradation. There is.

すなわち、高輝度部1内の複数の垂直ラインで撮像素子が飽和状態となり、高輝度部1の中心部のスミア2のスミア成分が高輝度部1の外周部近傍のスミア成分より大きくなると、高輝度部1の中心部におけるスミア成分の減算値が高輝度部1の外周部近傍におけるスミア成分の減算値より大きくなって、高輝度部1の中央部に黒い縦筋が発生する。
特開2001−14943号公報 特開2003−174642号公報
That is, when the imaging device is saturated in a plurality of vertical lines in the high luminance portion 1 and the smear component of the smear 2 in the central portion of the high luminance portion 1 is larger than the smear component in the vicinity of the outer peripheral portion of the high luminance portion 1, The subtraction value of the smear component in the central portion of the luminance portion 1 becomes larger than the subtraction value of the smear component in the vicinity of the outer peripheral portion of the high luminance portion 1, and black vertical stripes are generated in the central portion of the high luminance portion 1.
JP 2001-14493 A JP 2003-174642 A

上記のように、スミア補正により高輝度部1で黒筋が発生するのは、高輝度部1内に含まれる複数の垂直方向ラインで撮像素子が飽和状態となり、かつ各ラインのスミア成分に比較的大きな差が生じている場合である。   As described above, black streaks are generated in the high luminance portion 1 due to the smear correction. The image sensor is saturated in a plurality of vertical lines included in the high luminance portion 1 and is compared with the smear component of each line. This is a case where there is a significant difference.

特許文献1に記載された撮像装置では、画像信号レベルが飽和しているときには、補正を行わないことにより、黒筋の発生を防止する構成が開示されている。しかし、隣接する垂直ラインの出力レベルが飽和していない場合にもスミア補正を行わないので、スミアを確実に除去することができない。   In the imaging apparatus described in Patent Document 1, a configuration is disclosed in which the occurrence of black stripes is prevented by not performing correction when the image signal level is saturated. However, since the smear correction is not performed even when the output level of the adjacent vertical line is not saturated, the smear cannot be reliably removed.

特許文献2に記載された画像処理装置では、OB領域を利用することなく、監視領域の画素とその周辺の画素との輝度差に基づいてスミア発生領域を検出する構成が開示されている。   In the image processing apparatus described in Patent Document 2, a configuration is disclosed in which a smear occurrence region is detected based on a luminance difference between a pixel in a monitoring region and its surrounding pixels without using an OB region.

この発明の目的は、スミアを確実に除去し、かつスミア補正による黒筋の発生を未然に防止することにある。   An object of the present invention is to reliably remove smear and to prevent black streaks from occurring due to smear correction.

上記目的は、OB領域内の撮像データから水平アドレス毎にスミア補正値を算出し、該スミア補正値を有効画素領域内の各画素の画素値から減算するスミア補正方法で、前記スミア補正値があらかじめ設定された第1しきい値を超えず、スミア補正の対象となる注目画素の画素値又は該注目画素と同一水平アドレスで隣接する画素の画素値の少なくとも一方が、各画素の画素値が飽和レベルを超えているか否かを判定するためにあらかじめ設定された第2しきい値を超えないとき、前記注目画素に対するスミア補正値の減算を行い、前記スミア補正値が前記第1しきい値を超えず、前記注目画素の画素値及び前記隣接する画素の画素値が前記第2しきい値を共に超えるとき、該注目画素に対するスミア補正値の減算を行わないスミア補正方法により達成される。 The above object calculates a smear correction value for each horizontal address from the image data of the OB region, in the smear correction method is subtracted from the pixel value of each pixel in the effective pixel region the smear correction value, the smear correction value At least one of the pixel value of the pixel of interest that is subject to smear correction or the pixel value of the pixel adjacent to the pixel of interest at the same horizontal address without exceeding the preset first threshold value is the pixel value of each pixel. When a second threshold value set in advance to determine whether or not the saturation level is exceeded, a smear correction value is subtracted from the pixel of interest, and the smear correction value is the first threshold value. the not exceed, when the pixel values of the pixels pixel value and the adjacent the pixel of interest is greater than both the second threshold value, the smear correction method does not perform subtraction of smear correction value for the target pixel More is achieved.

また、上記目的は、OB領域内の撮像データから水平アドレス毎にスミア補正値を算出する補正テーブル生成部と、有効画素領域内の撮像データから、各画素の画素値が飽和レベルを超えているか否かを判断する飽和判断部と、前記飽和判断部の判断結果に基づいて、スミア補正の対象となる注目画素と該注目画素と同一水平アドレスで隣接する画素の画素値が共にしきい値を超えるとき、該注目画素に対するスミア補正値の減算を行わず、スミア補正の対象となる注目画素と該注目画素と同一水平アドレスで隣接する画素の少なくともいずれかの画素値がしきい値を超えないとき、該注目画素に対するスミア補正値の減算を行う補正処理部とを備えたスミア補正回路により達成される。 In addition, the purpose is to calculate a smear correction value for each horizontal address from the imaging data in the OB area and whether the pixel value of each pixel exceeds the saturation level from the imaging data in the effective pixel area. Based on the result of determination by the saturation determination unit and the saturation determination unit, both the pixel value of the target pixel subjected to smear correction and the pixel value of the pixel adjacent to the target pixel at the same horizontal address have threshold values. than when not I row subtraction smear correction value for the target pixel, at least one of pixel values of pixels adjacent the target pixel and the target pixel and the same horizontal address to be smear correction exceeds the threshold If not, the smear correction circuit includes a correction processing unit that subtracts the smear correction value for the target pixel.

本発明によれば、スミアを確実に除去し、かつスミア補正による黒筋の発生を未然に防止することができる。   According to the present invention, it is possible to surely remove smear and prevent black streaks from occurring due to smear correction.

以下、この発明を具体化した一実施の形態を図面に従って説明する。図1に示す画像処理部11内のスミア検波補正部12には、撮像素子から撮像信号(撮像データ)Sが入力される。スミア検波補正部12は、撮像信号Sに対しスミア補正処理を行い、処理済信号を画素補間部13に出力する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. An imaging signal (imaging data) S is input from the imaging device to the smear detection correction unit 12 in the image processing unit 11 illustrated in FIG. The smear detection correction unit 12 performs a smear correction process on the imaging signal S and outputs a processed signal to the pixel interpolation unit 13.

画素補間部13は、スミア検波補正部12から出力されるベイア配列データに対し画素補間を行い、RGBデータとして表示装置に出力する。
前記スミア検波補正部12の具体的構成を図2に示す。撮像信号Sは、スミア減算補正回路14と、飽和判断部15と、補正テーブル生成部16と、シフトレジスタ17に入力される。
The pixel interpolation unit 13 performs pixel interpolation on the Bayer array data output from the smear detection correction unit 12 and outputs the data to the display device as RGB data.
A specific configuration of the smear detection correction unit 12 is shown in FIG. The imaging signal S is input to the smear subtraction correction circuit 14, the saturation determination unit 15, the correction table generation unit 16, and the shift register 17.

撮像信号Sは、撮像された画像を水平方向に走査した信号が1画素分ずつクロック信号に従って入力され、その走査はOB領域から順次行われる。そして、スミア検波補正部12を構成する各回路は、クロック信号に同期して動作する。   As the imaging signal S, a signal obtained by scanning the captured image in the horizontal direction is input for each pixel according to the clock signal, and the scanning is sequentially performed from the OB area. Each circuit constituting the smear detection correction unit 12 operates in synchronization with the clock signal.

前記飽和判断部15には、撮像信号Sが飽和レベルを超えているか否かを判定するためのしきい値T1が入力されている。そして、飽和判断部15は各撮像信号Sがしきい値T1を超えているか否かを判定し、その判定結果を「1」若しくは「0」の判定信号としてシフトレジスタ18に順次出力する。   A threshold value T1 for determining whether or not the imaging signal S exceeds a saturation level is input to the saturation determination unit 15. Then, the saturation determination unit 15 determines whether or not each imaging signal S exceeds the threshold value T1, and sequentially outputs the determination result to the shift register 18 as a determination signal “1” or “0”.

前記補正テーブル生成部16は、入力されるOB領域の撮像信号Sからスミア補正のための補正テーブルを生成する。すなわち、OB領域の撮像信号Sの出力レベルの最小値と、OB領域内の垂直方向の各ラインの出力レベルとの差をスミア成分として検出し、そのスミア成分を垂直方向の各ライン毎(水平方向のアドレス毎)のスミア補正値としてスミア補正テーブル19に格納する。   The correction table generation unit 16 generates a correction table for smear correction from the input image signal S of the OB area. That is, a difference between the minimum value of the output level of the imaging signal S in the OB area and the output level of each line in the vertical direction in the OB area is detected as a smear component, and the smear component is detected for each line in the vertical direction (horizontal This is stored in the smear correction table 19 as a smear correction value for each direction address).

有効画素領域の撮像信号Sが順次入力されるとき、スミア補正テーブル19に格納されたスミア補正値の中から当該撮像信号の水平方向アドレスに対応するスミア補正値がしきい値比較部20に出力される。しきい値比較部20には、あらかじめ設定されている補正レベルのしきい値T2が入力されている。そして、しきい値比較部20はスミア補正値がしきい値T2を超えているか否かを判定し、その判定結果を「1」若しくは「0」の判定信号としてシフトレジスタ21に出力する。   When the imaging signal S of the effective pixel region is sequentially input, the smear correction value corresponding to the horizontal address of the imaging signal is output to the threshold value comparison unit 20 from the smear correction values stored in the smear correction table 19. Is done. A threshold value T2 having a preset correction level is input to the threshold value comparison unit 20. Then, the threshold comparison unit 20 determines whether or not the smear correction value exceeds the threshold T2, and outputs the determination result to the shift register 21 as a determination signal “1” or “0”.

スミア補正テーブル19に格納された各ライン毎のスミア補正値は、クロック信号に基づいて水平アドレス順にシフトレジスタ22に順次出力される。シフトレジスタ22は、常時3アドレス分のスミア補正値を保持し、各補正値をLPF(ローパスフィルター)23に出力する。   The smear correction values for each line stored in the smear correction table 19 are sequentially output to the shift register 22 in the order of horizontal addresses based on the clock signal. The shift register 22 always holds smear correction values for three addresses and outputs each correction value to an LPF (low-pass filter) 23.

LPF23は、3アドレス分のスミア補正値の差を平滑化して、3アドレスのうちの中間のアドレスのスミア補正値として、スミア減算補正回路14に出力する。
前記シフトレジスタ18には、前記飽和判断部15から出力される判断結果が常時3アドレス分格納されており、その3アドレス分の判断結果が補正判断部25に出力される。
The LPF 23 smoothes the difference between the smear correction values for three addresses, and outputs it to the smear subtraction correction circuit 14 as a smear correction value for an intermediate address among the three addresses.
The shift register 18 always stores the determination results output from the saturation determination unit 15 for three addresses, and the determination results for the three addresses are output to the correction determination unit 25.

前記シフトレジスタ21にはしきい値比較部20で判定された判定結果が2アドレス分順次格納され、先に格納された判定結果が補正判断部25に出力される。従って、補正判断部25に出力される判断結果は、シフトレジスタ18から補正判断部25に出力される3アドレス分の判断結果のうち中間アドレスの判断結果に対応するものとなる。   The shift register 21 sequentially stores the determination results determined by the threshold value comparison unit 20 for two addresses, and the previously stored determination results are output to the correction determination unit 25. Therefore, the determination result output to the correction determination unit 25 corresponds to the determination result of the intermediate address among the determination results for three addresses output from the shift register 18 to the correction determination unit 25.

前記補正判断部25は、シフトレジスタ18,21から出力される判断結果に基づいてスミア補正を行うか否かを判断し、その判断結果をスミア減算補正回路14に出力する。
前記シフトレジスタ17は、常時5アドレス分の画素値を格納し、その画素値をスミア減算補正回路14に並行して出力する。
The correction determination unit 25 determines whether or not to perform smear correction based on the determination results output from the shift registers 18 and 21, and outputs the determination result to the smear subtraction correction circuit 14.
The shift register 17 always stores pixel values for five addresses and outputs the pixel values to the smear subtraction correction circuit 14 in parallel.

スミア減算補正回路14は、補正判断部25の判断結果が補正可であれば、画素値からスミア補正値を減算する処理を行って、処理済信号を出力する。また、補正判断部25の判断結果が補正不可であれば、スミア補正値を減算する処理を行わないで処理済信号として出力する。   If the determination result of the correction determination unit 25 is correctable, the smear subtraction correction circuit 14 performs a process of subtracting the smear correction value from the pixel value and outputs a processed signal. On the other hand, if the determination result of the correction determination unit 25 is uncorrectable, the processed signal is output without performing the process of subtracting the smear correction value.

さらに、画素値がしきい値T1を超え、さらに当該画素値に対応する水平アドレスのスミア補正値がしきい値T2を超えているときには、当該画素値を隣接同色画素の平均に置き換える処理を行い、処理済信号として出力する。   Further, when the pixel value exceeds the threshold value T1 and the smear correction value of the horizontal address corresponding to the pixel value exceeds the threshold value T2, the pixel value is replaced with an average of adjacent pixels of the same color. And output as a processed signal.

図3は、前記補正テーブル生成部16の具体的構成を示す。オフセット処理部26には撮像信号Sが入力されるとともに、OB領域の撮像素子の色種別毎の最小のスミア成分がオフセット値OFとして入力される。そして、オフセット処理部26は入力されるOB領域の撮像信号からオフセット値OFを減算することにより、スミア補正値を生成するようになっている。   FIG. 3 shows a specific configuration of the correction table generator 16. The image pickup signal S is input to the offset processing unit 26, and the minimum smear component for each color type of the image pickup device in the OB region is input as the offset value OF. Then, the offset processing unit 26 generates a smear correction value by subtracting the offset value OF from the input image signal of the OB area.

次に、上記のように構成されたスミア検波補正部12の補正判断部25及びスミア減算補正回路14の動作を図4〜図10に従って説明する。
さて、有効画素領域内の撮像信号Sが順次入力されると、補正判断部25ではシフトレジスタ18から入力される3アドレス分の判断結果のうち中央のアドレスを注目画素の判断結果とし、注目画素に対応するスミア補正値がしきい値T2を超えているか否かをシフトレジスタ21から出力される判断結果に基づいて判定する(ステップ1)。
Next, operations of the correction determination unit 25 and the smear subtraction correction circuit 14 of the smear detection correction unit 12 configured as described above will be described with reference to FIGS.
When the imaging signal S in the effective pixel area is sequentially input, the correction determination unit 25 uses the central address among the determination results for three addresses input from the shift register 18 as the determination result of the target pixel, and the target pixel. Is determined based on the determination result output from the shift register 21 (step 1).

ステップ1において、スミア補正値がしきい値T2を超えていないと、注目画素の画素値(出力レベル)がしきい値T1を超えているか否かを判断する(ステップ2)。そして、しきい値T1を超えていない場合にはLPF23から出力されるスミア補正値を注目画素の出力レベルから減算する処理がスミア減算補正回路14で行われる(ステップ2,3)。   If the smear correction value does not exceed the threshold value T2 in step 1, it is determined whether or not the pixel value (output level) of the pixel of interest exceeds the threshold value T1 (step 2). If the threshold value T1 is not exceeded, the smear subtraction correction circuit 14 performs processing for subtracting the smear correction value output from the LPF 23 from the output level of the target pixel (steps 2 and 3).

図5は、ステップ1〜3の処理を行う場合を示す。3アドレスの画素値A1〜A3は隣接する3本の垂直ラインで同一水平アドレスの画素値を示す。ここで注目アドレスはA2である。そして、スミア補正値B1〜B3は各画素値A1〜A3に対応するスミア補正値すなわち対応する垂直ラインのスミア補正値である。   FIG. 5 shows a case where the processing of steps 1 to 3 is performed. Three address pixel values A1 to A3 indicate pixel values at the same horizontal address in three adjacent vertical lines. Here, the attention address is A2. The smear correction values B1 to B3 are smear correction values corresponding to the pixel values A1 to A3, that is, the smear correction values of the corresponding vertical lines.

上記のように、注目画素A2に対応するスミア補正値B2はしきい値T2未満であり、注目画素A2の画素値はしきい値T1未満である。従って、注目画素A2の画素値からスミア補正値B2が減算されて、処理済信号a2として出力される。なお、図5では画素値A1,A3でも同様な判断結果に基づいてスミア補正値B1,B3が減算されて処理済信号a1,a3が出力されている。   As described above, the smear correction value B2 corresponding to the target pixel A2 is less than the threshold value T2, and the pixel value of the target pixel A2 is less than the threshold value T1. Therefore, the smear correction value B2 is subtracted from the pixel value of the target pixel A2, and is output as the processed signal a2. In FIG. 5, the smear correction values B1 and B3 are subtracted based on the same determination result for the pixel values A1 and A3, and processed signals a1 and a3 are output.

ステップ2において、注目画素の画素値がしきい値T1を超えている場合には、注目画素に隣接するどちらかの画素の画素値がしきい値T1を超えているか否かを判断する(ステップ4)。そして、隣接する画素の画素値がしきい値T1を超えていない場合には、注目画素の画素値からスミア補正値が減算される(ステップ5)。   If the pixel value of the target pixel exceeds the threshold value T1 in step 2, it is determined whether or not the pixel value of one of the pixels adjacent to the target pixel exceeds the threshold value T1 (step S1). 4). If the pixel value of the adjacent pixel does not exceed the threshold value T1, the smear correction value is subtracted from the pixel value of the target pixel (step 5).

図6は、ステップ4,5の処理を示す。同図において、注目画素A2の画素値はしきい値T1を超えているが、隣接画素の画素値A1,A3はしきい値T1を超えていない。従って、注目画素の画素値A2から対応するスミア補正値B2が減算されて、処理済信号a2が出力される。なお、図5では画素値A1,A3でもスミア補正値B1,B3が減算されて処理済信号a1,a3が出力されている。   FIG. 6 shows the processing of steps 4 and 5. In the figure, the pixel value of the target pixel A2 exceeds the threshold value T1, but the pixel values A1 and A3 of the adjacent pixels do not exceed the threshold value T1. Therefore, the corresponding smear correction value B2 is subtracted from the pixel value A2 of the target pixel, and the processed signal a2 is output. In FIG. 5, smear correction values B1 and B3 are subtracted even with pixel values A1 and A3, and processed signals a1 and a3 are output.

図7は、隣接画素A1,A3がしきい値T1を超えているが、注目画素A2がしきい値T1を超えていない場合を示す。この場合には、注目画素A2がしきい値T1を超えていないので、ステップ2,3の処理が行われ、注目画素の画素値A2から対応するスミア補正値B2が減算される。   FIG. 7 shows a case where the adjacent pixels A1 and A3 exceed the threshold value T1, but the target pixel A2 does not exceed the threshold value T1. In this case, since the target pixel A2 does not exceed the threshold value T1, the processing in steps 2 and 3 is performed, and the corresponding smear correction value B2 is subtracted from the pixel value A2 of the target pixel.

なお、図7では画素値A1,A3はしきい値T1を超えているが、隣接画素の画素値がしきい値T1を超えていない場合を示し、画素値A1,A3からスミア補正値B1,B3を減算した処理済信号a1,a3が出力されている。   In FIG. 7, the pixel values A1 and A3 exceed the threshold value T1, but the pixel values of the adjacent pixels do not exceed the threshold value T1, and the smear correction values B1, Processed signals a1 and a3 obtained by subtracting B3 are output.

ステップ4において、注目画素に隣接するどちらかの画素の画素値がしきい値T1を超えている場合には、注目画素からのスミア補正値の減算を行わない(ステップ6)。
図8は、ステップ5,6の処理を示す。同図において、注目画素A2の画素値はしきい値T1を超え、一方の隣接画素の画素値A3もしきい値T1を超えている。この場合には、注目画素A2からスミア補正値B2の減算を行わず、処理済信号a2として出力される。
If the pixel value of one of the pixels adjacent to the target pixel exceeds the threshold value T1 in step 4, the smear correction value is not subtracted from the target pixel (step 6).
FIG. 8 shows the processing of steps 5 and 6. In the figure, the pixel value of the target pixel A2 exceeds the threshold value T1, and the pixel value A3 of one adjacent pixel also exceeds the threshold value T1. In this case, the smear correction value B2 is not subtracted from the target pixel A2, and is output as the processed signal a2.

なお、画素値A1はしきい値T1を超えていないので、スミア補正値B1を減算した処理済信号a1が出力され、画素値A3は隣接画素の画素値A2がしきい値を超えているので、スミア補正値B3の減算を行わない。   Since the pixel value A1 does not exceed the threshold value T1, the processed signal a1 obtained by subtracting the smear correction value B1 is output, and the pixel value A3 is obtained because the pixel value A2 of the adjacent pixel exceeds the threshold value. The subtraction of the smear correction value B3 is not performed.

図9は、注目画素A2と、他方の隣接画素の画素値A1がしきい値T1を超える場合を示す。この場合にも注目画素A2からスミア補正値B2の減算を行わない。
なお、画素値A3はしきい値T1を超えていないので、スミア補正値B3を減算した処理済信号a3が出力され、画素値A1は隣接画素の画素値A2がしきい値を超えているので、スミア補正値B1の減算を行わない。
FIG. 9 shows a case where the pixel value A1 of the target pixel A2 and the other adjacent pixel exceeds the threshold value T1. Also in this case, the smear correction value B2 is not subtracted from the target pixel A2.
Since the pixel value A3 does not exceed the threshold value T1, the processed signal a3 obtained by subtracting the smear correction value B3 is output, and the pixel value A1 is obtained because the pixel value A2 of the adjacent pixel exceeds the threshold value. The smear correction value B1 is not subtracted.

ステップ1において、注目画素に対応するスミア補正値がしきい値T2を超えている場合には、当該注目画素の画素値を隣接する同色の画素値の平均に置き換える(ステップ7)。すなわち、スミア補正値がしきい値T2を超えていると、スミア成分が過大であるため、スミア補正値を減算すると、黒筋が発生する等、かえって画質が劣化するからである。   If the smear correction value corresponding to the target pixel exceeds the threshold value T2 in step 1, the pixel value of the target pixel is replaced with the average of adjacent pixel values of the same color (step 7). In other words, if the smear correction value exceeds the threshold value T2, the smear component is excessive, and therefore subtracting the smear correction value will cause the image quality to deteriorate, such as black streaks.

図10は、ステップ7の処理を示す。同図において、画素値A1〜A5はシフトレジスタ17から出力される5つの隣接するアドレスの画素値である。ここで、注目画素A3に対応するスミア補正値B3がしきい値T2を超えているとき、注目画素A3もしきい値T1を超えている。   FIG. 10 shows the processing of step 7. In the figure, pixel values A1 to A5 are pixel values of five adjacent addresses output from the shift register 17. Here, when the smear correction value B3 corresponding to the target pixel A3 exceeds the threshold value T2, the target pixel A3 also exceeds the threshold value T1.

このとき、各画素値A1〜A5はA1,A3,A5が同色であり、A2,A4は異なる色である。従って、注目画素A3は隣接する同色画素すなわち画素値A1,A5の平均値に置き換えて、処理済信号a3として出力される。   At this time, the pixel values A1 to A5 are the same color in A1, A3 and A5, and A2 and A4 are different colors. Accordingly, the target pixel A3 is replaced with an adjacent pixel of the same color, that is, the average value of the pixel values A1 and A5, and is output as the processed signal a3.

なお、図10では画素値A2,A4はしきい値T1を超えていないので、対応するスミア補正値B2,B4を減算した処理済信号a2,a4として出力される。
上記のようなスミア検波補正部12を備えた画像処理部11では、次に示す作用効果を得ることができる。
(1)有効画素領域内の各画素値に対しスミア成分を減算するスミア補正処理を行うことができる。
(2)スミア補正を行おうとする注目画素に隣接する画素の画素値がしきい値T1を超えるとき、当該注目画素に対するスミア補正を行わない。従って、図11に示す高輝度部1でスミア補正に起因する黒筋の発生を防止してスミア補正による画質劣化を防止することができる。
(3)注目画素のスミア補正値がしきい値を超えている場合には、隣接する同色の画素値の平均に置き換えるので、画質劣化を防止することができる。
In FIG. 10, since the pixel values A2 and A4 do not exceed the threshold value T1, they are output as processed signals a2 and a4 obtained by subtracting the corresponding smear correction values B2 and B4.
In the image processing unit 11 including the smear detection correction unit 12 as described above, the following operational effects can be obtained.
(1) A smear correction process for subtracting a smear component from each pixel value in the effective pixel area can be performed.
(2) When the pixel value of the pixel adjacent to the target pixel on which smear correction is to be performed exceeds the threshold value T1, smear correction is not performed on the target pixel. Accordingly, it is possible to prevent the occurrence of black streaks due to smear correction in the high luminance portion 1 shown in FIG. 11 and to prevent image quality deterioration due to smear correction.
(3) When the smear correction value of the pixel of interest exceeds the threshold value, it is replaced with the average of adjacent pixel values of the same color, so that image quality deterioration can be prevented.

画像処理部を示すブロック図である。It is a block diagram which shows an image process part. スミア検波補正部を示すブロック図である。It is a block diagram which shows a smear detection correction | amendment part. 補正テーブル生成部を示すブロック図である。It is a block diagram which shows a correction table production | generation part. スミア補正処理を示す説明図である。It is explanatory drawing which shows a smear correction process. スミア補正処理を示す説明図である。It is explanatory drawing which shows a smear correction process. スミア補正処理を示す説明図である。It is explanatory drawing which shows a smear correction process. スミア補正処理を示す説明図である。It is explanatory drawing which shows a smear correction process. スミア補正処理を示す説明図である。It is explanatory drawing which shows a smear correction process. スミア補正処理を示す説明図である。It is explanatory drawing which shows a smear correction process. スミア補正処理を示す説明図である。It is explanatory drawing which shows a smear correction process. スミアが発生した画像を示す説明図である。It is explanatory drawing which shows the image which the smear generate | occur | produced.

符号の説明Explanation of symbols

12 スミア検波補正部
14 補正処理部(スミア減算補正回路)
15 飽和判断部
16 補正テーブル生成部
25 補正処理部(補正判断部)
A1〜A5 画素値
B1〜B3 スミア補正値
T1,T2 しきい値
12 Smear detection correction unit 14 Correction processing unit (Smear subtraction correction circuit)
15 Saturation Judgment Unit 16 Correction Table Generation Unit 25 Correction Processing Unit (Correction Judgment Unit)
A1-A5 Pixel value B1-B3 Smear correction value T1, T2 Threshold value

Claims (5)

OB領域内の撮像データから水平アドレス毎にスミア補正値を算出し、該スミア補正値を有効画素領域内の各画素の画素値から減算するスミア補正方法であって、
前記スミア補正値があらかじめ設定された第1しきい値を超えず、スミア補正の対象となる注目画素の画素値又は該注目画素と同一水平アドレスで隣接する画素の画素値の少なくとも一方が、各画素の画素値が飽和レベルを超えているか否かを判定するためにあらかじめ設定された第2しきい値を超えないとき、前記注目画素に対するスミア補正値の減算を行い、前記スミア補正値が前記第1しきい値を超えず、前記注目画素の画素値及び前記隣接する画素の画素値が前記第2しきい値を共に超えるとき、該注目画素に対するスミア補正値の減算を行わないことを特徴とするスミア補正方法。
A smear correction method for calculating a smear correction value for each horizontal address from imaging data in an OB area, and subtracting the smear correction value from a pixel value of each pixel in an effective pixel area,
The smear correction value does not exceed a preset first threshold value, and at least one of a pixel value of a target pixel to be subjected to smear correction or a pixel value of a pixel adjacent to the target pixel at the same horizontal address is When the pixel value of the pixel does not exceed a second threshold value set in advance to determine whether the pixel value exceeds a saturation level, a smear correction value is subtracted from the target pixel, and the smear correction value is When the pixel value of the target pixel and the pixel value of the adjacent pixel both exceed the second threshold value without exceeding the first threshold value, the smear correction value is not subtracted for the target pixel. And smear correction method.
前記スミア補正の対象となる前記注目画素の前記スミア補正値が前記第1しきい値を超えたとき、該注目画素の画素値を隣接同色画素の画素値の平均に置き換えることを特徴とする請求項1に記載のスミア補正方法。  The pixel value of the target pixel is replaced with an average of pixel values of adjacent pixels of the same color when the smear correction value of the target pixel to be subjected to the smear correction exceeds the first threshold value. Item 2. The smear correction method according to Item 1. OB領域内の撮像データから水平アドレス毎にスミア補正値を算出する補正テーブル生成部と、  A correction table generation unit that calculates a smear correction value for each horizontal address from the imaging data in the OB area;
有効画素領域内の撮像データから、各画素の画素値が飽和レベルを超えているか否かを判断する飽和判断部と、  A saturation determination unit that determines whether or not the pixel value of each pixel exceeds the saturation level from the imaging data in the effective pixel region;
前記飽和判断部の判断結果に基づいて、スミア補正の対象となる注目画素と該注目画素と同一水平アドレスで隣接する画素の画素値が共にしきい値を超えるとき、該注目画素に対するスミア補正値の減算を行わず、スミア補正の対象となる注目画素と該注目画素と同一水平アドレスで隣接する画素の少なくともいずれかの画素値がしきい値を超えないとき、該注目画素に対するスミア補正値の減算を行う補正処理部と  Based on the determination result of the saturation determination unit, when the pixel values of the target pixel subject to smear correction and the pixel adjacent to the target pixel at the same horizontal address exceed the threshold value, the smear correction value for the target pixel When the pixel value of the target pixel subject to smear correction and at least one of the pixels adjacent to the target pixel at the same horizontal address does not exceed the threshold value, the smear correction value for the target pixel A correction processing unit that performs subtraction, and
を備えたことを特徴とするスミア補正回路。A smear correction circuit comprising:
前記補正処理部は、スミア補正の対象となる注目画素のスミア補正値があらかじめ設定されたしきい値を超えたとき、該注目画素の画素値を隣接同色画素の画素値の平均に置き換えることを特徴とする請求項3記載のスミア補正回路。  The correction processing unit replaces the pixel value of the target pixel with the average of the pixel values of adjacent pixels of the same color when the smear correction value of the target pixel to be subjected to smear correction exceeds a preset threshold value. The smear correction circuit according to claim 3, wherein: 前記補正処理部は、  The correction processing unit
前記注目画素に対応するアドレスのスミア補正値がしきい値を超えているか否かを判定するしきい値比較部と、  A threshold value comparison unit for determining whether a smear correction value of an address corresponding to the target pixel exceeds a threshold value;
前記飽和判断部から順次出力される3アドレス分の判断結果に基づいて、スミア補正値の減算を行うか否かを判断する補正判断部と、  A correction determination unit that determines whether or not to subtract smear correction values based on the determination results for three addresses sequentially output from the saturation determination unit;
前記補正判断部の判断結果に基づいて前記注目画素の画素値から前記スミア補正値を減算するスミア減算補正回路と  A smear subtraction correction circuit that subtracts the smear correction value from a pixel value of the target pixel based on a determination result of the correction determination unit;
を備えたことを特徴とする請求項3又は4記載のスミア補正回路。The smear correction circuit according to claim 3, wherein the smear correction circuit is provided.
JP2005267368A 2005-09-14 2005-09-14 Smear correction method and smear correction circuit Expired - Fee Related JP4397869B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005267368A JP4397869B2 (en) 2005-09-14 2005-09-14 Smear correction method and smear correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005267368A JP4397869B2 (en) 2005-09-14 2005-09-14 Smear correction method and smear correction circuit

Publications (2)

Publication Number Publication Date
JP2007081858A JP2007081858A (en) 2007-03-29
JP4397869B2 true JP4397869B2 (en) 2010-01-13

Family

ID=37941685

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005267368A Expired - Fee Related JP4397869B2 (en) 2005-09-14 2005-09-14 Smear correction method and smear correction circuit

Country Status (1)

Country Link
JP (1) JP4397869B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007174032A (en) * 2005-12-20 2007-07-05 Mitsubishi Electric Corp Imaging device
JP5471749B2 (en) * 2010-04-09 2014-04-16 ソニー株式会社 Content search apparatus and method, and program

Also Published As

Publication number Publication date
JP2007081858A (en) 2007-03-29

Similar Documents

Publication Publication Date Title
JP4806584B2 (en) Image processing method and image processing circuit
JP4554504B2 (en) Image data processing circuit and image data processing method
WO2011042948A1 (en) Defect detecting method for imaging device, and imaging device
US8964069B2 (en) Image processing device and solid-state imaging device including a defect correcting function
US20090103829A1 (en) Noise correction circuit, imaging apparatus, and noise correction method
JP4960309B2 (en) Solid-state imaging device
JP5526014B2 (en) Imaging device
US20080298716A1 (en) Solid-State Imaging Device and Pixel Correction Method
JP2010199985A (en) Image processing apparatus, image processing method, and program
US20110317055A1 (en) Solid-state imaging device, camera module, and imaging method
JP2010081511A (en) Imaging device, method of changing set value, and program
US20050093991A1 (en) Black level correction circuit and black level correction method for video camera using solid state image pickup device
JP4679174B2 (en) Image processing apparatus and digital camera equipped with the image processing apparatus
KR100690171B1 (en) Image correction circuit and image correction method
JP2007110375A (en) Smear correction device
JP5262953B2 (en) Image processing apparatus, image processing method, and program
JP4397869B2 (en) Smear correction method and smear correction circuit
JP2010068329A (en) Imaging apparatus
JP4166974B2 (en) Pixel scratch detection / correction device
JP7134786B2 (en) Imaging device and control method
JP2011114473A (en) Pixel defect correction device
JP5632703B2 (en) Image processing apparatus, control method, and program
JP5945397B2 (en) Imaging apparatus and streaking correction method
JP2006148748A (en) Pixel defect correcting device and pixel defect correcting method
JP2014158165A (en) Image processing device, image processing method, and program

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080730

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090721

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090916

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20091020

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091021

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121030

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4397869

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121030

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121030

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121030

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131030

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees