JP2009152803A - Imaging device, and its control method and program - Google Patents

Imaging device, and its control method and program Download PDF

Info

Publication number
JP2009152803A
JP2009152803A JP2007327987A JP2007327987A JP2009152803A JP 2009152803 A JP2009152803 A JP 2009152803A JP 2007327987 A JP2007327987 A JP 2007327987A JP 2007327987 A JP2007327987 A JP 2007327987A JP 2009152803 A JP2009152803 A JP 2009152803A
Authority
JP
Japan
Prior art keywords
image
images
sensitivity
lens
continuously
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
JP2007327987A
Other languages
Japanese (ja)
Other versions
JP4956403B2 (en
Inventor
Masao Shikami
政雄 鹿海
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 JP2007327987A priority Critical patent/JP4956403B2/en
Publication of JP2009152803A publication Critical patent/JP2009152803A/en
Application granted granted Critical
Publication of JP4956403B2 publication Critical patent/JP4956403B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Adjustment Of Camera Lenses (AREA)
  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To appropriately control the relation between sensitivity and the number of images to be continuously photographed, when a plurality of images photographed continuously are composited to correct blurring due to camera shake. <P>SOLUTION: This imaging device is employed for acquiring an image which is less affected by the blurring due to camera shake and is exposed as aimed, by compositing a plurality of underexposed images photographed continuously at a fast shutter speed which is hardly affected by the blurring due to camera shake, and is provided with an imaging section for performing photoelectric conversion of a subject image to generate an image signal, a setting section for setting an upper limit value of the sensitivity of the imaging section, and a control section for controlling photographing conditions for each of images to be photographed continuously, and the number of images to be photographed continuously, based on the upper limit value of the sensitivity set by the setting section. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、デジタルカメラ等の撮像装置において、複数枚の画像を合成することで手ブレを補正する技術に関するものである。   The present invention relates to a technique for correcting camera shake by combining a plurality of images in an imaging apparatus such as a digital camera.

従来、銀塩カメラ、ビデオカメラ、電子スチルカメラなどの手持ち撮影時に発生する手ブレを補正する技術についてはさまざまなものが提案され、かつ実用化されている。   2. Description of the Related Art Conventionally, various techniques for correcting camera shake occurring during hand-held shooting such as a silver salt camera, a video camera, and an electronic still camera have been proposed and put into practical use.

たとえば、振動ジャイロなどの角速度センサによって手ブレを検知し、光学系を揺動させたり、光軸と垂直方向に補正光学系を駆動することによって手ブレを抑制する技術が、一眼レフカメラ用の交換レンズ、電子スチルカメラ等において既に用いられている。防振機能により、より多くの状況で手ブレに影響されずに撮影することが可能となり、その効果は大きい。しかしながら、角速度センサ及び補正光学系が追加されることにより、手ブレ補正機能を持たない交換レンズ、電子スチルカメラに比べて大型化やコスト増が避けられないという問題があった。   For example, a technology for suppressing camera shake by detecting camera shake using an angular velocity sensor such as a vibration gyro and swinging the optical system or driving a correction optical system in a direction perpendicular to the optical axis is used for single-lens reflex cameras. Already used in interchangeable lenses, electronic still cameras, and the like. The anti-vibration function makes it possible to shoot without being affected by camera shake in more situations, and the effect is great. However, with the addition of the angular velocity sensor and the correction optical system, there is a problem that an increase in size and cost are inevitable as compared with an interchangeable lens and an electronic still camera that do not have a camera shake correction function.

一方、ビデオカメラではNTSCやPALなどのテレビ方式に合わせて1/60秒または1/50秒間隔で撮影が行われるため、撮像された各画像間での動きベクトルを検知して、角速度センサの代わりに手ブレ量を測定する技術を用いるものがある。また手ブレ補正に関しても、撮像素子から画像を取り出す切り出し位置を検知された手ブレ量に応じて変えることにより、補正光学系のような可動部分を持たずに手ブレ抑制機能を実現しているものもある。これらの技術では大型化やコスト増を回避することができる。   On the other hand, video cameras shoot at 1/60 second or 1/50 second intervals according to television systems such as NTSC and PAL. Therefore, the motion vector between the captured images is detected, and the angular velocity sensor Some use a technique to measure the amount of camera shake instead. In addition, with regard to camera shake correction, a camera shake suppression function is realized without having a movable part like a correction optical system by changing the cutout position for extracting an image from the image sensor according to the detected camera shake amount. There are also things. These technologies can avoid an increase in size and cost.

しかしながら、電子スチルカメラにおいては、動画と静止画の違いから、このようなビデオカメラの手ブレ補正技術をそのまま応用することは困難である。なぜなら、電子スチルカメラでは銀塩カメラと同様に、測光結果によって定まった露光時間中、連続して撮像素子での蓄積を行うからである。蓄積に並行して画像データを読み出すことは困難であることから、電子スチルカメラでは露光中にリアルタイムに画像から動きベクトルを得ることができない。また手ブレ補正についても、露光中にすでに撮像素子上には手ブレが重畳された画像が蓄積されているため、画像の切り出し位置を変えても手ブレを補正することはできない。   However, in an electronic still camera, it is difficult to apply such a camera shake correction technique as it is because of the difference between a moving image and a still image. This is because the electronic still camera continuously accumulates in the image sensor during the exposure time determined by the photometric result, like the silver salt camera. Since it is difficult to read out image data in parallel with accumulation, a motion vector cannot be obtained from an image in real time during exposure with an electronic still camera. As for camera shake correction, since an image on which camera shake is superimposed is already accumulated on the image sensor during exposure, the camera shake cannot be corrected even if the cutout position of the image is changed.

そこで、電子スチルカメラに好適な手ブレ補正技術として、次のような技術が提案されている。即ち、手ブレが目立たない程度の速いシャッタ速度で複数枚の露出不足の画像を連続撮影し、撮影後の処理でそれら複数枚の画像の位置合わせを行いながら合成して手ブレの目立たない適正露出の画像を得るというものである。   Thus, the following techniques have been proposed as camera shake correction techniques suitable for electronic still cameras. In other words, multiple under-exposed images are continuously shot at a fast shutter speed that does not make camera shake noticeable, and combined while aligning the multiple images in the post-shooting process. An image of exposure is obtained.

本願出願人が既に出願している特許文献1には、順次撮像した画像を、経時的な位置ずれに対応して座標変換を行った後に合成する技術が開示されている。
特許3110797号公報
Patent Document 1 already filed by the applicant of the present application discloses a technique for synthesizing sequentially captured images after performing coordinate conversion corresponding to positional shifts over time.
Japanese Patent No. 3110797

ところで、電子スチルカメラでは、銀塩フィルムのISO感度に相当する感度を各撮影コマごとに設定することが可能である。感度も含めて、絞り値、シャッタ速度を自動的に設定する自動露出機能を持つカメラは実用化されている。しかし、感度を上げるとノイズが増え、画質が低下するという問題があった。   By the way, in the electronic still camera, it is possible to set a sensitivity corresponding to the ISO sensitivity of the silver salt film for each photographing frame. A camera having an automatic exposure function for automatically setting an aperture value and a shutter speed including sensitivity has been put into practical use. However, when the sensitivity is increased, there is a problem that noise increases and image quality is lowered.

ここで、上記の複数枚の画像を合成して手ブレを補正する技術は、基本的に、感度を上げてシャッタ速度を早くすることにより手ブレを抑制するのではなく、感度を上げずに速いシャッタ速度で連続撮影した複数枚の露出不足の画像を合成するものである。   Here, the technique for correcting camera shake by combining a plurality of images described above basically does not suppress camera shake by increasing the sensitivity and increasing the shutter speed, but without increasing the sensitivity. This is a composite of a plurality of under-exposed images continuously photographed at a high shutter speed.

しかしながら、画像合成による手ブレ補正でも、被写体が暗い場合には、感度を上げないと連続撮影する画像の枚数が多くなり、撮影動作と画像の合成処理に多くの時間がかかるという問題がある。また、逆に感度を上げると、連続撮影する画像の枚数を減らすことはできるが、上述のようにノイズが増え、合成後の画像の画質が低下するという問題がある。   However, even with camera shake correction by image synthesis, if the subject is dark, there is a problem that if the sensitivity is not increased, the number of images to be continuously shot increases, and it takes much time for the shooting operation and image synthesis processing. On the other hand, if the sensitivity is increased, the number of images to be continuously shot can be reduced, but there is a problem that the noise is increased as described above and the image quality of the combined image is lowered.

従って、本発明は上述した課題に鑑みてなされたものであり、その目的は、連続撮影した複数の画像を合成して手ブレを補正する場合に、感度と連続撮影する画像の枚数の関係を適切に制御できるようにすることである。   Accordingly, the present invention has been made in view of the above-described problems, and its purpose is to determine the relationship between the sensitivity and the number of images to be continuously shot when correcting a camera shake by combining a plurality of continuously shot images. It is to be able to control appropriately.

上述した課題を解決し、目的を達成するために、本発明に係わる撮像装置は、連続して撮影された複数枚の露出不足の画像を合成することにより、目標とする露出の画像を得る撮像装置であって、被写体像を光電変換して画像信号を生成する撮像手段と、前記撮像手段の感度の上限値を設定する設定手段と、前記設定手段により設定された前記感度の上限値に基づいて、前記連続して撮影される各1枚の画像の撮影条件と、連続して撮影する画像の枚数とを制御する制御手段と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, an imaging apparatus according to the present invention obtains a target exposure image by synthesizing a plurality of underexposed images that are continuously shot. An imaging unit that photoelectrically converts a subject image to generate an image signal; a setting unit that sets an upper limit value of sensitivity of the imaging unit; and an upper limit value of the sensitivity set by the setting unit And control means for controlling the shooting conditions for each of the continuously shot images and the number of images to be shot continuously.

また、本発明に係わる撮像装置の制御方法は、被写体像を光電変換して画像信号を生成する撮像手段を備え、連続して撮影された複数枚の露出不足の画像を合成することにより、目標とする露出の画像を得る撮像装置を制御する方法であって、前記撮像手段の感度の上限値を設定する設定工程と、前記設定工程において設定された前記感度の上限値に基づいて、前記連続して撮影される各1枚の画像の撮影条件と、連続して撮影する画像の枚数とを制御する制御工程と、を備えることを特徴とする。   In addition, the control method of the imaging apparatus according to the present invention includes an imaging unit that photoelectrically converts a subject image to generate an image signal, and combines a plurality of underexposed images that are continuously shot, A method of controlling an imaging device that obtains an image of exposure, wherein a setting step of setting an upper limit value of sensitivity of the imaging means, and the continuous value based on the upper limit value of the sensitivity set in the setting step And a control step for controlling the shooting conditions for each image shot and the number of images to be shot continuously.

本発明によれば、連続撮影した複数の画像を合成して手ブレを補正する場合に、感度と連続撮影する画像の枚数の関係を適切に制御することが可能となる。   According to the present invention, it is possible to appropriately control the relationship between the sensitivity and the number of images to be continuously shot when correcting a camera shake by combining a plurality of continuously shot images.

以下、本発明の好適な一実施形態について、添付図面を参照して詳細に説明する。   Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

図1は、本発明の一実施形態に係わる撮像装置(レンズ交換式の一眼レフデジタルカメラ)の構成を示すブロック図である。   FIG. 1 is a block diagram illustrating a configuration of an imaging apparatus (a lens interchangeable single-lens reflex digital camera) according to an embodiment of the present invention.

図1において、撮像装置200には、撮影レンズ100が不図示のマウント部のレンズ装着機構を介して着脱可能に取り付けられる。マウント部には、電気接点ユニット107が設けられている。撮像装置200は、撮影レンズ100とこの電気接点ユニット107を介して通信を行い、撮影レンズ100内のフォーカスレンズ101および光量を調節する絞り102の駆動を制御する。なお、図1には、撮影レンズ100内のレンズとしてフォーカスレンズ101のみを示しているが、このほかに変倍レンズや固定レンズが設けられ、これらを含めてレンズユニットを構成する。   In FIG. 1, a photographing lens 100 is detachably attached to an imaging device 200 via a lens mounting mechanism of a mount unit (not shown). An electrical contact unit 107 is provided in the mount portion. The imaging apparatus 200 communicates with the photographing lens 100 via the electrical contact unit 107 to control the driving of the focus lens 101 in the photographing lens 100 and the diaphragm 102 that adjusts the amount of light. In FIG. 1, only the focus lens 101 is shown as a lens in the photographic lens 100. However, a variable power lens and a fixed lens are provided in addition to this, and a lens unit is configured including these.

不図示の被写体からの光束は、撮影レンズ100内のフォーカスレンズ101を含むレンズユニットおよび絞り102を介して、撮像装置200内のクイックリターンミラー203に導かれる。クイックリターンミラー203は、撮影光路内に光軸に対して斜めに配置されて、被写体からの光束を上方のファインダー光学系に導く第1の位置(図示した位置)と、撮影光路外に退避する第2の位置とに移動が可能である。   A light beam from a subject (not shown) is guided to a quick return mirror 203 in the imaging apparatus 200 via a lens unit including a focus lens 101 in the photographing lens 100 and a diaphragm 102. The quick return mirror 203 is disposed obliquely with respect to the optical axis in the photographing optical path, and retracts to the first position (illustrated position) for guiding the light beam from the subject to the upper finder optical system and out of the photographing optical path. Movement to the second position is possible.

クイックリターンミラー203の中央部はハーフミラーになっており、クイックリターンミラー203が第1の位置にダウンしているときには、被写体からの光束の一部がハーフミラー部を透過する。そして、この透過した光束は、クイックリターンミラー203の背面側に設けられたサブミラー204で反射され、焦点検出回路206とともに自動焦点調整ユニットを構成する位相差AFセンサ205に導かれる。焦点検出回路206は、位相差AFセンサ205の出力信号から、公知の位相差AF技術を用いて、撮影レンズ100の合焦状態の検出(焦点検出)を行う。   The central portion of the quick return mirror 203 is a half mirror. When the quick return mirror 203 is down to the first position, a part of the light beam from the subject passes through the half mirror portion. The transmitted light beam is reflected by a sub mirror 204 provided on the back side of the quick return mirror 203 and guided to a phase difference AF sensor 205 that constitutes an automatic focus adjustment unit together with a focus detection circuit 206. The focus detection circuit 206 detects the focus state (focus detection) of the taking lens 100 from the output signal of the phase difference AF sensor 205 using a known phase difference AF technique.

一方、クイックリターンミラー203で反射された光束は、ピント面に存在するファインダースクリーン202、およびペンタプリズム201、接眼レンズ207により構成されるファインダー光学系を介して撮影者の目に至る。   On the other hand, the light beam reflected by the quick return mirror 203 reaches the eyes of the photographer through a finder optical system including a finder screen 202 existing on the focus surface, a pentaprism 201, and an eyepiece lens 207.

また、クイックリターンミラー203が第2の位置にアップした際には、撮影レンズ100からの光束は、機械シャッタであるフォーカルプレーンシャッタ210および光学フィルタ211を介して撮像素子212に至る。この撮像素子212は、CCDやCMOSセンサ等により代表される被写体像を光電変換するイメージセンサである。光学フィルタ211は、赤外線をカットして可視光線のみを撮像素子212へ導く機能と、光学ローパスフィルタとしての機能とを有する。   When the quick return mirror 203 is raised to the second position, the light beam from the photographing lens 100 reaches the image sensor 212 via the focal plane shutter 210 and the optical filter 211 that are mechanical shutters. The image sensor 212 is an image sensor that photoelectrically converts a subject image represented by a CCD or CMOS sensor. The optical filter 211 has a function of cutting infrared rays and guiding only visible light to the image sensor 212 and a function as an optical low-pass filter.

また、フォーカルプレーンシャッタ210は、先幕および後幕を有して構成されており、撮影レンズ100からの光束の透過および遮断を制御する。   The focal plane shutter 210 has a front curtain and a rear curtain, and controls transmission and blocking of a light beam from the photographing lens 100.

なお、クイックリターンミラー203が第2の位置にアップしたときには、サブミラー204もクイックリターンミラー203に対して折り畳まれて撮影光路外に退避する。   When the quick return mirror 203 is raised to the second position, the sub mirror 204 is also folded with respect to the quick return mirror 203 and retracts out of the photographing optical path.

また、本実施形態の撮像装置200は、この撮像装置全体の制御を司るシステムコントローラ230を有する。システムコントローラ230は、CPUやMPU等により構成され、後述する各回路等の動作を制御する。   Further, the imaging apparatus 200 of the present embodiment includes a system controller 230 that controls the entire imaging apparatus. The system controller 230 is configured by a CPU, an MPU, and the like, and controls operations of respective circuits described later.

システムコントローラ230は、電気接点ユニット107を介して、撮影レンズ100内のレンズ制御回路104および絞り制御駆動回路106に対して通信を行う。レンズ制御回路104は、システムコントローラ230からの信号に応じて、フォーカスレンズ101を光軸に沿って駆動してピント合わせを行うレンズ駆動機構103を制御する。レンズ駆動機構103は、ステッピングモータやDCモータを駆動源として有する。   The system controller 230 communicates with the lens control circuit 104 and the aperture control drive circuit 106 in the photographing lens 100 via the electrical contact unit 107. The lens control circuit 104 controls the lens driving mechanism 103 that performs focusing by driving the focus lens 101 along the optical axis in accordance with a signal from the system controller 230. The lens driving mechanism 103 has a stepping motor or a DC motor as a driving source.

また、絞り制御駆動回路106は、システムコントローラ230からの信号に応じて、絞り102を駆動する絞り駆動機構105を制御する。   The diaphragm control drive circuit 106 controls the diaphragm drive mechanism 105 that drives the diaphragm 102 in accordance with a signal from the system controller 230.

撮影レンズ100がズームレンズの場合、手動でレンズの焦点距離を変更できるズーム機構108が内蔵されている。   When the taking lens 100 is a zoom lens, a zoom mechanism 108 that can manually change the focal length of the lens is incorporated.

また、ズーム機構108によるレンズの焦点距離変化は、焦点距離検出部109によって検出され、焦点距離情報として、レンズ制御回路104および電気接点ユニット107を介してシステムコントローラ230に通信される。   Further, a change in the focal length of the lens by the zoom mechanism 108 is detected by the focal length detection unit 109 and communicated as focal length information to the system controller 230 via the lens control circuit 104 and the electrical contact unit 107.

また、システムコントローラ230は、シャッタ制御回路215と測光回路209とにも接続されている。シャッタ制御回路215は、システムコントローラ230からの信号に応じて、フォーカルプレーンシャッタ210の先幕および後幕の走行駆動を制御する。   The system controller 230 is also connected to the shutter control circuit 215 and the photometry circuit 209. The shutter control circuit 215 controls the driving of the front and rear curtains of the focal plane shutter 210 in accordance with a signal from the system controller 230.

また、システムコントローラ230には、EEPROM(記憶手段)223も接続されている。EEPROM223には、撮像装置200を制御する上で調整が必要なパラメータや、撮像装置個体の識別を行うための固有の情報であるカメラID(識別)情報が記憶されている。また、基準レンズ(撮像装置200の工場での調整時に用いられる撮影レンズ)を用いて調整された、撮影に関するパラメータの調整値等が記憶されている。   An EEPROM (storage means) 223 is also connected to the system controller 230. The EEPROM 223 stores parameters that need to be adjusted to control the imaging apparatus 200 and camera ID (identification) information that is unique information for identifying the individual imaging apparatus. In addition, adjustment values and the like of parameters relating to shooting, which are adjusted using a reference lens (a shooting lens used when the imaging apparatus 200 is adjusted in a factory), are stored.

測光回路209は、接眼レンズ207の近傍に配設された測光センサ208に接続されており、測光センサ208を通じて被写体の輝度を測定する。測光回路209の測定結果は、システムコントローラ230へ送られる。   The photometric circuit 209 is connected to a photometric sensor 208 disposed in the vicinity of the eyepiece lens 207, and measures the luminance of the subject through the photometric sensor 208. The measurement result of the photometry circuit 209 is sent to the system controller 230.

また、システムコントローラ230は、レンズ制御回路104を介してレンズ駆動機構103を制御することにより、フォーカスレンズ101を移動させて被写体像を撮像素子212上に結像させる。また、システムコントローラ230は、設定されたAv値(絞り値)に基づいて、絞り制御駆動回路106を介して絞り駆動機構105を制御し、さらに、設定されたTv値(シャッタ速度)に基づいてシャッタ制御回路215に制御信号を出力する。   Further, the system controller 230 controls the lens driving mechanism 103 via the lens control circuit 104 to move the focus lens 101 and form a subject image on the image sensor 212. The system controller 230 controls the aperture driving mechanism 105 via the aperture control drive circuit 106 based on the set Av value (aperture value), and further, based on the set Tv value (shutter speed). A control signal is output to the shutter control circuit 215.

フォーカルプレーンシャッタ210の先幕、後幕は、駆動源がバネにより構成されており、シャッタ走行後、次の動作のためにバネチャージを要する。シャッタチャージ機構214は、このバネチャージを行う。また、ミラー駆動機構213によりクリックリターンミラー203のアップダウン駆動が行われる。   The drive source of the front curtain and rear curtain of the focal plane shutter 210 is constituted by a spring, and after the shutter travels, a spring charge is required for the next operation. The shutter charge mechanism 214 performs this spring charge. Also, the click return mirror 203 is driven up and down by the mirror drive mechanism 213.

また、システムコントローラ230には、カメラDSP227が接続されている。このカメラDSP227は、DSP(デジタル信号プロセッサ)により構成される補正データサンプル回路及び補正回路である。そして、撮像素子212の制御、および撮像素子212から入力された画像データの補正や加工などをシステムコントローラ230の指令に基いて実行する。画像データの補正、加工の項目の中には、オートホワイトバランスも含まれている。   In addition, a camera DSP 227 is connected to the system controller 230. The camera DSP 227 is a correction data sample circuit and a correction circuit configured by a DSP (digital signal processor). Then, control of the image sensor 212 and correction and processing of image data input from the image sensor 212 are executed based on a command from the system controller 230. The items of image data correction and processing include auto white balance.

オートホワイトバランスとは、撮影画像中の最大輝度部分を所定の色(白色)に補正する機能である。オートホワイトバランスについては、システムコントローラ230からの命令により補正量を変更することが可能である。   The auto white balance is a function for correcting the maximum luminance portion in the photographed image to a predetermined color (white). For auto white balance, the correction amount can be changed by a command from the system controller 230.

カメラDSP227には、タイミングジェネレータ219、セレクタ222を介してA/Dコンバータ217、ビデオメモリ221、ワークメモリ226が接続されている。   An A / D converter 217, a video memory 221, and a work memory 226 are connected to the camera DSP 227 via a timing generator 219 and a selector 222.

撮像素子212からの電気信号は、既知の相関二重サンプリング等の方法により撮像素子212の出力に含まれるリセットノイズ等を除去するとともに、所定の信号レベルまで出力を増幅するCDS/AGC回路216に入力される。そして、CDS/AGC回路216からの出力信号は、各画素毎に順にA/Dコンバータ217で所定のデジタル信号に変換される。   The electrical signal from the image sensor 212 is supplied to the CDS / AGC circuit 216 that removes reset noise and the like included in the output of the image sensor 212 by a known method such as correlated double sampling and amplifies the output to a predetermined signal level. Entered. The output signal from the CDS / AGC circuit 216 is converted into a predetermined digital signal by the A / D converter 217 in order for each pixel.

ここで、撮像素子212は、全体の駆動タイミングを決定しているタイミングジェネレータ219からの信号に基づき、各画素毎の水平駆動並びに垂直駆動のためのドライバ回路218からの出力で駆動されることにより、画像信号を発生して出力する。同様に、撮像素子212から出力される画像信号をアナログ的に処理して所定の信号レベルに変換するCDS/AGC回路216、およびA/Dコンバータ217も、タイミングジェネレータ219からのタイミング信号に基づいて動作する。   Here, the image sensor 212 is driven by the output from the driver circuit 218 for horizontal driving and vertical driving for each pixel based on the signal from the timing generator 219 that determines the overall driving timing. Generate and output an image signal. Similarly, the CDS / AGC circuit 216 and the A / D converter 217 that process the image signal output from the image sensor 212 in an analog manner and convert it into a predetermined signal level are also based on the timing signal from the timing generator 219. Operate.

A/Dコンバータ217からの出力は、システムコントローラ230からの信号に基づいて信号を選択するセレクタ222を介してメモリコントローラ228に入力され、フレームメモリであるDRAM229に全て転送される。   The output from the A / D converter 217 is input to the memory controller 228 via the selector 222 that selects a signal based on the signal from the system controller 230, and is all transferred to the DRAM 229 that is a frame memory.

撮影動作終了後、メモリコントローラ228の制御により、撮影データを記憶しているDRAM229の内容を、セレクタ222を介してカメラDSP227に転送する。このカメラDSP227は、DRAM229に記憶されている各撮影データの各画素データを基に、RGBの各色信号を生成する。   After the shooting operation is completed, the contents of the DRAM 229 storing the shooting data are transferred to the camera DSP 227 via the selector 222 under the control of the memory controller 228. The camera DSP 227 generates RGB color signals based on the pixel data of the shooting data stored in the DRAM 229.

ビデオカメラやコンパクトタイプのデジタルカメラでは、撮影前状態時に、この結果をビデオメモリ221に定期的(各フレーム毎)に転送することで、モニタ表示部220によりファインダー表示(ライブビュー)等を行っている。一眼レフ方式のデジタルカメラでは、通常、撮影前時点ではクイックリターンミラー203やフォーカルプレーンシャッタ210により撮像素子212は遮光されているため、ライブビューは行えない。しかし、クイックリターンミラー203をアップし撮影光路より退避させてからフォーカルプレーンシャッタ210を開いた状態にすることで、ライブビュー動作が可能となる。また、ライブビュー時に撮像素子からの画像信号をカメラDSP227もしくはシステムコントローラ230が処理することでコントラスト評価値を得ることができ、この評価値を用いてコントラスト方式のAFを行うことが可能である。   In a video camera or a compact digital camera, the result is periodically transferred (for each frame) to the video memory 221 in the pre-shooting state, so that a finder display (live view) is performed by the monitor display unit 220. . In a single-lens reflex digital camera, since the image pickup device 212 is normally shielded by the quick return mirror 203 and the focal plane shutter 210 before shooting, live view cannot be performed. However, the live view operation can be performed by raising the quick return mirror 203 and retracting it from the photographing optical path and then opening the focal plane shutter 210. In addition, the camera DSP 227 or the system controller 230 processes the image signal from the image sensor during live view, so that a contrast evaluation value can be obtained. Using this evaluation value, contrast AF can be performed.

撮影時には、システムコントローラ230からの制御信号によって、1フレーム分の各画素データをDRAM229から読み出し、カメラDSP227で画像処理を行ってから、一旦、ワークメモリ226に記憶する。そして、ワークメモリ226のデータを圧縮・伸張回路225で所定の圧縮フォーマットに基づいて圧縮し、その結果を外部の不揮発性メモリ(外部メモリ)224に記憶する。不揮発性メモリ224として、通常、フラッシュメモリ等の不揮発性メモリを使用する。また、ハードディスク、磁気ディスク等などであってもよい。   At the time of shooting, each pixel data for one frame is read from the DRAM 229 according to a control signal from the system controller 230, subjected to image processing by the camera DSP 227, and temporarily stored in the work memory 226. Then, the data in the work memory 226 is compressed by the compression / decompression circuit 225 based on a predetermined compression format, and the result is stored in an external nonvolatile memory (external memory) 224. As the nonvolatile memory 224, a nonvolatile memory such as a flash memory is usually used. Further, it may be a hard disk, a magnetic disk, or the like.

また、カメラDSP227は後述する画像ブレ補正用の動きベクトル検知の機能も有する。動きベクトル検知を行う場合は、DRAM229に保存されている2フレーム分の画素データを読み出し、カメラDSP227で相関演算を行い、動きベクトルを求める。動きベクトルの求め方についての詳細は後述する。   The camera DSP 227 also has a function of detecting a motion vector for image blur correction, which will be described later. When motion vector detection is performed, pixel data for two frames stored in the DRAM 229 is read, and correlation calculation is performed by the camera DSP 227 to obtain a motion vector. Details of how to determine the motion vector will be described later.

また、撮影済みの画像データを観察する場合、不揮発性メモリ224に圧縮・記憶されたデータを、圧縮・伸張回路225を通じて通常の撮影画素毎のデータに伸張し、その結果をカメラDSP227に接続されているビデオメモリ221に転送する。これにより、モニタ表示回路220を通じて表示を行うことができる。   When observing image data that has already been taken, the data compressed and stored in the non-volatile memory 224 is expanded into data for each normal captured pixel through the compression / decompression circuit 225, and the result is connected to the camera DSP 227. The video memory 221 is transferred. Thereby, display can be performed through the monitor display circuit 220.

さらに、システムコントローラ230には、表示回路231と、レリーズスイッチSW1(233)と、レリーズスイッチSW2(234)と、防振モードのON/OFF状態を切り替える防振モードスイッチ235が接続されている。また、撮影モードを切り替えるためのモードダイアル236、およびその他の設定や各種の選択を行うための操作スイッチ類232、も接続されている。モードダイアル236には「P(プログラムモード)」、「Tv(シャッタ速度優先モード)」、「Av(絞り優先モード)」、「M(マニュアルモード)」等の各種撮影モードを示すポジションがある。また、それ以外にも風景やマクロ撮影、動体撮影向けのスポーツなど被写体によりプリセットされた撮影モードのポジションもある。また、電源OFFを示す位置もあり、電源スイッチを兼ねている。   The system controller 230 is further connected to a display circuit 231, a release switch SW1 (233), a release switch SW2 (234), and an image stabilization mode switch 235 for switching the image stabilization mode ON / OFF state. A mode dial 236 for switching the shooting mode and operation switches 232 for performing other settings and various selections are also connected. The mode dial 236 has positions indicating various shooting modes such as “P (program mode)”, “Tv (shutter speed priority mode)”, “Av (aperture priority mode)”, “M (manual mode)”. In addition, there are shooting mode positions that are preset according to the subject, such as sports for landscapes, macro photography, and moving body photography. In addition, there is a position indicating power OFF, which also serves as a power switch.

また、以上に加えて撮影時の感度の上限を設定するためのスイッチ類である感度上限設定部237もシステムコントローラ230に接続されている。   In addition to the above, a sensitivity upper limit setting unit 237 that is a switch for setting an upper limit of sensitivity at the time of shooting is also connected to the system controller 230.

表示回路231は、上記各スイッチ類により設定又は選択されたカメラの動作状態を、液晶素子やLED(発光ダイオード)、有機EL等の表示素子により表示する。   The display circuit 231 displays the operation state of the camera set or selected by the above switches using a display element such as a liquid crystal element, LED (light emitting diode), or organic EL.

レリーズスイッチSW1(233)は、測光・焦点検出などの撮影準備動作を開始させるためのスイッチである。レリーズスイッチSW2(234)は、撮影動作(静止画像を取得するためのミラーアップ、絞り駆動、シャッタ駆動および、電荷蓄積および電荷読み出し動作等)を開始させるためのスイッチである。   The release switch SW1 (233) is a switch for starting photographing preparation operations such as photometry and focus detection. The release switch SW2 (234) is a switch for starting a photographing operation (mirror up for acquiring a still image, diaphragm drive, shutter drive, charge accumulation and charge read-out operation, etc.).

一方、撮影レンズ100において、レンズ制御回路104には、撮影レンズ100の開放絞り値等の性能情報、撮影レンズ100を識別するための固有の情報であるレンズID(識別)情報、およびシステムコントローラ230から通信により受け取った情報を記憶するメモリ(図示せず)が設けられている。なお、性能情報およびレンズID情報は、撮像装置200への装着時における初期通信により、システムコントローラ230に送信され、システムコントローラ230はこれらをEEPROM223に記憶させる。   On the other hand, in the photographing lens 100, the lens control circuit 104 has performance information such as an open aperture value of the photographing lens 100, lens ID (identification) information that is unique information for identifying the photographing lens 100, and a system controller 230. A memory (not shown) is provided for storing information received by communication from. Note that the performance information and the lens ID information are transmitted to the system controller 230 by initial communication at the time of mounting on the imaging apparatus 200, and the system controller 230 stores them in the EEPROM 223.

次に、図2乃至図8を参照して、一実施形態の撮像装置200の動作について説明する。   Next, the operation of the imaging apparatus 200 according to an embodiment will be described with reference to FIGS.

図2及び図3は本実施形態の撮像装置200の動作の主ルーチンを示すフローチャートである。   2 and 3 are flowcharts showing a main routine of the operation of the imaging apparatus 200 of the present embodiment.

電池交換等の電源投入により、システムコントローラ230はフラグや制御変数等を初期化する(ステップS101)。   The system controller 230 initializes flags, control variables, and the like by turning on the power supply such as battery replacement (step S101).

システムコントローラ230は、モードダイアル236の設定位置を判断し、モードダイアル236が電源OFFに設定されていたならば(ステップS102)、ステップS104に進む。そして、各表示部の表示を終了状態に変更し、フラグや制御変数等を含む必要なパラメータや設定値、設定モードをEEPROM223に記録する。また、撮像装置200各部の不要な電源を遮断する等の所定の終了処理を行った後(ステップS104)、ステップS102に戻る。   The system controller 230 determines the setting position of the mode dial 236, and if the mode dial 236 is set to power OFF (step S102), the process proceeds to step S104. Then, 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 EEPROM 223. In addition, after performing a predetermined end process such as shutting off unnecessary power sources of each part of the imaging apparatus 200 (step S104), the process returns to step S102.

モードダイアル236がP、Tv、Av、Mなどの撮影モードに設定されていたならば(ステップS102)、ステップS105に進む。   If the mode dial 236 is set to a photographing mode such as P, Tv, Av, M, etc. (step S102), the process proceeds to step S105.

システムコントローラ230は、電池等により構成される図示されない電源の残容量や動作情況が撮像装置200の動作に問題があるか否かを判断する(ステップS105)。そして、問題があるならば表示回路231を用いて画像や音声により所定の警告表示を行った後に(ステップS107)、ステップS102に戻る。   The system controller 230 determines whether there is a problem in the operation of the imaging apparatus 200 due to the remaining capacity of the power source (not shown) and the operation status that are configured by a battery or the like (step S105). If there is a problem, the display circuit 231 is used to display a predetermined warning by image or sound (step S107), and then the process returns to step S102.

電源に問題が無いならば(ステップS105)、システムコントローラ230は記録媒体である不揮発性メモリ224の動作状態が撮像装置200の動作、特に記録媒体に対する画像データの記録再生動作に問題があるか否かを判断する(ステップS106)。そして、問題があるならば表示回路231を用いて画像や音声により所定の警告表示を行った後に(ステップS107)、ステップS102に戻る。   If there is no problem with the power supply (step S105), the system controller 230 determines whether the operation state of the nonvolatile memory 224 that is a recording medium is a problem with the operation of the imaging apparatus 200, particularly with respect to the recording / reproducing operation of the image data with respect to the recording medium. Is determined (step S106). If there is a problem, the display circuit 231 is used to display a predetermined warning by image or sound (step S107), and then the process returns to step S102.

不揮発性メモリ224の動作状態に問題が無いならば(ステップS106)、表示回路231を用いて画像や音声により撮像装置200の各種設定状態の表示を行う(ステップS108)。   If there is no problem in the operation state of the non-volatile memory 224 (step S106), the display circuit 231 is used to display various setting states of the imaging device 200 using images and sounds (step S108).

システムコントローラ230は、防振モードスイッチ235の設定状態を調べ(ステップS109)、防振機能ONに設定されていたならば防振機能フラグを設定する(ステップS110)。また、防振機能OFFに設定されていたならば防振機能フラグを解除する(ステップS111)。   The system controller 230 checks the setting state of the image stabilization mode switch 235 (step S109), and sets the image stabilization function flag if the image stabilization function is ON (step S110). If the image stabilization function is OFF, the image stabilization function flag is canceled (step S111).

なお、防振機能フラグの状態は、システムコントローラ230の内部メモリ或いはDRAM229に記憶される。   The state of the image stabilization function flag is stored in the internal memory of the system controller 230 or the DRAM 229.

次に感度上限設定部237が操作され、使用者が自分の許容できる撮影感度の上限を設定したかどうかが判定される(ステップS121)。設定が行われたならその設定された上限感度を記憶する。上限感度は、システムコントローラ230の内部メモリ或いはDRAM229に記憶される。本実施形態では、設定可能な上限感度はISO400、ISO800、ISO1600の3種類から選択可能としている。   Next, the sensitivity upper limit setting unit 237 is operated, and it is determined whether or not the user has set the upper limit of the photographing sensitivity that can be accepted by the user (step S121). If set, the set upper limit sensitivity is stored. The upper limit sensitivity is stored in the internal memory of the system controller 230 or the DRAM 229. In the present embodiment, the settable upper limit sensitivity can be selected from three types: ISO400, ISO800, and ISO1600.

レリーズスイッチSW1(233)が押されていないならば(ステップS112)、ステップS102に戻る。   If release switch SW1 (233) has not been pressed (step S112), the process returns to step S102.

レリーズスイッチSW1(233)が押されたならば(ステップS112)、システムコントローラ230は、位相差AFセンサ205、焦点検出回路206による位相差測距処理を行う。そして、その結果に応じて撮影レンズ100側に通信を行い、レンズ制御回路104、レンズ駆動回路103によってフォーカスレンズ101の焦点を被写体に合わせる。次に測光処理を行って絞り値及びシャッタ時間(撮影条件)を決定する(ステップS113)。   If the release switch SW1 (233) is pressed (step S112), the system controller 230 performs phase difference distance measurement processing by the phase difference AF sensor 205 and the focus detection circuit 206. Then, communication is performed on the photographing lens 100 side according to the result, and the focus of the focus lens 101 is focused on the subject by the lens control circuit 104 and the lens driving circuit 103. Next, photometric processing is performed to determine the aperture value and shutter time (imaging conditions) (step S113).

測光処理において、本実施形態では図示および説明はしていないが、必要であれば撮像装置200に内蔵または外付けされているフラッシュの設定も行う。   In the photometric processing, although not shown or described in the present embodiment, a flash built in or externally attached to the imaging apparatus 200 is also set if necessary.

この測距・測光処理ルーチンS113の詳細は図4を用いて後述する。   Details of the distance measurement / photometry processing routine S113 will be described later with reference to FIG.

測距・測光処理ステップS113を終えたならば、レリーズスイッチSW2(234)が押されたかどうかの判定(ステップS114)に進む。   When the distance measurement / photometry processing step S113 is completed, the process proceeds to the determination (step S114) as to whether or not the release switch SW2 (234) has been pressed.

レリーズスイッチSW2(234)が押されずに(ステップS114)、さらにレリーズスイッチSW1(233)も解除されたならば(ステップS115)、ステップS102に戻る。   If release switch SW2 (234) is not pressed (step S114) and release switch SW1 (233) is also released (step S115), the process returns to step S102.

レリーズスイッチSW2(234)が押されたならば(ステップS114)、ステップS116に進む。   If release switch SW2 (234) is pressed (step S114), the process proceeds to step S116.

システムコントローラ230は、撮像素子212、A/D変換器217、カメラDSP227、メモリコントローラ228を介して、DRAM229に撮影した画像データを書き込む露光処理、及び、メモリコントローラ228、そして必要に応じてカメラDSP227、DRAM229に書き込まれた画像データを読み出して各種処理を行う現像処理からなる撮影処理を実行する(ステップS116)。   The system controller 230 includes an exposure process for writing captured image data in the DRAM 229 via the image sensor 212, the A / D converter 217, the camera DSP 227, and the memory controller 228, and the memory controller 228 and, if necessary, the camera DSP 227. Then, a photographing process including a developing process for reading out the image data written in the DRAM 229 and performing various processes is executed (step S116).

この撮影処理ルーチンS116の詳細は図5を用いて後述する。   Details of the photographing processing routine S116 will be described later with reference to FIG.

システムコントローラ230は、DRAM229に書き込まれた撮影画像データを読み出して、メモリコントローラ228そして必要に応じてカメラDSP227を用いて各種画像処理を行う。また、圧縮・伸長回路225を用いて設定したモードに応じた画像圧縮処理を行った後、記録媒体である不揮発性メモリ224へ画像データの書き込みを行う記録処理を実行する(ステップS117)。   The system controller 230 reads the captured image data written in the DRAM 229 and performs various image processing using the memory controller 228 and, if necessary, the camera DSP 227. Further, after performing an image compression process according to the mode set using the compression / decompression circuit 225, a recording process for writing image data to the nonvolatile memory 224 as a recording medium is executed (step S117).

この記録処理ルーチンS117の詳細は図7を用いて後述する。   Details of the recording processing routine S117 will be described later with reference to FIG.

記録処理ステップS117が終了した際に、レリーズスイッチSW2(234)が押された状態であったならば(ステップS118)、システムコントローラ230はシステムコントローラ230の内部メモリ或いはDRAM229に記憶される連写フラグの状態を判断する(ステップS119)。そして、連写フラグが設定されていたならば、連続して撮影を行うためにステップS116に戻り、次の撮影を行う。   If the release switch SW2 (234) has been pressed when the recording processing step S117 is completed (step S118), the system controller 230 will store the continuous shooting flag stored in the internal memory of the system controller 230 or the DRAM 229. Is determined (step S119). If the continuous shooting flag has been set, the flow returns to step S116 to perform continuous shooting, and the next shooting is performed.

連写フラグが設定されていないならば(ステップS119)、レリーズスイッチSW2(234)が放されるまで(ステップS118)、現在の処理を繰り返す。   If the continuous shooting flag is not set (step S119), the current process is repeated until the release switch SW2 (234) is released (step S118).

レリーズスイッチSW1(233)が押された状態であったならば(ステップS120)、システムコントローラ230は、ステップS114に戻って次の撮影に備える。   If the release switch SW1 (233) has been pressed (step S120), the system controller 230 returns to step S114 to prepare for the next shooting.

レリーズスイッチSW1(233)が放された状態であったならば(ステップS120)、システムコントローラ230は、一連の撮影動作を終えてステップS102に戻る。   If the release switch SW1 (233) has been released (step S120), the system controller 230 finishes a series of shooting operations and returns to step S102.

図4は、図3のステップS113における測距・測光処理の詳細を示すフローチャートである。   FIG. 4 is a flowchart showing details of the distance measurement / photometry processing in step S113 of FIG.

まず、測距・測光処理においては、システムコントローラ230は、焦点検出回路206により、クイックリターンミラー203のハーフミラー部を透過しサブミラー204で反射した被写体からの光束の一部を位相差AFセンサ205上の像として読み出す。そして、公知の位相差AF技術により、被写体までの距離を検出する(ステップS201)。   First, in the distance measurement / photometry processing, the system controller 230 causes the focus detection circuit 206 to transfer a part of the light beam from the subject that is transmitted through the half mirror portion of the quick return mirror 203 and reflected by the sub mirror 204 to the phase difference AF sensor 205. Read out as the top image. Then, the distance to the subject is detected by a known phase difference AF technique (step S201).

そして、システムコントローラ230は、電気接点ユニット107を介して、レンズ制御回路104に対してレンズ駆動指令の通信を行う。そして、レンズ制御回路104はその指令値に基き、レンズ駆動機構103を介してフォーカスレンズ101を駆動する(ステップS202)。   Then, the system controller 230 communicates a lens drive command to the lens control circuit 104 via the electrical contact unit 107. Then, the lens control circuit 104 drives the focus lens 101 via the lens driving mechanism 103 based on the command value (step S202).

駆動後、システムコントローラ230は、焦点検出回路206および位相差AFセンサ205を用いて再度測距を行う(ステップS203)。   After driving, the system controller 230 performs distance measurement again using the focus detection circuit 206 and the phase difference AF sensor 205 (step S203).

測距の結果、合焦状態であると判断されたなら(ステップS204)、測光処理に進む。合焦状態でないと判断されたなら合焦状態になるまでステップS201からステップS204のシークエンスを繰り返す。   If it is determined that the in-focus state is obtained as a result of the distance measurement (step S204), the process proceeds to photometry processing. If it is determined that it is not in focus, the sequence from step S201 to step S204 is repeated until it is in focus.

測光処理(ステップS205)では、システムコントローラ230は、測光回路209を介して、測光センサ208により被写体輝度を測定する。   In the photometric process (step S205), the system controller 230 measures the subject brightness by the photometric sensor 208 via the photometric circuit 209.

次に、システムコントローラ230はシステムコントローラ230の内部メモリ或いはDRAM229に記憶されている防振機能フラグの状態を判断する(ステップS206)。そして、防振機能ONの場合は防振用AE制御を行い(ステップS207)、防振機能OFF時は通常のAE制御を行う(ステップS208)。   Next, the system controller 230 determines the state of the image stabilization function flag stored in the internal memory of the system controller 230 or the DRAM 229 (step S206). When the image stabilization function is ON, image stabilization AE control is performed (step S207), and when the image stabilization function is OFF, normal AE control is performed (step S208).

防振機能がONの場合は、複数枚の画像が連続撮影され、その後、画像処理装置にて像の位置ズレを補正しながら加算合成が行われる。このときのシャッタ速度は通常のAE制御時より合成する枚数に応じて手ブレが発生しにくい速いシャッタ速度で制御する必要がある。そのため、複数枚の画像のそれぞれは露出不足の画像となり、それらを合成することにより、結果として目標とする露出の画像を得る。   When the image stabilization function is ON, a plurality of images are continuously photographed, and thereafter, addition and synthesis are performed while correcting the positional deviation of the image by the image processing apparatus. The shutter speed at this time needs to be controlled at a high shutter speed at which camera shake is unlikely to occur according to the number of images to be combined, compared to the normal AE control. Therefore, each of the plurality of images becomes an underexposed image, and by combining them, a target exposure image is obtained as a result.

防振機能ON状態でのAE制御(ステップS207)については図8を用いて後述する。   The AE control (step S207) when the image stabilization function is ON will be described later with reference to FIG.

以上により、測距・測光処理は終了する。   Thus, the distance measurement / photometry process ends.

図5は、図3のステップS116における撮影処理の詳細を示すフローチャートである。   FIG. 5 is a flowchart showing details of the photographing process in step S116 of FIG.

撮影処理が開始されるとまずシステムコントローラ230は、ミラー駆動機構213を介して、クイックリターンミラー203をミラーアップし、撮影光路外に退避した第2の位置に移動させる。このとき、サブミラー204もクイックリターンミラー203に対して折り畳まれて撮影光路外に退避する(ステップS301)。   When the photographing process is started, first, the system controller 230 mirrors the quick return mirror 203 via the mirror driving mechanism 213 and moves it to the second position retracted out of the photographing optical path. At this time, the sub mirror 204 is also folded with respect to the quick return mirror 203 and retracted out of the photographing optical path (step S301).

次にシステムコントローラ230は、電気接点ユニット107を介して、絞り制御駆動回路106に対してAE演算時に求められたAv値に基づいて絞り駆動指令の通信を行う。そして、絞り制御駆動回路106はその指令値に基づき、絞り駆動機構105を介して絞り102を絞込み駆動する(ステップS302)。   Next, the system controller 230 communicates the aperture drive command to the aperture control drive circuit 106 via the electrical contact unit 107 based on the Av value obtained during the AE calculation. Based on the command value, the diaphragm control drive circuit 106 drives the diaphragm 102 to narrow down via the diaphragm drive mechanism 105 (step S302).

次にシステムコントローラ230は、シャッタ制御回路215に対して制御信号を出力し、シャッタ先幕を走行させ、シャッタ開状態にする(ステップS303)。この動作により、撮像素子212の露光が開始される(ステップS304)。   Next, the system controller 230 outputs a control signal to the shutter control circuit 215, causes the shutter front curtain to travel, and opens the shutter (step S303). By this operation, exposure of the image sensor 212 is started (step S304).

次にシステムコントローラ230は、露光開始から内部のタイマ等により、測光時(ステップS205〜ステップS208)に設定されたTv値に相当する時間が経過したかどうかを判断する(ステップS305)。設定された時間が経過していない場合は経過するまでステップS305をループして待つ。経過したなら露光終了と判断して次のステップS306に進む。   Next, the system controller 230 determines whether or not a time corresponding to the Tv value set at the time of photometry (step S205 to step S208) has elapsed by using an internal timer or the like from the start of exposure (step S305). If the set time has not elapsed, the process waits by looping step S305 until it elapses. If it has elapsed, it is determined that the exposure is completed, and the process proceeds to the next step S306.

ステップS306では、システムコントローラ230はシャッタ制御回路215に対して制御信号を出力し、シャッタ後幕を走行させ、シャッタを閉状態にして、撮像素子212の露光を終了させる。   In step S306, the system controller 230 outputs a control signal to the shutter control circuit 215, runs the shutter rear curtain, closes the shutter, and ends the exposure of the image sensor 212.

次にシステムコントローラ230は、電気接点ユニット107を介して、絞り制御駆動回路106に対して絞りを開放状態にするための絞り駆動指令の通信を行う。そして、絞り制御駆動回路106はその指令値に基き、絞り駆動機構105を介して絞り102を開放状態に駆動する(ステップS307)。   Next, the system controller 230 communicates an aperture drive command for opening the aperture to the aperture control drive circuit 106 via the electrical contact unit 107. Based on the command value, the aperture control drive circuit 106 drives the aperture 102 to the open state via the aperture drive mechanism 105 (step S307).

次にシステムコントローラ230は、ミラー駆動機構213を介して、クイックリターンミラー203をミラーダウンさせ、ファインダー光学系へ被写体からの光束を導く第1の位置に移動させる(ステップS308)。   Next, the system controller 230 lowers the quick return mirror 203 via the mirror drive mechanism 213 and moves it to the first position for guiding the light beam from the subject to the viewfinder optical system (step S308).

次にシステムコントローラ230は、次の撮影に備えて、シャッタチャージ機構214によりバネチャージを行う(ステップS309)。   Next, the system controller 230 performs spring charging by the shutter charge mechanism 214 in preparation for the next shooting (step S309).

次にシステムコントローラ230は、カメラDSP227に対して指令を与え、露光中に撮像素子212上に形成された画像信号の読み出しを行う(ステップS310)。読み出された信号は、カメラDSP227に接続されたタイミングジェネレータ219、セレクタ222を介してCDS/AGC回路216により増幅され、各画素ごとにA/Dコンバータ217によりデジタル信号に変換される。デジタル信号に変換された画像データは、セレクタ222を介して、メモリコントローラ228に入力され、フレームメモリであるDRAM229に転送され保存される(ステップS311)。   Next, the system controller 230 gives a command to the camera DSP 227 and reads out an image signal formed on the image sensor 212 during exposure (step S310). The read signal is amplified by the CDS / AGC circuit 216 via the timing generator 219 and the selector 222 connected to the camera DSP 227, and converted into a digital signal by the A / D converter 217 for each pixel. The image data converted into the digital signal is input to the memory controller 228 via the selector 222, transferred to and saved in the DRAM 229 which is a frame memory (step S311).

次に、システムコントローラ230はシステムコントローラ230の内部メモリ或いはDRAM229に記憶されている防振機能フラグの状態を判断し(ステップS312)、防振機能ONの場合は、防振撮影終了判断(ステップS313)に進む。ステップS312にて防振機能OFFならば撮影動作を終了する。   Next, the system controller 230 determines the state of the image stabilization function flag stored in the internal memory of the system controller 230 or the DRAM 229 (step S312). ) If the image stabilization function is OFF in step S312, the shooting operation is terminated.

防振機能フラグがセットされている場合(ステップS312)は、防振用連写撮影が終了したかどうかを判断し(ステップS313)、終了していない場合はステップS301に戻り、防振用連写が終了するまで上記のステップを繰り返す。   If the image stabilization function flag has been set (step S312), it is determined whether image stabilization continuous shooting has been completed (step S313). Repeat the above steps until copying is complete.

防振用連写撮影が終了したなら、次に、防振用画像合成処理を行う。まず、システムコントローラ230がDRAM229内にある防振用画像処理に用いる変数で何枚目を処理しているかを表す変数nを1に初期化する(ステップS314)。   After the image stabilization continuous shooting is completed, image stabilization processing is performed next. First, the system controller 230 initializes to 1 a variable n indicating what number is processed with the variables used in the image stabilization image processing in the DRAM 229 (step S314).

次に、システムコントローラ230は、カメラDSP227の動きベクトル検知機能を用いて防振連写撮影のnコマ目画像とn+1コマ目画像間の動きベクトルを演算する(ステップS315)。   Next, the system controller 230 uses the motion vector detection function of the camera DSP 227 to calculate a motion vector between the n-th frame image and the n + 1-th frame image in the image stabilization continuous shooting (step S315).

動きベクトルの検知方法としてはさまざまな手法が公知であり、そのうちどのような手法を用いることも可能である。一例として図6を用いて説明する。図6は動きベクトル検知方法の一例を説明する図である。   Various methods are known as motion vector detection methods, and any of these methods can be used. An example will be described with reference to FIG. FIG. 6 is a diagram for explaining an example of a motion vector detection method.

図6(a)は画面を小ブロックに分割する様子を示した図である。300は撮影された画像であり、ここでは横3072画素、縦2048画素、総画素数6,291,456画素の画像が撮影されるものとする。動きベクトルを求めるためにここでは画面全体を横256画素、縦256画素の小ブロック301に分割する。このようにして図6(a)に示すように横12ブロック、縦8ブロックに分割される。   FIG. 6A is a diagram showing how the screen is divided into small blocks. Reference numeral 300 denotes a photographed image. Here, it is assumed that an image having 3072 horizontal pixels, 2048 vertical pixels and a total number of pixels of 6,291,456 pixels is captured. In order to obtain the motion vector, the entire screen is divided into small blocks 301 each having 256 pixels horizontally and 256 pixels vertically. In this way, as shown in FIG. 6A, it is divided into 12 horizontal blocks and 8 vertical blocks.

次に、各小ブロックごとに、動きベクトルを求めるためのもう1枚の画像との二次元相関値を求めていく。相関値としては、小ブロックを画素単位でずらしながら、対応する各画素間の差の絶対値の和を次々に求めていき、その和が最小となるずらし量をその小ブロックの動きベクトルとする。   Next, for each small block, a two-dimensional correlation value with another image for obtaining a motion vector is obtained. The correlation value is obtained by successively calculating the sum of absolute values of differences between corresponding pixels while shifting the small block in units of pixels, and the shift amount that minimizes the sum is used as the motion vector of the small block. .

このようにして、図6(b)に示すように全ての小ブロックにおいてその動きベクトル302を求める。   In this way, as shown in FIG. 6B, the motion vector 302 is obtained for all the small blocks.

次にそのようにして求めた動きベクトルの頻度を調べる。頻度を最頻値から順にプロットしたヒストグラムが図6(c)である。このようにして求めたヒストグラムから二画像間の動きベクトルを求める。たとえば、図6(c)の場合は(2,1)が最頻値であり、この二画像間の動きベクトルとなる。   Next, the frequency of the motion vector thus obtained is examined. FIG. 6C shows a histogram in which the frequencies are plotted in order from the mode value. A motion vector between two images is obtained from the histogram thus obtained. For example, in the case of FIG. 6C, (2, 1) is the mode value, which is a motion vector between the two images.

次に、画像合成を行うために、システムコントローラ230は、カメラDSP227を用いて、ステップS315で求められた動きベクトル値を用いて、n+1コマ目画像がnコマ目画像と重なるように座標変換を行う(ステップS316)。   Next, in order to perform image composition, the system controller 230 uses the camera DSP 227 to perform coordinate conversion using the motion vector value obtained in step S315 so that the n + 1 frame image overlaps the n frame image. This is performed (step S316).

次に座標変換されたn+1コマ目画像をnコマ目画像と加算合成する(ステップS317)。そして、合成された画像をDRAM229に記録する(ステップS318)。そして、n=n+1として(ステップS319)、防振連写した全ての画像の合成が終了したかどうかを判断し(ステップS320)、終了していない場合はステップS315からステップS320までのステップを繰り返す。ステップS320で連写した画像の最後まで合成処理が終了していると判断された場合は、撮影処理のシークエンスを終了する。   Next, the coordinate-converted n + 1 frame image is added and combined with the n frame image (step S317). The synthesized image is recorded in the DRAM 229 (step S318). Then, n = n + 1 is set (step S319), and it is determined whether or not the synthesis of all the images subjected to the vibration proof continuous shooting is finished (step S320). If not finished, the steps from step S315 to step S320 are repeated. . If it is determined in step S320 that the compositing process has been completed to the end of the continuously shot images, the sequence of the photographing process is ended.

次に記録処理の動作について図7を用いて説明する。図7は、図3のステップS117における記録処理の詳細を示すフローチャートである。   Next, the operation of the recording process will be described with reference to FIG. FIG. 7 is a flowchart showing details of the recording process in step S117 of FIG.

システムコントローラ230は、メモリコントローラ228そして必要に応じてカメラDSP227を用いて、DRAM229に書き込まれた撮影画像データを読み出して撮像素子の縦横画素比率を1:1に補間する画素正方化処理を行う(ステップS401)。その後、カメラDSP227を用いて、ワークメモリ226に処理を終えた画像データを書き込む。   The system controller 230 reads out the captured image data written in the DRAM 229 using the memory controller 228 and, if necessary, the camera DSP 227, and performs pixel square processing for interpolating the vertical / horizontal pixel ratio of the image sensor to 1: 1 ( Step S401). Thereafter, the processed image data is written into the work memory 226 using the camera DSP 227.

そして、ワークメモリ226に書き込まれた画像データを読み出して、設定したモードに応じた画像圧縮処理を圧縮・伸長回路225により行う(ステップS402)。その後、メモリカードやコンパクトフラッシュ(登録商標)カード等の不揮発性メモリ224へ圧縮した画像データの書き込みを行う(ステップS403)。   Then, the image data written in the work memory 226 is read out, and image compression processing according to the set mode is performed by the compression / decompression circuit 225 (step S402). Thereafter, the compressed image data is written into the non-volatile memory 224 such as a memory card or a compact flash (registered trademark) card (step S403).

記録媒体への書き込みが終わったならば、記録処理ルーチンS117を終了する。   When the writing to the recording medium is finished, the recording processing routine S117 is ended.

次に図8を用いて、図4のステップS207における防振時のAE制御について説明する。図8は防振時AE制御の動作を示すフローチャートである。   Next, the AE control at the time of image stabilization in step S207 of FIG. 4 will be described using FIG. FIG. 8 is a flowchart showing the operation of the anti-vibration AE control.

まず、ステップS205で測定されてシステムコントローラ230内のメモリ、またはDRAM229に記憶されている測光値が読み出される(ステップS501)。   First, the photometric value measured in step S205 and stored in the memory in the system controller 230 or the DRAM 229 is read (step S501).

次に、システムコントローラ230は、撮影レンズ100の焦点距離検出部109からの焦点距離情報を、電気接点ユニット107を介して、レンズ制御回路104より通信によって読み出す(ステップS502)。   Next, the system controller 230 reads the focal length information from the focal length detection unit 109 of the photographic lens 100 from the lens control circuit 104 via the electrical contact unit 107 by communication (step S502).

次に、ステップS502で求められたレンズ焦点距離情報からその焦点距離時の手ブレしにくい下限のシャッタ速度を演算する(ステップS503)。このようなシャッタ速度は次のようにして求めることが出来る。従来より35mmフィルムを使用するカメラでは撮影レンズの焦点距離をfmmとすると、1/f(sec)以上のシャッタ速度(1/f(sec)かそれよりも早いシャッタ速度)であれば手ブレが画像(画質)に影響を及ぼしにくいと言われている。一般的にデジタルカメラの撮像素子は35mmフィルムに対して小さいが、35mmフィルムに対する撮像素子の大きさの比と撮影レンズの実焦点距離から、35mmフィルムカメラ相当の焦点距離を求め、これをf’とする。そして、この逆数(1/f’(sec))以上のシャッタ速度を用いれば手ブレを画像に影響しにくくすることが出来る。または、PC用モニタなどで拡大表示して観察されることを考慮して、より高速なシャッタ速度に設定するようにしても良い。   Next, a lower limit shutter speed at which the camera shake is difficult at the focal length is calculated from the lens focal length information obtained in step S502 (step S503). Such a shutter speed can be obtained as follows. In a camera using a 35 mm film from the past, assuming that the focal length of the taking lens is fmm, camera shake occurs at a shutter speed of 1 / f (sec) or higher (1 / f (sec) or faster shutter speed). It is said that it does not affect the image (image quality). In general, an image pickup device of a digital camera is smaller than a 35 mm film, but a focal length equivalent to a 35 mm film camera is obtained from a ratio of the size of the image pickup device to the 35 mm film and an actual focal length of the photographing lens, and is obtained as f ′. And If a shutter speed equal to or greater than the reciprocal (1 / f '(sec)) is used, camera shake can be made less likely to affect the image. Alternatively, a higher shutter speed may be set in consideration of an enlarged display on a PC monitor or the like.

35mmフィルムと同等の撮像面積を持つフルサイズ撮像素子では、35mmフィルムの場合と同様、標準的な手ブレ量の撮影者なら1/f(sec)を下限のシャッタ速度とみなしてよい。たとえば焦点距離135mmのレンズの場合、1/f(sec)は1/135secとなるが、標準的なシャッタ速度の系列で考えると1/125secを下限シャッタ速度と見なして良いことになる。   In a full-size image sensor having an imaging area equivalent to that of a 35 mm film, as in the case of a 35 mm film, a photographer with a standard amount of camera shake may regard 1 / f (sec) as the lower limit shutter speed. For example, in the case of a lens having a focal length of 135 mm, 1 / f (sec) is 1/135 sec. However, considering a standard shutter speed series, 1/125 sec may be regarded as the lower limit shutter speed.

次に感度上限設定部237により設定され、システムコントローラ230の内部メモリ或いはDRAM229に記憶されている撮影者が許容できる上限感度設定が読み出される(ステップS504)。ここで、感度を上げるとノイズが増加して画質が低下するが、撮影者は自分が許容できる感度の上限値(画質劣化の限界)を予め感度上限設定部237により設定しておく。   Next, the upper limit sensitivity setting which is set by the sensitivity upper limit setting unit 237 and is acceptable to the photographer stored in the internal memory of the system controller 230 or the DRAM 229 is read (step S504). Here, when the sensitivity is increased, noise is increased and the image quality is deteriorated. However, the photographer sets an upper limit value of sensitivity (limit of image quality deterioration) that can be permitted by the sensitivity upper limit setting unit 237 in advance.

次に、ステップS501で読み出された測光値、ステップS503で演算された手ブレ限界シャッタ速度、ステップS504で読み出された上限感度設定値、およびシステムコントローラ230で設定されているプログラム線図より、シャッタ速度Tv、絞り値Av、感度、合成のための撮影枚数が算出される(ステップS505)。   Next, from the photometric value read in step S501, the camera shake limit shutter speed calculated in step S503, the upper limit sensitivity setting value read in step S504, and the program diagram set in the system controller 230 The shutter speed Tv, the aperture value Av, the sensitivity, and the number of shots for composition are calculated (step S505).

複数の画像の合成により手ぶれ防止をする場合と、単純にISO感度を上げて撮影する場合を比較すると、複数の画像の合成による手ぶれ防止では、各撮影画像は感度を下げて撮影するので、ノイズに関しては有利になる。   Comparing the case where camera shake is prevented by combining multiple images and the case where shooting is performed simply by increasing the ISO sensitivity, each shot image is shot with reduced sensitivity in the case of camera shake prevention by combining multiple images. Is advantageous.

そこで、低輝度になった場合、まず感度を上げるより、画像合成による手ぶれ防止効果を得る方を優先する露出プログラムとしている。また、複数の画像の合成による手ブレ防止効果では、4枚合成で2段、8枚合成で3段の効果を得ることができ、以下さらに効果を得ようとすると、合成すべき枚数は指数的に増えていく。普及クラスの一眼レフカメラでの連写速度が毎秒3コマ前後なので、4枚合成までは連写による撮影の所要時間は1.3秒前後で使い勝手はそれほど悪くはない。従って、低輝度側でシャッタ速度が手ブレ限界秒時に到達してからは、まず画像合成による手ブレ防止を行うようにし、連写枚数が4枚になるまでは合成する(連写する)画像の枚数を増加させることで対応する。それより低輝度側では、合成する(連写する)画像の枚数を4枚に固定したまま、感度を上げることで対応する。さらに低輝度になった場合は合成する(連写する)画像の枚数を8枚まで許容して画像合成による手ブレ防止を行うようにする。さらに低輝度になった場合は連動できなくなるので、シャッタ速度を低速側にして適正露出になるように対応する。   Therefore, in the case of low brightness, an exposure program that gives priority to a camera shake prevention effect by image composition is given priority over increasing sensitivity. In addition, in the anti-shake effect by combining a plurality of images, it is possible to obtain a 2-stage effect by combining 4 images and a 3-stage effect by combining 8 images. Will increase. Since the continuous shooting speed with a single-lens reflex camera of the popular class is around 3 frames per second, the time required for continuous shooting is about 1.3 seconds until 4 frames are combined, so the usability is not so bad. Therefore, after the shutter speed reaches the camera shake limit second on the low luminance side, image stabilization is first performed by combining images, and images are combined (continuously shot) until the number of continuous shots reaches four. This can be done by increasing the number. On the lower luminance side, this can be dealt with by increasing the sensitivity while fixing the number of images to be combined (continuously shot) to four. When the brightness further decreases, the number of images to be combined (continuous shooting) is allowed up to eight to prevent camera shake by image combining. Further, since it becomes impossible to interlock when the brightness becomes lower, the shutter speed is set to a low speed side to cope with appropriate exposure.

8枚より1段効果を得ようとすると16枚の連写が必要になるが、ここまで増えると現状の普及クラスの一眼レフカメラ(毎秒3コマ程度)では撮影だけでも5秒以上時間がかかることになる。しかし、感度上限が低く設定された場合には、16枚までの連写を許容してもよい。   To obtain a one-step effect from 8 images, 16 continuous shots are required. However, if it increases to this point, it takes more than 5 seconds to shoot only with the current popular single-lens reflex camera (about 3 frames per second). It will be. However, when the upper limit of sensitivity is set low, up to 16 continuous shots may be allowed.

どのようにシャッタ速度、絞り値、感度、撮影枚数を決定するかについて、以下フルサイズ撮像素子を用いたカメラにおいて、焦点距離135mm、開放絞り値F2.0のレンズを使用した場合についてのプログラム線図を図9により具体的に説明する。上記のようにフルサイズ撮像素子、焦点距離135mmでは1/125secを手ブレしない下限シャッタ速度と見なして良い。   How to determine the shutter speed, aperture value, sensitivity, and number of shots, the program line when using a lens with a focal length of 135 mm and an open aperture value of F2.0 in a camera using a full-size image sensor. The figure will be specifically described with reference to FIG. As described above, with a full-size image sensor and a focal length of 135 mm, 1/125 sec may be regarded as the lower limit shutter speed at which camera shake does not occur.

図9A〜図9Cは上記条件の場合の露出プログラムを表したプログラム線図であり、図9Aは、上記の意図を具現化し、感度上限をISO1600にした場合のプログラム線図である。   9A to 9C are program diagrams showing an exposure program under the above conditions, and FIG. 9A is a program diagram when the above intention is realized and the upper limit of sensitivity is ISO1600.

また、感度上限がISO400になった場合のプログラム線図を図9Bに示す。   FIG. 9B shows a program diagram when the upper limit of sensitivity is ISO400.

さらに参考に、画像合成による手ブレ防止を行わず、かつ感度上限がISO1600に設定された場合のプログラム線図を図9Cに示す。   For further reference, FIG. 9C shows a program diagram in the case where camera shake prevention by image composition is not performed and the upper sensitivity limit is set to ISO1600.

まず、図9Aについて説明する。   First, FIG. 9A will be described.

図9Aでは、EV23〜EV9までは十分明るいので、感度がISO100のままで、シャッタ速度が次第に遅くなり、EV9で1/125秒となる。EV9よりも被写体が暗くなると、シャッタ速度が1/125秒より遅くなり、手ブレが画質に影響を与えるようになるため、被写体の明るさがEV8では、シャッタ速度1/125秒で2枚の画像を連写し、これらの画像を合成することにより手ブレを抑制する。また、EV7では、シャッタ速度1/125秒で4枚の画像を連写し、これらの画像を合成する。EV7〜EV3では、感度が100のままでは連写枚数が4枚より多くなるため、連写枚数は4枚に保ったまま、感度を次第に上げていく。そして、EV3では、感度が上限として設定したISO1600となる。被写体がEV3よりも暗くなった場合には、感度は既に設定した上限値に達しているので、再び連写枚数(合成枚数)を増やすことで対応し、EV2では連写枚数を8枚とする。被写体の明るさがEV2よりも更に暗くなると、既に感度も連写枚数も上限値となっているので、シャッタ速度を次第に遅くすることで対応する。   In FIG. 9A, EV23 to EV9 are sufficiently bright, so the sensitivity remains ISO100, the shutter speed gradually decreases, and EV9 becomes 1/125 seconds. When the subject becomes darker than EV9, the shutter speed becomes slower than 1/125 seconds, and camera shake affects the image quality. Therefore, when the subject brightness is EV8, the shutter speed is 1/125 seconds and two images are shot. Camera shake is suppressed by continuously shooting images and synthesizing these images. In EV7, four images are continuously shot at a shutter speed of 1/125 seconds, and these images are combined. In EV7 to EV3, if the sensitivity is 100, the number of continuous shots is more than four. Therefore, the sensitivity is gradually increased while the number of continuous shots is kept at four. In EV3, the sensitivity is ISO 1600 set as the upper limit. When the subject becomes darker than EV3, the sensitivity has already reached the set upper limit value, so this is dealt with by increasing the number of continuous shots (composite number) again, and EV2 sets the number of continuous shots to eight. . If the brightness of the subject becomes even darker than EV2, the sensitivity and the number of continuous shots have already reached the upper limit values, so this is dealt with by gradually decreasing the shutter speed.

以上が、感度上限をISO1600とした場合のプログラム線図の例である。   The above is an example of a program diagram when the sensitivity upper limit is ISO1600.

また、図9BはISO感度の上限を400とした場合の例、図9Cは画像合成による手ブレ補正を行なわない場合の例であるが、それぞれの違いはEV9以下の低輝度側で生じる。感度上限がISO400に設定された場合(図9B)は、ISO1600に設定された場合(図9A)と比較すると、上限感度がISO400なので、EV4以下で合成枚数を8枚、16枚まで増やしている。画像合成による手ブレ補正を行なわない場合(図9C)は、EV9〜EV5の間で感度をISO1600まで次第に上げ、それより暗い範囲では、シャッタ速度を1/125秒よりも次第に遅くする。   FIG. 9B shows an example in which the upper limit of ISO sensitivity is set to 400, and FIG. 9C shows an example in which camera shake correction by image composition is not performed. However, each difference occurs on the low luminance side below EV9. When the upper limit sensitivity is set to ISO400 (FIG. 9B), compared to the case where ISO1600 is set (FIG. 9A), the upper limit sensitivity is ISO400. . When camera shake correction by image composition is not performed (FIG. 9C), the sensitivity is gradually increased to EV1600 between EV9 and EV5, and the shutter speed is gradually decreased from 1/125 seconds in a darker range.

以上説明したように、撮影者が感度上限を設定でき、それに対応した露出プログラムを用いて、画像合成による手ブレ補正を行うことで、許容範囲内で、できるだけノイズが少なく、かつ手ブレの影響の少ない画像を得ることができる。   As described above, the photographer can set the upper limit of sensitivity, and using the corresponding exposure program to perform camera shake correction by image synthesis, the noise is as low as possible and the effects of camera shake are within the allowable range. An image with less can be obtained.

現時点では、デジタルカメラでの画像情報の読み出しには2〜8ch程度のA/D変換器が使用されているが、より多数、たとえば1行に1つのA/D変換器を設けて高速読み出しを行う技術も提案されている。将来的に、現在よりも高速な画像読み出しが行われるようになれば、連写撮影の枚数の上限をより増やしてもかまわない。   At present, about 2-8ch A / D converters are used for reading image information with a digital camera. However, a higher number of A / D converters, for example, one A / D converter per line is provided for high-speed reading. Techniques to perform are also proposed. In the future, the upper limit of the number of continuous shots may be increased if image reading is performed at a speed higher than that at present.

また、上記の説明では位置合わせの基準を2枚の画像のうち、先に撮影された画像とする例について説明したが、結果として位置合わせが出来れば良いので、位置合わせの基準はどこに置いてもよい。たとえば1枚目を基準に、1枚目と2枚目、1枚目と3枚目、1枚目と4枚目の動きベクトルを求めて、2〜4枚目を1枚目の画像に重ねるという処理をしてもかまわない。   Also, in the above description, the example in which the alignment reference is the image that has been taken first of the two images has been described. However, as long as alignment is possible as a result, where is the alignment reference placed? Also good. For example, on the basis of the first image, the motion vectors of the first image, the second image, the first image, the third image, the first image and the fourth image are obtained, and the second image to the fourth image are converted into the first image. It does not matter if it is processed to overlap.

以上、本発明の実施形態の説明を行ったが、本発明は上記の実施形態に限定されることなく、種々の変形が可能である。   As mentioned above, although embodiment of this invention was described, this invention is not limited to said embodiment, A various deformation | transformation is possible.

上記の説明では、本発明をレンズ交換式の一眼レフタイプの撮像装置に適用した例を説明したが、レンズや鏡筒が本体と一体化された、いわゆるコンパクトタイプのデジタルカメラに適用してもかまわない。また、静止画撮影機能を有するビデオカメラなどについても本発明が適用可能なことは言うまでもない。   In the above description, the example in which the present invention is applied to an interchangeable lens single-lens reflex type imaging apparatus has been described. However, the present invention may be applied to a so-called compact type digital camera in which a lens and a lens barrel are integrated with a main body. Absent. Needless to say, the present invention can also be applied to a video camera having a still image shooting function.

また、操作系についてもモードダイアルでなく、プッシュスイッチの組み合わせでモードを切り替え可能なように構成してもよい。   Further, the operation system may be configured not to be a mode dial but to be able to switch modes by a combination of push switches.

また、上記の実施形態では、画像の平行移動(動きベクトル)を用いて画像の位置合わせを行うように説明したが、アフィン変換など、画像の回転や変形まで考慮して合成を行ってよい。   Further, in the above-described embodiment, the image alignment is described using the parallel movement (motion vector) of the image. However, the image may be combined in consideration of image rotation and deformation such as affine transformation.

また、小ブロックの分割画素数は本実施形態で説明した画素数に限定されるものではなく、たとえば128画素×128画素など任意の大きさのブロックでかまわない。また、画面全体の動きベクトルの判定もたとえば頻度順に2〜3の動きベクトル候補値を選び、それらから補間によって求めるようにしてもよい。また、他の公知な方法によってもかまわない。たとえば画面から特徴となる点を抽出し、それと対応する点を探しだすことで動きベクトルを求めるようにしてもよい。また、画面全体を調べるのではなく、演算量を減らすために小ブロックを一部選択してそれらについての動きベクトルから求めるようにしてもよい。このように様々な手法が公知であるがそれらのどの方法によって動きベクトルを求めても良い。   The number of divided pixels of the small block is not limited to the number of pixels described in the present embodiment, and may be a block having an arbitrary size such as 128 pixels × 128 pixels. Also, the motion vector for the entire screen may be determined by selecting, for example, two to three motion vector candidate values in order of frequency and obtaining them by interpolation. Also, other known methods may be used. For example, a motion vector may be obtained by extracting a feature point from the screen and searching for a corresponding point. Further, instead of examining the entire screen, some small blocks may be selected and obtained from motion vectors for reducing the amount of calculation. As described above, various methods are known, and the motion vector may be obtained by any of these methods.

また、本実施形態ではカメラ内で位置合わせおよび合成処理を行う場合について説明したが、カメラ側では連写撮影のみを行い、撮影された複数画像をPCやプリンタなどに取り込み、後処理的に位置合わせ、および合成処理を行うようにしても良い。また、銀塩フィルムのラボのように、ユーザーが記憶媒体に記憶された画像をラボに持ち込んだり、インターネットなどの通信機能によりラボ側に画像を送付し、ラボ側にて画像合成処理を行うという形態でもかまわない。   Further, in the present embodiment, the case of performing alignment and composition processing in the camera has been described. However, only continuous shooting is performed on the camera side, and a plurality of captured images are taken into a PC, a printer, or the like, and are post-processed. You may make it perform combining and a synthetic | combination process. Also, like a silver salt film lab, users bring images stored in a storage medium to the lab, send images to the lab by the communication function such as the Internet, and perform image composition processing on the lab side It doesn't matter in the form.

なお、不揮発性メモリ224は、PCMCIAカードやコンパクトフラッシュ(登録商標)等のメモリカード、ハードディスク等だけでなく、マイクロDAT、光磁気ディスク、CD−RやCR−WR等の光ディスク、DVD等の相変化型光ディスク等で構成されていてもよい。   The nonvolatile memory 224 is not only a memory card such as a PCMCIA card or a compact flash (registered trademark), a hard disk, but also a micro DAT, a magneto-optical disk, an optical disk such as a CD-R or CR-WR, a DVD, or the like. It may be composed of a changeable optical disk or the like.

また、不揮発性メモリ224とハードディスク等が一体となった複合媒体であってもよい。さらに、その複合媒体から一部が着脱可能な構成としてもよい。   Alternatively, a composite medium in which the nonvolatile memory 224 and a hard disk or the like are integrated may be used. Further, a part of the composite medium may be detachable.

また、上記の実施形態の説明においては、不揮発性メモリ224は撮像装置200と分離していて任意に接続可能なものとして説明したが、撮像装置200に固定したままとなっていてもよい。   In the above description of the embodiment, the nonvolatile memory 224 is described as being separated from the imaging device 200 and can be arbitrarily connected, but may be fixed to the imaging device 200.

また、撮像装置200に不揮発性メモリ224が、単数或いは複数の任意の個数接続可能な構成であっても構わない。   The non-volatile memory 224 may be configured to be connected to an arbitrary number of single or plural non-volatile memories 224.

画像合成を行う画像処理装置の画像処理はソフトウェアで実現しても良いし、ハードウェアで実現しても良い。   Image processing of the image processing apparatus that performs image composition may be realized by software or hardware.

さらに上記以外に本発明の趣旨に沿った範囲でさまざまな変形例の形態をとってもかまわない。   In addition to the above, various modifications may be made without departing from the scope of the present invention.

(他の実施形態)
また、各実施形態の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
(Other embodiments)
In addition, an object of each embodiment is to supply a storage medium (or recording medium) on which a program code of software that realizes the functions of the above-described embodiments is recorded to a system or apparatus, and a computer (or CPU) of the system or apparatus Needless to say, this can also be achieved by reading and executing the program code stored in the storage medium. 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. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

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

本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明した手順に対応するプログラムコードが格納されることになる。   When the present invention is applied to the above-mentioned storage medium, the storage medium stores program codes corresponding to the procedure described above.

本発明の一実施形態に係わる撮像装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an imaging apparatus according to an embodiment of the present invention. 本発明の一実施形態に係わる撮像装置の主ルーチンを示すフローチャートである。It is a flowchart which shows the main routine of the imaging device concerning one Embodiment of this invention. 本発明の一実施形態に係わる撮像装置の主ルーチンを示すフローチャートである。It is a flowchart which shows the main routine of the imaging device concerning one Embodiment of this invention. 本発明の一実施形態に係わる撮像装置の測距・測光ルーチンを示すフローチャートである。It is a flowchart which shows the distance measurement and photometry routine of the imaging device concerning one Embodiment of this invention. 本発明の一実施形態に係わる撮像装置の撮影ルーチンを示すフローチャートである。4 is a flowchart illustrating a shooting routine of the imaging apparatus according to the embodiment of the present invention. 本発明の一実施形態における動きベクトル検知方法について説明する図である。It is a figure explaining the motion vector detection method in one Embodiment of this invention. 本発明の一実施形態に係わる撮像装置の記録ルーチンを示すフローチャートである。4 is a flowchart illustrating a recording routine of the imaging apparatus according to the embodiment of the present invention. 本発明の一実施形態に係わる撮像装置の測光演算ルーチンを示すフローチャートである。It is a flowchart which shows the photometry calculation routine of the imaging device concerning one Embodiment of this invention. 本発明の一実施形態における露出プログラムのプログラム線図を説明する図である。It is a figure explaining the program diagram of the exposure program in one Embodiment of this invention. 本発明の一実施形態における露出プログラムのプログラム線図を説明する図である。It is a figure explaining the program diagram of the exposure program in one Embodiment of this invention. 露出プログラムのプログラム線図の参考例を説明する図である。It is a figure explaining the reference example of the program diagram of an exposure program.

符号の説明Explanation of symbols

100 撮影レンズ
101 フォーカスレンズ
104 レンズ制御回路
107 電気接点ユニット
109 焦点距離検出部
200 撮像装置
208 測光センサ
209 測光回路
212 撮像素子
227 カメラDSP
230 システムコントローラ
237 感度上限設定部
DESCRIPTION OF SYMBOLS 100 Shooting lens 101 Focus lens 104 Lens control circuit 107 Electrical contact unit 109 Focal length detection part 200 Imaging device 208 Photometric sensor 209 Photometric circuit 212 Imaging element 227 Camera DSP
230 System Controller 237 Sensitivity Upper Limit Setting Unit

Claims (5)

連続して撮影された複数枚の露出不足の画像を合成することにより、目標とする露出の画像を得る撮像装置であって、
被写体像を光電変換して画像信号を生成する撮像手段と、
前記撮像手段の感度の上限値を設定する設定手段と、
前記設定手段により設定された前記感度の上限値に基づいて、前記連続して撮影される各1枚の画像の撮影条件と、連続して撮影する画像の枚数とを制御する制御手段と、
を備えることを特徴とする撮像装置。
An imaging device that obtains an image with a target exposure by combining a plurality of underexposed images that are continuously shot,
Imaging means for photoelectrically converting a subject image to generate an image signal;
Setting means for setting an upper limit value of sensitivity of the imaging means;
Based on the upper limit value of the sensitivity set by the setting means, control means for controlling the shooting conditions for each one of the continuously shot images and the number of images to be continuously shot;
An imaging apparatus comprising:
前記制御手段は、前記被写体の輝度が小さくなるに従って前記連続して撮影する画像の枚数を増やすように制御し、予め定められた枚数に達しても目標とする露出が得られなくなったときには、当該予め定められた枚数を保って各1枚の感度を上げるように制御することを特徴とする請求項1に記載の撮像装置。   The control means controls to increase the number of images to be continuously taken as the luminance of the subject decreases, and when the target exposure cannot be obtained even when the predetermined number is reached, the control means 2. The imaging apparatus according to claim 1, wherein control is performed so as to increase the sensitivity of each one while maintaining a predetermined number. 前記制御手段は、前記予め定められた枚数を保って各1枚の感度を上げるように制御したときに、予め定められた感度に達しても目標とする露出が得られなくなったときには、前記予め定められた枚数を超えて前記連続して撮影する画像の枚数を増やすように制御することを特徴とする請求項2に記載の撮像装置。   When the control means performs control so as to increase the sensitivity of each one while maintaining the predetermined number, when the target exposure cannot be obtained even when the predetermined sensitivity is reached, the control means The imaging apparatus according to claim 2, wherein control is performed so as to increase the number of images to be continuously photographed beyond a predetermined number. 被写体像を光電変換して画像信号を生成する撮像手段を備え、連続して撮影された複数枚の露出不足の画像を合成することにより、目標とする露出の画像を得る撮像装置を制御する方法であって、
前記撮像手段の感度の上限値を設定する設定工程と、
前記設定工程において設定された前記感度の上限値に基づいて、前記連続して撮影される各1枚の画像の撮影条件と、連続して撮影する画像の枚数とを制御する制御工程と、
を備えることを特徴とする撮像装置の制御方法。
A method of controlling an imaging apparatus that includes an imaging unit that photoelectrically converts a subject image to generate an image signal, and that obtains an image with a target exposure by combining a plurality of underexposed images that are continuously captured Because
A setting step for setting an upper limit value of sensitivity of the imaging means;
Based on the upper limit value of the sensitivity set in the setting step, a control step of controlling the shooting conditions of each one of the continuously shot images and the number of images to be shot continuously,
An image pickup apparatus control method comprising:
請求項4に記載の制御方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the control method according to claim 4.
JP2007327987A 2007-12-19 2007-12-19 Imaging apparatus, control method thereof, and program Expired - Fee Related JP4956403B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007327987A JP4956403B2 (en) 2007-12-19 2007-12-19 Imaging apparatus, control method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007327987A JP4956403B2 (en) 2007-12-19 2007-12-19 Imaging apparatus, control method thereof, and program

Publications (2)

Publication Number Publication Date
JP2009152803A true JP2009152803A (en) 2009-07-09
JP4956403B2 JP4956403B2 (en) 2012-06-20

Family

ID=40921435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007327987A Expired - Fee Related JP4956403B2 (en) 2007-12-19 2007-12-19 Imaging apparatus, control method thereof, and program

Country Status (1)

Country Link
JP (1) JP4956403B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014088259A1 (en) * 2012-12-05 2014-06-12 중앙대학교 산학협력단 Apparatus and method for generating hdr image using single image
US8896728B2 (en) 2010-11-18 2014-11-25 Panasonic Intellectual Property Corporation Of America Image capturing device and image capturing method including setting shutter speed based on blur and noise
CN105635575A (en) * 2015-12-29 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Imaging method, imaging device and terminal
WO2020037959A1 (en) * 2018-08-22 2020-02-27 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method, image processing apparatus, electronic device and storage medium
JP2020533697A (en) * 2017-11-30 2020-11-19 オッポ広東移動通信有限公司Guangdong Oppo Mobile Telecommunications Corp., Ltd. Methods and equipment for image processing

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006115172A (en) * 2004-10-14 2006-04-27 Canon Inc Photographic apparatus and program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006115172A (en) * 2004-10-14 2006-04-27 Canon Inc Photographic apparatus and program

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8896728B2 (en) 2010-11-18 2014-11-25 Panasonic Intellectual Property Corporation Of America Image capturing device and image capturing method including setting shutter speed based on blur and noise
WO2014088259A1 (en) * 2012-12-05 2014-06-12 중앙대학교 산학협력단 Apparatus and method for generating hdr image using single image
KR101437898B1 (en) 2012-12-05 2014-09-15 중앙대학교 산학협력단 Apparatus and method for generating a High Dynamic Range image using single image
CN105635575A (en) * 2015-12-29 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Imaging method, imaging device and terminal
WO2017113917A1 (en) * 2015-12-29 2017-07-06 宇龙计算机通信科技(深圳)有限公司 Imaging method, imaging apparatus, and terminal
US20190014275A1 (en) * 2015-12-29 2019-01-10 Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. Imaging method and terminal
CN105635575B (en) * 2015-12-29 2019-04-12 宇龙计算机通信科技(深圳)有限公司 Imaging method, imaging device and terminal
US10880507B2 (en) 2015-12-29 2020-12-29 Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. Imaging method and terminal for noise reduction
JP2020533697A (en) * 2017-11-30 2020-11-19 オッポ広東移動通信有限公司Guangdong Oppo Mobile Telecommunications Corp., Ltd. Methods and equipment for image processing
WO2020037959A1 (en) * 2018-08-22 2020-02-27 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method, image processing apparatus, electronic device and storage medium
US10943341B2 (en) 2018-08-22 2021-03-09 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for image processing, electronic device and computer readable storage medium
US11532076B2 (en) 2018-08-22 2022-12-20 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image processing method, electronic device and storage medium

Also Published As

Publication number Publication date
JP4956403B2 (en) 2012-06-20

Similar Documents

Publication Publication Date Title
JP5221931B2 (en) Imaging apparatus and control method thereof
JP2009036986A (en) Photographing device and control method for photographing device
JP5432664B2 (en) Imaging device
JP4956403B2 (en) Imaging apparatus, control method thereof, and program
JP2009065582A (en) Camera having enlarged display function and camera control method
JP2006243372A (en) Camera
JP2009069170A (en) Photographing device and control method of photographing device
JP2011217311A (en) Imaging apparatus and method of controlling the same
JP2006054698A (en) Imaging apparatus having camera shake correction function
JP2009036985A (en) Photographing device and control method for photographing device
JP2011217334A (en) Imaging apparatus and method of controlling the same
JP4182864B2 (en) Electronic camera
JP2008118389A (en) Imaging apparatus, image processor, and image processing method
JP2009017517A (en) Image-capturing device
JP2008141675A (en) Imaging device and control method therefor
JP2012095116A (en) Imaging device and control method of the same
JP5215818B2 (en) Imaging apparatus, control method thereof, and program
JP2007251656A (en) Image sensing device, its control method and program
JP2006270426A (en) Imaging apparatus, its control method, and computer program
JP4481185B2 (en) Image display device
JP2007267330A (en) Digital single-lens reflex camera
JP2009048123A (en) Photographing equipment and method of controlling same
JP2009036987A (en) Photographing device and control method for photographing device
JP2006050139A (en) Optical apparatus
JP2006217474A (en) Lens device, digital camera, and optical device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111220

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

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

R151 Written notification of patent or utility model registration

Ref document number: 4956403

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20150323

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees