JP2011097344A - Imaging device and imaging method - Google Patents
Imaging device and imaging method Download PDFInfo
- Publication number
- JP2011097344A JP2011097344A JP2009249085A JP2009249085A JP2011097344A JP 2011097344 A JP2011097344 A JP 2011097344A JP 2009249085 A JP2009249085 A JP 2009249085A JP 2009249085 A JP2009249085 A JP 2009249085A JP 2011097344 A JP2011097344 A JP 2011097344A
- Authority
- JP
- Japan
- Prior art keywords
- imaging
- image
- self
- displacement
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Details Of Cameras Including Film Mechanisms (AREA)
- Indication In Cameras, And Counting Of Exposures (AREA)
- Studio Devices (AREA)
Abstract
Description
この発明は、撮像装置および撮像方法に関し、特にセルフタイマ撮像機能を有する撮像装置およびその撮像装置で実行される撮像方法に関する。 The present invention relates to an imaging apparatus and an imaging method, and more particularly to an imaging apparatus having a self-timer imaging function and an imaging method executed by the imaging apparatus.
デジタルスチルカメラで代表される撮像装置は、セルフタイマ撮像機能を有するものがあり、ユーザがセルフタイマモードに設定した後に、撮像範囲を合せてシャッタボタンを押下すれば、その時からセルフタイマ設定時間が経過した後に撮像することができる。セルフタイマモードで撮像中は、ユーザはデジタルスチルカメラから離れることが多いため、デジタルスチルカメラが不安定な場所に置かれる場合、風が強い場合等は、シャッタボタンを押下してから撮像するまでの間に、デジタルスチルカメラが動く場合がある。 Some imaging devices represented by digital still cameras have a self-timer imaging function. If the user sets the self-timer mode and then presses the shutter button after setting the imaging range, the self-timer setting time starts. Images can be taken after a lapse. During imaging in self-timer mode, the user often leaves the digital still camera, so when the digital still camera is placed in an unstable place, or when the wind is strong, etc., until the image is captured after the shutter button is pressed. During this time, the digital still camera may move.
特開2009−33233号公報には、被写体の撮像を行って撮像画像データを得る撮像手段と、上記撮像手段で得られた撮像画像データの保存処理を行う保存処理手段と、セルフタイマ撮像操作を行う操作手段と、動き検出手段と、上記操作手段によって上記セルフタイマ撮像操作が行われるとき、セルフタイマ設定時間の経過後に上記撮像手段で得た撮像画像データを上記保存処理手段で保存処理するシャッタ処理動作を、上記動き検出手段による検出情報に基づいて制御する制御手段と、を備えることを特徴とする画像撮像装置が記載されている。従来の画像撮像装置は、セルフタイマ設定時間経過時に画像撮像装置が動いている場合に、シャッタ処理動作を中断または中止等することができる。 Japanese Patent Application Laid-Open No. 2009-33233 discloses an imaging unit that captures captured image data by capturing an image of a subject, a storage processing unit that performs a storage process of captured image data obtained by the imaging unit, and a self-timer imaging operation. When the self-timer imaging operation is performed by the operation means, the motion detection means, and the operation means, a shutter that saves the captured image data obtained by the imaging means after the self-timer set time has elapsed by the storage processing means There is described an image pickup apparatus comprising: a control unit that controls a processing operation based on detection information by the motion detection unit. The conventional image pickup apparatus can interrupt or cancel the shutter processing operation when the image pickup apparatus is moving when the self-timer set time has elapsed.
しかしながら、セルフタイマ設定時間経過時に画像撮像装置が動いていなくても、ユーザがシャッタを押下してからセルフタイマ設定時間経過するまでの間に、画像撮像装置が動く場合には、シャッタ処理動作は中断または中止されることなく、実行される。この場合には、撮像された画像は、ユーザの望む撮像範囲とは異なる撮像範囲の被写体を撮像した画像となるといった問題がある。特に、被写体が画像の中心でなくなったり、被写体の一部が撮像範囲から外れたりする場合がある。
この発明は、上述した問題点を解決するためになされたもので、この発明の目的の1つは、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでに撮像範囲が変わる場合であっても同じ撮像範囲を撮像した画像を取得することが可能な撮像装置を提供することである。 The present invention has been made to solve the above-described problems, and one of the objects of the present invention is to change the imaging range until the self-timer set time elapses after an operation instructing imaging is accepted. Even if it is a case, it is providing the imaging device which can acquire the image which imaged the same imaging range.
この発明の他の目的は、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでに撮像範囲が変わる場合であっても同じ撮像範囲を撮像した画像を取得することが可能な撮像方法を提供することである。 Another object of the present invention is to obtain an image obtained by imaging the same imaging range even when the imaging range changes from when an operation instructing imaging is accepted until the self-timer set time elapses. It is to provide an imaging method.
この発明のさらに他の目的は、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでに撮像範囲が変わる場合であっても同じ撮像範囲を撮像した画像を取得することが可能な撮像プログラムを提供することである。 Still another object of the present invention is to acquire an image obtained by imaging the same imaging range even when the imaging range changes from when an operation instructing imaging is accepted until the self-timer set time elapses. Providing a simple imaging program.
上述した目的を達成するためにこの発明のある局面によれば、撮像装置は、被写体を撮像し、画像を取得する撮像手段と、取得された画像から予め定められたサイズの領域の画像を切り出す切出手段と、切り出された領域の画像を表示する表示制御手段と、ユーザによる撮像を指示する操作を受け付ける操作受付手段と、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでの本体の変位を検出する変位検出手段と、撮像を指示する操作が受け付けられたときに切出手段により切り出された領域中の位置と検出された変位とに基づいて、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過したときに撮像手段が出力する画像のうちから予め定められたサイズの領域を切り出す位置を決定する切出位置決定手段と、を備える。 In order to achieve the above-described object, according to an aspect of the present invention, an imaging apparatus captures an image of a subject, acquires an image, and cuts out an image of a region having a predetermined size from the acquired image. Cutout means, display control means for displaying an image of the cutout area, operation accepting means for accepting an operation for instructing imaging by a user, and a self-timer set time elapses after the operation for instructing imaging is accepted An operation for instructing imaging based on the displacement detection means for detecting the displacement of the main body and the position in the region cut out by the cutting means when the operation for instructing imaging is received and the detected displacement Cut out to determine a position to cut out a region of a predetermined size from the image output by the imaging means when the self-timer set time has passed since the acceptance of Comprising a location determining means.
この局面に従えば、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでの本体の変位が検出され、撮像を指示する操作が受け付けられたときに画像から切り出された領域中の位置と検出された変位とに基づいて、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過したときに画像のうちから領域を切り出す位置が決定される。このため、撮像を指示する操作が受け付けられた時点の撮像範囲と、セルフタイマ設定時間が経過した時点の撮像範囲とが異なる場合であっても、それぞれの画像から切り出される画像を同じ撮像範囲を撮像した画像とすることができる。その結果、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでに撮像範囲が変わる場合であっても同じ撮像範囲を撮像した画像を取得することが可能な撮像装置を提供することができる。 According to this aspect, the displacement of the main body from when the operation instructing imaging is accepted until the self-timer set time elapses is detected, and in the area cut out from the image when the operation instructing imaging is accepted Based on this position and the detected displacement, a position to cut out the region from the image is determined when the self-timer set time has elapsed since the operation for instructing imaging was accepted. For this reason, even if the imaging range at the time when an operation for instructing imaging is accepted is different from the imaging range at the time when the self-timer set time has elapsed, the images to be cut out from the respective images have the same imaging range. It can be set as the imaged image. As a result, there is provided an imaging device capable of acquiring an image obtained by imaging the same imaging range even when the imaging range changes after the self-timer set time elapses after an operation instructing imaging is accepted. be able to.
この発明の他の局面によれば、撮像装置は、被写体を撮像し、画像を取得する撮像手段と、撮像手段は、レンズを介して結像面に結像した被写体の光学画像を光電変換することによって、画像信号を出力する光電変換手段を含み、出力される画像を表示する表示制御手段と、ユーザによる撮像を指示する操作を受け付ける操作受付手段と、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでの本体の変位を検出する変位検出手段と、光電変換手段に対するレンズの光軸の位置を移動させる撮像範囲変更手段と、を備え、撮像範囲変更手段は、撮像を指示する操作が受け付けられたときの光電変換手段に対するレンズの光軸の位置と検出された変位とに基づいて、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過したときの光電変換手段に対するレンズの光軸の位置を決定する位置決定手段を含む。 According to another aspect of the present invention, the imaging device captures an image of an object and acquires an image, and the image capturing unit photoelectrically converts an optical image of the object imaged on an imaging surface via a lens. Accordingly, a display control unit that includes a photoelectric conversion unit that outputs an image signal, a display control unit that displays an output image, an operation reception unit that receives an operation instructing imaging by a user, and an operation instructing imaging is received. Displacement detecting means for detecting the displacement of the main body until the self-timer set time elapses, and imaging range changing means for moving the position of the optical axis of the lens with respect to the photoelectric conversion means, and the imaging range changing means Based on the position of the optical axis of the lens with respect to the photoelectric conversion means and the detected displacement when the instruction operation is received, the self-task is performed after the operation for instructing imaging is received. Including a position determining means for determining a position of the optical axis of the lens relative to the photoelectric conversion means when Ma set time has elapsed.
この局面に従えば、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでの本体の変位が検出され、撮像を指示する操作が受け付けられたときのレンズの光軸の位置と検出された変位とに基づいて、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過したときのレンズの光軸の位置が決定される。このため、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでに撮像範囲が変わる場合であっても同じ撮像範囲を撮像した画像を取得することが可能な撮像装置を提供することができる。 According to this aspect, the displacement of the main body until the self-timer set time elapses after the operation instructing imaging is received, and the position of the optical axis of the lens when the operation instructing imaging is received Based on the detected displacement, the position of the optical axis of the lens when the self-timer set time has elapsed after the operation for instructing imaging is received is determined. Therefore, an imaging apparatus is provided that can acquire an image obtained by capturing the same imaging range even when the imaging range changes from when an operation instructing imaging is accepted until the self-timer set time elapses. be able to.
好ましくは、変位検出手段は、撮像を指示する操作が受け付けられることに応じて撮像手段が出力する画像を基準画像として取得する基準画像取得手段と、取得された基準画像中から特徴領域を抽出する特徴領域抽出手段と、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過した時に撮像手段が出力する画像から抽出された特徴領域に対応する対応領域を抽出する対応領域抽出手段と、を含み、特徴領域から対応領域に向かうベクトルに基づいて変位を決定する。 Preferably, the displacement detection unit extracts a feature region from the reference image acquisition unit that acquires, as a reference image, an image output from the imaging unit in response to an operation instructing imaging being received. Feature area extraction means; corresponding area extraction means for extracting a corresponding area corresponding to the feature area extracted from the image output by the imaging means when the self-timer set time has elapsed since the operation instructing imaging is accepted; The displacement is determined based on a vector from the feature area toward the corresponding area.
好ましくは、変位検出手段は、撮像手段が連続して出力する複数の画像に基づいて動きベクトルを算出する動きベクトル算出手段を含み、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでに、振れ検出手段により算出されるすべての動きベクトルに基づいて、撮像を指示する操作が受け付けられてからの本体の変位を算出する。 Preferably, the displacement detection means includes a motion vector calculation means for calculating a motion vector based on a plurality of images output continuously by the imaging means, and the self-timer set time has elapsed since the operation for instructing imaging was accepted. Until then, based on all the motion vectors calculated by the shake detection means, the displacement of the main body after the operation for instructing imaging is received is calculated.
好ましくは、本体の振れを検出する振れ検出手段を、さらに備え、変位検出手段は、検出される振れに基づいて撮像を指示する操作が受け付けられてからの本体の変位を算出する。 Preferably, the camera further includes shake detection means for detecting shake of the main body, and the displacement detection means calculates the displacement of the main body after an operation for instructing imaging is received based on the detected shake.
この発明のさらに他の局面によれば、撮像方法は、撮像装置で実行される撮像方法であって、撮像装置は、被写体を撮像し、画像を取得する撮像手段を備えており、撮像手段が出力する画像から予め定められたサイズの領域の画像を切り出すステップと、切り出された領域の画像を表示するステップと、ユーザによる撮像を指示する操作を受け付けるステップと、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過した後に撮像手段に撮像させるセルフタイマ撮像モードに撮像モードが設定されている場合、撮像を指示する操作が受け付けられてからの本体の変位を検出するステップと、撮像を指示する操作が受け付けられたときに切り出しステップにおいて切り出された領域の画像中の位置と検出された変位とに基づいて、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過したときに撮像手段が出力する画像のうちから予め定められたサイズの領域を切り出す位置を決定するステップと、を含む。 According to still another aspect of the present invention, the imaging method is an imaging method executed by the imaging device, and the imaging device includes an imaging unit that captures an image of a subject and acquires the image. A step of cutting out an image of an area of a predetermined size from the output image, a step of displaying an image of the cut out area, a step of accepting an operation instructing imaging by a user, and an operation of instructing imaging are accepted Detecting a displacement of the main body after an operation for instructing imaging is accepted, when the imaging mode is set in the self-timer imaging mode in which the imaging unit images after the self-timer set time has elapsed, and imaging Based on the position in the image of the region cut out in the cut-out step and the detected displacement when the operation for instructing is accepted , And determining a position for cutting out a region of a predetermined size from among the images captured means outputs when an operation to instruct the imaging has elapsed self-timer set time after accepted, the.
この局面に従えば、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでに撮像範囲が変わる場合であっても同じ撮像範囲を撮像した画像を取得することが可能な撮像方法を提供することができる。 According to this aspect, an imaging method capable of acquiring an image obtained by imaging the same imaging range even when the imaging range changes from when an operation instructing imaging is accepted until the self-timer set time elapses Can be provided.
この発明のさらに他の局面によれば、撮像プログラムは、撮像装置で実行される撮像方法であって、撮像装置は、被写体を撮像し、画像を取得する撮像手段と、撮像手段は、レンズを介して結像面に結像した被写体の光学画像を光電変換することによって、画像を出力する光電変換手段を含み、光電変換手段に対するレンズの光軸の位置を移動させる手段と、を備えており、撮像手段が出力する画像を表示するステップと、ユーザによる撮像を指示する操作を受け付けるステップと、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過した後に撮像手段に撮像させるセルフタイマ撮像モードに撮像モードが設定されている場合、撮像を指示する操作が受け付けられてからの本体の変位を検出するステップと、撮像を指示する操作が受け付けられたときの光電変換手段に対するレンズの光軸の位置と検出された変位とに基づいて、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過したときの光電変換手段に対するレンズの光軸の位置を決定するステップと、を含む。 According to still another aspect of the present invention, the imaging program is an imaging method executed by the imaging device, the imaging device images an object, acquires an image, and the imaging unit includes a lens. Including a photoelectric conversion means for outputting an image by photoelectrically converting an optical image of a subject imaged on an image formation surface via, and a means for moving the position of the optical axis of the lens with respect to the photoelectric conversion means. A step of displaying an image output by the imaging means, a step of accepting an operation instructing imaging by a user, and a self-timer that causes the imaging means to image after a self-timer set time has elapsed since the operation instructing imaging was accepted When the imaging mode is set as the imaging mode, a step of detecting the displacement of the main body after an operation for instructing imaging is received and instructing the imaging Based on the position of the optical axis of the lens with respect to the photoelectric conversion means when the operation is accepted and the detected displacement, the photoelectric conversion means when the self-timer set time has elapsed since the operation instructing the imaging is accepted Determining the position of the optical axis of the lens.
この局面に従えば、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでに撮像範囲が変わる場合であっても同じ撮像範囲を撮像した画像を取得することが可能な撮像方法を提供することができる。 According to this aspect, an imaging method capable of acquiring an image obtained by imaging the same imaging range even when the imaging range changes from when an operation instructing imaging is accepted until the self-timer set time elapses Can be provided.
以下、本発明の実施の形態について図面を参照して説明する。以下の説明では同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがってそれらについての詳細な説明は繰り返さない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.
本実施の形態においては、撮像装置の一例としてデジタルスチルカメラを説明する。なお、撮像装置は、デジタルスチルカメラに限られず、セルフタイマ撮像機能を有した装置であれば、例えば、ビデオカメラ、携帯電話機等であってもよい。 In this embodiment, a digital still camera will be described as an example of an imaging device. The imaging device is not limited to a digital still camera, and may be, for example, a video camera or a mobile phone as long as the device has a self-timer imaging function.
図1は、本発明の実施の形態の1つにおけるデジタルスチルカメラの構成の概略を示すブロック図である。図1を参照して、デジタルスチルカメラ1は、デジタルスチルカメラ1の全体を制御する制御部11と、フォーカスレンズおよびズームレンズを含む複数のレンズで構成されるレンズ群13と、レンズ群13を駆動するレンズ駆動部15と、イメージセンサ19と、液晶表示装置(LCD23)23と、コーデック(CODEC)21と、画像処理する信号処理回路22と、制御部11が実行するためのプログラム等を記憶するEEPROM(Electrically Erasable and Programmable Read Only Memory)25と、制御部11の作業領域として用いられるSDRAM(Synchronous Dynamic Random Access Memory)27と、メモリカード29Aが装着されるカードインターフェース(I/F)29と、ユーザの操作を受け付ける操作部35と、デジタルスチルカメラ1の全体に電力を供給するバッテリ41と、を含む。
FIG. 1 is a block diagram showing a schematic configuration of a digital still camera according to one embodiment of the present invention. Referring to FIG. 1, a
レンズ群13は、デジタルスチルカメラ1本体の前面に設けられ、LCD23は、レンズ群13が設けられる面とは反対のデジタルスチルカメラ1の背面に設けられる。レンズ群13は、レンズ駆動部15により制御される。レンズ群13は、デジタルスチルカメラ1が駆動していないときは、本体内部に収納されている。レンズ駆動部15は、起動時の初期化処理において、レンズ群13を本体外部に突出させる。さらに、レンズ群13は、ズームレンズを調整するズーム機構を有し、レンズ駆動部15は、起動時の初期化処理において、レンズ群13のズーム量を定めるために、レンズ群13のズームレンズを基準位置に配置させる。
The
イメージセンサ19は、CMOS(Complementary Metal Oxide Semiconductor)イメージセンサ等の光電変換素子であり、その結像面がレンズ群13の光軸に対して垂直となる。イメージセンサ19は、レンズ群13を介して結像面に結像する被写体の光学画像を光電変換し、画像データを制御部11に出力する。制御部11は、イメージセンサ19から出力される画像データを受け付け、画像データをSDRAM27に記憶する。ここでの画像データは、例えば、1画素がR(赤)G(緑)B(青)で構成されるビットマップ形式のデータである。なお、イメージセンサ19は、CMOSイメージセンサに限定されるものではなく、CCD(Charge Coupled Device)イメージセンサを用いてもよい。この場合、CCDイメージセンサは、アナログの信号を出力するので、アナログ/デジタル変換器によってCCDイメージセンサが出力するアナログの信号をデジタルの画像データに変換すればよい。なお、ここでは、光電変換素子としてのCMOSイメージセンサが出力するデジタルの画像データ、CCDイメージセンサが出力するアナログの信号を、総称して画像信号という。
The
イメージセンサ19は、制御部11により制御され、光電変換する時間が制御される。具体的には、制御部11は、イメージセンサ19に光電変換を開始させる場合、レンズ群13とイメージセンサ19との間に設けられたシャッタを開放する。これにより、イメージセンサ19が光電変換を開始する。制御部11は、光電変換させる時間が経過すると、シャッタと閉じ、イメージセンサ19に画像データを出力させる。
The
イメージセンサ19は、動画像を撮像する場合、所定の時間間隔で1フレームの画像データを出力する。フレームとは、動画像を構成する単位であり、1フレームは1枚の画像を意味する。また、フレームはフィールドに置き換えることができる。所定の時間間隔とは、フレームレートが5FPSであれば、1/5秒である。ここでは、動画像をスルー画像という。
When capturing a moving image, the
信号処理回路22は、SDRAM27に記憶された画像データを読み出し、画像データに対して種々の信号処理を施し、輝度信号と色差信号とで表される表色系のYUV形式に変換する。信号処理回路22は、YUV形式の画像データをSDRAM27に記憶する。
The
制御部11は、SDRAM27に記憶されたYUV形式の画像データからRGB信号を生成し、LCD23に出力する。これにより、LCD23にイメージセンサ19が被写体を撮像して出力する画像が表示される。なお、LCD23に代えて、有機EL(ElectroLuminescence)ディスプレイを用いてもよい。
The
コーデック21は、制御部11により制御され、SDRAM27に記憶されたYUV形式の画像データを読出し、圧縮符合化し、画像データを圧縮符号化した符号化データをSDRAM27に記憶する。ここでは、画像データをJPEG方式で圧縮符号化する。また、コーデック21は、動画像を記憶する場合、MPEG(Moving Picture Experts Group)圧縮方式で、複数のフレームを圧縮符号化する。この場合には、GOP(Group of Picture)単位で圧縮符号化された符号化データがSDRAM21に記憶される。なお、静止画像または動画像の画像データの圧縮方式はこれらに限定されることなく、他の圧縮方式を用いるようにしてもよい。
The
カードI/F29は、不揮発性メモリを備えたメモリカード29Aが装着される。制御部11は、カードI/F29を介して、メモリカード29Aにアクセス可能であり、SDRAM27に記憶された符号化データをメモリカード29Aに記憶する。
The card I /
操作部35は、撮像を開始する指示を受け付けるためのシャッタボタン35Aを含む複数のキーを含み、ユーザの操作を受け付ける。操作部35は、デジタルスチルカメラ1をセルフタイマモードに設定するための指示が予め割り当てられたモード設定キーを含む。なお、操作部35は、LCD23上に重畳されたタッチパネルを含むようにしてもよい。
The
バッテリ41は、一次電池または二次電池であり、デジタルスチルカメラ1の全体に電力を供給する。制御部11は、バッテリ41の出力電圧V1を検出し、バッテリ41の残容量を算出する。バッテリ41は、デジタルスチルカメラ1本体に着脱可能であってもよい。
The
制御部11は、EEPROM25に記憶された撮像プログラムを実行することにより、セルフタイマ撮像機能を実現する。本実施の形態におけるデジタルスチルカメラ1は、撮像モードを、通常モードとセルフタイマ撮像モードとのいずれかに切り換える。制御部11は、撮像モードがセルフタイマ撮像モードに切り換えられているときに、セルフタイマ撮像機能を実現する。ここで、セルフタイマ撮像機能は、ユーザによるシャッタボタン35Aを押下する操作が検出されてから予め設定されたセルフタイマ設定時間が経過した後に、撮像する機能である。具体的には、制御部11は、ユーザによりモード設定キーが押下されると、撮像モードをセルフタイマ撮像モードに切り換える。制御部11は、撮像モードがセルフタイマ撮像モードの場合、シャッタボタン35Aがユーザにより押下されると、その時からセルフタイマ設定時間が経過過した後に、撮像する。制御部11は、撮像する場合、予め設定されたシャッタ速度に対応する時間だけレンズ群13のシャッタを開放し、シャッタを閉じた後にイメージセンサ19が出力する画像データを取得する。シャッタが開放している間に、イメージセンサ19が光電変換する。
The
なお、撮像プログラムをEEPROM25に記憶する例を説明するが、EEPROM25に限られず、メモリカード29Aに記憶された撮像プログラムを実行するようにしても良い。さらに、撮像プログラムを記憶する記録媒体としては、メモリカード29Aに限られず、磁気テープ、フレキシブルディスク、光ディスク(CD−ROM(Compact Disc−Read Only Memory)/MO(Magnetic Optical Disc/MD(Mini Disc)/DVD(Digital Versatile Disc))、ICカード(メモリカードを含む)、光カード、マスクROM、EPROM(Erasable Programmable ROM)などであってもよい。
An example in which the imaging program is stored in the
図2は、制御部が有する機能の一例を示す機能ブロック図である。図2に示す機能は、制御部11が撮像プログラムを実行することにより、制御部11に実現される。なお、制御部11に代えて、図2に示した機能を回路で実現するようにしてもよい。
FIG. 2 is a functional block diagram illustrating an example of functions that the control unit has. The functions shown in FIG. 2 are realized in the
図2を参照して、制御部11は、ユーザによる操作を受け付ける操作受付部51と、レンズ駆動部15およびイメージセンサ19を制御する撮像制御部53と、本体の変位を検出する変位検出部57と、画像から予め定められたサイズの領域の画像を切り出す切出部55と、画像から切り出す領域の画像中の位置を決定する切出位置決定部59と、LCD23を制御する画像表示制御部61と、を含む。
Referring to FIG. 2, the
操作受付部51は、LCD23に、セルフタイマ設定時間を入力するための領域を含むセルフタイマ設定画面を表示し、ユーザが操作部35にセルフタイマ設定時間を入力すると、操作部35から入力されたセルフタイマ設定時間を受け付け、EEPROM25に記憶する。なお、セルフタイマ設定時間は、デフォルト値がEEPROM25に記憶されており、操作受付部51は、ユーザにより入力されたセルフタイマ設定時間で、デフォルト値を更新する。また、操作受付部51は、ユーザにより操作部35が有するモード設定キーが押下されると、撮像モードをセルフタイマ撮像モードに切り換える。ここでは、操作受付部51は、セルフ大麻撮像モードに撮像モードが切り換わると、撮像モードがセルフタイマ撮像モードであることを示す信号を、撮像制御部53および変位検出部57に出力する。さらに、操作受付部51は、ユーザが操作部35が有するシャッタボタン35Aを半押すると、フォーカス指示を撮像制御部53に出力し、ユーザがシャッタボタン35Aを全押すると、ユーザによる撮像を指示する操作を受け付け、撮像指示を撮像制御部53および変位検出部57に出力する。
The
撮像制御部53は、操作部35に含まれるシャッタボタン35Aが半押しされると、イメージセンサ19に所定の時間間隔で画像データを出力させ、取得される画像データのコントラストが高くなるようにレンズ駆動部15を制御して、レンズ群13のフォーカスレンズを調整する、いわゆるオートフォーカス機能によりフォーカスを合せる。なお、オートフォーカス機能の方式は、これに限定されることなく、他の方式を用いるようにしてもよい。
When the
撮像制御部53は、ユーザがシャッタボタン35Aを全押しする前の段階、換言すれば、操作受付部51から撮像指示が入力される前の段階では、イメージセンサ19に所定時間間隔で画像データを出力させ、イメージセンサ19により出力される画像データを切出部55および変位検出部57に出力する。操作受付部51から撮像指示が入力される前の段階で、イメージセンサ19が所定時間間隔で出力する画像データの画像を、スルー画像という。
The
切出部55は、撮像制御部53から入力される画像データの画像から予め定められたサイズの切取領域の画像を切り出す。切取領域のサイズは、撮像制御部53から入力される画像データの画像のサイズよりも小さい。また、切取領域の形状は画像データの画像と相似であることが好ましい。切出部55は、スルー画像の画像から画像を切り出す場合、スルー画像の中心部分に切出領域を配置し、その切出領域の画像を切り出す。切出部55は、スルー画像から切り出した切出領域の画像を画像表示制御部61に出力する。
The
画像表示制御部61は、切出部55から入力される切出領域の画像を、LCD23に表示する。画像表示制御部61が、切出部55によりスルー画像から切り出された切出領域の画像をLCD23に表示するので、ユーザは、撮像範囲を決定することができる。そして、ユーザは、デジタルスチルカメラ1を固定し、レンズ群13のズーム量を調整して、所望の撮像範囲の画像がLCD23に表示されるようになった後に、シャッタボタン35Aを押下すればよい。
The image
撮像制御部53は、操作受付部51から撮像指示が入力されると、レンズ駆動部15およびイメージセンサ19を制御して、イメージセンサ19に予め定められたシャッタ速度に対応する撮像時間だけ光電変換(露光)させ、イメージセンサ19が出力する画像データを取得する。具体的には、撮像制御部53は、操作受付部51から撮像指示が入力されると、撮像モードが通常モードに設定されているならば、フォーカスレンズを固定し、予め設定されたシャッタ速度に対応する撮像時間の間、レンズ群13に含まれるシャッタを開放することによってイメージセンサ19による光電変換を開始させる。そして、撮像制御部53は、撮像時間が経過するとシャッタを閉鎖し、イメージセンサ19が出力する画像データを取得し、取得した画像データ(撮像画像)を切出部55および変位検出部57に出力する。
When an imaging instruction is input from the
一方、撮像制御部53は、撮像モードがセルフタイマ撮像モードに設定されているならば、操作受付部51から撮像指示が入力されると、フォーカスレンズを固定し、撮像指示が入力されてからEEPROM25に記憶されたセルフタイマ設定時間が経過するまで待機状態となる。そして、撮像制御部53は、セルフタイマ設定時間が経過すると、予め設定されたシャッタ速度に対応する撮像時間の間、レンズ群13に含まれるシャッタを開放することによってイメージセンサ19による光電変換を開始させる。そして、撮像制御部53は、撮像時間が経過するとシャッタを閉鎖し、イメージセンサ19が出力する画像データを取得し、取得した画像データ(撮像画像)を切出部55および変位検出部57に出力する。
On the other hand, if the imaging mode is set to the self-timer imaging mode, the
変位検出部57は、撮像モードがセルフタイマ撮像モードに設定されているならば、撮像指示が入力された時点で撮像制御部53から入力される画像データの画像(基準画像)と、撮像指示が入力されてからセルフタイマ設定時間が経過したときに撮像制御部53から入力される画像データの画像(参照画像)とから本体の変位を検出し、検出した本体の変位を、切出位置決定部59に出力する。
If the imaging mode is set to the self-timer imaging mode, the
図3は、変位検出部の詳細な機能の一例を示すブロック図である。図3を参照して、変位検出部57は、基準画像取得部81と、特徴領域抽出部83と、参照画像取得部85と、対応領域抽出部87と、ベクトル算出部89と、を含む。
FIG. 3 is a block diagram illustrating an example of detailed functions of the displacement detection unit. Referring to FIG. 3,
基準画像取得部81は、操作受付部51から撮像指示が入力された時点で、撮像制御部53から入力される画像データを基準画像として取得し、基準画像を特徴領域抽出部83に出力する。特徴領域抽出部83は、基準画像から特徴領域を抽出する。特徴領域は、ここでは、被写体を人にしているので、人の顔の画像を含む領域としている。特徴領域を、被写体によって異ならせるようにしてもよい。画像中から人の顔の画像を含む領域を抽出する技術は、周知なので、ここでは詳細な説明を繰り返さないが、例えば、人の肌の色の画素を含む領域、目、口などの特徴的な色の画素の配置等から抽出することができる。特徴領域抽出部83は、抽出された特徴領域の基準画像中の位置を、ベクトル算出部89に出力し、特徴領域の画像を対応領域抽出部87に出力する。特徴領域抽出部83は、複数の特徴領域を抽出する場合、複数の特徴領域それぞれの基準画像中の位置をベクトル算出部89に出力し、複数の特徴領域それぞれの画像を、対応領域抽出部87に出力する。特徴領域の基準画像中の位置は、ここでは、特徴領域の重心の座標としている。
The reference
参照画像取得部85は、操作受付部51から撮像指示が入力されてからセルフタイマ設定時間が経過したときに、撮像制御部53から入力される画像データ(撮像画像)を参照画像として取得し、参照画像を対応領域抽出部87に出力する。対応領域抽出部87は、特徴領域抽出部83から入力される特徴領域に対応する対応領域を参照画像から抽出する。対応領域は、参照画像の一部であって、特徴領域の画像に類似する画像を含む領域である。例えば、対応領域抽出部87は、特徴領域の画像で、参照画像を走査して、差分が最小となる参照画像中の領域を対応領域とする。
The reference
対応領域抽出部87は、抽出された対応領域の参照画像中の位置を、ベクトル算出部89に出力する。対応領域の参照画像中の位置は、ここでは、対応領域の重心の座標としている。なお、特徴領域抽出部83から複数の特徴領域の画像が入力される場合、複数の特徴領域それぞれに対応する対応領域を抽出し、抽出される複数の対応領域の参照画像中の位置を、ベクトル算出部89に出力する。この際、ベクトル算出部89において、複数の特徴領域のいずれに対応する対応領域の位置かを判別することができるように、対応領域の位置とそれに対応する特徴領域を識別するための情報との組を、ベクトル算出部89に出力する。
The corresponding
ベクトル算出部89は、特徴領域抽出部83から特徴領域の位置が入力され、対応領域抽出部87から対応領域の位置が入力される。ベクトル算出部89は、特徴領域の位置から対応領域の位置に向かうベクトルを算出し、算出されたベクトルを本体の変位を示す本体変位ベクトルとして切出位置決定部59に出力する。ベクトル算出部89により算出される本体変位ベクトルは、画像中における顔の領域の移動を示す。画像中における顔の領域が移動するのは、デジタルスチルカメラ1の本体が被写体に対して移動することによるものなので、本体の変位が画像に表れたものといえる。
The
特徴領域抽出部83から複数の特徴領域の位置が入力される場合、対応領域抽出部87から入力される複数の対応領域の位置のうちいずれか1つと、それに対応する特徴領域の位置とで、ベクトルを算出する。1組の特徴領域の位置と対応領域の位置とで1つのベクトルを本体変位ベクトルとして算出すれば十分だからである。
When the positions of a plurality of feature regions are input from the feature
図2に戻って、切出位置決定部59は、変位検出部57から入力される本体変位ベクトルに平行に、切出領域を画像の中心から平行移動させた後の位置を、新たな切出領域に決定する。そして、決定した切出領域の位置を切出部55に出力する。
Returning to FIG. 2, the cut-out
切出部55には、撮像制御部53から画像データが入力されるが、ユーザがシャッタボタン35Aを押下してからセルフタイマ設定時間が経過したときに入力される画像データを撮像画像という。切出部55は、撮像制御部53から入力される撮像画像から切出位置決定部59から入力される位置に切出領域を配置し、撮像画像中の切出領域の画像を切り出す。切出部55は、切り出した切出領域の画像を画像表示制御部61に出力する。
Image data is input to the
画像表示制御部61は、切出部55から入力される切出領域の画像を、LCD23に表示する。画像表示制御部61が、切出部55により撮像画像から切り出された切出領域の画像をLCD23に表示するので、ユーザは、撮像された画像の撮像範囲を確認することができる。そして、ユーザは、LCD23に表示された画像の保存を希望する場合は、操作部35が有し、保存を指示する操作が予め割り当てられたキーを押下すればよい。制御部11は、保存を指示する操作が入力されると、LCD23に表示された切出領域の画像を、EEPROM25に格納する。
The image
図4は、イメージセンサが出力するスルー画像と切出領域との一例を示す図である。図5は、イメージセンサが出力する撮像画像と切出領域との一例を示す図である。図6は、本体変位を説明するための図である。図4を参照して、スルー画像101は、人の顔を撮像した特徴領域105,106を含む。特徴領域105の重心を点105Aで示す。切出領域103は、スルー画像101の中心に位置する。なお、図4においては、説明のために切出領域103を実線で示しているが、スルー画像101中には切出領域103を示す実線は存在しない。切出領域103は、スルー画像101よりもサイズが小さい。スルー画像101のうち切出領域103の画像がLCD23に表示される。
FIG. 4 is a diagram illustrating an example of a through image and a cutout region output from the image sensor. FIG. 5 is a diagram illustrating an example of a captured image output from the image sensor and a cutout region. FIG. 6 is a diagram for explaining the main body displacement. With reference to FIG. 4, the through
図5は、イメージセンサが出力する撮像画像と切出領域との一例を示す図である。図5を参照して、撮像画像111は、人の顔を撮像した対応領域115,116を含む。対応領域115は、図4に示した特徴領域105に対応する領域であり、その重心を点105Bで示す。ここで、図6を参照して、特徴領域105の重心105Aから対応領域115の重心105Bに向かうベクトル117が、本体の変位を示す。
FIG. 5 is a diagram illustrating an example of a captured image output from the image sensor and a cutout region. Referring to FIG. 5, the captured
図4および図5を参照して、切出領域103のスルー画像101中の位置は、スルー画像101の中心であるが、切出領域113の撮像画像111中の位置は、中心からベクトルに117に平行に移動した位置である。なお、本実施の形態においては、スルー画像と撮像画像とを解像度が同じ画像としているが、解像度が異なる場合には、いずれか一方の解像度に他方の解像度を合わせるようにすればよい。
4 and 5, the position of the
図7は、第1の実施の形態におけるセルフタイマ撮像制御を処理の流れの一例を示すフローチャートである。セルフタイマ撮像制御処理は、制御部11がEEPROM25に記憶された撮像プログラムを実行することにより、制御部11により実行される処理である。図7を参照して、制御部11は、撮像モードがセルフタイマ撮像モードに設定されているか否かを判断する(ステップS01)。撮像モードがセルフタイマ撮像モードに設定されるまで待機状態となり、撮像モードがセルフタイマ撮像モードに設定されたならば処理をステップS02に進める。換言すれば、セルフタイマ撮像制御処理が、撮像モードが、セルフタイマ撮像モードに設定されることを条件に実行される処理である。
FIG. 7 is a flowchart illustrating an example of a process flow of the self-timer imaging control according to the first embodiment. The self-timer imaging control process is a process executed by the
ステップS02においては、イメージセンサ19が出力する画像データをスルー画像として取得する。そして、取得されたスルー画像から切出領域を抽出し(ステップS03)、切り出しされた切出領域の画像をLCD23に表示する(ステップS04)。切出領域のサイズは予め定められたサイズであり、切出領域の位置は、スルー画像中の中心である。換言すれば、切出領域の中心と、スルー画像の中心とが重なる。
In step S02, the image data output from the
ステップS05においては、シャッタボタン35Aが押下されたか否かを判断する。シャッタボタン35Aが押下されたならば処理をステップS06に進めるが、そうでなければ処理をステップS02に戻す。シャッタボタン35Aが押下されるまでスルー画像から切り出された切出領域の画像がLCD23に表示される。このため、ユーザは、LCD23に表示された画像を見て、撮像範囲を定めることができる。
In step S05, it is determined whether
ステップS06においては、最後に取得されたスルー画像を基準画像に設定する。具体的には、ステップS02において最後に取得されたスルー画像のフレームを基準画像としてSDRAM27に記憶する。次のステップS07においては、切出位置を基準位置に設定する。切出位置は、ステップS03においてスルー画像から切り出した切出領域のスルー画像中の位置であり、ここでは、基準位置をスルー画像の中心としている。
In step S06, the last acquired through image is set as a reference image. Specifically, the frame of the through image acquired last in step S02 is stored in the
次のステップS08においては、セルフタイマ設定時間が経過したか否かを判断する、ステップS05においてシャッタボタンが押下する操作が検出されてから経過する時間が、セルフタイマ設定時間と等しくなるまで待機状態となり、経過時間がセルフタイマ設定時間と等しくなれば処理をステップS09に進める。ステップS09においては、撮像する。具体的には、レンズ群13のシャッタを閉じ、イメージセンサ19を初期化した後、レンズ群13のシャッタを撮像条件で設定されたシャッタ速度に対応する時間だけ開放し、イメージセンサ19に光電変換させる。その後イメージセンサ19が出力する画像データを撮像画像として取得する(ステップS10)。
In the next step S08, it is determined whether or not the self-timer set time has elapsed. In step S05, the operation waits until the time elapsed since the operation of pressing the shutter button is detected becomes equal to the self-timer set time. If the elapsed time is equal to the self-timer set time, the process proceeds to step S09. In step S09, an image is taken. Specifically, after the shutter of the
次のステップS11においては、撮像画像を参照画像に設定する。そして、基準画像から特徴領域を抽出する(ステップS12)。ここでは特徴領域は、人の顔が表された領域としている。次のステップS13においては、特徴領域に対応する対応領域を参照画像から抽出する。対応領域は、参照画像中で特徴領域の画像と類似する画像を含む領域である。そして、本体変位ベクトルを算出する(ステップS14)。本体変位ベクトルは、特徴領域の基準画像中の位置から対応領域の参照画像中の位置に向かうベクトルである。 In the next step S11, the captured image is set as a reference image. Then, a feature region is extracted from the reference image (step S12). Here, the feature region is a region in which a human face is represented. In the next step S13, a corresponding area corresponding to the feature area is extracted from the reference image. The corresponding area is an area including an image similar to the image of the feature area in the reference image. Then, a main body displacement vector is calculated (step S14). The main body displacement vector is a vector from the position of the feature region in the standard image toward the position of the corresponding region in the reference image.
次のステップS15においては、ステップS07において、設定された基準位置と、ステップS14において検出された本体変位ベクトルとから切出位置を決定する。基準位置を本体変位ベクトルの始点としたときの本体変位ベクトルの終点を切出位置に決定する。次のステップS16においては、ステップS10において取得された撮像画像からステップS15において決定された切出位置に配置された切出領域の画像を切り出す。ステップS17においては、切り出しされた切出領域の画像をLCD23に、表示する。
In the next step S15, a cutting position is determined from the reference position set in step S07 and the main body displacement vector detected in step S14. The end point of the main body displacement vector when the reference position is set as the start point of the main body displacement vector is determined as the cutout position. In the next step S16, an image of the cut-out area arranged at the cut-out position determined in step S15 is cut out from the captured image acquired in step S10. In step S <b> 17, the image of the cut out area is displayed on the
ステップS18においては、ユーザによる格納を指示する操作を受け付けたか否かを判断する。格納を指示する操作を受け付けたならば処理をステップS19に進めるが、そうでなければ処理をステップS20に進める。ステップS19においては、ステップS16において切り出されたが切出領域の画像をEEPROM25に格納し、処理をステップS20に進める。ステップS20においては、ユーザによる終了を指示する操作を受け付けたか否かを判断する。終了を指示する操作を受け付けたならば処理を終了するが、そうでなければ処理をステップS18に戻す。
In step S18, it is determined whether an operation for instructing storage by the user has been accepted. If an operation for instructing storage is accepted, the process proceeds to step S19; otherwise, the process proceeds to step S20. In step S19, the image of the cut area cut out in step S16 is stored in the
以上説明したように第1の実施の形態におけるデジタルスチルカメラ1は、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでの本体の変位を検出し、撮像を指示する操作が受け付けられたときに基準画像から切り出された領域中の位置と検出された変位とに基づいて、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過したときの撮像画像のうちから領域を切り出す位置が決定される。このため、撮像を指示する操作が受け付けられた時点の撮像範囲と、セルフタイマ設定時間が経過した時点の撮像範囲とが異なる場合であっても、それぞれの画像から切り出される画像を同じ撮像範囲を撮像した画像とすることができる。
As described above, the digital
また、変位検出部57は、撮像を指示する操作が受け付けられることに応じてイメージセンサ19が出力する画像を基準画像として取得し、基準画像中から特徴領域を抽出し、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過した時に撮像手段が出力する画像から抽出された特徴領域に対応する対応領域を抽出し、特徴領域から対応領域に向かうベクトルに基づいて変位を決定する。このため、イメージセンサ19が出力する画像を用いて撮像範囲の変化量を検出するので、簡単な構成で変位を検出することができる。
In addition, the
<第2の実施の形態>
第2の実施の形態におけるデジタルカメラ1は、第1の実施の形態における変位検出部57を変更して変位検出部57Aとしたものである。その他の構成は、上述した第1の実施の形態におけるデジタルカメラ1と同じなので、ここでは説明を繰り返さず、異なる部分を主に説明する。
<Second Embodiment>
The
図8は、第2の実施の形態における変位検出部の詳細な機能の一例を示す図である。図8を参照して、変位検出部57Aは、動きベクトル算出部91と、移動ベクトル算出部93とを含む。動きベクトル算出部91は、イメージセンサ19が、所定時間間隔で出力する複数の画像データから動きベクトルを算出する。動きベクトル算出部91は、算出した動きベクトルを移動ベクトル算出部93に出力する。連続する2つの画像から動きベクトルを算出する方法は、周知なのでここでは説明を繰り返さない。動きベクトル算出部91が算出する動きベクトルは、画像全体の動きを示す動きベクトルである。したがって、撮像範囲中で被写体のみが動く場合があるが、この被写体が動くことにより検出される動きベクトルは除かれる。具体的には、動きベクトル算出部91は、画像中の複数の領域で動きベクトルを算出し、近似する動きベクトルの数が最も多い動きベクトルを移動ベクトル算出部93に出力する。移動ベクトル算出部93は、入力される動きベクトルを積算することにより移動ベクトルを算出する。移動ベクトル算出部93は、算出した移動ベクトルを本体の変位として切出位置決定部59に出力する。
FIG. 8 is a diagram illustrating an example of a detailed function of the displacement detection unit according to the second embodiment. Referring to FIG. 8,
図9は、第2の実施の形態におけるセルフタイマ撮像制御を処理の流れの一例を示すフローチャートである。図7に示したフローチャートと異なる点は、ステップS11〜ステップS14が削除された点、ステップS07とステップS08との間に、ステップS21〜ステップS23が追加された点、およびステップS15が変更されてステップS15Aとなった点である。図9を参照して、ステップS05においてシャッタボタンが押下する操作が検出されてから、ステップS08においてセルフタイマ設定時間が経過したと判断されるまでの間に、ステップS21からステップS23の処理が実行される。ステップS21においては、イメージセンサ19が出力する画像データをスルー画像として取得する。そして、取得されたスルー画像から動きベクトルを算出する。ステップS21において取得されたスルー画像と、ステップS02または、前のループでステップS21が実行される場合にはそのステップS21において取得されたスルー画像と、今回のループで実行されるステップS21において取得されたスルー画像とから動きベクトルを算出する。次のステップS23においては、ステップS22において算出された動きベクトルを積算することにより、移動ベクトルを算出する。ステップS21〜ステップS23の処理は、シャッタボタン35Aが押下する操作が検出されてからセルフタイマ設定時間が経過するまでの間、スルー画像のフレームが取得される毎に繰り返して実行される。したがって、算出される移動ベクトルは、シャッタボタン35Aが押下する操作が検出されてからセルフタイマ設定時間が経過するまでの間に、イメージセンサ19の結像面に結像する光学画像の移動量および移動方向を示す。
FIG. 9 is a flowchart illustrating an example of a process flow of the self-timer imaging control according to the second embodiment. 7 is different from the flowchart shown in FIG. 7 in that steps S11 to S14 are deleted, steps S21 to S23 are added between steps S07 and S08, and step S15 is changed. This is the point that became step S15A. Referring to FIG. 9, the processing from step S21 to step S23 is executed after the operation of pressing the shutter button is detected in step S05 until it is determined in step S08 that the self-timer set time has elapsed. Is done. In step S21, the image data output from the
ステップS15Aにおいては、ステップS07において設定された基準位置と、ステップS23において算出された移動ベクトルとから切出位置を決定する。具体的には、移動ベクトルの始点を基準位置とした場合の移動ベクトルの終点を切出位置に決定する。 In step S15A, the cutting position is determined from the reference position set in step S07 and the movement vector calculated in step S23. Specifically, the end point of the movement vector when the start point of the movement vector is used as the reference position is determined as the cutout position.
上述した第1の実施の形態における変位検出部57が、2つの画像を比較して画像中の特徴領域の移動量および移動方向を示す本体変位ベクトルを算出することにより、本体の変位を検出するのに対して、第2の実施の形態における変位検出部57Aは、スルー画像に含まれる複数のフレームから抽出される動きベクトルを積算することにより本体の変位を検出する。このため、既存のプログラムを使用することができる。
The
<第3の実施の形態>
第3の実施の形態におけるデジタルスチルカメラ1Aは、第1の実施の形態におけるデジタルスチルカメラ1にジャイロセンサを追加したものである。
<Third Embodiment>
A
図10は、第3の実施の形態におけるデジタルスチルカメラの構成の概略を示すブロック図である。図10を参照して、図1に示したブロック図と異なる点は、ジャイロセンサ33が追加された点である。その他の構成は、図1に示した第1の実施の形態におけるデジタルスチルカメラ1と同じなのでここでは説明を繰り返さない。
FIG. 10 is a block diagram illustrating a schematic configuration of a digital still camera according to the third embodiment. Referring to FIG. 10, the difference from the block diagram shown in FIG. 1 is that a
ジャイロセンサ33は、デジタルスチルカメラ1Aの本体が回転する際の角速度を検出する。ここでは、水平方向をX軸、垂直方向をY軸、レンズの光軸をZ軸とすると、ジャイロセンサ33は、Y軸を中心とする回転方向(ヨー方向)の角速度と、X軸を中心とする回転方向(ピッチ方向)の角速度を検出し、ヨー方向およびピッチ方向それぞれの角速度を制御部11に出力する。
The
第3の実施の形態におけるデジタルスチルカメラ1Aが備える制御部11は、図2に示したブロック図と変位検出部57を除き同様の機能を有する。第3の実施の形態における変位検出部57は、ジャイロセンサ33の出力が入力され、ジャイロセンサ33から入力されるヨー方向の角速度からX軸方向の本体の移動量を算出し、ピッチ方向の角速度からY軸方向の本体の移動量を算出する。変位検出部57は、X軸方向の本体の移動量と、Y軸方向の本体の移動量を積算し、X方向振れ量の積算値およびX方向振れ量の積算値を要素とする本体変位ベクトルを算出する。さらに、変位検出部57は、本体の振れ量をイメージセンサ19の結像面に結像する光学画像の移動量に換算することにより、本体変位ベクトルを移動ベクトルに変換する。変位検出部57は、本体変位ベクトルを移動ベクトルに変換する際に、レンズ群13のズーム量に対して予め定められた係数を用いる。
The
なお、第3の実施の形態における変位検出部57は、撮像制御部53から画像データ(スルー画像)が入力される必要はない。
Note that the
図11は、第3の実施の形態におけるセルフタイマ撮像制御を処理の流れの一例を示すフローチャートである。図7に示したフローチャートと異なる点は、ステップS11〜ステップS14が削除された点、ステップS07とステップS08との間に、ステップS31およびステップS32が追加された点、およびステップS15が変更されてステップS15Bとなった点である。図11を参照して、ステップS05においてユーザによるシャッタボタンを押下する操作が検出されてからステップS08においてセルフタイマ設定時間が経過したと判断されるまでの間に、ステップS31およびステップS32の処理が実行される。ステップS31においては、ジャイロセンサ33から本体の振れ量を取得する。ジャイロセンサ33から入力されるヨー方向の角速度からX軸方向の本体の振れ量を算出し、ピッチ方向の角速度からY軸方向の本体の振れ量を算出する。次のステップS32においては、X軸方向およびY方向の本体の振れ量をそれぞれ積算することにより本体変位ベクトルを算出し、本体変位ベクトルを移動ベクトルに換算する。
FIG. 11 is a flowchart illustrating an example of a process flow of the self-timer imaging control according to the third embodiment. 7 differs from the flowchart shown in FIG. 7 in that Steps S11 to S14 are deleted, Steps S31 and S32 are added between Steps S07 and S08, and Step S15 is changed. This is the point that became step S15B. Referring to FIG. 11, the processes in steps S31 and S32 are performed after the operation of pressing the shutter button by the user is detected in step S05 until it is determined in step S08 that the self-timer set time has elapsed. Executed. In step S31, the shake amount of the main body is acquired from the
ステップS31およびステップS32の処理は、シャッタボタン35Aを押下する操作が検出されてからセルフタイマ設定時間が経過するまでの間、繰り返し実行される。したがって、算出される移動ベクトルは、シャッタボタン35Aを押下する操作が検出されてからセルフタイマ設定時間が経過するまでの間に、イメージセンサ19の結像面に結像する光学画像の移動量および移動方向を示す。
The processes in step S31 and step S32 are repeatedly executed until the self-timer set time elapses after the operation of pressing the
ステップS15Bにおいては、ステップS07において設定された基準位置と、ステップS32において算出された移動ベクトルとから切出位置を決定する。具体的には、移動ベクトルの始点を基準位置とした場合の移動ベクトルの終点を切出位置に決定する。 In step S15B, the cutting position is determined from the reference position set in step S07 and the movement vector calculated in step S32. Specifically, the end point of the movement vector when the start point of the movement vector is used as the reference position is determined as the cutout position.
第3の実施の形態におけるデジタルスチルカメラ1Aは、本体の振れを検出するジャイロセンサ33により検出される振れに基づいて撮像を指示する操作が受け付けられてからの本体の変位を算出するので、本体の変位を正確に検出することができる。
Since the digital
<第4の実施の形態>
第4の実施の形態におけるデジタルスチルカメラ1Cは、第1の実施の形態におけるデジタルスチルカメラに、手振れ補正ユニットを追加したものである。以下、第4の実施の形態におけるデジタルスチルカメラ1Cについて、第1の実施の形態におけるデジタルスチルカメラ1と異なる点を説明する。
<Fourth embodiment>
A digital still camera 1C according to the fourth embodiment is obtained by adding a camera shake correction unit to the digital still camera according to the first embodiment. Hereinafter, a difference between the digital
図12は、第4の実施の形態におけるデジタルスチルカメラの構成の概略を示すブロック図である。図12を参照して、図1に示したブロック図と異なる点は、制御部11が制御部11Aに変更された点、手振れ補正ユニット17が追加された点である。その他の構成は、図1に示した第1の実施の形態におけるデジタルスチルカメラ1と同じなのでここでは説明を繰り返さない。
FIG. 12 is a block diagram illustrating a schematic configuration of a digital still camera according to the fourth embodiment. Referring to FIG. 12, the difference from the block diagram shown in FIG. 1 is that
手振れ補正ユニット17は、イメージセンサ19を移動させ、イメージセンサ19のレンズ群13の光軸の位置を移動させる。このため、手振れ補正ユニット17は、イメージセンサ19の結像面に平行で互いに交わる2方向にイメージセンサ19を移動させるために、2方向それぞれに対応する駆動部を含む。ここでは、2方向を、互いに直角に交わる水平方向(X軸方向)と垂直方向(Y軸方向)としている。イメージセンサ19の結像面は、レンズ群13の光軸に垂直な面である。手振れ補正ユニット17によって、イメージセンサ19の結像面に平行で互いに交わる2方向にイメージセンサ19が移動するので、イメージセンサ19の結像面は、レンズ群13の光軸に垂直な状態が維持される。
The camera
手振れ補正ユニット17は、操作部35に含まれるシャッタボタン35Aが全押しされる前の段階で、イメージセンサ19を初期位置に移動させる。イメージセンサ19の初期位置は、イメージセンサ19が垂直および水平の2方向それぞれにおいて移動可能な範囲の中心である。イメージセンサ19が初期位置に位置するとき、レンズ群13の光軸がイメージセンサ19の中心となる。なお、初期位置は、任意に定めることができる。
The camera
手振れ補正ユニット17は、操作部35に含まれるシャッタボタン35Aが全押しされると、イメージセンサ19に結像する光学画像が、デジタルスチルカメラ1本体が移動しても同じ位置に結像するように、イメージセンサ19を移動させる。換言すれば、イメージセンサ19が光電変換している間にイメージセンサ19の結像面に結像する光学画像が、シャッタボタン35Aが全押しされてイメージセンサ19が光電変換を開始したときに結像面に結像する光学画像と同じになるようにイメージセンサ19を移動させる。具体的には、ジャイロセンサ33により検出されるヨー方向およびピッチ方向の角速度に基づいて、イメージセンサ19の結像面に平行な方向および補正量を決定し、イメージセンサ19を移動させる。手振れ補正ユニット17は、水平方向(X軸方向)と垂直方向(Y軸方向)それぞれの補正量を制御部11に出力する。
When the
さらに、手振れ補正ユニット17が、イメージセンサ19を移動させるのに代えて、またはこれに加えて、レンズ群13を移動させるようにしてもよいし、レンズ群13とイメージセンサ19との間の光路に設けられるミラーを移動させるようにしてもよい。
Further, the camera
図13は、第4の実施の形態におけるデジタルスチルカメラが備える制御部が有する機能の一例を示す図である。図13を参照して、図2に示したブロック図と同じ機能には同じ符号を付し、それらの説明は繰り返さない。第4の実施の形態におけるデジタルスチルカメラ1Cが備える制御部11Aは、操作受付部51と、撮像制御部53と、変位検出部57Aと、画像表示制御部61と、位置決定部71と、を含む。
FIG. 13 is a diagram illustrating an example of functions of a control unit included in the digital still camera according to the fourth embodiment. Referring to FIG. 13, the same functions as those in the block diagram shown in FIG. The
撮像制御部53は、操作受付部51から撮像指示が入力される前の段階では、イメージセンサ19に所定時間間隔で画像データを出力させ、イメージセンサ19により出力される画像データ(スルー画像)を画像表示制御部61に出力する。
The
撮像制御部53は、操作受付部51から撮像指示が入力されると、レンズ駆動部15およびイメージセンサ19を制御して、イメージセンサ19に予め定められたシャッタ速度に対応する撮像時間だけ光電変換(露光)させ、イメージセンサ19が出力する画像データを取得する。そして、撮像制御部53は、撮像時間が経過するとシャッタを閉鎖し、イメージセンサ19が出力する画像データを取得し、取得した画像データ(撮像画像)を画像表示制御部61および変位検出部57に出力する。
When an imaging instruction is input from the
一方、撮像制御部53は、撮像モードがセルフタイマ撮像モードに設定されているならば、操作受付部51から撮像指示が入力されると、フォーカスレンズを固定し、撮像指示が入力されてからEEPROM25に記憶されたセルフタイマ設定時間が経過するまで待機状態となる。この間、スルー画像を画像表示制御部61に出力する。そして、撮像制御部53は、セルフタイマ設定時間が経過すると、予め設定されたシャッタ速度に対応する撮像時間の間、レンズ群13に含まれるシャッタを開放することによってイメージセンサ19による光電変換を開始させる。そして、撮像制御部53は、撮像時間が経過するとシャッタを閉鎖し、イメージセンサ19が出力する画像データを取得し、取得した画像データ(撮像画像)を画像表示制御部61および変位検出部57に出力する。画像表示制御部61は、撮像制御部53から入力されるスルー画像または撮像画像を、LCD23に表示する。
On the other hand, if the imaging mode is set to the self-timer imaging mode, the
変位検出部57Aは、撮像モードがセルフタイマ撮像モードに設定されているならば、撮像指示が入力された時点で撮像制御部53から入力される画像データの画像(基準画像)と、撮像指示が入力されてからセルフタイマ設定時間が経過する前に撮像制御部53から入力される画像データの画像(参照画像)とから本体の変位を検出し、検出した本体の変位を、切出位置決定部59に出力する。参照画像は、撮像指示が入力されてからセルフタイマ設定時間が経過する直前に撮像制御部53から入力される画像データの画像である。具体的には、撮像指示が入力されてからセルフタイマ設定時間が経過する前であって、イメージセンサ19が出力する最後の画像データである。
When the imaging mode is set to the self-timer imaging mode, the
変位検出部57Aは、図3のブロック図で示される機能と同様の機能を有するが、参照画像取得部85は、撮像指示が入力されてからセルフタイマ設定時間が経過する直前にイメージセンサ19が出力する画像(スルー画像)を参照画像として取得する点で、撮像指示が入力されてからセルフタイマ設定時間が経過したときにイメージセンサ19が出力する画像(撮像画像)を参照画像として取得する第1の実施の形態における変位検出部57と異なる。その他の機能は、図3に示したのと同様なのでここでは説明を繰り返さない。
The
位置決定部71は、シャッタボタン35Aが押下されたときのイメージセンサ19に対するレンズ群13の光軸の位置を、手振れ補正ユニットから取得しておき、変位検出部57Aから入力される本体変位ベクトルに基づいて、シャッタボタン35Aが押下する操作が検出されてからセルフタイマ設定時間が経過したときのイメージセンサ19に対するレンズ群13の光軸の位置を決定する。ここでは、シャッタボタン35Aが押下されたときのイメージセンサ19に対するレンズ群13の光軸の位置を初期位置としているので、初期位置を本体変位ベクトルの始点としたときの本体変位ベクトルの終点を、イメージセンサ19に対するレンズ群13の光軸の位置に決定する。位置決定部71は、変位検出部57Aから入力される本体変位ベクトルだけイメージセンサ19を移動させる指示を、手振れ補正ユニット17に出力する。これにより、手振れ補正ユニット17は、本体変位ベクトルの分だけイメージセンサ19を移動させるので、イメージセンサ19に対するレンズ群13の光軸の位置が決定された位置となる。
The
なお、シャッタボタン35Aが押下されたときのイメージセンサ19に対するレンズ群13の光軸の位置が初期位置でない場合には、変位検出部57Aから入力されるベクトルの始点をシャッタボタン35Aが押下されたときのイメージセンサ19に対するレンズ群13の光軸の位置としたときの終点の位置を、イメージセンサ19に対するレンズ群13の光軸の位置に決定し、決定された位置にレンズ群13の光軸を移動させるベクトルを算出し、手振れ補正ユニット17に出力する。
When the position of the optical axis of the
図14は、第4の実施の形態におけるセルフタイマ撮像制御を処理の流れの一例を示すフローチャートである。セルフタイマ撮像制御処理は、制御部11AがEEPROM25に記憶された撮像プログラムを実行することにより、制御部11Aにより実行される処理である。図14を参照して、制御部11Aは、撮像モードがセルフタイマ撮像モードに設定されているか否かを判断する(ステップS51)。撮像モードがセルフタイマ撮像モードに設定されるまで待機状態となり、撮像モードセルフタイマ撮像モードに設定されたならば処理をステップS52に進める。
FIG. 14 is a flowchart illustrating an example of a process flow of the self-timer imaging control according to the fourth embodiment. The self-timer imaging control process is a process executed by the
ステップS52においては、イメージセンサ19が出力する画像データをスルー画像として取得する。そして、取得されたスルー画像をLCD23に表示する(ステップS53)。ステップS54においては、シャッタボタン35Aが押下されたか否かを判断する。シャッタボタン35Aが押下されたならば処理をステップS55に進めるが、そうでなければ処理をステップS52に戻す。シャッタボタン35Aが押下されるまで、スルー画像がLCD23に表示される。このため、ユーザは、LCD23に表示された画像を見て、撮像範囲を定めることができる。
In step S52, the image data output from the
ステップS55においては、イメージセンサ19に対するレンズ群13の光軸の位置を基準光軸位置に設定する。この段階におけるイメージセンサ19に対するレンズ群13の光軸の位置を、初期位置としているので、初期位置を基準光軸位置に設定する。
In step S55, the position of the optical axis of the
ステップS56においては、イメージセンサ19が出力する画像データをスルー画像として取得する。そして、取得されたスルー画像を基準画像に設定する(ステップS57)。基準画像は、シャッタボタン35Aが押下された時点にイメージセンサ19が出力するスルー画像である。
In step S56, the image data output from the
ステップS58においては、イメージセンサ19が出力する画像データをスルー画像として取得する。そして、取得されたスルー画像を参照画像に設定する(ステップS59)。ステップS60においては、セルフタイマ設定時間が経過したか否かを判断する、ステップS54においてシャッタボタンが押下する操作が検出されてから経過する時間が、セルフタイマ設定時間と等しければステップS61に進めるが、そうでなければ処理をステップS58に戻す。すなわち、シャッタボタンが押下する操作が検出されてからセルフタイマ設定時間が経過するまで、取得されるスルー画像が参照画像に設定される。換言すれば、参照画像は、シャッタボタンを押下する操作が検出されてからセルフタイマ設定時間が経過する直前に取得されたスルー画像である。
In step S58, the image data output from the
ステップS61〜ステップS63の処理は、図7に示したステップS12〜ステップS14の処理とそれぞれ同じである。ステップS64においては、ステップS55において基準光軸位置に設定された光軸位置と、ステップS63において算出された本体変位ベクトルとからイメージセンサ19に対するレンズ群13の光軸の位置を決定する。ここでは、ステップS55において基準光軸位置に設定される光軸位置は、初期位置としているので、初期位置を本体変位ベクトルの始点としたときの本体変位ベクトルの終点を、イメージセンサ19に対するレンズ群13の光軸の位置に決定する。
The processing from step S61 to step S63 is the same as the processing from step S12 to step S14 shown in FIG. In step S64, the position of the optical axis of the
次のステップS65においては、光軸位置を変更する。具体的には、本体変位ベクトルだけイメージセンサ19を移動させる指示を、手振れ補正ユニット17に出力する。これにより、手振れ補正ユニット17は、本体変位ベクトルの分だけイメージセンサ19を移動させるので、イメージセンサ19に対するレンズ群13の光軸の位置が決定された位置となる。
In the next step S65, the optical axis position is changed. Specifically, an instruction to move the
ステップS66においては、撮像する。具体的には、レンズ群13のシャッタを閉じ、イメージセンサ19を初期化した後、レンズ群13のシャッタを撮像条件で設定されたシャッタ速度に対応する時間だけ開放し、イメージセンサ19に光電変換させる。その後イメージセンサ19が出力する画像データを撮像画像として取得する(ステップS67)。そして、取得された撮像画像を、LCD23に表示し(ステップS68)、処理をステップS69に進める。ステップS69〜ステップS71の処理は、図2のステップS18〜ステップS20の処理とそれぞれ同じである。
In step S66, an image is taken. Specifically, after the shutter of the
第4の実施の形態におけるデジタルスチルカメラ1Cは、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでの本体の変位が検出され、撮像を指示する操作が受け付けられたときのレンズの光軸の位置と検出された変位とに基づいて、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過したときのレンズの光軸の位置が決定される。このため、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでに撮像範囲が変わる場合であっても同じ撮像範囲を撮像した画像を取得することができる。 In the digital still camera 1C according to the fourth embodiment, the displacement of the main body from when the operation for instructing imaging is accepted until the self-timer set time elapses is detected, and the operation for instructing imaging is accepted. Based on the position of the optical axis of the lens and the detected displacement, the position of the optical axis of the lens when the self-timer set time has elapsed after the operation for instructing imaging is received is determined. For this reason, even when the imaging range changes from when the operation for instructing imaging is accepted until the self-timer set time elapses, an image obtained by imaging the same imaging range can be acquired.
<第5の実施の形態>
第5の実施の形態におけるデジタルカメラ1Cは、第4の実施の形態における変位検出部57を変更して変位検出部57Aとしたものである。その他の構成は、上述した第4の実施の形態におけるデジタルカメラ1と同じなので、ここでは説明を繰り返さず、異なる部分を主に説明する。
<Fifth embodiment>
A digital camera 1C according to the fifth embodiment is obtained by changing the
第5の実施の形態における変位検出部57Aは、図8に示した第2の実施の形態における変位検出部57Aと同じであり、動きベクトル算出部91と、移動ベクトル算出部93とを含む。動きベクトル算出部91は、イメージセンサ19が、所定時間間隔で出力する複数の画像データから動きベクトルを算出し、算出した動きベクトルを移動ベクトル算出部93に出力する。移動ベクトル算出部93は、入力される動きベクトルを積算することにより移動ベクトルを算出し、算出した移動ベクトルを本体の変位として位置決定部71に出力する。
The
図15は、第5の実施の形態におけるセルフタイマ撮像制御を処理の流れの一例を示すフローチャートである。図14に示したフローチャートと異なる点は、ステップS57〜ステップS64が、ステップS81、ステップS82、ステップS60およびステップS64Aに変更された点である。図15を参照して、ステップS54においてシャッタボタンを押下する操作が検出されてから、ステップS60においてセルフタイマ設定時間が経過したと判断されるまでの間に、ステップS81およびステップS82の処理が実行される。ステップS56においてスルー画像が取得された後、ステップS81において動きベクトルを算出する。ステップS56が前のループで実行されるときに取得されたスルー画像と、今回のループで取得されたスルー画像とから動きベクトルを算出する。次のステップS82においては、ステップS81において算出された動きベクトルを積算することにより、移動ベクトルを算出する。ステップS56、ステップS81およびステップS82の処理は、シャッタボタン35Aを押下する操作が受け付けられからセルフタイマ設定時間が経過するまでの間、スルー画像が取得される毎に繰り返して実行される。したがって、算出される移動ベクトルは、シャッタボタン35Aを押下する操作が受け付けられてからセルフタイマ設定時間が経過するまでの間に、イメージセンサ19の結像面に結像する光学画像の移動量および移動方向を示す。
FIG. 15 is a flowchart illustrating an example of a process flow of the self-timer imaging control according to the fifth embodiment. The difference from the flowchart shown in FIG. 14 is that step S57 to step S64 are changed to step S81, step S82, step S60, and step S64A. Referring to FIG. 15, the processing of step S81 and step S82 is executed after the operation of pressing the shutter button is detected in step S54 until it is determined in step S60 that the self-timer set time has elapsed. Is done. After a through image is acquired in step S56, a motion vector is calculated in step S81. A motion vector is calculated from the through image acquired when step S56 is executed in the previous loop and the through image acquired in the current loop. In the next step S82, a motion vector is calculated by integrating the motion vectors calculated in step S81. The processes of step S56, step S81, and step S82 are repeatedly executed every time a through image is acquired from when the operation of pressing the
ステップS64Aにおいては、ステップS55において基準位置に設定された光軸の位置、ここでは初期位置と、ステップS82において算出された移動ベクトルとから新たな光軸位置を決定する。具体的には、移動ベクトルの始点を基準位置とした場合の移動ベクトルの終点を光軸位置に決定する。 In step S64A, a new optical axis position is determined from the position of the optical axis set as the reference position in step S55, here the initial position, and the movement vector calculated in step S82. Specifically, the end point of the movement vector when the start point of the movement vector is used as the reference position is determined as the optical axis position.
第5の実施の形態におけるデジタルスチルカメラ1Cは、第3の実施の形態におけるデジタルスチルカメラ1Cが有する効果に加えて、第2の実施の形態におけるデジタルスチルカメラ1と同様の効果を奏することができる。
The digital still camera 1C according to the fifth embodiment has the same effects as the digital
<第6の実施の形態>
第6の実施の形態におけるデジタルスチルカメラ1Dは、第4の実施の形態におけるデジタルスチルカメラ1Cにジャイロセンサを追加したものである。
<Sixth Embodiment>
A digital
図16は、第6の実施の形態におけるデジタルスチルカメラの構成の概略を示すブロック図である。図16を参照して、図12に示したブロック図と異なる点は、ジャイロセンサ33が追加された点である。その他の構成は、図12に示した第1の実施の形態におけるデジタルスチルカメラ1と同じなのでここでは説明を繰り返さない。
FIG. 16 is a block diagram illustrating an outline of a configuration of a digital still camera according to the sixth embodiment. Referring to FIG. 16, the difference from the block diagram shown in FIG. 12 is that a
また、ジャイロセンサ33は、第3の実施の形態におけるデジタルスチルカメラ1Aに搭載されるものと同じである。
The
第6の実施の形態におけるデジタルスチルカメラ1Aが備える制御部11は、図13に示したブロック図と変位検出部57を除き同様の機能を有する。第6の実施の形態における変位検出部57は、ジャイロセンサ33の出力が入力され、ジャイロセンサ33から入力されるヨー方向の角速度からX軸方向の本体の移動量を算出し、ピッチ方向の角速度からY軸方向の本体の移動量を算出する。変位検出部57は、X軸方向の本体の移動量と、Y軸方向の本体の移動量を積算し、X方向振れ量の積算値およびX方向振れ量の積算値を要素とする本体変位ベクトルを算出する。さらに、変位検出部57は、本体の振れ量をイメージセンサ19の結像面に結像する光学画像の移動量に換算することにより、本体変位ベクトルを移動ベクトルに変換する。変位検出部57は、本体変位ベクトルを移動ベクトルに変換する際に、レンズ群13のズーム量に対して予め定められた係数を用いる。
The
なお、第6の実施の形態における変位検出部57は、撮像制御部53から画像データ(スルー画像)は入力されない。
Note that the
図17は、第6の実施の形態におけるセルフタイマ撮像制御を処理の流れの一例を示すフローチャートである。図14に示したフローチャートと異なる点は、ステップS56〜ステップS64が、ステップS91、ステップS92、ステップS60およびステップS64Bに変更された点である。図17を参照して、ステップS54においてシャッタボタンが押下する操作が検出されてからステップS60においてセルフタイマ設定時間が経過したと判断されるまでの間に、ステップS91およびステップS92の処理が実行される。ステップS91においては、ジャイロセンサ33から本体の振れ量を取得する。ジャイロセンサ33から入力されるヨー方向の角速度からX軸方向の本体の振れ量を算出し、ピッチ方向の角速度からY軸方向の本体の振れ量を算出する。次のステップS92においては、X軸方向およびY方向の本体の振れ量をそれぞれ積算することにより本体変位ベクトルを算出し、本体変位ベクトルを移動ベクトルに換算する。
FIG. 17 is a flowchart illustrating an example of a process flow of the self-timer imaging control according to the sixth embodiment. The difference from the flowchart shown in FIG. 14 is that step S56 to step S64 are changed to step S91, step S92, step S60, and step S64B. Referring to FIG. 17, the processing in step S91 and step S92 is executed after the operation of pressing the shutter button is detected in step S54 until it is determined in step S60 that the self-timer set time has elapsed. The In step S91, the shake amount of the main body is acquired from the
ステップS91およびステップS92の処理は、シャッタボタン35Aを押下する操作が検出されてからセルフタイマ設定時間が経過するまでの間、繰り返し実行される。したがって、算出される移動ベクトルは、シャッタボタン35Aを押下する操作が検出されたときからセルフタイマ設定時間が経過したときの2つの時点における、イメージセンサ19の結像面に結像する光学画像の移動量および移動方向を示す。
The processes in step S91 and step S92 are repeatedly executed until the self-timer set time elapses after the operation of pressing the
ステップS64Bにおいては、ステップS55において設定された基準光学位置に設定された光軸の位置と、ステップS92において算出された移動ベクトルとから光軸位置を決定する。具体的には、移動ベクトルの始点を基準光学位置とした場合の移動ベクトルの終点を新たな光軸位置に決定する。 In step S64B, the optical axis position is determined from the optical axis position set at the reference optical position set in step S55 and the movement vector calculated in step S92. Specifically, the end point of the movement vector when the start point of the movement vector is set as the reference optical position is determined as a new optical axis position.
第6の実施の形態におけるデジタルスチルカメラ1Dは、第3の実施の形態におけるデジタルスチルカメラ1Cが有する効果に加えて、第3の実施の形態におけるデジタルスチルカメラ1Aと同様の効果を奏することができる。
The digital
なお、上述した実施の形態においては撮像装置の一例としてデジタルスチルカメラ1、1A〜1Dを説明したが、図4に示したセルフタイマ撮像制御処理を実行するための撮像方法およびその撮像方法をコンピュータに実行させるための撮像プログラムとして発明を捉えることができるのはいうまでもない。
In the above-described embodiment, the
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
<付記>
(1) 前記振れ検出手段は、ジャイロセンサである、請求項5に記載の撮像装置。
<Appendix>
(1) The imaging apparatus according to claim 5, wherein the shake detection unit is a gyro sensor.
1 デジタルスチルカメラ、1,1A〜1D デジタルスチルカメラ、11,11A 制御部、13 レンズ群、15 レンズ駆動部、17 補正ユニット、19 イメージセンサ、21 コーデック、22 信号処理回路、23 LCD、25 EEPROM、27 SDRAM、29 カードI/F、29A メモリカード、33 ジャイロセンサ、35 操作部、35A シャッタボタン、41 バッテリ、51 操作受付部、53 撮像制御部、55 切出部、57,57A 変位検出部、59 切出位置決定部、61 画像表示制御部、71 位置決定部、81 基準画像取得部、83 特徴領域抽出部、85 参照画像取得部、87 対応領域抽出部、89 ベクトル算出部、91 ベクトル算出部、93 移動ベクトル算出部。
DESCRIPTION OF
Claims (7)
前記取得された画像から予め定められたサイズの領域の画像を切り出す切出手段と、
前記切り出された領域の画像を表示する表示制御手段と、
ユーザによる撮像を指示する操作を受け付ける操作受付手段と、
撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでの本体の変位を検出する変位検出手段と、
前記撮像を指示する操作が受け付けられたときに前記切出手段により切り出された領域中の位置と前記検出された変位とに基づいて、前記撮像を指示する操作が受け付けられてから前記セルフタイマ設定時間が経過したときに前記撮像手段が出力する画像のうちから前記予め定められたサイズの領域を切り出す位置を決定する切出位置決定手段と、を備えた撮像装置。 Imaging means for imaging a subject and acquiring an image;
Cutting means for cutting out an image of a region of a predetermined size from the acquired image;
Display control means for displaying an image of the clipped area;
Operation accepting means for accepting an operation for instructing imaging by a user;
Displacement detecting means for detecting the displacement of the main body until the self-timer set time elapses after an operation instructing imaging is accepted;
The self-timer setting after the operation instructing the imaging is received based on the position in the region cut out by the cutting means and the detected displacement when the operation instructing the imaging is received. An image pickup apparatus comprising: a cut-out position determining unit that determines a position to cut out the region of the predetermined size from the image output by the image pickup unit when time has elapsed.
前記撮像手段は、レンズを介して結像面に結像した被写体の光学画像を光電変換することによって、画像信号を出力する光電変換手段を含み、
前記出力される画像を表示する表示制御手段と、
ユーザによる撮像を指示する操作を受け付ける操作受付手段と、
撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでの本体の変位を検出する変位検出手段と、
前記光電変換手段に対する前記レンズの光軸の位置を移動させる撮像範囲変更手段と、を備え、
前記撮像範囲変更手段は、前記撮像を指示する操作が受け付けられたときの前記光電変換手段に対する前記レンズの光軸の位置と前記検出された変位とに基づいて、前記撮像を指示する操作が受け付けられてから前記セルフタイマ設定時間が経過したときの前記光電変換手段に対する前記レンズの光軸の位置を決定する位置決定手段を含む、撮像装置。 Imaging means for imaging a subject and acquiring an image;
The imaging means includes photoelectric conversion means for outputting an image signal by photoelectrically converting an optical image of a subject imaged on an imaging surface via a lens,
Display control means for displaying the output image;
Operation accepting means for accepting an operation for instructing imaging by a user;
Displacement detecting means for detecting the displacement of the main body until the self-timer set time elapses after an operation instructing imaging is accepted;
An imaging range changing means for moving the position of the optical axis of the lens with respect to the photoelectric conversion means,
The imaging range changing unit accepts an operation for instructing the imaging based on the position of the optical axis of the lens with respect to the photoelectric conversion unit and the detected displacement when the operation for instructing the imaging is accepted. An image pickup apparatus, comprising: a position determining unit that determines a position of an optical axis of the lens with respect to the photoelectric conversion unit when the self-timer set time has elapsed since the detection.
前記取得された基準画像中から特徴領域を抽出する特徴領域抽出手段と、
前記撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過した時に前記撮像手段が出力する画像から前記抽出された特徴領域に対応する対応領域を抽出する対応領域抽出手段と、を含み、
前記特徴領域から前記対応領域に向かうベクトルに基づいて前記変位を決定する、請求項1または2に記載の撮像装置。 The displacement detection means; a reference image acquisition means for acquiring an image output by the imaging means as a reference image in response to an operation instructing the imaging;
Feature region extraction means for extracting a feature region from the acquired reference image;
A corresponding area extracting unit that extracts a corresponding area corresponding to the extracted feature area from an image output by the imaging unit when a self-timer set time has elapsed since the operation instructing the imaging is received;
The imaging apparatus according to claim 1, wherein the displacement is determined based on a vector from the feature area toward the corresponding area.
前記撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでに、前記振れ検出手段により算出されるすべての動きベクトルに基づいて、前記前記撮像を指示する操作が受け付けられてからの本体の変位を算出する、請求項1または2に記載の撮像装置。 The displacement detection means includes a motion vector calculation means for calculating a motion vector based on a plurality of images continuously output by the imaging means,
From the time the self-timer set time elapses after the operation for instructing the imaging is accepted, based on all the motion vectors calculated by the shake detection means, The imaging apparatus according to claim 1, wherein a displacement of the main body is calculated.
前記変位検出手段は、前記検出される振れに基づいて前記前記撮像を指示する操作が受け付けられてからの本体の変位を算出する、請求項1または2に記載の撮像装置。 Further comprising a shake detection means for detecting the shake of the main body,
The imaging apparatus according to claim 1, wherein the displacement detection unit calculates a displacement of the main body after an operation instructing the imaging is received based on the detected shake.
前記撮像装置は、被写体を撮像し、画像を取得する撮像手段を備えており、
前記撮像手段が出力する画像から予め定められたサイズの領域の画像を切り出すステップと、
前記切り出された領域の画像を表示するステップと、
ユーザによる撮像を指示する操作を受け付けるステップと、
前記撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過した後に前記撮像手段に撮像させるセルフタイマ撮像モードに撮像モードが設定されている場合、前記撮像を指示する操作が受け付けられてからの本体の変位を検出するステップと、
前記撮像を指示する操作が受け付けられたときに前記切り出しステップにおいて切り出された領域の前記画像中の位置と前記検出された変位とに基づいて、前記撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過したときに前記撮像手段が出力する画像のうちから前記予め定められたサイズの領域を切り出す位置を決定するステップと、を含む撮像方法。 An imaging method executed by an imaging device,
The imaging apparatus includes an imaging unit that images a subject and acquires an image,
Cutting out an image of a region of a predetermined size from an image output by the imaging means;
Displaying an image of the clipped area;
Receiving an operation for instructing imaging by a user;
When the imaging mode is set in the self-timer imaging mode in which the imaging unit performs imaging after the self-timer setting time has elapsed since the operation instructing the imaging is accepted, after the operation instructing the imaging is accepted Detecting the displacement of the body of the
A self-timer after the operation instructing the imaging is received based on the position in the image of the region cut out in the clipping step and the detected displacement when the operation instructing the imaging is received. Determining a position to cut out the region of the predetermined size from the image output by the imaging means when a set time has elapsed.
前記撮像装置は、被写体を撮像し、画像を取得する撮像手段と、
前記撮像手段は、レンズを介して結像面に結像した被写体の光学画像を光電変換することによって、画像を出力する光電変換手段を含み、
前記光電変換手段に対する前記レンズの光軸の位置を移動させる手段と、を備えており、
前記撮像手段が出力する画像を表示するステップと、
ユーザによる撮像を指示する操作を受け付けるステップと、
前記撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過した後に前記撮像手段に撮像させるセルフタイマ撮像モードに撮像モードが設定されている場合、前記撮像を指示する操作が受け付けられてからの本体の変位を検出するステップと、
前記撮像を指示する操作が受け付けられたときの前記光電変換手段に対する前記レンズの光軸の位置と前記検出された変位とに基づいて、前記撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過したときの前記光電変換手段に対する前記レンズの光軸の位置を決定するステップと、を含む撮像方法。 An imaging method executed by an imaging device,
The imaging device captures an object and acquires an image; and
The imaging means includes photoelectric conversion means for outputting an image by photoelectrically converting an optical image of a subject imaged on an imaging surface via a lens,
And a means for moving the position of the optical axis of the lens with respect to the photoelectric conversion means,
Displaying an image output by the imaging means;
Receiving an operation for instructing imaging by a user;
When the imaging mode is set in the self-timer imaging mode in which the imaging unit performs imaging after the self-timer setting time has elapsed since the operation instructing the imaging is accepted, after the operation instructing the imaging is accepted Detecting the displacement of the body of the
Based on the position of the optical axis of the lens with respect to the photoelectric conversion means and the detected displacement when the operation for instructing the imaging is received, the self-timer setting time after the operation for instructing the imaging is received Determining the position of the optical axis of the lens with respect to the photoelectric conversion means when elapses.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009249085A JP2011097344A (en) | 2009-10-29 | 2009-10-29 | Imaging device and imaging method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009249085A JP2011097344A (en) | 2009-10-29 | 2009-10-29 | Imaging device and imaging method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2011097344A true JP2011097344A (en) | 2011-05-12 |
Family
ID=44113796
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009249085A Pending JP2011097344A (en) | 2009-10-29 | 2009-10-29 | Imaging device and imaging method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2011097344A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012054624A (en) * | 2010-08-31 | 2012-03-15 | Casio Comput Co Ltd | Imaging apparatus and program |
WO2014042143A1 (en) * | 2012-09-11 | 2014-03-20 | 株式会社メガチップス | Mobile terminal device, program, image stabilization method, and condition detection method |
JP2014056343A (en) * | 2012-09-11 | 2014-03-27 | Mega Chips Corp | Mobile terminal device, program, and situation detection method |
JP2015159447A (en) * | 2014-02-25 | 2015-09-03 | キヤノン株式会社 | Imaging device and control method of the same |
-
2009
- 2009-10-29 JP JP2009249085A patent/JP2011097344A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012054624A (en) * | 2010-08-31 | 2012-03-15 | Casio Comput Co Ltd | Imaging apparatus and program |
US9344630B2 (en) | 2010-08-31 | 2016-05-17 | Casio Computer Co., Ltd. | Imaging apparatus, imaging method and recording medium |
WO2014042143A1 (en) * | 2012-09-11 | 2014-03-20 | 株式会社メガチップス | Mobile terminal device, program, image stabilization method, and condition detection method |
JP2014056343A (en) * | 2012-09-11 | 2014-03-27 | Mega Chips Corp | Mobile terminal device, program, and situation detection method |
US9747871B2 (en) | 2012-09-11 | 2017-08-29 | Megachips Corporation | Portable terminal device, program, device shake compensation method, and condition detection method |
JP2015159447A (en) * | 2014-02-25 | 2015-09-03 | キヤノン株式会社 | Imaging device and control method of the same |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7747159B2 (en) | Focusing device and image-capturing device provided with the same | |
KR100847614B1 (en) | Imaging apparatus and computer readable recording medium | |
TWI326553B (en) | Imaging apparatus, data extraction method, and data extraction program | |
KR102336447B1 (en) | Image capturing apparatus and method for the same | |
JP5736796B2 (en) | Electronic camera, program and recording medium | |
US20120300051A1 (en) | Imaging apparatus, and display method using the same | |
US20080181460A1 (en) | Imaging apparatus and imaging method | |
CN107850753B (en) | Detection apparatus, detection method, detection program, and imaging apparatus | |
JP2006201282A (en) | Digital camera | |
TWI459126B (en) | Image processing device capable of generating a wide-range image, image processing method and recording medium | |
JP2009225027A (en) | Imaging apparatus, imaging control method, and program | |
JP5923759B2 (en) | Imaging device | |
JP2009065573A (en) | Imaging apparatus, focus control method, and focus control program | |
US10901174B2 (en) | Camera for limiting shifting of focus adjustment optical system | |
JP2001223932A (en) | Image pickup device and digital camera | |
US10419686B2 (en) | Image pickup apparatus and method for controlling the display of through image data based on shutter state | |
JP2011082719A (en) | Image pickup device | |
JP2011097344A (en) | Imaging device and imaging method | |
JP4992215B2 (en) | Imaging apparatus and program | |
JP2007166011A (en) | Imaging apparatus and its program | |
JP5429588B2 (en) | Imaging apparatus and imaging method | |
KR101510101B1 (en) | Apparatus for processing digital image and method for controlling thereof | |
JP2009092961A (en) | Focusing position control device, focusing position control method, and focusing position control program | |
JP5105298B2 (en) | Imaging apparatus and program thereof | |
JP4923674B2 (en) | Digital camera, focus position specifying method, program |