[go: up one dir, main page]

JP2011055337A - Imaging apparatus - Google Patents

Imaging apparatus Download PDF

Info

Publication number
JP2011055337A
JP2011055337A JP2009203625A JP2009203625A JP2011055337A JP 2011055337 A JP2011055337 A JP 2011055337A JP 2009203625 A JP2009203625 A JP 2009203625A JP 2009203625 A JP2009203625 A JP 2009203625A JP 2011055337 A JP2011055337 A JP 2011055337A
Authority
JP
Japan
Prior art keywords
pixel data
abnormal output
data
output pixel
smear
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009203625A
Other languages
Japanese (ja)
Inventor
Tomoyuki Nishimura
朋幸 西村
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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2009203625A priority Critical patent/JP2011055337A/en
Publication of JP2011055337A publication Critical patent/JP2011055337A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transforming Light Signals Into Electric Signals (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Studio Devices (AREA)

Abstract

【課題】立体画像を構成する複数の画像が異なってしまう現象がおきた場合でも、立体視を良好に行うことが可能な撮像装置を提供する。
【解決手段】所定の距離を空けて配置された固体撮像素子5R,5Lを有するデジタルカメラであって、同一の被写体部分を撮像する固体撮像素子5R,5Lの各々に含まれる光電変換素子をペアと定義し、固体撮像素子5R,5Lの撮像データに含まれる異常出力画素データを検出する異常出力画素データ検出部、ペアのうち一方に含まれる光電変換素子から得られた画素データにのみ異常出力画素データが検出された場合で、かつ、該異常出力画素データに含まれるノイズ成分に基づいて決まる異常出力画素データの補正精度が閾値未満の場合に、ペアの他方に含まれる光電変換素子から得られる画素データを、一方から得られた異常出力画素データと同レベルになるよう調整するデータ調整部として機能するデジタル信号処理部17を備える。
【選択図】図5
An imaging apparatus capable of performing stereoscopic viewing satisfactorily even when a phenomenon in which a plurality of images constituting a stereoscopic image are different occurs.
A digital camera having solid-state imaging devices 5R and 5L arranged at a predetermined distance, and a pair of photoelectric conversion elements included in each of the solid-state imaging devices 5R and 5L that images the same subject portion. An abnormal output pixel data detection unit for detecting abnormal output pixel data included in the imaging data of the solid-state imaging devices 5R and 5L, and abnormal output only for pixel data obtained from the photoelectric conversion element included in one of the pair When the pixel data is detected and the correction accuracy of the abnormal output pixel data determined based on the noise component included in the abnormal output pixel data is less than the threshold, it is obtained from the photoelectric conversion element included in the other of the pair. A digital signal processing unit 17 that functions as a data adjustment unit that adjusts the obtained pixel data so as to be at the same level as the abnormal output pixel data obtained from one side. Obtain.
[Selection] Figure 5

Description

本発明は、立体撮像が可能な撮像装置に関する。   The present invention relates to an imaging apparatus capable of stereoscopic imaging.

CCD型の撮像素子では、動画撮影中にスミアが発生することがある。このスミアは、通常、スミアレベル検出用の素子を用いてスミア発生位置及びスミアレベルを検出し、検出したスミア発生位置にある画素からスミアレベルを減算することで補正を行っている。しかし、スミアレベルが光電変換素子の飽和レベルに達していた場合、画素からスミアレベルを減算すると、減算した部分の画素のレベルがゼロになってしまい、黒つぶれが発生してしまう。このため、スミアレベルが飽和レベルに達していた場合には、スミアを補正しても、画質を向上させることができない。   In a CCD type image sensor, smear may occur during moving image shooting. This smear is normally corrected by detecting a smear occurrence position and a smear level using a smear level detecting element, and subtracting the smear level from the pixel at the detected smear occurrence position. However, when the smear level has reached the saturation level of the photoelectric conversion element, if the smear level is subtracted from the pixel, the level of the subtracted portion of the pixel becomes zero and blackout occurs. For this reason, when the smear level reaches the saturation level, the image quality cannot be improved even if the smear is corrected.

近年、視差を設けて配置された2つの撮像系を搭載し、この2つの撮像系で撮影して得られた2つの画像データを合成することで、立体撮像を可能にしたデジタルカメラが提案されている(特許文献1参照)。このような立体撮像可能なデジタルカメラにおいても、CCD型の撮像素子を用いた場合にはスミア発生の可能性がある。しかし、2つの撮像系は視差をもって配置されているため、被写体に高輝度部があった場合でも、その高輝度部によるスミアが2つの撮像系の各々で発生するとは限らない。   In recent years, there has been proposed a digital camera capable of stereoscopic imaging by mounting two imaging systems arranged with parallax and synthesizing two image data obtained by photographing with these two imaging systems. (See Patent Document 1). Even in such a digital camera capable of three-dimensional imaging, smear may occur when a CCD type imaging device is used. However, since the two imaging systems are arranged with parallax, even if the subject has a high-luminance part, smear due to the high-luminance part does not always occur in each of the two imaging systems.

仮に、1つの撮像系だけにスミアが発生した場合を考える。この場合、スミアレベルが飽和レベルに達していなければ、スミア補正を行うことで、立体画像を違和感無く表示させることができる。しかし、スミアレベルが飽和レベルに達しており、スミア補正を行うことができない場合又はスミア補正しても黒沈みが発生してしまう場合には、2つの撮像系から得られる2つの画像データのうちの一方にのみスミア又は黒沈みが存在することになる。このように、2つの画像データが異なるものになってしまうと、2つの画像データを立体合成したときに、立体視の邪魔となったり、長時間立体視していると疲れてしまったりといった問題が発生する。   Let us consider a case where smear occurs only in one imaging system. In this case, if the smear level does not reach the saturation level, the stereoscopic image can be displayed without a sense of incongruity by performing smear correction. However, if the smear level has reached the saturation level and smear correction cannot be performed, or if black sink occurs even after smear correction, out of two image data obtained from the two imaging systems Only one of these will have smears or black sun. In this way, if the two pieces of image data are different from each other, there is a problem that, when the two pieces of image data are stereoscopically combined, they interfere with stereoscopic vision or become tired if they are stereoscopically viewed for a long time. Occurs.

このような問題は、立体撮像可能なカメラにおいて、撮像により得られた2つの画像が異なる場合に発生する。例えば、2つの撮像系のうちの片方の撮像系に含まれる固体撮像素子にのみ白傷が発生している場合にも、このような問題が発生する。白傷が複数個連なっている連キズであり、周囲からの画素補間では補正しきれない場合、2つの画像のうちの片方だけに、補正しきれなかった白傷が残ることになるためである。   Such a problem occurs when two images obtained by imaging are different in a camera capable of stereoscopic imaging. For example, such a problem also occurs when white scratches are generated only in the solid-state imaging device included in one of the two imaging systems. This is because a plurality of white scratches are connected to each other, and when the pixel interpolation from the surrounding area cannot be corrected, a white scratch that cannot be corrected remains in only one of the two images. .

特許文献2には、2つの撮像素子を有する撮像装置において、一方の撮像素子で得られた画像においてスミアが発生している画素を、他方の撮像素子で得られたスミアの発生していない画素と置き換えることで、スミアを除去する方法が開示されている。   In Patent Document 2, in an imaging apparatus having two imaging elements, a pixel in which smear is generated in an image obtained by one imaging element is referred to as a pixel in which smearing is not obtained by the other imaging element. A method for removing smears by replacing is disclosed.

特開2008−167066号公報JP 2008-167066 A 特開平5−344427号公報Japanese Patent Laid-Open No. 5-344427

本発明は、上記事情に鑑みてなされたものであり、立体画像を構成する複数の画像が異なってしまう現象がおきた場合でも、立体視を良好に行うことが可能な撮像装置を提供することを目的とする。   The present invention has been made in view of the above circumstances, and provides an imaging apparatus capable of performing stereoscopic viewing satisfactorily even when a phenomenon occurs in which a plurality of images constituting a stereoscopic image differ. With the goal.

本発明の撮像装置は、所定の距離を空けて配置された第一の固体撮像素子及び第二の固体撮像素子を有する撮像装置であって、同一の被写体部分を撮像する前記第一の固体撮像素子に含まれる第一の光電変換素子と前記第二の固体撮像素子に含まれる第二の光電変換素子をペアと定義し、前記第一の固体撮像素子の撮像データ及び前記第二の固体撮像素子の撮像データに含まれる異常出力を示す異常出力画素データを検出する異常出力画素データ検出手段と、前記ペアのうち、前記第一の光電変換素子から得られた画素データにのみ前記異常出力画素データが検出された場合で、かつ、前記異常出力画素データの補正精度が閾値未満の場合に、前記ペアの前記第二の光電変換素子から得られる画素データを、前記第一の光電変換素子から得られた前記異常出力画素データと同レベルになるよう調整するデータ調整手段とを備える。   The imaging device of the present invention is an imaging device having a first solid-state imaging device and a second solid-state imaging device arranged at a predetermined distance, and the first solid-state imaging that images the same subject portion A first photoelectric conversion element included in the element and a second photoelectric conversion element included in the second solid-state imaging element are defined as a pair, and imaging data of the first solid-state imaging element and the second solid-state imaging Abnormal output pixel data detecting means for detecting abnormal output pixel data indicating abnormal output included in imaging data of the element, and the abnormal output pixel only in the pixel data obtained from the first photoelectric conversion element of the pair When data is detected and the correction accuracy of the abnormal output pixel data is less than a threshold, pixel data obtained from the second photoelectric conversion element of the pair is obtained from the first photoelectric conversion element. Obtained And and a data adjusting means for adjusting said abnormal output pixel data and to the same level.

本発明によれば、立体画像を構成する複数の画像が異なってしまう現象がおきた場合でも、立体視を良好に行うことが可能な撮像装置を提供することができる。   According to the present invention, it is possible to provide an imaging apparatus that can perform stereoscopic viewing satisfactorily even when a phenomenon occurs in which a plurality of images constituting a stereoscopic image differ.

本発明の一実施形態を説明するための撮像装置の一例であるデジタルカメラの概略構成を示す図The figure which shows schematic structure of the digital camera which is an example of the imaging device for describing one Embodiment of this invention 図1に示すデジタルカメラにおける表示部で立体視表示が可能となる仕組みについて説明するための図The figure for demonstrating the mechanism in which the stereoscopic display is attained by the display part in the digital camera shown in FIG. 図1に示したデジタルカメラにおける固体撮像素子の概略構成を示した図The figure which showed schematic structure of the solid-state image sensor in the digital camera shown in FIG. 図1に示したデジタルカメラにおける2つの固体撮像素子のそれぞれで撮像して得られる画像の例を示した図The figure which showed the example of the image acquired by each of the two solid-state image sensors in the digital camera shown in FIG. 図1に示すデジタルカメラにおけるデジタル信号処理部が行う画像補正処理の流れを説明するためのフローチャートThe flowchart for demonstrating the flow of the image correction process which the digital signal processing part in the digital camera shown in FIG. 1 performs. 図1に示すデジタルカメラの2つの固体撮像素子で同一の被写体部位を撮像して得られる画素データの水平方向の位置が異なることを説明するための図The figure for demonstrating that the position of the horizontal direction of the pixel data obtained by imaging the same to-be-photographed object site | part with two solid-state image sensors of the digital camera shown in FIG. 1 differs. 図1に示したデジタルカメラの第一の変形例における固体撮像素子の概略構成を示した図The figure which showed schematic structure of the solid-state image sensor in the 1st modification of the digital camera shown in FIG. 図1に示すデジタルカメラの第一の変形例におけるデジタル信号処理部が行う画像補正処理の流れを説明するためのフローチャートThe flowchart for demonstrating the flow of the image correction process which the digital signal process part in the 1st modification of the digital camera shown in FIG. 1 performs. 図1に示すデジタルカメラの第二の変形例の撮像時の動作を説明するためのフローチャートThe flowchart for demonstrating the operation | movement at the time of imaging of the 2nd modification of the digital camera shown in FIG.

図1は、本発明の一実施形態を説明するための撮像装置の一例であるデジタルカメラの概略構成を示す図である。ここでは撮像装置としてデジタルカメラを例にするが、ビデオカメラやカメラ付き携帯電話機等であっても良い。   FIG. 1 is a diagram showing a schematic configuration of a digital camera which is an example of an imaging apparatus for explaining an embodiment of the present invention. Here, a digital camera is taken as an example of the imaging device, but a video camera, a mobile phone with a camera, or the like may be used.

図示するデジタルカメラの撮像系は、それぞれ水平方向に距離を空けて配置された右眼撮像系と左眼撮像系とを含む。右眼撮像系にはレンズ群1Rと、CCD(Charge Coupled Device)型の固体撮像素子5Rと、この両者の間に設けられた絞り2Rと、赤外線カットフィルタ3Rと、光学ローパスフィルタ4Rとが含まれる。左眼撮像系にはレンズ群1Lと、CCD型の固体撮像素子5Lと、この両者の間に設けられた絞り2Lと、赤外線カットフィルタ3Lと、光学ローパスフィルタ4Lとが含まれる。図1に示すデジタルカメラは、このような撮像系を有することにより、同一被写体を複数視点(図1では左右二つの視点を例示)から撮影可能となっている。   The imaging system of the digital camera shown in the figure includes a right eye imaging system and a left eye imaging system that are arranged at a distance in the horizontal direction. The right-eye imaging system includes a lens group 1R, a CCD (Charge Coupled Device) type solid-state imaging device 5R, a diaphragm 2R provided therebetween, an infrared cut filter 3R, and an optical low-pass filter 4R. It is. The left-eye imaging system includes a lens group 1L, a CCD solid-state imaging device 5L, a diaphragm 2L provided therebetween, an infrared cut filter 3L, and an optical low-pass filter 4L. The digital camera shown in FIG. 1 has such an imaging system, so that the same subject can be photographed from a plurality of viewpoints (two left and right viewpoints are illustrated in FIG. 1).

レンズ群1R,1Lには、それぞれ、ズーム位置を調整するためのズームレンズと、フォーカス位置を調整するためのフォーカスレンズ等が含まれている。このズームレンズとフォーカスレンズは、右眼撮像系と左眼撮像系とで同期して移動するようになっている。   Each of the lens groups 1R and 1L includes a zoom lens for adjusting the zoom position, a focus lens for adjusting the focus position, and the like. The zoom lens and the focus lens are moved synchronously between the right eye imaging system and the left eye imaging system.

デジタルカメラの電気制御系全体を統括制御するシステム制御部11は、所定のプログラムによって動作するプロセッサを主体に構成されている。システム制御部11は、レンズ駆動部8を制御してレンズ群1R,1Lのフォーカスレンズ位置やズームレンズ位置の調整を行ったり、絞り駆動部9を介し絞り2R,2Lの開口量を制御して露光量調整を行ったりする。   The system control unit 11 that performs overall control of the entire electric control system of the digital camera is mainly configured by a processor that operates according to a predetermined program. The system control unit 11 controls the lens driving unit 8 to adjust the focus lens position and zoom lens position of the lens groups 1R and 1L, and controls the aperture amounts of the apertures 2R and 2L via the aperture driving unit 9. Adjust the exposure amount.

また、システム制御部11は、撮像素子駆動部10を介して固体撮像素子5R,5Lを駆動し、レンズ群1R,1Lを通して撮像した被写体画像を撮像信号として出力させる。システム制御部11には、操作部14を通してユーザからの指示信号が入力される。   Further, the system control unit 11 drives the solid-state imaging devices 5R and 5L via the imaging device driving unit 10, and outputs subject images captured through the lens groups 1R and 1L as imaging signals. An instruction signal from the user is input to the system control unit 11 through the operation unit 14.

デジタルカメラの電気制御系は、更に、固体撮像素子5Rの出力に接続された相関二重サンプリング処理等のアナログ信号処理を行うアナログ信号処理部6Rと、このアナログ信号処理部6Rから出力された撮像信号をデジタル信号に変換するA/D変換回路7Rと、固体撮像素子5Lの出力に接続された相関二重サンプリング処理等のアナログ信号処理を行うアナログ信号処理部6Lと、このアナログ信号処理部6Lから出力された撮像信号をデジタル信号に変換するA/D変換回路7Lとを備え、これらはシステム制御部11によって制御される。   The electric control system of the digital camera further includes an analog signal processing unit 6R that performs analog signal processing such as correlated double sampling processing connected to the output of the solid-state imaging device 5R, and an image output output from the analog signal processing unit 6R. An A / D conversion circuit 7R that converts a signal into a digital signal, an analog signal processing unit 6L that performs analog signal processing such as correlated double sampling processing connected to the output of the solid-state imaging device 5L, and the analog signal processing unit 6L And an A / D conversion circuit 7L that converts the imaging signal output from the digital signal into a digital signal, and these are controlled by the system control unit 11.

更に、このデジタルカメラの電気制御系は、メインメモリ16と、メインメモリ16に接続されたメモリ制御部15と、A/D変換回路7R,7Lから出力される撮像信号にそれぞれ所定のデジタル信号処理(補間演算やガンマ補正演算,RGB/YC変換処理等)を行って画像データを生成するデジタル信号処理部17と、デジタル信号処理部17で生成された画像データをJPEG形式に圧縮したり圧縮画像データを伸張したりする圧縮伸張処理部18と、着脱自在の記録媒体21が接続される外部メモリ制御部20と、画像データを立体視可能に表示する表示部23が接続される表示制御部22とを備え、これらは、制御バス24及びデータバス25によって相互に接続され、システム制御部11からの指令によって制御される。   Further, the electric control system of the digital camera includes a main memory 16, a memory control unit 15 connected to the main memory 16, and imaging signals output from the A / D conversion circuits 7R and 7L. Digital signal processing unit 17 that generates image data by performing (interpolation calculation, gamma correction calculation, RGB / YC conversion processing, etc.), and the image data generated by digital signal processing unit 17 is compressed into a JPEG format or a compressed image A display control unit 22 to which a compression / decompression processing unit 18 for expanding data, an external memory control unit 20 to which a detachable recording medium 21 is connected, and a display unit 23 for displaying image data in a stereoscopic manner are connected. These are connected to each other by a control bus 24 and a data bus 25, and are controlled by commands from the system control unit 11.

表示部23は、撮影済み画像を表示するための画像表示部として利用されるとともに、各種設定時にGUIとして利用される。また、撮影時には、固体撮像素子5R,5Lで捉えた画像がスルー画として連続的に表示され、電子ファインダ等として利用される。   The display unit 23 is used as an image display unit for displaying a captured image, and is used as a GUI at various settings. At the time of shooting, images captured by the solid-state imaging devices 5R and 5L are continuously displayed as through images and used as an electronic viewfinder or the like.

図2は、表示部23で立体視表示が可能となる仕組みについて説明するための図である。表示部23に表示される立体画像の表示領域は、右眼用短冊画像表示領域24Rと左眼用短冊画像表示領域24Lとから構成されている。右眼用短冊画像表示領域24R及び左眼用短冊画像表示領域24Lは、それぞれ図2中y軸方向に細長い短冊形状をしており、図2中x軸方向に交互に配置される。   FIG. 2 is a diagram for explaining a mechanism that enables stereoscopic display on the display unit 23. The display area of the stereoscopic image displayed on the display unit 23 includes a strip image display area 24R for the right eye and a strip image display area 24L for the left eye. The right-eye strip image display area 24R and the left-eye strip image display area 24L each have an elongated strip shape in the y-axis direction in FIG. 2, and are alternately arranged in the x-axis direction in FIG.

表示部23は、例えば液晶パネルであり、右眼用短冊画像表示領域24Rと左眼用短冊画像表示領域24Lとで、光の出射方向を異なる方向に制御することで、立体視を可能にしている。   The display unit 23 is a liquid crystal panel, for example, and enables stereoscopic viewing by controlling the light emission direction in different directions in the strip image display area 24R for the right eye and the strip image display area 24L for the left eye. Yes.

図2では、観者の右眼ERには、表示部23の右眼用短冊画像表示領域24Rに表示された右眼用短冊画像が入射されるように光の出射方向が制御される。また、観者の左眼ELには、表示部23の左眼用短冊画像表示領域24Lに表示された左眼用短冊画像が入射されるように光の出射方向が制御される。したがって、観者の右眼は右眼用短冊画像のみを、観者の左眼は左眼用短冊画像のみを見ることになり、これら右眼用短冊画像の集合である右眼用画像及び左眼用短冊画像の集合である左眼用画像による左右視差により立体視が可能となる。このような構成により、表示部23は、右眼用画像と左眼用画像から立体画像を表示することができる。   In FIG. 2, the light emission direction is controlled so that the right eye strip image displayed in the right eye strip image display area 24R of the display unit 23 is incident on the viewer's right eye ER. The light emission direction is controlled so that the left eye strip image displayed in the left eye strip image display area 24L of the display unit 23 is incident on the left eye EL of the viewer. Therefore, the viewer's right eye sees only the right-eye strip image, and the viewer's left eye sees only the left-eye strip image, and the right-eye image and the left eye are a set of these right-eye strip images. Stereoscopic viewing is possible by the left-right parallax of the left-eye image that is a set of ophthalmic strip images. With such a configuration, the display unit 23 can display a stereoscopic image from the right-eye image and the left-eye image.

なお、このような構成以外に、表示部23として通常の液晶パネルを用い、その表示面にレンチキュラーレンズを貼り付けることで、立体視を可能にしても良い。   In addition to this configuration, a normal liquid crystal panel may be used as the display unit 23 and a lenticular lens may be attached to the display surface to enable stereoscopic viewing.

図3は、図1に示したデジタルカメラにおける固体撮像素子5Rの概略構成を示した図である。なお、固体撮像素子5Lの構成は固体撮像素子5Rと同一である。   FIG. 3 is a diagram showing a schematic configuration of the solid-state imaging device 5R in the digital camera shown in FIG. The configuration of the solid-state image sensor 5L is the same as that of the solid-state image sensor 5R.

図3に示した固体撮像素子5Rは、シリコン等の半導体基板500に形成された画素領域50、水平電荷転送路53、及び出力部54を備える。画素領域50は、有効画素部51及びOB部52を備える。   The solid-state imaging device 5R illustrated in FIG. 3 includes a pixel region 50, a horizontal charge transfer path 53, and an output unit 54 formed on a semiconductor substrate 500 such as silicon. The pixel region 50 includes an effective pixel part 51 and an OB part 52.

画素領域50には、フォトダイオード等の光電変換素子を水平方向に複数並べたラインが、水平方向に直交する垂直方向に複数配列されている。   In the pixel region 50, a plurality of lines in which a plurality of photoelectric conversion elements such as photodiodes are arranged in the horizontal direction are arranged in the vertical direction orthogonal to the horizontal direction.

画素領域50の各光電変換素子で発生した電荷は、画素領域50内の図示しない垂直電荷転送路に読み出され、ここで垂直方向に転送される。垂直電荷転送路を転送されてきた1ライン分の電荷は、水平電荷転送路53によって水平方向に転送される。水平電荷転送路53の終端にはフローティングディフュージョアンプ(FDA)等の、電荷をその電荷量に比例した電圧信号(以下、撮像信号ともいう)に変換して出力する出力部54が設けられ、水平方向に転送されてきた電荷がこの出力部54で電圧信号に変換されて外部に出力される。   The charge generated in each photoelectric conversion element in the pixel region 50 is read out to a vertical charge transfer path (not shown) in the pixel region 50 and transferred here in the vertical direction. The charge for one line transferred through the vertical charge transfer path is transferred in the horizontal direction by the horizontal charge transfer path 53. At the end of the horizontal charge transfer path 53, there is provided an output unit 54 such as a floating diffusion amplifier (FDA) that converts the charge into a voltage signal (hereinafter also referred to as an imaging signal) proportional to the amount of charge. The charges transferred in the horizontal direction are converted into voltage signals by the output unit 54 and output to the outside.

OB部52は、画素領域50の水平電荷転送路53側の端部にある数ラインを遮光した領域である。OB部52に形成された各光電変換素子が、垂直電荷転送路に溢れ出したスミア電荷に応じたスミアを検出するためのスミア検出領域を形成する。なお、スミアは、垂直電荷転送路に溢れ出した電荷に応じた信号であるため、OB部52は、光電変換素子を省略した構成、つまり、垂直電荷転送路だけが存在している構成であってもよい。   The OB portion 52 is a region in which several lines at the end of the pixel region 50 on the horizontal charge transfer path 53 side are shielded from light. Each photoelectric conversion element formed in the OB portion 52 forms a smear detection region for detecting smear according to the smear charge overflowing in the vertical charge transfer path. Since smear is a signal corresponding to the charge overflowing the vertical charge transfer path, the OB unit 52 has a configuration in which the photoelectric conversion element is omitted, that is, only the vertical charge transfer path exists. May be.

有効画素部51は、OB部52にある光電変換素子以外の光電変換素子が形成された領域である。有効画素部51の各光電変換素子上方の遮光膜には開口が形成されており、ここから被写体光が入射するようになっている。   The effective pixel portion 51 is a region where photoelectric conversion elements other than the photoelectric conversion elements in the OB portion 52 are formed. An opening is formed in the light-shielding film above each photoelectric conversion element of the effective pixel portion 51, and subject light enters from here.

図4は、図1に示したデジタルカメラにおける固体撮像素子5Rと固体撮像素子5Lのそれぞれで撮像して得られる画像の例を示した図である。図4において、符号40Rは、固体撮像素子5Rで撮像して得られた画像を示し、符号40Lは、固体撮像素子5Lで撮像して得られた画像を示している。   FIG. 4 is a diagram illustrating an example of an image obtained by imaging with each of the solid-state imaging device 5R and the solid-state imaging device 5L in the digital camera shown in FIG. In FIG. 4, reference numeral 40R indicates an image obtained by imaging with the solid-state imaging element 5R, and reference numeral 40L indicates an image obtained by imaging with the solid-state imaging element 5L.

固体撮像素子5Rと固体撮像素子5Lでは、被写体の同一部位に対し、その部位から光を受光する固体撮像素子5Rの光電変換素子と、その部位から光を受光する固体撮像素子5Lの光電変換素子とで、光の入射方向が異なっている。これは、この2つの光電変換素子の一方の中心と被写体の同一部位を結ぶ線と、この2つの光電変換素子の他方の中心と被写体の同一部位を結ぶ線とのなす角度が、人の両眼視差に対応する角度となるように、固体撮像素子5Rと固体撮像素子5Lが距離を空けて配置されているからである。以下では、被写体の同一部位を撮像(その部位から光を受光)する固体撮像素子5Rの光電変換素子及び固体撮像素子5Lの光電変換素子の組み合わせのことをペアと定義する。   In the solid-state image sensor 5R and the solid-state image sensor 5L, for the same part of the subject, the photoelectric conversion element of the solid-state image sensor 5R that receives light from the part, and the photoelectric conversion element of the solid-state image sensor 5L that receives light from the part And the incident direction of light is different. This is because the angle formed between the line connecting one center of the two photoelectric conversion elements and the same part of the subject and the line connecting the other center of the two photoelectric conversion elements and the same part of the subject is determined by both humans. This is because the solid-state imaging device 5R and the solid-state imaging device 5L are arranged at a distance so as to have an angle corresponding to the eye parallax. Hereinafter, a combination of a photoelectric conversion element of the solid-state image sensor 5R and a photoelectric conversion element of the solid-state image sensor 5L that images the same part of the subject (receives light from the part) is defined as a pair.

このように、固体撮像素子5Rと固体撮像素子5Lが視差をもって配置されているため、被写体に高輝度部位が存在していた場合でも、片方の固体撮像素子にのみスミアが発生するといった状況が起こり得る。図4に示すように、被写体に高輝度部位として太陽41と車のヘッドライト40が存在していたとする。この場合、太陽41は、ペアのどちらの光電変換素子にも一様に光が入射しているため、画像40Rと画像40Lのいずれにもスミア41aが発生している。これに対し、ヘッドライト40は、ペアの一方(固体撮像素子5L側)の光電変換素子にだけ大量の光が入射しているため、画像40Lにのみスミア40aが発生している。このように、片方の画像にのみスミア40aが発生してしまうと、画像40Rと画像40Lを立体表示させたときに、立体視を良好に行うことが難しくなってしまう。   As described above, since the solid-state imaging device 5R and the solid-state imaging device 5L are arranged with parallax, even when a high-luminance part is present in the subject, a situation occurs in which smear occurs only in one of the solid-state imaging devices. obtain. As shown in FIG. 4, it is assumed that the sun 41 and the vehicle headlight 40 exist as a high-luminance part in the subject. In this case, since light is uniformly incident on both photoelectric conversion elements of the pair, the smear 41a is generated in both the image 40R and the image 40L. On the other hand, in the headlight 40, since a large amount of light is incident only on one of the photoelectric conversion elements in the pair (the solid-state imaging element 5L side), the smear 40a is generated only in the image 40L. Thus, if the smear 40a occurs only in one of the images, it is difficult to perform stereoscopic viewing satisfactorily when the images 40R and 40L are stereoscopically displayed.

そこで、このデジタルカメラでは、図4に示したスミア40aのように、一方の画像にのみ発生しているスミアがあった場合でも、スミア40aが発生していない側の画像40Rを補正して、立体視を良好にできるような画像補正処理をデジタル信号処理部17が行うようにしている。以下では、この画像補正処理の詳細について説明する。   Therefore, in this digital camera, even when there is a smear occurring in only one image, such as the smear 40a shown in FIG. 4, the image 40R on the side where the smear 40a is not generated is corrected, The digital signal processing unit 17 performs image correction processing that can improve stereoscopic viewing. Details of the image correction process will be described below.

図5は、図1に示すデジタルカメラにおけるデジタル信号処理部17が行う画像補正処理の流れを説明するためのフローチャートである。   FIG. 5 is a flowchart for explaining the flow of image correction processing performed by the digital signal processing unit 17 in the digital camera shown in FIG.

固体撮像素子5R,5Lにより撮像が行われると、撮像により得られた撮像データが、メインメモリ16に記憶される。この撮像データは、固体撮像素子5R,5Lの各光電変換素子から得られた信号(画素データ)で構成されたデータである。以下では、固体撮像素子5Rから得られた撮像データを撮像データRといい、固体撮像素子5Lから得られた撮像データを撮像データLという。   When imaging is performed by the solid-state imaging devices 5 </ b> R and 5 </ b> L, imaging data obtained by imaging is stored in the main memory 16. This imaging data is data composed of signals (pixel data) obtained from the photoelectric conversion elements of the solid-state imaging elements 5R and 5L. Hereinafter, imaging data obtained from the solid-state imaging device 5R is referred to as imaging data R, and imaging data obtained from the solid-state imaging device 5L is referred to as imaging data L.

撮像データR,Lがメインメモリ16に記憶された後、デジタル信号処理部17が、撮像データR,Lからスミアを検出する(ステップS41)。   After the imaging data R and L are stored in the main memory 16, the digital signal processing unit 17 detects smear from the imaging data R and L (step S41).

デジタル信号処理部17は、撮像データRに含まれる画素データのうち、OB部52にある1ラインから得られた画素データを抽出し、抽出した画素データのうちレベルが閾値を越えている画素データがあるかどうかを判定することで、スミアを検出する。レベルが閾値を越えている画素データがあった場合には、その画素データの水平方向の位置(x座標位置)と、その画素データのレベルによって、スミアの発生位置とスミアのレベルを検出することができる。レベルが閾値を越えている画素データがない場合には、スミアは発生していないと判定する。スミアは発生していないと判定したとき、デジタル信号処理部17は、画像補正処理を終了し、撮像データR,Lにそれぞれ所定の信号処理を施して立体画像データを生成し、これを記録する。   The digital signal processing unit 17 extracts pixel data obtained from one line in the OB unit 52 from the pixel data included in the imaging data R, and pixel data whose level exceeds the threshold value among the extracted pixel data. Smear is detected by determining whether or not there is. When there is pixel data whose level exceeds the threshold value, the smear occurrence position and the smear level are detected based on the horizontal position (x coordinate position) of the pixel data and the level of the pixel data. Can do. If there is no pixel data whose level exceeds the threshold, it is determined that smear has not occurred. When it is determined that smear has not occurred, the digital signal processing unit 17 ends the image correction process, performs predetermined signal processing on the imaging data R and L, respectively, generates stereoscopic image data, and records this. .

なお、各撮像データR,Lにおいて、ステップS41で検出されたスミアのx座標位置にある有効画素部51から得られた画素データは、被写体光に応じた信号に、ノイズ成分であるスミアデータが重畳されたものとなっている。このため、この画素データは、他の画素データと比較して異常な出力レベルとなっている。したがって、有効画素部51から得られた画素データのうち、スミアデータを含む画素データのことを、異常出力画素データということができる。デジタル信号処理部17は、撮像データR,Lからスミアを検出することで、撮像データR,Lの異常出力画素データも検出している。   In each of the imaging data R and L, the pixel data obtained from the effective pixel unit 51 at the x-coordinate position of the smear detected in step S41 includes smear data that is a noise component in a signal corresponding to the subject light. It is superimposed. For this reason, this pixel data has an abnormal output level compared to other pixel data. Accordingly, pixel data including smear data among the pixel data obtained from the effective pixel unit 51 can be referred to as abnormal output pixel data. The digital signal processing unit 17 detects abnormal output pixel data of the imaging data R and L by detecting smear from the imaging data R and L.

スミアを検出した後、デジタル信号処理部17は、撮像データRに発生しているスミアの発生位置と撮像データLに発生しているスミアの発生位置を比較する(ステップS42)。   After detecting the smear, the digital signal processing unit 17 compares the occurrence position of the smear occurring in the imaging data R with the occurrence position of the smear occurring in the imaging data L (step S42).

図6は、撮像データRと撮像データLで、同一の被写体部位を撮像して得られる画素データの水平方向の位置が異なることを説明するための図である。例えば、図4に示したヘッドライト40から光を受光した固体撮像素子5Lの光電変換素子から画素データの水平方向の位置をAとする。この場合、ヘッドライト40から光を受光した固体撮像素子5Rの光電変換素子から得られた画素データの水平方向の位置は、(A+α)になる。このαは、固体撮像素子5Rと固体撮像素子5Lの距離に対応した値であり、既知の値である。   FIG. 6 is a diagram for explaining that the horizontal position of pixel data obtained by imaging the same subject region is different between the imaging data R and the imaging data L. FIG. For example, let A be the horizontal position of the pixel data from the photoelectric conversion element of the solid-state imaging element 5L that receives light from the headlight 40 shown in FIG. In this case, the horizontal position of the pixel data obtained from the photoelectric conversion element of the solid-state imaging device 5R that receives light from the headlight 40 is (A + α). This α is a value corresponding to the distance between the solid-state image sensor 5R and the solid-state image sensor 5L, and is a known value.

このため、デジタル信号処理部17では、撮像データLから検出したスミアの発生位置と、撮像データRから検出したスミアの発生位置からαを減算した位置とを比較することで、撮像データRと撮像データLから検出したスミアが、被写体の同一部位に対し撮像データRと撮像データLの両方に発生しているものか、被写体の同一部位に対し撮像データRと撮像データLのいずれかにのみ発生しているものかを判定することができる。   Therefore, the digital signal processing unit 17 compares the imaging data R and the imaging by comparing the smear generation position detected from the imaging data L with the position obtained by subtracting α from the smear generation position detected from the imaging data R. The smear detected from the data L is generated in both the imaging data R and the imaging data L for the same part of the subject, or only in either the imaging data R or the imaging data L for the same part of the subject. It is possible to determine whether or not

ステップS42の比較の結果、デジタル信号処理部17は、ステップS41で検出したスミアを、被写体の同一部位に対し撮像データRと撮像データLの両方に発生しているスミア(1)と、被写体の同一部位に対し撮像データRと撮像データLのいずれかにのみ発生しているスミア(2)とに分類する。   As a result of the comparison in step S42, the digital signal processing unit 17 determines that the smear detected in step S41 is the smear (1) generated in both the imaging data R and the imaging data L for the same part of the subject and the subject. The smear (2) generated only in either the imaging data R or the imaging data L for the same part is classified.

そして、デジタル信号処理部17は、スミア(1)に対しては第一の処理を実施し、スミア(2)に対しては第二の処理を実施する。以下の説明では、撮像データRに基づく画像が図4に示す画像40Rであり、撮像データLに基づく画像が図4に示す画像40Lである場合を例にする。この場合、図4に示すスミア41aが上記スミア(1)となり、図4に示すスミア40aが上記スミア(2)となる。   The digital signal processing unit 17 performs a first process on the smear (1) and performs a second process on the smear (2). In the following description, an example in which the image based on the imaging data R is the image 40R illustrated in FIG. 4 and the image based on the imaging data L is the image 40L illustrated in FIG. In this case, the smear 41a shown in FIG. 4 becomes the smear (1), and the smear 40a shown in FIG. 4 becomes the smear (2).

<第一の処理>
デジタル信号処理部17は、スミア(1)が十分に補正することができるものかどうか、つまり補正精度が閾値になるかどうかを判定し、補正精度が閾値であればスミア(1)の補正を行う判定を下し、補正精度が閾値未満であればスミア(1)の補正を行わない判定を下す(ステップS44)。
<First treatment>
The digital signal processing unit 17 determines whether the smear (1) can be sufficiently corrected, that is, whether the correction accuracy is a threshold value. If the correction accuracy is a threshold value, the digital signal processing unit 17 corrects the smear (1). If the correction accuracy is less than the threshold, a determination is made not to correct smear (1) (step S44).

例えば、デジタル信号処理部17は、スミア(1)のスミアレベルを参照し、このスミアレベルが閾値(光電変換素子の飽和レベル)に達しているかどうかを判定する。スミアレベルが閾値に達していた場合、スミア発生位置にある異常出力画素データから該スミアレベルを減算すると、その異常出力画素データのレベルがゼロになってしまう。このため、スミアを補正しても画質を向上させることができない。したがって、デジタル信号処理部17は、スミアレベルが閾値に達していたときには、スミアの補正精度が0であると判定する。   For example, the digital signal processing unit 17 refers to the smear level of the smear (1) and determines whether or not the smear level has reached a threshold value (saturation level of the photoelectric conversion element). When the smear level has reached the threshold value, if the smear level is subtracted from the abnormal output pixel data at the smear occurrence position, the level of the abnormal output pixel data becomes zero. For this reason, even if the smear is corrected, the image quality cannot be improved. Therefore, the digital signal processing unit 17 determines that the smear correction accuracy is 0 when the smear level has reached the threshold value.

一方、スミアレベルが閾値未満であれば、スミア発生位置の異常出力画素データから該スミアレベルを減算することで、その異常出力画素データからスミアのみを除去することができる。このため、スミアを補正して画質を向上させることができる。したがって、デジタル信号処理部17は、スミアレベルが閾値未満のときには、スミアの補正精度が1であると判定する。そして、スミアの補正精度が1であればスミア(1)の補正を行うと判定し、スミアの補正精度が1未満(=ゼロ)であればスミア(1)の補正を行わないと判定する。   On the other hand, if the smear level is less than the threshold value, only the smear can be removed from the abnormal output pixel data by subtracting the smear level from the abnormal output pixel data at the smear occurrence position. For this reason, smear can be corrected and image quality can be improved. Therefore, the digital signal processing unit 17 determines that the smear correction accuracy is 1 when the smear level is less than the threshold value. If the smear correction accuracy is 1, it is determined that the smear (1) is corrected. If the smear correction accuracy is less than 1 (= zero), it is determined that the smear (1) is not corrected.

ステップS44でスミアの補正を行うと判定した場合、デジタル信号処理部17は、スミア(1)の補正を実施する(ステップS45)。   If it is determined in step S44 that smear correction is to be performed, the digital signal processing unit 17 performs smear (1) correction (step S45).

図4の例で説明すると、デジタル信号処理部17は、撮像データRから検出したスミア41aの発生位置における撮像データRの異常出力画素データから該スミア41aのレベルを減算する。また、デジタル信号処理部17は、撮像データLから検出したスミア41aの発生位置における撮像データLの異常出力画素データから該スミア41aのレベルを減算する。これにより、画像40R及び画像40Lからスミア41aを除去することができる。   In the example of FIG. 4, the digital signal processing unit 17 subtracts the level of the smear 41 a from the abnormal output pixel data of the imaging data R at the generation position of the smear 41 a detected from the imaging data R. Further, the digital signal processing unit 17 subtracts the level of the smear 41a from the abnormal output pixel data of the imaging data L at the generation position of the smear 41a detected from the imaging data L. Thereby, the smear 41a can be removed from the image 40R and the image 40L.

ステップS44でスミアの補正を行わないと判定した場合、デジタル信号処理部17は、画像補正処理を終了する。この場合、スミア41aは、画像40R、40Lのいずれにも残ることになるが、画像40R,40Lを立体表示させたときには、スミア41aも立体的に表示されることになる。したがって、立体視を行う上での阻害にはならない。   If it is determined in step S44 that smear correction is not performed, the digital signal processing unit 17 ends the image correction process. In this case, the smear 41a remains in both the images 40R and 40L. However, when the images 40R and 40L are displayed in 3D, the smear 41a is also displayed in 3D. Therefore, it does not hinder stereoscopic viewing.

<第二の処理>
デジタル信号処理部17は、スミア(2)が十分に補正することができるものかどうか、つまり補正精度が閾値になるかどうかを判定し、補正精度が閾値であればスミア(2)の補正を行う判定を下し、補正精度が閾値未満であればスミア(2)の補正を行わない判定を下す(ステップS46)。
<Second processing>
The digital signal processing unit 17 determines whether the smear (2) can be sufficiently corrected, that is, whether the correction accuracy is a threshold value. If the correction accuracy is a threshold value, the digital signal processing unit 17 corrects the smear (2). If the correction accuracy is less than the threshold, a determination is made not to correct smear (2) (step S46).

例えば、デジタル信号処理部17は、スミア(2)のスミアレベルを参照し、このスミアレベルが閾値(光電変換素子の飽和レベル)に達しているかどうかを判定する。スミアレベルが閾値に達していた場合、デジタル信号処理部17は、スミアの補正精度が0であると判定する。一方、スミアレベルが閾値未満の場合、デジタル信号処理部17は、スミアの補正精度が1であると判定する。そして、デジタル信号処理部17は、スミアの補正精度が1であればスミア(2)の補正を行うと判定し、スミアの補正精度が1未満(=ゼロ)であればスミア(2)の補正を行わないと判定する。   For example, the digital signal processing unit 17 refers to the smear level of the smear (2) and determines whether or not the smear level has reached a threshold value (saturation level of the photoelectric conversion element). If the smear level has reached the threshold value, the digital signal processing unit 17 determines that the smear correction accuracy is zero. On the other hand, when the smear level is less than the threshold, the digital signal processing unit 17 determines that the smear correction accuracy is 1. Then, the digital signal processing unit 17 determines that the smear (2) correction is performed if the smear correction accuracy is 1, and the smear (2) correction is performed if the smear correction accuracy is less than 1 (= zero). Is determined not to be performed.

ステップS46でスミア(2)の補正を行うと判定した場合、デジタル信号処理部17は、ステップS45に処理を移行し、スミア(2)の補正を実施する。   If it is determined in step S46 that smear (2) correction is to be performed, the digital signal processing unit 17 proceeds to step S45 and performs smear (2) correction.

図4の例で説明すると、デジタル信号処理部17は、撮像データLで検出したスミア40aの発生位置における撮像データLの異常出力画素データから該スミア40aのレベルを減算する。これにより、スミア40aが除去される。このため、画像40Rと画像40Lを立体表示させた場合でも、スミア40aが片方だけに表示されてしまって立体視を阻害してしまうようなことはない。   In the example of FIG. 4, the digital signal processing unit 17 subtracts the level of the smear 40 a from the abnormal output pixel data of the imaging data L at the generation position of the smear 40 a detected by the imaging data L. Thereby, the smear 40a is removed. For this reason, even when the images 40R and 40L are stereoscopically displayed, the smear 40a is not displayed on one side and the stereoscopic vision is not hindered.

ステップS46でスミア(2)の補正を行わないと判定した場合、デジタル信号処理部17は、スミア(2)の補正を行わず、スミア(2)の発生位置における撮像データLの異常出力画素データの出力元の光電変換素子(固体撮像素子5Lの光電変換素子)とペアを構成する光電変換素子(固体撮像素子5Rの光電変換素子)から得られる画素データを、該異常出力画素データと同レベルになるよう調整する(ステップS47)。   If it is determined in step S46 that the smear (2) correction is not performed, the digital signal processing unit 17 does not perform the smear (2) correction, and abnormal output pixel data of the imaging data L at the position where the smear (2) is generated. The pixel data obtained from the photoelectric conversion element (photoelectric conversion element of the solid-state image pickup device 5R) that forms a pair with the photoelectric conversion element of the output source (photoelectric conversion device of the solid-state image pickup device 5L) is the same level as the abnormal output pixel data (Step S47).

スミア(2)の発生位置における撮像データLの異常出力画素データの座標位置をCとすると、デジタル信号処理部17は、撮像データRのうちの座標位置(C+α)における有効画素部51から得られた画素データに、撮像データLにおいて検出されたスミア40aのレベルを加算する。または、デジタル信号処理部17は、撮像データRのうちの座標位置(C+α)における有効画素部51から得られた画素データを、撮像データLの座標位置Cの異常出力画素データと置き換える。   If the coordinate position of the abnormal output pixel data of the imaging data L at the smear (2) occurrence position is C, the digital signal processing unit 17 is obtained from the effective pixel unit 51 at the coordinate position (C + α) in the imaging data R. The level of smear 40a detected in the imaging data L is added to the pixel data. Alternatively, the digital signal processing unit 17 replaces the pixel data obtained from the effective pixel unit 51 at the coordinate position (C + α) in the imaging data R with the abnormal output pixel data at the coordinate position C of the imaging data L.

これにより、スミア40aが画像40Rにも追加される。このため、画像40Rと画像40Lを立体表示させた場合でも、スミア40aが片方だけに表示されてしまって立体視を阻害してしまうようなことはない。   Thereby, the smear 40a is also added to the image 40R. For this reason, even when the images 40R and 40L are stereoscopically displayed, the smear 40a is not displayed on one side and the stereoscopic vision is not hindered.

ステップS45,S47の終了後、デジタル信号処理部17は、撮像データR,Lに対して所定の信号処理を行って立体画像データを生成し、これを記録する。   After the end of steps S45 and S47, the digital signal processing unit 17 performs predetermined signal processing on the imaging data R and L to generate stereoscopic image data, and records this.

以上のように、このデジタルカメラによれば、ペアの一方から得られた画素データのみが異常出力画素データとなっており、かつ、ペアの一方から得られた異常出力画素データの補正精度が閾値未満で異常出力画素データの補正ができない場合でも、ペアの他方から得られた画素データが、該異常出力画素データと同レベルになるよう補正される。このため、ペアから得られた2つの画素データのそれぞれに異常出力画素データが含まれることになり、撮像データRと撮像データLを立体合成した場合でも、立体視を良好に行うことが可能になる。   As described above, according to this digital camera, only the pixel data obtained from one of the pair is abnormal output pixel data, and the correction accuracy of the abnormal output pixel data obtained from one of the pair is a threshold value. Even if the abnormal output pixel data cannot be corrected at less than the value, the pixel data obtained from the other of the pair is corrected so as to have the same level as the abnormal output pixel data. For this reason, abnormal output pixel data is included in each of the two pixel data obtained from the pair, and even when the imaging data R and the imaging data L are stereoscopically combined, it is possible to perform stereoscopic viewing satisfactorily. Become.

なお、以上の説明では、ステップS44において、スミア(1)の補正を行うか否かを判定しているが、この判定を行わずに、スミア(1)の補正を常に実施してしまってもよい。   In the above description, it is determined whether or not the smear (1) is corrected in step S44. However, the smear (1) may be always corrected without performing this determination. Good.

図4の例で説明すると、スミア41aの補正精度が0のときに、デジタル信号処理部17がスミア41aの補正を行ってしまってもよい。この場合、図4に示した画像40Rと画像40Lにおけるスミア41aの部分が黒沈みすることになる。しかし、画像40Rと画像40Lを立体表示させた場合には、この黒沈み部分も立体的に表示されることになる。したがって、立体視を阻害してしまうようなことはない。   In the example of FIG. 4, when the correction accuracy of the smear 41a is 0, the digital signal processing unit 17 may correct the smear 41a. In this case, the smear 41a in the image 40R and the image 40L shown in FIG. 4 is darkened. However, when the image 40R and the image 40L are stereoscopically displayed, the black sunken portion is also stereoscopically displayed. Therefore, there is no such thing as obstructing stereoscopic vision.

また、以上の説明では、ステップS46において、スミア(2)の補正を行うか否かを判定しているが、この判定を行わずに、スミア(2)の補正を常に実施してしまってもよい。   In the above description, it is determined whether or not the smear (2) correction is performed in step S46, but the smear (2) correction is always performed without performing this determination. Good.

図4の例で説明すると、スミア40aの補正精度が0のときに、デジタル信号処理部17がスミア40aの補正を行ってしまってもよい。この場合、図4に示したスミア40aの部分が黒沈みすることになり、このままでは、画像40Rと画像40Lを立体表示させた場合に立体視を阻害してしまう。   In the example of FIG. 4, when the correction accuracy of the smear 40a is 0, the digital signal processing unit 17 may correct the smear 40a. In this case, the portion of the smear 40a shown in FIG. 4 is darkened. If the image 40R and the image 40L are stereoscopically displayed, the stereoscopic view is hindered.

そこで、この場合には、ステップS47において、デジタル信号処理部17が、スミア40aの発生位置における異常出力画素データの出力元の固体撮像素子5Lの光電変換素子とペアを構成する固体撮像素子5Rの光電変換素子から得られる画素データを、スミア補正後の該異常出力画素データと同レベルになるよう調整すればよい。つまり、スミア40aの発生位置にαをプラスした座標位置にある撮像データRの有効画素部51から得られた画素データを、スミア40aの発生位置における異常出力画素データのスミア補正後のレベル(ゼロレベル)に置き換えればよい。   Therefore, in this case, in step S47, the digital signal processing unit 17 causes the solid-state imaging element 5R that forms a pair with the photoelectric conversion element of the solid-state imaging element 5L that is the output source of the abnormal output pixel data at the position where the smear 40a is generated. The pixel data obtained from the photoelectric conversion element may be adjusted to have the same level as the abnormal output pixel data after smear correction. That is, the pixel data obtained from the effective pixel portion 51 of the imaging data R at the coordinate position obtained by adding α to the occurrence position of the smear 40a is used as the level (zero) after the smear correction of the abnormal output pixel data at the occurrence position of the smear 40a. Level).

このようにすることで、図4に示した画像40Rにも黒沈みが存在することになり、画像40Rと画像40Lを立体表示させた場合に、この黒沈み部分も立体的に表示させることができる。したがって、立体視を阻害してしまうようなことをなくすことができる。   By doing so, black sunspots also exist in the image 40R shown in FIG. 4, and when the images 40R and 40L are displayed in three dimensions, the black sunken parts can also be displayed in three dimensions. it can. Therefore, it is possible to eliminate the possibility of obstructing stereoscopic vision.

次に、図1に示したデジタルカメラの変形例を説明する。   Next, a modification of the digital camera shown in FIG. 1 will be described.

(第一の変形例)
この変形例のデジタルカメラは、図1に示したデジタルカメラの固体撮像素子を図7に示したものに変更し、デジタル信号処理部17の機能を一部変更したものである。
(First modification)
The digital camera of this modification is obtained by changing the solid-state imaging device of the digital camera shown in FIG. 1 to the one shown in FIG. 7 and partially changing the function of the digital signal processing unit 17.

図7は、図1に示したデジタルカメラの変形例における固体撮像素子5Rの概略構成を示した図である。なお、固体撮像素子5Lの構成も、図7に示したものと同じである。図7に示した固体撮像素子5Rは、画素領域50にOB部55を追加した点が図3に示した固体撮像素子5Rとは異なる。   FIG. 7 is a diagram showing a schematic configuration of a solid-state imaging device 5R in a modification of the digital camera shown in FIG. The configuration of the solid-state imaging element 5L is the same as that shown in FIG. The solid-state imaging device 5R shown in FIG. 7 is different from the solid-state imaging device 5R shown in FIG. 3 in that an OB portion 55 is added to the pixel region 50.

OB部55は、画素領域50の水平電荷転送路53側とは反対側の端部にある数ラインを遮光した領域である。OB部55に形成された各光電変換素子も、垂直電荷転送路に溢れ出したスミア電荷に応じたスミアを検出するためのスミア検出領域を形成する。なお、OB部55も、光電変換素子を省略した構成、つまり、垂直電荷転送路だけが存在している構成であってもよい。   The OB portion 55 is a region in which several lines at the end of the pixel region 50 opposite to the horizontal charge transfer path 53 side are shielded from light. Each photoelectric conversion element formed in the OB portion 55 also forms a smear detection region for detecting smear according to the smear charge overflowing in the vertical charge transfer path. The OB unit 55 may also have a configuration in which the photoelectric conversion element is omitted, that is, a configuration in which only the vertical charge transfer path exists.

この変形例のデジタルカメラでは、デジタル信号処理部17が、OB部55から得られる画素データも用いてスミアの検出を行う。例えば、デジタル信号処理部17は、撮像データRに含まれる画素データのうち、OB部55にある1ラインから得られた画素データを抽出し、抽出した画素データのうち閾値を越えている画素データがあるかどうかを判定することで、スミアを検出する。閾値を越えている画素データがあった場合には、その画素データの水平方向の座標位置と、その画素データのレベルによって、スミアの発生位置とスミアのレベルを検出することができる。   In the digital camera of this modification, the digital signal processing unit 17 detects smear using the pixel data obtained from the OB unit 55 as well. For example, the digital signal processing unit 17 extracts pixel data obtained from one line in the OB unit 55 from the pixel data included in the imaging data R, and pixel data that exceeds the threshold value among the extracted pixel data. Smear is detected by determining whether or not there is. If there is pixel data that exceeds the threshold, the smear occurrence position and smear level can be detected from the horizontal coordinate position of the pixel data and the level of the pixel data.

デジタル信号処理部17は、OB部52で検出したスミアの情報と、OB部55で検出したスミアの情報とを用いることで、検出したスミアが垂直方向に真っ直ぐ延びているのか、垂直方向に対して傾いて斜めに延びているのかを判定する機能を有している。   The digital signal processing unit 17 uses the smear information detected by the OB unit 52 and the smear information detected by the OB unit 55 to determine whether the detected smear extends straight in the vertical direction. It has the function of judging whether it is inclined and extends diagonally.

図8は、図1に示すデジタルカメラの第一の変形例におけるデジタル信号処理部17が行う画像補正処理の流れを説明するためのフローチャートである。図8において図5と同じ処理には同一符号を付して説明を省略する。図8に示したフローチャートは、ステップS46の後の処理が図5に示したものとは異なる。   FIG. 8 is a flowchart for explaining the flow of image correction processing performed by the digital signal processing unit 17 in the first modification of the digital camera shown in FIG. In FIG. 8, the same processes as those in FIG. In the flowchart shown in FIG. 8, the processing after step S46 is different from that shown in FIG.

ステップS46において、デジタル信号処理部17がスミア(2)の補正を行わないと判定した場合、デジタル信号処理部17は、OB部55から得られる画素データに基づいて、スミア(2)が垂直方向に対して斜めに曲がってしまっているかどうかを判定する(ステップS71)。この判定は、OB部52で検出したスミア(2)の発生位置と、OB部55から得られる画素データのうちスミア(2)と同じレベルになっている画素データの位置とを比較して行う。   If the digital signal processing unit 17 determines in step S46 that the smear (2) correction is not performed, the digital signal processing unit 17 determines that the smear (2) is in the vertical direction based on the pixel data obtained from the OB unit 55. It is determined whether or not it is bent obliquely (step S71). This determination is made by comparing the occurrence position of the smear (2) detected by the OB unit 52 with the position of pixel data at the same level as the smear (2) in the pixel data obtained from the OB unit 55. .

例えば、デジタル信号処理部17は、OB部52で検出したスミア(2)の発生位置の右端の座標と、OB部55から得られる画素データのうちスミア(2)と同じレベルになっている画素データの右端の座標との差が所定範囲内であった場合、スミア(2)がほぼ垂直方向に真っ直ぐ延びている判定する。デジタル信号処理部17は、OB部52で検出したスミア(2)の発生位置の右端の座標と、OB部55から得られる画素データのうちスミア(2)と同じレベルになっている画素データの右端の座標との差が所定範囲外であった場合、スミア(2)が曲がっていると判定する。   For example, the digital signal processing unit 17 detects the pixel at the same level as the smear (2) in the coordinates of the right end of the smear (2) generation position detected by the OB unit 52 and the pixel data obtained from the OB unit 55. When the difference from the right end coordinate of the data is within a predetermined range, it is determined that the smear (2) extends substantially straight in the vertical direction. The digital signal processing unit 17 detects the right end coordinates of the smear (2) generation position detected by the OB unit 52 and the pixel data of the pixel data obtained from the OB unit 55 at the same level as the smear (2). When the difference from the right end coordinate is outside the predetermined range, it is determined that the smear (2) is bent.

デジタル信号処理部17は、スミア(2)が曲がっていないと判定した場合(ステップS71:NO)、この場合は、図5に示したステップS47の処理を実施する。   If the digital signal processing unit 17 determines that the smear (2) is not bent (step S71: NO), in this case, the digital signal processing unit 17 performs the process of step S47 shown in FIG.

スミア(2)が曲がっている場合に図5に示したステップS47の処理を実施してしまうと、図4に示した例において、画像40Lには斜めのスミア40aが表示され、画像40Rには真っ直ぐのスミア40aが表示されることになり、立体視を阻害してしまう。このため、デジタル信号処理部17は、スミア(2)が曲がっていると判定した場合(ステップS71:YES)には、ステップS47の処理を行わずに画像補正処理を終了する。   If the process of step S47 shown in FIG. 5 is performed when the smear (2) is bent, an oblique smear 40a is displayed in the image 40L and the image 40R is displayed in the example shown in FIG. The straight smear 40a is displayed, and stereoscopic vision is hindered. For this reason, if the digital signal processing unit 17 determines that the smear (2) is bent (step S71: YES), the digital correction processing unit 17 ends the image correction process without performing the process of step S47.

以上のように、この変形例のデジタルカメラによれば、スミア(2)が曲がっていた場合には、スミア(2)が元々発生していない撮像データに、スミア(2)のレベルを加算する処理を行わないようにしている。このため、斜めのスミアと直線のスミアが立体合成されて立体画像が酷く見づらくなってしまうのを防ぐことができる。なお、段落0073で述べた所定範囲は、立体画像の見た目が許容できる程度の範囲としておけばよい。   As described above, according to the digital camera of this modification, when the smear (2) is bent, the level of the smear (2) is added to the imaging data in which the smear (2) is not originally generated. The processing is not performed. For this reason, it is possible to prevent the three-dimensional image from becoming three-dimensionally synthesized from the oblique smear and the straight smear and becoming difficult to see. Note that the predetermined range described in paragraph 0073 may be set to a range that allows the appearance of the stereoscopic image.

(第二の変形例)
これまでは、ノイズ成分としてスミアデータを含む異常出力画素データが、片方の固体撮像素子にのみ発生していた場合の画像補正処理について説明してきた。この画像補正処理は、ノイズ成分として白傷データを含む異常出力画素データが固体撮像素子に発生していた場合でも同様に適用することができる。
(Second modification)
So far, the image correction processing in the case where abnormal output pixel data including smear data as a noise component has occurred only in one solid-state imaging device has been described. This image correction process can be similarly applied even when abnormal output pixel data including white defect data as noise components is generated in the solid-state imaging device.

この変形例のデジタルカメラの構成は、図1に示したデジタルカメラのデジタル信号処理部17の機能が異なるだけである。   The configuration of the digital camera of this modified example is different only in the function of the digital signal processing unit 17 of the digital camera shown in FIG.

図9は、図1に示すデジタルカメラの第二の変形例の撮像時の動作を説明するためのフローチャートである。   FIG. 9 is a flowchart for explaining the operation at the time of imaging of the second modification of the digital camera shown in FIG.

ユーザからなされた撮像指示にしたがい、システム制御部11は、固体撮像素子5R,5Lにより静止画撮像を実施する(ステップS91)。静止画撮像により固体撮像素子5R,5Lから得られた撮像データ(以下、撮像データR,Lとする)は、メインメモリ16に記憶される。   In accordance with the imaging instruction given by the user, the system control unit 11 performs still image imaging with the solid-state imaging devices 5R and 5L (step S91). Imaging data (hereinafter referred to as imaging data R and L) obtained from the solid-state imaging devices 5R and 5L by still image imaging is stored in the main memory 16.

静止画撮像の直後、システム制御部11は、デジタルカメラのメカニカルシャッタを閉じた状態で、固体撮像素子5R,5Lにより遮光撮像を実施する(ステップS92)。遮光撮像により固体撮像素子5R,5Lから得られた撮像データ(以下、遮光撮像データr,lとする)は、メインメモリ16に記憶される。   Immediately after taking a still image, the system control unit 11 performs light-shielded imaging with the solid-state imaging devices 5R and 5L with the mechanical shutter of the digital camera closed (step S92). Imaging data obtained from the solid-state imaging devices 5R and 5L by light-shielding imaging (hereinafter referred to as light-shielding imaging data r and l) is stored in the main memory 16.

次に、デジタル信号処理部17が、遮光撮像データr(l)のうち、レベルが所定値を超えている画素データを固体撮像素子5R(5L)の白傷データとして検出する(ステップS93)。   Next, the digital signal processing unit 17 detects pixel data whose level exceeds a predetermined value in the light-shielded imaging data r (l) as white scratch data of the solid-state imaging device 5R (5L) (step S93).

撮像データR(L)のうち、遮光撮像データr(l)から検出された白傷データと同一アドレスにある画素データは、被写体光に応じた信号にノイズ成分である白傷データが重畳されたものとなっている。遮光撮像データr(l)から検出された白傷データと同一アドレスにある撮像データR(L)の画素データは、他の画素データと比較して異常な出力レベルとなっているため、異常出力画素データということができる。このように、デジタル信号処理部17は、遮光画像データから白傷データを検出することで、静止画撮像データに含まれる異常出力画素データも検出している。   Among the imaging data R (L), the pixel data at the same address as the white spot data detected from the light-shielded imaging data r (l) has the white spot data, which is a noise component, superimposed on a signal corresponding to the subject light. It has become a thing. Since the pixel data of the imaging data R (L) at the same address as the white spot data detected from the shading imaging data r (l) has an abnormal output level compared to other pixel data, an abnormal output It can be called pixel data. In this way, the digital signal processing unit 17 detects abnormal output pixel data included in the still image imaging data by detecting white scratch data from the light-shielded image data.

次に、デジタル信号処理部17では、撮像データRと撮像データLとでそれぞれ独立に、異常出力画素データの補正処理を行う。以下では、撮像データLに含まれる異常出力画素データの補正処理方法を説明する。   Next, the digital signal processing unit 17 performs correction processing of abnormal output pixel data independently for the imaging data R and the imaging data L, respectively. Hereinafter, a method for correcting abnormal output pixel data included in the imaging data L will be described.

まず、デジタル信号処理部17は、撮像データLの異常出力画素データのレベルが閾値(光電変換素子の飽和レベル)に達しているもの(b)と、閾値未満のもの(a)との2つに分類する(ステップS94)。レベルが閾値未満の異常出力画素データ(a)に対し、デジタル信号処理部17は、その異常出力画素データ(a)から、遮光撮像データlの該異常出力画素データ(a)と同一アドレスの画素データを減算する(ステップS95)。   First, the digital signal processing unit 17 has two types: one in which the level of abnormal output pixel data of the imaging data L has reached the threshold (saturation level of the photoelectric conversion element) (b) and one that is less than the threshold (a). (Step S94). For the abnormal output pixel data (a) whose level is less than the threshold value, the digital signal processing unit 17 uses the abnormal output pixel data (a) to output a pixel having the same address as the abnormal output pixel data (a) of the light-shielded imaging data l Data is subtracted (step S95).

レベルが閾値に達している異常出力画素データ(b)に対し、デジタル信号処理部17は、その異常出力画素データ(b)を補正するか否かを判定する(ステップS96)。   For the abnormal output pixel data (b) whose level has reached the threshold value, the digital signal processing unit 17 determines whether or not to correct the abnormal output pixel data (b) (step S96).

具体的には、デジタル信号処理部17は、異常出力画素データ(b)が所定個以上連続して並んでいるかどうかを判定し、所定個以上連続して並んでいれば、異常出力画素データ(b)の補正精度が0であると判定して、異常出力画素データ(b)の補正を行わない判定を下す。   Specifically, the digital signal processing unit 17 determines whether or not a predetermined number or more of abnormal output pixel data (b) is continuously arranged. It is determined that the correction accuracy of b) is 0, and determination is made not to correct the abnormal output pixel data (b).

異常出力画素データ(b)が多数連続しており、異常出力画素データ(b)の周囲の画素データも異常出力画素データになってしまっていると、異常出力画素データ(b)を周囲の画素データを用いてデータ補間しても、その異常出力画素データをうまく補正できない。このため、ここでは、異常出力画素データ(b)が所定個以上連続している場合(補正精度が1未満(=ゼロ)の場合)には、異常出力画素データ(b)の補正を行わない判定を下している。   When a large number of abnormal output pixel data (b) is continuous and the pixel data around the abnormal output pixel data (b) is also abnormal output pixel data, the abnormal output pixel data (b) Even if data interpolation is performed using data, the abnormal output pixel data cannot be corrected well. Therefore, here, when the abnormal output pixel data (b) is continuous for a predetermined number or more (when the correction accuracy is less than 1 (= zero)), the abnormal output pixel data (b) is not corrected. Judgment is made.

一方、デジタル信号処理部17は、異常出力画素データ(b)が所定個以上連続して並んでいない場合には、異常出力画素データ(b)の補正精度が1であると判定して、異常出力画素データ(b)の補正を行う判定を下す。異常出力画素データ(b)の周囲に正常な画素データが存在するような場合には、異常出力画素データ(b)を周囲の画素データを用いてデータ補間することで、その異常出力画素データ(b)をうまく補正することができる。このため、ここでは、異常出力画素データ(b)が所定個以上連続していない場合(補正精度が1の場合)には、異常出力画素データ(b)の補正を行う判定を下している。   On the other hand, the digital signal processing unit 17 determines that the correction accuracy of the abnormal output pixel data (b) is 1 when abnormal output pixel data (b) is not continuously arranged in a predetermined number or more. A determination is made to correct the output pixel data (b). When there is normal pixel data around the abnormal output pixel data (b), the abnormal output pixel data (b) is interpolated using the peripheral pixel data to obtain the abnormal output pixel data ( b) can be corrected well. Therefore, here, when a predetermined number or more of abnormal output pixel data (b) is not continuous (when the correction accuracy is 1), a determination is made to correct the abnormal output pixel data (b). .

ステップS96で異常出力画素データ(b)の補正を行うと判定した場合、デジタル信号処理部17は、撮像データLの異常出力画素データ(b)のアドレスに、その周囲の撮像データLの画素データから画素データを補間することで、該異常出力画素データ(b)の補正を実施する(ステップS97)。   If it is determined in step S96 that the abnormal output pixel data (b) is to be corrected, the digital signal processing unit 17 sets the pixel data of the surrounding imaging data L at the address of the abnormal output pixel data (b) of the imaging data L. The abnormal output pixel data (b) is corrected by interpolating the pixel data from (step S97).

ステップS96で異常出力画素データ(b)の補正を行わないと判定した場合、デジタル信号処理部17は、その異常出力画素データ(b)の出力元の固体撮像素子5Lの光電変換素子とペアを構成する固体撮像素子5Rの光電変換素子から得られる画素データを、該異常出力画素データ(b)と同レベルになるよう調整する(ステップS98)。   When it is determined in step S96 that the abnormal output pixel data (b) is not corrected, the digital signal processing unit 17 sets a pair with the photoelectric conversion element of the solid-state imaging device 5L that is the output source of the abnormal output pixel data (b). The pixel data obtained from the photoelectric conversion element of the solid-state imaging element 5R to be configured is adjusted to be at the same level as the abnormal output pixel data (b) (step S98).

具体的には、デジタル信号処理部17は、撮像データLの異常出力画素データ(b)のアドレス(x、y)に(α,0)をプラスしたアドレスの撮像データRの画素データに、遮光撮像データlの該異常出力画素データ(b)と同一アドレスの画素データを加算する。   Specifically, the digital signal processing unit 17 shields the pixel data of the imaging data R having an address obtained by adding (α, 0) to the address (x, y) of the abnormal output pixel data (b) of the imaging data L. Pixel data having the same address as the abnormal output pixel data (b) of the imaging data l is added.

または、デジタル信号処理部17は、撮像データLの異常出力画素データ(a)のアドレス(x、y)に(α,0)をプラスしたアドレスの撮像データRの画素データを、該異常出力画素データ(b)で置き換える。   Alternatively, the digital signal processing unit 17 converts the pixel data of the imaging data R at the address obtained by adding (α, 0) to the address (x, y) of the abnormal output pixel data (a) of the imaging data L to the abnormal output pixel. Replace with data (b).

これにより、撮像データLから補正できなかった白傷データが撮像データRにも追加された形になる。このため、撮像データRと撮像データLを立体表示させた場合でも、白傷が片方だけに表示されてしまって立体視を阻害してしまうようなことはない。   As a result, white defect data that could not be corrected from the imaging data L is added to the imaging data R. For this reason, even when the imaging data R and the imaging data L are displayed in 3D, white scratches are not displayed on one side and stereoscopic viewing is not hindered.

ステップS95,S97,S98の後、デジタル信号処理部17は、撮像データRについても同様の処理を行う。その後、撮像データRと撮像データLにそれぞれ所定の信号処理を施して立体画像データを生成し、これを記録する。   After steps S95, S97, and S98, the digital signal processing unit 17 performs the same processing on the imaging data R. Thereafter, the imaging data R and the imaging data L are each subjected to predetermined signal processing to generate stereoscopic image data, which is recorded.

以上のように、このデジタルカメラによれば、ペアの一方から得られた画素データが白傷データを含む異常出力画素データとなっており、この異常出力画素データがうまく補正できない場合でも、ペアの他方から得られた画素データが、該異常出力画素データと同レベルになるよう補正される。このため、ペアから得られた2つの画素データのそれぞれに白傷データが含まれることになり、撮像データRと撮像データLを立体合成した場合でも、立体視を良好に行うことが可能になる。   As described above, according to this digital camera, the pixel data obtained from one of the pairs is abnormal output pixel data including white defect data, and even if this abnormal output pixel data cannot be corrected well, The pixel data obtained from the other is corrected so as to be at the same level as the abnormal output pixel data. For this reason, white defect data is included in each of the two pieces of pixel data obtained from the pair, and even when the imaging data R and the imaging data L are three-dimensionally synthesized, it is possible to perform stereoscopic viewing satisfactorily. .

なお、以上の説明では、ステップS96において、異常出力画素データ(b)の補正を行うか否かを判定しているが、この判定を行わずに、異常出力画素データ(b)の補正を常に実施してしまってもよい。   In the above description, whether or not the abnormal output pixel data (b) is to be corrected is determined in step S96. However, the correction of the abnormal output pixel data (b) is always performed without performing this determination. You may carry out.

つまり、図9において、ステップS96,98を削除し、ステップS94:YESの後にステップS97を実施するフローを採用してもよい。この場合、異常出力画素データ(b)が所定個以上連続して並んでいた場合には、その異常出力画素データ(b)を完全に補正しきれないため、このままでは、撮像データRと撮像データLを立体表示させた場合に立体視を阻害してしまう。   That is, in FIG. 9, steps S96 and 98 may be deleted, and step S94: YES may be performed after step S97. In this case, when the abnormal output pixel data (b) is continuously arranged in a predetermined number or more, the abnormal output pixel data (b) cannot be completely corrected. When L is stereoscopically displayed, stereoscopic vision is hindered.

そこで、この場合には、ステップS97の後に、デジタル信号処理部17が、異常出力画素データ(b)の出力元の固体撮像素子5Lの光電変換素子とペアを構成する固体撮像素子5Rの光電変換素子から得られる画素データを、ステップS97で補正後の該異常出力画素データ(b)と同レベルになるよう調整すればよい。つまり、撮像データLの異常出力画素データ(b)の(x、y)アドレスに(α,0)をプラスしたアドレスの撮像データRの画素データを、該異常出力画素データ(b)の補正後の画素データに置き換えればよい。   Therefore, in this case, after step S97, the digital signal processing unit 17 performs photoelectric conversion of the solid-state imaging element 5R that forms a pair with the photoelectric conversion element of the solid-state imaging element 5L that is the output source of the abnormal output pixel data (b). The pixel data obtained from the element may be adjusted to the same level as the abnormal output pixel data (b) after correction in step S97. That is, the pixel data of the imaging data R at an address obtained by adding (α, 0) to the (x, y) address of the abnormal output pixel data (b) of the imaging data L is corrected after the abnormal output pixel data (b) is corrected. The pixel data may be replaced.

このようにすることで、撮像データRにも、撮像データLで補正しきれなかった白傷が存在することになる。このため、撮像データRと撮像データLを立体表示させた場合に、この白傷部分も立体的に表示させることができる。したがって、立体視を阻害してしまうようなことをなくすことができる。   By doing so, the imaging data R also has white scratches that could not be corrected by the imaging data L. For this reason, when the imaging data R and the imaging data L are stereoscopically displayed, the white scratch portion can also be stereoscopically displayed. Therefore, it is possible to eliminate the possibility of obstructing stereoscopic vision.

なお、図9の説明では、全ての異常出力画素データを対象にステップS94で分類を行っているが、被写体の同一部位に対して撮像データRと撮像データLのいずれか一方にのみ存在する異常出力画素データを対象に、ステップS94の分類を実施してもよい。この場合、被写体の同一部位に対して撮像データRと撮像データLの両方に存在する異常出力画素データについては、問題なく補正できるのであれば補正を行い、問題なく補正ができないのであれば補正を行わなければよい。   In the description of FIG. 9, all abnormal output pixel data is classified in step S94. However, abnormalities that exist only in either the imaging data R or the imaging data L for the same part of the subject. The classification in step S94 may be performed on the output pixel data. In this case, the abnormal output pixel data existing in both the imaging data R and the imaging data L for the same part of the subject is corrected if it can be corrected without any problem, and is corrected if it cannot be corrected without any problem. Don't do it.

なお、固体撮像素子5R,5Lの白傷は、通常、工場出荷時に白傷を調べておき、これを補正できるようなデータを固体撮像素子に記憶しておくことで、撮像時に補正を行っている。このため、通常使用時における白傷は、このような補正で対応することができる。しかし、白傷の発生位置は、固体撮像素子の経年変化、長時間露光等の撮像条件によっても変化する。特に、固体撮像素子の経年変化で発生する白傷は、工場出荷時には把握することができない。そこで、第二の変形例で説明した技術を採用することで、立体視を良好に行うことができる。   Note that white scratches on the solid-state imaging devices 5R and 5L are normally corrected at the time of imaging by checking the white scratches at the time of shipment from the factory and storing data that can be corrected in the solid-state imaging device. Yes. For this reason, white scratches during normal use can be dealt with by such correction. However, the occurrence position of white scratches also changes depending on imaging conditions such as aging of the solid-state imaging device and long exposure. In particular, white scratches caused by aging of the solid-state imaging device cannot be grasped at the time of factory shipment. Therefore, the stereoscopic view can be favorably performed by employing the technique described in the second modification.

なお、これまでの説明では、撮像系を2つとしたが、これは複数であれば良く、2つに限らない。   In the above description, the number of imaging systems is two. However, the number of imaging systems is not limited to two.

以上説明したように、本明細書には以下の事項が開示されている。   As described above, the following items are disclosed in this specification.

開示された撮像装置は、所定の距離を空けて配置された第一の固体撮像素子及び第二の固体撮像素子を有する撮像装置であって、同一の被写体部分を撮像する前記第一の固体撮像素子に含まれる第一の光電変換素子と前記第二の固体撮像素子に含まれる第二の光電変換素子をペアと定義し、前記第一の固体撮像素子の撮像データ及び前記第二の固体撮像素子の撮像データに含まれる異常出力を示す異常出力画素データを検出する異常出力画素データ検出手段と、前記ペアのうち、前記第一の光電変換素子から得られた画素データにのみ前記異常出力画素データが検出された場合で、かつ、前記異常出力画素データの補正精度が閾値未満の場合に、前記ペアの前記第二の光電変換素子から得られる画素データを、前記第一の光電変換素子から得られた前記異常出力画素データと同レベルになるよう調整するデータ調整手段とを備える。   The disclosed imaging apparatus is an imaging apparatus having a first solid-state imaging device and a second solid-state imaging device arranged at a predetermined distance, and the first solid-state imaging that images the same subject portion A first photoelectric conversion element included in the element and a second photoelectric conversion element included in the second solid-state imaging element are defined as a pair, and imaging data of the first solid-state imaging element and the second solid-state imaging Abnormal output pixel data detecting means for detecting abnormal output pixel data indicating abnormal output included in imaging data of the element, and the abnormal output pixel only in the pixel data obtained from the first photoelectric conversion element of the pair When data is detected and the correction accuracy of the abnormal output pixel data is less than a threshold, pixel data obtained from the second photoelectric conversion element of the pair is obtained from the first photoelectric conversion element. Gain The and a data adjusting means for adjusting the abnormal output pixel data and to the same level.

この構成により、ペアの一方から得られた異常出力画素データの補正精度が閾値未満であり、異常出力画素データの補正ができない場合、又は、異常出力画素データを補正しても第一の撮像データに異常出力画素データが残ってしまう場合でも、ペアの他方から得られた画素データが、該異常出力画素データと同レベルになるよう補正される。このため、ペアから得られた2つの画素データのそれぞれに異常出力画素データが含まれることになり、第一の撮像データと第二の撮像データを立体合成した場合でも、立体視を良好に行うことが可能になる。   With this configuration, when the abnormal output pixel data correction accuracy obtained from one of the pair is less than the threshold and the abnormal output pixel data cannot be corrected, or even if the abnormal output pixel data is corrected, the first imaging data Even when abnormal output pixel data remains, the pixel data obtained from the other of the pair is corrected so as to be at the same level as the abnormal output pixel data. For this reason, abnormal output pixel data is included in each of the two pieces of pixel data obtained from the pair, and even when the first imaging data and the second imaging data are three-dimensionally combined, the stereoscopic vision is favorably performed. It becomes possible.

開示された撮像装置は、前記異常出力画素データが、前記ノイズ成分としてスミアデータが重畳された画素データである。   In the disclosed imaging device, the abnormal output pixel data is pixel data on which smear data is superimposed as the noise component.

開示された撮像装置は、前記異常出力画素データに含まれるスミアデータのレベルを検出するスミアレベル検出手段と、前記異常出力画素データの補正を行う異常出力画素データ補正手段とを備え、前記補正精度が閾値未満の場合とは、前記スミアデータのレベルが閾値に達している場合であり、前記異常出力画素データ補正手段は、前記スミアデータのレベルが閾値に達しているときには前記異常出力画素データの補正を行わない。   The disclosed imaging apparatus includes a smear level detection unit that detects a level of smear data included in the abnormal output pixel data, and an abnormal output pixel data correction unit that corrects the abnormal output pixel data, and the correction accuracy. Is less than the threshold value is a case where the level of the smear data has reached the threshold value, and the abnormal output pixel data correcting means is configured to detect the abnormal output pixel data when the level of the smear data has reached the threshold value. Do not make corrections.

開示された撮像装置は、前記データ調整手段が、前記ペアの前記第二の光電変換素子から得られる画素データに、前記スミアレベル検出手段によって検出されたスミアレベルを加算することで、該画素データを前記異常出力画素データと同レベルになるよう調整する。   In the disclosed imaging apparatus, the data adjustment unit adds the smear level detected by the smear level detection unit to the pixel data obtained from the second photoelectric conversion element of the pair, so that the pixel data Is adjusted to the same level as the abnormal output pixel data.

開示された撮像装置は、前記異常出力画素データ補正手段によって補正が行われないときに、前記スミアデータに基づくスミア画像が曲がっているか否かを判定するスミア判定手段を備え、前記データ調整手段は、前記スミア判定手段によって前記スミア画像が曲がっていると判定されたときには、前記調整を行わない。   The disclosed imaging apparatus includes a smear determining unit that determines whether a smear image based on the smear data is bent when the abnormal output pixel data correcting unit does not perform correction, and the data adjusting unit includes When the smear determination means determines that the smear image is bent, the adjustment is not performed.

開示された撮像装置は、前記異常出力画素データが、前記ノイズ成分として白傷データが重畳された画素データである。   In the disclosed imaging device, the abnormal output pixel data is pixel data in which white defect data is superimposed as the noise component.

開示された撮像装置は、前記異常出力画素データに含まれる白傷データのレベルを検出する白傷データレベル検出手段と、前記異常出力画素データの補正を行う異常出力画素データ補正手段とを備え、前記補正精度が閾値未満の場合とは、前記異常出力画素データが連続していてその連続数が閾値を越えている場合であり、前記異常出力画素データ補正手段は、前記異常出力画素データの連続数が閾値を越えているときには前記異常出力画素データの補正を行わない。   The disclosed imaging apparatus includes white defect data level detection means for detecting a level of white defect data included in the abnormal output pixel data, and abnormal output pixel data correction means for correcting the abnormal output pixel data, The case where the correction accuracy is less than a threshold is a case where the abnormal output pixel data is continuous and the number of continuous data exceeds the threshold, and the abnormal output pixel data correcting unit is configured to continue the abnormal output pixel data. When the number exceeds the threshold value, the abnormal output pixel data is not corrected.

開示された撮像装置は、前記異常出力画素データに含まれる白傷データのレベルを検出する白傷データレベル検出手段と、前記異常出力画素データの補正を行う異常出力画素データ補正手段とを備え、前記補正精度が閾値未満の場合とは、前記異常出力画素データの連続していてその連続数が閾値を越えている場合であり、前記データ調整手段は、前記異常出力画素データの連続数が閾値を越えている場合に、前記ペアの前記第二の光電変換素子から得られる画素データを、前記異常出力画素データ補正手段で補正後の前記異常出力画素データと同レベルになるよう調整する。   The disclosed imaging apparatus includes white defect data level detection means for detecting a level of white defect data included in the abnormal output pixel data, and abnormal output pixel data correction means for correcting the abnormal output pixel data, The case where the correction accuracy is less than the threshold value is a case where the abnormal output pixel data is continuous and the continuous number exceeds the threshold value, and the data adjustment unit is configured such that the continuous number of the abnormal output pixel data is a threshold value. Is exceeded, the pixel data obtained from the second photoelectric conversion element of the pair is adjusted to have the same level as the abnormal output pixel data corrected by the abnormal output pixel data correction means.

開示された撮像装置は、前記データ調整手段が、前記ペアの前記第二の光電変換素子から得られる画素データに、前記白傷データレベル検出手段によって検出された白傷レベルを加算することで、該画素データを前記異常出力画素データと同レベルになるよう調整する。   In the disclosed imaging device, the data adjustment unit adds the white spot level detected by the white spot data level detection unit to the pixel data obtained from the second photoelectric conversion element of the pair, The pixel data is adjusted to have the same level as the abnormal output pixel data.

開示された撮像装置は、前記データ調整手段が、前記ペアの前記第二の光電変換素子から得られる画素データを、前記異常出力画素データ補正手段で補正後の前記異常出力画素データに置き換えることで、該画素データを前記異常出力画素データと同レベルになるよう調整する。   In the disclosed imaging apparatus, the data adjustment unit replaces pixel data obtained from the second photoelectric conversion element of the pair with the abnormal output pixel data corrected by the abnormal output pixel data correction unit. The pixel data is adjusted to the same level as the abnormal output pixel data.

5R,5L 固体撮像素子
17 デジタル信号処理部
5R, 5L solid-state image sensor 17 digital signal processor

Claims (10)

所定の距離を空けて配置された第一の固体撮像素子及び第二の固体撮像素子を有する撮像装置であって、
同一の被写体部分を撮像する前記第一の固体撮像素子に含まれる第一の光電変換素子と前記第二の固体撮像素子に含まれる第二の光電変換素子をペアと定義し、
前記第一の固体撮像素子の撮像データ及び前記第二の固体撮像素子の撮像データに含まれる異常出力を示す異常出力画素データを検出する異常出力画素データ検出手段と、
前記ペアのうち、前記第一の光電変換素子から得られた画素データにのみ前記異常出力画素データが検出された場合で、かつ、前記異常出力画素データの補正精度が閾値未満の場合に、前記ペアの前記第二の光電変換素子から得られる画素データを、前記第一の光電変換素子から得られた前記異常出力画素データと同レベルになるよう調整するデータ調整手段とを備える撮像装置。
An imaging apparatus having a first solid-state imaging device and a second solid-state imaging device arranged at a predetermined distance,
A first photoelectric conversion element included in the first solid-state image sensor that images the same subject portion and a second photoelectric conversion element included in the second solid-state image sensor are defined as a pair,
Abnormal output pixel data detection means for detecting abnormal output pixel data indicating abnormal output included in the imaging data of the first solid-state imaging device and the imaging data of the second solid-state imaging device;
Of the pair, when the abnormal output pixel data is detected only in the pixel data obtained from the first photoelectric conversion element, and when the correction accuracy of the abnormal output pixel data is less than a threshold, An image pickup apparatus comprising: a data adjustment unit configured to adjust pixel data obtained from the pair of second photoelectric conversion elements so as to have the same level as the abnormal output pixel data obtained from the first photoelectric conversion elements.
請求項1記載の撮像装置であって、
前記異常出力画素データが、前記ノイズ成分としてスミアデータが重畳された画素データである撮像装置。
The imaging apparatus according to claim 1,
The imaging apparatus, wherein the abnormal output pixel data is pixel data on which smear data is superimposed as the noise component.
請求項2記載の撮像装置であって、
前記異常出力画素データに含まれるスミアデータのレベルを検出するスミアレベル検出手段と、
前記異常出力画素データの補正を行う異常出力画素データ補正手段とを備え、
前記補正精度が閾値未満の場合とは、前記スミアデータのレベルが閾値に達している場合であり、
前記異常出力画素データ補正手段は、前記スミアデータのレベルが閾値に達しているときには前記異常出力画素データの補正を行わない撮像装置。
The imaging apparatus according to claim 2,
Smear level detection means for detecting the level of smear data included in the abnormal output pixel data;
An abnormal output pixel data correcting means for correcting the abnormal output pixel data;
The case where the correction accuracy is less than the threshold value is a case where the level of the smear data has reached the threshold value,
The abnormal output pixel data correcting unit is an imaging apparatus that does not correct the abnormal output pixel data when the level of the smear data reaches a threshold value.
請求項3記載の撮像装置であって、
前記データ調整手段が、前記ペアの前記第二の光電変換素子から得られる画素データに、前記スミアレベル検出手段によって検出されたスミアレベルを加算することで、該画素データを前記異常出力画素データと同レベルになるよう調整する撮像装置。
The imaging apparatus according to claim 3,
The data adjustment means adds the smear level detected by the smear level detection means to the pixel data obtained from the second photoelectric conversion element of the pair, thereby making the pixel data the abnormal output pixel data. An imaging device that adjusts to the same level.
請求項3又は4記載の撮像装置であって、
前記異常出力画素データ補正手段によって補正が行われないときに、前記スミアデータに基づくスミア画像が曲がっているか否かを判定するスミア判定手段を備え、
前記データ調整手段は、前記スミア判定手段によって前記スミア画像が曲がっていると判定されたときには、前記調整を行わない撮像装置。
The imaging apparatus according to claim 3 or 4,
Smear determining means for determining whether a smear image based on the smear data is bent when correction is not performed by the abnormal output pixel data correcting means;
The data adjustment unit is an imaging apparatus that does not perform the adjustment when the smear determination unit determines that the smear image is bent.
請求項1記載の撮像装置であって、
前記異常出力画素データが、前記ノイズ成分として白傷データが重畳された画素データである撮像装置。
The imaging apparatus according to claim 1,
The imaging apparatus, wherein the abnormal output pixel data is pixel data in which white defect data is superimposed as the noise component.
請求項6記載の撮像装置であって、
前記異常出力画素データに含まれる白傷データのレベルを検出する白傷データレベル検出手段と、
前記異常出力画素データの補正を行う異常出力画素データ補正手段とを備え、
前記補正精度が閾値未満の場合とは、前記異常出力画素データが連続していてその連続数が閾値を越えている場合であり、
前記異常出力画素データ補正手段は、前記異常出力画素データの連続数が閾値を越えているときには前記異常出力画素データの補正を行わない撮像装置。
The imaging apparatus according to claim 6,
White spot data level detection means for detecting the level of white spot data included in the abnormal output pixel data;
An abnormal output pixel data correcting means for correcting the abnormal output pixel data;
The case where the correction accuracy is less than a threshold is a case where the abnormal output pixel data is continuous and the number of continuous values exceeds the threshold,
The abnormal output pixel data correction means is an imaging apparatus that does not correct the abnormal output pixel data when the number of consecutive abnormal output pixel data exceeds a threshold value.
請求項6記載の撮像装置であって、
前記異常出力画素データに含まれる白傷データのレベルを検出する白傷データレベル検出手段と、
前記異常出力画素データの補正を行う異常出力画素データ補正手段とを備え、
前記補正精度が閾値未満の場合とは、前記異常出力画素データの連続していてその連続数が閾値を越えている場合であり、
前記データ調整手段は、前記異常出力画素データの連続数が閾値を越えている場合に、前記ペアの前記第二の光電変換素子から得られる画素データを、前記異常出力画素データ補正手段で補正後の前記異常出力画素データと同レベルになるよう調整する撮像装置。
The imaging apparatus according to claim 6,
White spot data level detection means for detecting the level of white spot data included in the abnormal output pixel data;
An abnormal output pixel data correcting means for correcting the abnormal output pixel data;
The case where the correction accuracy is less than a threshold value is a case where the abnormal output pixel data is continuous and the number of continuous values exceeds the threshold value.
The data adjustment unit corrects the pixel data obtained from the second photoelectric conversion element of the pair after the abnormal output pixel data correction unit corrects the pixel data when the continuous number of the abnormal output pixel data exceeds a threshold value. An imaging device that adjusts the level so as to be the same level as the abnormal output pixel data.
請求項7記載の撮像装置であって、
前記データ調整手段が、前記ペアの前記第二の光電変換素子から得られる画素データに、前記白傷データレベル検出手段によって検出された白傷レベルを加算することで、該画素データを前記異常出力画素データと同レベルになるよう調整する撮像装置。
The imaging apparatus according to claim 7,
The data adjustment means adds the white spot level detected by the white spot data level detection means to the pixel data obtained from the second photoelectric conversion element of the pair, thereby outputting the abnormal output of the pixel data. An imaging device that adjusts to the same level as the pixel data.
請求項8記載の撮像装置であって、
前記データ調整手段が、前記ペアの前記第二の光電変換素子から得られる画素データを、前記異常出力画素データ補正手段で補正後の前記異常出力画素データに置き換えることで、該画素データを前記異常出力画素データと同レベルになるよう調整する撮像装置。
The imaging apparatus according to claim 8, wherein
The data adjustment unit replaces the pixel data obtained from the second photoelectric conversion element of the pair with the abnormal output pixel data after correction by the abnormal output pixel data correction unit, whereby the pixel data is converted to the abnormal data. An imaging device that adjusts to the same level as the output pixel data.
JP2009203625A 2009-09-03 2009-09-03 Imaging apparatus Pending JP2011055337A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009203625A JP2011055337A (en) 2009-09-03 2009-09-03 Imaging apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009203625A JP2011055337A (en) 2009-09-03 2009-09-03 Imaging apparatus

Publications (1)

Publication Number Publication Date
JP2011055337A true JP2011055337A (en) 2011-03-17

Family

ID=43943873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009203625A Pending JP2011055337A (en) 2009-09-03 2009-09-03 Imaging apparatus

Country Status (1)

Country Link
JP (1) JP2011055337A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012199736A (en) * 2011-03-22 2012-10-18 Sony Corp Image processing system, image processing method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012199736A (en) * 2011-03-22 2012-10-18 Sony Corp Image processing system, image processing method and program

Similar Documents

Publication Publication Date Title
JP5640143B2 (en) Imaging apparatus and imaging method
US8885067B2 (en) Multocular image pickup apparatus and multocular image pickup method
EP2391119B1 (en) 3d-image capturing device
US9282316B2 (en) Stereoscopic imaging device and stereoscopic imaging method
EP2133238B1 (en) Imaging apparatus and image correction method
CN103139476B (en) The control method of image-pickup device and image-pickup device
US10469779B2 (en) Image capturing apparatus
CN103039066B (en) Imaging device, image processing apparatus and image processing method
JP6758326B2 (en) Image processing equipment, image processing methods and programs
US20130162780A1 (en) Stereoscopic imaging device and shading correction method
JP2007214964A (en) Video display device
US10469728B2 (en) Imaging device having a lens array of micro lenses
JPWO2016143134A1 (en) Image processing apparatus, image processing method, and program
US20130083169A1 (en) Image capturing apparatus, image processing apparatus, image processing method and program
WO2013069445A1 (en) Three-dimensional imaging device and image processing method
JP2010135984A (en) Compound-eye imaging apparatus and imaging method
US9106900B2 (en) Stereoscopic imaging device and stereoscopic imaging method
US9143762B2 (en) Camera module and image recording method
JP2011055337A (en) Imaging apparatus
US8398317B2 (en) Method of controlling imaging apparatus and imaging apparatus using the same
JP2021158491A (en) Imaging device
JP2013179580A (en) Imaging apparatus
JP2011082921A (en) Image capturing apparatus and imaging system
JP2016063391A (en) Imaging device, display device, and electronic apparatus
JP5528138B2 (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20111216