JP2011097344A - Imaging device and imaging method - Google Patents

Imaging device and imaging method Download PDF

Info

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
Application number
JP2009249085A
Other languages
Japanese (ja)
Inventor
Akihiro Yumiba
章広 弓場
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2009249085A priority Critical patent/JP2011097344A/en
Publication of JP2011097344A publication Critical patent/JP2011097344A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Details Of Cameras Including Film Mechanisms (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To acquire images where the same area is photographed even if a photographing area is changed during the time that self-timer is set on. <P>SOLUTION: A digital still camera has an image sensor, an extraction part which extracts an image area of a prespecified size from an image, an image display controller which displays the image in the extracted area, a position change detector (S14) which detects the position change of a body until the self-timer set time is over after a photographing instruction operation is received, and an extraction position determination part (S15) which determines a position to extract an area of the prespecified size from the image outputted from the image sensor until the self-timer set time is over after reception of the photographing instruction operation on the basis of the position within the area extracted by the extraction part and the detected position change upon reception of the photographing instruction operation. <P>COPYRIGHT: (C)2011,JPO&INPIT

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.

しかしながら、セルフタイマ設定時間経過時に画像撮像装置が動いていなくても、ユーザがシャッタを押下してからセルフタイマ設定時間経過するまでの間に、画像撮像装置が動く場合には、シャッタ処理動作は中断または中止されることなく、実行される。この場合には、撮像された画像は、ユーザの望む撮像範囲とは異なる撮像範囲の被写体を撮像した画像となるといった問題がある。特に、被写体が画像の中心でなくなったり、被写体の一部が撮像範囲から外れたりする場合がある。
特開2009−33233号公報
However, even if the image capturing apparatus does not move when the self-timer set time elapses, if the image capturing apparatus moves between when the user presses the shutter and the self-timer set time elapses, the shutter processing operation is performed. Runs without interruption or abortion. In this case, there is a problem that the captured image is an image obtained by imaging a subject in an imaging range different from the imaging range desired by the user. In particular, the subject may not be the center of the image, or a part of the subject may be out of the imaging range.
JP 2009-33233 A

この発明は、上述した問題点を解決するためになされたもので、この発明の目的の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 digital still camera 1 includes a control unit 11 that controls the entire digital still camera 1, a lens group 13 that includes a plurality of lenses including a focus lens and a zoom lens, and a lens group 13. A lens driving unit 15 to be driven, an image sensor 19, a liquid crystal display (LCD 23) 23, a codec (CODEC) 21, a signal processing circuit 22 for image processing, a program to be executed by the control unit 11, and the like are stored. An EEPROM (Electrically Erasable and Programmable Read Only Memory) 25, an SDRAM (Synchronous Dynamic Random Access Memory) 27 used as a work area of the control unit 11, and a memory card 29 It includes a card interface (I / F) 29 which is mounted, an operation unit 35 that accepts a user's operation, the battery 41 supplies power to the entire digital still camera 1, a.

レンズ群13は、デジタルスチルカメラ1本体の前面に設けられ、LCD23は、レンズ群13が設けられる面とは反対のデジタルスチルカメラ1の背面に設けられる。レンズ群13は、レンズ駆動部15により制御される。レンズ群13は、デジタルスチルカメラ1が駆動していないときは、本体内部に収納されている。レンズ駆動部15は、起動時の初期化処理において、レンズ群13を本体外部に突出させる。さらに、レンズ群13は、ズームレンズを調整するズーム機構を有し、レンズ駆動部15は、起動時の初期化処理において、レンズ群13のズーム量を定めるために、レンズ群13のズームレンズを基準位置に配置させる。   The lens group 13 is provided on the front surface of the digital still camera 1 main body, and the LCD 23 is provided on the back surface of the digital still camera 1 opposite to the surface on which the lens group 13 is provided. The lens group 13 is controlled by the lens driving unit 15. The lens group 13 is housed inside the main body when the digital still camera 1 is not driven. The lens driving unit 15 causes the lens group 13 to protrude outside the main body in the initialization process at the time of activation. Further, the lens group 13 has a zoom mechanism for adjusting the zoom lens, and the lens driving unit 15 adjusts the zoom lens of the lens group 13 in order to determine the zoom amount of the lens group 13 in the initialization process at startup. Place it at the reference position.

イメージセンサ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 image sensor 19 is a photoelectric conversion element such as a CMOS (Complementary Metal Oxide Semiconductor) image sensor, and its imaging plane is perpendicular to the optical axis of the lens group 13. The image sensor 19 photoelectrically converts an optical image of a subject formed on the imaging surface via the lens group 13 and outputs image data to the control unit 11. The control unit 11 receives image data output from the image sensor 19 and stores the image data in the SDRAM 27. The image data here is, for example, bitmap format data in which one pixel is composed of R (red), G (green), and B (blue). The image sensor 19 is not limited to a CMOS image sensor, and a CCD (Charge Coupled Device) image sensor may be used. In this case, since the CCD image sensor outputs an analog signal, the analog signal output from the CCD image sensor may be converted into digital image data by an analog / digital converter. Here, digital image data output from a CMOS image sensor as a photoelectric conversion element and analog signals output from a CCD image sensor are collectively referred to as an image signal.

イメージセンサ19は、制御部11により制御され、光電変換する時間が制御される。具体的には、制御部11は、イメージセンサ19に光電変換を開始させる場合、レンズ群13とイメージセンサ19との間に設けられたシャッタを開放する。これにより、イメージセンサ19が光電変換を開始する。制御部11は、光電変換させる時間が経過すると、シャッタと閉じ、イメージセンサ19に画像データを出力させる。   The image sensor 19 is controlled by the control unit 11 to control the time for photoelectric conversion. Specifically, when the control unit 11 causes the image sensor 19 to start photoelectric conversion, the control unit 11 opens a shutter provided between the lens group 13 and the image sensor 19. Thereby, the image sensor 19 starts photoelectric conversion. When the time for photoelectric conversion has elapsed, the control unit 11 closes the shutter and causes the image sensor 19 to output image data.

イメージセンサ19は、動画像を撮像する場合、所定の時間間隔で1フレームの画像データを出力する。フレームとは、動画像を構成する単位であり、1フレームは1枚の画像を意味する。また、フレームはフィールドに置き換えることができる。所定の時間間隔とは、フレームレートが5FPSであれば、1/5秒である。ここでは、動画像をスルー画像という。   When capturing a moving image, the image sensor 19 outputs one frame of image data at a predetermined time interval. A frame is a unit constituting a moving image, and one frame means one image. The frame can be replaced with a field. The predetermined time interval is 1/5 second when the frame rate is 5 FPS. Here, the moving image is referred to as a through image.

信号処理回路22は、SDRAM27に記憶された画像データを読み出し、画像データに対して種々の信号処理を施し、輝度信号と色差信号とで表される表色系のYUV形式に変換する。信号処理回路22は、YUV形式の画像データをSDRAM27に記憶する。   The signal processing circuit 22 reads the image data stored in the SDRAM 27, performs various signal processing on the image data, and converts the image data into a color system YUV format represented by a luminance signal and a color difference signal. The signal processing circuit 22 stores YUV format image data in the SDRAM 27.

制御部11は、SDRAM27に記憶されたYUV形式の画像データからRGB信号を生成し、LCD23に出力する。これにより、LCD23にイメージセンサ19が被写体を撮像して出力する画像が表示される。なお、LCD23に代えて、有機EL(ElectroLuminescence)ディスプレイを用いてもよい。   The control unit 11 generates an RGB signal from the YUV format image data stored in the SDRAM 27 and outputs the RGB signal to the LCD 23. As a result, an image output from the image sensor 19 by imaging the subject is displayed on the LCD 23. Instead of the LCD 23, an organic EL (ElectroLuminescence) display may be used.

コーデック21は、制御部11により制御され、SDRAM27に記憶されたYUV形式の画像データを読出し、圧縮符合化し、画像データを圧縮符号化した符号化データをSDRAM27に記憶する。ここでは、画像データをJPEG方式で圧縮符号化する。また、コーデック21は、動画像を記憶する場合、MPEG(Moving Picture Experts Group)圧縮方式で、複数のフレームを圧縮符号化する。この場合には、GOP(Group of Picture)単位で圧縮符号化された符号化データがSDRAM21に記憶される。なお、静止画像または動画像の画像データの圧縮方式はこれらに限定されることなく、他の圧縮方式を用いるようにしてもよい。   The codec 21 is controlled by the control unit 11, reads YUV format image data stored in the SDRAM 27, compresses and encodes the encoded data, and stores the encoded data in the SDRAM 27. Here, the image data is compressed and encoded by the JPEG method. Further, when storing a moving image, the codec 21 compresses and encodes a plurality of frames by an MPEG (Moving Picture Experts Group) compression method. In this case, encoded data that has been compression-encoded in units of GOP (Group of Pictures) is stored in the SDRAM 21. Note that the compression method of image data of still images or moving images is not limited to these, and other compression methods may be used.

カードI/F29は、不揮発性メモリを備えたメモリカード29Aが装着される。制御部11は、カードI/F29を介して、メモリカード29Aにアクセス可能であり、SDRAM27に記憶された符号化データをメモリカード29Aに記憶する。   The card I / F 29 is loaded with a memory card 29A having a nonvolatile memory. The control unit 11 can access the memory card 29A via the card I / F 29, and stores the encoded data stored in the SDRAM 27 in the memory card 29A.

操作部35は、撮像を開始する指示を受け付けるためのシャッタボタン35Aを含む複数のキーを含み、ユーザの操作を受け付ける。操作部35は、デジタルスチルカメラ1をセルフタイマモードに設定するための指示が予め割り当てられたモード設定キーを含む。なお、操作部35は、LCD23上に重畳されたタッチパネルを含むようにしてもよい。   The operation unit 35 includes a plurality of keys including a shutter button 35A for receiving an instruction to start imaging, and receives a user operation. The operation unit 35 includes a mode setting key to which an instruction for setting the digital still camera 1 to the self-timer mode is assigned in advance. The operation unit 35 may include a touch panel superimposed on the LCD 23.

バッテリ41は、一次電池または二次電池であり、デジタルスチルカメラ1の全体に電力を供給する。制御部11は、バッテリ41の出力電圧V1を検出し、バッテリ41の残容量を算出する。バッテリ41は、デジタルスチルカメラ1本体に着脱可能であってもよい。   The battery 41 is a primary battery or a secondary battery, and supplies power to the entire digital still camera 1. The control unit 11 detects the output voltage V1 of the battery 41 and calculates the remaining capacity of the battery 41. The battery 41 may be detachable from the digital still camera 1 main body.

制御部11は、EEPROM25に記憶された撮像プログラムを実行することにより、セルフタイマ撮像機能を実現する。本実施の形態におけるデジタルスチルカメラ1は、撮像モードを、通常モードとセルフタイマ撮像モードとのいずれかに切り換える。制御部11は、撮像モードがセルフタイマ撮像モードに切り換えられているときに、セルフタイマ撮像機能を実現する。ここで、セルフタイマ撮像機能は、ユーザによるシャッタボタン35Aを押下する操作が検出されてから予め設定されたセルフタイマ設定時間が経過した後に、撮像する機能である。具体的には、制御部11は、ユーザによりモード設定キーが押下されると、撮像モードをセルフタイマ撮像モードに切り換える。制御部11は、撮像モードがセルフタイマ撮像モードの場合、シャッタボタン35Aがユーザにより押下されると、その時からセルフタイマ設定時間が経過過した後に、撮像する。制御部11は、撮像する場合、予め設定されたシャッタ速度に対応する時間だけレンズ群13のシャッタを開放し、シャッタを閉じた後にイメージセンサ19が出力する画像データを取得する。シャッタが開放している間に、イメージセンサ19が光電変換する。   The control unit 11 implements a self-timer imaging function by executing an imaging program stored in the EEPROM 25. The digital still camera 1 in the present embodiment switches the imaging mode between the normal mode and the self-timer imaging mode. The control unit 11 implements a self-timer imaging function when the imaging mode is switched to the self-timer imaging mode. Here, the self-timer imaging function is a function of imaging after a preset self-timer set time has elapsed since the operation of pressing the shutter button 35A by the user was detected. Specifically, when the mode setting key is pressed by the user, the control unit 11 switches the imaging mode to the self-timer imaging mode. When the image capturing mode is the self-timer image capturing mode, when the shutter button 35A is pressed by the user, the control unit 11 captures an image after the self-timer set time has elapsed from that time. When imaging, the control unit 11 opens the shutter of the lens group 13 for a time corresponding to a preset shutter speed, and acquires image data output by the image sensor 19 after the shutter is closed. While the shutter is open, the image sensor 19 performs photoelectric conversion.

なお、撮像プログラムを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 EEPROM 25 will be described. However, the imaging program is not limited to the EEPROM 25, and the imaging program stored in the memory card 29A may be executed. Further, the recording medium for storing the imaging program is not limited to the memory card 29A, but a magnetic tape, a flexible disk, an optical disc (CD-ROM (Compact Disc-Read Only Memory) / MO (Magnetic Optical Disc / MD (Mini Disc)). / DVD (Digital Versatile Disc)), IC card (including memory card), optical card, mask ROM, EPROM (Erasable Programmable ROM), and the like.

図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 control unit 11 when the control unit 11 executes the imaging program. Instead of the control unit 11, the function shown in FIG. 2 may be realized by a circuit.

図2を参照して、制御部11は、ユーザによる操作を受け付ける操作受付部51と、レンズ駆動部15およびイメージセンサ19を制御する撮像制御部53と、本体の変位を検出する変位検出部57と、画像から予め定められたサイズの領域の画像を切り出す切出部55と、画像から切り出す領域の画像中の位置を決定する切出位置決定部59と、LCD23を制御する画像表示制御部61と、を含む。   Referring to FIG. 2, the control unit 11 includes an operation receiving unit 51 that receives an operation by a user, an imaging control unit 53 that controls the lens driving unit 15 and the image sensor 19, and a displacement detection unit 57 that detects the displacement of the main body. A cutout unit 55 that cuts out an image having a predetermined size from the image, a cutout position determination unit 59 that determines the position of the region cut out from the image, and an image display control unit 61 that controls the LCD 23. And including.

操作受付部51は、LCD23に、セルフタイマ設定時間を入力するための領域を含むセルフタイマ設定画面を表示し、ユーザが操作部35にセルフタイマ設定時間を入力すると、操作部35から入力されたセルフタイマ設定時間を受け付け、EEPROM25に記憶する。なお、セルフタイマ設定時間は、デフォルト値がEEPROM25に記憶されており、操作受付部51は、ユーザにより入力されたセルフタイマ設定時間で、デフォルト値を更新する。また、操作受付部51は、ユーザにより操作部35が有するモード設定キーが押下されると、撮像モードをセルフタイマ撮像モードに切り換える。ここでは、操作受付部51は、セルフ大麻撮像モードに撮像モードが切り換わると、撮像モードがセルフタイマ撮像モードであることを示す信号を、撮像制御部53および変位検出部57に出力する。さらに、操作受付部51は、ユーザが操作部35が有するシャッタボタン35Aを半押すると、フォーカス指示を撮像制御部53に出力し、ユーザがシャッタボタン35Aを全押すると、ユーザによる撮像を指示する操作を受け付け、撮像指示を撮像制御部53および変位検出部57に出力する。   The operation reception unit 51 displays a self-timer setting screen including an area for inputting the self-timer setting time on the LCD 23. When the user inputs the self-timer setting time to the operation unit 35, the operation receiving unit 51 is input from the operation unit 35. The self-timer set time is accepted and stored in the EEPROM 25. Note that the default value of the self-timer setting time is stored in the EEPROM 25, and the operation reception unit 51 updates the default value with the self-timer setting time input by the user. The operation accepting unit 51 switches the imaging mode to the self-timer imaging mode when the mode setting key of the operation unit 35 is pressed by the user. Here, when the imaging mode is switched to the self-cannabis imaging mode, the operation reception unit 51 outputs a signal indicating that the imaging mode is the self-timer imaging mode to the imaging control unit 53 and the displacement detection unit 57. Further, when the user half-presses the shutter button 35A of the operation unit 35, the operation reception unit 51 outputs a focus instruction to the imaging control unit 53, and when the user fully presses the shutter button 35A, instructs the user to perform imaging. The operation is accepted, and an imaging instruction is output to the imaging control unit 53 and the displacement detection unit 57.

撮像制御部53は、操作部35に含まれるシャッタボタン35Aが半押しされると、イメージセンサ19に所定の時間間隔で画像データを出力させ、取得される画像データのコントラストが高くなるようにレンズ駆動部15を制御して、レンズ群13のフォーカスレンズを調整する、いわゆるオートフォーカス機能によりフォーカスを合せる。なお、オートフォーカス機能の方式は、これに限定されることなく、他の方式を用いるようにしてもよい。   When the shutter button 35A included in the operation unit 35 is half-pressed, the imaging control unit 53 causes the image sensor 19 to output image data at a predetermined time interval, so that the contrast of the acquired image data is increased. The drive unit 15 is controlled to adjust the focus lens of the lens group 13 so as to adjust the focus by a so-called autofocus function. Note that the method of the autofocus function is not limited to this, and other methods may be used.

撮像制御部53は、ユーザがシャッタボタン35Aを全押しする前の段階、換言すれば、操作受付部51から撮像指示が入力される前の段階では、イメージセンサ19に所定時間間隔で画像データを出力させ、イメージセンサ19により出力される画像データを切出部55および変位検出部57に出力する。操作受付部51から撮像指示が入力される前の段階で、イメージセンサ19が所定時間間隔で出力する画像データの画像を、スルー画像という。   The imaging control unit 53 outputs image data to the image sensor 19 at predetermined time intervals before the user fully presses the shutter button 35A, in other words, before the imaging instruction is input from the operation receiving unit 51. The image data output by the image sensor 19 is output to the cutout unit 55 and the displacement detection unit 57. An image of the image data output by the image sensor 19 at a predetermined time interval before the imaging instruction is input from the operation receiving unit 51 is referred to as a through image.

切出部55は、撮像制御部53から入力される画像データの画像から予め定められたサイズの切取領域の画像を切り出す。切取領域のサイズは、撮像制御部53から入力される画像データの画像のサイズよりも小さい。また、切取領域の形状は画像データの画像と相似であることが好ましい。切出部55は、スルー画像の画像から画像を切り出す場合、スルー画像の中心部分に切出領域を配置し、その切出領域の画像を切り出す。切出部55は、スルー画像から切り出した切出領域の画像を画像表示制御部61に出力する。   The cutout unit 55 cuts out an image of a cutout area having a predetermined size from the image data image input from the imaging control unit 53. The size of the cutout area is smaller than the image size of the image data input from the imaging control unit 53. Further, the shape of the cutout region is preferably similar to the image of the image data. When cutting out an image from a through image, the cutout unit 55 arranges a cutout region at the center of the through image, and cuts out the image of the cutout region. The cutout unit 55 outputs the image of the cutout region cut out from the through image to the image display control unit 61.

画像表示制御部61は、切出部55から入力される切出領域の画像を、LCD23に表示する。画像表示制御部61が、切出部55によりスルー画像から切り出された切出領域の画像をLCD23に表示するので、ユーザは、撮像範囲を決定することができる。そして、ユーザは、デジタルスチルカメラ1を固定し、レンズ群13のズーム量を調整して、所望の撮像範囲の画像がLCD23に表示されるようになった後に、シャッタボタン35Aを押下すればよい。   The image display control unit 61 displays the image of the cutout area input from the cutout unit 55 on the LCD 23. Since the image display control unit 61 displays the image of the cut-out area cut out from the through image by the cut-out unit 55 on the LCD 23, the user can determine the imaging range. The user then presses the shutter button 35A after fixing the digital still camera 1, adjusting the zoom amount of the lens group 13, and displaying an image in a desired imaging range on the LCD 23. .

撮像制御部53は、操作受付部51から撮像指示が入力されると、レンズ駆動部15およびイメージセンサ19を制御して、イメージセンサ19に予め定められたシャッタ速度に対応する撮像時間だけ光電変換(露光)させ、イメージセンサ19が出力する画像データを取得する。具体的には、撮像制御部53は、操作受付部51から撮像指示が入力されると、撮像モードが通常モードに設定されているならば、フォーカスレンズを固定し、予め設定されたシャッタ速度に対応する撮像時間の間、レンズ群13に含まれるシャッタを開放することによってイメージセンサ19による光電変換を開始させる。そして、撮像制御部53は、撮像時間が経過するとシャッタを閉鎖し、イメージセンサ19が出力する画像データを取得し、取得した画像データ(撮像画像)を切出部55および変位検出部57に出力する。   When an imaging instruction is input from the operation receiving unit 51, the imaging control unit 53 controls the lens driving unit 15 and the image sensor 19 to perform photoelectric conversion for an imaging time corresponding to a shutter speed predetermined for the image sensor 19. (Exposure), and image data output by the image sensor 19 is acquired. Specifically, when an imaging instruction is input from the operation receiving unit 51, the imaging control unit 53 fixes the focus lens and sets the shutter speed to a preset shutter speed if the imaging mode is set to the normal mode. During the corresponding imaging time, the photoelectric conversion by the image sensor 19 is started by opening the shutter included in the lens group 13. Then, the imaging control unit 53 closes the shutter when the imaging time has elapsed, acquires the image data output by the image sensor 19, and outputs the acquired image data (captured image) to the cutout unit 55 and the displacement detection unit 57. To do.

一方、撮像制御部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 imaging control unit 53 fixes the focus lens when an imaging instruction is input from the operation receiving unit 51, and the EEPROM 25 after the imaging instruction is input. Until the self-timer set time stored in elapses. Then, when the self-timer set time has elapsed, the imaging control unit 53 starts photoelectric conversion by the image sensor 19 by opening the shutter included in the lens group 13 during the imaging time corresponding to the preset shutter speed. Let Then, the imaging control unit 53 closes the shutter when the imaging time has elapsed, acquires the image data output by the image sensor 19, and outputs the acquired image data (captured image) to the cutout unit 55 and the displacement detection unit 57. To do.

変位検出部57は、撮像モードがセルフタイマ撮像モードに設定されているならば、撮像指示が入力された時点で撮像制御部53から入力される画像データの画像(基準画像)と、撮像指示が入力されてからセルフタイマ設定時間が経過したときに撮像制御部53から入力される画像データの画像(参照画像)とから本体の変位を検出し、検出した本体の変位を、切出位置決定部59に出力する。   If the imaging mode is set to the self-timer imaging mode, the displacement detection unit 57 receives the image of the image data (reference image) input from the imaging control unit 53 when the imaging instruction is input, and the imaging instruction The displacement of the main body is detected from the image (reference image) of the image data input from the imaging control unit 53 when the self-timer set time has elapsed since the input, and the detected displacement of the main body is determined as the cut-out position determining unit. 59.

図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, displacement detection unit 57 includes a standard image acquisition unit 81, a feature region extraction unit 83, a reference image acquisition unit 85, a corresponding region extraction unit 87, and a vector calculation unit 89.

基準画像取得部81は、操作受付部51から撮像指示が入力された時点で、撮像制御部53から入力される画像データを基準画像として取得し、基準画像を特徴領域抽出部83に出力する。特徴領域抽出部83は、基準画像から特徴領域を抽出する。特徴領域は、ここでは、被写体を人にしているので、人の顔の画像を含む領域としている。特徴領域を、被写体によって異ならせるようにしてもよい。画像中から人の顔の画像を含む領域を抽出する技術は、周知なので、ここでは詳細な説明を繰り返さないが、例えば、人の肌の色の画素を含む領域、目、口などの特徴的な色の画素の配置等から抽出することができる。特徴領域抽出部83は、抽出された特徴領域の基準画像中の位置を、ベクトル算出部89に出力し、特徴領域の画像を対応領域抽出部87に出力する。特徴領域抽出部83は、複数の特徴領域を抽出する場合、複数の特徴領域それぞれの基準画像中の位置をベクトル算出部89に出力し、複数の特徴領域それぞれの画像を、対応領域抽出部87に出力する。特徴領域の基準画像中の位置は、ここでは、特徴領域の重心の座標としている。   The reference image acquisition unit 81 acquires the image data input from the imaging control unit 53 as a reference image when the imaging instruction is input from the operation reception unit 51, and outputs the reference image to the feature region extraction unit 83. The feature region extraction unit 83 extracts a feature region from the reference image. Here, since the subject is a person, the feature area is an area including an image of a person's face. The feature area may be varied depending on the subject. Since the technique for extracting an area including an image of a human face from an image is well known, detailed description thereof will not be repeated here, but, for example, characteristic areas such as an area including pixels of human skin color, eyes, and mouth It can be extracted from the arrangement of pixels of various colors. The feature region extraction unit 83 outputs the position of the extracted feature region in the reference image to the vector calculation unit 89, and outputs the feature region image to the corresponding region extraction unit 87. When extracting a plurality of feature areas, the feature area extraction unit 83 outputs the positions in the reference image of each of the plurality of feature areas to the vector calculation unit 89, and converts the images of the plurality of feature areas into the corresponding region extraction unit 87. Output to. Here, the position of the feature region in the reference image is the coordinate of the center of gravity of the feature region.

参照画像取得部85は、操作受付部51から撮像指示が入力されてからセルフタイマ設定時間が経過したときに、撮像制御部53から入力される画像データ(撮像画像)を参照画像として取得し、参照画像を対応領域抽出部87に出力する。対応領域抽出部87は、特徴領域抽出部83から入力される特徴領域に対応する対応領域を参照画像から抽出する。対応領域は、参照画像の一部であって、特徴領域の画像に類似する画像を含む領域である。例えば、対応領域抽出部87は、特徴領域の画像で、参照画像を走査して、差分が最小となる参照画像中の領域を対応領域とする。   The reference image acquisition unit 85 acquires, as a reference image, image data (captured image) input from the imaging control unit 53 when the self-timer set time has elapsed after the imaging instruction is input from the operation receiving unit 51. The reference image is output to the corresponding area extraction unit 87. The corresponding area extracting unit 87 extracts a corresponding area corresponding to the feature area input from the feature area extracting unit 83 from the reference image. The corresponding area is a part of the reference image and includes an image similar to the image of the feature area. For example, the corresponding area extraction unit 87 scans the reference image with the image of the characteristic area, and sets the area in the reference image that minimizes the difference as the corresponding area.

対応領域抽出部87は、抽出された対応領域の参照画像中の位置を、ベクトル算出部89に出力する。対応領域の参照画像中の位置は、ここでは、対応領域の重心の座標としている。なお、特徴領域抽出部83から複数の特徴領域の画像が入力される場合、複数の特徴領域それぞれに対応する対応領域を抽出し、抽出される複数の対応領域の参照画像中の位置を、ベクトル算出部89に出力する。この際、ベクトル算出部89において、複数の特徴領域のいずれに対応する対応領域の位置かを判別することができるように、対応領域の位置とそれに対応する特徴領域を識別するための情報との組を、ベクトル算出部89に出力する。   The corresponding area extraction unit 87 outputs the position of the extracted corresponding area in the reference image to the vector calculation unit 89. Here, the position of the corresponding area in the reference image is the coordinate of the center of gravity of the corresponding area. When images of a plurality of feature regions are input from the feature region extraction unit 83, corresponding regions corresponding to the plurality of feature regions are extracted, and the positions of the extracted corresponding regions in the reference image are expressed as vectors. It outputs to the calculation part 89. At this time, the position of the corresponding region and information for identifying the corresponding feature region are determined so that the vector calculation unit 89 can determine which of the plurality of feature regions corresponds to the corresponding region. The set is output to the vector calculation unit 89.

ベクトル算出部89は、特徴領域抽出部83から特徴領域の位置が入力され、対応領域抽出部87から対応領域の位置が入力される。ベクトル算出部89は、特徴領域の位置から対応領域の位置に向かうベクトルを算出し、算出されたベクトルを本体の変位を示す本体変位ベクトルとして切出位置決定部59に出力する。ベクトル算出部89により算出される本体変位ベクトルは、画像中における顔の領域の移動を示す。画像中における顔の領域が移動するのは、デジタルスチルカメラ1の本体が被写体に対して移動することによるものなので、本体の変位が画像に表れたものといえる。   The vector calculation unit 89 receives the position of the feature region from the feature region extraction unit 83 and the position of the corresponding region from the corresponding region extraction unit 87. The vector calculation unit 89 calculates a vector from the feature region position to the corresponding region position, and outputs the calculated vector to the cut-out position determination unit 59 as a body displacement vector indicating the body displacement. The body displacement vector calculated by the vector calculation unit 89 indicates the movement of the face area in the image. The movement of the face area in the image is due to the movement of the main body of the digital still camera 1 relative to the subject, so it can be said that the displacement of the main body appears in the image.

特徴領域抽出部83から複数の特徴領域の位置が入力される場合、対応領域抽出部87から入力される複数の対応領域の位置のうちいずれか1つと、それに対応する特徴領域の位置とで、ベクトルを算出する。1組の特徴領域の位置と対応領域の位置とで1つのベクトルを本体変位ベクトルとして算出すれば十分だからである。   When the positions of a plurality of feature regions are input from the feature region extraction unit 83, any one of the positions of the plurality of corresponding regions input from the corresponding region extraction unit 87 and the position of the feature region corresponding thereto Calculate the vector. This is because it is sufficient to calculate one vector as a main body displacement vector for the position of one set of feature areas and the position of corresponding areas.

図2に戻って、切出位置決定部59は、変位検出部57から入力される本体変位ベクトルに平行に、切出領域を画像の中心から平行移動させた後の位置を、新たな切出領域に決定する。そして、決定した切出領域の位置を切出部55に出力する。   Returning to FIG. 2, the cut-out position determination unit 59 sets a new cut-out position after the cut-out area is translated from the center of the image in parallel with the main body displacement vector input from the displacement detection unit 57. Decide on an area. Then, the determined position of the cutout region is output to the cutout unit 55.

切出部55には、撮像制御部53から画像データが入力されるが、ユーザがシャッタボタン35Aを押下してからセルフタイマ設定時間が経過したときに入力される画像データを撮像画像という。切出部55は、撮像制御部53から入力される撮像画像から切出位置決定部59から入力される位置に切出領域を配置し、撮像画像中の切出領域の画像を切り出す。切出部55は、切り出した切出領域の画像を画像表示制御部61に出力する。   Image data is input to the clipping unit 55 from the imaging control unit 53. Image data that is input when the self-timer set time has elapsed since the user pressed the shutter button 35A is referred to as a captured image. The cutout unit 55 arranges a cutout region at a position input from the cutout position determination unit 59 from the picked-up image input from the image pickup control unit 53, and cuts out an image of the cutout region in the picked-up image. The cutout unit 55 outputs the cutout image of the cutout region to the image display control unit 61.

画像表示制御部61は、切出部55から入力される切出領域の画像を、LCD23に表示する。画像表示制御部61が、切出部55により撮像画像から切り出された切出領域の画像をLCD23に表示するので、ユーザは、撮像された画像の撮像範囲を確認することができる。そして、ユーザは、LCD23に表示された画像の保存を希望する場合は、操作部35が有し、保存を指示する操作が予め割り当てられたキーを押下すればよい。制御部11は、保存を指示する操作が入力されると、LCD23に表示された切出領域の画像を、EEPROM25に格納する。   The image display control unit 61 displays the image of the cutout area input from the cutout unit 55 on the LCD 23. Since the image display control unit 61 displays the image of the cutout region cut out from the captured image by the cutout unit 55 on the LCD 23, the user can check the imaging range of the captured image. When the user wishes to save the image displayed on the LCD 23, the user may press the key that the operation unit 35 has and has been assigned with an operation instructing the saving in advance. When an operation for instructing saving is input, the control unit 11 stores an image of the cutout area displayed on the LCD 23 in the EEPROM 25.

図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 image 101 includes feature regions 105 and 106 obtained by imaging a human face. The center of gravity of the feature region 105 is indicated by a point 105A. The cutout area 103 is located at the center of the through image 101. In FIG. 4, the cut-out area 103 is indicated by a solid line for the sake of explanation, but there is no solid line indicating the cut-out area 103 in the through image 101. The cutout area 103 is smaller in size than the through image 101. An image of the cutout area 103 in the through image 101 is displayed on the LCD 23.

図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 image 111 includes corresponding regions 115 and 116 in which a human face is captured. The corresponding area 115 is an area corresponding to the feature area 105 shown in FIG. 4 and the center of gravity is indicated by a point 105B. Here, referring to FIG. 6, a vector 117 directed from the center of gravity 105 </ b> A of the feature region 105 to the center of gravity 105 </ b> B of the corresponding region 115 indicates the displacement of the main body.

図4および図5を参照して、切出領域103のスルー画像101中の位置は、スルー画像101の中心であるが、切出領域113の撮像画像111中の位置は、中心からベクトルに117に平行に移動した位置である。なお、本実施の形態においては、スルー画像と撮像画像とを解像度が同じ画像としているが、解像度が異なる場合には、いずれか一方の解像度に他方の解像度を合わせるようにすればよい。   4 and 5, the position of the cutout region 103 in the through image 101 is the center of the through image 101, but the position of the cutout region 113 in the captured image 111 is 117 from the center to the vector. It is the position which moved parallel to. In the present embodiment, the through image and the captured image are images having the same resolution. However, if the resolutions are different, the resolution of the other may be adjusted to one of the resolutions.

図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 control unit 11 when the control unit 11 executes an imaging program stored in the EEPROM 25. Referring to FIG. 7, control unit 11 determines whether or not the imaging mode is set to the self-timer imaging mode (step S01). The process waits until the imaging mode is set to the self-timer imaging mode. If the imaging mode is set to the self-timer imaging mode, the process proceeds to step S02. In other words, the self-timer imaging control process is a process executed on condition that the imaging mode is set to the self-timer imaging mode.

ステップS02においては、イメージセンサ19が出力する画像データをスルー画像として取得する。そして、取得されたスルー画像から切出領域を抽出し(ステップS03)、切り出しされた切出領域の画像をLCD23に表示する(ステップS04)。切出領域のサイズは予め定められたサイズであり、切出領域の位置は、スルー画像中の中心である。換言すれば、切出領域の中心と、スルー画像の中心とが重なる。   In step S02, the image data output from the image sensor 19 is acquired as a through image. Then, a cutout area is extracted from the acquired through image (step S03), and the cutout area image is displayed on the LCD 23 (step S04). The size of the cutout area is a predetermined size, and the position of the cutout area is the center in the through image. In other words, the center of the cutout area and the center of the through image overlap.

ステップS05においては、シャッタボタン35Aが押下されたか否かを判断する。シャッタボタン35Aが押下されたならば処理をステップS06に進めるが、そうでなければ処理をステップS02に戻す。シャッタボタン35Aが押下されるまでスルー画像から切り出された切出領域の画像がLCD23に表示される。このため、ユーザは、LCD23に表示された画像を見て、撮像範囲を定めることができる。   In step S05, it is determined whether shutter button 35A has been pressed. If shutter button 35A is pressed, the process proceeds to step S06. If not, the process returns to step S02. The image of the cut-out area cut out from the through image is displayed on the LCD 23 until the shutter button 35A is pressed. For this reason, the user can determine the imaging range by looking at the image displayed on the LCD 23.

ステップ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 SDRAM 27 as a reference image. In the next step S07, the cutting position is set as the reference position. The cut-out position is a position in the through image of the cut-out area cut out from the through image in step S03, and here, the reference position is the center of the through image.

次のステップ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 lens group 13 is closed and the image sensor 19 is initialized, the shutter of the lens group 13 is opened for a time corresponding to the shutter speed set in the imaging condition, and the image sensor 19 is subjected to photoelectric conversion. Let Thereafter, the image data output by the image sensor 19 is acquired as a captured image (step S10).

次のステップ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 LCD 23.

ステップ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 EEPROM 25, and the process proceeds to step S20. In step S20, it is determined whether an operation for instructing termination by the user has been accepted. If an operation for instructing termination is accepted, the process is terminated; otherwise, the process returns to step S18.

以上説明したように第1の実施の形態におけるデジタルスチルカメラ1は、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過するまでの本体の変位を検出し、撮像を指示する操作が受け付けられたときに基準画像から切り出された領域中の位置と検出された変位とに基づいて、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過したときの撮像画像のうちから領域を切り出す位置が決定される。このため、撮像を指示する操作が受け付けられた時点の撮像範囲と、セルフタイマ設定時間が経過した時点の撮像範囲とが異なる場合であっても、それぞれの画像から切り出される画像を同じ撮像範囲を撮像した画像とすることができる。   As described above, the digital still camera 1 according to the first embodiment detects the displacement of the main body until the self-timer set time elapses after the operation for instructing imaging is accepted, and the operation for instructing imaging. Based on the position in the region cut out from the reference image when received and the detected displacement, the region from the captured image when the self-timer set time has elapsed since the operation for instructing imaging was received The position to cut out is determined. 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.

また、変位検出部57は、撮像を指示する操作が受け付けられることに応じてイメージセンサ19が出力する画像を基準画像として取得し、基準画像中から特徴領域を抽出し、撮像を指示する操作が受け付けられてからセルフタイマ設定時間が経過した時に撮像手段が出力する画像から抽出された特徴領域に対応する対応領域を抽出し、特徴領域から対応領域に向かうベクトルに基づいて変位を決定する。このため、イメージセンサ19が出力する画像を用いて撮像範囲の変化量を検出するので、簡単な構成で変位を検出することができる。   In addition, the displacement detection unit 57 acquires an image output from the image sensor 19 as a reference image in response to an operation for instructing imaging, extracts a feature region from the reference image, and performs an operation for instructing imaging. 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 acceptance is extracted, and the displacement is determined based on a vector from the feature area toward the corresponding area. For this reason, since the change amount of the imaging range is detected using the image output from the image sensor 19, the displacement can be detected with a simple configuration.

<第2の実施の形態>
第2の実施の形態におけるデジタルカメラ1は、第1の実施の形態における変位検出部57を変更して変位検出部57Aとしたものである。その他の構成は、上述した第1の実施の形態におけるデジタルカメラ1と同じなので、ここでは説明を繰り返さず、異なる部分を主に説明する。
<Second Embodiment>
The digital camera 1 according to the second embodiment is obtained by changing the displacement detector 57 according to the first embodiment to a displacement detector 57A. Since other configurations are the same as those of the digital camera 1 in the first embodiment described above, the description will not be repeated here, and different portions will be mainly described.

図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, displacement detection unit 57 </ b> A includes a motion vector calculation unit 91 and a movement vector calculation unit 93. The motion vector calculation unit 91 calculates a motion vector from a plurality of image data output by the image sensor 19 at predetermined time intervals. The motion vector calculation unit 91 outputs the calculated motion vector to the movement vector calculation unit 93. Since a method for calculating a motion vector from two consecutive images is well known, description thereof will not be repeated here. The motion vector calculated by the motion vector calculation unit 91 is a motion vector indicating the motion of the entire image. Accordingly, only the subject may move in the imaging range, but the motion vector detected by the subject moving is excluded. Specifically, the motion vector calculation unit 91 calculates a motion vector in a plurality of regions in the image, and outputs the motion vector having the largest number of approximate motion vectors to the movement vector calculation unit 93. The movement vector calculation unit 93 calculates a movement vector by integrating the input motion vectors. The movement vector calculation unit 93 outputs the calculated movement vector to the cutout position determination unit 59 as the displacement of the main body.

図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 image sensor 19 is acquired as a through image. Then, a motion vector is calculated from the acquired through image. The through image acquired in step S21, and in step S02 or when step S21 is executed in the previous loop, the through image acquired in step S21 and acquired in step S21 executed in the current loop. A motion vector is calculated from the obtained through image. In the next step S23, the movement vector is calculated by integrating the motion vectors calculated in step S22. The processes in steps S21 to S23 are repeatedly executed every time a through image frame is acquired from the time when the operation of pressing the shutter button 35A is detected until the self-timer set time elapses. Therefore, the calculated movement vector is the amount of movement of the optical image formed on the image plane of the image sensor 19 between the detection of the operation of pressing the shutter button 35A and the elapse of the self-timer setting time. Indicates the direction of movement.

ステップ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 displacement detector 57 in the first embodiment described above detects the displacement of the main body by comparing the two images and calculating the main body displacement vector indicating the moving amount and moving direction of the feature region in the image. On the other hand, the displacement detector 57A in the second embodiment detects the displacement of the main body by integrating the motion vectors extracted from a plurality of frames included in the through image. For this reason, an existing program can be used.

<第3の実施の形態>
第3の実施の形態におけるデジタルスチルカメラ1Aは、第1の実施の形態におけるデジタルスチルカメラ1にジャイロセンサを追加したものである。
<Third Embodiment>
A digital still camera 1A according to the third embodiment is obtained by adding a gyro sensor to the digital still camera 1 according to the first embodiment.

図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 gyro sensor 33 is added. Since other configurations are the same as those of the digital still camera 1 in the first embodiment shown in FIG. 1, the description thereof will not be repeated here.

ジャイロセンサ33は、デジタルスチルカメラ1Aの本体が回転する際の角速度を検出する。ここでは、水平方向をX軸、垂直方向をY軸、レンズの光軸をZ軸とすると、ジャイロセンサ33は、Y軸を中心とする回転方向(ヨー方向)の角速度と、X軸を中心とする回転方向(ピッチ方向)の角速度を検出し、ヨー方向およびピッチ方向それぞれの角速度を制御部11に出力する。   The gyro sensor 33 detects an angular velocity when the main body of the digital still camera 1A rotates. Here, assuming that the horizontal direction is the X axis, the vertical direction is the Y axis, and the optical axis of the lens is the Z axis, the gyro sensor 33 is centered on the angular velocity in the rotational direction (yaw direction) centered on the Y axis and the X axis. Are detected, and the angular velocities in the yaw direction and the pitch direction are output to the control unit 11.

第3の実施の形態におけるデジタルスチルカメラ1Aが備える制御部11は、図2に示したブロック図と変位検出部57を除き同様の機能を有する。第3の実施の形態における変位検出部57は、ジャイロセンサ33の出力が入力され、ジャイロセンサ33から入力されるヨー方向の角速度からX軸方向の本体の移動量を算出し、ピッチ方向の角速度からY軸方向の本体の移動量を算出する。変位検出部57は、X軸方向の本体の移動量と、Y軸方向の本体の移動量を積算し、X方向振れ量の積算値およびX方向振れ量の積算値を要素とする本体変位ベクトルを算出する。さらに、変位検出部57は、本体の振れ量をイメージセンサ19の結像面に結像する光学画像の移動量に換算することにより、本体変位ベクトルを移動ベクトルに変換する。変位検出部57は、本体変位ベクトルを移動ベクトルに変換する際に、レンズ群13のズーム量に対して予め定められた係数を用いる。   The control unit 11 included in the digital still camera 1 </ b> A according to the third embodiment has the same functions except for the block diagram and the displacement detection unit 57 shown in FIG. 2. The displacement detector 57 in the third embodiment receives the output of the gyro sensor 33, calculates the amount of movement of the main body in the X-axis direction from the angular velocity in the yaw direction input from the gyro sensor 33, and the angular velocity in the pitch direction. To calculate the amount of movement of the main body in the Y-axis direction. The displacement detection unit 57 integrates the movement amount of the main body in the X-axis direction and the movement amount of the main body in the Y-axis direction, and the main body displacement vector having the integrated value of the X-direction shake amount and the integrated value of the X-direction shake amount as elements. Is calculated. Further, the displacement detection unit 57 converts the main body displacement vector into a movement vector by converting the shake amount of the main body into the movement amount of the optical image formed on the imaging surface of the image sensor 19. The displacement detector 57 uses a predetermined coefficient for the zoom amount of the lens group 13 when converting the main body displacement vector into a movement vector.

なお、第3の実施の形態における変位検出部57は、撮像制御部53から画像データ(スルー画像)が入力される必要はない。   Note that the displacement detection unit 57 in the third embodiment does not need to receive image data (through image) from the imaging control unit 53.

図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 gyro sensor 33. The shake amount of the main body in the X-axis direction is calculated from the angular velocity in the yaw direction input from the gyro sensor 33, and the shake amount of the main body in the Y-axis direction is calculated from the angular velocity in the pitch direction. In the next step S32, the main body displacement vector is calculated by integrating the main body shake amounts in the X-axis direction and the Y-direction, and the main body displacement vector is converted into a movement vector.

ステップ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 shutter button 35A is detected. Therefore, the calculated movement vector is the amount of movement of the optical image formed on the image plane of the image sensor 19 between the detection of the operation of pressing the shutter button 35A and the elapse of the self-timer set time. Indicates the direction of movement.

ステップ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 still camera 1A according to the third embodiment calculates the displacement of the main body after an operation instructing imaging is accepted based on the shake detected by the gyro sensor 33 that detects the shake of the main body. Can be accurately detected.

<第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 still camera 1 </ b> C in the fourth embodiment and the digital still camera 1 in the first embodiment will be described.

図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 control unit 11 is changed to control unit 11A, and camera shake correction unit 17 is added. Since other configurations are the same as those of the digital still camera 1 in the first embodiment shown in FIG. 1, the description thereof will not be repeated here.

手振れ補正ユニット17は、イメージセンサ19を移動させ、イメージセンサ19のレンズ群13の光軸の位置を移動させる。このため、手振れ補正ユニット17は、イメージセンサ19の結像面に平行で互いに交わる2方向にイメージセンサ19を移動させるために、2方向それぞれに対応する駆動部を含む。ここでは、2方向を、互いに直角に交わる水平方向(X軸方向)と垂直方向(Y軸方向)としている。イメージセンサ19の結像面は、レンズ群13の光軸に垂直な面である。手振れ補正ユニット17によって、イメージセンサ19の結像面に平行で互いに交わる2方向にイメージセンサ19が移動するので、イメージセンサ19の結像面は、レンズ群13の光軸に垂直な状態が維持される。   The camera shake correction unit 17 moves the image sensor 19 and moves the position of the optical axis of the lens group 13 of the image sensor 19. For this reason, the camera shake correction unit 17 includes driving units corresponding to the two directions in order to move the image sensor 19 in two directions that are parallel to the image forming plane of the image sensor 19 and intersect each other. Here, the two directions are a horizontal direction (X-axis direction) and a vertical direction (Y-axis direction) that intersect at right angles to each other. The imaging surface of the image sensor 19 is a surface perpendicular to the optical axis of the lens group 13. Since the image sensor 19 is moved in two directions that are parallel to and intersect with each other by the camera shake correction unit 17, the image formation surface of the image sensor 19 is maintained in a state perpendicular to the optical axis of the lens group 13. Is done.

手振れ補正ユニット17は、操作部35に含まれるシャッタボタン35Aが全押しされる前の段階で、イメージセンサ19を初期位置に移動させる。イメージセンサ19の初期位置は、イメージセンサ19が垂直および水平の2方向それぞれにおいて移動可能な範囲の中心である。イメージセンサ19が初期位置に位置するとき、レンズ群13の光軸がイメージセンサ19の中心となる。なお、初期位置は、任意に定めることができる。   The camera shake correction unit 17 moves the image sensor 19 to the initial position before the shutter button 35A included in the operation unit 35 is fully pressed. The initial position of the image sensor 19 is the center of the range in which the image sensor 19 can move in each of two vertical and horizontal directions. When the image sensor 19 is located at the initial position, the optical axis of the lens group 13 is the center of the image sensor 19. The initial position can be arbitrarily determined.

手振れ補正ユニット17は、操作部35に含まれるシャッタボタン35Aが全押しされると、イメージセンサ19に結像する光学画像が、デジタルスチルカメラ1本体が移動しても同じ位置に結像するように、イメージセンサ19を移動させる。換言すれば、イメージセンサ19が光電変換している間にイメージセンサ19の結像面に結像する光学画像が、シャッタボタン35Aが全押しされてイメージセンサ19が光電変換を開始したときに結像面に結像する光学画像と同じになるようにイメージセンサ19を移動させる。具体的には、ジャイロセンサ33により検出されるヨー方向およびピッチ方向の角速度に基づいて、イメージセンサ19の結像面に平行な方向および補正量を決定し、イメージセンサ19を移動させる。手振れ補正ユニット17は、水平方向(X軸方向)と垂直方向(Y軸方向)それぞれの補正量を制御部11に出力する。   When the shutter button 35A included in the operation unit 35 is fully pressed, the camera shake correction unit 17 forms an optical image formed on the image sensor 19 at the same position even when the main body of the digital still camera 1 moves. Then, the image sensor 19 is moved. In other words, an optical image formed on the imaging surface of the image sensor 19 while the image sensor 19 performs photoelectric conversion is connected when the shutter button 35A is fully pressed and the image sensor 19 starts photoelectric conversion. The image sensor 19 is moved so as to be the same as the optical image formed on the image plane. Specifically, based on the angular velocities in the yaw direction and the pitch direction detected by the gyro sensor 33, the direction parallel to the image plane of the image sensor 19 and the correction amount are determined, and the image sensor 19 is moved. The camera shake correction unit 17 outputs correction amounts in the horizontal direction (X-axis direction) and the vertical direction (Y-axis direction) to the control unit 11.

さらに、手振れ補正ユニット17が、イメージセンサ19を移動させるのに代えて、またはこれに加えて、レンズ群13を移動させるようにしてもよいし、レンズ群13とイメージセンサ19との間の光路に設けられるミラーを移動させるようにしてもよい。   Further, the camera shake correction unit 17 may move the lens group 13 instead of or in addition to moving the image sensor 19, or the optical path between the lens group 13 and the image sensor 19. You may make it move the mirror provided in this.

図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 control unit 11A included in the digital still camera 1C according to the fourth embodiment includes an operation reception unit 51, an imaging control unit 53, a displacement detection unit 57A, an image display control unit 61, and a position determination unit 71. Including.

撮像制御部53は、操作受付部51から撮像指示が入力される前の段階では、イメージセンサ19に所定時間間隔で画像データを出力させ、イメージセンサ19により出力される画像データ(スルー画像)を画像表示制御部61に出力する。   The imaging control unit 53 causes the image sensor 19 to output image data at a predetermined time interval before the imaging instruction is input from the operation receiving unit 51, and the image data (through image) output by the image sensor 19 is output. The image is output to the image display control unit 61.

撮像制御部53は、操作受付部51から撮像指示が入力されると、レンズ駆動部15およびイメージセンサ19を制御して、イメージセンサ19に予め定められたシャッタ速度に対応する撮像時間だけ光電変換(露光)させ、イメージセンサ19が出力する画像データを取得する。そして、撮像制御部53は、撮像時間が経過するとシャッタを閉鎖し、イメージセンサ19が出力する画像データを取得し、取得した画像データ(撮像画像)を画像表示制御部61および変位検出部57に出力する。   When an imaging instruction is input from the operation receiving unit 51, the imaging control unit 53 controls the lens driving unit 15 and the image sensor 19 to perform photoelectric conversion for an imaging time corresponding to a shutter speed predetermined for the image sensor 19. (Exposure), and image data output by the image sensor 19 is acquired. Then, the imaging control unit 53 closes the shutter when the imaging time has elapsed, acquires the image data output by the image sensor 19, and sends the acquired image data (captured image) to the image display control unit 61 and the displacement detection unit 57. Output.

一方、撮像制御部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 imaging control unit 53 fixes the focus lens when an imaging instruction is input from the operation receiving unit 51, and the EEPROM 25 after the imaging instruction is input. Until the self-timer set time stored in elapses. During this time, the through image is output to the image display control unit 61. Then, when the self-timer set time has elapsed, the imaging control unit 53 starts photoelectric conversion by the image sensor 19 by opening the shutter included in the lens group 13 during the imaging time corresponding to the preset shutter speed. Let Then, the imaging control unit 53 closes the shutter when the imaging time has elapsed, acquires the image data output by the image sensor 19, and sends the acquired image data (captured image) to the image display control unit 61 and the displacement detection unit 57. Output. The image display control unit 61 displays the through image or the captured image input from the imaging control unit 53 on the LCD 23.

変位検出部57Aは、撮像モードがセルフタイマ撮像モードに設定されているならば、撮像指示が入力された時点で撮像制御部53から入力される画像データの画像(基準画像)と、撮像指示が入力されてからセルフタイマ設定時間が経過する前に撮像制御部53から入力される画像データの画像(参照画像)とから本体の変位を検出し、検出した本体の変位を、切出位置決定部59に出力する。参照画像は、撮像指示が入力されてからセルフタイマ設定時間が経過する直前に撮像制御部53から入力される画像データの画像である。具体的には、撮像指示が入力されてからセルフタイマ設定時間が経過する前であって、イメージセンサ19が出力する最後の画像データである。   When the imaging mode is set to the self-timer imaging mode, the displacement detection unit 57A receives an image (reference image) of image data input from the imaging control unit 53 at the time when the imaging instruction is input, and the imaging instruction The displacement of the main body is detected from the image (reference image) of the image data input from the imaging control unit 53 before the self-timer set time elapses from the input, and the detected displacement of the main body is determined as the cut-out position determination unit. 59. The reference image is an image data image input from the imaging control unit 53 immediately before the self-timer set time elapses after the imaging instruction is input. Specifically, it is the last image data output from the image sensor 19 before the self-timer set time elapses after the imaging instruction is input.

変位検出部57Aは、図3のブロック図で示される機能と同様の機能を有するが、参照画像取得部85は、撮像指示が入力されてからセルフタイマ設定時間が経過する直前にイメージセンサ19が出力する画像(スルー画像)を参照画像として取得する点で、撮像指示が入力されてからセルフタイマ設定時間が経過したときにイメージセンサ19が出力する画像(撮像画像)を参照画像として取得する第1の実施の形態における変位検出部57と異なる。その他の機能は、図3に示したのと同様なのでここでは説明を繰り返さない。   The displacement detection unit 57A has a function similar to the function shown in the block diagram of FIG. 3, but the reference image acquisition unit 85 has the image sensor 19 immediately before the self-timer set time elapses after the imaging instruction is input. An image to be output (through image) is acquired as a reference image. In this case, an image (captured image) output by the image sensor 19 when the self-timer set time has elapsed after the imaging instruction is input is acquired as a reference image. This is different from the displacement detector 57 in the first embodiment. Since other functions are the same as those shown in FIG. 3, the description thereof will not be repeated here.

位置決定部71は、シャッタボタン35Aが押下されたときのイメージセンサ19に対するレンズ群13の光軸の位置を、手振れ補正ユニットから取得しておき、変位検出部57Aから入力される本体変位ベクトルに基づいて、シャッタボタン35Aが押下する操作が検出されてからセルフタイマ設定時間が経過したときのイメージセンサ19に対するレンズ群13の光軸の位置を決定する。ここでは、シャッタボタン35Aが押下されたときのイメージセンサ19に対するレンズ群13の光軸の位置を初期位置としているので、初期位置を本体変位ベクトルの始点としたときの本体変位ベクトルの終点を、イメージセンサ19に対するレンズ群13の光軸の位置に決定する。位置決定部71は、変位検出部57Aから入力される本体変位ベクトルだけイメージセンサ19を移動させる指示を、手振れ補正ユニット17に出力する。これにより、手振れ補正ユニット17は、本体変位ベクトルの分だけイメージセンサ19を移動させるので、イメージセンサ19に対するレンズ群13の光軸の位置が決定された位置となる。   The position determination unit 71 acquires the position of the optical axis of the lens group 13 with respect to the image sensor 19 when the shutter button 35A is pressed from the camera shake correction unit, and uses it as the main body displacement vector input from the displacement detection unit 57A. Based on this, the position of the optical axis of the lens group 13 with respect to the image sensor 19 when the self-timer set time has elapsed since the operation of pressing the shutter button 35A was detected is determined. Here, since the position of the optical axis of the lens group 13 with respect to the image sensor 19 when the shutter button 35A is pressed is the initial position, the end point of the main body displacement vector when the initial position is the start point of the main body displacement vector is The position of the optical axis of the lens group 13 with respect to the image sensor 19 is determined. The position determination unit 71 outputs to the camera shake correction unit 17 an instruction to move the image sensor 19 by the main body displacement vector input from the displacement detection unit 57A. Accordingly, the camera shake correction unit 17 moves the image sensor 19 by the amount of the main body displacement vector, so that the position of the optical axis of the lens group 13 with respect to the image sensor 19 is determined.

なお、シャッタボタン35Aが押下されたときのイメージセンサ19に対するレンズ群13の光軸の位置が初期位置でない場合には、変位検出部57Aから入力されるベクトルの始点をシャッタボタン35Aが押下されたときのイメージセンサ19に対するレンズ群13の光軸の位置としたときの終点の位置を、イメージセンサ19に対するレンズ群13の光軸の位置に決定し、決定された位置にレンズ群13の光軸を移動させるベクトルを算出し、手振れ補正ユニット17に出力する。   When the position of the optical axis of the lens group 13 with respect to the image sensor 19 when the shutter button 35A is pressed is not the initial position, the shutter button 35A is pressed at the start point of the vector input from the displacement detector 57A. The position of the end point when the position of the optical axis of the lens group 13 with respect to the image sensor 19 is determined as the position of the optical axis of the lens group 13 with respect to the image sensor 19, and the optical axis of the lens group 13 is determined at the determined position. Is calculated and output to the camera shake correction unit 17.

図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 control unit 11A when the control unit 11A executes an imaging program stored in the EEPROM 25. Referring to FIG. 14, control unit 11A determines whether or not the imaging mode is set to the self-timer imaging mode (step S51). The process waits until the imaging mode is set to the self-timer imaging mode. If the imaging mode is set to the self-timer imaging mode, the process proceeds to step S52.

ステップS52においては、イメージセンサ19が出力する画像データをスルー画像として取得する。そして、取得されたスルー画像をLCD23に表示する(ステップS53)。ステップS54においては、シャッタボタン35Aが押下されたか否かを判断する。シャッタボタン35Aが押下されたならば処理をステップS55に進めるが、そうでなければ処理をステップS52に戻す。シャッタボタン35Aが押下されるまで、スルー画像がLCD23に表示される。このため、ユーザは、LCD23に表示された画像を見て、撮像範囲を定めることができる。   In step S52, the image data output from the image sensor 19 is acquired as a through image. Then, the obtained through image is displayed on the LCD 23 (step S53). In step S54, it is determined whether or not the shutter button 35A has been pressed. If shutter button 35A is pressed, the process proceeds to step S55; otherwise, the process returns to step S52. The through image is displayed on the LCD 23 until the shutter button 35A is pressed. For this reason, the user can determine the imaging range by looking at the image displayed on the LCD 23.

ステップS55においては、イメージセンサ19に対するレンズ群13の光軸の位置を基準光軸位置に設定する。この段階におけるイメージセンサ19に対するレンズ群13の光軸の位置を、初期位置としているので、初期位置を基準光軸位置に設定する。   In step S55, the position of the optical axis of the lens group 13 with respect to the image sensor 19 is set as the reference optical axis position. Since the position of the optical axis of the lens group 13 with respect to the image sensor 19 at this stage is the initial position, the initial position is set to the reference optical axis position.

ステップS56においては、イメージセンサ19が出力する画像データをスルー画像として取得する。そして、取得されたスルー画像を基準画像に設定する(ステップS57)。基準画像は、シャッタボタン35Aが押下された時点にイメージセンサ19が出力するスルー画像である。   In step S56, the image data output from the image sensor 19 is acquired as a through image. Then, the obtained through image is set as a reference image (step S57). The reference image is a through image output by the image sensor 19 when the shutter button 35A is pressed.

ステップS58においては、イメージセンサ19が出力する画像データをスルー画像として取得する。そして、取得されたスルー画像を参照画像に設定する(ステップS59)。ステップS60においては、セルフタイマ設定時間が経過したか否かを判断する、ステップS54においてシャッタボタンが押下する操作が検出されてから経過する時間が、セルフタイマ設定時間と等しければステップS61に進めるが、そうでなければ処理をステップS58に戻す。すなわち、シャッタボタンが押下する操作が検出されてからセルフタイマ設定時間が経過するまで、取得されるスルー画像が参照画像に設定される。換言すれば、参照画像は、シャッタボタンを押下する操作が検出されてからセルフタイマ設定時間が経過する直前に取得されたスルー画像である。   In step S58, the image data output from the image sensor 19 is acquired as a through image. Then, the obtained through image is set as a reference image (step S59). In step S60, it is determined whether the self-timer set time has elapsed. If the time elapsed since the operation of pressing the shutter button in step S54 is detected is equal to the self-timer set time, the process proceeds to step S61. Otherwise, the process returns to step S58. That is, the acquired through image is set as the reference image until the self-timer setting time elapses after the operation of pressing the shutter button is detected. In other words, the reference image is a through image acquired immediately before the self-timer set time has elapsed since the operation of pressing the shutter button was detected.

ステップ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 lens group 13 with respect to the image sensor 19 is determined from the optical axis position set as the reference optical axis position in step S55 and the main body displacement vector calculated in step S63. Here, since the optical axis position set as the reference optical axis position in step S55 is the initial position, the end point of the main body displacement vector when the initial position is the start point of the main body displacement vector is used as the lens group for the image sensor 19. The position of 13 optical axes is determined.

次のステップS65においては、光軸位置を変更する。具体的には、本体変位ベクトルだけイメージセンサ19を移動させる指示を、手振れ補正ユニット17に出力する。これにより、手振れ補正ユニット17は、本体変位ベクトルの分だけイメージセンサ19を移動させるので、イメージセンサ19に対するレンズ群13の光軸の位置が決定された位置となる。   In the next step S65, the optical axis position is changed. Specifically, an instruction to move the image sensor 19 by the main body displacement vector is output to the camera shake correction unit 17. Accordingly, the camera shake correction unit 17 moves the image sensor 19 by the amount of the main body displacement vector, so that the position of the optical axis of the lens group 13 with respect to the image sensor 19 is determined.

ステップ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 lens group 13 is closed and the image sensor 19 is initialized, the shutter of the lens group 13 is opened for a time corresponding to the shutter speed set in the imaging condition, and the image sensor 19 is subjected to photoelectric conversion. Let Thereafter, the image data output by the image sensor 19 is acquired as a captured image (step S67). Then, the acquired captured image is displayed on the LCD 23 (step S68), and the process proceeds to step S69. The processing from step S69 to step S71 is the same as the processing from step S18 to step S20 in FIG.

第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 displacement detection unit 57 in the fourth embodiment to be a displacement detection unit 57A. Since other configurations are the same as those of the digital camera 1 in the fourth embodiment described above, the description will not be repeated here, and different portions will be mainly described.

第5の実施の形態における変位検出部57Aは、図8に示した第2の実施の形態における変位検出部57Aと同じであり、動きベクトル算出部91と、移動ベクトル算出部93とを含む。動きベクトル算出部91は、イメージセンサ19が、所定時間間隔で出力する複数の画像データから動きベクトルを算出し、算出した動きベクトルを移動ベクトル算出部93に出力する。移動ベクトル算出部93は、入力される動きベクトルを積算することにより移動ベクトルを算出し、算出した移動ベクトルを本体の変位として位置決定部71に出力する。   The displacement detection unit 57A in the fifth embodiment is the same as the displacement detection unit 57A in the second embodiment shown in FIG. 8, and includes a motion vector calculation unit 91 and a movement vector calculation unit 93. The motion vector calculation unit 91 calculates a motion vector from a plurality of image data output by the image sensor 19 at predetermined time intervals, and outputs the calculated motion vector to the movement vector calculation unit 93. The movement vector calculation unit 93 calculates a movement vector by adding up the input motion vectors, and outputs the calculated movement vector to the position determination unit 71 as a displacement of the main body.

図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 shutter button 35A is accepted until the self-timer set time elapses. Therefore, the calculated movement vector is the amount of movement of the optical image formed on the image plane of the image sensor 19 from when the operation of pressing the shutter button 35A is accepted until the self-timer set time elapses. Indicates the direction of movement.

ステップ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 still camera 1 according to the second embodiment in addition to the effects of the digital still camera 1C according to the third embodiment. it can.

<第6の実施の形態>
第6の実施の形態におけるデジタルスチルカメラ1Dは、第4の実施の形態におけるデジタルスチルカメラ1Cにジャイロセンサを追加したものである。
<Sixth Embodiment>
A digital still camera 1D according to the sixth embodiment is obtained by adding a gyro sensor to the digital still camera 1C according to the fourth embodiment.

図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 gyro sensor 33 is added. Since other configurations are the same as those of the digital still camera 1 in the first embodiment shown in FIG. 12, the description thereof will not be repeated here.

また、ジャイロセンサ33は、第3の実施の形態におけるデジタルスチルカメラ1Aに搭載されるものと同じである。   The gyro sensor 33 is the same as that mounted on the digital still camera 1A in the third embodiment.

第6の実施の形態におけるデジタルスチルカメラ1Aが備える制御部11は、図13に示したブロック図と変位検出部57を除き同様の機能を有する。第6の実施の形態における変位検出部57は、ジャイロセンサ33の出力が入力され、ジャイロセンサ33から入力されるヨー方向の角速度からX軸方向の本体の移動量を算出し、ピッチ方向の角速度からY軸方向の本体の移動量を算出する。変位検出部57は、X軸方向の本体の移動量と、Y軸方向の本体の移動量を積算し、X方向振れ量の積算値およびX方向振れ量の積算値を要素とする本体変位ベクトルを算出する。さらに、変位検出部57は、本体の振れ量をイメージセンサ19の結像面に結像する光学画像の移動量に換算することにより、本体変位ベクトルを移動ベクトルに変換する。変位検出部57は、本体変位ベクトルを移動ベクトルに変換する際に、レンズ群13のズーム量に対して予め定められた係数を用いる。   The control unit 11 provided in the digital still camera 1A according to the sixth embodiment has the same functions except for the block diagram and the displacement detection unit 57 shown in FIG. The displacement detection unit 57 in the sixth embodiment receives the output of the gyro sensor 33, calculates the amount of movement of the main body in the X-axis direction from the angular velocity in the yaw direction input from the gyro sensor 33, and calculates the angular velocity in the pitch direction. To calculate the amount of movement of the main body in the Y-axis direction. The displacement detection unit 57 integrates the movement amount of the main body in the X-axis direction and the movement amount of the main body in the Y-axis direction, and the main body displacement vector having the integrated value of the X-direction shake amount and the integrated value of the X-direction shake amount as elements. Is calculated. Further, the displacement detection unit 57 converts the main body displacement vector into a movement vector by converting the shake amount of the main body into the movement amount of the optical image formed on the imaging surface of the image sensor 19. The displacement detector 57 uses a predetermined coefficient for the zoom amount of the lens group 13 when converting the main body displacement vector into a movement vector.

なお、第6の実施の形態における変位検出部57は、撮像制御部53から画像データ(スルー画像)は入力されない。   Note that the displacement detection unit 57 in the sixth embodiment does not receive image data (through image) from the imaging control unit 53.

図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 gyro sensor 33. The shake amount of the main body in the X-axis direction is calculated from the angular velocity in the yaw direction input from the gyro sensor 33, and the shake amount of the main body in the Y-axis direction is calculated from the angular velocity in the pitch direction. In the next step S92, the main body displacement vector is calculated by integrating the main body deflection amounts in the X-axis direction and the Y direction, and the main body displacement vector is converted into a movement vector.

ステップ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 shutter button 35A is detected. Therefore, the calculated movement vector is an optical image formed on the imaging surface of the image sensor 19 at two time points when the self-timer set time has elapsed since the operation of pressing the shutter button 35A was detected. Indicates the amount and direction of movement.

ステップ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 still camera 1D in the sixth embodiment has the same effects as the digital still camera 1A in the third embodiment in addition to the effects of the digital still camera 1C in the third embodiment. it can.

なお、上述した実施の形態においては撮像装置の一例としてデジタルスチルカメラ1、1A〜1Dを説明したが、図4に示したセルフタイマ撮像制御処理を実行するための撮像方法およびその撮像方法をコンピュータに実行させるための撮像プログラムとして発明を捉えることができるのはいうまでもない。   In the above-described embodiment, the digital still cameras 1 and 1A to 1D have been described as an example of the imaging apparatus. However, the imaging method for executing the self-timer imaging control process illustrated in FIG. Needless to say, the present invention can be understood as an imaging program to be executed.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   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つにおけるデジタルスチルカメラの構成の概略を示すブロック図である。It is a block diagram which shows the outline of a structure of the digital still camera in one of the embodiments of this invention. 制御部が有する機能の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of the function which a control part has. 変位検出部の詳細な機能の一例を示すブロック図である。It is a block diagram which shows an example of the detailed function of a displacement detection part. イメージセンサが出力するスルー画像と切出領域との一例を示す図である。It is a figure which shows an example of the through image and cutout area which an image sensor outputs. イメージセンサが出力する撮像画像と切出領域との一例を示す図である。It is a figure which shows an example of the picked-up image and cutout area which an image sensor outputs. 本体変位を説明するための図である。It is a figure for demonstrating a main body displacement. 第1の実施の形態におけるセルフタイマ撮像制御を処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a process of the self-timer imaging control in 1st Embodiment. 第2の実施の形態における変位検出部の詳細な機能の一例を示す図である。It is a figure which shows an example of the detailed function of the displacement detection part in 2nd Embodiment. 第2の実施の形態におけるセルフタイマ撮像制御を処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a process for the self-timer imaging control in 2nd Embodiment. 第3の実施の形態におけるデジタルスチルカメラの構成の概略を示すブロック図である。It is a block diagram which shows the outline of a structure of the digital still camera in 3rd Embodiment. 第3の実施の形態におけるセルフタイマ撮像制御を処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a process of the self-timer imaging control in 3rd Embodiment. 第4の実施の形態におけるデジタルスチルカメラの構成の概略を示すブロック図である。It is a block diagram which shows the outline of a structure of the digital still camera in 4th Embodiment. 第4の実施の形態におけるデジタルスチルカメラが備える制御部が有する機能の一例を示す図である。It is a figure which shows an example of the function which the control part with which the digital still camera in 4th Embodiment is provided has. 第4の実施の形態におけるセルフタイマ撮像制御を処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a process of the self-timer imaging control in 4th Embodiment. 第5の実施の形態におけるセルフタイマ撮像制御を処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a process about the self-timer imaging control in 5th Embodiment. 第6の実施の形態におけるデジタルスチルカメラの構成の概略を示すブロック図である。It is a block diagram which shows the outline of a structure of the digital still camera in 6th Embodiment. 第6の実施の形態におけるセルフタイマ撮像制御を処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a process about the self-timer imaging control in 6th Embodiment.

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 SYMBOLS 1 Digital still camera, 1,1A-1D Digital still camera, 11, 11A Control part, 13 Lens group, 15 Lens drive part, 17 Correction unit, 19 Image sensor, 21 Codec, 22 Signal processing circuit, 23 LCD, 25 EEPROM , 27 SDRAM, 29 card I / F, 29A memory card, 33 gyro sensor, 35 operation unit, 35A shutter button, 41 battery, 51 operation reception unit, 53 imaging control unit, 55 cutout unit, 57, 57A displacement detection unit 59, cutout position determination unit, 61 image display control unit, 71 position determination unit, 81 reference image acquisition unit, 83 feature region extraction unit, 85 reference image acquisition unit, 87 corresponding region extraction unit, 89 vector calculation unit, 91 vector Calculation unit, 93 Movement vector calculation unit.

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.
JP2009249085A 2009-10-29 2009-10-29 Imaging device and imaging method Pending JP2011097344A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (6)

* Cited by examiner, † Cited by third party
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