JP2002335454A - Image processing unit, image processing method and imaging apparatus - Google Patents

Image processing unit, image processing method and imaging apparatus

Info

Publication number
JP2002335454A
JP2002335454A JP2001136557A JP2001136557A JP2002335454A JP 2002335454 A JP2002335454 A JP 2002335454A JP 2001136557 A JP2001136557 A JP 2001136557A JP 2001136557 A JP2001136557 A JP 2001136557A JP 2002335454 A JP2002335454 A JP 2002335454A
Authority
JP
Japan
Prior art keywords
correction
unit
pixel signal
image processing
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001136557A
Other languages
Japanese (ja)
Other versions
JP2002335454A5 (en
JP4817529B2 (en
Inventor
Shinichi Hagiwara
伸一 萩原
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2001136557A priority Critical patent/JP4817529B2/en
Priority to US10/105,743 priority patent/US7050098B2/en
Priority to EP02007148A priority patent/EP1246453A3/en
Priority to CN021087156A priority patent/CN1217533C/en
Publication of JP2002335454A publication Critical patent/JP2002335454A/en
Publication of JP2002335454A5 publication Critical patent/JP2002335454A5/ja
Application granted granted Critical
Publication of JP4817529B2 publication Critical patent/JP4817529B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To realize a natural image without a sense of incongruity with a minimum function configuration by correcting deviation in density caused on a border face in image data comprising a plurality of blocks. SOLUTION: The image processing unit that processes a pixel signal received from an image pickup section (101) including a plurality of photoelectric conversion elements and outputting the pixel signal obtained by applying photoelectric conversion to an object optical image with a plurality of the photoelectric conversion elements to each of a plurality of areas of an object image, includes a dark current correction section (114) that corrects a difference of the pixel signals caused by the characteristic of a plurality of the photoelectric conversion elements, a screen correlation extract section (112) that acquires a correlation between the pixel signals outputted by each of a plurality of the areas based on the pixel signals corrected by the dark current correction section, and a screen matching section that corrects the pixel signal corrected by the dark current correction section based on the correlation value acquired by the screen correlation extract section.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、撮像装置から複数
のブロックに分割して出力された画像を画像処理する画
像処理装置、画像処理方法及び撮像装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, an image processing method, and an image processing apparatus for performing image processing on an image divided and output from a photographing apparatus into a plurality of blocks.

【0002】[0002]

【従来の技術】従来、CCD等の固体撮像素子を用いた
デジタルビデオカメラやデジタルスチルカメラ等の撮像
装置においては、例えば特開平5−137059号公報
や特開平6−141246号公報に示されるように、複
数のCCDを用いて被写体をそれぞれ部分的に撮像し、
画像処理においてそれらの部分画像を合成して被写体全
体の撮像画像を得ることにより解像度を高める方法が知
られている。
2. Description of the Related Art Conventionally, an image pickup apparatus such as a digital video camera or a digital still camera using a solid-state image pickup device such as a CCD is disclosed in, for example, JP-A-5-137059 and JP-A-6-141246. Then, the subject is partially imaged using a plurality of CCDs,
There has been known a method of increasing the resolution by synthesizing those partial images in image processing to obtain a captured image of the entire subject.

【0003】また、近年においては数百万画素からなる
CCDを用いた撮像システムも開発されており、高速に
信号処理を行うための工夫がいろいろとなされてきてい
る。
In recent years, an imaging system using a CCD having millions of pixels has been developed, and various devices have been devised for performing high-speed signal processing.

【0004】図13に従来の撮像素子の構成例を示す。FIG. 13 shows a configuration example of a conventional image pickup device.

【0005】図13は一般的に使われているCCDの概
略構成を示す図である。主に、複数の光電変換素子から
なる受光部1と、一部の光電変換素子への光入射を防ぐ
べく複数の光電変換素子の上面に遮光部材を配置した遮
光部2L及び2Rと、水平転送CCD(HCCD)4
と、不図示の垂直転送CCD(VCCD)と、電荷電圧
変換アンプ5等から構成されている。
FIG. 13 is a diagram showing a schematic configuration of a CCD generally used. Mainly, a light receiving section 1 composed of a plurality of photoelectric conversion elements, light shielding sections 2L and 2R in which light shielding members are arranged on the upper surfaces of the plurality of photoelectric conversion elements to prevent light from entering some photoelectric conversion elements, and horizontal transfer. CCD (HCCD) 4
And a vertical transfer CCD (VCCD) (not shown), a charge-voltage conversion amplifier 5, and the like.

【0006】その駆動方法は、受光部1で発生した電荷
をVCCDに転送した後、水平方向1行を単位としてH
CCD4から読み出すべく順次電荷転送を行い、HCC
D4からの出力は電荷電圧変換アンプ105にて電荷電
圧変換されて出力される。
The driving method is as follows. After the electric charges generated in the light receiving section 1 are transferred to the VCCD, the electric charges are transferred in units of one row in the horizontal direction.
Charge transfer is performed in order to read from CCD4, and HCC
The output from D4 is charge-voltage converted by the charge-voltage conversion amplifier 105 and output.

【0007】図14(A)は、従来の別の撮像素子の構
成例を示す。
FIG. 14A shows a configuration example of another conventional image sensor.

【0008】図14(A)は、受光部1からの光電変換
出力を左右2つの水平転送CCD(HCCD)4L及び
4Rに分けて同時に読み出す構成を示す図である。図1
4(A)に示す構成を有する撮像素子においても、光電
変換出力を水平方向1列を単位としてHCCD4L及び
4Rにより電荷転送するが、左半分の光電変換出力はH
CCD4Lにより左方向へ、また、右半分の光電変換出
力はHCCD4Rにより右方向へ電荷転送を行い、さら
に個別に用意した電荷電圧変換アンプ5L及び5Rにて
それぞれ電荷電圧変換する。
FIG. 14A is a diagram showing a configuration in which the photoelectric conversion output from the light receiving section 1 is divided into two left and right horizontal transfer CCDs (HCCDs) 4L and 4R and simultaneously read out. FIG.
Also in the imaging device having the configuration shown in FIG. 4A, charge transfer of the photoelectric conversion output is performed by the HCCDs 4L and 4R in units of one row in the horizontal direction.
The charge is transferred to the left by the CCD 4L and to the right by the photoelectric conversion output of the right half by the HCCD 4R, and is further subjected to charge-voltage conversion by individually prepared charge-voltage conversion amplifiers 5L and 5R.

【0009】この構成では2つのHCCD4L及び4R
により並行に読み出し駆動を行うことができるので図1
3に示す構成のおよそ半分の駆動時間で1フレームの読
み出し駆動を行うことができる。
In this configuration, two HCCDs 4L and 4R are used.
1 can be read in parallel with each other.
The read driving of one frame can be performed in about half the driving time of the configuration shown in FIG.

【0010】また、特開平3−74991号公報には、
画像情報を分割して読み取るべく複数の撮像素子を設
け、隣接する撮像素子の撮像範囲を境界部分で重複さ
せ、両撮像素子の撮像画像を境界部分で貼り合わせて画
像情報全体の画像を得る画像読取装置において、構成す
る画像データの中から近接画素との間の空間的な濃度変
化の小さい画素位置を検出し、その画素位置で一方の撮
像素子の撮像画像を構成する画像データと、他方の撮像
素子の撮像画像を構成する画像データとを貼り合わせる
ようにした画像読取装置が示されている。
[0010] Japanese Patent Application Laid-Open No. 3-79991 discloses that
An image in which a plurality of image sensors are provided to divide and read image information, an image pickup range of an adjacent image sensor is overlapped at a boundary portion, and images captured by both image sensors are stuck at the boundary portion to obtain an image of the entire image information. In the reading device, a pixel position having a small spatial density change between adjacent pixels is detected from the image data to be formed, and the image data forming the captured image of one image sensor at the pixel position and the other are detected. An image reading apparatus is shown in which image data constituting an image picked up by an image sensor is stuck.

【0011】[0011]

【発明が解決しようとする課題】上記のように複数の撮
像素子により被写体を部分的に分割して撮像し、それら
の撮像画像を貼り合わせて被写体全体の撮像画像を得る
場合、各撮像素子間の感度差が異なると、貼り合わせ部
分(境界部分)で感度差に起因する画像濃度の段差が生
じ、不自然な画質の撮像画像が得られるという不具合が
生じる。
As described above, when a subject is partially divided and imaged by a plurality of image sensors, and the captured images are pasted together to obtain a captured image of the entire subject, the distance between each image sensor is reduced. If the sensitivity difference is different, a step in the image density occurs due to the sensitivity difference at the bonding portion (boundary portion), and a problem occurs in that a captured image with unnatural image quality is obtained.

【0012】また、上記特開平5−137059号公報
及び特開平6−141246号公報には、複数の撮像素
子により被写体を部分的に分割撮像する技術については
開示されているが、撮像素子間の感度差に起因して撮像
画像の境界部分に生じる濃度段差の問題については記載
がなく、この問題の解決方法も開示されていない。
The above-mentioned Japanese Patent Application Laid-Open Nos. 5-137059 and 6-114646 disclose a technique in which a plurality of image pickup devices are used to partially image a subject. There is no description of the problem of the density step occurring at the boundary of the captured image due to the sensitivity difference, and no solution to this problem is disclosed.

【0013】貼り合わせの目立たない撮像画像とするた
めに、特開平3−74991号公報には、境界部分での
画像の乱れ等の画質不良を改善する方法が示されている
ものの、ライン毎に境界部分の濃度変化の少ない位置を
検出して2つの部分画像を単純に貼り合わせるため、貼
合処理が複雑で処理時間が長くなってしまう。
In order to obtain a picked-up image in which the bonding is not conspicuous, Japanese Patent Application Laid-Open No. 3-79991 discloses a method for improving image quality defects such as image disturbance at a boundary portion. Since the position where the density change at the boundary portion is small is detected and the two partial images are simply pasted, the pasting process is complicated and the processing time becomes long.

【0014】また、この方法は2つの撮像画像の貼り合
わせ位置を横方向のライン単位で制御するに過ぎないの
で、縦方向の境界部分の急激な濃度変化を効果的に抑制
することは困難である。特に、撮像素子間の感度差に起
因して境界部分に生じる濃度段差を効果的に低減し、貼
り合わせの目立たない撮像画像を得ることは難しい。
Further, since this method merely controls the bonding position of two picked-up images on a line-by-line basis, it is difficult to effectively suppress a sharp change in density at the boundary in the vertical direction. is there. In particular, it is difficult to effectively reduce a density step generated at a boundary portion due to a sensitivity difference between image pickup devices and obtain a picked-up image in which bonding is not conspicuous.

【0015】これを改善する手法として、特開平11−
055558号公報では、被写体を2枚のCCDにより
境界部分が重複するように左右に分割されて撮像し、両
撮像画像をアナログ信号処理回路及びA/D変換部を経
て画像メモリに記憶した後、更にシェーディング補正部
で撮像面内の感度分布のバラツキを補正し、画像合成部
で境界部分を貼り合わせて被写体全体の撮像画像が生成
されるデジタルカメラが提案されている。
As a method for improving this, Japanese Patent Application Laid-Open No.
In Japanese Patent Application Laid-Open No. 055558, a subject is divided into two parts by a CCD so as to be divided into right and left parts so that a boundary part is overlapped, and the two parts are stored in an image memory via an analog signal processing circuit and an A / D converter. Further, there has been proposed a digital camera in which a shading correction unit corrects a variation in sensitivity distribution in an imaging surface, and an image synthesis unit attaches a boundary portion to generate a captured image of the entire subject.

【0016】この手法では、撮像画像は左右の部分画像
のうち、境界部分の画像の平均値演算等の処理により当
該境界部分の濃度段差を低減した境界部分の画像が生成
され、この境界部分の画像と左右の境界部分の画像を除
く部分画像とを合成して生成されものであるが、被写体
光像を部分的に重複した複数の画像として分割した後に
複数の撮像素子へ導く必要があるため、3次元空間によ
る形状の増大、組み立て精度とこれに伴うコストアップ
が生じてしまう。
In this method, the image of the boundary portion in which the density step at the boundary portion is reduced is generated by processing such as the average value calculation of the image of the boundary portion of the left and right partial images. It is generated by synthesizing the image and the partial images excluding the image of the left and right boundary parts, but it is necessary to divide the subject light image into a plurality of partially overlapping images and then lead it to a plurality of image sensors In addition, an increase in the shape due to the three-dimensional space, assembling accuracy, and an accompanying cost increase occur.

【0017】また、上述した図14(A)に示す構成で
は1枚のCCDで撮像部を実現するので、光路分割など
の手段は不要であり、撮像システムの構成の簡略化とコ
ストを抑えることはできるものの、撮像画像の左右領域
が独立した系(すなわち、HCCD4Lとアンプ5L、
HCCD4Rとアンプ5R)にて別々に読み出されるた
め、その境界面での段差が目立ってしまう。
Further, in the configuration shown in FIG. 14A, since the imaging unit is realized by one CCD, there is no need for means such as optical path division, and the configuration of the imaging system can be simplified and the cost can be reduced. Is possible, but the left and right regions of the captured image are independent (ie, HCCD 4L and amplifier 5L,
Since reading is performed separately by the HCCD 4R and the amplifier 5R), a step at the boundary surface becomes conspicuous.

【0018】図14(B)は図14(A)のa−a’で
示す水平方向1行分の光電変換出力を示した例である。
FIG. 14B is an example showing the photoelectric conversion output for one horizontal line indicated by aa 'in FIG. 14A.

【0019】図14(A)は晴れた日の風景を写した例
を示しており、太陽、山、木、草が写っている。図14
(B)のレベルAは図14(A)の遮光部2Rからの出
力を示し、レベルBは遮光部2Lからの出力を示し、レ
ベルCは太陽に相当する部分の出力である。差分Dは上
述した左右独立の系にて読み出されたことにより発生す
るレベル差である。
FIG. 14A shows an example of a scene of a sunny day, in which the sun, mountains, trees, and grass are shown. FIG.
14B shows an output from the light-shielding portion 2R in FIG. 14A, level B shows an output from the light-shielding portion 2L, and level C shows an output of a portion corresponding to the sun. The difference D is a level difference generated by reading by the left and right independent systems described above.

【0020】このレベル差を画面にて違和感なく見える
ようにする手法を画面マッチングとよび、その1つとし
て境界面の濃度段差を目立たなくする方法がある。これ
は境界面の画像データから求めた相関度に基づき境界面
の濃度段差を補正することだが、その精度向上にはS/
N低下をもたらす暗電流への対策が必要となっている。
A method of making the level difference look uncomfortable on the screen is called screen matching. As one of the methods, there is a method of making the density step on the boundary surface inconspicuous. This is to correct the density step on the boundary surface based on the degree of correlation obtained from the image data on the boundary surface.
It is necessary to take measures against dark current that causes a decrease in N.

【0021】本発明は上記問題点を鑑みてなされたもの
であり、複数のブロックからなる画像データにおいて境
界面で発生する濃度のずれを補正し、違和感のない自然
な画像を必要最小限の機能構成により実現することを目
的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and has a function of correcting a density deviation occurring at a boundary surface in image data composed of a plurality of blocks so that a natural image without a sense of incongruity can be minimized. It is intended to be realized by a configuration.

【0022】また、撮像素子の高画素化への対応を可能
とすることを更なる目的とするものである。
It is another object of the present invention to make it possible to cope with an increase in the number of pixels of an image sensor.

【0023】[0023]

【課題を解決するための手段】上記目的を達成するため
に、複数の光電変換素子を有し、前記複数の光電変換素
子により被写体光学像を光電変換して得られる画素信号
を、被写体画像の複数の領域毎に出力する撮像手段から
入力する画素信号の処理を行う本発明の画像処理装置
は、前記複数の光電変換素子の特性に起因する画素信号
の差を補正する第1の補正手段と、前記第1の補正手段
により補正された画素信号に基づいて、前記複数の領域
毎に出力される画素信号間の相関値を取得する相関値取
得手段と、前記相関値取得手段により取得した相関値に
基づいて、前記第1の補正手段により補正された画素信
号を補正する第2の補正手段とを有する。
In order to achieve the above object, a plurality of photoelectric conversion elements are provided, and a pixel signal obtained by photoelectrically converting a subject optical image by the plurality of photoelectric conversion elements is converted into a pixel signal of the subject image. The image processing apparatus of the present invention, which performs processing of a pixel signal input from an imaging unit that outputs for each of a plurality of regions, includes a first correction unit configured to correct a difference between pixel signals caused by characteristics of the plurality of photoelectric conversion elements. A correlation value acquisition unit for acquiring a correlation value between pixel signals output for each of the plurality of regions based on the pixel signal corrected by the first correction unit; and a correlation acquired by the correlation value acquisition unit. A second correction unit for correcting the pixel signal corrected by the first correction unit based on the value.

【0024】また、複数の光電変換素子を有し、前記複
数の光電変換素子により被写体光学像を光電変換して得
られる画素信号を、被写体画像の複数の領域毎に出力す
る撮像手段から入力する画素信号の処理を行う本発明の
画像処理方法は、前記複数の光電変換素子の特性に起因
する画素信号の差を補正する第1の補正工程と、前記第
1の補正工程で補正された画素信号に基づいて、前記複
数の領域毎に出力される画素信号間の相関値を取得する
相関値取得工程と、前記相関値取得工程により取得した
相関値に基づいて、前記第1の補正工程で補正された画
素信号を補正する第2の補正工程とを有する。
Also, a plurality of photoelectric conversion elements are provided, and pixel signals obtained by photoelectrically converting the subject optical image by the plurality of photoelectric conversion elements are input from an image pickup means for outputting a plurality of regions of the subject image for each of a plurality of regions. The image processing method of the present invention for processing pixel signals includes a first correction step of correcting a difference between pixel signals caused by characteristics of the plurality of photoelectric conversion elements, and a pixel corrected in the first correction step. A correlation value acquisition step of acquiring a correlation value between pixel signals output for each of the plurality of regions based on the signal, and a first correction step based on the correlation value acquired by the correlation value acquisition step. A second correction step of correcting the corrected pixel signal.

【0025】上記構成によれば、画面マッチングにて補
正処理を行う際、その補正値を求める画像データに予め
暗電流補正を行っておくことで、精度の高い画面マッチ
ング処理を施すことができ、良好な画像データを得るこ
とができる。
According to the above configuration, when performing the correction processing by the screen matching, the image data for which the correction value is to be obtained is subjected to the dark current correction in advance, whereby the screen matching processing with high accuracy can be performed. Good image data can be obtained.

【0026】また、本発明の好適な一様態によれば、前
記撮像手段から出力される画素信号を少なくとも1フレ
ーム分記憶する記憶手段と、前記記憶手段に記憶された
1フレーム分の画素信号の内、前記第1の補正手段によ
り前記複数の領域間の境界近辺の画素信号を補正し、該
補正された画素信号を前記相関値取得手段に出力し、前
記第1の補正手段により前記撮像手段から出力される1
フレーム分の画素信号を補正し、該補正された画素信号
に対して前記第2の補正手段による補正を行うように制
御する制御手段とを更に有する。
According to a preferred embodiment of the present invention, a storage means for storing at least one frame of pixel signals output from the image pickup means, and a pixel signal for one frame stored in the storage means. Wherein the first correction means corrects a pixel signal near a boundary between the plurality of regions, outputs the corrected pixel signal to the correlation value obtaining means, and outputs the corrected pixel signal to the imaging means by the first correction means. 1 output from
There is further provided control means for correcting the pixel signals for the frames and controlling the corrected pixel signals to be corrected by the second correction means.

【0027】また、複数の光電変換素子を有し、前記複
数の光電変換素子により被写体光学像を光電変換して得
られる画素信号を、被写体画像の複数の領域毎に出力す
る撮像手段から入力する画素信号の処理を行う本発明に
おける別の画像処理方法は、前記撮像手段から出力され
る画素信号を少なくとも1フレーム分記憶する記憶工程
と、前記記憶工程で記憶された1フレーム分の画素信号
の内、前記第1の補正手段により前記複数の領域間の境
界近辺の画素信号について、前記複数の光電変換素子の
特性に起因する画素信号の差を補正する第1の補正工程
と、前記第1の補正工程で補正された画素信号に基づい
て、前記複数の領域毎に出力される画素信号間の相関値
を取得する相関値取得工程と、前記記憶工程で記憶され
た1フレーム分の画素信号について、前記複数の光電変
換素子の特性に起因する画素信号の差を補正する第2の
補正工程と、前記相関値取得工程により取得した相関値
に基づいて、前記第2の補正工程で補正された画素信号
を補正する第3の補正工程とを有する。
Also, a plurality of photoelectric conversion elements are provided, and pixel signals obtained by photoelectrically converting a subject optical image by the plurality of photoelectric conversion elements are input from an image pickup means for outputting a plurality of regions of the subject image for each of a plurality of regions. Another image processing method according to the present invention for processing a pixel signal includes a storage step of storing at least one frame of a pixel signal output from the imaging unit, and a pixel signal of one frame stored in the storage step. A first correction step of correcting a difference between pixel signals caused by characteristics of the plurality of photoelectric conversion elements for a pixel signal near a boundary between the plurality of regions by the first correction unit; A correlation value acquiring step of acquiring a correlation value between the pixel signals output for each of the plurality of regions based on the pixel signals corrected in the correcting step; A second correction step of correcting a difference between pixel signals caused by characteristics of the plurality of photoelectric conversion elements with respect to the raw signal, and a second correction step based on the correlation value acquired in the correlation value acquisition step. And a third correction step of correcting the corrected pixel signal.

【0028】上記構成によれば、画面マッチングにて補
正処理を行う際の補正値を求める際、画像データから必
要部のみを選択に入力し補正値を求めることで、メモリ
コントロールの動作が簡潔なシステム構成で精度の高い
画面マッチング処理を施すことができる。
According to the above configuration, when a correction value for performing the correction process by the screen matching is obtained, only the necessary part is inputted from the image data to select and obtain the correction value, thereby simplifying the operation of the memory control. A highly accurate screen matching process can be performed by the system configuration.

【0029】また、本発明の好適な一様態によれば、前
記第1の補正手段の使用の有無を切り換える切り換え手
段を更に有し、前記切り換え手段により前記第1の補正
手段を不使用に切り換えた場合に、前記相関値取得手段
及び前記第2の補正手段は、前記撮像手段から入力する
画素信号を用いて処理を行う。
According to a preferred aspect of the present invention, the apparatus further comprises switching means for switching whether or not the first correction means is used, and the switching means switches the first correction means to non-use. In this case, the correlation value acquisition unit and the second correction unit perform processing using a pixel signal input from the imaging unit.

【0030】また、前記第1の補正工程または、前記第
1及び第2の補正工程を行うか否かを切り換える切り換
え工程を更に有し、前記切り換え工程の切り換えにより
上記補正工程を行わない場合に、前記相関値取得工程及
び前記第2の補正工程又は第3の補正工程では、前記撮
像手段から入力する画素信号を用いて処理を行う。
Further, the method further comprises a switching step of switching whether or not to perform the first correction step or the first and second correction steps. In the correlation value acquiring step, the second correction step or the third correction step, processing is performed using a pixel signal input from the imaging unit.

【0031】上記構成によれば、例えば、蓄積時間が短
いときあるいは撮像部の温度が高くなくて複数の光電変
換素子の個々の暗電流出力の差が比較的小さいときに
は、暗電流補正の補正効果に比較して、処理時間や消費
電流などのマイナス作用の影響が大きくなるため、特に
連続撮影モードでカメラを動作させているときには、撮
影間隔が広がってしまうから、これらの要因に応じて画
面相関抽出を行う本画像データへの暗電流補正処理の有
無を選択的に行うことで、最適な処理を行うことができ
る。
According to the above configuration, for example, when the accumulation time is short, or when the temperature of the imaging unit is not high and the difference between the individual dark current outputs of the plurality of photoelectric conversion elements is relatively small, the correction effect of the dark current correction is obtained. Because the effects of negative effects such as processing time and current consumption are greater than in the case of, especially when the camera is operated in the continuous shooting mode, the shooting interval increases, so the screen correlation according to these factors Optimal processing can be performed by selectively performing the dark current correction processing on the main image data to be extracted.

【0032】[0032]

【発明の実施の形態】以下、添付図面を参照して本発明
の好適な実施の形態を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0033】<第1の実施形態>図1は、本発明の第1
の実施形態におけるデジタルカメラなどの撮像装置の構
成を示す概略ブロック図である。
<First Embodiment> FIG. 1 shows a first embodiment of the present invention.
FIG. 2 is a schematic block diagram illustrating a configuration of an imaging device such as a digital camera according to the embodiment.

【0034】同図に示すように、撮像装置は、CCDエ
リアセンサ等からなる撮像部101と、画像処理全体の
制御を行うマイコンPRS105と、撮像部101から
の画像信号を処理する原画処理部110と、原画処理部
110からの出力を受けてホワイトバランスや色補間等
の処理を行う画像処理部104と、複数の画像データを
保存する不揮発性の記憶部材からなる記憶部103、更
に、処理済みの画像データを表示するための表示処理部
120、表示用メモリ121及びLCD等の表示部、ま
た、処理済みのデータを記憶するためのJPEG圧縮処
理部125及び記憶装置130を具備している。
As shown in FIG. 1, the image pickup apparatus includes an image pickup unit 101 including a CCD area sensor, a microcomputer PRS105 for controlling the entire image processing, and an original image processing unit 110 for processing an image signal from the image pickup unit 101. And an image processing unit 104 that receives an output from the original image processing unit 110 and performs processing such as white balance and color interpolation; a storage unit 103 including a non-volatile storage member that stores a plurality of image data; And a display unit such as a display memory 121 and an LCD, and a JPEG compression processing unit 125 and a storage device 130 for storing processed data.

【0035】マイコンPRS105は、たとえば、内部
にCPU(中央演算処理部)、RAM、ROM、EEP
ROM(電気的消去可能プログラマブルROM)、入出
力ポ−ト等が配置されたワンチップのコンピュ−タ(以
下、マイコンと略記す)である。
The microcomputer PRS105 includes, for example, a CPU (central processing unit), a RAM, a ROM, an EEP
It is a one-chip computer (hereinafter abbreviated as a microcomputer) in which a ROM (electrically erasable programmable ROM), input / output ports and the like are arranged.

【0036】マイコンPRS105は、ROMに格納さ
れたシ−ケンスプログラムに基づいて、一連の動作を行
う。なお、本発明の特徴は原画処理部110にあるの
で、原画処理部110がマイコンPRS105の制御下
にあることを明確に示すために図1で矢印を付加してい
るが、他の部分もマイコンPRS105により制御され
る。
The microcomputer PRS105 performs a series of operations based on a sequence program stored in the ROM. Since the feature of the present invention resides in the original image processing unit 110, arrows are added in FIG. 1 to clearly show that the original image processing unit 110 is under the control of the microcomputer PRS 105. It is controlled by the PRS 105.

【0037】撮像部101では、不図示の光学系を通じ
て被写体からの光束を撮像素子上に結像させており、撮
像素子はこれを光電変換して電気的な信号にし、さらに
デジタル値に変換して原画処理部110へ出力する。撮
像部101については図3を参照して詳細に後述する。
In the image pickup section 101, a light beam from a subject is formed on an image pickup device through an optical system (not shown). The image pickup device photoelectrically converts the light beam into an electric signal, and further converts the electric signal into a digital value. To the original image processing unit 110. The imaging unit 101 will be described later in detail with reference to FIG.

【0038】原画処理部110は、撮像部101からの
撮像信号出力を受けて、OBクランプ部111によりダ
ーク補正を行うための準備として、遮光部(オプティカ
ルブラック)の画素データの抽出を行った後、一旦記憶
部103のバッファメモリへ蓄える。このバッファメモ
リは、撮像素子から読み出された1画面分の撮像データ
を1つの単位として、これを複数分記憶できる容量を備
えている。
The original image processing unit 110 receives the image pickup signal output from the image pickup unit 101, and extracts pixel data of a light-shielding unit (optical black) in preparation for performing dark correction by the OB clamp unit 111. Are temporarily stored in the buffer memory of the storage unit 103. The buffer memory has a capacity capable of storing a plurality of image data of one screen read from the image sensor as one unit.

【0039】バッファメモリは、たとえば連写といわれ
る短時間に複数回の撮影動作を行う時に、画像処理部1
04以降の処理速度などによる影響を無くす、あるいは
最小にするために設けているが、本第1の実施形態で
は、画素データの暗電流補正を行うために用いる撮像素
子の暗時出力も記憶する機能をもたせている。
The buffer memory is used by the image processing unit 1 when performing a plurality of photographing operations in a short time, for example, a continuous photographing operation.
Although it is provided to eliminate or minimize the influence of the processing speed after 04, in the first embodiment, the dark output of the image sensor used for performing the dark current correction of the pixel data is also stored. Has functions.

【0040】また、原画処理部110と記憶部103間
のデータの入出力は、メモリコントロール部113によ
り制御される。
The input / output of data between the original image processing unit 110 and the storage unit 103 is controlled by the memory control unit 113.

【0041】一旦、記憶部103へ格納された画素デー
タは原画処理部110に読み込まれ、原画処置部110
を構成する暗電流補正部114、画面相関抽出部11
2、画面マッチング部116、シェーディング補正部1
17、傷補正部118等により信号処理が行われる。ス
イッチ141は、画面相関抽出を行う場合と、画像処理
部104への出力に向けた信号処理を行う場合とで選択
的に切換えてデータを供給するものである。
The pixel data once stored in the storage unit 103 is read into the original image processing unit 110, and the original image processing unit 110
Current correction unit 114 and screen correlation extraction unit 11
2. Screen matching unit 116, shading correction unit 1
17, signal processing is performed by the flaw correction unit 118 and the like. The switch 141 supplies data by selectively switching between a case where a screen correlation is extracted and a case where signal processing for output to the image processing unit 104 is performed.

【0042】なお、原画処理部110での信号処理手順
は、図7を参照して詳細に後述する。
The signal processing procedure in the original image processing section 110 will be described later in detail with reference to FIG.

【0043】画像処理部104では、原画処理部110
により処理された画素データに対して、ホワイトバラン
スやガンマ補正および色補間、色補正等、いわゆる絵作
りに関する一連の画像処理を行い、RGBの各色成分に
分けて信号出力する。従って、画像処理部104からの
出力データ量は、色補間処理を施すために、原画処理部
110からの出力データ量の整数倍に増加している。
The image processing unit 104 includes an original image processing unit 110
Performs a series of image processing related to so-called picture making, such as white balance, gamma correction, color interpolation, and color correction, on the pixel data processed by, and outputs signals for each of RGB color components. Therefore, the output data amount from the image processing unit 104 has been increased to an integral multiple of the output data amount from the original image processing unit 110 in order to perform color interpolation processing.

【0044】例えば、撮像部101の撮像素子がベイヤ
ー配列のカラーフィルタで覆われている場合、R(赤)
信号とG(緑)とを交互に出力される行と、G信号と
B(青)信号とを交互に出力する行とが、水平1ライン
単位で1行おきに存在する。原画処理部110から出力
されるデータは同じくベイヤー配列の順序を有するの
で、画像処理部104で入力データを色補間処理して各
画素についてRGBデータをそれぞれ出力すると、入力
データに対して3倍の画像データ量となる。これを概念
的に示したものが、図2である。
For example, when the image pickup device of the image pickup section 101 is covered with a Bayer array color filter, R (red)
A row in which a signal and G (green) are output alternately;
A row for alternately outputting a B (blue) signal exists every other row in units of one horizontal line. Since the data output from the original image processing unit 110 has the same Bayer arrangement order, when the image processing unit 104 performs the color interpolation processing on the input data and outputs the RGB data for each pixel, the input data is tripled. This is the amount of image data. FIG. 2 conceptually illustrates this.

【0045】画像処理部104からの出力は、撮像装置
に備えられたLCD等の表示部122に表示される最適
なサイズとなるように、表示処理部120にてフィルタ
処理を含めた画像サイズ縮小のための信号処理を行った
後に、表示用メモリ121に格納される。ここでは、
RGBの各色成分毎に格納され、カメラに備えられたL
CD表示部122の駆動部とのインターフェイスもRG
Bで行われる。出力は入力と同じくライン単位で行われ
る。
The output from the image processing unit 104 is reduced in size by the display processing unit 120 including the filtering process so that the output becomes the optimum size to be displayed on the display unit 122 such as an LCD provided in the imaging device. Is stored in the display memory 121. here,
L stored for each color component of RGB and provided in the camera
The interface with the drive unit of the CD display unit 122 is also RG.
B is performed. The output is performed in line units like the input.

【0046】JPEG圧縮処理部125は、YUV変換
部とJPEG符号化処理部とから構成されている。YU
V変換部で、画像処理部104より入力されたRGB画
像データを輝度成分と色差成分に変換し、JPEG符号
化処理部により画像圧縮処理する。JPEG符号化処理
部では、入力された画像データをJPEG符号化処理に
より画像圧縮を行う。ここでは、DCT(離散コサイン
変換)およびハフマン変換を行っており、輝度及び色差
からなる信号を、DCT処理のために輝度信号は縦8x
横16画素、色差信号は8x8画素を最小単位として、
ラスタスキャンからジグザグスキャンへ変換するための
機能もこの部位に含まれている。
The JPEG compression processing section 125 comprises a YUV conversion section and a JPEG encoding processing section. YU
The V conversion unit converts the RGB image data input from the image processing unit 104 into a luminance component and a color difference component, and performs image compression processing by a JPEG encoding processing unit. The JPEG encoding unit compresses the input image data by JPEG encoding. Here, DCT (Discrete Cosine Transform) and Huffman Transform are performed, and a signal composed of luminance and color difference is converted into a luminance signal of 8 × for DCT processing.
The horizontal unit is 16 pixels and the color difference signal is 8 × 8 pixels as the minimum unit.
The function for converting from raster scan to zigzag scan is also included in this part.

【0047】圧縮処理されたデータは後段の記憶装置1
30に順次記憶される。上述の符号化処理を繰り返し、
撮像部101からの撮像データ1画面分の処理を行う。
このJPEG符号化処理の前後で、マイコンPRS10
5は必要に応じて撮影日時情報などのヘッダーやフッタ
ーを任意の形式で生成し、符号化により圧縮された画像
データとともに記憶装置130に格納する。
The data subjected to the compression processing is stored in the storage device 1 in the subsequent stage.
30 are sequentially stored. Repeat the above encoding process,
The processing of one screen of the imaging data from the imaging unit 101 is performed.
Before and after this JPEG encoding process, the microcomputer PRS10
Reference numeral 5 generates a header and a footer such as shooting date and time information in an optional format as necessary, and stores the header and footer in the storage device 130 together with the image data compressed by encoding.

【0048】このとき、記憶装置130へは同一の撮像
データに基づいて、2つの互いに異なる画像サイズの画
像データが格納される。第1の画像データは画像処理部
104内部の画像縮小処理部による画像縮小処理を施さ
ないもの、第2の画像データは画像処理部104内部の
画像縮小処理部により画像縮小処理を実施したものであ
る。第1の画像データは撮影された画像を示す画像デー
タとして、第2のデータはサムネイル等の画像データの
編集や確認に際しての管理情報として扱うことを主目的
として生成される。第1の画像データと第2の画像デー
タは互いに独立した画像ファイルとして管理されるが、
関連付けがなされている。
At this time, two pieces of image data having different image sizes are stored in the storage device 130 based on the same image pickup data. The first image data is not subjected to the image reduction processing by the image reduction processing unit in the image processing unit 104, and the second image data is the image data subjected to the image reduction processing by the image reduction processing unit in the image processing unit 104. is there. The first image data is generated as image data representing a captured image, and the second data is generated mainly as management information for editing or confirming image data such as a thumbnail. Although the first image data and the second image data are managed as independent image files,
An association has been made.

【0049】また、JPEG符号化の際に必要な圧縮率
やそのために必要な変換参照データ等の設定値は、撮像
装置のシャッターが押された時点でマイコンPRS10
5により設定が完了する。
The compression ratio required for JPEG encoding and the set values such as conversion reference data required for the JPEG encoding are set at the time when the shutter of the imaging device is pressed by the microcomputer PRS10.
5 completes the setting.

【0050】記憶装置130へは複数の画像データの保
存を行うことのできる比較的書き込み速度の速い揮発性
の記憶部材と、比較的書き込み速度の遅い着脱可能な不
揮発性記憶部材とから構成されており、JPEG圧縮処
理部125からの出力は、最初に揮発性の記憶部材に格
納される。このとき、同一の撮像データより生成され
た、画像サイズの異なる2つの画像データが格納され
る。その後、撮像装置の動作の合間を見計らって、不揮
発性記憶部材へ順次格納される。
The storage device 130 includes a volatile storage member having a relatively high writing speed capable of storing a plurality of image data, and a removable nonvolatile storage member having a relatively low writing speed. The output from the JPEG compression processing unit 125 is first stored in a volatile storage member. At this time, two pieces of image data generated from the same image data and having different image sizes are stored. Thereafter, the image data is sequentially stored in the non-volatile storage member at intervals of the operation of the imaging device.

【0051】なお、不揮発性記憶部材は撮像装置から着
脱可能であって、撮像装置に装着した状態で揮発性記憶
部材からのデータ書き込みを単数あるいは複数の画面分
行った後に撮像装置から取り外し、撮像装置のデータ形
式で読み出し可能な別のシステムに装着して記憶されて
いるデータの再生や編集、保存を行えるようになってい
る。上述の第1の画像データと第2の画像データは共に
記憶装置130にて上述の目的を満足できるような形式
で管理される。
The non-volatile storage member is detachable from the imaging device, and after the data is written from the volatile storage member for one or a plurality of screens in a state where the non-volatile storage member is mounted on the imaging device, the non-volatile storage member is removed from the imaging device, and Data stored and attached to another system that can be read in the data format of the device can be reproduced, edited, and saved. Both the first image data and the second image data are managed in the storage device 130 in a format that satisfies the above object.

【0052】図3は図1に示す撮像部101の内部構成
を示す概略図である。図3において、90はCCDエリ
アセンサ等の撮像素子、81及び82は公知のCDS
(二重相関サンプリング)/AGC(自動ゲイン調整)
部、83及び84は公知のA/D変換器である。また、
撮像素子90を駆動する不図示のセンサ駆動部も備えて
いる。この構成により、読み出された光電変換出力に適
したアナログ処理を施した後、デジタル信号に変換して
出力する。
FIG. 3 is a schematic diagram showing the internal configuration of the image pickup unit 101 shown in FIG. In FIG. 3, reference numeral 90 denotes an image pickup device such as a CCD area sensor, and 81 and 82 denote known CDSs.
(Double correlation sampling) / AGC (Automatic gain adjustment)
The units 83 and 84 are known A / D converters. Also,
A sensor driving unit (not shown) for driving the image sensor 90 is also provided. With this configuration, after performing analog processing suitable for the read photoelectric conversion output, the signal is converted into a digital signal and output.

【0053】撮像素子90は公知のベイヤー配列型CC
Dと呼ばれているものであり、91L及び91Rは、そ
れぞれ画面左半分、右半分の領域に存在する光電変換素
子、92L及び92Rは、それぞれ画面左半分、右半分
の領域に存在する垂直転送CCD(VCCD)である。
各光電変換素子とVCCDはそれぞれペアになってお
り、2次元にこのペアが複数個配置されることで撮像領
域を形成し、被写体からの光束を電荷に変換することで
画像を撮像するものである。また、4LはVCCD92
Lから順次転送される電荷を水平方向に転送する水平転
送CCD(HCCD)、4Rは、VCCD92Rから順
次転送される電荷を水平方向に転送するHCCDであ
る。
The image sensor 90 is a known Bayer array type CC
D, and 91L and 91R are photoelectric conversion elements existing in the left half and right half areas of the screen, respectively, and 92L and 92R are vertical transfer elements existing in the left half and right half areas of the screen, respectively. CCD (VCCD).
Each photoelectric conversion element and VCCD are paired, and a plurality of the pairs are arranged two-dimensionally to form an imaging area, and an image is captured by converting a light flux from a subject into electric charges. is there. 4L is VCCD92
Horizontal transfer CCDs (HCCDs) 4R for transferring charges sequentially transferred from L in the horizontal direction are HCCDs for transferring charges sequentially transferred from the VCCD 92R in the horizontal direction.

【0054】撮像領域を形成する撮像素子90の受光面
は、R、G、Bの原色フィルタにより覆われており、G
は市松状に、R、BはGフィルタの間に1ライン毎交互
に配置されている(ベイヤー配列)。また、画素は正方
格子化されていて、画像の取り込み後の演算が容易なも
のである。
The light receiving surface of the image sensor 90 that forms the image pickup area is covered with R, G, and B primary color filters.
Are arranged in a checkered pattern, and R and B are alternately arranged for each line between G filters (Bayer arrangement). Further, the pixels are formed in a square lattice, so that the calculation after the image is captured is easy.

【0055】光電変換素子91Lで発生した電荷はVC
CD92Lに転送された後、HCCD4Lに向けて水平
方向の1行を単位として垂直方向に順次転送される。そ
の後、HCCD4Lにより方向Bに転送されて、電荷電
圧変換アンプ95にて電荷から電圧に変換され、CDS
/AGC部81により処理され、更にA/D変換器83
にてデジタルデータに変換された後に、図1に示す原画
処理部110へ出力される。
The charge generated by the photoelectric conversion element 91L is VC
After being transferred to the CD 92L, the data is sequentially transferred in the vertical direction to the HCCD 4L in units of one row in the horizontal direction. Thereafter, the charges are transferred in the direction B by the HCCD 4L, and are converted from charges to voltages by the charge-voltage conversion amplifier 95.
/ AGC unit 81, and further processed by A / D converter 83
After being converted to digital data, the data is output to the original image processing unit 110 shown in FIG.

【0056】一方、光電変換部91Rで発生した電荷は
VCCD92Rに転送された後、9HCCD4Rに向け
て水平方向の1行を単位として垂直方向に順次転送され
る。その後、HCCD4Rにより方向Aに転送されて、
電荷電圧変換アンプ96にて電荷から電圧に変換され、
CDS/AGC部82により処理され、A/D変換器8
4にてデジタルデータに変換された後、図1に示す原画
処理部110へ出力される。このように、撮像された撮
像データが、左右領域で分かれて出力される。
On the other hand, the charges generated in the photoelectric conversion unit 91R are transferred to the VCCD 92R, and then sequentially transferred to the 9HCCD 4R in the vertical direction in units of one horizontal line. Then, it is transferred in the direction A by the HCCD 4R,
The charge-voltage conversion amplifier 96 converts the charge into a voltage,
The signal is processed by the CDS / AGC unit 82 and the A / D converter 8
After being converted into digital data in step 4, the data is output to the original image processing unit 110 shown in FIG. In this manner, the captured image data is output separately for the left and right regions.

【0057】また、撮像素子90を構成するVCCD9
2L及び92R、HCCD4L及び4R、受光部の光電
変換素子、遮光部の光電変換素子はいづれも図3に示さ
れているものより多くの個数により構成されている。例
えば図3において、遮光部の光電変換素子は1水平方向
について右端、左端に各1つで表現しているが、実際に
は、複数個で構成されている。
The VCCD 9 constituting the image pickup device 90
Each of the 2L and 92R, the HCCDs 4L and 4R, the photoelectric conversion element of the light receiving section, and the photoelectric conversion element of the light shielding section is constituted by a larger number than those shown in FIG. For example, in FIG. 3, the photoelectric conversion element of the light-shielding portion is represented by one each at the right end and the left end in one horizontal direction, but is actually constituted by a plurality.

【0058】図4は、不図示のカメラ接眼部からファイ
ダを覗いた様子を示し、 AFP1〜AFP3は3つの
測距点を示しており、 測距点AFP2で焦点調節して
いる状態を表している。また、図4においては下端に示
す各表示はシャッター速度や焦点調節の合焦判定等、カ
メラの設定状態を示すもので、説明のために全ての表示
部が点灯した状態を示しているが、カメラの動作時は、
動作状態に応じて点灯あるいは消灯が独立して行われる
ため、図4のように全ての表示が点灯することはない。
また、測距点AFP1〜AFP3は、それぞれ焦点調節
に選択されると、不図示の光学系および照明装置によ
り、撮影者が充分確認できる短い時間で外側の四辺形と
内側の四辺形に囲まれた領域が赤く点灯する。
FIG. 4 shows a state in which the viewfinder is viewed through a camera eyepiece (not shown). AFP1 to AFP3 show three distance measuring points, and show a state where the focus is adjusted at the distance measuring point AFP2. ing. Also, in FIG. 4, each display shown at the lower end shows a setting state of the camera such as a shutter speed and a focus determination of focus adjustment, and shows a state in which all display units are turned on for explanation. During camera operation,
Lighting or extinguishing is performed independently in accordance with the operation state, so that all the displays are not turned on as shown in FIG.
When each of the focus detection points AFP1 to AFP3 is selected for focus adjustment, the outer and inner quadrilaterals are surrounded by an optical system and an illumination device (not shown) in a short time that can be sufficiently confirmed by a photographer. The lit area is lit red.

【0059】このとき図1の撮像部101に含まれてい
る撮像素子の受光部は図5に示すようにK×L画素であ
る。また、上述したように、図5に示すK×L画素の信
号に対して原画処理部110にて処理し、さらに画像処
理部104にてホワイトバランスや色補正、色補間等一
連の信号処理がRGBの各色毎に施されると、図2に示
すように、R、G、Bの各色毎にK×L画素からなる出
力画像になる。すなわち、K×L画素からなる撮像素子
からのデータ量が、原画処理部110および画像処理部
104により信号処理されることによって、3倍のデー
タ量となることを示している。
At this time, the light receiving section of the image pickup device included in the image pickup section 101 of FIG. 1 has K × L pixels as shown in FIG. Further, as described above, the signal of K × L pixels shown in FIG. 5 is processed by the original image processing unit 110, and the image processing unit 104 performs a series of signal processing such as white balance, color correction, and color interpolation. When performed for each of the RGB colors, an output image composed of K × L pixels is formed for each of the R, G, and B colors, as shown in FIG. In other words, the data amount from the image sensor composed of K × L pixels is tripled by performing signal processing by the original image processing unit 110 and the image processing unit 104.

【0060】図6は、左右画面間で発生する出力差を境
界近傍の複数の光電変換出力から求めて行う場合の補正
処理を説明するための図である。
FIG. 6 is a diagram for explaining a correction process when the output difference between the left and right screens is obtained from a plurality of photoelectric conversion outputs near the boundary.

【0061】図6(A)は図3に示す撮像素子90を簡
略化した図である。図6(A)に示す例では、晴れた日
の風景を撮影しており、太陽、山、木、草が写ってい
る。なお、図6(A)に示す構成において、上述の図1
4(A)に示す構成と同じものについては同じ参照番号
を付し、ここでは説明を省略する。
FIG. 6A is a simplified view of the image sensor 90 shown in FIG. In the example shown in FIG. 6A, a landscape on a sunny day is photographed, and the sun, mountains, trees, and grass are photographed. Note that, in the configuration shown in FIG.
The same components as those shown in FIG. 4A are denoted by the same reference numerals, and description thereof will not be repeated.

【0062】図6(B)は図6(A)のb−b’で示す
水平方向1行分の光電変換出力例を示す。図6(B)の
レベルAは、HCCD4Rから読み出される遮光部2R
の出力レベルを示し、レベルBは図6(A)のHCCD
4Lから読み出される遮光部2Lの出力レベルを示す。
また、差分Dは、右画面と左画面のレベル差を示す。
FIG. 6B shows an example of photoelectric conversion output for one horizontal line indicated by bb 'in FIG. 6A. The level A in FIG. 6B is the light shielding unit 2R read from the HCCD 4R.
6B, and the level B is the HCCD of FIG.
The output level of the light shielding unit 2L read from the 4L is shown.
The difference D indicates the level difference between the right screen and the left screen.

【0063】図6(A)に示す相関抽出部A及びBは差
分Dを補正するための補正量を求めるために用いる撮像
データ領域である。それぞれ、撮像領域の左右境界から
同数(複数)の光電変換素子出力を抽出し、相関値を求
めて補正値を生成する。
The correlation extraction units A and B shown in FIG. 6A are imaging data areas used for obtaining a correction amount for correcting the difference D. In each case, the same number (plural) of photoelectric conversion element outputs are extracted from the left and right boundaries of the imaging region, and correlation values are obtained to generate correction values.

【0064】ここで本発明における補正値を生成する方
法について説明する。
Here, a method of generating a correction value according to the present invention will be described.

【0065】まず、HCCD4R及びアンプ5Rを介し
て読みだされた相関抽出部Aの画素データを暗電流補正
し、補正後のデータを平均した値AVGAと、HCCD
4L及びアンプ5Lを介して読みだされた相関抽出部B
の画素データを暗電流補正し、補正後のデータを平均し
た値AVGBとを求める。相関抽出部A及びBの水平方
向の画素数をNとした場合、AS(N)、BS(N)
は、それぞれHCCD4R及びアンプ5R、HCCD4
L及び5Lにより読みだされた相関抽出部Aおよび相関
抽出部Bの画素データに暗電流補正を行った出力とす
る。すなわち、 AVGA=(AS(1)+AS(2)+...+AS(N))/N AVGB=(BS(1)+BS(2)+...+BS(N))/N …(1)
First, the pixel data of the correlation extraction unit A read via the HCCD 4R and the amplifier 5R is corrected for dark current, and the corrected data AVGA is averaged.
Correlation extractor B read via 4L and amplifier 5L
Is corrected for dark current, and an average value AVGB of the corrected data is obtained. When the number of pixels in the horizontal direction of the correlation extraction units A and B is N, AS (N), BS (N)
Are the HCCD4R, the amplifier 5R, and the HCCD4, respectively.
The output is obtained by performing dark current correction on the pixel data of the correlation extraction unit A and the correlation extraction unit B read by L and 5L. AVGA = (AS (1) + AS (2) + ... + AS (N)) / N AVGB = (BS (1) + BS (2) + ... + BS (N)) / N (1)

【0066】により求める。次に、平均値AVGA、A
VGBに基づいて相関値を求める。 相関値=AVGB−AVGA …(2) 上記のようにして求めた相関値は、そのまま補正値とし
て用いることができるので、ここではHCCD4L及び
アンプ5Lを介して読みだされた画素データに暗電流補
正した後のデータと演算する。すなわち、B(n)をH
CCD4L及びアンプ5Lを介して読み出された画素デ
ータに暗電流補正を行った出力とすると、まず、 BB(n)=B(n)+補正値(相関値) …(3)
Is determined by Next, the average value AVGA, A
A correlation value is obtained based on VGB. Correlation value = AVGB-AVGA (2) Since the correlation value obtained as described above can be used as a correction value as it is, here, dark current correction is performed on pixel data read through the HCCD 4L and the amplifier 5L. Calculate with the data after That is, B (n) is H
Assuming that the pixel data read through the CCD 4L and the amplifier 5L is output after performing dark current correction, first, BB (n) = B (n) + correction value (correlation value) (3)

【0067】を演算する。これにより、差分Dに対応す
るレベルを補正することができる。なお、nは画素番号
を示し、水平方向1行を構成する光電変換素子の個数を
Kとすると、1≦n≦K/2である。次に、左右画面の
画素データにオフセット値Cを加算する。なお、A
(n)はHCCD4R及びアンプ5Rを介して読み出さ
れた画素データに暗電流補正を行った出力である。 FB(n)=BB(n)+C …(4) FA(n)=A(n)+C …(5) これにより図6(C)に示す波形を得ることができる。
Is calculated. As a result, the level corresponding to the difference D can be corrected. Note that n indicates a pixel number, and 1 ≦ n ≦ K / 2, where K is the number of photoelectric conversion elements forming one row in the horizontal direction. Next, the offset value C is added to the pixel data of the left and right screens. Note that A
(N) is an output obtained by performing dark current correction on the pixel data read via the HCCD 4R and the amplifier 5R. FB (n) = BB (n) + C (4) FA (n) = A (n) + C (5) Thus, the waveform shown in FIG. 6C can be obtained.

【0068】なお、図6(C)のレベルCに当たるオフ
セット値Cは、図1に示す画像処理部104等でデジタ
ル信号処理が行い易いように、補正後の画素データに共
通に加えるオフセット値である。
The offset value C corresponding to the level C in FIG. 6C is an offset value commonly added to the corrected pixel data so that digital signal processing can be easily performed by the image processing unit 104 shown in FIG. is there.

【0069】なお、図6(B)及び図6(C)に示す出
力波形は表示画像での出力を示すものであるが、撮像素
子から得られるRGBの各色成分により構成される画像
データであるので、上記補正値生成はRGBの各色成分
ごとに独立に行われるものである。
The output waveforms shown in FIGS. 6 (B) and 6 (C) show the output in the display image, and are image data composed of each color component of RGB obtained from the image sensor. Therefore, the correction value generation is performed independently for each of the RGB color components.

【0070】次に、図1の原画処理部110において行
われる処理を、図1乃至図7を参照して詳細に説明す
る。図7は原画処理部110の動作を示すフローチャー
トである。
Next, the processing performed in the original image processing section 110 of FIG. 1 will be described in detail with reference to FIGS. FIG. 7 is a flowchart showing the operation of the original image processing unit 110.

【0071】撮像部101から原画処理部110に入力
される画素データは、図5に示すように、水平方向にK
個、垂直方向にL個からなる、受光部にある光電変換素
子の出力と、図6(A)に示す遮光部2L及び2Rにあ
る複数の光電変換素子の出力とから構成される。これら
光電変換素子の出力は、図3に示すように、左画面の出
力がA/D変換器83を介して、また、右画面の出力が
A/D変換器84を介して、原画処理部110に並行に
入力される。原画処理部110ではこれら2系統のデジ
タル画素データを並行処理する。
As shown in FIG. 5, pixel data input from the image pickup unit 101 to the original image processing unit 110 is represented by K in the horizontal direction.
And L in the vertical direction. The output is composed of the outputs of the photoelectric conversion elements in the light receiving section and the outputs of the plurality of photoelectric conversion elements in the light shielding sections 2L and 2R shown in FIG. As shown in FIG. 3, the outputs of these photoelectric conversion elements are output through the A / D converter 83 on the left screen and output from the right screen via the A / D converter 84. 110 are input in parallel. The original image processing unit 110 performs parallel processing on these two sets of digital pixel data.

【0072】まず、最初に暗電流補正に用いる暗電流補
正データを取得する処理を行う。
First, processing for acquiring dark current correction data used for dark current correction is performed.

【0073】マイコンPRS105は撮像部を制御し
て、撮像部101に光が入射されない状態で光電変換素
子の出力が初期値となるようにリセットした後に、予め
決めておいた時間の電荷蓄積動作を行う。ステップS1
0では、この電荷蓄積動作完了後にA/D変換器83お
よび84からそれぞれ出力されたデジタル画素データを
並行に入力する。
The microcomputer PRS105 controls the image pickup unit and resets the output of the photoelectric conversion element to an initial value in a state where light does not enter the image pickup unit 101, and then performs a charge accumulation operation for a predetermined time. Do. Step S1
At 0, the digital pixel data output from the A / D converters 83 and 84 are input in parallel after the completion of the charge storage operation.

【0074】ステップS11では、図6(A)に示す遮
光部2L及び2R中の複数の光電変換素子の暗電流出力
に対応する画素データを一時的に記憶し、公知の方法に
てクランプに用いるデジタルデータを決定する。続い
て、図6(A)の受光部1の領域にある光電変換素子か
ら得られる画素データとのクランプ処理を公知の方法で
行う。
In step S11, pixel data corresponding to the dark current outputs of the plurality of photoelectric conversion elements in the light shielding portions 2L and 2R shown in FIG. 6A is temporarily stored and used for clamping by a known method. Determine digital data. Subsequently, a clamping process with pixel data obtained from the photoelectric conversion element in the area of the light receiving unit 1 in FIG. 6A is performed by a known method.

【0075】次にステップS12において、クランプ処
理されたデータ(暗電流補正データ)を、メモリコント
ロール部113を介して、記憶部103内に予め確保さ
れた暗電流補正データ格納領域に格納する。なお、記憶
部103への格納の際にはその後のデータの扱いが容易
となるように、HCCD4Rにより方向Aに転送された
画素データの格納順が読み出し順と逆になるように(す
なわち、方向Bの順になるように)、メモリコントロー
ル部113にて制御する。
Next, in step S12, the clamped data (dark current correction data) is stored in the dark current correction data storage area secured in advance in the storage unit 103 via the memory control unit 113. Note that the storage order of the pixel data transferred in the direction A by the HCCD 4R is opposite to the reading order (that is, in the direction of the direction), so that the subsequent data can be easily handled at the time of storage in the storage unit 103. (In order of B) by the memory control unit 113.

【0076】ステップS10乃至S12の処理を、水平
ライン数であるL回(すなわち、ステップS13でYE
Sとなるまで)繰り返す。これにより、1フレーム分の
暗電流補正データの取り込みが終了する。
The processing of steps S10 to S12 is repeated L times, which is the number of horizontal lines (that is, YE in step S13).
(Until S is reached). This completes the capture of the dark current correction data for one frame.

【0077】続いて、撮像部101により、通常の被写
体撮影により得た画素データを入力する(ステップS1
4)。この画素データについてもクランプ処理し(ステ
ップS15)、クランプ処理後の画素データをメモリコ
ントロール部113を介して記憶部103に予め確保さ
れた画素データ格納領域に格納し(ステップS16)、
ステップS14乃至S16の動作をL回(ステップS1
7でYES、すなわち1フレーム分の画像データの処理
が終了するまで)繰り返す。
Subsequently, pixel data obtained by normal photographing of a subject is input by the imaging unit 101 (step S1).
4). This pixel data is also clamped (step S15), and the pixel data after the clamp processing is stored in the pixel data storage area secured in advance in the storage unit 103 via the memory control unit 113 (step S16).
The operations of steps S14 to S16 are repeated L times (step S1
7 is repeated, that is, until the processing of the image data for one frame is completed).

【0078】次に、暗電流補正を行うためにスイッチ1
41を切換えて、記憶部103からメモリコントロール
部113を介して読み出した画像データ及び暗電流補正
データを暗電流補正処理部114に入力し、画素データ
に対して暗電流補正を行う(ステップS18)。暗電流
補正部114は、マイコンPRS105の制御下で、画
素データを取得したときの蓄積時間に相当する暗電流補
正データとなるように各々の蓄積時間比に基づいて暗電
流補正データに対して演算処理を行って調整し、調整し
た暗電流補正データを画素データから減算する。これに
より、画素データを構成する個々の光電変換素子出力に
含まれている暗電流成分を除去してS/N特性の良好な
画素データを生成することができる。上記のように暗電
流補正されたが素データは、画面相関抽出部112に入
力されると共に、記憶部103にも格納される。
Next, switch 1 is used to perform dark current correction.
41, the image data and dark current correction data read from the storage unit 103 via the memory control unit 113 are input to the dark current correction processing unit 114, and dark current correction is performed on the pixel data (step S18). . Under the control of the microcomputer PRS105, the dark current correction unit 114 operates on the dark current correction data based on each accumulation time ratio so that the dark current correction data corresponds to the accumulation time when the pixel data is acquired. The adjustment is performed by performing the processing, and the adjusted dark current correction data is subtracted from the pixel data. As a result, it is possible to remove the dark current component included in the output of each photoelectric conversion element constituting the pixel data, and generate pixel data having good S / N characteristics. The raw data that has been subjected to the dark current correction as described above is input to the screen correlation extraction unit 112 and is also stored in the storage unit 103.

【0079】画面相関抽出部112では、右画面と左画
面のレベルのずれを画像マッチング部116にて補正す
るために必要な補正値を求める基準となる相関値を求め
るために、画面相関抽出処理を行う(ステップS1
9)。具体的には、画面相関抽出部112に図6(A)
に示す相関抽出部Aおよび相関抽出部Bの画像データが
入力されると、上述の式(1)により変数AVGAおよ
び変数AVGBを求め、さらに、上述の式(2)により
相関値を算出する。
The screen correlation extraction unit 112 performs a screen correlation extraction process in order to obtain a correlation value serving as a reference for obtaining a correction value necessary for the image matching unit 116 to correct the level difference between the right screen and the left screen. (Step S1)
9). More specifically, FIG.
When the image data of the correlation extraction unit A and the correlation extraction unit B shown in (1) are input, the variable AVGA and the variable AVGB are obtained by the above equation (1), and the correlation value is calculated by the above equation (2).

【0080】画面相関抽出部112から出力される相関
値は、マイコンPRS105に読み込まれ、予め用意し
ておいた処理内容にしたがって処理された後に、画面マ
ッチング部116でのずれ補正処理制御に反映される。
The correlation value output from the screen correlation extraction unit 112 is read into the microcomputer PRS 105, processed according to the processing contents prepared in advance, and reflected in the deviation correction processing control by the screen matching unit 116. You.

【0081】続いて、求めた画像の相関値に基づいてマ
イコンPRS105が生成した補正値を用いて、画面マ
ッチング処理部116による画面マッチングを行う(ス
テップS20)。このときスイッチ141は画面マッチ
ング部116側に切換えられており、メモリコントロー
ル部113を介して記憶部103から暗電流補正された
画素データが読み出される。なお、本第1の実施形態に
おいては、図3の左画面の画像データに対して補正処理
を行うことにより画面のマッチングを行うものとする。
Subsequently, screen matching is performed by the screen matching processing unit 116 using the correction value generated by the microcomputer PRS105 based on the obtained correlation value of the image (step S20). At this time, the switch 141 has been switched to the screen matching unit 116 side, and the dark current corrected pixel data is read from the storage unit 103 via the memory control unit 113. In the first embodiment, it is assumed that screen matching is performed by performing correction processing on image data on the left screen in FIG.

【0082】ステップS20では、図3の右画面の画像
データがスイッチ141を経て画面マッチング部116
に入力される。右画面の画像データに対して、画面マッ
チング部116は、上記式(5)により上述したように
図6(C)に示すレベルCに対応する値(オフセット
値)を加算する。一方、図3の左画面の画像データがス
イッチ141を経て画面マッチング部116に入力され
ると、入力されたラインの相関値に基づいて、マイコン
PRS105が予め用意しておいた補正値を用いて、上
記式(3)及び(4)に示す演算を行い、レベルのずれ
が補正される。
In step S20, the image data of the right screen in FIG.
Is input to The screen matching unit 116 adds the value (offset value) corresponding to the level C shown in FIG. On the other hand, when the image data of the left screen in FIG. 3 is input to the screen matching unit 116 via the switch 141, the microcomputer PRS105 uses the correction value prepared in advance based on the correlation value of the input line. The calculations shown in the above equations (3) and (4) are performed to correct the level shift.

【0083】画面マッチング部116によりマッチング
処理された後は、図3のA/D変換器83および84の
2系統で別々に出力され、それぞれ別個に処理されてい
た画像データが、各行毎のデータとしてまとめられる。
After being subjected to the matching processing by the screen matching unit 116, the image data separately output by the two systems of A / D converters 83 and 84 in FIG. It is summarized as.

【0084】続いて、ステップS21において、シェー
ディング補正処理部117により、予め用意しておいた
係数を画面マッチング処理された画像データに乗じるこ
とで光学的要因により生じた画像データの歪みを補正す
る。
Subsequently, in step S21, the shading correction processing section 117 corrects the distortion of the image data caused by optical factors by multiplying the image data subjected to the screen matching processing by a coefficient prepared in advance.

【0085】次に、ステップS22において、傷補正処
理部118により、ゴミや傷などにより適正な光電変換
出力が得られない部位を、その周囲の出力に基づいて算
出した値に置換する。ゴミや傷などのある部分は周囲の
画素の出力と差異があることから、その差異が予め決め
ておいた値よりも大きい時にゴミ又は傷があると判断す
ることができる。
Next, in step S22, the flaw correction processing unit 118 replaces a part where an appropriate photoelectric conversion output cannot be obtained due to dust or flaw with a value calculated based on the surrounding output. Since there is a difference between the output of the surrounding pixels and a portion having dust or scratches, it can be determined that dust or scratches exist when the difference is larger than a predetermined value.

【0086】傷補正部118による処理を終えた画像デ
ータは、画像処理部104へ順次出力される。
The image data that has been processed by the flaw correction unit 118 is sequentially output to the image processing unit 104.

【0087】画面マッチング処理(ステップS20)、
シェーディング補正処理(ステップS21)および傷補
正処理(ステップS22)も水平方向のライン単位で行
われるので、これらの処理をL回繰返すことにより(ス
テップS23でYES)、水平ライン数がLからなる光
電変換素子の出力について、1フレーム分の原画処理が
終了する。
Screen matching processing (step S20),
Since the shading correction processing (step S21) and the flaw correction processing (step S22) are also performed in units of horizontal lines, these processings are repeated L times (YES in step S23), so that the photoelectric conversion of L horizontal lines is performed. With respect to the output of the conversion element, the original image processing for one frame is completed.

【0088】上記の処理により、図6(B)に示す出力
波形が図6(C)に示す出力波形に補正され、右画面と
左画面のレベル差である図6(B)に示す差分Dが補正
され、左右画面で段差のない画像データを得ることがで
きる。
With the above processing, the output waveform shown in FIG. 6B is corrected to the output waveform shown in FIG. 6C, and the difference D shown in FIG. 6B, which is the level difference between the right screen and the left screen. Is corrected, and it is possible to obtain image data having no step on the left and right screens.

【0089】このように、第1の実施形態では、画面マ
ッチングにて補正処理を行う場合に、その補正値を求め
る画像データに予め暗電流補正を行っておくことで、精
度の高い画面マッチング処理を施すことができる。
As described above, in the first embodiment, when the correction processing is performed by the screen matching, the dark current correction is performed in advance on the image data for which the correction value is to be obtained. Can be applied.

【0090】<第2の実施形態>以下、本発明の第2の
実施形態を図面を参照して説明する。
<Second Embodiment> Hereinafter, a second embodiment of the present invention will be described with reference to the drawings.

【0091】図8は、本発明の第2の実施形態における
デジタルカメラなどの撮像装置の構成を示す概略ブロッ
ク図である。図8に示す構成と図1に示す構成とでは、
スイッチ部141と暗電流補正部114の配置が入れ換
わってところが異なる。なお、図8において、図1と同
様の構成には同じ参照番号を付し、各構成要素の詳細な
動作については説明を省略するs。
FIG. 8 is a schematic block diagram showing the configuration of an imaging device such as a digital camera according to the second embodiment of the present invention. In the configuration shown in FIG. 8 and the configuration shown in FIG.
The difference is that the positions of the switch unit 141 and the dark current correction unit 114 are interchanged. In FIG. 8, the same components as those in FIG. 1 are denoted by the same reference numerals, and the detailed operation of each component will not be described.

【0092】上記第1の実施形態では、原画処理部11
0において、画像データの暗電流補正を画面相関抽出の
前処理として1フレーム分行っておき、記憶部103に
暗電流補正後の画像データを格納する構成であった。本
第2の実施形態では、処理必要な画素データについてそ
の都度暗電流補正する場合について説明する。
In the first embodiment, the original image processing unit 11
0, the dark current correction of the image data is performed for one frame as preprocessing of the screen correlation extraction, and the storage unit 103 stores the image data after the dark current correction. In the second embodiment, a case will be described in which pixel data requiring processing is subjected to dark current correction each time.

【0093】以下、本第2の実施形態における原画処理
部110’の動作を図9を参照しながら説明する。
The operation of the original image processing section 110 'in the second embodiment will be described below with reference to FIG.

【0094】ステップS10乃至S17で行われる処理
は図7で行われる処理と同様であるので、ここでは説明
を省略する。
The processing performed in steps S10 to S17 is the same as the processing performed in FIG. 7, and a description thereof will not be repeated.

【0095】ステップS30において、図6(A)に示
す相関抽出部A及び相関抽出部Bのクランプ処理済みの
画像データと、暗電流補正データとをメモリコントロー
ル部113を介して記憶部103から読み込む。本第2
の実施形態においては、暗電流補正部114とメモリコ
ントロール部113との間にスイッチ141が無いの
で、メモリコントロール部113から暗電流補正部11
4に直接データが入力される。暗電流補正部114にお
ける暗電流補正処理動作は、図7のステップS18で説
明した動作と同様である。
In step S30, the clamped image data of the correlation extraction unit A and the correlation extraction unit B shown in FIG. 6A and the dark current correction data are read from the storage unit 103 via the memory control unit 113. . Book second
In the embodiment, since the switch 141 is not provided between the dark current correction unit 114 and the memory control unit 113, the memory control unit 113 sends the dark current correction unit 11
4 is directly input with data. The dark current correction processing operation in the dark current correction unit 114 is the same as the operation described in step S18 of FIG.

【0096】次のステップS31において相関値を得る
ために、スイッチ141はここでは暗電流補正後の画像
データを画面相関抽出部112へ出力するよう切換えら
れている。従って、暗電流補正部114は、暗電流補正
済みの相関抽出部A及び相関抽出部Bの画像データを画
面相関抽出処理部112へ出力し、画面相関抽出処理部
112では入力したデータに基づいて、図7のステップ
S19と同様の動作により、相関値を得る。ここで暗電
流補正部114により暗電流補正され、画面相関抽出部
112へ入力される画像データは相関抽出部Aおよび相
関抽出部Bの領域のみであるから、ステップS30及び
S31の処理は、第1の実施形態に比べて、かなり短時
間で終了する。
In order to obtain a correlation value in the next step S 31, the switch 141 is switched so as to output the image data after the dark current correction to the screen correlation extracting unit 112. Therefore, the dark current correction unit 114 outputs the image data of the correlation extraction unit A and the correlation extraction unit B after the dark current correction to the screen correlation extraction processing unit 112, and the screen correlation extraction processing unit 112 outputs the data based on the input data. The correlation value is obtained by the same operation as in step S19 in FIG. Here, since the dark current is corrected by the dark current correction unit 114 and the image data input to the screen correlation extraction unit 112 is only the area of the correlation extraction unit A and the correlation extraction unit B, the processing in steps S30 and S31 The process is completed in a considerably short time as compared with the first embodiment.

【0097】続いて、求めた画像の相関値に基いてマイ
コンPRS105で生成された補正値を用いて、画面マ
ッチング処理部116による画面マッチング等の処理を
行うが、本第2の実施形態においては、その前に暗電流
補正処理部114による暗電流補正処理を行う(ステッ
プS32)。
Subsequently, processing such as screen matching by the screen matching processing unit 116 is performed by using the correction value generated by the microcomputer PRS105 based on the obtained correlation value of the image. In the second embodiment, Before that, the dark current correction processing by the dark current correction processing unit 114 is performed (step S32).

【0098】記憶部103には、既に、1フレーム分の
暗電流補正データと画像データが格納されているので、
これらのデータを記憶部103から暗電流補正部114
へメモリコントロール部113を介して読み出す。こう
して読み出したデータを用いて、図7のステップS18
と同様にして1フレーム分の画像データに対して暗電流
補正処理を行う。
Since the storage unit 103 has already stored one frame of dark current correction data and image data,
These data are transferred from the storage unit 103 to the dark current correction unit 114.
Is read out via the memory control unit 113. Using the data read in this manner, step S18 in FIG.
Similarly, the dark current correction processing is performed on the image data for one frame.

【0099】ここでは、スイッチ141は画面マッチン
グ部116へデータが出力されるように切換えられてお
り、暗電流補正された画像データが画面順次マッチング
部116へ入力される。ステップS33において、マイ
コンPRS105が生成した補正値を用いて、図7のス
テップS20と同様の画面マッチングを行い、1行分の
画像データに対してマッチング処理が終了すると、HC
CD4Rにより方向Aに転送された右画面の画像データ
の順序を逆にして(すなわち、データ順を方向Bの順に
する)、左画面の画像データと合わせて1行分の画像デ
ータにし、シェーディング補正部117に出力する。
Here, the switch 141 is switched so that data is output to the screen matching unit 116, and the image data corrected for dark current is input to the screen sequential matching unit 116. In step S33, the same screen matching as in step S20 in FIG. 7 is performed using the correction value generated by the microcomputer PRS105, and when the matching process is completed for one line of image data, HC
The order of the image data of the right screen transferred in the direction A by the CD4R is reversed (that is, the data order is changed to the order of the direction B), and the image data of the left screen is combined with the image data of the left screen to form one line of image data. Output to the unit 117.

【0100】なお、右画面の画像データの順序の変換
は、ステップS32で暗電流補正を行う際に、メモリコ
ントロール部113により記憶部103からの読み出し
順序を逆にすることで行っても良い。
Note that the order of the image data on the right screen may be converted by reversing the order of reading from the storage unit 103 by the memory control unit 113 when performing the dark current correction in step S32.

【0101】この後に行うシェーディング補正処理(ス
テップS34)およびゴミ・傷補正処理(ステップS3
5)は、それぞれ図7のステップS21及びS22の動
作と同様であるために、説明を省略する。上記ステップ
S32乃至S35をL回(すなわ水平ライン数分)繰り
返し(ステップS36)、1フレーム分の原画像処理が
終了する。
The shading correction processing (Step S34) and the dust / scratch correction processing (Step S3) to be performed thereafter
Step 5) is the same as the operation in steps S21 and S22 in FIG. 7, respectively, and thus the description is omitted. The above steps S32 to S35 are repeated L times (that is, the number of horizontal lines) (step S36), and the original image processing for one frame is completed.

【0102】上記の通り本第2の実施形態によれば、画
面マッチングを行うための補正値を求める際に、1フレ
ーム分の画像データの内、必要部分のみを選択して補正
値を求めることで、メモリコントロールの処理が簡潔な
システム構成で、上記第1の実施形態と同様に精度の高
い画面マッチング処理を施すことができる。
As described above, according to the second embodiment, when a correction value for performing screen matching is obtained, a correction value is obtained by selecting only a necessary portion from image data for one frame. Thus, with a simple system configuration of the memory control process, it is possible to perform a highly accurate screen matching process as in the first embodiment.

【0103】<第3の実施形態>以下、本発明の第3の
実施形態を図面を参照して説明する。
<Third Embodiment> Hereinafter, a third embodiment of the present invention will be described with reference to the drawings.

【0104】上記第1および第2の実施形態では、画像
データを画面相関抽出の前処理として暗電流補正を必ず
行うものであった。これに対し、本第3の実施形態にお
いては、画面相関抽出の前処理である暗電流補正をする
かしないかを選択的に切換える場合について説明する。
In the first and second embodiments, the dark current correction is always performed on the image data as a pre-process for extracting the screen correlation. On the other hand, in the third embodiment, a case will be described in which it is selectively switched whether dark current correction, which is preprocessing for screen correlation extraction, is performed or not.

【0105】図10は、本第3の実施形態における撮像
装置の概略構成を示す図である。図1と比較してスイッ
チ部142が追加されていることが異なっているが、そ
れ以外の各構成要素の機能は図1に示すものと同じであ
るため同じ参照番号を付し、説明を省略する。
FIG. 10 is a diagram showing a schematic configuration of an imaging apparatus according to the third embodiment. The difference between FIG. 1 and FIG. 1 is that a switch unit 142 is added. However, since the functions of the other components are the same as those shown in FIG. I do.

【0106】次に、図11を参照して原画処理部11
0”の動作説明をする。なお、図7に示す処理と同じ処
理については同じ参照番号を付し、説明を省略する。
Next, referring to FIG.
The operation of "0" will be described. The same processes as those shown in FIG.

【0107】ステップS40において、暗電流補正を行
うかどうかを判断する。暗電流処理を行う場合には、ス
イッチ141を1に設定して、データを暗電流補正部1
144に出力し、ステップS18に進む。また、行わな
い場合には、スイッチ141を0にし、スイッチ142
を1に設定することで、暗電流補正部114を迂回し
て、画像データを直接画面相関抽出部112に出力し、
ステップS19の処理に進む。
In step S40, it is determined whether dark current correction is to be performed. When performing dark current processing, the switch 141 is set to 1 and data is stored in the dark current correction unit 1.
144, and the process proceeds to step S18. If not performed, the switch 141 is set to 0 and the switch 142
Is set to 1 to bypass the dark current correction unit 114 and directly output image data to the screen correlation extraction unit 112,
Proceed to step S19.

【0108】ステップS40における暗電流補正の実行
の有無を決める動作の一例について、図12のフローチ
ャートを参照して説明する。
An example of the operation for determining whether or not to execute the dark current correction in step S40 will be described with reference to the flowchart in FIG.

【0109】ステップS41で、カメラの動作モードが
連写か単写かを判断し、連写であれば暗電流補正処理を
行うと判断する(ステップS44)。カメラ動作モード
が単写であるならば、ステップS42で、撮像部101
での電荷蓄積時間が予め決めておいた時間Tと比較して
長いか短いかを判定し、長い時には暗電流補正処理を行
うと判断する(ステップS44)。一方、短い時には、
ステップS43で、現在の撮像部101あるいは撮像部
101近傍の温度を不図示の温度計により測定し、その
結果と予め決めておいた温度Tempとを比較して高い
か低いかを判定し、高ければ暗電流補正処理を行うと判
断し(ステップS44)、低ければ行わないと判断する
(ステップS45)。
In step S41, it is determined whether the operation mode of the camera is continuous shooting or single shooting. If continuous shooting, it is determined that dark current correction processing is to be performed (step S44). If the camera operation mode is single shooting, in step S42, the imaging unit 101
It is determined whether the charge accumulation time is longer or shorter than a predetermined time T, and if it is longer, it is determined that the dark current correction process is to be performed (step S44). On the other hand, when it is short,
In step S43, the current temperature of the imaging unit 101 or the vicinity of the imaging unit 101 is measured by a thermometer (not shown), and the result is compared with a predetermined temperature Temp to determine whether the temperature is high or low. If it is determined that the dark current correction processing is to be performed (step S44), it is determined that the correction is not to be performed if it is low (step S45).

【0110】蓄積時間が短いとき、あるいは撮像部の温
度が低く、複数の光電変換素子の個々の暗電流出力の差
が比較的小さいときには、暗電流補正の補正効果に比較
して、処理時間や消費電流などのマイナス作用の影響が
大きくなる。特に連続撮影モードでカメラを動作させて
いるときには、撮影間隔が広がってしまう。従って、上
記要因に応じて画面相関抽出を行う画像データへの暗電
流補正処理の有無を選択的に行うことで、最適な処理を
行うことができる。
When the accumulation time is short, or when the temperature of the imaging unit is low and the difference between the individual dark current outputs of the plurality of photoelectric conversion elements is relatively small, the processing time and the correction time are compared with the correction effect of the dark current correction. The effect of negative effects such as current consumption increases. In particular, when the camera is operated in the continuous shooting mode, the shooting interval increases. Therefore, optimal processing can be performed by selectively performing or not performing the dark current correction processing on the image data on which the screen correlation extraction is performed in accordance with the above factors.

【0111】[0111]

【他の実施形態】上記第1乃至第3の実施形態において
は、図3の右画面の画像データに左画面の画像データの
レベルを合わせるように補正する場合について説明した
が、左画面の画像データに右画面の画像データのレベル
を合わせるようにしても、また、中間のレベルに合わせ
るように左右両画面の画像データを合わせるようにして
も良い。これらの動作は、画面相関抽出部112により
得られる相関値に基づく補正値を変更すれば容易に実施
可能である。
[Other Embodiments] In the first to third embodiments, a case has been described in which the correction is performed so that the level of the image data of the left screen is matched with the image data of the right screen in FIG. The level of the image data of the right screen may be adjusted to the data, or the image data of the left and right screens may be adjusted to match the intermediate level. These operations can be easily performed by changing the correction value based on the correlation value obtained by the screen correlation extraction unit 112.

【0112】また、本発明は上記実施の形態で説明した
構成に限られるものではなく、例えば、入力される信号
がRGBなる色成分や輝度成分、色差成分でなくても良
く、また撮像素子がCCD撮像素子でなくてもよい。ま
た、撮影された1画面が2つより大きい画像ブロックで
あっても良く、また、画面マッチングの方法が統計的処
理など、上記実施の形態で示した内容とは異なっていて
も、本発明の機能が達成できる構成であれば良いことは
言うまでもない。
The present invention is not limited to the configuration described in the above embodiment. For example, the input signal does not have to be an RGB color component, a luminance component, or a color difference component. It does not need to be a CCD image sensor. In addition, even if one captured screen may be an image block larger than two, and the method of screen matching is different from that described in the above embodiment such as statistical processing, the present invention It goes without saying that a configuration that can achieve the function is sufficient.

【0113】また、本発明は、デジタルカメラに限ら
ず、カメラ以外の光学機器や他の装置など2次元に配設
された光電変換素子により撮像されて得られた画像信号
を処理して、最終的に例えばモニタやプリンタ等の出力
装置へ画像として出力するものであれば適用できる。
Further, the present invention is not limited to a digital camera, but also processes an image signal obtained by image pickup by a two-dimensionally arranged photoelectric conversion element such as an optical device other than a camera or another device, and performs final processing. For example, any apparatus that outputs an image to an output device such as a monitor or a printer can be applied.

【0114】また、上記実施の形態では、エリアセンサ
により得られる画像信号を、複数の出力系(HCCD、
アンプ等)を介して所定領域毎に別々に読み出す場合に
ついて説明したが、本発明はこれに限られるものではな
く、例えば、撮影領域をずらして複数枚の画像を撮影し
たり、複数のエリアセンサを用いて複数の画像を撮影
し、得られた複数の画像を合成することでより広い被写
体領域の画像を得る場合など、所定領域毎に出力される
画像信号を合成して1枚の画像を取得する様々な場合に
適用することが可能である。
In the above embodiment, the image signal obtained by the area sensor is output to a plurality of output systems (HCCD,
Although the case of separately reading out each predetermined area via an amplifier or the like has been described, the present invention is not limited to this. For example, a plurality of images may be shot by shifting the shooting area, or a plurality of area sensors may be read. In the case where a plurality of images are photographed by using and the obtained plurality of images are combined to obtain an image of a wider subject area, an image signal output for each predetermined area is combined to form one image. It can be applied to various cases of acquisition.

【0115】また、本発明は、複数の機器(例えばホス
トコンピュータ、インターフェイス機器、スキャナ、カ
メラヘッドなど)から構成されるシステムに適用して
も、一つの機器からなる装置(例えば、デジタルカメ
ラ、ビデオカメラなど)に適用してもよい。
Further, even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a scanner, a camera head, etc.), a device including one device (for example, a digital camera, a video camera, Camera).

【0116】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体(または記録媒体)を、システムあるい
は装置に供給し、そのシステムあるいは装置のコンピュ
ータ(またはCPUやMPU)が記憶媒体に格納された
プログラムコードを読み出し実行することによっても、
達成されることは言うまでもない。この場合、記憶媒体
から読み出されたプログラムコード自体が前述した実施
形態の機能を実現することになり、そのプログラムコー
ドを記憶した記憶媒体は本発明を構成することになる。
また、コンピュータが読み出したプログラムコードを実
行することにより、前述した実施形態の機能が実現され
るだけでなく、そのプログラムコードの指示に基づき、
コンピュータ上で稼働しているオペレーティングシステ
ム(OS)などが実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。ここでプログラ
ムコードを記憶する記憶媒体としては、例えば、フロッ
ピー(登録商標)ディスク、ハードディスク、ROM、
RAM、磁気テープ、不揮発性のメモリカード、CD−
ROM、CD−R、DVD、光ディスク、光磁気ディス
ク、MOなどが考えられる。
Further, an object of the present invention is to supply a storage medium (or a recording medium) in which a program code of software for realizing the functions of the above-described embodiments is recorded to a system or an apparatus, and to provide a computer (a computer) of the system or the apparatus. Or CPU and MPU) read and execute the program code stored in the storage medium,
It goes without saying that this is achieved. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
In addition, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also based on the instructions of the program code,
The operating system (OS) running on the computer performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is realized by the processing is also included. Here, as a storage medium for storing the program code, for example, a floppy (registered trademark) disk, a hard disk, a ROM,
RAM, magnetic tape, nonvolatile memory card, CD-
ROMs, CD-Rs, DVDs, optical disks, magneto-optical disks, MOs, and the like are conceivable.

【0117】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the program code is read based on the instruction of the program code. , The CPU provided in the function expansion card or the function expansion unit performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is realized by the processing is also included.

【0118】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明した図7、図9または図11
に示すフローチャートに対応するプログラムコードが格
納されることになる。
When the present invention is applied to the above-mentioned storage medium, the storage medium includes the above-described FIG. 7, FIG. 9 or FIG.
The program code corresponding to the flowchart shown in FIG.

【0119】[0119]

【発明の効果】以上説明したように本発明によれば、複
数のブロックからなる画像データにおいて境界面で発生
する濃度のずれを補正し、違和感のない自然な画像を必
要最小限の機能構成により実現することができる。
As described above, according to the present invention, the density deviation occurring at the boundary surface in the image data composed of a plurality of blocks is corrected, and a natural image without a sense of incongruity is obtained by the minimum necessary functional configuration. Can be realized.

【0120】また、撮像素子の高画素化への対応を可能
とすることができる。
Further, it is possible to cope with an increase in the number of pixels of the image sensor.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施形態における撮像装置の構
成を示す概略ブロック図である。
FIG. 1 is a schematic block diagram illustrating a configuration of an imaging device according to a first embodiment of the present invention.

【図2】本発明の第1の実施形態における画像処理部か
らの出力データの概念を示す図である。
FIG. 2 is a diagram illustrating a concept of output data from an image processing unit according to the first embodiment of the present invention.

【図3】図1に示す撮像部の構成を示す図である。FIG. 3 is a diagram illustrating a configuration of an imaging unit illustrated in FIG. 1;

【図4】本発明の第1の実施形態の撮像装置のファイン
ダーを覗いた様子を示す図である。
FIG. 4 is a diagram illustrating a state in which the user looks through a finder of the imaging apparatus according to the first embodiment of the present invention.

【図5】図1の撮像部に含まれている撮像素子の受光部
を説明する図である。
FIG. 5 is a diagram illustrating a light receiving unit of an imaging device included in the imaging unit of FIG.

【図6】本発明の第1の実施形態における補正処理を説
明するための図である。
FIG. 6 is a diagram illustrating a correction process according to the first embodiment of the present invention.

【図7】本発明の第1の実施形態における原画処理部の
処理手順を示すフローチャートである。
FIG. 7 is a flowchart illustrating a processing procedure of an original image processing unit according to the first embodiment of the present invention.

【図8】本発明の第2の実施形態における撮像装置の構
成を示す概略ブロック図である。
FIG. 8 is a schematic block diagram illustrating a configuration of an imaging device according to a second embodiment of the present invention.

【図9】本発明の第2の実施形態における原画処理部の
処理手順を示すフローチャートである。
FIG. 9 is a flowchart illustrating a processing procedure of an original image processing unit according to the second embodiment of the present invention.

【図10】本発明の第3の実施形態における撮像装置の
構成を示す概略ブロック図である。
FIG. 10 is a schematic block diagram illustrating a configuration of an imaging device according to a third embodiment of the present invention.

【図11】本発明の第3の実施形態における原画処理部
の処理手順を示すフローチャートである。
FIG. 11 is a flowchart illustrating a processing procedure of an original image processing unit according to the third embodiment of the present invention.

【図12】本発明の第3の実施形態における暗電流補正
の実行の有無を決める動作を示すフローチャートであ
る。
FIG. 12 is a flowchart illustrating an operation of determining whether or not to execute dark current correction according to the third embodiment of the present invention.

【図13】従来の撮像素子の構成例を示す図である。FIG. 13 is a diagram illustrating a configuration example of a conventional image sensor.

【図14】従来の別の撮像素子の構成例を示す図であ
る。
FIG. 14 is a diagram illustrating a configuration example of another conventional imaging element.

【符号の説明】[Explanation of symbols]

101 撮像部 103 記憶部 104 画像処理部 105 マイコンPRS 110、110’、110” 原画処理部 111 OBクランプ部 112 画面相関抽出部 113 メモリコントロール部 114 暗電流補正部 116 画面マッチング部 117 シェーディング補正部 118 傷補正部 120 表示処理部 121 表示用メモリ 122 表示部 125 JPEG圧縮部 130 記憶装置 141 スイッチ 101 imaging unit 103 storage unit 104 image processing unit 105 microcomputer PRS 110, 110 ', 110 "original image processing unit 111 OB clamp unit 112 screen correlation extraction unit 113 memory control unit 114 dark current correction unit 116 screen matching unit 117 shading correction unit 118 Scratch correction unit 120 Display processing unit 121 Display memory 122 Display unit 125 JPEG compression unit 130 Storage device 141 Switch

Claims (31)

【特許請求の範囲】[Claims] 【請求項1】 複数の光電変換素子を有し、前記複数の
光電変換素子により被写体光学像を光電変換して得られ
る画素信号を、被写体画像の複数の領域毎に出力する撮
像手段から入力する画素信号の処理を行う画像処理装置
であって、 前記複数の光電変換素子の特性に起因する画素信号の差
を補正する第1の補正手段と、 前記第1の補正手段により補正された画素信号に基づい
て、前記複数の領域毎に出力される画素信号間の相関値
を取得する相関値取得手段と、 前記相関値取得手段により取得した相関値に基づいて、
前記第1の補正手段により補正された画素信号を補正す
る第2の補正手段とを有することを特徴とする画像処理
装置。
1. An image pickup apparatus comprising: a plurality of photoelectric conversion elements; and a pixel signal obtained by photoelectrically converting a subject optical image by the plurality of photoelectric conversion elements is input from an imaging unit for outputting a plurality of areas for each of a plurality of regions of a subject image. An image processing apparatus for processing a pixel signal, comprising: a first correction unit configured to correct a difference between pixel signals caused by characteristics of the plurality of photoelectric conversion elements; and a pixel signal corrected by the first correction unit. A correlation value acquisition unit that acquires a correlation value between pixel signals output for each of the plurality of regions, based on the correlation value acquired by the correlation value acquisition unit,
An image processing apparatus comprising: a second correction unit configured to correct the pixel signal corrected by the first correction unit.
【請求項2】 前記第1の補正手段は、暗電流補正処理
を行うことを特徴とする請求項1に記載の画像処理装
置。
2. The image processing apparatus according to claim 1, wherein the first correction unit performs a dark current correction process.
【請求項3】 前記第2の補正手段は、前記複数の領域
のいずれかから出力される画素信号のレベルに合致する
ように、その他の領域から出力される画素信号のレベル
を補正することを特徴とする請求項1または2に記載の
画像処理装置。
3. The method according to claim 2, wherein the second correction unit corrects a level of a pixel signal output from another area so as to match a level of the pixel signal output from one of the plurality of areas. The image processing apparatus according to claim 1, wherein:
【請求項4】 前記第2の補正手段は、前記複数の領域
毎に出力される画素信号のレベルの中間の値となるよう
に、前記画素信号のレベルを補正することを特徴とする
請求項1または2に記載の画像処理装置。
4. The apparatus according to claim 1, wherein the second correction unit corrects the level of the pixel signal so that the level of the pixel signal becomes an intermediate value between the levels of the pixel signals output for each of the plurality of regions. 3. The image processing device according to 1 or 2.
【請求項5】 前記相関値取得手段は、前記光電変換素
子により得られる画素信号の内、前記複数の領域間の境
界近辺の画素信号に基づいて相関値を取得することを特
徴とする請求項1乃至4のいずれかに記載の画像処理装
置。
5. The correlation value acquiring unit acquires a correlation value based on a pixel signal near a boundary between the plurality of regions among pixel signals obtained by the photoelectric conversion element. An image processing apparatus according to any one of claims 1 to 4.
【請求項6】 記憶手段と、 前記第1の補正手段により前記撮像手段から出力される
1フレーム分の画素信号を補正し、該補正された画素信
号を前記記憶手段に格納すると共に前記相関値取得手段
に出力し、前記記憶手段に格納された前記補正済みの画
素信号に対して前記第2の補正手段により補正を行うよ
うに制御する制御手段とを更に有することを特徴とする
請求項1乃至5のいずれかに記載の画像処理装置。
6. A storage unit, wherein the first correction unit corrects a pixel signal for one frame output from the imaging unit, and stores the corrected pixel signal in the storage unit and the correlation value. 2. The control device according to claim 1, further comprising a control unit that controls the correction unit to output the corrected pixel signal stored in the storage unit to the acquired pixel signal by the second correction unit. The image processing apparatus according to any one of claims 1 to 5,
【請求項7】 前記撮像手段から出力される画素信号を
少なくとも1フレーム分記憶する記憶手段と、 前記記憶手段に記憶された1フレーム分の画素信号の
内、前記第1の補正手段により前記複数の領域間の境界
近辺の画素信号を補正し、該補正された画素信号を前記
相関値取得手段に出力し、前記第1の補正手段により前
記撮像手段から出力される1フレーム分の画素信号を補
正し、該補正された画素信号に対して前記第2の補正手
段による補正を行うように制御する制御手段とを更に有
することを特徴とする請求項1乃至5のいずれかに記載
の画像処理装置。
7. A storage means for storing at least one frame of pixel signals output from the image pickup means, and the plurality of pixel signals of one frame stored in the storage means are provided by the first correction means. The pixel signal near the boundary between the regions is corrected, the corrected pixel signal is output to the correlation value acquisition unit, and the pixel signal for one frame output from the imaging unit by the first correction unit is output. 6. The image processing apparatus according to claim 1, further comprising control means for performing correction and performing control so that the corrected pixel signal is corrected by the second correction means. apparatus.
【請求項8】 前記第1の補正手段の使用の有無を切り
換える切り換え手段を更に有し、 前記切り換え手段により前記第1の補正手段を不使用に
切り換えた場合に、前記相関値取得手段及び前記第2の
補正手段は、前記撮像手段から入力する画素信号を用い
て処理を行うことを特徴とする請求項1乃至7のいずれ
かに記載の画像処理装置。
8. The apparatus according to claim 1, further comprising: a switching unit configured to switch whether or not the first correction unit is used. When the switching unit switches the first correction unit to non-use, the correlation value acquisition unit and the correlation value acquisition unit are connected to each other. The image processing apparatus according to claim 1, wherein the second correction unit performs processing using a pixel signal input from the imaging unit.
【請求項9】 前記切り換え手段は、カメラのモード及
び撮影時の周囲温度の少なくともいずれか一方に基づい
て前記第1の補正手段の使用の有無を切り換えることを
特徴とする請求項8に記載の画像処理装置。
9. The apparatus according to claim 8, wherein the switching unit switches whether to use the first correction unit based on at least one of a camera mode and an ambient temperature at the time of shooting. Image processing device.
【請求項10】 シェーディング補正手段と、 傷補正手段とを更に有し、 前記シェーディング補正手段及び前記傷補正手段は、前
記第2の補正手段による補正後の電気信号に対して処理
を行うことを特徴とする請求項1乃至9のいずれかに記
載の画像処理装置。
10. A shading correction unit and a flaw correction unit, wherein the shading correction unit and the flaw correction unit perform processing on the electric signal corrected by the second correction unit. The image processing apparatus according to claim 1, wherein:
【請求項11】 複数の光電変換素子を有し、前記複数
の光電変換素子により被写体光学像を光電変換して得ら
れる画素信号を、被写体画像の複数の領域毎に出力する
撮像手段と、 請求項1乃至10のいずれかに記載の画像処理装置とを
有することを特徴とする撮像装置。
11. An imaging unit having a plurality of photoelectric conversion elements, and outputting a pixel signal obtained by photoelectrically converting a subject optical image by the plurality of photoelectric conversion elements for each of a plurality of regions of a subject image. An imaging device comprising: the image processing device according to any one of Items 1 to 10.
【請求項12】 前記撮像手段は、予め決められた前記
光電変換素子の複数の領域にそれぞれ対応する複数の出
力系を介して出力することを特徴とする請求項11に記
載の撮像装置。
12. The image pickup apparatus according to claim 11, wherein the image pickup means outputs the signal through a plurality of output systems respectively corresponding to a plurality of predetermined regions of the photoelectric conversion element.
【請求項13】 複数の光電変換素子を有し、前記複数
の光電変換素子により被写体光学像を光電変換して得ら
れる画素信号を、被写体画像の複数の領域毎に出力する
撮像手段から入力する画素信号の処理を行う画像処理方
法であって、 前記複数の光電変換素子の特性に起因する画素信号の差
を補正する第1の補正工程と、 前記第1の補正工程で補正された画素信号に基づいて、
前記複数の領域毎に出力される画素信号間の相関値を取
得する相関値取得工程と、 前記相関値取得工程により取得した相関値に基づいて、
前記第1の補正工程で補正された画素信号を補正する第
2の補正工程とを有することを特徴とする画像処理方
法。
13. A plurality of photoelectric conversion elements, and a pixel signal obtained by photoelectrically converting a subject optical image by the plurality of photoelectric conversion elements is input from an imaging unit that outputs a plurality of regions of a subject image for each of a plurality of regions. An image processing method for processing a pixel signal, comprising: a first correction step of correcting a difference between pixel signals caused by characteristics of the plurality of photoelectric conversion elements; and a pixel signal corrected in the first correction step. On the basis of the,
A correlation value acquisition step of acquiring a correlation value between pixel signals output for each of the plurality of regions, based on the correlation value acquired by the correlation value acquisition step,
A second correction step of correcting the pixel signal corrected in the first correction step.
【請求項14】 前記第1の補正工程では、暗電流補正
処理を行うことを特徴とする請求項13に記載の画像処
理方法。
14. The image processing method according to claim 13, wherein a dark current correction process is performed in the first correction step.
【請求項15】 前記第2の補正工程では、前記複数の
領域のいずれかから出力される画素信号のレベルに合致
するように、その他の領域から出力される画素信号のレ
ベルを補正することを特徴とする請求項13または14
に記載の画像処理方法。
15. In the second correction step, the level of a pixel signal output from another area is corrected so as to match the level of a pixel signal output from one of the plurality of areas. A feature according to claim 13 or claim 14.
The image processing method according to 1.
【請求項16】 前記第2の補正工程では、前記複数の
領域毎に出力される画素信号のレベルの中間の値となる
ように、前記画素信号のレベルを補正することを特徴と
する請求項13または14に記載の画像処理方法。
16. The method according to claim 16, wherein in the second correcting step, the level of the pixel signal is corrected so that the level of the pixel signal becomes an intermediate value between the levels of the pixel signals output for each of the plurality of regions. 15. The image processing method according to 13 or 14.
【請求項17】 前記相関値取得工程では、前記光電変
換素子により得られる画素信号の内、前記複数の領域間
の境界近辺の画素信号に基づいて相関値を取得すること
を特徴とする請求項13乃至16のいずれかに記載の画
像処理方法。
17. The correlation value acquiring step, wherein a correlation value is acquired based on a pixel signal near a boundary between the plurality of regions among pixel signals obtained by the photoelectric conversion element. 17. The image processing method according to any one of 13 to 16.
【請求項18】 前記第1の補正工程では前記撮像手段
から出力される1フレーム分の画素信号を補正すること
を特徴とする請求項13乃至17のいずれかに記載の画
像処理方法。
18. The image processing method according to claim 13, wherein in the first correction step, a pixel signal for one frame output from the imaging unit is corrected.
【請求項19】 前記第1の補正工程を行うか否かを切
り換える切り換え工程を更に有し、 前記切り換え工程の切り換えにより前記第1の補正工程
を行わない場合に、前記相関値取得工程及び前記第2の
補正工程では、前記撮像手段から入力する画素信号を用
いて処理を行うことを特徴とする請求項13乃至18の
いずれかに記載の画像処理方法。
19. The method according to claim 19, further comprising: a switching step of switching whether or not to perform the first correction step. When the first correction step is not performed due to the switching of the switching step, the correlation value acquisition step and the 19. The image processing method according to claim 13, wherein in the second correction step, processing is performed using a pixel signal input from the imaging unit.
【請求項20】 前記切り換え工程では、カメラのモー
ド及び撮影時の周囲温度の少なくともいずれか一方に基
づいて前記第1の補正工程を行うか否かを切り換えるこ
とを特徴とする請求項19に記載の画像処理方法。
20. The apparatus according to claim 19, wherein in the switching step, whether or not to perform the first correction step is switched based on at least one of a camera mode and an ambient temperature at the time of shooting. Image processing method.
【請求項21】 シェーディング補正工程と、 傷補正工程とを更に有し、 前記シェーディング補正工程及び前記傷補正工程では、
前記第2の補正工程による補正後の電気信号に対して処
理を行うことを特徴とする請求項13乃至20のいずれ
かに記載の画像処理方法。
21. A shading correction step and a flaw correction step, wherein the shading correction step and the flaw correction step include:
21. The image processing method according to claim 13, wherein processing is performed on the electric signal after the correction in the second correction step.
【請求項22】 複数の光電変換素子を有し、前記複数
の光電変換素子により被写体光学像を光電変換して得ら
れる画素信号を、被写体画像の複数の領域毎に出力する
撮像手段から入力する画素信号の処理を行う画像処理方
法であって、 前記撮像手段から出力される画素信号を少なくとも1フ
レーム分記憶する記憶工程と、 前記記憶工程で記憶された1フレーム分の画素信号の
内、前記第1の補正手段により前記複数の領域間の境界
近辺の画素信号について、前記複数の光電変換素子の特
性に起因する画素信号の差を補正する第1の補正工程
と、 前記第1の補正工程で補正された画素信号に基づいて、
前記複数の領域毎に出力される画素信号間の相関値を取
得する相関値取得工程と、 前記記憶工程で記憶された1フレーム分の画素信号につ
いて、前記複数の光電変換素子の特性に起因する画素信
号の差を補正する第2の補正工程と、 前記相関値取得工程により取得した相関値に基づいて、
前記第2の補正工程で補正された画素信号を補正する第
3の補正工程とを有することを特徴とする画像処理方
法。
22. A pixel signal which has a plurality of photoelectric conversion elements and is obtained by photoelectrically converting a subject optical image by the plurality of photoelectric conversion elements is input from an image pickup means which outputs each of a plurality of regions of a subject image. An image processing method for processing a pixel signal, comprising: a storage step of storing at least one frame of a pixel signal output from the imaging unit; and a pixel signal of one frame stored in the storage step, A first correction unit that corrects a difference between pixel signals due to characteristics of the plurality of photoelectric conversion elements for a pixel signal near a boundary between the plurality of regions by a first correction unit; and the first correction step. Based on the pixel signal corrected in
A correlation value obtaining step of obtaining a correlation value between pixel signals output for each of the plurality of regions; and a pixel signal for one frame stored in the storage step, which is caused by characteristics of the plurality of photoelectric conversion elements. A second correction step of correcting the difference between the pixel signals, based on the correlation value obtained in the correlation value obtaining step,
A third correction step of correcting the pixel signal corrected in the second correction step.
【請求項23】 前記第1及び第2の補正工程では、暗
電流補正処理を行うことを特徴とする請求項22に記載
の画像処理方法。
23. The image processing method according to claim 22, wherein in the first and second correction steps, a dark current correction process is performed.
【請求項24】 前記第3の補正工程では、前記複数の
領域のいずれかから出力される画素信号のレベルに合致
するように、その他の領域から出力される画素信号のレ
ベルを補正することを特徴とする請求項22または23
に記載の画像処理方法。
24. In the third correction step, the level of a pixel signal output from another area is corrected so as to match the level of a pixel signal output from one of the plurality of areas. 24. The method according to claim 22, wherein
The image processing method according to 1.
【請求項25】 前記第3の補正工程では、前記複数の
領域毎に出力される画素信号のレベルの中間の値となる
ように、前記画素信号のレベルを補正することを特徴と
する請求項22または23に記載の画像処理方法。
25. The third correction step, wherein the level of the pixel signal is corrected so as to have an intermediate value between the levels of the pixel signals output for each of the plurality of regions. 24. The image processing method according to 22 or 23.
【請求項26】 前記第1及び第2の補正工程を行うか
否かを切り換える切り換え工程を更に有し、 前記切り換え工程の切り換えにより前記第1及び第2の
補正工程を行わない場合に、前記相関値取得工程及び前
記第3の補正工程では、前記記憶工程で記憶された画素
信号を用いて処理を行うことを特徴とする請求項22乃
至25のいずれかに記載の画像処理方法。
26. The apparatus according to claim 26, further comprising: a switching step of switching whether or not to perform the first and second correction steps. When the switching of the switching step does not perform the first and second correction steps, 26. The image processing method according to claim 22, wherein in the correlation value obtaining step and the third correction step, processing is performed using the pixel signals stored in the storage step.
【請求項27】 前記切り換え工程では、カメラのモー
ド及び撮影時の周囲温度の少なくともいずれか一方に基
づいて前記第1及び第2の補正工程を行うか否かを切り
換えることを特徴とする請求項26に記載の画像処理方
法。
27. The method according to claim 27, wherein, in the switching step, whether to perform the first and second correction steps is switched based on at least one of a camera mode and an ambient temperature at the time of shooting. 27. The image processing method according to 26.
【請求項28】 シェーディング補正工程と、 傷補正工程とを更に有し、 前記シェーディング補正工程及び前記傷補正工程では、
前記第3の補正工程による補正後の電気信号に対して処
理を行うことを特徴とする請求項22乃至27のいずれ
かに記載の画像処理方法。
28. The method further comprising: a shading correction step; and a flaw correction step, wherein the shading correction step and the flaw correction step include:
28. The image processing method according to claim 22, wherein processing is performed on the electrical signal after the correction in the third correction step.
【請求項29】 情報処理装置が実行可能なプログラム
であって、前記プログラムを実行した情報処理装置を、
請求項1乃至10のいずれかに記載の画像処理装置とし
て機能させることを特徴とするプログラム。
29. A program executable by the information processing device, the information processing device executing the program being:
A non-transitory computer-readable storage medium storing a program that functions as the image processing apparatus according to claim 1.
【請求項30】 請求項13乃至28のいずれかに記載
の画像処理方法を実現するためのプログラムコードを有
する情報処理装置が実行可能なプログラム。
30. A program executable by an information processing apparatus having a program code for realizing the image processing method according to claim 13.
【請求項31】 請求項29又は30に記載のプログラ
ムを記憶した記憶媒体。
31. A storage medium storing the program according to claim 29.
JP2001136557A 2001-03-29 2001-05-07 Imaging apparatus and image processing method Expired - Fee Related JP4817529B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2001136557A JP4817529B2 (en) 2001-05-07 2001-05-07 Imaging apparatus and image processing method
US10/105,743 US7050098B2 (en) 2001-03-29 2002-03-25 Signal processing apparatus and method, and image sensing apparatus having a plurality of image sensing regions per image frame
EP02007148A EP1246453A3 (en) 2001-03-29 2002-03-28 Signal processing apparatus and method, and image sensing apparatus
CN021087156A CN1217533C (en) 2001-03-29 2002-03-29 Signal processing equipment and method and image sensing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001136557A JP4817529B2 (en) 2001-05-07 2001-05-07 Imaging apparatus and image processing method

Publications (3)

Publication Number Publication Date
JP2002335454A true JP2002335454A (en) 2002-11-22
JP2002335454A5 JP2002335454A5 (en) 2008-07-24
JP4817529B2 JP4817529B2 (en) 2011-11-16

Family

ID=18983813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001136557A Expired - Fee Related JP4817529B2 (en) 2001-03-29 2001-05-07 Imaging apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP4817529B2 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006287914A (en) * 2005-03-07 2006-10-19 Fuji Photo Film Co Ltd Solid-state image pickup apparatus, image input apparatus, and image correcting method therefor
JP2007018458A (en) * 2005-07-11 2007-01-25 Sony Corp Display unit, sensor signal correction method, and imaging unit
JP2007259135A (en) * 2006-03-23 2007-10-04 Fujifilm Corp Imaging apparatus and method of driving same
JP2007318635A (en) * 2006-05-29 2007-12-06 Fujifilm Corp Imaging apparatus, imaging method
US7463294B2 (en) 2003-05-23 2008-12-09 Nikon Corporation Signal processing unit for correcting shading of image signal, and electronic camera
WO2011125312A1 (en) * 2010-04-01 2011-10-13 株式会社 東芝 Radiological image detector and driving method thereof
JP2013029995A (en) * 2011-07-28 2013-02-07 Clarion Co Ltd Imaging system
WO2013084577A1 (en) 2011-12-07 2013-06-13 凸版印刷株式会社 Liquid crystal display device
JP2013162497A (en) * 2012-02-08 2013-08-19 Pentax Ricoh Imaging Co Ltd Dark exposure control device
WO2014103418A1 (en) 2012-12-27 2014-07-03 凸版印刷株式会社 Liquid crystal display device, color filter substrate, and color filter substrate production method
WO2014115367A1 (en) 2013-01-25 2014-07-31 凸版印刷株式会社 Color filter substrate, liquid-crystal display device, and method for manufacturing color filter substrate
CN115278124A (en) * 2022-08-08 2022-11-01 天津大学 Method and device for suppressing dark current distribution nonuniformity

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11112884A (en) * 1997-10-06 1999-04-23 Nec Corp Method for correcting dark current of video camera device and video camera device using the method
JP2000184269A (en) * 1998-12-11 2000-06-30 Canon Inc Image pickup device, control method for the image pickup device and recoding medium
JP2001094886A (en) * 1999-09-20 2001-04-06 Canon Inc Image pickup device, method for controlling image pickup device and storage medium
JP2002252808A (en) * 2001-02-23 2002-09-06 Sony Corp Image signal processor of image sensor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11112884A (en) * 1997-10-06 1999-04-23 Nec Corp Method for correcting dark current of video camera device and video camera device using the method
JP2000184269A (en) * 1998-12-11 2000-06-30 Canon Inc Image pickup device, control method for the image pickup device and recoding medium
JP2001094886A (en) * 1999-09-20 2001-04-06 Canon Inc Image pickup device, method for controlling image pickup device and storage medium
JP2002252808A (en) * 2001-02-23 2002-09-06 Sony Corp Image signal processor of image sensor

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7463294B2 (en) 2003-05-23 2008-12-09 Nikon Corporation Signal processing unit for correcting shading of image signal, and electronic camera
JP2006287914A (en) * 2005-03-07 2006-10-19 Fuji Photo Film Co Ltd Solid-state image pickup apparatus, image input apparatus, and image correcting method therefor
JP2007018458A (en) * 2005-07-11 2007-01-25 Sony Corp Display unit, sensor signal correction method, and imaging unit
JP2007259135A (en) * 2006-03-23 2007-10-04 Fujifilm Corp Imaging apparatus and method of driving same
JP2007318635A (en) * 2006-05-29 2007-12-06 Fujifilm Corp Imaging apparatus, imaging method
JPWO2011125312A1 (en) * 2010-04-01 2013-07-08 株式会社東芝 Radiation image detector and driving method thereof
WO2011125312A1 (en) * 2010-04-01 2011-10-13 株式会社 東芝 Radiological image detector and driving method thereof
JP2013029995A (en) * 2011-07-28 2013-02-07 Clarion Co Ltd Imaging system
WO2013084577A1 (en) 2011-12-07 2013-06-13 凸版印刷株式会社 Liquid crystal display device
US9547191B2 (en) 2011-12-07 2017-01-17 Toppan Printing Co., Ltd. Liquid crystal display
JP2013162497A (en) * 2012-02-08 2013-08-19 Pentax Ricoh Imaging Co Ltd Dark exposure control device
WO2014103418A1 (en) 2012-12-27 2014-07-03 凸版印刷株式会社 Liquid crystal display device, color filter substrate, and color filter substrate production method
KR20150099751A (en) 2012-12-27 2015-09-01 도판 인사츠 가부시키가이샤 Liquid crystal display device, color filter substrate, and color filter substrate production method
US9798183B2 (en) 2012-12-27 2017-10-24 Toppan Printing Co., Ltd. Liquid crystal display device, color filter substrate, and method for producing color filter substrate
WO2014115367A1 (en) 2013-01-25 2014-07-31 凸版印刷株式会社 Color filter substrate, liquid-crystal display device, and method for manufacturing color filter substrate
KR20150109342A (en) 2013-01-25 2015-10-01 도판 인사츠 가부시키가이샤 Color filter substrate, liquid-crystal display device, and method for manufacturing color filter substrate
US9753323B2 (en) 2013-01-25 2017-09-05 Toppan Printing Co., Ltd. Color filter substrate, liquid crystal display device, and method for manufacturing color filter substrate
CN115278124A (en) * 2022-08-08 2022-11-01 天津大学 Method and device for suppressing dark current distribution nonuniformity

Also Published As

Publication number Publication date
JP4817529B2 (en) 2011-11-16

Similar Documents

Publication Publication Date Title
US7050098B2 (en) Signal processing apparatus and method, and image sensing apparatus having a plurality of image sensing regions per image frame
JP5108172B2 (en) Image data size conversion processing apparatus, electronic still camera, and image data size conversion processing recording medium
JP3980782B2 (en) Imaging control apparatus and imaging control method
JP4004346B2 (en) Imaging apparatus and distortion correction method
JP2000244823A (en) Device for concealing defective pixel of imaging device
JP4817529B2 (en) Imaging apparatus and image processing method
JP2004328117A (en) Digital camera and photographing control method
JP4616429B2 (en) Image processing device
JP2007243917A (en) Imaging apparatus and image processing program
US20010024234A1 (en) Digital camera
JP3980781B2 (en) Imaging apparatus and imaging method
JP4317117B2 (en) Solid-state imaging device and imaging method
JP3546853B2 (en) Imaging device and image reproduction system
JP2004023683A (en) Defect correction apparatus and method for solid-state imaging device
JP2004007133A (en) Image pickup device
JP4279562B2 (en) Control method for solid-state imaging device
JP2005217955A (en) Imaging device, its control method, program, and storage medium
JPH1169226A (en) Electronic camera
JPH07123421A (en) Image pickup device
JP3738654B2 (en) Digital camera
JP2006041867A (en) Image processing method and image processor, imaging apparatus, and timing controller
JP2007228152A (en) Solid-state image pick up device and method
JP4449692B2 (en) Electronic camera
JP2008219803A (en) Image signal correction method and imaging apparatus
JP3999417B2 (en) Solid-state imaging device and signal readout method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080502

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080502

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080606

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080611

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100820

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100827

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101022

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110428

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110624

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

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

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

Free format text: PAYMENT UNTIL: 20140909

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140909

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees