JP2005142829A - Image data corrector, image processor, image data correcting method, control program, and memory medium - Google Patents

Image data corrector, image processor, image data correcting method, control program, and memory medium Download PDF

Info

Publication number
JP2005142829A
JP2005142829A JP2003377091A JP2003377091A JP2005142829A JP 2005142829 A JP2005142829 A JP 2005142829A JP 2003377091 A JP2003377091 A JP 2003377091A JP 2003377091 A JP2003377091 A JP 2003377091A JP 2005142829 A JP2005142829 A JP 2005142829A
Authority
JP
Japan
Prior art keywords
image data
image
correction
dark
data
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
JP2003377091A
Other languages
Japanese (ja)
Other versions
JP4411053B2 (en
Inventor
Mineo Uchida
峰雄 内田
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 JP2003377091A priority Critical patent/JP4411053B2/en
Publication of JP2005142829A publication Critical patent/JP2005142829A/en
Application granted granted Critical
Publication of JP4411053B2 publication Critical patent/JP4411053B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image data corrector which exactly decides the conditions that the dark image photography is necessary in practice to possibly lessen the dark image photography causing a shutter release time lag and prevents the deterioration of the image quality. <P>SOLUTION: After finishing a photographing process, the dark output level (DL) is calculated from data corresponding to DL detection regions of an imaging element 14 (S121) and compared with a specified value DLt in S122, and, if DL is less than DLt, the step immediately proceeds to a developing process. In this case no dark fetching process (dark image photography) is made but the data fetched in S120 in the developing process are corrected according to horizontal dark shading correction data. If DL exceeds the specified value, noise components due to the dark current of the imaging element 14 with a shutter 12 closed are accumulated for the same time as a regular photography, and the dark fetching process for reading out noise image signals finished with the accumulation is executed (S123) and then proceeds to the developing process. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、撮像素子等で得られた画像データの補正を行う画像データ補正装置及び画像データ補正方法、前記画像データ補正装置を備えた電子カメラ等の画像処理装置、前記画像データ補正方法を実行するための制御プログラム、並びにこの制御プログラムを記憶する記憶媒体に関する。   The present invention executes an image data correction apparatus and an image data correction method for correcting image data obtained by an image sensor or the like, an image processing apparatus such as an electronic camera provided with the image data correction apparatus, and the image data correction method. And a storage medium for storing the control program.

従来、例えば、静止画像や動画像を撮像・記録・再生する撮像装置として、固体メモリ素子を有するメモリカードを記録媒体とし、CCD、CMOS等の固体撮像素子で撮像した静止画像や動画像を記録・再生する電子カメラ等の撮像装置が既に知られている。   Conventionally, for example, as an imaging device that captures, records, and plays back still images and moving images, a memory card having a solid-state memory element is used as a recording medium, and still images and moving images captured by a solid-state imaging element such as a CCD or CMOS are recorded. An imaging device such as an electronic camera for reproduction is already known.

この電子カメラでは、撮影モードを選択することにより、シャッターボタンを押す度に1駒ずつ撮影を行う単写撮影と、シャッターボタンを押し続けている間、連続して撮影を行う連写撮影とを切り替えることができる。   In this electronic camera, by selecting the shooting mode, single shot shooting is performed one frame at a time each time the shutter button is pressed, and continuous shooting is performed while continuously pressing the shutter button. Can be switched.

また、固体撮像素子を用いて撮像する場合、撮像素子を露光しない状態で本撮影と同様に電荷蓄積を行った後に読み出したダーク画像データと、撮像素子を露光した状態で電荷蓄積を行った後に読み出した本撮影画像データとを用いて演算処理することにより、ダークノイズ補正処理を行うことが可能である。これにより、撮像素子で発生する暗電流ノイズや撮像素子固有の微小なキズによる画素欠損等の画質劣化に対し、撮影した画像データを補正して高品位な画像を得ることができる。特に、暗電流ノイズは、電荷蓄積時間及び撮像素子の温度上昇に従って増大するので、長秒時の露光や高温時の露光を行う場合、大きな画質改善効果を得ることができ、電子カメラの使用者にとってダークノイズ補正処理は有益な機能となっている。   In addition, when imaging using a solid-state image sensor, the dark image data read after charge accumulation is performed in the same manner as in the main photographing without exposing the image sensor, and after charge accumulation is performed with the image sensor exposed. Dark noise correction processing can be performed by performing arithmetic processing using the read main image data. As a result, it is possible to obtain a high-quality image by correcting the captured image data against image quality degradation such as pixel current loss due to dark current noise generated in the image sensor and minute scratches inherent to the image sensor. In particular, since dark current noise increases with the charge accumulation time and the temperature rise of the image sensor, a large image quality improvement effect can be obtained when performing exposure at long seconds or exposure at high temperatures. For this, the dark noise correction processing is a useful function.

しかし、上記従来の電子カメラ等の撮像装置では、撮像素子を露光しない状態で電荷蓄積を行ってダーク画像データを得る撮影動作(以下、ダーク画像撮影と記す)を実行後に本撮影を行う場合、ダーク画像撮影の時間分だけシャッターレリーズタイムラグが大きくなり、貴重なシャッターチャンスを逃すおそれがあった。   However, in the imaging apparatus such as the above-described conventional electronic camera, in the case of performing the main shooting after executing the shooting operation (hereinafter referred to as dark image shooting) for obtaining the dark image data by accumulating the charge without exposing the image sensor, The shutter release time lag increased by the dark image shooting time, and there was a risk of missing a valuable photo opportunity.

一方、本撮影を行った後にダーク画像撮影を行う場合においては、シャッターレリーズタイムラグは小さくできるが、次の撮影への間隔がダーク画像撮影の時間分だけ大きくなり、シャッターレリーズ動作の即時性が損なわれるという問題があった。   On the other hand, when dark image shooting is performed after the actual shooting, the shutter release time lag can be reduced, but the interval to the next shooting is increased by the dark image shooting time, and the immediacy of the shutter release operation is impaired. There was a problem of being.

また、長秒時の露光や高温時の露光でないときの撮影条件、環境条件は全く考慮されていなかった。つまり、撮像素子で発生する暗電流ノイズや撮像素子固有の微小なキズによる画素欠損等の画質劣化以外に、回路系ノイズが存在するが、これに対する考慮がなされていなかった。ここで、回路系ノイズとは、センサ内の電源ラインの抵抗成分による電圧不均一や素子ばらつき等で発生するダークオフセットとしての固定パターンノイズである。   In addition, photographing conditions and environmental conditions when exposure was not performed at long seconds or exposure at high temperatures were not considered at all. That is, there is circuit system noise other than image quality deterioration such as pixel current loss due to dark current noise generated in the image sensor and minute scratches specific to the image sensor, but this has not been considered. Here, the circuit system noise is fixed pattern noise as dark offset generated due to voltage non-uniformity or element variation due to the resistance component of the power supply line in the sensor.

そこで、撮影条件や環境条件によって、暗電流が大きいことが予想される条件下ではダーク画像撮影を行い、それ以外の条件下ではダーク画像撮影を行わず、予め記憶した補正データを用いて固定パターンノイズを補正することにより、シャッターレリーズタイムラグの原因となるダーク画像の撮影を極力減らしつつ、画質の劣化を防止できる撮像装置が提案されている(例えば、特許文献1を参照)。
特開2003−264736号公報
Therefore, depending on the shooting conditions and environmental conditions, dark image shooting is performed under conditions where a dark current is expected to be large, and dark image shooting is not performed under other conditions, and fixed patterns are stored using correction data stored in advance. There has been proposed an imaging apparatus that can prevent deterioration of image quality while correcting the noise while reducing the shooting of a dark image that causes a shutter release time lag as much as possible (see, for example, Patent Document 1).
JP 2003-264736 A

しかしながら、上記特許文献1においてダーク画像撮影が行われるのは、あくまで暗電流による画質劣化が許容量を超えるであろうと予め想定した撮影条件・環境条件下においてであった。しかし、電荷蓄積時間・温度など暗電流量を左右する要因がいくつかある中で、予め定めた条件が常に最適な条件であるとは限らない。   However, in the above-mentioned Patent Document 1, dark image shooting is performed only under shooting conditions / environmental conditions in which it is assumed in advance that image quality deterioration due to dark current will exceed an allowable amount. However, among several factors that influence the amount of dark current, such as charge accumulation time and temperature, the predetermined conditions are not always optimal.

また、撮像素子の暗電流量は個体差も大きく、同一の条件でダーク画像撮影を行うか否かを判定した場合、暗電流量の小さな撮像素子においては実際にはダーク画像撮影が不要である撮影においてもそれを実行していることになり、また暗電流量の大きな撮像素子においては本来ダーク画像撮影をすべき撮影においてそれがなされずに画質が劣化してしまう可能性もある。   In addition, the dark current amount of the image sensor has a large individual difference, and when it is determined whether or not to perform dark image capturing under the same conditions, the dark image capturing is actually unnecessary in an image sensor with a small dark current amount. That is also the case in shooting, and in an image pickup device with a large amount of dark current, there is a possibility that the image quality deteriorates because it is not performed in shooting that should originally perform dark image shooting.

本発明は上記従来の問題点に鑑み、ダーク画像撮影が実際に必要である条件を的確に判定し、シャッターレリーズタイムラグの原因となるダーク画像撮影を極力減らしつつ、画質の劣化を防止できる画像データ補正装置、画像処理装置、画像データ補正方法、制御プログラム、及び記憶媒体を提供することを目的とする。   In view of the above-described conventional problems, the present invention accurately determines conditions under which dark image shooting is actually necessary, and reduces image quality deterioration while minimizing dark image shooting that causes a shutter release time lag. It is an object of the present invention to provide a correction device, an image processing device, an image data correction method, a control program, and a storage medium.

上記目的を達成するために、本発明の画像データ補正装置では、光学像を電気信号に変換する撮像手段の非露光状態で電荷蓄積を行う第1の撮像モードで得られた第1の画像データを用い、前記撮像手段の露光状態で電荷蓄積を行う第2の撮像モードで得られた第2の画像データを補正することが可能な画像データ補正装置であって、前記第2の画像データの遮光領域からダーク出力値を算出するダーク出力算出手段と、前記ダーク出力算出手段により算出したダーク出力値が所定値以上であるか否かを判定する判定手段と、前記判定手段によって前記ダーク出力値が所定値以上であると判定された場合に、前記第1の画像データを用いて前記第2の画像データを補正する補正手段とを備えたことを特徴とする。   In order to achieve the above object, in the image data correction apparatus of the present invention, the first image data obtained in the first imaging mode in which charge accumulation is performed in a non-exposure state of an imaging means for converting an optical image into an electrical signal. , And an image data correction apparatus capable of correcting the second image data obtained in the second imaging mode in which charge is accumulated in the exposure state of the imaging means, wherein the second image data Dark output calculation means for calculating a dark output value from the light shielding area, determination means for determining whether the dark output value calculated by the dark output calculation means is a predetermined value or more, and the dark output value by the determination means Correction means for correcting the second image data using the first image data when it is determined that the value is equal to or greater than a predetermined value.

また、前記ダーク出力算出手段により算出したダーク出力値に応じて、前記第1の撮像モードよる第1の画像データ取得時の電荷蓄積時間を変更する変更手段を備えたことを特徴とする。   The image processing apparatus may further include a changing unit that changes a charge accumulation time when acquiring the first image data in the first imaging mode according to the dark output value calculated by the dark output calculating unit.

また、前記第2の画像データを補正するための補正用データとして、前記第1の画像データとは別の補正データを記憶した補正データ記憶手段と、前記第1の撮像モードで得られた前記第1の画像データ及び前記補正データ記憶手段に記憶された前記補正データのいずれか一方を選択する選択手段とを備え、前記補正手段は、前記ダーク出力算出手段により算出したダーク出力値が所定値以上である場合には、前記選択手段によって第1の画像データを選択して、それに基づいて前記第2の画像データを補正し、前記ダーク出力値が所定値未満である場合には、前記選択手段によって前記補正データを選択して、それに基づいて前記第2の画像データを補正することを特徴とする。   Further, as correction data for correcting the second image data, correction data storage means storing correction data different from the first image data, and the obtained in the first imaging mode Selecting means for selecting one of the first image data and the correction data stored in the correction data storage means, wherein the correction means has a dark output value calculated by the dark output calculation means as a predetermined value. If it is above, the first image data is selected by the selection means, and the second image data is corrected based on the first image data. If the dark output value is less than a predetermined value, the selection is performed. The correction data is selected by means, and the second image data is corrected based on the correction data.

また、前記撮像手段は撮像素子で構成され、前記第1の撮像モードで得られる第1の画像データは、前記撮像素子の暗電流ノイズデータであり、前記第2の撮像モードで得られる第2の画像データは、前記撮像素子で撮像された撮影画像データであり、前記補正データは、前記撮像素子の回路系ノイズに相当する固定パターンノイズであることを特徴とする。   In addition, the imaging unit is configured by an imaging device, and the first image data obtained in the first imaging mode is dark current noise data of the imaging device, and is obtained in the second imaging mode. The image data is captured image data captured by the image sensor, and the correction data is fixed pattern noise corresponding to circuit noise of the image sensor.

また、前記補正データは、前記第1の画像データを基に演算により得られたデータであることを特徴とする。   The correction data is data obtained by calculation based on the first image data.

また、前記補正データは、前記第1の画像データを垂直方向に射影演算して得られる水平方向の一次元データであることを特徴とする。   Further, the correction data is one-dimensional data in the horizontal direction obtained by projecting the first image data in the vertical direction.

本発明の画像処理装置は、上記画像データ補正装置と前記撮像手段を備えたことを特徴とする。   An image processing apparatus according to the present invention includes the image data correction apparatus and the imaging unit.

本発明の画像データ補正方法では、光学像を電気信号に変換する撮像手段の非露光状態で電荷蓄積を行う第1の撮像モードで得られた第1の画像データを用い、前記撮像工程の露光状態で電荷蓄積を行う第2の撮像モードで得られた第2の画像データを補正する画像データ補正方法であって、前記第2の画像データの遮光領域からダーク出力値を算出するダーク出力算出工程と、前記ダーク出力算出工程により算出したダーク出力値が所定値以上であるか否かを判定する判定工程と、前記判定工程によって前記ダーク出力値が所定値以上であると判定された場合に、前記第1の画像データを用いて前記第2の画像データを補正する補正工程とを有することを特徴とする。   In the image data correction method of the present invention, the exposure in the imaging step is performed using the first image data obtained in the first imaging mode in which charges are accumulated in the non-exposure state of the imaging means for converting the optical image into an electrical signal. An image data correction method for correcting second image data obtained in a second imaging mode in which charge accumulation is performed in a state, wherein dark output calculation is performed to calculate a dark output value from a light-shielding region of the second image data A step of determining whether or not the dark output value calculated by the dark output calculation step is equal to or greater than a predetermined value, and when the dark output value is determined to be equal to or greater than the predetermined value by the determination step And a correction step of correcting the second image data using the first image data.

本発明の制御プログラムでは、光学像を電気信号に変換する撮像手段の非露光状態で電荷蓄積を行う第1の撮像モードで得られた第1の画像データを用い、前記撮像工程の露光状態で電荷蓄積を行う第2の撮像モードで得られた第2の画像データを補正する画像データ補正方法を実行するための、コンピュータで読み取り可能な制御プログラムであって、前記第2の画像データの遮光領域からダーク出力値を算出するダーク出力算出ステップと、前記ダーク出力算出ステップにより算出したダーク出力値が所定値以上であるか否かを判定する判定ステップと、前記判定ステップによって前記ダーク出力値が所定値以上であると判定された場合に、前記第1の画像データを用いて前記第2の画像データを補正する補正ステップとを有することを特徴とする。   In the control program of the present invention, the first image data obtained in the first imaging mode in which charge accumulation is performed in the non-exposure state of the imaging means for converting the optical image into an electrical signal, and in the exposure state of the imaging step. A computer-readable control program for executing an image data correction method for correcting second image data obtained in a second imaging mode for performing charge accumulation, wherein the second image data is shielded from light. A dark output calculation step for calculating a dark output value from the region; a determination step for determining whether or not the dark output value calculated by the dark output calculation step is equal to or greater than a predetermined value; and A correction step of correcting the second image data using the first image data when it is determined that the value is equal to or greater than a predetermined value. And butterflies.

本発明の記憶媒体は、上記制御プログラムを記憶したことを特徴とする。   The storage medium of the present invention stores the control program.

本発明によれば、撮像手段の非露光状態で電荷蓄積を行う1の撮影モードによる撮影動作(ダーク画像撮影)が実際に必要な条件を的確に判定し、シャッターレリーズタイムラグの原因となるダーク画像撮影を極力減らしつつ、画質の劣化を防止することが可能になる。   According to the present invention, a dark image causing a shutter release time lag is accurately determined by accurately determining a condition actually required for a shooting operation (dark image shooting) in one shooting mode in which charge accumulation is performed in a non-exposure state of the imaging unit. It is possible to prevent image quality degradation while reducing the number of shootings as much as possible.

本発明の画像データ補正装置、画像処理装置、画像データ補正方法、制御プログラム、及び記憶媒体を提供することを目的との実施の形態について、図面を参照しながら説明する。本実施形態の画像処理装置は電子カメラに適用される。   Embodiments of the present invention for providing an image data correction apparatus, an image processing apparatus, an image data correction method, a control program, and a storage medium according to the present invention will be described with reference to the drawings. The image processing apparatus of this embodiment is applied to an electronic camera.

<電子カメラの構成>
図1及び図2は、本発明の実施の一形態に係る電子カメラの構成を示すブロック図である。
<Configuration of electronic camera>
1 and 2 are block diagrams showing the configuration of an electronic camera according to an embodiment of the present invention.

同図において、100は画像処理装置であり、12は撮像素子14の露光量を制御するシャッターであり、14は光学像を電気信号に変換する撮像素子である。レンズユニット300内の撮影レンズ310に入射した光線は、絞り312、レンズマウント306、106、ミラー130及びシャッター12を通じて一眼レフ方式により導かれた撮像素子14上に光学像として結像する。   In the figure, 100 is an image processing apparatus, 12 is a shutter for controlling the exposure amount of the image sensor 14, and 14 is an image sensor for converting an optical image into an electrical signal. The light beam incident on the photographing lens 310 in the lens unit 300 forms an optical image on the image sensor 14 guided by the single-lens reflex system through the diaphragm 312, the lens mounts 306 and 106, the mirror 130, and the shutter 12.

16は撮像素子14から出力されるアナログ信号をディジタル信号に変換するA/D変換器である。18は撮像素子14、A/D変換器16及びD/A変換器26にクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御回路22及びシステム制御回路50によって制御される。   Reference numeral 16 denotes an A / D converter that converts an analog signal output from the image sensor 14 into a digital signal. A timing generation circuit 18 supplies a clock signal and a control signal to the image sensor 14, the A / D converter 16 and the D / A converter 26, and is controlled by the memory control circuit 22 and the system control circuit 50.

20は画像処理回路であり、A/D変換器16からのデータ或いはメモリ制御回路22からのデータに対して所定の画素補間処理や色変換処理を行う。画像処理回路20は必要に応じて撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づき、システム制御回路50が露光(シャッター)制御部40及び測距制御部42を制御するためのTTL(スルー・ザ・レンズ)方式のAF(オートフォーカス)処理、AE(自動露出)処理及びEF(フラッシュ調光)処理を行う。また、画像処理回路20は、撮像した画像データを用いて所定の演算処理を行い、得られた演算結果に基づいてTTL方式のAWB(オートホワイトバランス)処理を行う。   An image processing circuit 20 performs predetermined pixel interpolation processing and color conversion processing on the data from the A / D converter 16 or the data from the memory control circuit 22. The image processing circuit 20 performs predetermined calculation processing using image data taken as necessary, and the system control circuit 50 controls the exposure (shutter) control unit 40 and the distance measurement control unit 42 based on the obtained calculation result. TTL (through-the-lens) AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash dimming) processing for control are performed. The image processing circuit 20 performs predetermined arithmetic processing using the captured image data, and performs TTL AWB (auto white balance) processing based on the obtained arithmetic result.

尚、本実施形態では、測距制御部42及び測光制御部46を専用に備えているので、システム制御回路50は、測距制御部42及び測光制御部46を用いてAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュ調光)処理の各処理を行い、画像処理回路20を用いてAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュ調光)処理の各処理を行わない構成としてもよい。   In the present embodiment, since the distance measurement control unit 42 and the photometry control unit 46 are provided exclusively, the system control circuit 50 uses the distance measurement control unit 42 and the photometry control unit 46 to perform AF (autofocus) processing. , AE (automatic exposure) processing and EF (flash dimming) processing are performed, and the image processing circuit 20 is used for AF (autofocus) processing, AE (automatic exposure) processing, and EF (flash dimming) processing. It is good also as a structure which does not perform each process.

また、測距制御部42及び測光制御部46を用いてAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュ調光)処理の各処理を行い、さらに、画像処理回路20を用いてAF(オートフォーカス)処理、AE(自動露出)処理、EF(フラッシュ調光)処理の各処理を行う構成としてもよい。   Further, the AF (autofocus) process, the AE (automatic exposure) process, and the EF (flash dimming) process are performed using the distance measurement control unit 42 and the photometry control unit 46, and the image processing circuit 20 is used. The AF (autofocus) process, the AE (automatic exposure) process, and the EF (flash dimming) process may be performed.

22はメモリ制御回路であり、A/D変換器16、タイミング発生回路18、画像処理回路20、画像表示メモリ24、D/A変換器26、メモリ30及び圧縮・伸長回路32を制御する。   A memory control circuit 22 controls the A / D converter 16, the timing generation circuit 18, the image processing circuit 20, the image display memory 24, the D / A converter 26, the memory 30, and the compression / decompression circuit 32.

A/D変換器16からのデータは、画像処理回路20及びメモリ制御回路22を介して、或いは直接、メモリ制御回路22を介して画像表示メモリ24或いはメモリ30に書き込まれる。   Data from the A / D converter 16 is written into the image display memory 24 or the memory 30 via the image processing circuit 20 and the memory control circuit 22 or directly via the memory control circuit 22.

24は画像表示メモリ、26はD/A変換器である。28はTFT方式のLCDからなる画像表示部である。画像表示メモリ24に書き込まれた表示用の画像データはD/A変換器26を介して画像表示部28に表示される。撮像された画像データを画像表示部28で逐次表示する場合、電子ファインダ機能を実現することが可能である。また、画像表示部28はシステム制御回路50の指示に従って表示のON/OFFを任意に行うことが可能であり、表示をOFFにした場合、画像処理装置100の電力消費を大幅に低減することができる。   Reference numeral 24 is an image display memory, and 26 is a D / A converter. Reference numeral 28 denotes an image display unit comprising a TFT type LCD. The display image data written in the image display memory 24 is displayed on the image display unit 28 via the D / A converter 26. When the captured image data is sequentially displayed on the image display unit 28, an electronic viewfinder function can be realized. Further, the image display unit 28 can arbitrarily turn on / off the display in accordance with an instruction from the system control circuit 50. When the display is turned off, the power consumption of the image processing apparatus 100 can be significantly reduced. it can.

30は撮影された静止画像や動画像を格納するためのメモリであり、所定枚数の静止画像や所定時間の動画像を格納するのに十分な記憶容量を有している。したがって、複数枚の静止画像を連続して撮影する連写撮影やパノラマ撮影の場合にも、高速かつ大量の画像書き込みをメモリ30に対して行うことが可能である。また、メモリ30はシステム制御回路50の作業領域としても使用することが可能である。   Reference numeral 30 denotes a memory for storing captured still images and moving images, and has a sufficient storage capacity to store a predetermined number of still images and a predetermined time of moving images. Therefore, even in continuous shooting or panoramic shooting in which a plurality of still images are continuously shot, it is possible to write a large amount of images to the memory 30 at high speed. The memory 30 can also be used as a work area for the system control circuit 50.

32は適応離散コサイン変換(ADCT)などにより画像データを圧縮伸長する圧縮・伸長回路であり、メモリ30に格納された画像を読み込んで圧縮処理或いは伸長処理を行い、処理を終えたデータをメモリ30に書き込む。   A compression / decompression circuit 32 compresses and decompresses image data by adaptive discrete cosine transform (ADCT) or the like, reads an image stored in the memory 30, performs compression processing or decompression processing, and stores the processed data in the memory 30. Write to.

40は測光制御部46からの測光情報に基づいて絞り312を制御する絞り制御部340と連携しながらシャッター12を制御するシャッター制御部である。42はAF(オートフォーカス)処理を行うための測距制御部であり、レンズユニット300内の撮影レンズ310に入射した光線を絞り312、レンズマウント306、106、ミラー130及び測距用サブミラー(図示せず)を介して一眼レフ方式で入射することにより、光学像として結像された画像の合焦状態を測定する。   Reference numeral 40 denotes a shutter control unit that controls the shutter 12 in cooperation with an aperture control unit 340 that controls the aperture 312 based on photometry information from the photometry control unit 46. Reference numeral 42 denotes a distance measurement control unit for performing AF (autofocus) processing. A diaphragm 312, lens mounts 306 and 106, a mirror 130, and a distance measurement sub-mirror (see FIG. The in-focus state of the image formed as an optical image is measured by entering with a single-lens reflex system via a not-shown).

44は温度計であり、撮影環境における周囲温度を検出する。46はAE(自動露出)処理を行うための測光制御部であり、レンズユニット300内の撮影レンズ310に入射した光線を、絞り312、レンズマウント306、106、ミラー130及び測光用サブミラー(図示せず)を介して一眼レフ方式で入射することにより、光学像として結像された画像の露出状態を測定する。測光制御部46はフラッシュ部48と連携することにより、EF(フラッシュ調光)処理機能も有する。48はフラッシュ部であり、AF補助光の投光機能及びフラッシュ調光機能を有する。   A thermometer 44 detects the ambient temperature in the photographing environment. Reference numeral 46 denotes a photometric control unit for performing AE (automatic exposure) processing. Light beams incident on the photographing lens 310 in the lens unit 300 are converted into an aperture 312, lens mounts 306 and 106, a mirror 130, and a photometric sub mirror (not shown). The exposure state of the image formed as an optical image is measured. The photometry control unit 46 also has an EF (flash dimming) processing function in cooperation with the flash unit 48. A flash unit 48 has an AF auxiliary light projecting function and a flash light control function.

尚、前述したように、撮像素子14によって撮像された画像データを用いて画像処理回路20により演算された演算結果に基づき、システム制御回路50が露光(シャッター)制御部40、絞り制御部340、及び測距制御部342に対し、ビデオTTL方式を用いた露出制御及びAF制御を行うことが可能である。   As described above, based on the calculation result calculated by the image processing circuit 20 using the image data captured by the image sensor 14, the system control circuit 50 performs the exposure (shutter) control unit 40, the aperture control unit 340, In addition, exposure control and AF control using the video TTL method can be performed on the distance measurement control unit 342.

また、測距制御部42による測定結果と、撮像素子14によって撮像された画像データを画像処理回路20によって演算した演算結果とを用いて、AF(オートフォーカス)制御を行うようにしてもよい。さらに、測光制御部46による測定結果と、撮像素子14によって撮像された画像データを画像処理回路20によって演算した演算結果とを用いて露出制御を行うようにしてもよい。   Further, AF (autofocus) control may be performed using a measurement result obtained by the distance measurement control unit 42 and a calculation result obtained by calculating the image data captured by the image sensor 14 by the image processing circuit 20. Further, exposure control may be performed using the measurement result obtained by the photometry control unit 46 and the calculation result obtained by calculating the image data captured by the image sensor 14 by the image processing circuit 20.

50は画像処理装置100全体を制御するシステム制御回路であり、周知のCPUなどを内蔵する。52はシステム制御回路50の動作用の定数、変数、プログラムなどを記憶するメモリである。54はシステム制御回路50でのプログラムの実行に応じて、文字、画像、音声などで動作状態やメッセージなどを表示する液晶表示装置、スピーカなどを有する表示部であり、画像処理装置100の操作部近辺の視認し易い単数或いは複数箇所に設置されている。表示部54は、LCD、LED、発音素子などの組み合わせにより構成されている。また、表示部54の一部の機能は光学ファインダ104内に設けられている。   Reference numeral 50 denotes a system control circuit that controls the entire image processing apparatus 100 and incorporates a known CPU and the like. Reference numeral 52 denotes a memory for storing constants, variables, programs, and the like for operating the system control circuit 50. Reference numeral 54 denotes a display unit having a liquid crystal display device, a speaker, and the like for displaying an operation state and a message with characters, images, voices, and the like in accordance with execution of a program in the system control circuit 50. It is installed in a single or a plurality of locations that are easily visible in the vicinity. The display unit 54 is configured by a combination of an LCD, an LED, a sound generating element, and the like. Some functions of the display unit 54 are provided in the optical viewfinder 104.

表示部54の表示内容のうち、LCDなどに表示するものとしては、シングルショット/連写撮影表示、セルフタイマ表示、圧縮率表示、記録画素数表示、記録枚数表示、残撮影可能枚数表示、シャッタースピード表示、絞り値表示、露出補正表示、フラッシュ表示、赤目緩和表示、マクロ撮影表示、ブザー設定表示、時計用電池残量表示、電池残量表示、エラー表示、複数桁の数字による情報表示、記録媒体200、210の着脱状態表示、レンズユニット300の着脱状態表示、通信I/F動作表示、日付・時刻表示、及び外部コンピュータとの接続状態を示す表示などがある。   Among the display contents of the display unit 54, what is displayed on the LCD or the like includes single shot / continuous shooting display, self-timer display, compression rate display, recording pixel number display, recording number display, remaining image number display, shutter Speed display, Aperture value display, Exposure compensation display, Flash display, Red-eye reduction display, Macro shooting display, Buzzer setting display, Clock battery level display, Battery level display, Error display, Multi-digit number information display and recording There are an attachment / detachment state display of the media 200 and 210, an attachment / detachment state display of the lens unit 300, a communication I / F operation display, a date / time display, and a display showing a connection state with an external computer.

また、表示部54の表示内容のうち、光学ファインダ104内に表示するものとしては、合焦表示、撮影準備完了表示、手振れ警告表示、フラッシュ充電表示、フラッシュ充電完了表示、シャッタースピード表示、絞り値表示、露出補正表示、記録媒体書き込み動作表示などがある。   Among the display contents of the display unit 54, what is displayed in the optical viewfinder 104 includes in-focus display, shooting preparation completion display, camera shake warning display, flash charge display, flash charge completion display, shutter speed display, aperture value. Display, exposure compensation display, recording medium writing operation display, and the like.

さらに、表示部54の表示内容のうち、LED等に表示するものとしては、例えば、合焦表示、撮影準備完了表示、手振れ警告表示、フラッシュ充電表示、フラッシュ充電完了表示、記録媒体書き込み動作表示、マクロ撮影設定通知表示、及び二次電池充電表示などがある。また、表示部54の表示内容のうち、ランプ等に表示するものとしては、例えば、セルフタイマ通知ランプ等がある。このセルフタイマ通知ランプはAF補助光と共用してもよい。   Furthermore, among the display contents of the display unit 54, what is displayed on the LED or the like includes, for example, in-focus display, shooting preparation completion display, camera shake warning display, flash charge display, flash charge completion display, recording medium writing operation display, Macro shooting setting notification display, secondary battery charge display, and the like. Among the display contents of the display unit 54, what is displayed on a lamp or the like includes, for example, a self-timer notification lamp. This self-timer notification lamp may be shared with AF auxiliary light.

56は後述するプログラムなどが格納された電気的に消去・記録可能な不揮発性メモリであり、不揮発性メモリとしてEEPROMなどが用いられる。この不揮発性メモリ56には、各種パラメータやISO感度などの設定値、設定モード、及び水平ダークシェーディング補正を行う際に用いる1次元補正データ等が格納される。この1次元補正データは、生産工程において、調整時に作成されて書き込まれる。この1次元補正データの作成方法としては、例えばダーク画像撮影を行って得られた画像を射影演算することにより、水平1ライン分のデータとする方法等が考えられる。   Reference numeral 56 denotes an electrically erasable / recordable nonvolatile memory storing a program and the like to be described later, and an EEPROM or the like is used as the nonvolatile memory. The nonvolatile memory 56 stores various parameters, setting values such as ISO sensitivity, setting mode, and one-dimensional correction data used when performing horizontal dark shading correction. This one-dimensional correction data is created and written at the time of adjustment in the production process. As a method for creating this one-dimensional correction data, for example, a method of generating data for one horizontal line by projecting an image obtained by capturing a dark image can be considered.

尚、補正データとしては、生産工程において撮像されたダーク画像をそのまま2次元データとして記憶したものでもよい。しかし、撮像素子によっては垂直方向の固定パターンノイズが小さく、水平方向の補正のみ行えば済むようなものがある。   In addition, as correction data, the dark image imaged in the production process may be directly stored as two-dimensional data. However, some image pickup devices have a small fixed pattern noise in the vertical direction and need only be corrected in the horizontal direction.

ここで、固定パターンノイズの発生要因としては、図3に示すように、撮像素子の回路系からの信号読出し時に画素部500の信号が最終出力段511に至る読出し経路の差(ばらつき)が大きい。この点について図3を用いて説明する。図3は水平及び垂直方向における固定パターンノイズの混入を示す図である。   Here, as a cause of generation of the fixed pattern noise, as shown in FIG. 3, there is a large difference (variation) in the readout path where the signal of the pixel unit 500 reaches the final output stage 511 when the signal is read from the circuit system of the image sensor. . This point will be described with reference to FIG. FIG. 3 is a diagram showing mixing of fixed pattern noise in the horizontal and vertical directions.

水平方向の固定パターンノイズは、図3に示す垂直ラインaの読出し経路と垂直ラインbの読出し経路との差(T1)に依存する。また、垂直方向の固定パターンノイズは、図3に示す水平ラインcの読出し経路と水平ラインdの読出し経路との差(T2)に依存する。例えば、図3に示すように、各水平ラインが読出し回路を共有し(510)、かつ回路レイアウトの工夫などにより各水平ラインの信号を共通読出し回路510へ転送する際に混入するノイズが小さい撮像素子の場合、垂直方向の固定パターンノイズは小さく補正する必要がない。このような撮像素子を用いる撮像装置では、水平方向の1次元の補正データを用いて本画像を補正することにより、固定パターンノイズを除去することができる。   The fixed pattern noise in the horizontal direction depends on the difference (T1) between the readout path of the vertical line a and the readout path of the vertical line b shown in FIG. Further, the fixed pattern noise in the vertical direction depends on the difference (T2) between the readout path of the horizontal line c and the readout path of the horizontal line d shown in FIG. For example, as shown in FIG. 3, each horizontal line shares a readout circuit (510), and imaging with a small amount of noise mixed when signals of each horizontal line are transferred to the common readout circuit 510 by devising a circuit layout or the like. In the case of an element, the fixed pattern noise in the vertical direction is small and does not need to be corrected. In an imaging apparatus using such an imaging element, fixed pattern noise can be removed by correcting the main image using one-dimensional correction data in the horizontal direction.

図1及び図2に戻り、60、62、64、66、68及び70は、システム制御回路50の各種動作指示を入力するための操作部であり、スイッチ、ダイヤル、タッチパネル、視線検知によるポインティング、及び音声認識装置などの単数或いは複数の組み合わせで構成される。これら操作部の詳細を以下に示す。   1 and 2, reference numerals 60, 62, 64, 66, 68, and 70 are operation units for inputting various operation instructions of the system control circuit 50, and are switches, dials, touch panels, pointing by gaze detection, And a single or a plurality of combinations such as a voice recognition device. Details of these operation units are shown below.

60はモードダイアルスイッチであり、自動撮影モード、プログラム撮影モード、シャッター速度優先撮影モード、絞り優先撮影モード、マニュアル撮影モード、焦点深度優先(デプス)撮影モード、ポートレート撮影モード、風景撮影モード、接写撮影モード、スポーツ撮影モード、夜景撮影モード、及びパノラマ撮影モードなどの各機能撮影モードを切り替えて設定可能である。   Reference numeral 60 denotes a mode dial switch, which is an automatic shooting mode, program shooting mode, shutter speed priority shooting mode, aperture priority shooting mode, manual shooting mode, depth of focus priority (depth) shooting mode, portrait shooting mode, landscape shooting mode, and close-up shooting. Each function shooting mode such as a shooting mode, a sports shooting mode, a night view shooting mode, and a panoramic shooting mode can be switched and set.

62はシャッタースイッチ(SW1)であり、シャッターボタン(図示せず)の操作途中でONとなり、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュ調光)処理などの動作開始を指示する。   A shutter switch (SW1) 62 is turned on during the operation of a shutter button (not shown), and AF (auto focus) processing, AE (automatic exposure) processing, AWB (auto white balance) processing, EF (flash adjustment). Instructs the start of operation such as light processing.

64はシャッタースイッチ(SW2)であり、シャッターボタン(図示せず)の操作完了でONとなる。このシャッタースイッチ(SW2)64は、撮像素子12から読み出した信号をA/D変換器16及びメモリ制御回路22を介してメモリ30に書き込む露光処理と、画像処理回路20やメモリ制御回路22での演算を用いた現像処理と、メモリ30から画像データを読み出して圧縮・伸長回路32で圧縮を行い記録媒体200、201に書き込む記録処理という一連の処理の動作開始を指示する。   Reference numeral 64 denotes a shutter switch (SW2) which is turned on when a shutter button (not shown) is operated. The shutter switch (SW2) 64 is used for exposure processing for writing a signal read from the image sensor 12 to the memory 30 via the A / D converter 16 and the memory control circuit 22, and for the image processing circuit 20 and the memory control circuit 22. An instruction is given to start a series of processing operations such as a development process using computation and a recording process in which image data is read from the memory 30, compressed by the compression / decompression circuit 32, and written to the recording media 200 and 201.

66は再生スイッチであり、撮影モード状態で撮影した画像をメモリ30或いは記録媒体200、210から読み出して画像表示部28に表示する再生動作の開始を指示する。   Reference numeral 66 denotes a playback switch, which instructs to start a playback operation in which an image shot in the shooting mode is read from the memory 30 or the recording medium 200 or 210 and displayed on the image display unit 28.

68は単写/連写スイッチであり、シャッタースイッチSW2を押した場合、1コマの撮影を行って待機状態とする単写モードと、シャッタースイッチSW2を押している間、連続して撮影を行い続ける連写モードとを設定可能である。   Reference numeral 68 denotes a single / continuous shooting switch. When the shutter switch SW2 is pressed, a single shooting mode in which one frame is shot to be in a standby state, and shooting is continuously performed while the shutter switch SW2 is being pressed. The continuous shooting mode can be set.

69はISO感度設定スイッチであり、撮像素子14或いは画像処理回路20におけるゲインの設定を変更することによりISO感度を設定できる。   Reference numeral 69 denotes an ISO sensitivity setting switch, which can set the ISO sensitivity by changing the gain setting in the image sensor 14 or the image processing circuit 20.

70は各種ボタンやタッチパネルなどからなる操作部であり、メニューボタン、セットボタン、マクロボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマ切替ボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像移動+(プラス)ボタン、再生画像−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン、パノラマモード等の撮影及び再生を実行する際に各種機能の選択及び切り替えを設定する選択/切り替えボタン、パノラマモード等の撮影及び再生を実行する際に各種機能の決定及び実行を設定する決定/実行ボタン、画像表示部28のON/OFFを設定する画像表示ON/OFFスイッチ、撮影直後に撮影した画像データを自動再生するクイックレビュー機能を設定するクイックレビューON/OFFスイッチ、JPEG圧縮の圧縮率を選択するため、或いは撮像素子の信号をそのままディジタル化して記録媒体に記録するCCDRAWモードを選択するためのスイッチである圧縮モードスイッチ、再生モード、マルチ画面再生・消去モード、及びPC接続モード等の各機能モードを設定可能な再生スイッチのほか、シャッタースイッチSW1を押した際にオートフォーカス動作を開始し、一旦合焦した場合、その合焦状態を保ち続けるワンショットAFモードとシャッタースイッチSW1を押している間、連続してオートフォーカス動作を続けるサーボAFモードとを設定可能なAFモード設定スイッチなどがある。   Reference numeral 70 denotes an operation unit composed of various buttons, a touch panel, etc., a menu button, a set button, a macro button, a multi-screen playback page break button, a flash setting button, a single shooting / continuous shooting / self-timer switching button, menu movement + (plus ) Button, menu movement-(minus) button, playback image movement + (plus) button, playback image-(minus) button, shooting image quality selection button, exposure compensation button, date / time setting button, panorama mode shooting and playback A selection / switching button for setting selection and switching of various functions when executing, a determination / execution button for setting determination and execution of various functions when performing shooting and playback in panorama mode, etc. Image display ON / OFF switch to set ON / OFF, image data taken immediately after shooting Quick review ON / OFF switch for setting a quick review function for automatic playback, a switch for selecting a compression rate for JPEG compression, or a switch for selecting a CCD RAW mode for digitizing an image signal and recording it on a recording medium. In addition to a playback switch that can set each function mode such as a compression mode switch, playback mode, multi-screen playback / erase mode, and PC connection mode, autofocus operation starts when the shutter switch SW1 is pressed. There is an AF mode setting switch that can set a one-shot AF mode that keeps the in-focus state when in focus and a servo AF mode that keeps autofocusing continuously while the shutter switch SW1 is pressed.

また、上記プラスボタン及びマイナスボタンの各機能は、回転ダイアルスイッチを備えることによって、より軽快に数値や機能を選択することが可能となる。   In addition, the functions of the plus button and the minus button can be selected more easily by providing a rotary dial switch.

72は電源スイッチであり、画像処理装置100の電源のオン/オフの各モードを切り替え設定可能である。また、画像処理装置100に接続されたレンズユニット300、外部ストロボ、記録媒体200、210等における各種付属装置の電源オン/オフ設定も併せて切り替え設定可能である。   Reference numeral 72 denotes a power switch, which can be set to switch between power on / off modes of the image processing apparatus 100. In addition, the power on / off setting of various accessory devices in the lens unit 300, the external strobe, the recording media 200, 210, etc. connected to the image processing apparatus 100 can also be switched.

80は電源制御部であり、電池検出回路、DC−DCコンバータ、及び通電するブロックを切り替えるスイッチ回路などから構成されており、電池の装着の有無、電池の種類、及び電池残量の検出を行い、その検出結果及びシステム制御回路50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部に供給する。   Reference numeral 80 denotes a power control unit, which includes a battery detection circuit, a DC-DC converter, and a switch circuit that switches a block to be energized, and detects whether or not a battery is installed, the type of battery, and the remaining battery level. The DC-DC converter is controlled based on the detection result and an instruction from the system control circuit 50, and a necessary voltage is supplied to each unit including the recording medium for a necessary period.

82及び84はコネクタ、86はアルカリ電池やリチウム電池などの一次電池、NiCd電池、NiMH電池、Li電池などの二次電池、ACアダプタなどからなる電源部である。   Reference numerals 82 and 84 denote connectors, 86 denotes a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, NiMH battery, or Li battery, an AC adapter, or the like.

90及び94はメモリカードやハードディスク等の記録媒体とのインターフェース、92及び96はメモリカードやハードディスクなどの記録媒体との接続を行うコネクタ、98はコネクタ92、96に記録媒体200、210が装着されているか否かを検知する記録媒体着脱検知部である。   90 and 94 are interfaces with a recording medium such as a memory card and a hard disk, 92 and 96 are connectors for connecting to a recording medium such as a memory card and a hard disk, and 98 is a recording medium 200 and 210 attached to the connectors 92 and 96. It is a recording medium attachment / detachment detection unit that detects whether or not the recording medium is present.

尚、本実施形態では、記録媒体を取り付けるインターフェース及びコネクタが2系統装備されているが、記録媒体を取り付けるインターフェース及びコネクタは単数或いは任意の数の系統数装備されていてもよい。また、異なる規格のインターフェース及びコネクタとして、PCMCIAカードやCF(コンパクトフラッシュ(登録商標))カードなどの規格に準拠したものを用いてもよい。   In the present embodiment, two interfaces and connectors for attaching the recording medium are provided. However, the interfaces and connectors for attaching the recording medium may be provided by a single or an arbitrary number of systems. Further, as interfaces and connectors of different standards, those compliant with standards such as PCMCIA cards and CF (compact flash (registered trademark)) cards may be used.

さらに、インターフェース90、94、コネクタ92、96をPCMCIAカードやCF(コンパクトフラッシュ(登録商標))カードなどの規格に準拠したものを用いて構成した場合、LANカード、モデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、及びPHSなどの通信カードなどの各種通信カードを接続することより、他のコンピュータやプリンタなどの周辺機器との間で画像データや画像データに付属した管理情報を相互に転送することが可能である。   Further, when the interfaces 90 and 94 and the connectors 92 and 96 are configured using a standard conforming to a PCMCIA card or a CF (Compact Flash (registered trademark)) card, a LAN card, a modem card, a USB card, and an IEEE 1394 card are used. By connecting various communication cards such as communication cards such as P1284 card, SCSI card, and PHS, image data and management information attached to image data can be exchanged with other computers and peripheral devices such as printers. It is possible to transfer.

104は光学ファインダであり、撮影レンズ310に入射した光線を、一眼レフ方式によって、絞り312、レンズマウント306、106及びミラー130、132を介して導き、光学像として結像させて表示することが可能である。これにより、画像表示部28による電子ファインダ機能を使用することなく、光学ファインダ104だけを用いて撮影を行うことが可能である。また、光学ファインダ104内には、表示部54の一部の機能、例えば、合焦表示、手振れ警告表示、フラッシュ充電表示、シャッタースピード表示、絞り値表示、及び露出補正表示などが設けられている。   Reference numeral 104 denotes an optical viewfinder, which guides a light beam incident on the photographing lens 310 through an aperture 312, lens mounts 306 and 106, and mirrors 130 and 132, and forms an optical image for display by a single-lens reflex system. Is possible. Accordingly, it is possible to perform shooting using only the optical viewfinder 104 without using the electronic viewfinder function of the image display unit 28. Also, some functions of the display unit 54 are provided in the optical viewfinder 104, for example, focus display, camera shake warning display, flash charge display, shutter speed display, aperture value display, exposure correction display, and the like. .

110は通信部であり、RS232C、USB、IEEE1394、P1284、SCSI、モデム、LAN、無線通信などの各種通信機能を有する。112は通信部110により画像処理装置100を他の機器と接続するコネクタ、もしくは無線通信を行う場合のアンテナである。   A communication unit 110 has various communication functions such as RS232C, USB, IEEE1394, P1284, SCSI, modem, LAN, and wireless communication. Reference numeral 112 denotes a connector for connecting the image processing apparatus 100 to another device by the communication unit 110 or an antenna for performing wireless communication.

120は、レンズマウント106内で画像処理装置100をレンズユニット300と接続するためのインターフェースである。122は画像処理装置100をレンズユニット300と電気的に接続するコネクタである。また、レンズマウント106及び/またはコネクタ122にレンズユニット300が装着されているか否かは、不図示のレンズ着脱検知部により検知される。   Reference numeral 120 denotes an interface for connecting the image processing apparatus 100 to the lens unit 300 in the lens mount 106. A connector 122 electrically connects the image processing apparatus 100 to the lens unit 300. Whether or not the lens unit 300 is attached to the lens mount 106 and / or the connector 122 is detected by a lens attachment / detachment detection unit (not shown).

コネクタ122は、画像処理装置100とレンズユニット300との間で制御信号、状態信号、及びデータ信号などを伝え合うと共に、各種電圧の電流を供給する機能も備えている。また、コネクタ122は電気通信だけでなく、光通信、音声通信などを伝達する構成としてもよい。   The connector 122 communicates control signals, status signals, data signals, and the like between the image processing apparatus 100 and the lens unit 300, and also has a function of supplying currents of various voltages. Further, the connector 122 may be configured to transmit not only electrical communication but also optical communication, voice communication, and the like.

130、132はミラーであり、撮影レンズ310に入射した光線を、一眼レフ方式によって光学ファインダ104に導く。ミラー132はクイックリターンミラーの構成にしてもハーフミラーの構成にしてもどちらでもよい。   Reference numerals 130 and 132 denote mirrors that guide light rays incident on the photographing lens 310 to the optical viewfinder 104 by a single-lens reflex system. The mirror 132 may be either a quick return mirror or a half mirror.

200はメモリカードやハードディスクなどの記録媒体である。記録媒体200は、半導体メモリや磁気ディスクなどから構成される記録部202、画像処理装置100とのインターフェース204、及び画像処理装置100との接続を行うコネクタ206を有している。210は、記録媒体200と同様、メモリカードやハードディスク等の記録媒体である。記録媒体210は、半導体メモリや磁気ディスク等から構成される記録部212、画像処理装置100とのインターフェース214、及び画像処理装置100との接続を行うコネクタ216を有している。   Reference numeral 200 denotes a recording medium such as a memory card or a hard disk. The recording medium 200 includes a recording unit 202 composed of a semiconductor memory, a magnetic disk, or the like, an interface 204 with the image processing apparatus 100, and a connector 206 for connecting with the image processing apparatus 100. Reference numeral 210 denotes a recording medium such as a memory card or a hard disk, similar to the recording medium 200. The recording medium 210 includes a recording unit 212 composed of a semiconductor memory, a magnetic disk, or the like, an interface 214 with the image processing apparatus 100, and a connector 216 for connecting with the image processing apparatus 100.

300は交換レンズタイプのレンズユニットである。306はレンズユニット300を画像処理装置100と機械的に結合するレンズマウントである。レンズマウント306内には、レンズユニット300を画像処理装置100と電気的に接続する各種機能が含まれている。   Reference numeral 300 denotes an interchangeable lens type lens unit. A lens mount 306 mechanically couples the lens unit 300 to the image processing apparatus 100. The lens mount 306 includes various functions for electrically connecting the lens unit 300 to the image processing apparatus 100.

310は撮影レンズ、312は絞りである。320はレンズマウント306内でレンズユニット300を画像処理装置100と接続するためのインターフェースである。322はレンズユニット300を画像処理装置100と電気的に接続するコネクタである。   Reference numeral 310 denotes a photographing lens, and 312 denotes an aperture. Reference numeral 320 denotes an interface for connecting the lens unit 300 to the image processing apparatus 100 in the lens mount 306. A connector 322 electrically connects the lens unit 300 to the image processing apparatus 100.

コネクタ322は画像処理装置100とレンズユニット300との間で制御信号、状態信号及びデータ信号などを伝え合うと共に、各種電流が供給され、或いは電流を供給する機能を備えている。また、コネクタ322は電気信号だけでなく、光信号、音声信号などを伝達する構成としてもよい。   The connector 322 has a function of transmitting a control signal, a status signal, a data signal, and the like between the image processing apparatus 100 and the lens unit 300 and supplying various currents or supplying currents. The connector 322 may be configured to transmit not only an electrical signal but also an optical signal, an audio signal, and the like.

340は測光制御部46からの測光情報に基づいて、シャッター12を制御するシャッター制御部40と連携しながら、絞り312を制御する絞り制御部である。342は撮影レンズ310のフォーカシングを制御する測距制御部である。344は撮影レンズ310のズーミングを制御するズーム制御部である。350はレンズユニット300全体を制御するレンズシステム制御回路である。レンズシステム制御回路350は、動作用の定数、変数及びプログラムなどを記憶するメモリや、レンズユニット300固有の番号などの識別情報、管理情報、開放絞り値や最小絞り値及び焦点距離等の機能情報、現在や過去の各設定値などを保持する不揮発メモリの機能も備えている。   Reference numeral 340 denotes an aperture control unit that controls the aperture 312 in cooperation with the shutter control unit 40 that controls the shutter 12 based on photometry information from the photometry control unit 46. A distance measurement control unit 342 controls focusing of the photographing lens 310. A zoom control unit 344 controls zooming of the photographing lens 310. A lens system control circuit 350 controls the entire lens unit 300. The lens system control circuit 350 includes a memory for storing operation constants, variables, programs, and the like, identification information such as a unique number of the lens unit 300, management information, function information such as an open aperture value, a minimum aperture value, and a focal length. Also, it has a function of a non-volatile memory that holds each setting value of the present and past.

<電子カメラの動作>
上記構成を有する電子カメラの動作について、図4〜図11を用いて説明する。
<Operation of electronic camera>
The operation of the electronic camera having the above configuration will be described with reference to FIGS.

図4及び図5は、画像処理装置100の撮影動作処理手順を示すフローチャートである。この処理プログラムは不揮発性メモリ56などの記憶媒体に格納されており、メモリ52にロードされてシステム制御回路50内のCPUによって実行される。   4 and 5 are flowcharts showing the shooting operation processing procedure of the image processing apparatus 100. FIG. This processing program is stored in a storage medium such as the nonvolatile memory 56, loaded into the memory 52, and executed by the CPU in the system control circuit 50.

電池交換などの電源投入により、システム制御回路50はフラグや制御変数等を初期化し、画像処理装置100の各部に対して必要な所定の初期設定を行う(ステップS101)。続いてシステム制御回路50は、電源スイッチ72の設定位置を判別して、電源スイッチ72が電源OFFに設定されているか否かを判別する(ステップS102)。   Upon power-on such as battery replacement, the system control circuit 50 initializes flags, control variables, and the like, and performs necessary initial settings for each part of the image processing apparatus 100 (step S101). Subsequently, the system control circuit 50 determines the set position of the power switch 72, and determines whether or not the power switch 72 is set to power OFF (step S102).

電源スイッチ72が電源OFFに設定されている場合、各表示部の表示を終了状態に変更し、フラグや制御変数などを含む必要なパラメータや設定値、設定モードを不揮発性メモリ56に記録し、電源制御部80により、画像表示部28を含む画像処理装置100各部の不要な電源を遮断する等の所定の終了処理を行った後(ステップS103)、ステップS102の処理に戻る。   When the power switch 72 is set to power OFF, the display of each display unit is changed to the end state, and necessary parameters, setting values, and setting modes including flags and control variables are recorded in the nonvolatile memory 56. The power control unit 80 performs a predetermined end process such as shutting off unnecessary power of each unit of the image processing apparatus 100 including the image display unit 28 (step S103), and then returns to the process of step S102.

一方、電源スイッチ72が電源ONに設定されていた場合、システム制御回路50は電源制御部80により電池などの電源86の残容量や動作状況が画像処理装置100の動作に問題があるか否かを判別する(ステップS104)。問題があると判別された場合、表示部54への画像の表示や音声の出力により所定の警告を行った後(ステップS105)、ステップS102の処理に戻る。電源86に問題がないと判別された場合、システム制御回路50はモードダイアルスイッチ60の設定位置を判断し、モードダイアルスイッチ60が撮影モードに設定されているか否かを判別する(ステップS106)。モードダイアルスイッチ60がその他のモードに設定されている場合、システム制御回路50は選択されたモードに応じた処理を実行し(ステップS107)、実行後にステップS102の処理に戻る。   On the other hand, when the power switch 72 is set to ON, the system control circuit 50 determines whether the remaining capacity of the power source 86 such as a battery and the operation status have a problem in the operation of the image processing apparatus 100 by the power control unit 80. Is determined (step S104). If it is determined that there is a problem, a predetermined warning is given by displaying an image on the display unit 54 or outputting sound (step S105), and then the process returns to step S102. If it is determined that there is no problem with the power supply 86, the system control circuit 50 determines the setting position of the mode dial switch 60, and determines whether or not the mode dial switch 60 is set to the shooting mode (step S106). When the mode dial switch 60 is set to another mode, the system control circuit 50 executes processing according to the selected mode (step S107), and returns to the processing of step S102 after execution.

モードダイアルスイッチ60が撮影モードに設定されている場合は、記録媒体200、201が装着されているか否かの判断と共に、記録媒体200、201に記録された画像データの管理情報の取得と、記録媒体200、201の動作状態が画像処理装置100の動作、特に記録媒体に対する画像データの記録再生動作等に問題があるか否かを判別する(ステップS108)。問題があると判別された場合、表示部54に画像の表示や音声の出力により所定の警告を行った後(ステップS105)、ステップS102の処理に戻る。   When the mode dial switch 60 is set to the shooting mode, it is determined whether or not the recording media 200 and 201 are attached, acquisition of management information of the image data recorded on the recording media 200 and 201, and recording It is determined whether or not the operation state of the mediums 200 and 201 has a problem in the operation of the image processing apparatus 100, particularly the recording / reproducing operation of the image data with respect to the recording medium (step S108). If it is determined that there is a problem, a predetermined warning is given by displaying an image or outputting sound on the display unit 54 (step S105), and then the process returns to step S102.

一方、ステップS108で問題がないと判別された場合、システム制御回路50は単写撮影/連写撮影を選択する単写/連写スイッチ68の選択状態を調べる(ステップS109)。単写撮影が選択されている場合、単写/連写フラグを単写に設定し(ステップS110)、連写撮影が選択されている場合、単写/連写フラグを連写に設定する(ステップS111)。単写/連写スイッチ68では、シャッタースイッチSW2を押した場合、1コマの撮影を行って待機状態とする単写モードと、シャッタースイッチSW2を押している間、連続して撮影を行い続ける連写モードとを任意に切り替えて設定することが可能である。尚、単写/連写フラグの状態はシステム制御回路50の内部メモリ或いはメモリ52に記憶される。   On the other hand, when it is determined in step S108 that there is no problem, the system control circuit 50 checks the selection state of the single / continuous shooting switch 68 for selecting single shooting / continuous shooting (step S109). If single shooting is selected, the single shooting / continuous shooting flag is set to single shooting (step S110). If continuous shooting is selected, the single shooting / continuous shooting flag is set to continuous shooting (step S110). Step S111). In the single / continuous shooting switch 68, when the shutter switch SW2 is pressed, a single shooting mode in which one frame is shot and the camera is in a standby state, and continuous shooting is performed while the shutter switch SW2 is pressed. It is possible to switch the mode arbitrarily. The state of the single / continuous shooting flag is stored in the internal memory of the system control circuit 50 or the memory 52.

システム制御回路50は、表示部54を用いて画像や音声により画像処理装置100の各種設定状態の表示を行う(ステップS112)。ここで、画像表示部28の画像表示スイッチがONである場合、画像表示部28を用いて画像や音声により画像処理装置100の各種設定状態を表示するようにしてもよい。   The system control circuit 50 displays various setting states of the image processing apparatus 100 using images and sounds using the display unit 54 (step S112). Here, when the image display switch of the image display unit 28 is ON, various setting states of the image processing apparatus 100 may be displayed by an image or sound using the image display unit 28.

シャッタースイッチSW1が押されているか否かを判別し(ステップS113)、シャッタースイッチSW1が押されていない場合、ステップS102の処理に戻る。一方、シャッタースイッチSW1が押されている場合には、システム制御回路50は、測距処理を行って撮影レンズ310の焦点を被写体に合わせ、さらに測光処理を行って絞り値及びシャッター速度を決定する測距・測光処理を行う(ステップS114)。測光処理では、必要であればフラッシュの設定を行う。この測距・測光処理の詳細については、後述する。   It is determined whether or not the shutter switch SW1 is pressed (step S113). If the shutter switch SW1 is not pressed, the process returns to step S102. On the other hand, when the shutter switch SW1 is pressed, the system control circuit 50 performs a distance measurement process to focus the photographing lens 310 on the subject, and further performs a photometry process to determine an aperture value and a shutter speed. Distance measurement / photometry processing is performed (step S114). In the photometric process, the flash is set if necessary. Details of the distance measurement / photometry processing will be described later.

続くステップS115では、システム制御回路50は、水平ダークシェーディング補正に用いられる1次元補正データを不揮発性メモリ56から読み出し、メモリ30の所定領域に展開する。この補正データの展開終了後、ステップS116の処理に移行する。   In subsequent step S <b> 115, the system control circuit 50 reads the one-dimensional correction data used for the horizontal dark shading correction from the nonvolatile memory 56 and develops it in a predetermined area of the memory 30. After the development of the correction data is completed, the process proceeds to step S116.

ここで、水平ダークシェーディング補正或いは黒引き補正による本画像の補正の概念図を図6に示す。同図に示すように、水平ダークシェーディング補正では、ステップS115で展開した1次元補正データ(水平1ラインデータ601)を各水平ライン毎に繰り返し減算することで、本画像600から水平方向の回路系ノイズ、即ち固定パターンノイズを除去した補正後の画像602を得ることが出来る。黒画像603による黒引き補正については後述する。   Here, FIG. 6 shows a conceptual diagram of correction of the main image by horizontal dark shading correction or blackening correction. As shown in the figure, in the horizontal dark shading correction, the one-dimensional correction data (horizontal one line data 601) developed in step S115 is repeatedly subtracted for each horizontal line, so that a horizontal circuit system from the main image 600 is obtained. It is possible to obtain a corrected image 602 from which noise, that is, fixed pattern noise is removed. Blackening correction by the black image 603 will be described later.

そして、シャッタースイッチSW2が押されているか否かを判別し(ステップS116)、シャッタースイッチSW2が押されていない場合、シャッタースイッチSW1が離されたか否かを判別し(ステップS117)、シャッタースイッチSW1が離されるかシャッタースイッチSW2が押されるまで、ステップS116及びステップS117の処理を繰り返す。ステップS117でシャッタースイッチSW1が離された場合、ステップS102の処理に移行する。   Then, it is determined whether or not the shutter switch SW2 is pressed (step S116). If the shutter switch SW2 is not pressed, it is determined whether or not the shutter switch SW1 is released (step S117), and the shutter switch SW1. Steps S116 and S117 are repeated until is released or the shutter switch SW2 is pressed. If the shutter switch SW1 is released in step S117, the process proceeds to step S102.

一方、ステップS116でシャッタースイッチSW2が押された場合には、システム制御回路50は、撮影した画像データの記憶可能な画像記憶バッファ領域がメモリ30にあるか否かを判別する(ステップS118)。メモリ30の画像記憶バッファ領域内に新たな画像データの記憶可能な領域がないと判別された場合、表示部54による画像の表示や音声の出力により所定の警告を行った後(ステップS119)、ステップS102の処理に戻る。画像記憶バッファ領域内に新たな画像データの記憶可能な領域がない場合としては、例えば、メモリ30の画像記憶バッファ領域内に記憶可能な最大枚数の連写撮影を行った直後であり、メモリ30から読み出して記憶媒体200、210に書き込むべき最初の画像がまだ記憶媒体200、210に未記録な状態であり、まだ1枚の空き領域もメモリ30の画像記憶バッファ領域上に確保できない状態である場合などである。   On the other hand, when the shutter switch SW2 is pressed in step S116, the system control circuit 50 determines whether or not the memory 30 has an image storage buffer area capable of storing captured image data (step S118). When it is determined that there is no area where new image data can be stored in the image storage buffer area of the memory 30, a predetermined warning is given by displaying an image on the display unit 54 or outputting sound (step S119). The process returns to step S102. The case where there is no area where new image data can be stored in the image storage buffer area is, for example, immediately after the maximum number of continuous shots that can be stored in the image storage buffer area of the memory 30 is taken. The first image to be read from and written to the storage media 200 and 210 is still unrecorded in the storage media 200 and 210, and one free area cannot be secured in the image storage buffer area of the memory 30 yet. Such as the case.

尚、撮影した画像データを圧縮処理してからメモリ30の画像記憶バッファ領域に記憶する場合、圧縮した後の画像データ量が圧縮モードの設定に応じて異なることを考慮して、記憶可能な領域がメモリ30の画像記憶バッファ領域上にあるか否かをステップS118の処理で判断することになる。   Note that when the captured image data is compressed and stored in the image storage buffer area of the memory 30, the area that can be stored in consideration of the fact that the amount of compressed image data varies depending on the compression mode setting. Is in the image storage buffer area of the memory 30 in the process of step S118.

一方、ステップS118でメモリ30に撮影した画像データの記憶可能な画像記憶バッファ領域があると判別された場合、システム制御回路50は、撮像して所定時間蓄積した撮像信号を撮像素子14から読み出し、A/D変換器16、画像処理回路20及びメモリ制御回路22を介して、或いはA/D変換器16から直接、メモリ制御回路22を介して、メモリ30の所定領域に撮影した画像データを書き込む撮影処理を実行する(ステップS120)。この撮影処理の詳細については、後述する。   On the other hand, if it is determined in step S118 that there is an image storage buffer area capable of storing the image data captured in the memory 30, the system control circuit 50 reads out the imaging signal that has been captured and accumulated for a predetermined time from the imaging element 14, and The photographed image data is written in a predetermined area of the memory 30 via the A / D converter 16, the image processing circuit 20 and the memory control circuit 22, or directly from the A / D converter 16 via the memory control circuit 22. An imaging process is executed (step S120). Details of this photographing process will be described later.

ステップS120の撮影処理を終えると、システム制御回路50は、メモリ30に書き込まれた画像データのうち、撮像素子14のダーク出力レベル(以降DL)検出領域に相当するデータからDLを算出する(ステップS121)。DL検出領域は、撮像素子14のうち遮光されて光の入射しない領域(遮光領域)の全体または一部である。図7は、撮像素子14の画素領域700を模式的に表した図である。同図では、開口領域702と水平方向に隣り合った遮光領域702にDL検出領域703を設けているが、垂直方向に隣り合った遮光領域でも構わない。また、DLの算出方法はどのようなものでも良いが、ここではDL検出領域のデータの平均値とする。このDLは、長秒撮影時において信号中の暗電流成分の増加に伴って増大する。特に高温下においては、暗電流の発生量が大きくなるため、より顕著に増大する。また、電荷蓄積時間や環境温度といった撮影条件が同じであれば、暗電流量自体はISO感度設定によらず同程度であるが、高感度の場合(例えばISO1600のような)には信号中の暗電流成分が他の成分と共に増幅されるため、長秒撮影時のDLは低感度の場合に比べて大きくなる。   When the photographing process in step S120 is completed, the system control circuit 50 calculates DL from data corresponding to the dark output level (hereinafter referred to as DL) detection area of the image sensor 14 among the image data written in the memory 30 (step S120). S121). The DL detection area is the whole or a part of a light-shielded area (light-shielded area) in the image sensor 14 where light is not incident. FIG. 7 is a diagram schematically illustrating the pixel region 700 of the image sensor 14. Although the DL detection region 703 is provided in the light shielding region 702 adjacent to the opening region 702 in the horizontal direction in the figure, the light shielding region adjacent to the vertical direction may be used. Any DL calculation method may be used, but here, the average value of data in the DL detection area is used. This DL increases as the dark current component in the signal increases during long-second imaging. In particular, at a high temperature, the amount of dark current generated increases, and therefore increases more remarkably. Further, if the photographing conditions such as the charge accumulation time and the environmental temperature are the same, the dark current amount itself is the same regardless of the ISO sensitivity setting, but in the case of high sensitivity (such as ISO 1600), Since the dark current component is amplified together with the other components, the DL at the time of long-second shooting becomes larger than that in the case of low sensitivity.

続くステップS122では、システム制御回路50は、DLを所定値DLtと比較し、DLがDLt未満である場合には直ちにステップS124の処理に移行する。したがって、この場合にはダーク取り込み処理がなされず、ステップS124の現像処理において、ステップS120で取り込まれた画像データは水平ダークシェーディング補正データにより補正されることになる。DLが小さい場合は暗電流が小さく、固定パターンノイズ等の暗電流以外のノイズ成分が支配的であり、水平ダークシェーディング補正データで充分な補正が可能である。   In subsequent step S122, the system control circuit 50 compares DL with a predetermined value DLt. If DL is less than DLt, the system control circuit 50 immediately proceeds to processing in step S124. Therefore, in this case, the dark capturing process is not performed, and the image data captured in step S120 is corrected by the horizontal dark shading correction data in the developing process in step S124. When DL is small, dark current is small, and noise components other than dark current such as fixed pattern noise are dominant, and sufficient correction is possible with horizontal dark shading correction data.

一方、DLが大きな場合は暗電流が大きく、微小なキズによる画素欠損や暗電流ムラ等の暗電流に起因するノイズ成分が無視できなくなり、水平ダークシェーディング補正データでは充分な補正が不可能となる。そこで、ステップS122でDLが所定値以上である場合、システム制御回路50はシャッター12を閉じた状態で撮像素子14の暗電流によるノイズ成分を本撮影と同じ時間蓄積し、蓄積を終えたノイズ画像信号を読み出すダーク取り込み処理(ダーク画像撮影)を行い(ステップS123)、ステップS124の処理に移行する。   On the other hand, when DL is large, the dark current is large, and noise components caused by dark current such as pixel defects due to minute flaws and dark current unevenness cannot be ignored, and horizontal dark shading correction data cannot be sufficiently corrected. . Therefore, if DL is greater than or equal to a predetermined value in step S122, the system control circuit 50 accumulates the noise component due to the dark current of the image sensor 14 for the same time as the main photographing with the shutter 12 closed, and the noise image that has been accumulated. A dark capturing process (dark image capturing) for reading a signal is performed (step S123), and the process proceeds to step S124.

ステップS124において、システム制御回路50は、メモリ30の所定領域に書き込まれた画像データの一部をメモリ制御回路22を介して読み出して現像処理を行うために必要なWB(ホワイトバランス)積分演算処理、OB(オプティカルブラック)積分演算処理を行い、演算結果をシステム制御回路50の内部メモリ或いはメモリ52に記憶する。そして、システム制御回路50は、メモリ制御回路22、必要に応じて画像処理回路20を用いて、メモリ30の所定領域に書き込まれた撮影画像データを読み出し、システム制御回路50の内部メモリ或いはメモリ52に記憶した演算結果を用いて、AWB(オートホワイトバランス)処理、ガンマ変換処理、及び色変換処理を含む各種現像処理を行う。   In step S124, the system control circuit 50 reads a part of the image data written in the predetermined area of the memory 30 via the memory control circuit 22 and performs a WB (white balance) integration calculation process necessary for development processing. , OB (optical black) integration calculation processing is performed, and the calculation result is stored in the internal memory or the memory 52 of the system control circuit 50. The system control circuit 50 reads the captured image data written in a predetermined area of the memory 30 using the memory control circuit 22 and, if necessary, the image processing circuit 20, and stores the internal memory or the memory 52 of the system control circuit 50. Are used to perform various development processes including AWB (auto white balance) processing, gamma conversion processing, and color conversion processing.

この現像処理では、ダーク取り込み処理(ステップS123)を行った場合にはそのダーク画像データを用いて、逆にダーク取り込み処理を行わなかった場合にはステップS115で展開した水平ダークシェーディング補正データを用いて減算処理を行うことにより、撮像素子14の固定パターンノイズや暗電流ノイズ等を打ち消すダーク補正演算処理を併せて行う。   In this development process, the dark image data is used when the dark capturing process (step S123) is performed, and the horizontal dark shading correction data developed in step S115 is used when the dark capturing process is not performed. By performing the subtraction process, dark correction calculation processing for canceling fixed pattern noise, dark current noise, and the like of the image sensor 14 is also performed.

このように、水平ダークシェーディング補正データを用いて補正演算処理を行う場合には、撮像素子14で発生する水平方向の固定パターンノイズによる画質劣化に対して、撮影時のダーク取り込み処理を行うことなく補正ができる。また、ダーク取り込み処理で取り込んだダーク画像データを用いて補正演算処理を行う場合、撮像素子14で発生する水平方向の固定パターンノイズは勿論、撮像素子14固有の微小なキズによる画素欠損、暗電流ムラ等の暗電流に起因するノイズによる画質劣化に対し、撮影した画像データを補正することができる。   As described above, when the correction calculation process is performed using the horizontal dark shading correction data, the dark capturing process at the time of shooting is not performed with respect to the image quality deterioration due to the horizontal fixed pattern noise generated in the image sensor 14. Can be corrected. Further, when the correction calculation process is performed using the dark image data captured in the dark capture process, not only the horizontal fixed pattern noise generated in the image sensor 14 but also the pixel defect or dark current due to the minute scratch inherent in the image sensor 14. The captured image data can be corrected for image quality deterioration due to noise caused by dark current such as unevenness.

システム制御回路50は、メモリ30の所定領域に書き込まれた画像データを読み出して、設定されたモードに応じた画像圧縮処理を圧縮・伸長回路32により行い、メモリ30の画像記憶バッファ領域の空き画像部分に、撮影して一連の処理を終えた画像データの書き込みを行う(ステップS125)。   The system control circuit 50 reads out the image data written in a predetermined area of the memory 30, performs image compression processing according to the set mode by the compression / decompression circuit 32, and free images in the image storage buffer area of the memory 30. The image data that has been photographed and completed a series of processing is written into the portion (step S125).

そして、システム制御回路50は、メモリ30の画像記憶バッファ領域に記憶された画像データを読み出し、インターフェース90、94及びコネクタ92、96を介して、メモリカードやコンパクトフラッシュ(登録商標)カード等の記録媒体200、210に読み出した画像データを書き込む記録処理を開始する(ステップS126)。この記録開始処理は、メモリ30の画像記憶バッファ領域の空き画像部分に、撮影して一連の処理を終えた画像データの書き込みが新たに行われる度に、その画像データに対して実行される。   Then, the system control circuit 50 reads the image data stored in the image storage buffer area of the memory 30 and records it on a memory card, a compact flash (registered trademark) card or the like via the interfaces 90 and 94 and the connectors 92 and 96. Recording processing for writing the read image data on the media 200 and 210 is started (step S126). This recording start process is performed on the image data every time new image data that has been shot and finished a series of processes is newly written in the empty image portion of the image storage buffer area of the memory 30.

尚、記録媒体200、201に画像データの書き込みを行っている間、書き込み動作中であることを示すために、表示部54に例えばLEDを点滅させる等の記録媒体書き込み動作表示を行う。   Note that while the image data is being written to the recording media 200 and 201, a recording medium writing operation display such as blinking an LED is performed on the display unit 54 to indicate that the writing operation is being performed.

さらに、システム制御回路50は、シャッタースイッチSW1が押されているか否かを判別する(ステップS127)。シャッタースイッチSW1が離された状態である場合、ステップS102の処理に戻る。一方、シャッタースイッチSW1が押された状態である場合、システム制御回路50の内部メモリ或いはメモリ52に記憶された単写/連写フラグの状態を判別し(ステップS128)、単写が設定されていた場合、ステップS127の処理に戻り、シャッタースイッチSW1が離されるまで現在の処理を繰り返す。一方、連写が設定されていた場合、連続して撮影を行うために、ステップS116の処理に戻り、次の撮影に備える。これにより、撮影に関する一連の処理が終了する。   Further, the system control circuit 50 determines whether or not the shutter switch SW1 is pressed (step S127). If the shutter switch SW1 is released, the process returns to step S102. On the other hand, when the shutter switch SW1 is pressed, the state of the single / continuous shooting flag stored in the internal memory of the system control circuit 50 or the memory 52 is determined (step S128), and single shooting is set. If it is, the process returns to step S127, and the current process is repeated until the shutter switch SW1 is released. On the other hand, if continuous shooting has been set, in order to perform continuous shooting, the process returns to step S116 to prepare for the next shooting. As a result, a series of processing relating to photographing is completed.

図8は、図5のステップS114における測距・測光処理手順を示すフローチャートである。   FIG. 8 is a flowchart showing the distance measurement / photometry processing procedure in step S114 of FIG.

この測距・測光処理において、システム制御回路50と、絞り制御部340或いは測距制御部342との間の各種信号のやり取りは、インターフェース120、コネクタ122、コネクタ322、インターフェース320及びレンズシステム制御回路350を介して行われる。   In this distance measurement / photometry processing, the exchange of various signals between the system control circuit 50 and the aperture control unit 340 or the distance measurement control unit 342 includes an interface 120, a connector 122, a connector 322, an interface 320, and a lens system control circuit. 350.

システム制御回路50は、撮像素子14、測距制御部42及び測距制御部342を用いて、AF(オートフォーカス)処理を開始する(ステップS201)。   The system control circuit 50 starts an AF (autofocus) process using the image sensor 14, the distance measurement control unit 42, and the distance measurement control unit 342 (step S201).

システム制御回路50は、撮影レンズ310に入射した光線を、絞り312、レンズマウント306、106、ミラー130及び測距用サブミラー(図示せず)を介して、測距制御部42に入射させることにより、光学像として結像された画像の合焦状態を判断し、測距(AF)が合焦と判断されるまで、測距制御部342を用いて撮影レンズ310を駆動しながら、測距制御部42を用いて合焦状態を検出するAF制御を実行する(ステップS202、S203)。   The system control circuit 50 causes the light beam incident on the photographing lens 310 to enter the distance measurement control unit 42 via the aperture 312, the lens mounts 306 and 106, the mirror 130, and the distance measurement sub mirror (not shown). Then, the focusing state of the image formed as an optical image is determined, and ranging control is performed while driving the photographic lens 310 using the ranging control unit 342 until ranging (AF) is determined to be in focus. The AF control for detecting the in-focus state using the unit 42 is executed (steps S202 and S203).

ステップS203で測距(AF)が合焦と判断された場合、システム制御回路50は、撮影画面内の複数の測距点から合焦した測距点を決定し、決定した測距点データと共に測距データ及び/または設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶する(ステップS204)。   When it is determined in step S203 that ranging (AF) is in focus, the system control circuit 50 determines a focusing point from a plurality of ranging points in the shooting screen, and together with the determined ranging point data. Ranging data and / or setting parameters are stored in the internal memory of the system control circuit 50 or the memory 52 (step S204).

続いて、システム制御回路50は、測光制御部46を用いてAE(自動露出)処理を開始する(ステップS205)。システム制御回路50は、撮影レンズ310に入射した光線を、絞り312、レンズマウント306、106、ミラー130、132及び測光用レンズ(図示せず)を介して、測光制御部46に入射させることにより、光学像として結像された画像の露出状態を測定し、露出(AE)が適正と判断されるまで露光(シャッター)制御部40を用いて測光処理を行う(ステップS206、S207)。   Subsequently, the system control circuit 50 starts an AE (automatic exposure) process using the photometry control unit 46 (step S205). The system control circuit 50 causes the light beam incident on the photographing lens 310 to enter the photometric control unit 46 via the aperture 312, the lens mounts 306 and 106, the mirrors 130 and 132, and the photometric lens (not shown). Then, the exposure state of the image formed as an optical image is measured, and photometric processing is performed using the exposure (shutter) control unit 40 until it is determined that the exposure (AE) is appropriate (steps S206 and S207).

ステップS207で露出(AE)が適正であると判断された場合、システム制御回路50は、測光データ及び/または設定パラメータをシステム制御回路50の内部メモリ或いはメモリ52に記憶する(ステップS208)。尚、ステップS206の測光処理で検出した露出(AE)結果と、モードダイアルスイッチ60によって設定された撮影モードとに応じて、システム制御回路50では絞り値(Av値)及びシャッター速度(Tv値)が決定される。   If it is determined in step S207 that the exposure (AE) is appropriate, the system control circuit 50 stores the photometric data and / or setting parameters in the internal memory of the system control circuit 50 or the memory 52 (step S208). The system control circuit 50 determines the aperture value (Av value) and the shutter speed (Tv value) according to the exposure (AE) result detected by the photometric processing in step S206 and the shooting mode set by the mode dial switch 60. Is determined.

ここで、決定されたシャッター速度(Tv値)に応じて、システム制御回路50は、撮像素子14の電荷蓄積時間を決定し、この決定された同じ電荷蓄積時間で撮影処理及びダーク取り込み処理をそれぞれ行う。   Here, in accordance with the determined shutter speed (Tv value), the system control circuit 50 determines the charge accumulation time of the image sensor 14, and performs the photographing process and the dark capturing process with the determined same charge accumulation time. Do.

その後、ステップS206の測光処理で得られた測定データにより、システム制御回路50はフラッシュが必要であるか否かを判別し(ステップS209)、フラッシュが必要である場合、フラッシュフラグをセットし、充電が完了するまでフラッシュ部48を充電する(ステップS210、S211)。そして、フラッシュ部48の充電が完了すると、本処理を終了してメインの処理に復帰する。   Thereafter, the system control circuit 50 determines whether or not flashing is necessary based on the measurement data obtained by the photometric processing in step S206 (step S209). If flashing is necessary, the flash flag is set and charging is performed. The flash unit 48 is charged until is completed (steps S210 and S211). Then, when the charging of the flash unit 48 is completed, this process is terminated and the process returns to the main process.

図9は、図5のステップS120における撮影処理手順を示すフローチャートである。   FIG. 9 is a flowchart showing the photographing processing procedure in step S120 of FIG.

この撮影処理において、システム制御回路50と、絞り制御部340或いは測距制御部342との間の各種信号のやり取りは、インターフェース120、コネクタ122、コネクタ322、インターフェース320及びレンズシステム制御回路350を介して行われる。   In this photographing process, various signals are exchanged between the system control circuit 50 and the aperture control unit 340 or the distance measurement control unit 342 via the interface 120, the connector 122, the connector 322, the interface 320, and the lens system control circuit 350. Done.

システム制御回路50は、ミラー130をミラー駆動部(図示せず)によってミラーアップ位置に移動させ(ステップS301)、システム制御回路50の内部メモリ或いはメモリ52に記憶された測光データに従い、絞り制御部340によって絞り312を所定の絞り値まで駆動する(ステップS302)。   The system control circuit 50 moves the mirror 130 to the mirror up position by a mirror drive unit (not shown) (step S301), and according to the photometric data stored in the internal memory or the memory 52 of the system control circuit 50, the aperture control unit The diaphragm 312 is driven to a predetermined diaphragm value by 340 (step S302).

システム制御回路50は、撮像素子14の電荷クリア動作を行った後(ステップS303)、撮像素子14の電荷蓄積を開始し(ステップS304)、シャッター制御部40によってシャッター12を開き(ステップS305)、撮像素子14の露光を開始する(ステップS306)。そして、フラッシュフラグによりフラッシュ部48が必要であるか否かを判別し(ステップS307)、必要である場合、フラッシュ部48を発光させる(ステップS308)。   After performing the charge clear operation of the image sensor 14 (step S303), the system control circuit 50 starts charge accumulation of the image sensor 14 (step S304), and opens the shutter 12 by the shutter control unit 40 (step S305). Exposure of the image sensor 14 is started (step S306). Then, it is determined whether or not the flash unit 48 is necessary based on the flash flag (step S307), and if necessary, the flash unit 48 is caused to emit light (step S308).

システム制御回路50は、測光データに従って撮像素子14の露光終了を待ち(ステップS309)、露光が終了すると、シャッター制御部40によってシャッター12を閉じ(ステップS310)、撮像素子14の露光を終了する。続いて、システム制御回路50は、絞り制御部340によって絞り312を開放の絞り値まで駆動し(ステップS311)、ミラー130をミラー駆動部(図示せず)によってミラーダウン位置に移動させる(ステップS312)。   The system control circuit 50 waits for the exposure of the image sensor 14 to end according to the photometric data (step S309). When the exposure ends, the shutter control unit 40 closes the shutter 12 (step S310) and ends the exposure of the image sensor 14. Subsequently, the system control circuit 50 drives the aperture 312 to the open aperture value by the aperture controller 340 (step S311), and moves the mirror 130 to the mirror down position by the mirror driver (not shown) (step S312). ).

そして、設定した電荷蓄積時間が経過したか否かを判別し(ステップS313)、設定した電荷蓄積時間が経過した場合、システム制御回路50は、撮像素子14の電荷蓄積を終了した後(ステップS314)、撮像素子14から電荷信号を読み出し、A/D変換器16、画像処理回路20及びメモリ制御回路22を介して、或いはA/D変換器16から直接、メモリ制御回路22を介してメモリ30の所定領域に撮影画像データを書き込む(ステップS315)。一連の処理を終了すると、本処理を終了してメインの処理に復帰する。   Then, it is determined whether or not the set charge accumulation time has elapsed (step S313). If the set charge accumulation time has elapsed, the system control circuit 50 ends the charge accumulation of the image sensor 14 (step S314). ), A charge signal is read from the image sensor 14, and the memory 30 is connected via the A / D converter 16, the image processing circuit 20 and the memory control circuit 22, or directly from the A / D converter 16 via the memory control circuit 22. The photographed image data is written in the predetermined area (step S315). When the series of processes is completed, the present process is terminated and the process returns to the main process.

図10は、図5のステップS123におけるダーク取り込み処理手順を示すフローチャートである。   FIG. 10 is a flowchart showing the dark capture processing procedure in step S123 of FIG.

システム制御回路50は、撮像素子14の電荷クリア動作を行った後(ステップS401)、シャッター12が閉じた状態で撮像素子14の電荷蓄積を開始する(ステップS402)。そして、設定した所定の電荷蓄積時間が経過したか否かを判別する(ステップS403)。   After performing the charge clear operation of the image sensor 14 (step S401), the system control circuit 50 starts charge accumulation in the image sensor 14 with the shutter 12 closed (step S402). Then, it is determined whether or not the set predetermined charge accumulation time has elapsed (step S403).

電荷蓄積時間が経過した場合、システム制御回路50は、撮像素子14の電荷蓄積を終了した後(ステップS404)、撮像素子14から電荷信号を読み出し、A/D変換器16、画像処理回路20及びメモリ制御回路22を介して、或いはA/D変換器16から直接、メモリ制御回路22を介して、メモリ30の所定領域に画像データ(ダーク画像データ)を書き込む(ステップS405)。このダーク画像データは、先に撮影処理が実行され、撮影された画像データを撮像素子14から読み出してメモリ30に書き込んである状態で、現像処理を行う際に用いられる。   When the charge accumulation time has elapsed, the system control circuit 50 reads the charge signal from the image sensor 14 after completing the charge accumulation of the image sensor 14 (step S404), and the A / D converter 16, the image processing circuit 20, and Image data (dark image data) is written into a predetermined area of the memory 30 via the memory control circuit 22 or directly from the A / D converter 16 via the memory control circuit 22 (step S405). The dark image data is used when the development process is performed in a state where the shooting process is executed first and the shot image data is read from the image sensor 14 and written in the memory 30.

このダーク画像データを用いて現像処理を行うことにより、撮像素子14で発生する暗電流ノイズや、撮像素子14固有のキズによる画素欠損等の画質劣化に対し、撮影した画像データを補正することが可能である。この後、本処理を終了してメインの処理に復帰する。   By performing development processing using this dark image data, it is possible to correct the captured image data against image quality degradation such as dark current noise generated in the image sensor 14 and pixel defects due to scratches inherent to the image sensor 14. Is possible. Thereafter, this process is terminated and the process returns to the main process.

尚、本実施形態においては、本撮影処理(ステップS120)の電荷蓄積時間(Ts)とダーク取り込み処理の電荷蓄積時間(Td)を等しくする場合を示している。この場合、例えば30秒撮影では、撮影者は本撮影処理後、ダーク取り込み処理のため再び30秒間待たなければならず、そのために次のシャッターチャンスを逃してしまう可能性がある。Tdは暗電流ノイズ等を補正するのに十分なデータが得られる範囲内であればよいわけであるから、このような撮影者にとっての待ち時間を少しでも軽減するため、Tsとは異なる電荷蓄積時間としてもよい。   In the present embodiment, the charge accumulation time (Ts) of the main photographing process (step S120) and the charge accumulation time (Td) of the dark capturing process are made equal. In this case, for example, in 30-second shooting, the photographer must wait for 30 seconds again for the dark capturing process after the main shooting process, which may cause the next photo opportunity to be missed. Since Td need only be within a range where sufficient data for correcting dark current noise or the like can be obtained, in order to reduce the waiting time for such a photographer, charge accumulation different from Ts is required. It may be time.

このとき、DLの値に応じてTdをTsよりも短くするようにしてもよい。例えば、DLに2つの閾値DLt1、DLt2(DLt1<DLt2)を設け、DLがDLt1以上DLt2未満の場合には
Td=Ts×(DL−DLt1)/(DLt2−DLt1)
とする。即ち、
(1)DL<DLt1 → ダーク取り込み処理をしない
(2)DLt1≦DL<DLt2 → DLの程度に応じたダーク取り込み
(3)DL≧DLt2 → 撮影処理と同じ時間だけダーク取り込み
という処理を行うことになる。
At this time, Td may be shorter than Ts according to the value of DL. For example, when two threshold values DLt1 and DLt2 (DLt1 <DLt2) are provided in DL, and DL is DLt1 or more and less than DLt2, Td = Ts × (DL-DLt1) / (DLt2-DLt1)
And That is,
(1) DL <DLt1 → Do not perform dark capture processing (2) DLt1 ≦ DL <DLt2 → Dark capture according to the degree of DL (3) DL ≧ DLt2 → Perform dark capture processing for the same time as imaging processing Become.

前記(2)の領域は、前記(1)の領域に比べれば信号中の暗電流成分が増加しているが、それほど顕著ではないため、撮影処理よりも短い電荷蓄積時間のダーク画像データで補正しても充分な画質を得ることが出来る。   In the area (2), the dark current component in the signal is increased as compared with the area (1), but since it is not so remarkable, it is corrected with dark image data having a shorter charge accumulation time than the imaging process. Even so, it is possible to obtain sufficient image quality.

以上のように本実施形態によれば、シャッターレリーズ動作の即時性を妨げる要因となるダーク画像撮影を、本来それが必要な暗電流が大きい撮影条件下にのみ限定して行うことができ、それ以外の条件下においては不要なダーク画像撮影を行わず軽快なカメラ動作を実現することが可能となる。即ち、画像の補正方法選択の最適化が可能となる。   As described above, according to the present embodiment, it is possible to perform dark image shooting that is a factor that impedes the immediacy of the shutter release operation only under shooting conditions with a large dark current that is originally required. Under the conditions other than the above, it is possible to realize a light camera operation without performing unnecessary dark image capturing. In other words, the image correction method selection can be optimized.

また、実際に撮影した画像データから黒引きを行う必要があるか否かを判定するため、撮像素子の暗電流発生量の個体差も含めて補正方法の選択を最適化できる。   In addition, since it is determined whether it is necessary to perform blacking from actually captured image data, it is possible to optimize the selection of a correction method including individual differences in the amount of dark current generated by the image sensor.

このように、ダーク画像撮影が実際に必要な条件を的確に判定し、シャッターレリーズタイムラグの原因となるダーク画像撮影を極力減らしつつ、画質の劣化を防止することができる。   In this way, it is possible to accurately determine conditions actually required for dark image shooting, and to prevent deterioration of image quality while minimizing dark image shooting that causes a shutter release time lag.

本発明は、これら実施形態の構成に限られるものではなく、特許請求の範囲で示した機能、または実施形態の構成が持つ機能が達成できる構成であればどのようなものであっても適用可能である。   The present invention is not limited to the configurations of these embodiments, and can be applied to any configuration that can achieve the functions shown in the claims or the functions of the configurations of the embodiments. It is.

例えば、上記実施形態では、水平ダークシェーディング補正を行う場合、補正データをメモリ30に展開していたが、この展開処理を行わずに、撮像素子14から画像データを取り込みながら順次、本画像から補正データを減算していくように補正することも可能である。   For example, in the above embodiment, when horizontal dark shading correction is performed, correction data is expanded in the memory 30. However, without performing this expansion processing, correction is performed sequentially from the main image while capturing image data from the image sensor 14. It is also possible to correct so that the data is subtracted.

また、本実施形態では、水平ダークシェーディング補正データの展開処理(ステップS115)は、シャッタースイッチSW1が押された後に行われるとしたが、カメラの電源投入時に補正データが展開されるようにしてもよい。   In this embodiment, the horizontal dark shading correction data expansion process (step S115) is performed after the shutter switch SW1 is pressed. However, the correction data may be expanded when the camera is turned on. Good.

さらに、補正データは水平方向の1次元データであるとしたが、垂直方向の1次元データ或いは2次元データであっても構わない。また、2次元の画像全体のデータでなくとも、図11に示すように、水平・垂直それぞれの方向の1次元データ601,605を両方記憶しておき、補正データの展開処理(ステップS115)では、水平方向の1次元データ601を展開する際、垂直方向の1次元データ605を用いてライン毎に補正量を加減することで、水平・垂直両方向のダークシェーディングを補正することができる。   Further, although the correction data is one-dimensional data in the horizontal direction, it may be one-dimensional data or two-dimensional data in the vertical direction. Further, as shown in FIG. 11, both the one-dimensional data 601 and 605 in the horizontal and vertical directions are stored, and the correction data developing process (step S115) is not the data of the entire two-dimensional image. When developing the one-dimensional data 601 in the horizontal direction, the dark shading in both the horizontal and vertical directions can be corrected by adjusting the correction amount for each line using the one-dimensional data 605 in the vertical direction.

この場合、さらに、垂直方向に関しては、1次元の補正データとして記憶しなくても、数式として記憶しておき、水平方向の1次元データを展開する際、この数式を適用して垂直方向のダークシェーディングを補正するようにしてもよい。   In this case, the vertical direction is further stored as a mathematical formula without being stored as one-dimensional correction data. When developing the one-dimensional data in the horizontal direction, this formula is applied to darkness in the vertical direction. You may make it correct | amend shading.

また、上記実施形態では、補正データは、生産工程において調整時に作成され、不揮発性メモリ56に記憶されていたが、使用者などが任意の時期に、ダーク画像撮影を行って得られた画像を射影演算することにより作成され、記憶されるようにしてもよい。或いは、カメラの電源投入時やISO感度などの設定変更時に作成されるようにしてもよい。   Further, in the above embodiment, the correction data is created at the time of adjustment in the production process and stored in the nonvolatile memory 56. However, an image obtained by photographing a dark image at any time by a user or the like can be obtained. It may be created and stored by performing a projection operation. Alternatively, it may be created when the camera is turned on or when the ISO sensitivity is changed.

また逆に、DLが閾値DLt未満であり黒引きを行わない場合には、水平ダークシェーディング補正のような補正も行わないようにしてもよい。回路系ノイズである固定パターンノイズが少ない撮像素子を用いる場合には、水平ダークシェーディング補正のような補正も不要であり、補正動作を行わない方がシステム制御回路50に加わる負荷も軽減される。このとき、ステップS124では、その他の現像処理(AWB処理、ガンマ変換処理等)が行われ、次のステップへと移行することになる。   Conversely, when DL is less than the threshold value DLt and blacking is not performed, correction such as horizontal dark shading correction may not be performed. When using an image sensor with little fixed pattern noise, which is circuit system noise, correction such as horizontal dark shading correction is not necessary, and the load applied to the system control circuit 50 is reduced when the correction operation is not performed. At this time, in step S124, other development processing (AWB processing, gamma conversion processing, etc.) is performed, and the process proceeds to the next step.

さらに、上記実施形態では、単写/連写の切り替えを単写/連写スイッチ68を用いて行う場合を示したが、モードダイアル60における動作モード選択に応じて、単写/連写の切り替えを行う構成としてもよい。   Further, in the above embodiment, the case of switching between single shooting / continuous shooting using the single shooting / continuous shooting switch 68 has been shown, but switching between single shooting / continuous shooting according to the operation mode selection in the mode dial 60. It is good also as composition which performs.

また、ステップS123のダーク取り込み処理動作の実行中、撮影動作を行うことができないので、表示部54及び/または画像表示部28によって、画像処理装置100がビジー状態にあることを示す画像や音声を報知するようにしてもよい。   Further, since the photographing operation cannot be performed during the execution of the dark capture processing operation in step S123, an image or sound indicating that the image processing apparatus 100 is busy is displayed by the display unit 54 and / or the image display unit 28. You may make it alert | report.

また、本実施形態では、ミラー130をミラーアップ位置、ミラーダウン位置を移動して撮影動作を行う場合を示したが、ミラー130をハーフミラーの構成として、移動せずに撮影動作を行うようにしてもよい。   Further, in the present embodiment, the case where the photographing operation is performed by moving the mirror 130 between the mirror up position and the mirror down position has been described. However, the mirror 130 is configured as a half mirror so that the photographing operation is performed without moving. May be.

さらに、記録媒体200、210は、PCMCIAカードやコンパクトフラッシュ(登録商標)等のメモリカード、ハードディスク等だけでなく、マイクロDAT、光磁気ディスク、CD−R、CD−RW等の光ディスク、及びDVD等の相変化型光ディスク等で構成されていてもよい。さらには、記録媒体200、210がメモリカードとハードディスク等が一体となった複合媒体であってもよい。この場合、複合媒体から一部が着脱自在な構成であってもよい。   Furthermore, the recording media 200 and 210 are not only memory cards such as PCMCIA cards and compact flash (registered trademark), hard disks, but also micro DAT, magneto-optical disks, optical disks such as CD-R and CD-RW, DVDs, and the like. The phase change type optical disc or the like may be used. Furthermore, the recording media 200 and 210 may be composite media in which a memory card and a hard disk are integrated. In this case, a part of the composite medium may be detachable.

上記実施形態では、記録媒体200、210は画像処理装置100と分離しており、任意に接続可能なものであるとしたが、いずれか或いは全ての記録媒体が画像処理装置100に固定されたままであってもよい。また、画像処理装置100に、記録媒体200、210が単数或いは複数の任意の個数接続可能な構成であってもよい。   In the above embodiment, the recording media 200 and 210 are separated from the image processing apparatus 100 and can be arbitrarily connected. However, any or all of the recording media remain fixed to the image processing apparatus 100. There may be. Further, the image processing apparatus 100 may be configured such that a single or a plurality of recording media 200 and 210 can be connected.

上記実施形態では、図4、図5、及び図8〜図10のフローチャートに示すプログラムコードは例えば不揮発性メモリ56に格納されている。プログラムコードを供給する記憶媒体としては、不揮発メモリに限らず、例えばROM、フレキシブルディスク、ハードディスクなどを用いることができる。   In the above embodiment, the program codes shown in the flowcharts of FIGS. 4, 5, and 8 to 10 are stored in the nonvolatile memory 56, for example. The storage medium for supplying the program code is not limited to a nonvolatile memory, and for example, a ROM, a flexible disk, a hard disk, or the like can be used.

本発明は、上述した実施形態の装置に限定されず、複数の機器から構成されるシステムに適用しても、1つの機器から成る装置に適用してもよい。前述した実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体をシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、完成されることは言うまでもない。   The present invention is not limited to the apparatus of the above-described embodiment, and may be applied to a system composed of a plurality of devices or an apparatus composed of one device. A storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU or MPU) of the system or apparatus reads and executes the program codes stored in the storage medium. Needless to say, it will be completed by doing.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMを用いることができる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけではなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM is used. Can do. In addition, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the OS running on the computer based on the instruction of the program code performs the actual processing. Needless to say, a case where the function of the above-described embodiment is realized by performing part or all of the processing is also included.

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

実施の形態における電子カメラの構成を示すブロック図である。It is a block diagram which shows the structure of the electronic camera in embodiment. 図1の続きの図である。FIG. 2 is a continuation of FIG. 1. 水平及び垂直方向における固定パターンノイズの混入を説明する図である。It is a figure explaining mixing of fixed pattern noise in the horizontal and vertical directions. 画像処理装置100の撮影動作処理手順を示すフローチャートである。3 is a flowchart illustrating a shooting operation processing procedure of the image processing apparatus 100. 図4の続きのフローチャートである。FIG. 5 is a flowchart continued from FIG. 4. 黒引き或いは水平ダークシェーディング補正データによる本画像の補正を示す図である。It is a figure which shows the correction | amendment of this image by black drawing or horizontal dark shading correction data. 撮像素子14の画素領域の構成を示す図である。3 is a diagram illustrating a configuration of a pixel region of the image sensor 14. FIG. ステップS114における測距・測光処理手順を示すフローチャートである。It is a flowchart which shows the ranging / photometry processing procedure in step S114. ステップS120における撮影処理手順を示すフローチャートである。It is a flowchart which shows the imaging | photography process sequence in step S120. ステップS123におけるダーク取り込み処理手順を示すフローチャートである。It is a flowchart which shows the dark taking-in process procedure in step S123. 垂直・水平両方向の1次元データを用いた本画像の補正を示す図である。It is a figure which shows correction | amendment of this image using the one-dimensional data of the vertical and horizontal directions.

符号の説明Explanation of symbols

14 撮像素子
50 システム制御回路
56 不揮発性メモリ
60 モードダイアル
62 シャッタースイッチ(SW1)
64 シャッタースイッチ(SW2)
69 ISO感度設定スイッチ
100 画像処理装置
300 レンズユニット
14 Image sensor 50 System control circuit 56 Non-volatile memory 60 Mode dial 62 Shutter switch (SW1)
64 Shutter switch (SW2)
69 ISO sensitivity setting switch 100 Image processing apparatus 300 Lens unit

Claims (10)

光学像を電気信号に変換する撮像手段の非露光状態で電荷蓄積を行う第1の撮像モードで得られた第1の画像データを用い、前記撮像手段の露光状態で電荷蓄積を行う第2の撮像モードで得られた第2の画像データを補正することが可能な画像データ補正装置であって、
前記第2の画像データの遮光領域からダーク出力値を算出するダーク出力算出手段と、
前記ダーク出力算出手段により算出したダーク出力値が所定値以上であるか否かを判定する判定手段と、
前記判定手段によって前記ダーク出力値が所定値以上であると判定された場合に、前記第1の画像データを用いて前記第2の画像データを補正する補正手段とを備えたことを特徴とする画像データ補正装置。
Second charge accumulation is performed in the exposure state of the imaging means using the first image data obtained in the first imaging mode in which charge accumulation is performed in the non-exposure state of the imaging means for converting the optical image into an electrical signal. An image data correction apparatus capable of correcting the second image data obtained in the imaging mode,
Dark output calculation means for calculating a dark output value from the light shielding region of the second image data;
Determining means for determining whether the dark output value calculated by the dark output calculating means is a predetermined value or more;
And a correction unit that corrects the second image data using the first image data when the determination unit determines that the dark output value is equal to or greater than a predetermined value. Image data correction device.
前記ダーク出力算出手段により算出したダーク出力値に応じて、前記第1の撮像モードよる第1の画像データ取得時の電荷蓄積時間を変更する変更手段を備えたことを特徴とする請求項1に記載の画像データ補正装置。   The apparatus according to claim 1, further comprising a changing unit that changes a charge accumulation time at the time of acquiring the first image data in the first imaging mode according to the dark output value calculated by the dark output calculating unit. The image data correction apparatus described. 前記第2の画像データを補正するための補正用データとして、前記第1の画像データとは別の補正データを記憶した補正データ記憶手段と、
前記第1の撮像モードで得られた前記第1の画像データ及び前記補正データ記憶手段に記憶された前記補正データのいずれか一方を選択する選択手段とを備え、
前記補正手段は、
前記ダーク出力算出手段により算出したダーク出力値が所定値以上である場合には、前記選択手段によって第1の画像データを選択して、それに基づいて前記第2の画像データを補正し、前記ダーク出力値が所定値未満である場合には、前記選択手段によって前記補正データを選択して、それに基づいて前記第2の画像データを補正することを特徴とする請求項1または2に記載の画像データ補正装置。
Correction data storage means for storing correction data different from the first image data as correction data for correcting the second image data;
Selecting means for selecting one of the first image data obtained in the first imaging mode and the correction data stored in the correction data storage means;
The correction means includes
If the dark output value calculated by the dark output calculation means is greater than or equal to a predetermined value, the selection means selects first image data, corrects the second image data based on the first image data, and 3. The image according to claim 1, wherein when the output value is less than a predetermined value, the correction data is selected by the selection unit, and the second image data is corrected based thereon. Data correction device.
前記撮像手段は撮像素子で構成され、前記第1の撮像モードで得られる第1の画像データは、前記撮像素子の暗電流ノイズデータであり、
前記第2の撮像モードで得られる第2の画像データは、前記撮像素子で撮像された撮影画像データであり、
前記補正データは、前記撮像素子の回路系ノイズに相当する固定パターンノイズであることを特徴とする請求項1乃至3のいずれかに記載の画像データ補正装置。
The imaging means is composed of an imaging device, and the first image data obtained in the first imaging mode is dark current noise data of the imaging device,
The second image data obtained in the second imaging mode is captured image data captured by the imaging element,
4. The image data correction apparatus according to claim 1, wherein the correction data is fixed pattern noise corresponding to circuit system noise of the image sensor.
前記補正データは、前記第1の画像データを基に演算により得られたデータであることを特徴とする請求項4に記載の画像データ補正装置。   The image data correction apparatus according to claim 4, wherein the correction data is data obtained by calculation based on the first image data. 前記補正データは、前記第1の画像データを垂直方向に射影演算して得られる水平方向の一次元データであることを特徴とする請求項5に記載の画像データ補正装置。   6. The image data correction apparatus according to claim 5, wherein the correction data is one-dimensional data in a horizontal direction obtained by projecting the first image data in a vertical direction. 請求項1乃至6のいずれかに記載された画像データ補正装置と前記撮像手段を備えたことを特徴とする画像処理装置。   An image processing apparatus comprising the image data correction apparatus according to claim 1 and the imaging unit. 光学像を電気信号に変換する撮像手段の非露光状態で電荷蓄積を行う第1の撮像モードで得られた第1の画像データを用い、前記撮像工程の露光状態で電荷蓄積を行う第2の撮像モードで得られた第2の画像データを補正する画像データ補正方法であって、
前記第2の画像データの遮光領域からダーク出力値を算出するダーク出力算出工程と、
前記ダーク出力算出工程により算出したダーク出力値が所定値以上であるか否かを判定する判定工程と、
前記判定工程によって前記ダーク出力値が所定値以上であると判定された場合に、前記第1の画像データを用いて前記第2の画像データを補正する補正工程とを有することを特徴とする画像データ補正方法。
Second charge accumulation is performed in the exposure state of the imaging step using the first image data obtained in the first imaging mode in which charge accumulation is performed in the non-exposure state of the imaging means for converting the optical image into an electrical signal. An image data correction method for correcting second image data obtained in an imaging mode,
A dark output calculation step of calculating a dark output value from the light shielding region of the second image data;
A determination step of determining whether the dark output value calculated by the dark output calculation step is a predetermined value or more;
And a correction step of correcting the second image data using the first image data when the determination step determines that the dark output value is equal to or greater than a predetermined value. Data correction method.
光学像を電気信号に変換する撮像手段の非露光状態で電荷蓄積を行う第1の撮像モードで得られた第1の画像データを用い、前記撮像工程の露光状態で電荷蓄積を行う第2の撮像モードで得られた第2の画像データを補正する画像データ補正方法を実行するための、コンピュータで読み取り可能な制御プログラムであって、
前記第2の画像データの遮光領域からダーク出力値を算出するダーク出力算出ステップと、
前記ダーク出力算出ステップにより算出したダーク出力値が所定値以上であるか否かを判定する判定ステップと、
前記判定ステップによって前記ダーク出力値が所定値以上であると判定された場合に、前記第1の画像データを用いて前記第2の画像データを補正する補正ステップとを有することを特徴とする制御プログラム。
Second charge accumulation is performed in the exposure state of the imaging step using the first image data obtained in the first imaging mode in which charge accumulation is performed in the non-exposure state of the imaging means for converting the optical image into an electrical signal. A computer-readable control program for executing an image data correction method for correcting second image data obtained in an imaging mode,
A dark output calculation step of calculating a dark output value from the light-shielding region of the second image data;
A determination step of determining whether or not the dark output value calculated by the dark output calculation step is a predetermined value or more;
And a correction step of correcting the second image data using the first image data when the determination step determines that the dark output value is equal to or greater than a predetermined value. program.
請求項9記載の制御プログラムを記憶したことを特徴とする記憶媒体。   A storage medium storing the control program according to claim 9.
JP2003377091A 2003-11-06 2003-11-06 IMAGING DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND STORAGE MEDIUM Expired - Fee Related JP4411053B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003377091A JP4411053B2 (en) 2003-11-06 2003-11-06 IMAGING DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND STORAGE MEDIUM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003377091A JP4411053B2 (en) 2003-11-06 2003-11-06 IMAGING DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND STORAGE MEDIUM

Publications (2)

Publication Number Publication Date
JP2005142829A true JP2005142829A (en) 2005-06-02
JP4411053B2 JP4411053B2 (en) 2010-02-10

Family

ID=34687929

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003377091A Expired - Fee Related JP4411053B2 (en) 2003-11-06 2003-11-06 IMAGING DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND STORAGE MEDIUM

Country Status (1)

Country Link
JP (1) JP4411053B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007082097A (en) * 2005-09-16 2007-03-29 Sanyo Electric Co Ltd Noise reducer
JP2007300558A (en) * 2006-05-02 2007-11-15 Canon Inc Imaging apparatus and imaging method
JP2008022486A (en) * 2006-07-14 2008-01-31 Canon Inc Imaging apparatus and its control method
JP2009076978A (en) * 2007-09-18 2009-04-09 Fujifilm Corp Electronic camera and its photographing method
JP2010056868A (en) * 2008-08-28 2010-03-11 Canon Inc Imaging device and method for controlling the imaging device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05176236A (en) * 1991-12-20 1993-07-13 Sharp Corp Ccd image pickup circuit
JP2000125205A (en) * 1998-10-20 2000-04-28 Olympus Optical Co Ltd Digital camera
JP2003158680A (en) * 2001-11-20 2003-05-30 Fuji Photo Film Co Ltd Image pickup device
JP2003264736A (en) * 2002-03-08 2003-09-19 Canon Inc Image data correction device, image processor, image data correction method, program and storage medium
JP2003304420A (en) * 2002-04-12 2003-10-24 Sony Corp Apparatus and method for imaging

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05176236A (en) * 1991-12-20 1993-07-13 Sharp Corp Ccd image pickup circuit
JP2000125205A (en) * 1998-10-20 2000-04-28 Olympus Optical Co Ltd Digital camera
JP2003158680A (en) * 2001-11-20 2003-05-30 Fuji Photo Film Co Ltd Image pickup device
JP2003264736A (en) * 2002-03-08 2003-09-19 Canon Inc Image data correction device, image processor, image data correction method, program and storage medium
JP2003304420A (en) * 2002-04-12 2003-10-24 Sony Corp Apparatus and method for imaging

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007082097A (en) * 2005-09-16 2007-03-29 Sanyo Electric Co Ltd Noise reducer
JP2007300558A (en) * 2006-05-02 2007-11-15 Canon Inc Imaging apparatus and imaging method
JP2008022486A (en) * 2006-07-14 2008-01-31 Canon Inc Imaging apparatus and its control method
US8436923B2 (en) 2006-07-14 2013-05-07 Canon Kabushiki Kaisha Imaging apparatus having a function for estimating a dark current amount
JP2009076978A (en) * 2007-09-18 2009-04-09 Fujifilm Corp Electronic camera and its photographing method
JP2010056868A (en) * 2008-08-28 2010-03-11 Canon Inc Imaging device and method for controlling the imaging device

Also Published As

Publication number Publication date
JP4411053B2 (en) 2010-02-10

Similar Documents

Publication Publication Date Title
JP4378341B2 (en) Imaging apparatus and correction method
JP4532819B2 (en) Imaging device
JP2004112422A (en) Imaging apparatus
US20050018253A1 (en) Image pickup apparatus for correcting image deterioration due to fixed pattern noise, and image pickup method
JP4761570B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP4027340B2 (en) Imaging apparatus and imaging method
JP2001028713A (en) Image processing unit, its control method and memory medium
US20040032490A1 (en) Image sensing apparatus, image sensing method, program, and storage medium
JP3332897B2 (en) Imaging device, image processing method, and storage medium
JP3605084B2 (en) Image data correction device, image processing device, image data correction method, program, and storage medium
JP4411053B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND STORAGE MEDIUM
JP2003333434A (en) Device and method for picking-up image, program, and recording medium
JP4393177B2 (en) Imaging apparatus and imaging method
JP3703436B2 (en) Image processing apparatus, image processing method, and program
JP2006270426A (en) Imaging apparatus, its control method, and computer program
JP2005292740A (en) Electronic camera
JP2006109162A (en) Imaging apparatus, imaging method, program, and storage medium
JP2006148794A (en) Imaging apparatus, correction processing method, correction processing program and storage medium
JP2005057691A (en) Imaging apparatus and method
JP2005051697A (en) Imaging apparatus
JP2001320634A (en) Image pickup device, its control method and computer- readable medium
JP2006060409A (en) Imaging apparatus and control method thereof
JP2006203665A (en) Imaging device and method therefor, and recording medium and program
JP3359314B2 (en) Imaging device, image processing device, image processing method, and storage medium
JP3359311B2 (en) Imaging device, image processing device, image processing method, and storage medium

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060418

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061027

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20070626

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090512

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090805

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090930

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4411053

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121120

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131120

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees