JP4457874B2 - Video signal processing apparatus and method - Google Patents

Video signal processing apparatus and method Download PDF

Info

Publication number
JP4457874B2
JP4457874B2 JP2004353211A JP2004353211A JP4457874B2 JP 4457874 B2 JP4457874 B2 JP 4457874B2 JP 2004353211 A JP2004353211 A JP 2004353211A JP 2004353211 A JP2004353211 A JP 2004353211A JP 4457874 B2 JP4457874 B2 JP 4457874B2
Authority
JP
Japan
Prior art keywords
defective pixel
pixel
defective
defect
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
JP2004353211A
Other languages
Japanese (ja)
Other versions
JP2006165899A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2004353211A priority Critical patent/JP4457874B2/en
Publication of JP2006165899A publication Critical patent/JP2006165899A/en
Application granted granted Critical
Publication of JP4457874B2 publication Critical patent/JP4457874B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、撮像素子の欠陥画素に対応する位置の信号値を補正する画像信号処理装置及び欠陥画素補正方法に関するものである。   The present invention relates to an image signal processing apparatus and a defective pixel correction method for correcting a signal value at a position corresponding to a defective pixel of an image sensor.

CCD(Charge Coupled Device)を始めとする固体撮像素子には、その製造や実際の運用プロセスにおいて、一部の画素が正常に動作しなくなる場合がある。例えば、本来得られるべき信号レベルより大きな又は小さな信号レベルを出力する画素が発生したり、場合によっては常に一定のレベルを出力するといった画素が発生することがある。これら正常に動作をしない画素は欠陥画素と呼ばれる。欠陥画素の有無又はその数量は、画質の劣化に大きく起因している。   In a solid-state imaging device such as a CCD (Charge Coupled Device), some pixels may not operate normally in the manufacturing or actual operation process. For example, there may be a pixel that outputs a signal level that is larger or smaller than a signal level that should be originally obtained, or a pixel that always outputs a certain level. These pixels that do not operate normally are called defective pixels. The presence or absence of defective pixels or the number thereof is largely due to the deterioration of image quality.

そのため、従来より、欠陥画素を目立たなくさせるための信号処理による欠陥補正方法が開発されてきた。   Therefore, conventionally, a defect correction method by signal processing for making a defective pixel inconspicuous has been developed.

例えば、特許文献1には、欠陥画素の色とは異なる色信号を用いて、当該欠陥画素を補正する欠陥補正方法が提案されている。この方法は、多くの情報を用いて補間ができるとともに、欠陥画素と同位置の画素を利用して補間をするので、非常に効果的な方法である。   For example, Patent Document 1 proposes a defect correction method for correcting a defective pixel using a color signal different from the color of the defective pixel. This method is very effective because interpolation can be performed using a large amount of information and interpolation is performed using a pixel at the same position as the defective pixel.

特開2004−228931号公報JP 2004-228931 A

ところが、特許文献1に記載されている欠陥補正方法では、光学系の倍率色収差が無視できないような撮像装置では、撮像素子上の各色の像の空間位相が合致しないため、補正精度が低下してしまう。   However, in the defect correction method described in Patent Document 1, in an imaging apparatus in which the chromatic aberration of magnification of the optical system cannot be ignored, the spatial phase of each color image on the imaging element does not match, so that the correction accuracy decreases. End up.

図9は、レンズ100の倍率色収差を示す概略図である。この図9に示すように、撮像面102上の光軸101から離れた位置では、長波長光線103と短波長光線104の結像位置がずれてしまう。このことから、光軸101から離れた撮像面102の欠陥画素に対して、他の色情報を参照して補間処理を行うと、誤差が大きくなってしまう。   FIG. 9 is a schematic diagram illustrating the chromatic aberration of magnification of the lens 100. As shown in FIG. 9, the imaging positions of the long wavelength light beam 103 and the short wavelength light beam 104 are shifted at a position away from the optical axis 101 on the imaging surface 102. For this reason, if interpolation processing is performed on defective pixels on the imaging surface 102 away from the optical axis 101 with reference to other color information, an error increases.

本発明は、かかる問題を解決するものであり、撮像素子の欠陥画素に対応する位置の信号値を、高精度に補正することができる画像信号処理装置及び欠陥画素補正方法を提供することを目的とする。   The present invention solves such a problem, and an object of the present invention is to provide an image signal processing apparatus and a defective pixel correction method capable of correcting a signal value at a position corresponding to a defective pixel of an image sensor with high accuracy. And

本発明に係る画像信号処理装置は、撮像素子から出力された撮像信号が入力され、当該撮像素子の欠陥画素に対応する位置の値を補正する複数の欠陥補正手段と、撮像素子の受光面上における欠陥画素の位置に応じて、上記複数の欠陥補正手段のうちの一つを選択し、当該欠陥画素の補正を行わせる選択手段とを備え、上記選択手段は、撮像素子の受光面を中心側領域と周縁側領域との2つの領域に分割し、欠陥画素が中心側領域に位置する場合と、欠陥画素が周縁側領域に位置する場合とで欠陥補正手段を切り換えて、異なる処理で当該撮像素子の欠陥画素に対応する位置の値を補正させることを特徴とする。   An image signal processing apparatus according to the present invention is provided with a plurality of defect correction means for correcting a value of a position corresponding to a defective pixel of an image pickup device, to which an image pickup signal output from the image pickup device is input, and on a light receiving surface of the image pickup device Selecting one of the plurality of defect correction means according to the position of the defective pixel in the image sensor, and selecting the correction of the defective pixel. The selection means is centered on the light receiving surface of the image sensor. The defect correction means is switched between the case where the defect pixel is located in the central region and the case where the defect pixel is located in the peripheral region. The position value corresponding to the defective pixel of the image sensor is corrected.

本発明に係る欠陥画素補正方法は、撮像素子から出力された撮像信号に対して、当該撮像素子の欠陥画素に対応する位置の値を補正する欠陥画素補正方法において、撮像素子の受光面を中心側領域と周縁側領域との2つの領域に分割し、欠陥画素の位置が中心側領域に位置する場合には、欠陥画素の各色のうち欠陥のある色とは異なる色の画素の値を参照した補正処理アルゴリズムにより、撮像素子から出力された撮像信号に対して欠陥画素に対応する位置の値の補正をし、欠陥画素の位置が周縁側領域に位置する場合には、欠陥画素の位置が中心側領域に位置する場合とは異なる補正アルゴリズムにより、撮像素子から出力された撮像信号に対して欠陥画素に対応する位置の値の補正をすることを特徴とする。   A defective pixel correction method according to the present invention is a defective pixel correction method for correcting a value of a position corresponding to a defective pixel of an imaging element with respect to an imaging signal output from the imaging element. When the pixel is divided into two regions, the side region and the peripheral region, and the position of the defective pixel is located in the central region, refer to the value of the pixel of a color different from the defective color among the colors of the defective pixel The position value corresponding to the defective pixel is corrected with respect to the imaging signal output from the imaging device by the correction processing algorithm, and the position of the defective pixel is determined when the position of the defective pixel is located in the peripheral area. The position value corresponding to the defective pixel is corrected with respect to the image pickup signal output from the image pickup device by a correction algorithm different from the case of being located in the center side region.

本発明に係る画像信号処理装置及び欠陥画素補正方法では、撮像素子の受光面を中心側領域と周縁側領域との2つの領域に分割し、欠陥画素の位置が中心側領域に位置する場合には、欠陥画素の各色のうち欠陥のある色とは異なる色の画素の値を参照した処理による欠陥画素の補正を行い、欠陥画素の位置が周縁側領域に位置する場合には、他の処理により欠陥画素の補正を行う。   In the image signal processing apparatus and the defective pixel correction method according to the present invention, when the light receiving surface of the image sensor is divided into two regions, a central region and a peripheral region, and the position of the defective pixel is located in the central region. Corrects a defective pixel by a process referring to the value of a pixel of a color different from the defective color among the colors of the defective pixel, and when the position of the defective pixel is located in the peripheral area, other processing is performed. Thus, the defective pixel is corrected.

本発明に係る画像信号処理装置及び欠陥画素補正方法では、高精度に、撮像素子の欠陥画素に対応する位置の信号値を補正することができる。   In the image signal processing apparatus and the defective pixel correction method according to the present invention, the signal value at the position corresponding to the defective pixel of the image sensor can be corrected with high accuracy.

以下、本発明が適用された電子式のビデオカメラ(以下、単にビデオカメラという。)について説明する。   An electronic video camera (hereinafter simply referred to as a video camera) to which the present invention is applied will be described below.

ビデオカメラの構成
図1に、本発明が適用されたビデオカメラ1のブロック構成図を示す。
Configuration Figure 1 of a video camera, a block diagram of a video camera 1 to which the present invention is applied.

ビデオカメラ1は、図1に示すように、被写体からの反射光が入射されるレンズ光学系(以下レンズと略す)2と、レンズ2から入射された光を波長分離して赤色光、緑色光、青色光に分離する色分離光学系(以下プリズムと呼ぶ)3と、プリズム3により分離された赤色光の結像位置に対応して設けられた赤用イメージセンサ4Rと、プリズム3により分離された緑色光の結像位置に対応して設けられた緑用イメージセンサ4Gと、プリズム3により分離された青色光の結像位置に対応して設けられた青用イメージセンサ4Bとを備えている。   As shown in FIG. 1, the video camera 1 has a lens optical system (hereinafter abbreviated as “lens”) 2 on which reflected light from a subject is incident and a wavelength of the light incident from the lens 2 to separate red light and green light. A color separation optical system (hereinafter referred to as a prism) 3 that separates into blue light, a red image sensor 4R provided corresponding to the imaging position of red light separated by the prism 3, and a prism 3 The green image sensor 4G provided corresponding to the green light image forming position and the blue image sensor 4B provided corresponding to the blue light image forming position separated by the prism 3 are provided. .

各色用のイメージセンサ4(4R,4G,4B)は、C−MOSイメージセンサやCCDイメージセンサ等の固体撮像素子である。イメージセンサ4(4R,4G,4B)は、それぞれ、受光面にマトリクス状に配置された単位画素を有しており、各単位画素が照射された光を光電変換する。イメージセンサ4(4R,4G,4B)は、マトリクス状に配置された単位画素をスキャンして電気信号を読み出すことにより、画像信号を出力する。   Each color image sensor 4 (4R, 4G, 4B) is a solid-state image sensor such as a C-MOS image sensor or a CCD image sensor. Each of the image sensors 4 (4R, 4G, 4B) has unit pixels arranged in a matrix on the light receiving surface, and photoelectrically converts light irradiated on each unit pixel. The image sensor 4 (4R, 4G, 4B) outputs an image signal by scanning unit pixels arranged in a matrix and reading out an electric signal.

また、ビデオカメラ1は、イメージセンサ4(4R,4G,4B)から出力された画像信号からノイズを除去するCDS(Correlated Double Sampling)回路5と、CDS回路5から出力された画像信号のレベル調整を行うAGC(Automatic Gain Control)回路6と、AGC回路6から出力された画像信号に対して高域ノイズを除去するLPF(Low Path Filter)回路7と、LPF回路7から出力された画像信号に対してホワイトバランスを調整するホワイトバランス(WB)回路8と、WB回路8から出力された画像信号をデジタル信号に変換するAD変換回路9とを備えている。   The video camera 1 also includes a CDS (Correlated Double Sampling) circuit 5 that removes noise from the image signal output from the image sensor 4 (4R, 4G, 4B), and level adjustment of the image signal output from the CDS circuit 5. An AGC (Automatic Gain Control) circuit 6 that performs image processing, an LPF (Low Path Filter) circuit 7 that removes high-frequency noise from the image signal output from the AGC circuit 6, and an image signal output from the LPF circuit 7. On the other hand, a white balance (WB) circuit 8 for adjusting white balance and an AD conversion circuit 9 for converting an image signal output from the WB circuit 8 into a digital signal are provided.

さらに、ビデオカメラ1は、AD変換回路9から出力されたデジタル化されている画像信号に対して、各色用のイメージセンサ4(4R,4G,4B)の欠陥画素に対応する位置の信号値を補正する欠陥画素補正回路10を備えている。   Furthermore, the video camera 1 outputs the signal value at the position corresponding to the defective pixel of the image sensor 4 (4R, 4G, 4B) for each color with respect to the digitized image signal output from the AD conversion circuit 9. A defective pixel correction circuit 10 for correction is provided.

ビデオカメラ1では、この欠陥画素補正回路10が設けられていることにより、例えば、本来得られるべき信号レベルより大きな又は小さな信号レベルを出力していたり、常に一定のレベルを出力しているような欠陥画素がイメージセンサ4(4R,4G,4B)に存在していたりしても、その画素部分のノイズを目立たなくするようにし、画質の良い画像信号を生成することができる。   In the video camera 1, since the defective pixel correction circuit 10 is provided, for example, a signal level larger or smaller than a signal level that should be originally obtained is output, or a constant level is always output. Even if a defective pixel exists in the image sensor 4 (4R, 4G, 4B), it is possible to make the noise of the pixel portion inconspicuous and generate an image signal with good image quality.

以下、さらに、この欠陥画素補正回路10について、さらに詳細に説明をする。   Hereinafter, the defective pixel correction circuit 10 will be described in more detail.

欠陥画素補正回路
図2に、欠陥画素補正回路10のブロック構成図を示す。
Defective Pixel Correction Circuit FIG. 2 shows a block configuration diagram of the defective pixel correction circuit 10.

欠陥画素補正回路10は、図2に示すように、アドレスカウンタ11と、欠陥アドレス格納部12と、第1の補正部13と、第2の補正部14と、セレクタ15と、制御部16とを備えている。   As shown in FIG. 2, the defective pixel correction circuit 10 includes an address counter 11, a defective address storage unit 12, a first correction unit 13, a second correction unit 14, a selector 15, and a control unit 16. It has.

アドレスカウンタ11には、映像信号の同期信号が入力される。アドレスカウンタ11は、同期信号をカウントすることによって、入力された映像信号の画面内のおける画素アドレスを発生する。   The address counter 11 receives a video signal synchronization signal. The address counter 11 generates a pixel address in the screen of the input video signal by counting the synchronization signal.

欠陥アドレス格納部12には、各イメージセンサ4(4R,4G,4B)の欠陥画素の位置を示すアドレス情報が格納されている。欠陥画素の位置を示すアドレス情報は、例えば、ビデオカメラ1の工場出荷時等に欠陥画素の検査を行い、そこで格納される。欠陥アドレス格納部12は、ビデオカメラ1の動作時には、アドレスカウンタ11から画素アドレスの情報が入力される。欠陥アドレス格納部12は、アドレスカウンタ11から発生された画素アドレスと、内部に格納している欠陥画素のアドレスとが一致したか否かを判断し、一致したタイミングで欠陥画素の位置である旨を示すフラグ(欠陥画素特定フラグ)を発生する。   The defect address storage unit 12 stores address information indicating the position of the defective pixel of each image sensor 4 (4R, 4G, 4B). The address information indicating the position of the defective pixel is stored, for example, by inspecting the defective pixel when the video camera 1 is shipped from the factory. The defect address storage unit 12 receives pixel address information from the address counter 11 when the video camera 1 is in operation. The defective address storage unit 12 determines whether or not the pixel address generated from the address counter 11 matches the address of the defective pixel stored therein, and indicates that it is the position of the defective pixel at the matching timing. Is generated (defective pixel identification flag).

第1の補正部13及び第2の補正部14は、ともに、イメージセンサ4から出力された映像信号が入力され、入力された映像信号に対して、イメージセンサ4の欠陥画素に対応する位置の値を補正する処理を行う回路である。第1の補正部13及び第2の補正部14には、ともに、映像信号、及び、欠陥画素の位置である旨を示す欠陥画素特定フラグが入力される。第1の補正部13及び第2の補正部14には、ともに、欠陥画素特定フラグの発生タイミングで、映像信号に対して欠陥補正処理を行う。   Both the first correction unit 13 and the second correction unit 14 receive the video signal output from the image sensor 4, and at a position corresponding to the defective pixel of the image sensor 4 with respect to the input video signal. It is a circuit that performs processing for correcting a value. Both the first correction unit 13 and the second correction unit 14 are input with a video signal and a defective pixel specifying flag indicating the position of the defective pixel. Both the first correction unit 13 and the second correction unit 14 perform the defect correction process on the video signal at the generation timing of the defective pixel specifying flag.

第1の補正部13の欠陥画素の補正アルゴリズムは、次の通りである。   The correction algorithm of the defective pixel of the first correction unit 13 is as follows.

まず、第1の補正部13は、欠陥画素と、欠陥画素に隣接する複数の隣接画素のR,G,Bの各色の値を保持する。続いて、第1の補正部13は、欠陥画素の各色の値のうち欠陥のない無欠陥色の値と、各隣接画素の無欠陥色に対応した色の値との差分を算出する。例えば、Rに欠陥があるとすれば、欠陥画素のG(又はB)の値と、各隣接画素のG(又はB)の値との差を算出する。そして、第1の補正部13は、各隣接画素との上記差分に基づき、欠陥画素と最も類似した1つの隣接画素を参照画素として特定し、特定した参照画素の値に基づき欠陥画素の欠陥のある欠陥色を補正する。   First, the 1st correction | amendment part 13 hold | maintains the value of each color of R, G, B of a defective pixel and several adjacent pixels adjacent to a defective pixel. Subsequently, the first correction unit 13 calculates the difference between the value of the defect-free color among the color values of the defective pixel and the value of the color corresponding to the defect-free color of each adjacent pixel. For example, if R is defective, the difference between the G (or B) value of the defective pixel and the G (or B) value of each adjacent pixel is calculated. Then, the first correction unit 13 specifies one adjacent pixel that is most similar to the defective pixel as a reference pixel based on the difference from each adjacent pixel, and determines the defect pixel defect based on the specified reference pixel value. Correct a certain defect color.

このように第1の補正部13では、欠陥画素の各色のうち欠陥のある色とは異なる色の画素の値を参照して、欠陥の補正処理を行っている。   As described above, the first correction unit 13 performs defect correction processing with reference to the value of a pixel having a color different from the defective color among the colors of the defective pixel.

これに対して、第2の補正部14は、第1の補正部13による欠陥画素の補正アルゴリズムとは異なるアルゴリズムにより補正を行っている。例えば、第2の補正部14は、欠陥画素の直前(左隣)の値を保持して欠陥画素の値として採用する方法(サンプリングホールド法)、欠陥前後の画素の値の平均値を採用する方法(前後平均法)、欠陥画素の色情報と、欠陥画素に隣接する隣接画素の色情報の差分を取ってエッジを検出し、その影響が少ないと思われる画素から補正を行う方法(エッジ検出法)を用いて、欠陥画素の補正を行う。   In contrast, the second correction unit 14 performs correction by an algorithm different from the defective pixel correction algorithm by the first correction unit 13. For example, the second correction unit 14 employs a method (sampling hold method) that retains the value immediately before (to the left of) the defective pixel and employs it as the value of the defective pixel (sampling hold method), or an average value of the pixels before and after the defect. Method (average before and after), edge detection by taking the difference between the color information of defective pixels and the color information of adjacent pixels adjacent to the defective pixels, and correcting from the pixels that seem to be less affected (edge detection) The defective pixel is corrected using the method.

セレクタ15には、第1の補正部13から出力された映像信号、第2の補正部14から出力された映像信号、及び、当該欠陥画素補正回路10に入力されたそのままの映像信号の3つの信号が入力される。セレクタ15は、制御部16の制御に従って、3つの映像信号のうち1つ映像信号を選択して出力する。   The selector 15 has three video signals: a video signal output from the first correction unit 13, a video signal output from the second correction unit 14, and an intact video signal input to the defective pixel correction circuit 10. A signal is input. The selector 15 selects and outputs one of the three video signals according to the control of the control unit 16.

制御部16は、セレクタ15の切換制御を行う。   The control unit 16 performs switching control of the selector 15.

制御部16は、欠陥アドレス格納部12から欠陥画素の位置である旨を示すフラグ(欠陥画素特定フラグ)が発生されたタイミングでは、欠陥補正を行っていない映像信号を選択する。反対に、制御部16は、欠陥アドレス格納部12から欠陥画素の位置である旨を示すフラグ(欠陥画素特定フラグ)が発生されたタイミングでは、第1の補正部13又は第2の補正部14のいずれか一方から出力された映像信号を選択する。   The control unit 16 selects a video signal that has not been subjected to defect correction at the timing at which a flag (defective pixel specifying flag) indicating the position of the defective pixel is generated from the defective address storage unit 12. On the contrary, the control unit 16 at the timing when the flag (defective pixel specifying flag) indicating the position of the defective pixel is generated from the defective address storage unit 12, the first correction unit 13 or the second correction unit 14. The video signal output from either one of them is selected.

さらに、制御部16は、欠陥画素特定フラグが発生されたタイミングでは、アドレスカウンタ11の画素アドレスを参照してその欠陥画素の画面内の位置を判断し、その画面内の位置に応じて、第1の補正部13又は第2の補正部14のいずれか一方を選択している。   Further, at the timing when the defective pixel specifying flag is generated, the control unit 16 refers to the pixel address of the address counter 11 to determine the position of the defective pixel in the screen, and determines the position of the defective pixel according to the position in the screen. One of the first correction unit 13 and the second correction unit 14 is selected.

具体的には、図3に示すように、画面の中心部分の領域(中心領域)31と、それ以外の画面の周縁部分の領域(周縁領域)32とに分割し、欠陥画素が中心領域31に位置した場合には第1の補正部13を選択し、欠陥画素が周縁領域32に位置した場合には第2の補正部14を選択するようにしている。   Specifically, as shown in FIG. 3, the screen is divided into a region (center region) 31 at the center of the screen and a region (peripheral region) 32 at the other peripheral portion of the screen. The first correction unit 13 is selected when the pixel is positioned in the position, and the second correction unit 14 is selected when the defective pixel is positioned in the peripheral region 32.

以上の処理内容をフローチャートに示すと、図4のようになる。すなわち、制御部16は、図4に示すように、入力された映像信号が欠陥画素であるか否かを判断し(ステップS1)、欠陥画素でなければ、補正をせずにそのまま入力された映像信号を出力する(ステップS11)。欠陥画素であれば、続いて、その欠陥画素が中心領域31内に位置しているか否かを判断する(ステップS2)。欠陥画素が中心領域31に位置していれば、第1の補正部13により補正された映像信号を出力する(ステップS12)。欠陥画素が中心領域31に位置していなければ、すなわち、欠陥画素が周縁領域32に位置していれば、第2の補正部14により補正された映像信号を出力する。   The above processing contents are shown in the flowchart in FIG. That is, as shown in FIG. 4, the control unit 16 determines whether or not the input video signal is a defective pixel (step S1). If it is not a defective pixel, it is input as it is without correction. A video signal is output (step S11). If it is a defective pixel, it is subsequently determined whether or not the defective pixel is located in the central region 31 (step S2). If the defective pixel is located in the central region 31, the video signal corrected by the first correction unit 13 is output (step S12). If the defective pixel is not located in the center region 31, that is, if the defective pixel is located in the peripheral region 32, the video signal corrected by the second correction unit 14 is output.

ここで、画面の中心領域31の意味するところは、イメージセンサ4の受光面上における撮像光の光軸中心に近い部分に対応し、色収差が非常に小さい領域ということである。反対に、画面の周縁領域32の意味するところは、イメージセンサ4の受光面上における撮像光の光軸中心から遠い部分に対応し、色収差が大きい領域ということである。   Here, the central area 31 of the screen means an area on the light receiving surface of the image sensor 4 that corresponds to a portion close to the optical axis center of the imaging light and has very little chromatic aberration. On the contrary, the peripheral area 32 of the screen means that the area on the light receiving surface of the image sensor 4 corresponds to a portion far from the center of the optical axis of the imaging light and has a large chromatic aberration.

すなわち、第1の補正部13の補正アルゴリズムでは、欠陥画素の各色のうち欠陥のある色とは異なる色の画素の値を参照して補正処理を行うことから、色収差が大きい場合、補正の精度が低くなる。そのため、欠陥画素補正回路10では、高精度に補正することができる第1の補正部13により原則的に欠陥画素の補正を行うが、第1の補正部13では精度が低くなる画面周縁部分では、例外的に第2の補正部14により補正を行うようにして、総合的に欠陥画素の補正精度を高くしている。   That is, in the correction algorithm of the first correction unit 13, correction processing is performed by referring to the value of a pixel having a color different from the defective color among the colors of the defective pixel. Becomes lower. For this reason, in the defective pixel correction circuit 10, the defective pixels are corrected in principle by the first correction unit 13 that can correct with high accuracy. Exceptionally, the correction is performed by the second correction unit 14 to improve the correction accuracy of defective pixels comprehensively.

なお、画面の中心領域31の形状は、図3に示したような矩形状であってもよいし、図5に示すように円状であってもよい。   The center area 31 of the screen may have a rectangular shape as shown in FIG. 3 or a circular shape as shown in FIG.

また、第1の補正部13と第2の補正部14との2つの補正処理を切り替える構成としているが、本発明では、2つのアルゴリズムに限らず、3つや4つの補正部を切り替えるといったように複数の補正アルゴリズムを切り替えるようにしてもよい。   Further, the two correction processes of the first correction unit 13 and the second correction unit 14 are switched. However, in the present invention, not only two algorithms but also three or four correction units are switched. A plurality of correction algorithms may be switched.

第1の補正部
つぎに、第1の補正部13による処理内容について、更に詳細に説明をする。
First Correction Unit Next, the details of processing performed by the first correction unit 13 will be described in more detail.

図6は、第1の補正回路13の機能ブロック図である。   FIG. 6 is a functional block diagram of the first correction circuit 13.

第1の補正部13は、色情報保持部21と、差分算出部22と、参照画素決定部23と、補正演算部24とから構成される。   The first correction unit 13 includes a color information holding unit 21, a difference calculation unit 22, a reference pixel determination unit 23, and a correction calculation unit 24.

色情報保持部21は、欠陥アドレス格納部12に保持された欠陥画素の位置や、欠陥が存在する色などの欠陥情報を参照して、欠陥画素と、それに隣接する欠陥のない隣接画素の、複数の種類の色情報を保持する。具体的には、図6のように、R(Red)、G(Green)、B(Blue)などの複数の色ごとに設けられたイメージセンサ4R、4G、4Bからの映像信号の値を、画素ごとに複数の種類の色情報として保持する。   The color information holding unit 21 refers to defect information such as the position of the defective pixel held in the defect address storage unit 12 and the color where the defect exists, and the defect pixel and the adjacent pixel having no defect adjacent thereto are Holds multiple types of color information. Specifically, as shown in FIG. 6, the values of the video signals from the image sensors 4R, 4G, and 4B provided for each of a plurality of colors such as R (Red), G (Green), and B (Blue), Each pixel is stored as a plurality of types of color information.

図7は、保持された色情報の例を示す図である。   FIG. 7 is a diagram illustrating an example of retained color information.

ここでは、簡単のため、色G0に欠陥のある欠陥画素0の左右(前後)・上方に隣接する隣接画素のみ示した。欠陥画素0と、欠陥画素に隣接する画素1、2、3、4、5の色情報であるRGBの値を保持する。例えば、欠陥画素0については、色R0の値は“59”、色G0は“250”、色B0は“48”という値を、色ごとに保持する。他の画素1〜5についても同様に、色R1〜R5、色G1〜G5、色B1〜B5の値を色情報として保持する。   Here, for the sake of simplicity, only the adjacent pixels adjacent to the left and right (front and rear) and above the defective pixel 0 having a defect in the color G0 are shown. RGB values that are color information of the defective pixel 0 and the pixels 1, 2, 3, 4, and 5 adjacent to the defective pixel are held. For example, for the defective pixel 0, the value of the color R0 is “59”, the color G0 is “250”, and the color B0 is “48” for each color. Similarly, the values of the colors R1 to R5, the colors G1 to G5, and the colors B1 to B5 are held as color information for the other pixels 1 to 5 as well.

差分算出部22は、欠陥画素の色情報のうち欠陥のない色情報と、隣接画素の色情報との差分を算出する。例えば図7のような場合、欠陥画素0のうち欠陥がない色R0、B0の値と、隣接画素の色R1〜5、B1〜5の値との差分をそれぞれの色ごとに算出する。   The difference calculation unit 22 calculates a difference between color information having no defect among color information of defective pixels and color information of adjacent pixels. For example, in the case of FIG. 7, the difference between the values of the defective pixels 0 that have no defects R0 and B0 and the values of the colors R1 to 5 and B1 to 5 of the adjacent pixels is calculated for each color.

参照画素決定部23は、隣接画素のうち、差分算出部22で算出した差分の絶対値の和が最小となる隣接画素を、補正のために参照する画素(参照画素)として決定する。   The reference pixel determination unit 23 determines an adjacent pixel having a minimum sum of absolute values of differences calculated by the difference calculation unit 22 among adjacent pixels as a pixel (reference pixel) to be referenced for correction.

補正演算部24は、参照画素の差分の平均値を算出し、平均値をもとに欠陥画素の欠陥色情報を補正する。   The correction calculation unit 24 calculates the average value of the difference between the reference pixels and corrects the defect color information of the defective pixel based on the average value.

以下、図6、図7を参照して第1の補正部13の動作を説明する。   Hereinafter, the operation of the first correction unit 13 will be described with reference to FIGS. 6 and 7.

外部のイメージセンサ4R、4G、4Bを介して色情報が入力されると、色情報保持部21により、図7で示したように、欠陥アドレス格納部12から発生された欠陥画素特定フラグを参照して、欠陥画素0と、欠陥画素0に隣接する欠陥のない画素1〜5ごとにRGBの値が保持される。   When color information is input through the external image sensors 4R, 4G, and 4B, the color information holding unit 21 refers to the defective pixel specifying flag generated from the defective address storage unit 12 as shown in FIG. Thus, RGB values are held for each of the defective pixel 0 and the pixels 1 to 5 that are adjacent to the defective pixel 0 and have no defect.

次に、差分算出部22で、欠陥画素0のうち欠陥のない色R0、B0の値と、画素1〜5の色R1〜R5、B1〜B5の値との差分を算出する。さらに、参照画素決定部23で、差分の絶対値の和が最小となる画素を選択する。   Next, the difference calculation unit 22 calculates the difference between the values of the non-defective colors R0 and B0 among the defective pixels 0 and the values of the colors R1 to R5 and B1 to B5 of the pixels 1 to 5. Further, the reference pixel determination unit 23 selects a pixel having the minimum sum of absolute values of differences.

図8は、差分の絶対値の和を算出する様子を示す図である。   FIG. 8 is a diagram illustrating a state in which the sum of absolute values of differences is calculated.

ここで、drは隣接する画素1〜5の色R1〜R5の値と、欠陥画素0の色R0の値との差であり、dbは隣接する画素1〜5の色B1〜B5の値と、欠陥画素0の色B0の値との差である。また、差分の絶対値の和は|dr|+|db|で示した。図8から分かるように、画素1の差分の絶対値の和が“34”となり、他の画素2〜5の中で最小になっている。このことより、画素1が欠陥画素0に最も類似した色情報を持つ画素であると判断して、画素1を補正のための参照画素として決定する。   Here, dr is the difference between the values of the colors R1 to R5 of the adjacent pixels 1 to 5 and the value of the color R0 of the defective pixel 0, and db is the value of the colors B1 to B5 of the adjacent pixels 1 to 5 This is the difference from the value of the color B0 of the defective pixel 0. The sum of the absolute values of the differences is represented by | dr | + | db |. As can be seen from FIG. 8, the sum of the absolute values of the differences of the pixel 1 is “34”, which is the smallest among the other pixels 2 to 5. From this, it is determined that the pixel 1 is a pixel having color information most similar to the defective pixel 0, and the pixel 1 is determined as a reference pixel for correction.

次に、補正部24で、参照画素と欠陥画素0について、色R、Bについての差分の平均値と、色Gの差分を一致させるように、画素1の色G1の値から、色R、Bについての差分の平均値を差し引く。具体的には、図8のように、画素1の差分の絶対値の和は“34”であるので、差分の平均値は“17”となる。これを画素1の色G1の値である“63”より差し引くことで、“46”という欠陥画素0の欠陥色G0の補正値が得られる。   Next, in the correction unit 24, for the reference pixel and the defective pixel 0, the color R, B is calculated from the value of the color G 1 of the pixel 1 so that the average value of the differences for the colors R and B matches the difference of the color G. Subtract the average of the differences for B. Specifically, as shown in FIG. 8, since the sum of the absolute values of the differences of the pixel 1 is “34”, the average value of the differences is “17”. By subtracting this from “63” which is the value of the color G1 of the pixel 1, a correction value of the defective color G0 of the defective pixel 0 of “46” is obtained.

このように、欠陥画素0のうち欠陥が存在しない色情報(色R0、B0またはどちらか一方でもよい)を用いて、隣接画素の色情報との差分の絶対値の和より、欠陥画素0に最も類似する参照画素を決定し、その差分の平均値と一致するように、欠陥色(色G0)を補正することで、1つの色に着目して補正する場合に比べ、欠陥画素0を効果的に補正することができる。   As described above, the color information (color R0, B0 or any one of the colors R0 and B0) of the defective pixel 0 that does not have a defect is used to determine the defective pixel 0 based on the sum of the absolute values of the differences from the color information of the adjacent pixels. By determining the most similar reference pixel and correcting the defect color (color G0) so as to match the average value of the differences, the defective pixel 0 is more effective than when correcting by focusing on one color. Can be corrected automatically.

なお、上記では省略したが、差分算出部22と、参照画素決定部23との間に、欠陥画素0と着目した隣接画素との距離に応じて、差分に係数をかける重み付け部を有するようにしてもよい。   Although omitted in the above description, a weighting unit that applies a coefficient to the difference according to the distance between the defective pixel 0 and the adjacent pixel of interest is provided between the difference calculation unit 22 and the reference pixel determination unit 23. May be.

本発明が適用されたビデオカメラのブロック図である。It is a block diagram of a video camera to which the present invention is applied. 本発明が適用された欠陥画素補正回路のブロック図である。It is a block diagram of a defective pixel correction circuit to which the present invention is applied. 画面内を中心側の領域と周縁側の領域とに分割した例を示す図である。It is a figure which shows the example which divided | segmented the inside of a screen into the area | region of the center side, and the area | region of the peripheral side. 欠陥画素補正回路の処理内容を示すフローチャートである。It is a flowchart which shows the processing content of a defective pixel correction circuit. 画面内を中心側の領域と周縁側の領域とに分割した他の例を示す図である。It is a figure which shows the other example which divided | segmented the inside of a screen into the area | region of the center side, and the area | region of the peripheral side. 第1の補正回路のブロック図である。It is a block diagram of the 1st correction circuit. 保持された色情報の例を示す図である。It is a figure which shows the example of the hold | maintained color information. 差分の絶対値の和を算出する様子を示す図である。It is a figure which shows a mode that the sum of the absolute value of a difference is calculated. 色収差を説明するための図である。It is a figure for demonstrating chromatic aberration.

符号の説明Explanation of symbols

1 ビデオカメラ、10 欠陥画素補正回路、11 アドレスカウンタ、12 欠陥アドレス格納部、13 第1の補正部、14 第2の補正部、15 セレクタ、16 制御部
1 video camera, 10 defective pixel correction circuit, 11 address counter, 12 defective address storage unit, 13 first correction unit, 14 second correction unit, 15 selector, 16 control unit

Claims (4)

撮像素子から出力された撮像信号が入力され、当該撮像素子の欠陥画素に対応する位置の値を補正する複数の欠陥補正手段と、
撮像素子の受光面上における欠陥画素の位置に応じて、上記複数の欠陥補正手段のうちの一つを選択し、当該欠陥画素の補正を行わせる選択手段とを備え、
上記選択手段は、撮像素子の受光面を中心側領域と周縁側領域との2つの領域に分割し、欠陥画素が中心側領域に位置する場合と、欠陥画素が周縁側領域に位置する場合とで欠陥補正手段を切り換えて、異なる処理で当該撮像素子の欠陥画素に対応する位置の値を補正させること
を特徴とする画像信号処理装置。
A plurality of defect correction means for inputting an imaging signal output from the imaging element and correcting a value of a position corresponding to the defective pixel of the imaging element;
Selecting one of the plurality of defect correction means according to the position of the defective pixel on the light receiving surface of the image sensor, and a selection means for correcting the defective pixel,
The selection unit divides the light receiving surface of the image sensor into two regions, a center region and a peripheral region, and the defective pixel is located in the central region and the defective pixel is located in the peripheral region. The image signal processing apparatus is characterized in that the defect correction means is switched and the position value corresponding to the defective pixel of the image sensor is corrected by different processing.
上記複数の欠陥補正手段には、欠陥画素の各色のうち欠陥のある色とは異なる色の画素の値を参照して補正をする第1の欠陥補正手段と、上記第1の欠陥補正手段による補正処理とは異なる処理により当該撮像素子の欠陥画素に対応する位置の値を補正する第2の欠陥補正手段とが含まれており、
上記選択手段は、欠陥画素が中心側領域に位置する場合には上記第1の欠陥補正手段を選択し、欠陥画素が周縁側領域に位置する場合には上記第2の欠陥補正手段を選択すること
を特徴とする請求項1記載の画像信号処理装置。
The plurality of defect correction means includes a first defect correction means that performs correction by referring to a pixel value of a color different from a defective color among the colors of the defective pixels, and the first defect correction means. Second defect correction means for correcting the value of the position corresponding to the defective pixel of the image sensor by a process different from the correction process,
The selection unit selects the first defect correction unit when the defective pixel is located in the central region, and selects the second defect correction unit when the defective pixel is located in the peripheral region. The image signal processing apparatus according to claim 1.
上記第1の欠陥補正手段は、
上記欠陥画素と上記欠陥画素に隣接する隣接画素の、複数の種類の色情報を保持し、
上記欠陥画素の上記色情報のうち欠陥のない無欠陥色情報と、上記無欠陥色情報に対応した上記隣接画素の上記色情報との差分を算出し、
上記差分に基づき上記無欠陥色情報に最も類似した上記色情報を特定し、上記隣接画素のうちの特定した色情報を有する画素を参照画素を決定し、
決定した参照画素の値に基づき、欠陥画素の欠陥のある欠陥色情報を補正すること
を特徴とする請求項2記載の画像信号処理装置。
The first defect correction means includes
Holding a plurality of types of color information of the defective pixel and adjacent pixels adjacent to the defective pixel;
Calculating a difference between the defect-free color information having no defect in the color information of the defective pixel and the color information of the adjacent pixel corresponding to the defect-free color information;
Identifying the color information most similar to the defect-free color information based on the difference, determining a reference pixel as a pixel having the specified color information among the adjacent pixels,
The image signal processing apparatus according to claim 2, wherein defective color information having a defect of a defective pixel is corrected based on the determined reference pixel value.
撮像素子から出力された撮像信号に対して、当該撮像素子の欠陥画素に対応する位置の値を補正する欠陥画素補正方法において、
撮像素子の受光面を中心側領域と周縁側領域との2つの領域に分割し、
欠陥画素の位置が中心側領域に位置する場合には、欠陥画素の各色のうち欠陥のある色とは異なる色の画素の値を参照した補正処理アルゴリズムにより、撮像素子から出力された撮像信号に対して欠陥画素に対応する位置の値の補正をし、
欠陥画素の位置が周縁側領域に位置する場合には、欠陥画素の位置が中心側領域に位置する場合とは異なる補正アルゴリズムにより、撮像素子から出力された撮像信号に対して欠陥画素に対応する位置の値の補正をすること
を特徴とする欠陥画素補正方法。
In the defective pixel correction method for correcting the value of the position corresponding to the defective pixel of the image sensor with respect to the image signal output from the image sensor
The light receiving surface of the image sensor is divided into two regions, a central region and a peripheral region,
When the position of the defective pixel is located in the central region, the image signal output from the image sensor is processed by a correction processing algorithm that refers to the value of a pixel having a color different from the defective color among the colors of the defective pixel. For the position value corresponding to the defective pixel,
When the position of the defective pixel is located in the peripheral area, the defective pixel corresponds to the imaging signal output from the image sensor by a correction algorithm different from the case where the position of the defective pixel is located in the central area. A defective pixel correction method comprising correcting a position value.
JP2004353211A 2004-12-06 2004-12-06 Video signal processing apparatus and method Expired - Fee Related JP4457874B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004353211A JP4457874B2 (en) 2004-12-06 2004-12-06 Video signal processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004353211A JP4457874B2 (en) 2004-12-06 2004-12-06 Video signal processing apparatus and method

Publications (2)

Publication Number Publication Date
JP2006165899A JP2006165899A (en) 2006-06-22
JP4457874B2 true JP4457874B2 (en) 2010-04-28

Family

ID=36667426

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004353211A Expired - Fee Related JP4457874B2 (en) 2004-12-06 2004-12-06 Video signal processing apparatus and method

Country Status (1)

Country Link
JP (1) JP4457874B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4754939B2 (en) * 2005-11-01 2011-08-24 オリンパス株式会社 Image processing device
JP4978214B2 (en) * 2006-10-13 2012-07-18 ソニー株式会社 Imaging system and pixel defect correction apparatus
JP5298638B2 (en) * 2008-02-14 2013-09-25 株式会社ニコン Image processing apparatus, imaging apparatus, correction coefficient calculation method, and image processing program
JP2010249621A (en) * 2009-04-15 2010-11-04 Shimadzu Corp Two-dimensional image detector
JP6225328B2 (en) 2013-02-18 2017-11-08 パナソニックIpマネジメント株式会社 Defective pixel correction apparatus and correction method

Also Published As

Publication number Publication date
JP2006165899A (en) 2006-06-22

Similar Documents

Publication Publication Date Title
JP5631325B2 (en) Defect detection method for imaging apparatus and imaging apparatus
JP4289419B2 (en) Imaging device, defective pixel correction device, processing method thereof, and program
JP5371331B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
JP4709084B2 (en) Image processing apparatus and image processing method
JP3984936B2 (en) Imaging apparatus and imaging method
US20110280479A1 (en) Image processing apparatus, image processing method, and computer program
JP3941698B2 (en) Pixel correction circuit and pixel correction method
JP5060535B2 (en) Image processing device
JP5306298B2 (en) Image processing device
JP2006304231A (en) Pixel defect correction device
JP2007129303A (en) Image processing apparatus
JP4533124B2 (en) Pixel defect correction device
TW200427337A (en) Apparatus and method for detecting/correcting pixel defect
JPH08205181A (en) Chromatic aberration correcting circuit and image pickup device with chromatic aberration correcting function
JP5116389B2 (en) Imaging apparatus and control method
JP4457874B2 (en) Video signal processing apparatus and method
WO2013099792A1 (en) Image processing device and method, and imaging device
CN109565556B (en) Image processing apparatus, image processing method, and storage medium
JP2008118491A (en) Image processing device, solid photographing device, electronic device, image processing method, and image processing program
JP4166974B2 (en) Pixel scratch detection / correction device
JP2011055068A (en) Imaging apparatus
JP2006303774A (en) Imaging apparatus
JP2002271806A (en) Pixel defect signal correction circuit for ccd image pickup element
JP2011114473A (en) Pixel defect correction device
JP2011114760A (en) Method for inspecting camera module

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070517

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100113

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: 20100119

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: 20100201

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

Free format text: PAYMENT UNTIL: 20130219

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees