JP2007166087A - Imaging apparatus, imaging method, program, and storage medium - Google Patents
Imaging apparatus, imaging method, program, and storage medium Download PDFInfo
- Publication number
- JP2007166087A JP2007166087A JP2005357840A JP2005357840A JP2007166087A JP 2007166087 A JP2007166087 A JP 2007166087A JP 2005357840 A JP2005357840 A JP 2005357840A JP 2005357840 A JP2005357840 A JP 2005357840A JP 2007166087 A JP2007166087 A JP 2007166087A
- Authority
- JP
- Japan
- Prior art keywords
- shading
- data
- correction
- image
- row
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、例えば、静止画像や動画像を撮像・記録・再生する撮像装置、撮像方法、プログラムおよび記憶媒体に関する。 The present invention relates to an imaging apparatus, an imaging method, a program, and a storage medium that capture, record, and reproduce a still image and a moving image, for example.
従来、この種の撮像装置として、固体メモリ素子を有するメモリカードを記録媒体とし、CCD、CMOS等の固体撮像素子で撮像した静止画像や動画像を記録・再生する電子カメラ等の撮像装置が既に市販されている。 Conventionally, as this type of imaging device, there has already been an imaging device such as an electronic camera that records and reproduces still images and moving images captured by a solid-state imaging device such as a CCD or CMOS, using a memory card having a solid-state memory element as a recording medium. It is commercially available.
CCD、CMOS等の固体撮像素子を用いて撮像する場合、黒基準電圧が撮像素子を露光しない状態でも発生する暗電流によって、変化してしまうため黒基準電圧を検出するために遮光領域の信号を使って受光領域の信号を補正することによって黒基準電圧の補正が可能である。 When imaging using a solid-state image sensor such as a CCD or CMOS, the black reference voltage changes due to the dark current generated even when the image sensor is not exposed. It is possible to correct the black reference voltage by correcting the signal in the light receiving region.
これにより、撮像素子で発生する暗電流による直流成分の除去や列方向のシェーディングを補正して高品位な画像を得ることができる。 As a result, it is possible to obtain a high-quality image by removing the DC component due to the dark current generated in the image sensor and correcting the shading in the column direction.
特に、暗電流による直流電圧は、電荷蓄積時間および撮像素子の温度上昇に従って増大するので、長秒時の露光や高温時の露光を行う場合、大きな画質改善効果を得ることができ、電子カメラの使用者にとって遮光領域の信号を使った黒基準電圧補正処理は有益な機能となっている。 In particular, since the DC voltage due to dark current 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. The black reference voltage correction processing using the signal in the light shielding area is a useful function for the user.
従来例としては、例えば特許文献1と特許文献2をあげることが出来る。
しかしながら、上記従来の電子カメラ等の撮像装置では、遮光領域の信号を使って黒基準電圧の直流再生を行う場合、遮光領域への受光領域からの赤外光の漏れ込みや光電変換領域周辺の回路の発熱や周辺回路の赤外発光によって遮光領域の信号が局所的に高くなる現象によって、間違った直流再生処理を行ってしまうおそれがあった。 However, in the conventional imaging apparatus such as an electronic camera, when performing direct current reproduction of the black reference voltage using the signal of the light shielding region, leakage of infrared light from the light receiving region to the light shielding region or the vicinity of the photoelectric conversion region. There is a possibility that wrong DC regeneration processing may be performed due to a phenomenon that the signal in the light shielding region is locally increased due to heat generation of the circuit or infrared light emission of the peripheral circuit.
図5は遮光領域に赤外光が入射している状況を示す図であり、図6は図5の状況における遮光領域信号の垂直シェーディングを示す図であり、赤外光入射時のシェーディングが局所的に浮きが発生している状況を示している。 FIG. 5 is a diagram showing a situation where infrared light is incident on the light shielding region, and FIG. 6 is a diagram showing vertical shading of the light shielding region signal in the situation of FIG. It shows the situation where the floating has occurred.
この問題を解決する方法として、画像データを補正するための補正データが記憶された補正データ記憶手段と、前記記憶された補正データを用いて、前記撮像モードで得られた画像データを補正する補正手段とを備えた撮像装置が発明されているが、補正データを算出した環境と撮影環境の違いからあらかじめ記憶している補正データでは正確に補正できないなどの問題が発生している。 As a method of solving this problem, correction data storage means storing correction data for correcting image data, and correction for correcting image data obtained in the imaging mode using the stored correction data However, there is a problem that correction data stored in advance cannot be corrected accurately because of the difference between the environment in which the correction data is calculated and the shooting environment.
そこで、本発明は、遮光領域の局所的な浮きによる間違った補正を減らし、良好な画質が得られることができる撮像装置、撮像方法、プログラムおよび記憶媒体を提供することを目的とする。 SUMMARY An advantage of some aspects of the invention is that it provides an imaging apparatus, an imaging method, a program, and a storage medium that can reduce erroneous correction due to local floating of a light-shielding region and obtain good image quality.
光電変換するための複数の画素により形成される受光領域と、黒基準信号を形成するために遮光された光電変換するための複数の画素により形成される遮光領域とを有する撮像手段と、前記黒基準信号に基づいて各行毎に直流再生する第1の補正手段と、
あらかじめ遮光領域の各行単位の代表値を演算し一列分のデータとして記憶するシェーディングデータ記憶手段と、
前記シェーディングデータ記憶手段のデータを使って各行毎に直流再生する第2の補正手段と、
遮光領域の信号の列方向のシェーディングの局所的な変化を検出するシェーディング変化検出手段とを有し、
前記シェーディング変化検出手段の結果に基づいて、前記第1、第2の補正手段を選択することを特徴とする撮像装置。
An imaging unit having a light receiving region formed by a plurality of pixels for photoelectric conversion and a light shielding region formed by a plurality of pixels for photoelectric conversion to form a black reference signal; First correction means for performing DC regeneration for each row based on a reference signal;
A shading data storage means for calculating a representative value for each row of the light shielding area in advance and storing it as data for one column;
Second correction means for performing direct current reproduction for each row using the data of the shading data storage means;
A shading change detecting means for detecting a local change in shading in the column direction of the signal of the light shielding region;
An imaging apparatus, wherein the first and second correction means are selected based on a result of the shading change detection means.
本発明によれば、遮光領域の局所的な浮きによる影響を防止し、良好な画質を得ることができる。 According to the present invention, it is possible to prevent the influence of local floating of the light shielding area and to obtain a good image quality.
本発明の撮像装置、撮像方法、プログラムおよび記憶媒体の実施の形態について、図面を参照しながら説明する。本実施形態の撮像装置は電子カメラに適用される。 Embodiments of an imaging apparatus, an imaging method, a program, and a storage medium of the present invention will be described with reference to the drawings. The imaging apparatus of this embodiment is applied to an electronic camera.
図1は実施の形態における電子カメラの構成を示すブロック図である。図において、100は画像処理装置である。12は撮像素子14の露光量を制御する絞り機能を有したシャッタである。14は光学像を電気信号に変換する撮像素子である。
FIG. 1 is a block diagram illustrating a configuration of an electronic camera according to an embodiment. In the figure, reference numeral 100 denotes an image processing apparatus.
レンズユニット300内の撮影レンズ310に入射した光線は、絞り312、レンズマウント306、106、ミラー130およびシャッタ12を通じて一眼レフ方式により導かれた撮像素子14上に光学像として結像する。
The light beam incident on the photographing
16は撮像素子14から出力されるアナログ信号をディジタル信号に変換するA/D変換器である。18は撮像素子14、A/D変換器16およびD/A変換器26にクロック信号や制御信号を供給するタイミング発生回路であり、メモリ制御回路22およびシステム制御回路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 /
尚、本実施形態では、測距制御部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 (auto focus) 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 /
A/D変換器16からのデータは、画像処理回路20およびメモリ制御回路22を介して、あるいは直接、メモリ制御回路22を介して画像表示メモリ24あるいはメモリ30に書き込まれる。
Data from the A /
24は画像表示メモリ、26はD/A変換器である。28はTFT方式のLCDからなる画像表示部である。画像表示メモリ24に書き込まれた表示用の画像データはD/A変換器26を介して画像表示部28に表示される。撮像された画像データを画像表示部28で逐次表示する場合、電子ファインダ機能を実現することが可能である。また、画像表示部28はシステム制御回路50の指示にしたがって表示のON/OFFを任意に行うことが可能であり、表示をOFFにした場合、画像処理装置100の電力消費を大幅に低減することができる。
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 /
40は測光制御部46からの測光情報に基づいて絞り312を制御する絞り制御部340と連携しながらシャッタ12を制御するシャッタ制御部である。42はAF(オートフォーカス)処理を行うための測距制御部であり、レンズユニット300内の撮影レンズ310に入射した光線を絞り312、レンズマウント306、106、ミラー130および測距用サブミラー(図示せず)を介して一眼レフ方式で入射することにより、光学像として結像された画像の合焦状態を測定する。
Reference numeral 40 denotes a shutter control unit that controls the
44は温度計であり、撮影環境における周囲温度を検出する。温度計が撮像素子(センサ)14内にある場合、センサの暗電流をより正確に予想することが可能である。 A thermometer 44 detects the ambient temperature in the photographing environment. When the thermometer is in the image sensor (sensor) 14, it is possible to predict the dark current of the sensor more accurately.
46はAE(自動露出)処理を行うための測光制御部であり、レンズユニット300内の撮影レンズ310に入射した光線を、絞り312、レンズマウント306、106、ミラー130および測光用サブミラー(図示せず)を介して一眼レフ方式で入射することにより、光学像として結像された画像の露出状態を測定する。測光制御部46はフラッシュ部48と連携することにより、EF(フラッシュ調光)処理機能も有する。48はフラッシュ部であり、AF補助光の投光機能およびフラッシュ調光機能を有する。
Reference numeral 46 denotes a photometric control unit for performing AE (automatic exposure) processing. The light beam incident on the photographing
尚、前述したように、撮像素子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 picked up by the
また、測距制御部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
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.
表示部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, number of recorded pixels, number of recorded pixels, number of remaining images that can be captured, 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
また、表示部54の表示内容のうち、光学ファインダ104内に表示するものとしては、合焦表示、撮影準備完了表示、手振れ警告表示、フラッシュ充電表示、フラッシュ充電完了表示、シャッタスピード表示、絞り値表示、露出補正表示、記録媒体書き込み動作表示などがある。 Among the display contents of the display unit 54, what is displayed in the optical finder 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等に表示するものとしては、例えば、合焦表示、撮影準備完了表示、手振れ警告表示、フラッシュ充電表示、フラッシュ充電完了表示、記録媒体書き込み動作表示、マクロ撮影設定通知表示、二次電池充電表示などがある。 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, etc.
また、表示部54の表示内容のうち、ランプ等に表示するものとしては、例えば、セルフタイマ通知ランプ等がある。このセルフタイマ通知ランプはAF補助光と共用してもよい。 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 shading correction data used when performing dark shading correction in the column direction. This one-dimensional shading correction data is created and written at the time of adjustment in the production process. As a method of creating the one-dimensional shading correction data, for example, a method of mainly generating data for one vertical column by projecting an image obtained by performing dark photographing can be considered.
60、62、64、66、68および70はシステム制御回路50の各種動作指示を入力するための操作部であり、スイッチ、ダイヤル、タッチパネル、視線検知によるポインティング、音声認識装置などの単数あるいは複数の組み合わせで構成される。これら操作部の詳細を以下に示す。
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 the operation of a shutter button (not shown) is completed. The shutter switch (SW2) 64 is an exposure process for writing image data into the memory 30 via the A /
66は再生スイッチであり、撮影モード状態で撮影した画像をメモリ30あるいは記録媒体200、210から読み出して画像表示部28に表示する再生動作の開始を指示する。
Reference numeral 66 denotes a playback switch, which instructs to start a playback operation for reading an image shot in the shooting mode state from the memory 30 or the
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
70は各種ボタンやタッチパネルなどからなる操作部であり、メニューボタン、セットボタン、マクロボタン、マルチ画面再生改ページボタン、フラッシュ設定ボタン、単写/連写/セルフタイマ切替ボタン、メニュー移動+(プラス)ボタン、メニュー移動−(マイナス)ボタン、再生画像移動+(プラス)ボタン、再生画像−(マイナス)ボタン、撮影画質選択ボタン、露出補正ボタン、日付/時間設定ボタン、パノラマモード等の撮影および再生を実行する際に各種機能の選択および切り替えを設定する選択/切り替えボタン、パノラマモード等の撮影および再生を実行する際に各種機能の決定および実行を設定する決定/実行ボタン、画像表示部28のON/OFFを設定する画像表示ON/OFFスイッチ、撮影直後に撮影した画像データを自動再生するクイックレビュー機能を設定するクイックレビューON/OFFスイッチ、JPEG圧縮の圧縮率を選択するため、あるいは撮像素子の信号をそのままディジタル化して記録媒体に記録するCCDRAWモードを選択するためのスイッチである圧縮モードスイッチ、再生モード、マルチ画面再生・消去モード、PC接続モード等の各機能モードを設定可能な再生スイッチ、シャッタスイッチSW1を押した際にオートフォーカス動作を開始し、一旦合焦した場合、その合焦状態を保ち続けるワンショットAFモードとシャッタスイッチSW1を押している間、連続してオートフォーカス動作を続けるサーボAFモードとを設定可能なAFモード設定スイッチなどがある。
また、上記プラスボタンおよびマイナスボタンの各機能は、回転ダイアルスイッチを備えることによって、より軽快に数値や機能を選択することが可能となる。 Further, the functions of the plus button and the minus button can be selected more easily with numerical values and functions 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 and power-off modes of the image processing apparatus 100. In addition, the power on and power off settings of various accessory devices such as the
80は電源制御部であり、電池検出回路、DC−DCコンバータ、通電するブロックを切り替えるスイッチ回路などから構成されており、電池の装着の有無、電池の種類、電池残量の検出を行い、その検出結果およびシステム制御回路50の指示に基づいてDC−DCコンバータを制御し、必要な電圧を必要な期間、記録媒体を含む各部に供給する。 Reference numeral 80 denotes a power control unit, which includes a battery detection circuit, a DC-DC converter, a switch circuit that switches a block to be energized, and the like, 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 the instruction of the system control circuit 50, and a necessary voltage is supplied to each part including the recording medium for a necessary period.
82および84はコネクタ、86はアルカリ電池やリチウム電池などの一次電池、NiCd電池、NiMH電池、Li電池などの二次電池、ACアダプタなどからなる電源部である。
90および94はメモリカードやハードディスク等の記録媒体とのインターフェース、92および96はメモリカードやハードディスクなどの記録媒体との接続を行うコネクタ、98はコネクタ92、96に記録媒体200、210が装着されているか否かを検知する記録媒体着脱検知部である。
90 and 94 are interfaces with a recording medium such as a memory card or a hard disk, 92 and 96 are connectors for connecting to a recording medium such as a memory card or a hard disk, and 98 is a
尚、本実施形態では、記録媒体を取り付けるインターフェースおよびコネクタが2系統装備されているが、記録媒体を取り付けるインターフェースおよびコネクタは単数あるいは任意の数の系統数装備されていてもよい。また、異なる規格のインターフェースおよびコネクタとして、PCMCIAカードなどの規格に準拠したものを用いてもよい。 In this embodiment, two interfaces and connectors for attaching the recording medium are provided. However, a single or an arbitrary number of interfaces and connectors for attaching the recording medium may be provided. In addition, as interfaces and connectors of different standards, those compliant with a standard such as a PCMCIA card may be used.
さらに、インターフェース90、94、コネクタ92、96をPCMCIAカーなどの規格に準拠したものを用いて構成した場合、LANカード、モデムカード、USBカード、IEEE1394カード、P1284カード、SCSIカード、PHSなどの通信カードなどの各種通信カードを接続することより、他のコンピュータやプリンタなどの周辺機器との間で画像データや画像データに付属した管理情報を相互に転送することが可能である。
Further, when the interfaces 90 and 94 and the
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
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と電気的に接続するコネクタである。124はレンズマウント106および/またはコネクタ122にレンズユニット300が装着されているか否かを検知するレンズ着脱検知部である。
コネクタ122は画像処理装置100とレンズユニット300との間で制御信号、状態信号、データ信号などを伝え合うと共に、各種電圧の電流を供給する機能も備えている。また、コネクタ122は電気通信だけでなく、光通信、音声通信などを伝達する構成としてもよい。
The
130、132はミラーであり、撮影レンズ310に入射した光線を、一眼レフ方式によって光学ファインダ104に導く。ミラー132はクイックリターンミラーの構成にしてもハーフミラーの構成にしてもどちらでもよい。
200はメモリカードやハードディスクなどの記録媒体である。記録媒体200は、半導体メモリや磁気ディスクなどから構成される記録部202、画像処理装置100とのインターフェース204、および画像処理装置100との接続を行うコネクタ206を有している。210は、記録媒体200と同様、メモリカードやハードディスク等の記録媒体である。記録媒体210は、半導体メモリや磁気ディスク等から構成される記録部212、画像処理装置100とのインターフェース214、および画像処理装置100との接続を行うコネクタ216を有している。
300は交換レンズタイプのレンズユニットである。306はレンズユニット300を画像処理装置100と機械的に結合するレンズマウントである。レンズマウント306内には、レンズユニット300を画像処理装置100と電気的に接続する各種機能が含まれている。
310は撮影レンズ、312は絞りである。320はレンズマウント306内でレンズユニット300を画像処理装置100と接続するためのインターフェースである。322はレンズユニット300を画像処理装置100と電気的に接続するコネクタである。
コネクタ322は画像処理装置100とレンズユニット300との間で制御信号、状態信号、データ信号などを伝え合うと共に、各種電流が供給され、あるいは電流を供給する機能を備えている。また、コネクタ322は電気信号だけでなく、光信号、音声信号などを伝達する構成としてもよい。
The
340は測光制御部46からの測光情報に基づいて、シャッタ12を制御するシャッタ制御部40と連携しながら、絞り312を制御する絞り制御部である。342は撮影レンズ310のフォーカシングを制御する測距制御部である。344は撮影レンズ310のズーミングを制御するズーム制御部である。350はレンズユニット300全体を制御するレンズシステム制御回路である。レンズシステム制御回路350は、動作用の定数、変数、プログラムなどを記憶するメモリやレンズユニット300固有の番号などの識別情報、管理情報、開放絞り値や最小絞り値、焦点距離等の機能情報、現在や過去の各設定値などを保持する不揮発メモリの機能も備えている。
Reference numeral 340 denotes an aperture control unit that controls the
上記構成を有する電子カメラの動作について説明する。図2、図3、図4および図7、図8、図9、図10は画像処理装置100の撮影動作処理手順を示すフローチャートである。この処理プログラムは不揮発メモリ56などの記憶媒体に格納されており、メモリ52にロードされてシステム制御回路50内のCPUによって実行される。
The operation of the electronic camera having the above configuration will be described. 2, 3, 4, 7, 8, 9, and 10 are flowcharts illustrating the procedure of the photographing operation of the image processing apparatus 100. This processing program is stored in a storage medium such as the nonvolatile memory 56, loaded into the
電池交換などの電源投入により、システム制御回路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). The system control unit 50 determines the setting 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. After the power control unit 80 performs a predetermined end process such as cutting off unnecessary power of each part of the image processing apparatus 100 including the image display unit 28 (step S103), the process returns to the process of step S102.
一方、電源スイッチ72が電源ONに設定されていた場合、システム制御回路50は電源制御部80により電池などの電源86の残容量や動作状況が画像処理装置100の動作に問題があるか否かを判別する(ステップS104)。問題があると判別された場合、表示部54に画像の表示や音声の出力により所定の警告を行った後(ステップS105)、ステップ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 or outputting sound on the display unit 54 (step S105), and then the process returns to step S102.
一方、電源86に問題がないと判別された場合、システム制御回路50はモードダイアルスイッチ60の設定位置を判断し、モードダイアルスイッチ60が撮影モードに設定されているか否かを判別する(ステップS106)。モードダイアルスイッチ60がその他のモードに設定されている場合、システム制御回路50は選択されたモードに応じた処理を実行し(ステップS107)、実行後にステップS102の処理に戻る。 On the other hand, 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の処理に戻る。
On the other hand, when the mode dial switch 60 is set to the shooting mode, it is determined whether or not the
一方、ステップ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 shooting / continuous shooting switch 68, when the shutter switch SW2 is pressed, a single shooting mode in which one frame is shot to be 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
システム制御回路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
そして、シャッタスイッチSW2が押されているか否かを判別し(ステップS115)、シャッタスイッチSW2が押されていない場合、シャッタスイッチSW1が離されたか否かを判別し(ステップS116)、シャッタスイッチSW1が離されるかシャッタスイッチSW2が押されるまでステップS115およびステップS116の処理を繰り返す。ステップS116でシャッタスイッチSW1が離された場合、ステップS102の処理に移行する。 Then, it is determined whether or not the shutter switch SW2 is pressed (step S115). If the shutter switch SW2 is not pressed, it is determined whether or not the shutter switch SW1 is released (step S116), and the shutter switch SW1. Steps S115 and S116 are repeated until is released or the shutter switch SW2 is pressed. If the shutter switch SW1 is released in step S116, the process proceeds to step S102.
一方、ステップS115でシャッタスイッチSW2が押された場合、システム制御回路50は、撮影した画像データの記憶可能な画像記憶バッファ領域がメモリ30にあるか否かを判別する(ステップS126)。メモリ30の画像記憶バッファ領域内に新たな画像データの記憶可能な領域がないと判別された場合、表示部54に画像の表示や音声の出力により所定の警告を行った後(ステップS127)、ステップS102の処理に戻る。 On the other hand, when the shutter switch SW2 is pressed in step S115, the system control circuit 50 determines whether or not the memory 30 has an image storage buffer area in which captured image data can be stored (step S126). If 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 to the display unit 54 by displaying an image or outputting sound (step S127). The process returns to step S102.
例えば、メモリ30の画像記憶バッファ領域内に記憶可能な最大枚数の連写撮影を行った直後であり、メモリ30から読み出して記憶媒体200、210に書き込むべき最初の画像がまだ記憶媒体200、210に未記録な状態であり、まだ1枚の空き領域もメモリ30の画像記憶バッファ領域上に確保できない状態である場合などである。
For example, immediately after performing the maximum number of continuous shots that can be stored in the image storage buffer area of the memory 30, the first image to be read from the memory 30 and written to the
尚、撮影した画像データを圧縮処理してからメモリ30の画像記憶バッファ領域に記憶する場合、圧縮した後の画像データ量が圧縮モードの設定に応じて異なることを考慮して、記憶可能な領域がメモリ30の画像記憶バッファ領域上にあるか否かをステップS126の処理で判断することになる。 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, it is determined in the process of step S126.
一方、ステップS126でメモリ30に撮影した画像データの記憶可能な画像記憶バッファ領域があると判別された場合、システム制御回路50は、撮像して所定時間蓄積した撮像信号を撮像素子14から読み出し、A/D変換器16、画像処理回路20およびメモリ制御回路22を介して、あるいはA/D変換器16から直接、メモリ制御回路22を介して、メモリ30の所定領域に撮影した画像データを書き込む撮影処理を実行する(ステップS128)。この撮影処理の詳細については、後述する。
On the other hand, if it is determined in step S126 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
ステップS128の撮影処理を終えると、システム制御回路50は、メモリ30の所定領域に書き込まれた画像データの一部をメモリ制御回路22を介して読み出して現像処理を行うために必要なシェーディング補正処理を行い(ステップS129)、演算結果をシステム制御回路50の内部メモリあるいはメモリ52に記憶する。
When the shooting process in step S128 is completed, the system control circuit 50 reads out part of the image data written in the predetermined area of the memory 30 via the memory control circuit 22 and performs a shading correction process necessary for performing the development process. (Step S129), and the calculation result is stored in the internal memory of the system control circuit 50 or the
そして、システム制御回路50は、メモリ制御回路22、必要に応じて画像処理回路20を用いて、メモリ30の所定領域に書き込まれた撮影画像データを読み出し、システム制御回路50の内部メモリあるいはメモリ52に記憶した演算結果を用いて、AWB(オートホワイトバランス)処理、ガンマ変換処理、色変換処理を含む各種現像処理を行う(ステップS130)。
Then, the system control circuit 50 uses the memory control circuit 22 and, if necessary, the image processing circuit 20 to read the captured image data written in a predetermined area of the memory 30 and reads the internal memory or the
図10はステップS129におけるシェーディング補正処置手順を示すフローチャートである。ここでは撮影画像に対する直流成分の減算と画面上下方向のシェーディングを補正の際に問題となる、赤外光の漏れ込みや遮光領域の暗電流ムラによる補正誤差を改善するための処理を行う。 FIG. 10 is a flowchart showing the shading correction procedure in step S129. Here, processing is performed to improve correction errors due to leakage of infrared light and dark current unevenness in the light shielding area, which are problems when correcting the subtraction of the DC component and the shading in the vertical direction of the screen with respect to the captured image.
ステップS401で撮影画像の遮光領域からの信号に対し、列方向に16分割し各ブロック毎に平均値を算出する。ステップS402では隣接するブロック間の平均値の差分演算を行い、ステップ403に進み、各ブロック間の差分値maxが所定レベルSd以上かは判断する。Sd以上をあれば遮光領域が何らかの原因で局所的な浮きが発生しているものと判断し、ステップ404で進む。 In step S401, the signal from the light shielding region of the captured image is divided into 16 in the column direction, and an average value is calculated for each block. In step S402, the difference calculation of the average value between adjacent blocks is performed, and it progresses to step 403 and it is judged whether the difference value max between each block is more than predetermined level Sd. If it is greater than or equal to Sd, it is determined that the light shielding region has a local float for some reason, and the process proceeds to step 404.
ステップS403で各ブロック間の差分値maxが所定レベルSdを以下であれば、ステップ409で進み、撮影画像の遮光領域からの信号に対し行単位の平均値を演算し各行の代表値として1列分のシェーディングデータを作成する。 If the difference value max between the blocks is equal to or lower than the predetermined level Sd in step S403, the process proceeds to step 409, where an average value in units of rows is calculated for the signal from the light-shielding region of the photographed image, and one column is used as a representative value for each row. Create shading data for minutes.
ステップ404では前記不揮発性メモリ56に記憶されたシェーディングデータを読み出す。次にステップS405へ進みシェーディングデータを16分割し各ブロック毎に平均値を算出する。次にステップ406へ進み、上記撮像画像の遮光領域から演算した16分割の各ブロックの平均値と対応するブロック毎の比を求め、その最頻値をKとするステップS407では、シェーディングデータに対しKの倍率の補正を行い、一列分のシェーディングデータをする。 In step 404, the shading data stored in the nonvolatile memory 56 is read. In step S405, the shading data is divided into 16 and an average value is calculated for each block. Next, the process proceeds to step 406, where the ratio of each block corresponding to the average value of each of the 16-divided blocks calculated from the shaded area of the captured image is obtained, and in step S407 where the mode value is K, the shading data is processed. Correction of K magnification is performed, and shading data for one column is obtained.
ステップS407でKの倍率補正を行う理由は、暗電流ノイズは電荷蓄積時間や撮像素子の温度上昇にしたがって増大するので、長秒時の露光や高温時の露光を行う場合、予め記憶されている補正データでは、補正しきれず、変化分を補正した補正データによって補正しなければならないためである。 The reason why the magnification of K is corrected in step S407 is that dark current noise increases with the charge accumulation time and the temperature rise of the image sensor, and is stored in advance when performing exposure at long seconds or exposure at high temperatures. This is because the correction data cannot be corrected and must be corrected using correction data in which the amount of change is corrected.
次に撮影画像に対し、前記ステップS407あるいステップS408で求められた一列分のシェーディングデータをそれぞれの行に対し一律減算処理を行い、シェーディング補正ルーチンを終了する。 Next, the shading data for one column obtained in step S407 or step S408 is uniformly subtracted for each row on the photographed image, and the shading correction routine is terminated.
システム制御回路50は、メモリ30の所定領域に書き込まれた画像データを読み出して、設定されたモードに応じた画像圧縮処理を圧縮・伸長回路32により行い、メモリ30の画像記憶バッファ領域の空き画像部分に、撮影して一連の処理を終えた画像データの書き込みを行う(ステップS131)。
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 /
そして、システム制御回路50は、メモリ30の画像記憶バッファ領域に記憶された画像データを読み出し、インターフェース90、94、コネクタ92、96を介して、メモリカード等の記録媒体200、210に読み出した画像データを書き込む記録処理を開始する(ステップS132)。この記録開始処理は、メモリ30の画像記憶バッファ領域の空き画像部分に、撮影して一連の処理を終えた画像データの書き込みが新たに行われる度に、その画像データに対して実行される。
Then, the system control circuit 50 reads the image data stored in the image storage buffer area of the memory 30 and reads the image data read to the
尚、記録媒体200、201に画像データの書き込みを行っている間、書き込み動作中であることを示すために、表示部54に例えばLEDを点滅させる等の記録媒体書き込み動作表示を行う。
Note that while the image data is being written to the
さらに、システム制御回路50は、シャッタスイッチSW1が押されているか否かを判別する(ステップS133)。シャッタスイッチSW1が離された状態である場合、ステップS102の処理に戻る。一方、シャッタスイッチSW1が押された状態である場合、連続して撮影を行うために、ステップS115の処理に戻り、次の撮影に備える。これにより、撮影に関する一連の処理が終了する。 Further, the system control circuit 50 determines whether or not the shutter switch SW1 has been pressed (step S133). 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 process returns to step S115 to prepare for the next shooting in order to perform continuous shooting. As a result, a series of processing relating to photographing is completed.
図7はステップS114における測距・測光処理手順を示すフローチャートである。測距・測光処理では、システム制御回路50と、絞り制御部340あるいは測距制御部342との間の各種信号のやり取りは、インターフェース120、コネクタ122、コネクタ322、インターフェース320およびレンズシステム制御回路350を介して行われる。
FIG. 7 is a flowchart showing the distance measurement / photometry processing procedure in step S114. In the 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
システム制御回路50は、撮像素子14、測距制御部42および測距制御部342を用いて、AF(オートフォーカス)処理を開始する(ステップS201)。
The system control circuit 50 starts an AF (autofocus) process using the
システム制御回路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
ステップS203で測距(AF)が合焦と判断された場合、システム制御回路50は、撮影画面内の複数の測距点の中から合焦した測距点を決定し、決定した測距点データと共に測距データおよび/または設定パラメータをシステム制御回路50の内部メモリあるいはメモリ52に記憶する(ステップS204)。
When ranging (AF) is determined to be in focus in step S203, the system control circuit 50 determines a focused distance point from a plurality of distance measurement points on the shooting screen, and the determined distance measurement point. Ranging data and / or setting parameters are stored in the internal memory of the system control circuit 50 or the
つづいて、システム制御回路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
ステップS207で露出(AE)が適正であると判断された場合、システム制御回路50は、測光データおよび/または設定パラメータをシステム制御回路50の内部メモリあるいはメモリ52に記憶する(ステップS207A)。 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 S207A).
尚、ステップS206の測光処理で検出した露出(AE)結果と、モードダイアルスイッチ60によって設定された撮影モードとに応じて、システム制御回路50では絞り値(Av値)およびシャッタ速度(Tv値)が決定される。 The system control circuit 50 determines the aperture value (Av value) and the shutter speed (Tv value) according to the exposure (AE) result detected in the photometric process in step S206 and the shooting mode set by the mode dial switch 60. Is determined.
ここで、決定されたシャッタ速度(Tv値)に応じて、システム制御回路50は、撮像素子14の電荷蓄積時間を決定し、この決定された同じ電荷蓄積時間で撮影処理およびダーク取り込み処理をそれぞれ行う。
Here, according to the determined shutter speed (Tv value), the system control circuit 50 determines the charge accumulation time of the
ステップS206の測光処理で得られた測定データにより、システム制御回路50はフラッシュが必要であるか否かを判別し(ステップS208)、フラッシュが必要である場合、フラッシュフラグをセットし、充電が完了するまでフラッシュ部48を充電する(ステップS209、S210)。そして、フラッシュ部48の充電が完了すると、本処理を終了してメインの処理に復帰する。
Based on the measurement data obtained by the photometric processing in step S206, the system control circuit 50 determines whether or not flashing is necessary (step S208). If flashing is necessary, the flash flag is set and charging is completed. The
図8および図9はステップS128における撮影処理手順を示すフローチャートである。この撮影処理では、システム制御回路50と、絞り制御部340ある
いは測距制御部342との間の各種信号のやり取りは、インターフェース120、コネクタ122、コネクタ322、インターフェース320およびレンズシステム制御回路350を介して行われる。
8 and 9 are flowcharts showing the photographing processing procedure in step S128. 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
システム制御回路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 driving unit (not shown) (step S301), and according to the photometric data stored in the internal memory of the system control circuit 50 or the
システム制御回路50は、撮像素子14の電荷クリア動作を行った後(ステップS303)、撮像素子14の電荷蓄積を開始し(ステップS304)、シャッタ制御部40によってシャッタ12を開き(ステップS305)、撮像素子14の露光を開始する(ステップS306)。
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
そして、フラッシュフラグによりフラッシュ部48が必要であるか否かを判別し(ステップS307)、必要である場合、フラッシュ部48を発光させる(ステップS308)。
Then, it is determined whether or not the
システム制御回路50は、測光データにしたがって撮像素子14の露光終了を待ち(ステップS309)、露光が終了すると、シャッタ制御部40によってシャッタ12を閉じ(ステップS310)、撮像素子14の露光を終了する。
The system control circuit 50 waits for the exposure of the
システム制御回路50は、絞り制御部340によって絞り312を開放の絞り値まで駆動し(ステップS311)、ミラー130をミラー駆動部(図示せず)によってミラーダウン位置に移動させる(ステップS312)。
The system control circuit 50 drives the
設定した電荷蓄積時間が経過したか否かを判別し(ステップS313)、設定した電荷蓄積時間が経過した場合、システム制御回路50は撮像素子14の電荷蓄積を終了した後(ステップS314)、撮像素子14から電荷信号を読み出し、A/D変換器16、画像処理回路20、メモリ制御回路22を介して、あるいはA/D変換器16から直接、メモリ制御回路22を介してメモリ30の所定領域に撮影画像データを書き込む(ステップS315)。一連の処理を終了すると、本処理を終了してメインの処理に復帰する。
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 finishes the charge accumulation of the image sensor 14 (step S314), and then performs imaging. A charge signal is read out from the
以上が本発明の実施の形態の説明であるが、本発明は、これら実施の形態の構成に限られるものではなく、特許請求の範囲で示した機能、または実施の形態の構成が持つ機能が達成できる構成であればどのようなものであっても適用可能である。 The above is the description of the embodiments of the present invention. However, the present invention is not limited to the configurations of these embodiments, and the functions shown in the claims or the functions of the configurations of the embodiments are included. Any configuration that can be achieved is applicable.
例えばシェーディングデータのブロック分割を16分割としているが他の分割数であっても構わない。また局所的な変化を算出方法として本実施例ではブロック分割としているが各行毎に隣接する複数行の平均値あるいはメディアン値としても良い。 For example, the block division of the shading data is 16 divisions, but other division numbers may be used. In this embodiment, the local change is a block division as a calculation method, but it may be an average value or a median value of a plurality of adjacent rows for each row.
また、記憶データに対する倍率補正を対応する各ブロックごとの比の最頻値としているが、最小値あるいはメディアン値としても良い。 Further, although the magnification correction for the stored data is the mode value of the ratio for each corresponding block, it may be the minimum value or the median value.
さらに、補正データは垂直方向の1次元データであるとしたが、水平方向の1次元データであっても構わない。 Further, although the correction data is one-dimensional data in the vertical direction, it may be one-dimensional data in the horizontal direction.
また、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムコードをシステムあるいは装置に供給することによって達成される場合にも適用できることはいうまでもない。この場合、プログラムコード自体が本発明の新規な機能を実現することになり、そのプログラム自体およびそのプログラムを記憶した記憶媒体は本発明を構成することになる。 It goes without saying that the present invention can also be applied to a case where the present invention is achieved by supplying software program codes for realizing the functions of the above-described embodiments to a system or apparatus. In this case, the program code itself realizes the novel function of the present invention, and the program itself and the storage medium storing the program constitute the present invention.
上記実施形態では、図2〜図4および図7〜図10のフローチャートに示すプログラムコードは記憶媒体であるROMに格納されている。プログラムコードを供給する記憶媒体としては、ROMに限らず、例えばフレキシブルディスク、ハードディスク、不揮発性のメモリカードなどを用いることができる。 In the above embodiment, the program codes shown in the flowcharts of FIGS. 2 to 4 and FIGS. 7 to 10 are stored in a ROM that is a storage medium. The storage medium for supplying the program code is not limited to the ROM, and for example, a flexible disk, a hard disk, a nonvolatile memory card, or the like can be used.
14 撮像素子
44 温度計
50 システム制御回路
56 不揮発性メモリ
60 モードダイアル
62 シャッタスイッチSW1
64 シャッタスイッチSW2
69 ISO感度設定スイッチ
100 画像処理装置
14 Image sensor 44 Thermometer 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
Claims (7)
あらかじめ遮光領域の各行単位の代表値を演算し一列分のデータとして記憶するシェーディングデータ記憶手段と、
前記シェーディングデータ記憶手段のデータを使って各行毎に直流再生する第2の補正手段と、
遮光領域の信号の列方向のシェーディングの局所的な変化を検出するシェーディング変化検出手段とを有し、
前記シェーディング変化検出手段の結果に基づいて、前記第1、第2の補正手段を選択することを特徴とする撮像装置。 An imaging unit having a light receiving region formed by a plurality of pixels for photoelectric conversion and a light shielding region formed by a plurality of pixels for photoelectric conversion to form a black reference signal; First correction means for performing DC regeneration for each row based on a reference signal;
A shading data storage means for calculating a representative value for each row of the light shielding area in advance and storing it as data for one column;
Second correction means for performing direct current reproduction for each row using the data of the shading data storage means;
A shading change detecting means for detecting a local change in shading in the column direction of the signal of the light shielding region;
An imaging apparatus, wherein the first and second correction means are selected based on a result of the shading change detection means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005357840A JP2007166087A (en) | 2005-12-12 | 2005-12-12 | Imaging apparatus, imaging method, program, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005357840A JP2007166087A (en) | 2005-12-12 | 2005-12-12 | Imaging apparatus, imaging method, program, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007166087A true JP2007166087A (en) | 2007-06-28 |
Family
ID=38248500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005357840A Withdrawn JP2007166087A (en) | 2005-12-12 | 2005-12-12 | Imaging apparatus, imaging method, program, and storage medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007166087A (en) |
-
2005
- 2005-12-12 JP JP2005357840A patent/JP2007166087A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4378341B2 (en) | Imaging apparatus and correction method | |
JP4532819B2 (en) | Imaging device | |
JP2009086601A (en) | Camera | |
JP2005045552A (en) | Imaging device and its method | |
JP5311922B2 (en) | Imaging apparatus and control method thereof | |
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 | |
JP3605084B2 (en) | Image data correction device, image processing device, image data correction method, program, and storage medium | |
JP2003333434A (en) | Device and method for picking-up image, program, and recording medium | |
JP2005292740A (en) | Electronic camera | |
JP4411053B2 (en) | IMAGING DEVICE, ITS CONTROL METHOD, CONTROL PROGRAM, AND STORAGE MEDIUM | |
JP4750616B2 (en) | Imaging apparatus and control method thereof | |
JP2006270426A (en) | Imaging apparatus, its control method, and computer program | |
JP4393177B2 (en) | Imaging apparatus and imaging method | |
JP3703436B2 (en) | Image processing apparatus, image processing method, and program | |
JP2006148794A (en) | Imaging apparatus, correction processing method, correction processing program and storage medium | |
JP2006109162A (en) | Imaging apparatus, imaging method, program, and storage medium | |
JP2006222529A (en) | Imaging apparatus | |
JP2005051697A (en) | Imaging apparatus | |
JP2005057691A (en) | Imaging apparatus and method | |
JP2006108878A (en) | Imaging apparatus | |
JP4926609B2 (en) | Imaging device | |
JP2009302778A (en) | Image capturing apparatus and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20090303 |