JP4957851B2 - Camera shake detection device, camera shake detection method, and camera shake detection program - Google Patents

Camera shake detection device, camera shake detection method, and camera shake detection program Download PDF

Info

Publication number
JP4957851B2
JP4957851B2 JP2011016270A JP2011016270A JP4957851B2 JP 4957851 B2 JP4957851 B2 JP 4957851B2 JP 2011016270 A JP2011016270 A JP 2011016270A JP 2011016270 A JP2011016270 A JP 2011016270A JP 4957851 B2 JP4957851 B2 JP 4957851B2
Authority
JP
Japan
Prior art keywords
image shift
shift amount
image
camera
detection sensor
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.)
Active
Application number
JP2011016270A
Other languages
Japanese (ja)
Other versions
JP2011139487A (en
Inventor
めぐみ 神田
和生 野村
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2011016270A priority Critical patent/JP4957851B2/en
Publication of JP2011139487A publication Critical patent/JP2011139487A/en
Application granted granted Critical
Publication of JP4957851B2 publication Critical patent/JP4957851B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Adjustment Of Camera Lenses (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a device, method and program for detection of a camera shake, which suppress an image shift of a subject, which occurs in a captured image due to a detection sensor, and suppress the reduction in lifetime of a battery. <P>SOLUTION: The camera shake detection device has a detection sensor for detecting the speed of rotation, about one prescribed axis, of a camera and includes: a first image shift calculation unit 200b, which drives the detection sensor 200a to detect the rotation speed and calculates the amount of image deviation in a first direction, on the basis of the rotation speed with respect to an image of a subject captured by the camera; a second image shift calculation unit 200c, which calculates the amount of image deviation in a second direction, with respect to the image of the subject captured by the camera, on the basis of a prescribed image analysis results about the image of the subject captured by the camera; and a camera shape amount estimation part 200e, which uses the amount of image deviation in the first direction and that in the second direction to estimate the amount of camera shake. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、被写体の撮影時に生じるカメラの手ぶれ量を検出する手ぶれ検出装置、手ぶ
れ検出方法、および手ぶれ検出プログラムに関する。
The present invention relates to a camera shake detection device, a camera shake detection method, and a camera shake detection program that detect the amount of camera shake that occurs during shooting of a subject.

近年、電子機器にジャイロ等の動きを検出する検出装置を取り付け、電子機器の動きを
検出し、検出した動きにより電子機器の機能に関しての補正や制御をすることが行われる
ようになった。例えば、電子機器がデジタルカメラのような撮影機器の場合では、カメラ
の動きの一つとして撮影時に生じる手ぶれ量を、ジャイロなどの検出センサーを用いて検
出し、検出した手ぶれ量に基づいて撮影時の撮影条件を補正して、撮影画像に生じる縦方
向や横方向の画像のズレ量を抑制することが行われている(例えば、特許文献1または特
許文献2)。
In recent years, a detection device for detecting movement of a gyro or the like is attached to an electronic device, the movement of the electronic device is detected, and correction or control regarding the function of the electronic device is performed by the detected movement. For example, when the electronic device is a photographic device such as a digital camera, the amount of camera shake that occurs during shooting as one of the camera movements is detected using a detection sensor such as a gyro, and the amount of camera shake is determined based on the detected amount of camera shake. In this case, the amount of deviation of the image in the vertical direction or the horizontal direction that occurs in the captured image is suppressed (for example, Patent Document 1 or Patent Document 2).

また、このようなカメラの手ぶれ量の検出に際しては、より正確な手ぶれ防止を行うた
めに、通常少なくとも2つの検出センサーを用いて手ぶれ量を検出することが行われる。
例えば、特許文献1では、カメラのグリップ位置に2つの検出センサーを配置して手ぶれ
量を検出する技術が開示され、特許文献2では、ペンタプリズムの近傍位置に2つの検出
センサーを配置して手ぶれ量を検出する技術が開示されている。
In detecting the amount of camera shake of such a camera, the amount of camera shake is usually detected using at least two detection sensors in order to more accurately prevent camera shake.
For example, Patent Document 1 discloses a technique for detecting the amount of camera shake by arranging two detection sensors at a grip position of a camera, and Patent Document 2 discloses a technique for detecting camera shake by arranging two detection sensors near a pentaprism. Techniques for detecting quantities are disclosed.

特開平5−142613号公報JP-A-5-142613 特開平9−189932号公報Japanese Patent Laid-Open No. 9-189932

ところで、近年例えばカメラ機能付き携帯電話などのように撮影機器の小型化が進み、
これに起因して撮影機器に搭載する電池サイズも小型化している。そのため、電池寿命が
短くならない様に、撮影機器の消費電流を少なくする節電対策が必要となる。
By the way, in recent years, the downsizing of photographing devices such as mobile phones with camera functions has progressed,
Due to this, the size of the battery mounted on the photographing device is also reduced. Therefore, it is necessary to take a power saving measure to reduce the current consumption of the photographing device so that the battery life is not shortened.

一方、手ぶれ量を検出するための検出センサーは、一般的に圧電振動子などの振動子を
用いたジャイロセンサーが採用され、この振動子の振動状態の変化を検知することで所定
の軸周りの角速度などを検知する仕組みになっている。このため、手ぶれ量を検出するた
めには、圧電振動子を駆動し、常に振動状態にしておく必要があることから、駆動のため
の電流を常に検出センサーに流しておくことが必要になる。従って、検出センサーは電流
を消費し、電池寿命の短命化を招いてしまうことになる。
On the other hand, a gyro sensor using a vibrator such as a piezoelectric vibrator is generally employed as a detection sensor for detecting the amount of camera shake, and a change in the vibration state of the vibrator is detected to detect a vibration around a predetermined axis. It has a mechanism to detect angular velocity. For this reason, in order to detect the amount of camera shake, it is necessary to drive the piezoelectric vibrator and always keep it in a vibrating state. Therefore, it is necessary to always pass a driving current through the detection sensor. Therefore, the detection sensor consumes current, leading to a shortened battery life.

しかしながら、特許文献1および特許文献2では、手ぶれ検出に際して消費電流に関す
る技術の開示が無く、検出センサーによって手ぶれ量を検出して撮影画像に生じる被写体
の画像のズレを抑制することが可能であっても、電池寿命が短くなってしまうという課題
がある。
However, in Patent Document 1 and Patent Document 2, there is no disclosure of the technology related to current consumption when detecting camera shake, and it is possible to detect the amount of camera shake by the detection sensor and suppress the deviation of the subject image that occurs in the captured image. However, there is a problem that the battery life is shortened.

本発明は、このような課題に鑑みてなされたもので、検出センサーによって撮影画像に
生じる被写体の画像のズレ量を抑制するとともに、電池寿命の短命化を抑制する手ぶれ検
出装置、手ぶれ検出方法、および手ぶれ検出プログラムを提供することを目的とする。
The present invention has been made in view of such a problem, and a camera shake detection device, a camera shake detection method, and the like, which suppress a shift amount of an image of a subject generated in a photographed image by a detection sensor and reduce a battery life. It is another object of the present invention to provide a camera shake detection program.

上記課題を解決するために本発明の第1の発明となる手ぶれ検出装置は、被写体の撮影
時に生じるカメラの手ぶれ量を検出する手ぶれ検出装置であって、前記カメラの所定の1
つの軸まわりの回転速度を検出する検出センサーを有し、前記検出センサーを駆動して前
記回転速度を検出し、前記カメラが撮影する被写体の画像について、第1の方向の画像ズ
レ量である第1の画像ズレ量を、前記回転速度に基づいて算出する第1の画像ズレ量算出
部と、前記カメラが撮影した被写体の画像について、第2の方向の画像ズレ量である第2
の画像ズレ量を、前記カメラが撮影した被写体の画像について所定の画像解析を行い、そ
の解析結果に基づいて算出する第2の画像ズレ量算出部と、前記第1の画像ズレ量と前記
第2の画像ズレ量とを用いて、前記カメラの手ぶれ量を推測する手ぶれ量推測部とを備え
たことを要旨とする。
In order to solve the above-mentioned problems, a camera shake detection device according to a first aspect of the present invention is a camera shake detection device that detects the amount of camera shake that occurs when a subject is photographed.
A detection sensor that detects a rotation speed around one axis, detects the rotation speed by driving the detection sensor, and is an image shift amount in a first direction with respect to an image of a subject captured by the camera. A first image shift amount calculation unit that calculates an image shift amount of 1 based on the rotation speed; and a second image shift amount in a second direction with respect to an image of a subject captured by the camera.
A second image shift amount calculation unit that performs predetermined image analysis on the image of the subject captured by the camera and calculates the image shift amount of the first image shift amount and the first image shift amount. And a camera shake amount estimation unit that estimates the camera shake amount of the camera using the image shift amount of 2.

この構成によれば、例えば、撮影画像について、縦方向の画像ズレ量については検出セ
ンサーを用いて算出し、横方向の画像ズレ量については撮影画像を解析することで画像ズ
レ量を算出する。そして、それぞれ算出した縦方向と横方向の画像ズレ量を用いてカメラ
の手ぶれ量を推測する。従って、検出センサーが1つでもカメラの手ぶれ量を推測するこ
とができるため、撮影画像に生じる被写体の画像ズレ量を抑制するとともに、電池寿命の
短命化を抑制することが可能となる。
According to this configuration, for example, for a captured image, the amount of image shift in the vertical direction is calculated using the detection sensor, and the amount of image shift in the horizontal direction is calculated by analyzing the captured image. Then, the camera shake amount of the camera is estimated using the calculated image shift amounts in the vertical direction and the horizontal direction, respectively. Therefore, since the amount of camera shake can be estimated even with a single detection sensor, it is possible to suppress the amount of image misalignment of the subject that occurs in the captured image and to reduce the battery life.

また、第1の発明の手ぶれ検出装置は、前記第2の画像ズレ量算出部が算出した前記第
2の画像ズレ量を、被写体の撮影時毎に記録する画像ズレ量記録部をさらに備え、前記手
ぶれ量推測部は、前記画像ズレ量記録部が記録した複数の第2の画像ズレ量から所定の方
法で算出した画像ズレ量を、前記第2の画像ズレ量として用いて、前記カメラの手ぶれ量
を推測することを特徴とする。
The camera shake detection apparatus according to the first aspect of the present invention further includes an image shift amount recording unit that records the second image shift amount calculated by the second image shift amount calculation unit every time a subject is photographed. The camera shake amount estimation unit uses an image shift amount calculated by a predetermined method from a plurality of second image shift amounts recorded by the image shift amount recording unit as the second image shift amount. It is characterized by estimating the amount of camera shake.

こうすれば、例えば撮影画像の解析結果から算出された横方向の画像ズレ量を、撮影時
毎に記録し、記録された複数の横方向の画像ズレ量を用いてカメラの手ぶれ量を推測する
。従って、複数の横方向の画像ズレ量を用いることから、推測するカメラの手ぶれ量の精
度が高くなる。
In this way, for example, the horizontal image shift amount calculated from the analysis result of the captured image is recorded for each shooting, and the camera shake amount of the camera is estimated using a plurality of recorded horizontal image shift amounts. . Accordingly, since a plurality of lateral image shift amounts are used, the accuracy of the estimated camera shake amount is increased.

ここで、前記撮影画像についての前記第1の方向と前記第2の方向とは、互いに直交す
る方向であることとしてもよい。
Here, the first direction and the second direction for the captured image may be directions orthogonal to each other.

こうすれば、直交する2つの軸方向について画像ズレ量を算出するため、手ぶれによる
カメラの動きを、共通する方向成分を持たない互いに独立した方向の動き成分として把握
できる。従って、推測するカメラの手ぶれ量の精度が高くなる。
In this way, since the image shift amount is calculated for two orthogonal axial directions, the camera motion due to camera shake can be grasped as motion components in mutually independent directions having no common direction component. Therefore, the accuracy of the camera shake amount to be estimated is increased.

さらに、第1の発明の手ぶれ検出装置は、前記手ぶれ量推測部が推測した手ぶれ量に応
じて、前記カメラの撮影条件を補正する撮影条件補正部をさらに備えることとしてもよい
Furthermore, the camera shake detection apparatus according to the first aspect of the present invention may further include a shooting condition correction unit that corrects the shooting condition of the camera in accordance with the camera shake amount estimated by the camera shake amount estimation unit.

こうすれば、推測した手ぶれ量に応じて、例えばカメラのシャッター速度、絞り、感度
などの撮影条件を補正できる。従って、撮影時、被写体の画像ズレ量を抑制した画像を撮
影することが可能となる。
In this way, it is possible to correct shooting conditions such as the shutter speed, aperture, and sensitivity of the camera according to the estimated amount of camera shake. Accordingly, it is possible to take an image with a suppressed image shift amount of the subject at the time of shooting.

あるいは、本発明の第2の発明となる手ぶれ検出装置は、被写体の撮影時に生じるカメ
ラの手ぶれ量を検出する手ぶれ検出装置であって、前記カメラの所定の2つの軸となる第
1の軸と第2の軸とについて、各々の軸まわりの回転速度となる第1の回転速度と第2の
回転速度とをそれぞれ検出するための第1の検出センサーと第2の検出センサーとを有し
、少なくとも、(1)前記第1の検出センサーを駆動して前記第1の回転速度を検出し、
前記カメラが撮影する被写体の画像について、第1の方向の画像ズレ量となる第1の画像
ズレ量を、前記第1の回転速度に基づいて算出すること、または、(2)前記第2の検出
センサーを駆動して前記第2の回転速度を検出し、前記カメラが撮影する被写体の画像に
ついて、第2の方向の画像ズレ量となる第2の画像ズレ量を、前記第2の回転速度に基づ
いて算出すること、を行う画像ズレ量算出部と、前記第1の画像ズレ量と前記第2の画像
ズレ量とを比較し、画像ズレ量の大きい方を第3の画像ズレ量とし、他方を第4の画像ズ
レ量として選択する画像ズレ量選択部と、前記第3の画像ズレ量を用いて、前記カメラの
手ぶれ量を推測する手ぶれ量推測部とを備えたことを要旨とする。
Alternatively, a camera shake detection device according to a second invention of the present invention is a camera shake detection device that detects the amount of camera shake that occurs during shooting of a subject, and includes a first axis that is a predetermined two axes of the camera, and A first detection sensor and a second detection sensor for detecting a first rotation speed and a second rotation speed, which are rotation speeds about the respective axes, with respect to the second axis; At least (1) driving the first detection sensor to detect the first rotational speed;
Calculating a first image shift amount, which is an image shift amount in a first direction, of the subject image captured by the camera based on the first rotation speed; or (2) the second A detection sensor is driven to detect the second rotation speed, and a second image shift amount, which is an image shift amount in a second direction, of the subject image captured by the camera is determined as the second rotation speed. The image displacement amount calculation unit that performs calculation based on the first image displacement amount and the second image displacement amount are compared, and the larger image displacement amount is set as the third image displacement amount. And an image shift amount selection unit that selects the other as the fourth image shift amount, and a camera shake amount estimation unit that estimates the camera shake amount of the camera using the third image shift amount. To do.

この構成によれば、例えば、撮影画像について、縦方向の画像ズレ量については第1の
検出センサーを用いて算出し、横方向の画像ズレ量については第2の検出センサーを用い
て画像ズレ量を算出する。そして、それぞれ算出した縦方向と横方向の画像ズレ量の大き
さを比較し、大きい方の画像ズレ量が縦方向であれば、縦方向の画像ズレ量を用いてカメ
ラの手ぶれ量を推測する。つまり、2つの検出センサーのうち、画像ズレ量が大きい方向
を検出する検出センサーを駆動して撮影画像に生ずる画像ズレ量を算出するため、カメラ
の手ぶれ量を1つの検出センサーを用いておおよそ推測することが可能になる。この結果
、1つの検出センサーを用いて撮影画像に生じる画像ズレ量を抑制することができる。
According to this configuration, for example, for a captured image, the vertical image shift amount is calculated using the first detection sensor, and the horizontal image shift amount is calculated using the second detection sensor. Is calculated. Then, the calculated vertical and horizontal image shift amounts are compared, and if the larger image shift amount is the vertical direction, the camera shake amount of the camera is estimated using the vertical image shift amount. . In other words, in order to calculate the amount of image displacement that occurs in the captured image by driving the detection sensor that detects the direction in which the amount of image displacement is large among the two detection sensors, the amount of camera shake is roughly estimated using one detection sensor. It becomes possible to do. As a result, it is possible to suppress the amount of image shift that occurs in the captured image using one detection sensor.

さらに第2の発明の手ぶれ検出装置は、前記カメラが被写体を撮影することが可能な状
態である撮影モード状態か否かを判定する撮影モード判定部と、前記撮影モード判定部が
撮影モード状態と判定した後、前記カメラの撮影回数を記録する撮影回数記録部とをさら
に備え、前記画像ズレ量算出部は、前記撮影回数が2回目以降について、前記第1の検出
センサー又は前記第2の検出センサーのうち、前記撮影回数が1回目のときに選択された
前記第3の画像ズレ量に対応する回転速度を検出するための検出センサーのみ駆動するこ
ととしてもよい。
The camera shake detection apparatus according to the second aspect of the present invention includes a shooting mode determination unit that determines whether or not the camera is in a shooting mode state in which the subject can be shot, and the shooting mode determination unit is in a shooting mode state. After the determination, the camera further includes a photographing number recording unit that records the number of photographings of the camera, and the image shift amount calculating unit includes the first detection sensor or the second detection for the second and subsequent photographing times. Of the sensors, only the detection sensor for detecting the rotation speed corresponding to the third image shift amount selected when the number of times of photographing is the first may be driven.

この構成によれば、撮影モード状態になった後の1回目の撮影時には2つの検出センサ
ーを駆動し、それによって算出された縦方向と横方向の画像ズレ量を比較して画像ズレ量
が大きい方を選択する。そして例えば、選択された画像ズレ量が縦方向であった場合、2
回目以降の撮影時からは、縦方向の画像ズレ量を算出するための検出センサーのみを駆動
して撮影画像に生ずる被写体の画像ズレ量を算出する。従って、2回目以降の撮影時、1
つの検出センサーのみを駆動してカメラの手ぶれ量を推測することができるため、撮影画
像に生じる画像ズレ量を抑制するとともに、電池寿命が短くなることを抑制することが可
能となる。
According to this configuration, the two detection sensors are driven at the time of first shooting after entering the shooting mode state, and the image shift amount is large by comparing the vertical and horizontal image shift amounts calculated thereby. Select the direction. For example, if the selected image shift amount is in the vertical direction, 2
From the time of the subsequent shooting, only the detection sensor for calculating the vertical image shift amount is driven to calculate the image shift amount of the subject generated in the shot image. Therefore, during the second and subsequent shooting,
Since only one detection sensor can be driven to estimate the camera shake amount of the camera, it is possible to suppress the amount of image shift that occurs in the captured image and to suppress the shortening of the battery life.

ここで、前記手ぶれ量推測部は、前記撮影回数が2回目以降のときは、第3の画像ズレ
量と、前記撮影回数が1回目のときに選択された前記第4の画像ズレ量とを用いて、前記
カメラの手ぶれ量を推測することとしてもよい。
Here, the camera shake amount estimation unit calculates the third image shift amount and the fourth image shift amount selected when the number of shootings is the first time when the number of shootings is the second time or later. The camera shake amount of the camera may be estimated.

こうすれば、例えば、1回目の撮影時において画像ズレ量が大きい方が縦方向であった
場合、2回目以降の撮影時からは、検出センサーを用いて算出した縦方向の画像ズレ量と
、1回目の撮影時に検出センサーを用いて算出した横方向の画像ズレ量とを用いて、カメ
ラの手ぶれ量を推測する。従って、2回目以降の撮影時、1つの検出センサーのみを駆動
するものの、縦方向の画像ズレ量と、1回目の撮影時に検出センサーを用いて算出した横
方向の画像ズレ量との両方を用いてカメラの手ぶれ量を推測することができるため、撮影
画像に生じる画像ズレ量をより正確に抑制するとともに、電池寿命が短くなることを抑制
することが可能となる。
In this way, for example, when the image displacement amount is larger in the vertical direction at the time of the first photographing, the image displacement amount in the vertical direction calculated using the detection sensor from the second and subsequent photographing times, The camera shake amount of the camera is estimated using the horizontal image shift amount calculated using the detection sensor at the time of the first shooting. Therefore, although only one detection sensor is driven during the second and subsequent shootings, both the vertical image shift amount and the horizontal image shift amount calculated using the detection sensor during the first shooting are used. Thus, it is possible to estimate the amount of camera shake, and thus it is possible to more accurately suppress the amount of image shift that occurs in the captured image, and it is possible to suppress a reduction in battery life.

また、第2の発明の手ぶれ検出装置は、前記撮影画像についての前記第1の方向と前記
第2の方向とは、互いに直交する方向であることとしてもよい。
In the camera shake detection device according to the second aspect of the present invention, the first direction and the second direction for the captured image may be directions orthogonal to each other.

こうすれば、直交する2つの軸方向について画像ズレ量を算出するため、手ぶれによる
カメラの動きを、共通する方向成分を持たない互いに独立した方向の動き成分として把握
できる。従って、推測するカメラの手ぶれ量の精度が高くなる。
In this way, since the image shift amount is calculated for two orthogonal axial directions, the camera motion due to camera shake can be grasped as motion components in mutually independent directions having no common direction component. Therefore, the accuracy of the camera shake amount to be estimated is increased.

また、ここで、前記手ぶれ量推測部が推測した手ぶれ量に応じて、前記カメラの撮影条
件を補正する撮影条件補正部をさらに備えることとしてもよい。
In addition, a shooting condition correction unit that corrects shooting conditions of the camera according to the camera shake amount estimated by the camera shake amount estimation unit may be further provided.

こうすれば、推測した手ぶれ量に応じて、例えばカメラのシャッター速度、絞り、感度
などの撮影条件を補正できる。従って、撮影時、被写体の画像ズレ量を抑制した画像を撮
影することが可能となる。
In this way, it is possible to correct shooting conditions such as the shutter speed, aperture, and sensitivity of the camera according to the estimated amount of camera shake. Accordingly, it is possible to take an image with a suppressed image shift amount of the subject at the time of shooting.

本発明を手ぶれ検出方法としても捉えることができる。すなわち、本発明の第1の手ぶ
れ検出方法は、被写体の撮影時に生じるカメラの手ぶれ量を検出する手ぶれ検出方法であ
って、前記カメラの所定の1つの軸まわりの回転速度を検出する検出センサーを駆動して
前記回転速度を検出し、前記カメラが撮影する被写体の画像について、第1の方向の画像
ズレ量である第1の画像ズレ量を、前記回転速度に基づいて算出する第1の画像ズレ量算
出工程と、前記カメラが撮影した被写体の画像について、第2の方向の画像ズレ量である
第2の画像ズレ量を、前記カメラが撮影した被写体の画像について所定の画像解析を行い
、その解析結果に基づいて算出する第2の画像ズレ量算出工程と、前記第1の画像ズレ量
と前記第2の画像ズレ量とを用いて、前記カメラの手ぶれ量を推測する手ぶれ量推測工程
とを備えたことを要旨とする。
The present invention can also be understood as a camera shake detection method. In other words, the first camera shake detection method of the present invention is a camera shake detection method for detecting the amount of camera shake that occurs during shooting of a subject, and includes a detection sensor that detects the rotational speed of the camera around a predetermined axis. A first image that is driven to detect the rotation speed and calculates a first image shift amount that is an image shift amount in a first direction based on the rotation speed with respect to an image of a subject that is captured by the camera. A deviation amount calculating step, a second image deviation amount that is an image deviation amount in a second direction for the subject image captured by the camera, and a predetermined image analysis for the subject image captured by the camera; A camera shake amount estimation process for estimating the camera shake amount of the camera using the second image shift amount calculation step calculated based on the analysis result, and the first image shift amount and the second image shift amount. And summarized in that with and.

また、本発明の第2の手ぶれ検出方法は、被写体の撮影時に生じるカメラの手ぶれ量を
検出する手ぶれ検出方法であって、前記カメラの所定の2つの軸となる第1の軸と第2の
軸とについて、各々の軸まわりの回転速度となる第1の回転速度と第2の回転速度とをそ
れぞれ検出するための第1の検出センサーと第2の検出センサーとを有し、少なくとも、
(1)前記第1の検出センサーを駆動して前記第1の回転速度を検出し、前記カメラが撮
影する被写体の画像について、第1の方向の画像ズレ量となる第1の画像ズレ量を、前記
第1の回転速度に基づいて算出すること、または、(2)前記第2の検出センサーを駆動
して前記第2の回転速度を検出し、前記カメラが撮影する被写体の画像について、第2の
方向の画像ズレ量となる第2の画像ズレ量を、前記第2の回転速度に基づいて算出するこ
と、を行う画像ズレ量算出工程と、前記第1の画像ズレ量と前記第2の画像ズレ量とを比
較し、画像ズレ量の大きい方を第3の画像ズレ量とし、他方を第4の画像ズレ量として選
択する画像ズレ量選択工程と、前記カメラが被写体を撮影することが可能な状態である撮
影モード状態か否かを判定する撮影モード判定工程と、前記撮影モード判定工程が撮影モ
ード状態と判定した後、前記カメラの撮影回数を記録する撮影回数記録工程とを備え、前
記画像ズレ量算出工程は、前記撮影回数が2回目以降について、前記第1の検出センサー
又は前記第2の検出センサーのうち、前記撮影回数が1回目のときに選択された前記第3
の画像ズレ量に対応する回転速度を検出するための検出センサーのみ駆動することを特徴
とする。
A second camera shake detection method according to the present invention is a camera shake detection method for detecting the amount of camera shake that occurs when a subject is photographed. The camera shake detection method includes a first axis that serves as two predetermined axes of the camera, and a second camera shake detection method. A first detection sensor and a second detection sensor for detecting a first rotation speed and a second rotation speed, respectively, which are rotation speeds around each axis, and at least,
(1) The first detection sensor is driven to detect the first rotation speed, and a first image shift amount that is an image shift amount in a first direction is detected with respect to an image of a subject photographed by the camera. , Calculating based on the first rotation speed, or (2) driving the second detection sensor to detect the second rotation speed, and for the subject image captured by the camera, An image shift amount calculating step of calculating a second image shift amount that is an image shift amount in the direction of 2 based on the second rotation speed, the first image shift amount, and the second image shift amount. And an image shift amount selection step of selecting the larger image shift amount as the third image shift amount and the other as the fourth image shift amount, and the camera shoots the subject. Whether or not the camera is in shooting mode A shooting mode determination step; and a shooting number recording step of recording the number of shootings of the camera after the shooting mode determination step is determined to be in the shooting mode state. Thereafter, the third sensor selected when the number of times of photographing is the first time out of the first detection sensor or the second detection sensor.
Only the detection sensor for detecting the rotational speed corresponding to the image shift amount is driven.

あるいは、本発明を手ぶれ検出プログラムとして捉えることができる。すなわち、本発
明の第1の手ぶれ検出プログラムは、被写体の撮影時に生じるカメラの手ぶれ量を検出す
る手ぶれ検出プログラムであって、前記カメラの所定の1つの軸まわりの回転速度を検出
する検出センサーを駆動して前記回転速度を検出し、前記カメラが撮影する被写体の画像
について、第1の方向の画像ズレ量である第1の画像ズレ量を、前記回転速度に基づいて
算出する第1の画像ズレ量算出機能と、前記カメラが撮影した被写体の画像について、第
2の方向の画像ズレ量である第2の画像ズレ量を、前記カメラが撮影した被写体の画像に
ついて所定の画像解析を行い、その解析結果に基づいて算出する第2の画像ズレ量算出機
能と、前記第1の画像ズレ量と前記第2の画像ズレ量とを用いて、前記カメラの手ぶれ量
を推測する手ぶれ量推測機能とをコンピュータに実現させることを要旨とする。
Alternatively, the present invention can be understood as a camera shake detection program. That is, a first camera shake detection program according to the present invention is a camera shake detection program for detecting the amount of camera shake that occurs during shooting of a subject, and includes a detection sensor that detects a rotational speed around a predetermined axis of the camera. A first image that is driven to detect the rotation speed and calculates a first image shift amount that is an image shift amount in a first direction based on the rotation speed with respect to an image of a subject that is captured by the camera. A deviation amount calculation function and a second image deviation amount that is an image deviation amount in a second direction for the subject image captured by the camera, and a predetermined image analysis for the subject image captured by the camera; A hand for estimating the camera shake amount of the camera using the second image shift amount calculation function to be calculated based on the analysis result, the first image shift amount, and the second image shift amount. And summarized in that to achieve a that amount estimation function to the computer.

また、本発明の第2の手ぶれ検出プログラムは、被写体の撮影時に生じるカメラの手ぶ
れ量を検出する手ぶれ検出プログラムであって、前記カメラの所定の2つの軸となる第1
の軸と第2の軸とについて、各々の軸まわりの回転速度となる第1の回転速度と第2の回
転速度とをそれぞれ検出するための第1の検出センサーと第2の検出センサーとを有し、
少なくとも、(1)前記第1の検出センサーを駆動して前記第1の回転速度を検出し、前
記カメラが撮影する被写体の画像について、第1の方向の画像ズレ量となる第1の画像ズ
レ量を、前記第1の回転速度に基づいて算出すること、または、(2)前記第2の検出セ
ンサーを駆動して前記第2の回転速度を検出し、前記カメラが撮影する被写体の画像につ
いて、第2の方向の画像ズレ量となる第2の画像ズレ量を、前記第2の回転速度に基づい
て算出すること、を行う画像ズレ量算出機能と、前記第1の画像ズレ量と前記第2の画像
ズレ量とを比較し、画像ズレ量の大きい方を第3の画像ズレ量とし、他方を第4の画像ズ
レ量として選択する画像ズレ量選択機能と、前記カメラが被写体を撮影することが可能な
状態である撮影モード状態か否かを判定する撮影モード判定機能と、前記撮影モード判定
機能が撮影モード状態と判定した後、前記カメラの撮影回数を記録する撮影回数記録機能
とをコンピュータに実現させ、前記画像ズレ量算出機能は、前記撮影回数が2回目以降に
ついて、前記第1の検出センサー又は第2の検出センサーのうち、前記撮影回数が1回目
のときに選択された前記第3の画像ズレ量に対応する回転速度を検出するための検出セン
サーのみ駆動することを特徴とする。
A second camera shake detection program according to the present invention is a camera shake detection program for detecting the amount of camera shake that occurs when a subject is photographed. The first camera shake detection program serves as a predetermined two axes of the camera.
A first detection sensor and a second detection sensor for detecting a first rotation speed and a second rotation speed, respectively, which are rotation speeds about the respective axes. Have
At least (1) the first detection sensor is driven to detect the first rotation speed, and the first image shift that is the image shift amount in the first direction is detected with respect to the image of the subject captured by the camera. Calculating the amount based on the first rotation speed, or (2) driving the second detection sensor to detect the second rotation speed, and the image of the subject captured by the camera An image shift amount calculation function for calculating a second image shift amount that is an image shift amount in the second direction based on the second rotation speed, the first image shift amount, and the An image shift amount selection function that compares the second image shift amount and selects the larger image shift amount as the third image shift amount and the other as the fourth image shift amount, and the camera shoots the subject Whether it is in a shooting mode And a shooting mode determination function for determining whether or not the shooting mode determination function is in a shooting mode state, and a shooting number recording function for recording the number of shootings of the camera is implemented in a computer. The rotation speed corresponding to the third image shift amount selected when the number of photographing times is the first time out of the first detection sensor or the second detection sensor for the second and subsequent number of photographing times. Only the detection sensor for detection is driven.

(a)は、カメラの手ぶれについての概要を説明する説明図。(b)は、撮影画像の被写体についての画像ズレ量を説明する説明図。(A) is explanatory drawing explaining the outline | summary about the camera shake of a camera. FIG. 6B is an explanatory diagram illustrating an image shift amount with respect to a subject of a captured image. 撮影画像における被写体の画像ズレを説明する説明図。Explanatory drawing explaining the image shift of the to-be-photographed object in a picked-up image. 第1実施例の手ぶれ検出装置の機能ブロック構成を説明する説明図。Explanatory drawing explaining the functional block structure of the camera-shake detection apparatus of 1st Example. 第1実施例の手ぶれ検出装置の回路構成を説明するブロック図。The block diagram explaining the circuit structure of the camera-shake detection apparatus of 1st Example. 第1実施例の手ぶれ検出装置が行う処理フローチャート。The processing flowchart which the camera-shake detection apparatus of 1st Example performs. 第2実施例の手ぶれ検出装置の機能ブロック構成を説明する説明図。Explanatory drawing explaining the functional block structure of the camera-shake detection apparatus of 2nd Example. 第2実施例の手ぶれ検出装置の回路構成を説明するブロック図。The block diagram explaining the circuit structure of the camera-shake detection apparatus of 2nd Example. 第2実施例の手ぶれ検出装置が行う処理フローチャート。The process flowchart which the camera-shake detection apparatus of 2nd Example performs.

以下、本発明を具体化した実施形態について、実施例を用いて説明する。なお、第1実
施例は、検出センサーが1つの場合に手ぶれ量を推側する実施例であり、第2実施例は、
検出センサーが2つの場合に手ぶれ量を推側する実施例である。
Hereinafter, embodiments embodying the present invention will be described using examples. In addition, the first example is an example in which the amount of camera shake is estimated when there is one detection sensor, and the second example is
In this embodiment, the amount of camera shake is estimated when there are two detection sensors.

これらの実施例を説明する前に、本発明の手ぶれ検出装置の概要について、図1と図2
とを用いて説明する。図1は本発明の手ぶれ検出装置の組み込み対象となる電子機器の一
例としてのデジタルカメラ(以降、単にカメラ)について、撮影時におけるカメラの手ぶ
れ量を説明するための説明図である。また、図2は、撮影された撮影画像に生ずる被写体
の画像ズレ量について説明するための説明図である。
Before explaining these embodiments, the outline of the camera shake detection apparatus of the present invention will be described with reference to FIGS.
And will be described. FIG. 1 is an explanatory diagram for explaining the amount of camera shake at the time of shooting for a digital camera (hereinafter simply referred to as a camera) as an example of an electronic device to be incorporated into the camera shake detection device of the present invention. FIG. 2 is an explanatory diagram for explaining an image shift amount of a subject generated in a photographed photographed image.

図1(a)に示したように、シャッターボタンSBを押してシャッターを切り、被写体
を撮影する際、撮影者の身体の動きに起因して少なからずカメラは手ぶれを生ずる。手ぶ
れは、図示したようにカメラの横方向の軸をX軸、縦方向の軸をY軸、レンズの中心軸を
Z軸とすると、それぞれの軸周りの回転として発生する。ここで、X軸周りの回転をピッ
チ、Y軸周りの回転をロール、Z軸周りの回転をヨーと呼ぶ。
As shown in FIG. 1 (a), when the shutter button SB is pressed to release the shutter and the subject is photographed, the camera shakes not a little due to the movement of the photographer's body. As shown in the figure, camera shake occurs as a rotation around each axis when the horizontal axis of the camera is the X axis, the vertical axis is the Y axis, and the central axis of the lens is the Z axis. Here, rotation around the X axis is called pitch, rotation around the Y axis is called roll, and rotation around the Z axis is called yaw.

例えば、図1(a)に示した状態でカメラを構えて被写体を撮影した時、カメラにピッ
チが発生すると、被写体の画像は縦方向にズレを生ずる。この画像ズレ量は、ピッチの回
転速度とシャッタースピード、および画角の関係から算出される。これを図1(b)にて
説明する。
For example, when a subject is photographed while holding the camera in the state shown in FIG. 1A, if the pitch occurs in the camera, the subject image is shifted in the vertical direction. This image shift amount is calculated from the relationship between the rotation speed of the pitch, the shutter speed, and the angle of view. This will be described with reference to FIG.

図1(b)は、カメラをX軸方向から見た状態を示している。図示したように撮影時に
おけるカメラの画角がGK(度)であったとすると、このとき撮影される画像の範囲はこ
の画角GKに応じた範囲になる。そして図1(b)は、カメラからの距離Lに位置する被
写体を撮影した場合、撮影画像の縦の画面サイズがHになることを示している。
FIG. 1B shows the camera viewed from the X-axis direction. As shown in the figure, if the angle of view of the camera at the time of shooting is GK (degrees), the range of the image shot at this time is a range corresponding to this angle of view GK. FIG. 1B shows that when a subject located at a distance L from the camera is photographed, the vertical screen size of the photographed image becomes H.

この状態で、撮影時においてX軸周りに回転速度PS(度/秒)のピッチが発生すると
、カメラはシャッターが開いている間、カメラに内蔵された図示しないCCDなどの撮像
素子によって被写体の画像を取り込むことになる。そのため、撮影画像は、シャッタース
ピードSS(秒)の時間分のピッチ回転量に相当する分だけ被写体の画像が縦方向にズレ
た画像になってしまう。
In this state, if a pitch of rotational speed PS (degrees / second) is generated around the X axis during shooting, the image of the subject is captured by an image sensor such as a CCD (not shown) built into the camera while the shutter is open. Will be captured. For this reason, the captured image is an image in which the image of the subject is shifted in the vertical direction by an amount corresponding to the pitch rotation amount for the shutter speed SS (seconds).

ちなみに、この縦方向の画像ズレ量をTZとすると、TZ=H×(PS×SS/GK)
で算出される。また、撮影画像は、CCDなどの撮像素子によって取り込まれることから
、例えばHを撮像素子の縦の画素数とした場合、画像ズレ量は画素数として算出されるこ
とになる。従って、以降の実施例において説明する画像ズレ量の算出処理は、この画素数
を算出する処理を行うことになる。
Incidentally, if this vertical image shift amount is TZ, TZ = H × (PS × SS / GK)
Is calculated by In addition, since the captured image is captured by an image sensor such as a CCD, for example, when H is the number of vertical pixels of the image sensor, the amount of image shift is calculated as the number of pixels. Accordingly, the image shift amount calculation processing described in the following embodiments performs processing for calculating the number of pixels.

X軸周りと同様に、Y軸周りにロール回転が発生すると、撮影画像における被写体の画
像は横方向にズレて画像ズレ量YZを生じ、Z軸周りにヨー回転が発生すると、撮影画像
における被写体の画像は回転方向にズレて画像ズレ量KZを生じる。
As with the X axis, when roll rotation occurs around the Y axis, the subject image in the captured image shifts laterally to produce an image shift amount YZ, and when yaw rotation occurs around the Z axis, the subject in the captured image Are shifted in the rotation direction to generate an image shift amount KZ.

図2は、これらの画像ズレ量TZ、YZ、KZについて示した図である。図2(a)は
、撮影画像の被写体に画像ズレが発生していない状態を示している。これに対して、図2
(b)は、縦方向の画像ズレ量TZによって被写体の画像がズレた状態を、図2(c)は
、横方向の画像ズレ量YZによって被写体の画像がズレた状態を、図2(d)は、回転方
向の画像ズレ量KZによって被写体の画像がズレた状態をそれぞれ示している。
FIG. 2 is a diagram showing these image shift amounts TZ, YZ, and KZ. FIG. 2A shows a state in which no image deviation occurs in the subject of the captured image. In contrast, FIG.
2B shows a state in which the subject image is shifted due to the vertical image shift amount TZ, and FIG. 2C shows a state where the subject image is shifted due to the horizontal image shift amount YZ. ) Shows a state in which the image of the subject is displaced by the image displacement amount KZ in the rotation direction.

もとより、被写体の画像はこれらの画像ズレ量を加えた状態に画像がズレることになる
。例えば、ピッチ、ロールが発生したときは、図2(e)に示したように、縦方向と横方
向とを加えた画像ズレを生じ、ピッチ、ロール、ヨー全てが発生したときは、図2(f)
に示したように、縦方向と横方向と回転方向とを加えた画像ズレを生じる。
Of course, the image of the subject is shifted to a state where these image shift amounts are added. For example, when pitch and roll are generated, as shown in FIG. 2 (e), an image shift in which the vertical direction and the horizontal direction are added is generated, and when all of pitch, roll and yaw are generated, FIG. (F)
As shown in FIG. 5, an image shift in which the vertical direction, the horizontal direction, and the rotation direction are added is generated.

ところで、カメラの撮影者は、通常両手でカメラを支えたり、顔の一部にカメラを接触
させたりしてカメラを構え、カメラが安定するように保持しながら撮影することが多い。
このような状態においては、カメラを回転させることは困難であることから、図1におけ
るカメラのZ軸まわりの回転は発生頻度が低いと推定される。一方カメラのX軸まわりと
Y軸まわりの回転については、撮影者がカメラを安定して保持した状態でも、身体の動き
に伴って、上下方向や左右方向へは容易に動くことができることから、比較的発生頻度が
高いと推定される。
By the way, a photographer of a camera usually takes a picture while holding the camera in a stable manner by holding the camera by supporting the camera with both hands or bringing the camera into contact with a part of the face.
In such a state, since it is difficult to rotate the camera, it is estimated that the rotation of the camera around the Z axis in FIG. On the other hand, about rotation of the camera around the X axis and Y axis, even if the photographer holds the camera stably, it can easily move up and down and left and right as the body moves. It is estimated that the frequency of occurrence is relatively high.

本実施例は、このように比較的発生頻度が高いと推定される縦方向と横方向の画像ズレ
に着目し、この縦方向と横方向における被写体の画像ズレ量からカメラの手ぶれ量を推測
することで、実際の撮影時における撮影画像について、被写体の画像ズレを抑制しようと
するものである。さらにX軸、Y軸周りの回転速度を検出する検出センサーについて、駆
動する検出センサーの数を少なくすることで、消費電流を抑え電池寿命が短くなることを
抑制しようとするものである。
In this embodiment, attention is paid to the vertical and horizontal image shifts that are estimated to have a relatively high occurrence frequency, and the camera shake amount of the camera is estimated from the image shift amounts of the subject in the vertical and horizontal directions. In this way, it is intended to suppress the image shift of the subject in the captured image at the time of actual shooting. Further, with respect to detection sensors that detect rotational speeds around the X and Y axes, the number of detection sensors to be driven is reduced, thereby suppressing current consumption and suppressing battery life from being shortened.

(第1実施例)
まず、本発明の第1の発明についての一実施例であり、1つの検出センサーを用いて手
ぶれ量を推側する第1の実施例について説明する。
(First embodiment)
First, an embodiment of the first invention of the present invention, which is a first embodiment for estimating the amount of camera shake using one detection sensor, will be described.

図3は、カメラに組み込まれた第1実施例となる手ぶれ検出装置200の機能ブロック
構成を説明する説明図である。図示したように、手ぶれ検出装置200は、検出センサー
200a、第1の画像ズレ量算出部200b、第2の画像ズレ量算出部200c、画像ズ
レ量記録部200d、手ぶれ量推測部200e、および撮影条件補正部200fから構成
される。
FIG. 3 is an explanatory diagram for explaining a functional block configuration of a camera shake detection apparatus 200 according to the first embodiment incorporated in a camera. As illustrated, the camera shake detection device 200 includes a detection sensor 200a, a first image shift amount calculation unit 200b, a second image shift amount calculation unit 200c, an image shift amount recording unit 200d, a camera shake amount estimation unit 200e, and a photographing. It is composed of a condition correction unit 200f.

検出センサー200aは、図1にて説明したX軸周りのピッチについて、その回転速度
を検出するためのセンサー(以降、「X軸検出センサー」とも呼ぶ)であり、本実施例で
は角速度センサーであるものとして扱う。もとより、角加速度センサーや加速度センサー
など軸周りの速度が測定できる構成を有するセンサーであれば何でも良い。
The detection sensor 200a is a sensor (hereinafter also referred to as “X-axis detection sensor”) for detecting the rotational speed of the pitch around the X axis described in FIG. 1, and is an angular velocity sensor in the present embodiment. Treat as a thing. Of course, any sensor having a configuration capable of measuring the speed around the axis, such as an angular acceleration sensor or an acceleration sensor, may be used.

第1の画像ズレ量算出部200bは、この検出センサー200aを駆動し、検出した回
転速度に基づいて縦方向の画像ズレ量を算出する。もとより、画像ズレ量の算出に際して
は、前述したように、第1の画像ズレ量算出部200bは撮影時のカメラの画角とシャッ
タースピード、および撮像素子の縦の画素数を取得する。
The first image shift amount calculation unit 200b drives the detection sensor 200a and calculates the image shift amount in the vertical direction based on the detected rotation speed. Of course, when calculating the image shift amount, as described above, the first image shift amount calculation unit 200b acquires the angle of view and shutter speed of the camera at the time of shooting, and the number of vertical pixels of the image sensor.

第2の画像ズレ量算出部200cは、カメラが撮影した撮影画像について所定の画像解
析を行い、横方向の画像ズレ量を算出する。本実施例では、画像解析の方法として、画素
値の変化率に着目して画像のエッジを検出するエッジ検出によって画像ズレ量を算出する
ものとする。もとより、エッジ検出に限らず、画像の特徴点に着目したパターンマッチン
グや画素の一定の輝度値に着目したオプティカルフロー追跡など、周知の画像解析技術を
用いて画像ズレ量を算出することとしてもよい。
The second image displacement amount calculation unit 200c performs a predetermined image analysis on the captured image captured by the camera, and calculates the image displacement amount in the horizontal direction. In this embodiment, as an image analysis method, it is assumed that an image shift amount is calculated by edge detection that detects an edge of an image by paying attention to a change rate of a pixel value. Of course, the image shift amount may be calculated by using a well-known image analysis technique such as pattern matching focusing on image feature points and optical flow tracking focusing on a certain luminance value of pixels, not limited to edge detection. .

画像ズレ量記録部200dは、第2の画像ズレ量算出部が算出した横方向の画像ズレ量
を、撮影時毎に記録する。従って、画像ズレ量記録部200dは撮影回数分の横方向の画
像ズレ量を記録することになる。
The image shift amount recording unit 200d records the image shift amount in the horizontal direction calculated by the second image shift amount calculation unit for each shooting. Therefore, the image shift amount recording unit 200d records the image shift amount in the horizontal direction for the number of times of shooting.

手ぶれ量推測部200eは、縦方向の画像ズレ量と横方向の画像ズレ量とを用いて手ぶ
れ量を推測する。本実施例では、縦方向と横方向とは互いに直交する方向であるものとす
る。こうすることで、互いに独立した方向について画像ズレ量を算出することができる。
従って、手ぶれ量推測部200eは、縦方向の画像ズレ量と横方向の画像ズレ量とをそれ
ぞれ直交するベクトル成分とし、ベクトル合成した画像ズレ量を撮影時における手ぶれ量
として推測する。
The camera shake amount estimation unit 200e estimates the camera shake amount using the vertical image shift amount and the horizontal image shift amount. In this embodiment, the vertical direction and the horizontal direction are directions orthogonal to each other. By doing so, it is possible to calculate the image shift amount in directions independent from each other.
Therefore, the camera shake amount estimation unit 200e estimates the image shift amount in the vertical direction and the image shift amount in the horizontal direction as orthogonal vector components, and estimates the image shift amount obtained by vector synthesis as the camera shake amount at the time of shooting.

撮影条件補正部200fは、撮影時において、カメラが実際に撮影する撮影条件を補正
する。本実施例では、シャッタースピードと感度の撮影条件について、撮影者が撮影に当
たって設定した撮影条件や、カメラが自動で設定した撮影条件を、推測された手ぶれ量に
基づいて補正する。もとより、撮影条件はこれ以外に、絞りやフラッシュ点灯なども考え
られ、必要に応じて補正対象とするとよい。
The shooting condition correction unit 200f corrects shooting conditions that are actually shot by the camera during shooting. In the present embodiment, with respect to the shooting conditions of the shutter speed and sensitivity, the shooting conditions set by the photographer and the shooting conditions automatically set by the camera are corrected based on the estimated amount of camera shake. Of course, in addition to this, the aperture and flash lighting may be considered as the shooting conditions, and it is preferable to make corrections as necessary.

次に、手ぶれ検出装置200の回路構成について説明する。図4は、手ぶれ検出装置2
00の回路構成を説明するブロック図である。手ぶれ検出装置200には、CPU150
、RAM160、ROM170、入力インターフェイス(I/F)140、出力インター
フェイス(I/F)180、X軸検出センサー110、アナログ/デジタル変換回路(A
/D)120、および駆動回路130が構成され、これらはバスラインを介して相互に接
続されている。
Next, a circuit configuration of the camera shake detection apparatus 200 will be described. FIG. 4 shows a camera shake detection device 2
2 is a block diagram illustrating a circuit configuration of 00. FIG. The camera shake detection device 200 includes a CPU 150.
, RAM 160, ROM 170, input interface (I / F) 140, output interface (I / F) 180, X-axis detection sensor 110, analog / digital conversion circuit (A
/ D) 120 and a drive circuit 130 are configured, and these are connected to each other via a bus line.

入力I/F140は、レンズを介して図示しない撮像素子に取り込まれた撮影画像に対
するインターフェイスとして、またシャッターボタンSBのシャッター操作に対するイン
ターフェイスとして機能し、それぞれCPU150が扱える所定のデジタル信号に変換す
る。駆動回路130は、X軸検出センサー110を駆動する駆動回路であり、A/D12
0は、X軸検出センサー110からのアナログ出力をCPU150が扱えるデジタル出力
に変換する変換回路である。出力I/F180は、カメラの撮影条件に関する補正データ
をカメラに設けられた撮影回路190に出力するインターフェイスとして機能する。もと
より、撮影回路190は、出力I/F180から出力されたカメラの撮影条件の補正デー
タに従って、実際の撮影時における撮影条件を設定し、撮像素子に被写体画像を取り込む
機能を有する回路である。
The input I / F 140 functions as an interface for a captured image captured by an image sensor (not shown) via a lens and as an interface for a shutter operation of the shutter button SB, and converts each into a predetermined digital signal that can be handled by the CPU 150. The drive circuit 130 is a drive circuit that drives the X-axis detection sensor 110, and includes an A / D 12
A conversion circuit 0 converts an analog output from the X-axis detection sensor 110 into a digital output that can be handled by the CPU 150. The output I / F 180 functions as an interface that outputs correction data related to the shooting conditions of the camera to the shooting circuit 190 provided in the camera. Of course, the photographing circuit 190 is a circuit having a function of setting photographing conditions at the time of actual photographing in accordance with correction data of photographing conditions of the camera output from the output I / F 180 and capturing a subject image in the image sensor.

CPU150は、ROM170に格納されたプログラムを読み出し、所定のオペレーテ
ィングシステムのもとで実行することによって所定の処理を行う。CPU150は、必要
に応じてデジタルデータをRAM160に記録したり、RAM160やROM170から
必要なデジタルデータを読み出したり、あるいは所定のデジタルデータを出力I/F18
0を介して撮影回路190に出力したりして、図5のフローチャートに示した処理を実行
する。
The CPU 150 performs a predetermined process by reading a program stored in the ROM 170 and executing it under a predetermined operating system. The CPU 150 records digital data in the RAM 160 as necessary, reads out necessary digital data from the RAM 160 and the ROM 170, or outputs predetermined digital data to the output I / F 18.
5 is output to the photographing circuit 190 via 0, and the process shown in the flowchart of FIG. 5 is executed.

それでは、第1実施例における手ぶれ検出装置200が行う処理について、図5のフロ
ーチャートに従って説明する。この処理が開始されると、まずステップS211にて撮影
モードか否かを判定する処理を行う。本実施例では、図示しない電源スイッチによって、
カメラの電源が入った状態を撮影モードとしてCPU150は判定するものとする。もと
より、カメラが撮影モードの選択機能を有する場合は、この選択情報をCPU150が読
み出すことで判定することとしても良い。
Now, processing performed by the camera shake detection apparatus 200 in the first embodiment will be described with reference to the flowchart of FIG. When this processing is started, first, in step S211, processing for determining whether or not the photographing mode is set is performed. In this embodiment, a power switch (not shown)
Assume that the CPU 150 determines that the camera is turned on as a shooting mode. Of course, if the camera has a shooting mode selection function, the CPU 150 may read the selection information to make a determination.

次いで、CPU150は、撮影モードであると判定すると(S211:YES)、検出
センサーを駆動する処理(ステップS212)を行う。一方、撮影モードでないと判定す
ると(S211:NO)、ここでの処理を終了する。
Next, when the CPU 150 determines that the shooting mode is set (S211: YES), the CPU 150 performs a process of driving the detection sensor (step S212). On the other hand, if it is determined that the shooting mode is not set (S211: NO), the processing here ends.

次いで、ステップS213にて、横方向の画像ズレ量の記録履歴があるか否かを判定す
る処理を行う。そして、記録されていない場合は(S213:NO)、横方向の画像ズレ
量をデフォルト値とする処理(ステップS214)を行う。1回目の撮影では、後述する
ステップS222での処理がまだ行われていないことから、横方向の画像ズレ量の記録履
歴は更新されていない。そこで、横方向の画像ズレ量の記録履歴がない場合はデフォルト
値を用いることにする。デフォルト値は予めROM170に格納しておいてもよいし、撮
影者がカメラに備えられた入力手段(図示せず)を用いてデフォルト値を入力し、RAM
160に格納することとしてもよい。
Next, in step S213, processing for determining whether or not there is a recording history of the amount of image shift in the horizontal direction is performed. If it is not recorded (S213: NO), a process of setting the image shift amount in the horizontal direction as a default value (step S214) is performed. In the first shooting, since the processing in step S222 to be described later has not yet been performed, the recording history of the image shift amount in the horizontal direction is not updated. Therefore, the default value is used when there is no recording history of the amount of image shift in the horizontal direction. The default value may be stored in the ROM 170 in advance, or the photographer inputs the default value using an input means (not shown) provided in the camera, and the RAM
It is good also as storing in 160.

次いで、ステップS215にて、シャッターが切られたか否かの判定処理を行う。CP
U150は、入力I/F140を介してシャッターボタンSBのシャッター操作信号を受
け取ることでシャッターが切られたと判定する。そして、シャッター操作信号を受け取り
、シャッターが切られたと判定すると(S215:YES)、ステップS216以降の処
理に移る。一方、シャッターが切られていないと判定すると(S215:NO)、ステッ
プS211に戻り、再度ステップS215までの処理を繰り返す。
Next, in step S215, it is determined whether or not the shutter has been released. CP
The U 150 determines that the shutter has been released by receiving the shutter operation signal of the shutter button SB via the input I / F 140. If a shutter operation signal is received and it is determined that the shutter has been released (S215: YES), the process proceeds to step S216 and subsequent steps. On the other hand, if it is determined that the shutter has not been released (S215: NO), the process returns to step S211 and the processes up to step S215 are repeated again.

シャッターが切られると、次のステップS216にて縦方向の画像ズレ量算出処理を行
う。CPU150は、駆動されているX軸検出センサー110が撮影時に検出した回転速
度のデジタルデータと、撮影時におけるカメラの画角およびシャッタースピードと、撮像
素子の縦の画素数とから、縦方向の画像ズレ量を画素数として算出する。
When the shutter is released, vertical image shift amount calculation processing is performed in the next step S216. The CPU 150 determines the image in the vertical direction from the digital data of the rotation speed detected by the driven X-axis detection sensor 110 at the time of shooting, the angle of view and the shutter speed of the camera at the time of shooting, and the number of vertical pixels of the image sensor. The amount of deviation is calculated as the number of pixels.

次に、ステップS217にて横方向の画像ズレ量算出処理を行う。前述したように、1
回目の撮影においては、CPU150はROM170に格納されたデフォルト値を読み出
し、これを横方向の画像ズレ量として算出する。一方、2回目以降の撮影時は、後述する
ステップS222にて横方向の画像ズレ量が記録されているので、CPU150は、この
記録された横方向の画像ズレ量を読み出し、所定の方法で算出した画像ズレ量を2回目以
降の撮影時における横方向の画像ズレ量として算出する。
Next, in step S217, a horizontal image shift amount calculation process is performed. As mentioned above, 1
In the second shooting, the CPU 150 reads a default value stored in the ROM 170 and calculates it as a horizontal image shift amount. On the other hand, at the time of the second and subsequent shootings, since the horizontal image shift amount is recorded in step S222 described later, the CPU 150 reads out the recorded horizontal image shift amount and calculates it by a predetermined method. The calculated image shift amount is calculated as the horizontal image shift amount at the second and subsequent shootings.

本実施例では、記録された横方向の画像ズレ量の単純平均を算出する方法とする。もと
より、平均値以外に、頻度の高いものを選択する算出方法や、重み付けを行って平均を算
出する方法など、記録された横方向の画像ズレ量のバラツキ状況などに応じて算出方法を
選択してもよい。あるいは、最初又は最後に記録された横方向の画像ズレ量や、それまで
の最も大きい横方向の画像ズレ量など、所定の1つの横方向の画像ズレ量を、2回目以降
の撮影時における横方向の画像ズレ量として算出することとしてもよい。
In this embodiment, a simple average of the recorded lateral image shift amounts is calculated. Of course, in addition to the average value, select a calculation method according to the variation status of the recorded horizontal image misalignment, such as a calculation method that selects frequently occurring ones or a method that calculates the average by weighting. May be. Alternatively, a predetermined one horizontal image shift amount, such as the first or last recorded horizontal image shift amount or the largest horizontal image shift amount up to that time, can be used for the second and subsequent shootings. It may be calculated as the image shift amount in the direction.

そして、ステップS216で算出された縦方向の画像ズレ量と、ステップS217で算
出された横方向の画像ズレ量とを用いて、手ぶれ量を推測する処理を行う(ステップS2
18)。前述したように、本実施例では、縦方向の画像ズレ量と横方向の画像ズレ量とを
ベクトル合成した画像ズレ量を手ぶれ量として推測する。
Then, using the vertical image shift amount calculated in step S216 and the horizontal image shift amount calculated in step S217, processing for estimating the amount of camera shake is performed (step S2).
18). As described above, in this embodiment, the image shift amount obtained by vector-combining the image shift amount in the vertical direction and the image shift amount in the horizontal direction is estimated as the camera shake amount.

次いで、ステップS219で、撮影条件を補正する処理を行う。CPU150は、推測
した手ぶれ量に基づいて、実際の撮影時における撮影条件のうちシャッタースピードおよ
び感度を補正する。例えば、撮影画像において被写体の画像に画像ズレが生じていると認
識できるようになる時の画素数を基準画素数とし、手ぶれ量として推測された画素数の基
準画素数に対する割合を計算して、その割合に相当する時間分シャッタースピードを速く
するように補正する。そして、シャッタースピードが速くなった分露出が不足することに
なるため、露出不足分を補うように感度を補正するのである。その後、CPU150は、
このように補正した撮影条件を、カメラに設けられた撮影回路190に出力する。
Next, in step S219, processing for correcting shooting conditions is performed. The CPU 150 corrects the shutter speed and sensitivity among the shooting conditions at the time of actual shooting based on the estimated amount of camera shake. For example, the number of pixels when the image of the subject in the captured image can be recognized as being misaligned is used as the reference pixel number, and the ratio of the pixel number estimated as the amount of camera shake to the reference pixel number is calculated. Correction is made to increase the shutter speed by the time corresponding to the ratio. Since the exposure becomes insufficient due to the increased shutter speed, the sensitivity is corrected so as to compensate for the underexposure. After that, the CPU 150
The shooting conditions corrected in this way are output to the shooting circuit 190 provided in the camera.

次のステップS220からS222は、実際に撮影された撮影画像を用いて横方向の画
像ズレ量を算出する処理である。まず、ステップS220にて、撮影画像を取得する処理
を行う。CPU150は、入力I/F140を介して撮像素子が取り込んだ画像データを
RAM160に格納することで、撮影画像を取得する。
The next steps S220 to S222 are processes for calculating the amount of image misalignment in the horizontal direction using the actually captured image. First, in step S220, a process for acquiring a captured image is performed. The CPU 150 acquires the captured image by storing the image data captured by the image sensor via the input I / F 140 in the RAM 160.

次いで、ステップS221にて、撮影画像を画像解析して横方向の画像ズレ量を算出す
る処理を行う。CPU150は、格納した撮影画像を読み出し、前述したようにエッジ検
出処理を行ったのち、撮影画像から横方向についてのエッジ間に存在する画素数を読み出
すことで横方向の画像ズレ量を算出する。このとき、CPU150は、撮影画像のうちエ
ッジが検出された全ての画像領域についてエッジ間の画素数を読み出し、そのうちの最大
画素数を横方向の画像ズレ量として算出する。もとより、これに限らず、例えば左右両端
部分など所定の画像領域についてのみエッジ間画素数を読み出してもよいし、また、読み
出した画素数の平均値を横方向の画像ズレ量としてもよい。
Next, in step S221, the captured image is subjected to image analysis to calculate a lateral image shift amount. The CPU 150 reads the stored photographed image, performs the edge detection process as described above, and then reads the number of pixels existing between the edges in the lateral direction from the photographed image to calculate the image shift amount in the lateral direction. At this time, the CPU 150 reads out the number of pixels between the edges for all the image areas in which the edge is detected in the captured image, and calculates the maximum number of pixels as the amount of image shift in the horizontal direction. Of course, the present invention is not limited to this, and the number of pixels between edges may be read out only for a predetermined image area such as the left and right ends, or the average value of the number of read out pixels may be used as the horizontal image shift amount.

なお、通常撮影画像に生ずる画像ズレ量は、画素数が数十画素以内である場合が多いこ
とから、エッジ間に存在する画素数が例えば20画素以内など所定の画素数以内となるも
のを、横方向の画像ズレ量として読み出すようにするとよい。こうすれば、処理負荷が軽
減できるとともに、横方向の画像ズレ量を適切に算出する確率が高くなる。
Note that the amount of image shift that occurs in a normal captured image is often within a few tens of pixels, so that the number of pixels existing between edges is within a predetermined number of pixels, for example, within 20 pixels, It is preferable to read out the amount of image shift in the horizontal direction. In this way, the processing load can be reduced, and the probability of appropriately calculating the amount of horizontal image shift increases.

次に、ステップS222にて、横方向の画像ズレ量の記録履歴更新処理を行う。CPU
150は、RAM160の所定の記録領域に、ステップS221にて算出した横方向の画
像ずれ量を格納する。この処理によって、横方向の画像ズレ量の記録履歴が更新処理され
る。
Next, in step S222, a recording history update process for the image shift amount in the horizontal direction is performed. CPU
150 stores the image shift amount in the horizontal direction calculated in step S <b> 221 in a predetermined recording area of the RAM 160. By this process, the recording history of the image shift amount in the horizontal direction is updated.

その後、ステップS211に戻り、処理ステップS211からS222までを次の撮影
時において繰り返すことによって、撮影時に手ぶれ量を推測し撮影画像に発生する被写体
の画像ズレを抑制するのである。
Thereafter, the process returns to step S211, and the processing steps S211 to S222 are repeated at the time of the next shooting, so that the amount of camera shake at the time of shooting is estimated and the image shift of the subject that occurs in the shot image is suppressed.

以上、第1実施例における処理についてフローチャートを用いて説明したが、説明から
明らかなように、第1実施例によれば、横方向については実際に撮影された撮影画像を画
像解析して算出した画像ズレ量を用い、縦方向については検出センサーを用いて算出した
画像ズレ量を用いることで手ぶれ量を推測する。従って、1つの検出センサーによって撮
影画像に生じる画像ズレ量を抑制できるとともに、検出センサーの駆動に伴う消費電流を
抑制することができるため、被写体の画像ズレを抑制し、さらに電池寿命が短くなること
を抑制する手ぶれ検出装置を提供することができる。
As described above, the processing in the first embodiment has been described with reference to the flowchart. As is apparent from the description, according to the first embodiment, the actually captured image is calculated by image analysis in the horizontal direction. The amount of camera shake is estimated by using the amount of image shift and using the amount of image shift calculated using the detection sensor in the vertical direction. Accordingly, it is possible to suppress the amount of image shift that occurs in the photographed image by one detection sensor, and it is possible to suppress current consumption associated with driving of the detection sensor, thereby suppressing image shift of the subject and further shortening the battery life. It is possible to provide a camera shake detection device that suppresses the above.

(第2実施例)
次に、本発明の第2の発明についての一実施例であり、2つの検出センサーによって手
ぶれ量を推側する第2の実施例について説明する。
(Second embodiment)
Next, a second embodiment of the second invention of the present invention, in which the amount of camera shake is estimated by two detection sensors, will be described.

図6は、カメラに組み込まれた第2実施例となる手ぶれ検出装置300の機能ブロック
構成を説明する説明図である。図示したように、手ぶれ検出装置300は、検出センサー
300a、画像ズレ量算出部300b、画像ズレ量選択部300c、手ぶれ量推測部30
0e、撮影条件補正部300f、撮影モード判定部300g、および撮影回数記録部30
0hから構成される。
FIG. 6 is an explanatory diagram for explaining a functional block configuration of a camera shake detection apparatus 300 according to the second embodiment incorporated in a camera. As illustrated, the camera shake detection device 300 includes a detection sensor 300a, an image shift amount calculation unit 300b, an image shift amount selection unit 300c, and a camera shake amount estimation unit 30.
0e, shooting condition correction unit 300f, shooting mode determination unit 300g, and shooting count recording unit 30
It consists of 0h.

検出センサー300aは、本実施例では図1にて説明したX軸周りのピッチとY軸周り
のロールについて、それぞれの回転速度を検出するためのセンサーであり、第1実施例と
同様、どちらも角速度センサーであるものとして扱う。もとより、角加速度センサーや加
速度センサーなど軸周りの速度が測定できる構成を有するセンサーであれば何でも良いこ
とは勿論である。なお、Y軸周りのロールについて回転速度を検出するためのセンサーを
、以降「Y軸検出センサー」とも呼ぶ。
In this embodiment, the detection sensor 300a is a sensor for detecting the rotational speeds of the pitch around the X axis and the roll around the Y axis described in FIG. 1, both of which are the same as in the first embodiment. Treat as an angular velocity sensor. Of course, any sensor having a configuration capable of measuring the speed around the axis, such as an angular acceleration sensor or an acceleration sensor, may be used. A sensor for detecting the rotational speed of the roll around the Y axis is hereinafter also referred to as a “Y axis detection sensor”.

画像ズレ量算出部300bは、この検出センサー300aを駆動し、検出したそれぞれ
の回転速度に基づいて縦方向の画像ズレ量および横方向の画像ズレ量を算出する。もとよ
り、画像ズレ量の算出に際しては、画像ズレ量算出部300bは撮影時のカメラの画角と
シャッタースピード、および撮像素子の縦と横の画素数を取得する。
The image shift amount calculation unit 300b drives the detection sensor 300a and calculates the vertical image shift amount and the horizontal image shift amount based on the detected rotational speeds. Of course, when calculating the image shift amount, the image shift amount calculation unit 300b acquires the angle of view and shutter speed of the camera at the time of shooting, and the number of vertical and horizontal pixels of the image sensor.

画像ズレ量選択部300cは、画像ズレ量算出部300bが算出した横方向の画像ズレ
量と縦方向の画像ズレ量とを比較し、画像ズレ量が大きい方と小さい方を特定する。
The image shift amount selection unit 300c compares the image shift amount in the horizontal direction calculated by the image shift amount calculation unit 300b with the image shift amount in the vertical direction, and identifies the larger image shift amount and the smaller image shift amount.

手ぶれ量推測部300eは、縦方向の画像ズレ量と横方向の画像ズレ量とを用いて手ぶ
れ量を推測する。本実施例では、第1実施例と同様に、縦方向と横方向とは互いに直交す
る方向であるものとする。こうすることで、互いに独立した画像ズレ量を算出することが
できる。従って、手ぶれ量推測部300eは、縦方向の画像ズレ量と横方向の画像ズレ量
とをそれぞれ直交するベクトル成分とし、ベクトル合成した画像ズレ量を撮影時における
手ぶれ量として推測する。
The camera shake amount estimation unit 300e estimates the camera shake amount using the vertical image shift amount and the horizontal image shift amount. In the present embodiment, as in the first embodiment, the vertical direction and the horizontal direction are orthogonal to each other. By doing so, it is possible to calculate image shift amounts independent of each other. Accordingly, the camera shake amount estimation unit 300e estimates the image shift amount in the vertical direction and the image shift amount in the horizontal direction as orthogonal vector components, and estimates the image shift amount obtained by vector synthesis as the camera shake amount at the time of shooting.

撮影条件補正部300fは、第1実施例における撮影条件補正部200fと同様、実際
の撮影時において、設定されたカメラの撮影条件を補正する。第1実施例と同様、本実施
例でもシャッタースピードと感度の撮影条件について、撮影者が撮影に当たって設定した
撮影条件や、カメラが自動で設定した撮影条件を、推測された手ぶれ量に基づいて補正す
る。
The shooting condition correction unit 300f corrects the set shooting conditions of the camera during actual shooting, similar to the shooting condition correction unit 200f in the first embodiment. As in the first embodiment, in this embodiment, the shooting conditions set by the photographer for shooting and the shooting conditions set automatically by the camera are corrected based on the estimated amount of camera shake. To do.

撮影モード判定部300gは、カメラの状態が、シャッターボタンを押してシャッター
を切ると被写体を撮影できる撮影モードの状態であるか否かを判定する。本実施例では、
カメラの電源が入った状態を撮影モードとして判定するものとする。もとより、例えばカ
メラが撮影モードの選択機能を有する場合は、この選択情報を用いて撮影モードを判定す
るものとしても良い。
The shooting mode determination unit 300g determines whether or not the camera is in a shooting mode in which the subject can be shot when the shutter button is pressed and the shutter is released. In this example,
Assume that the camera is turned on as a shooting mode. Of course, for example, when the camera has a shooting mode selection function, the shooting mode may be determined using this selection information.

撮影回数記録部300hは、撮影モード判定部300gが撮影モードであると判定した
後、シャッターを切った回数つまり被写体の撮影回数を記録する。これによって、撮影時
にその撮影が撮影モード状態での何回目の撮影であるかを判定することが可能となる。
The shooting number recording unit 300h records the number of times the shutter is released, that is, the number of shootings of the subject after the shooting mode determination unit 300g determines that the shooting mode is set. Accordingly, it is possible to determine the number of times of shooting in the shooting mode when shooting.

次に、手ぶれ検出装置300の回路構成について説明する。図7は、手ぶれ検出装置3
00の回路構成を説明するブロック図である。手ぶれ検出装置300は、図4に示した手
ぶれ検出装置200に対して、Y軸検出センサー111と、駆動回路131と、アナログ
/デジタル変換回路(A/D)121とが追加されたものである。
Next, a circuit configuration of the camera shake detection apparatus 300 will be described. FIG. 7 shows a camera shake detection device 3
2 is a block diagram illustrating a circuit configuration of 00. FIG. The camera shake detection apparatus 300 is obtained by adding a Y-axis detection sensor 111, a drive circuit 131, and an analog / digital conversion circuit (A / D) 121 to the camera shake detection apparatus 200 shown in FIG. .

駆動回路131は、Y軸検出センサー111を駆動する駆動回路であり、A/D121
は、Y軸検出センサー111からのアナログ出力をCPU150が扱えるデジタル出力に
変換する変換回路である。CPU150などその他の回路構成については、図4に示した
第1の実施例の回路構成と同じであり、従ってここでは説明を省略する。
The drive circuit 131 is a drive circuit that drives the Y-axis detection sensor 111, and is an A / D 121.
Is a conversion circuit that converts an analog output from the Y-axis detection sensor 111 into a digital output that can be handled by the CPU 150. The other circuit configurations such as the CPU 150 are the same as the circuit configuration of the first embodiment shown in FIG.

CPU150は、ROM170に格納されたプログラムを読み出し、所定のオペレーテ
ィングシステムのもとで実行することによって所定の処理を行う。CPU150は、必要
に応じてデジタルデータをRAM160に記録したり、RAM160やROM170から
必要なデジタルデータを読み出したり、あるいは所定のデジタルデータを出力I/F18
0を介して撮影回路190に出力したりして、図8のフローチャートに示した処理を実行
する。
The CPU 150 performs a predetermined process by reading a program stored in the ROM 170 and executing it under a predetermined operating system. The CPU 150 records digital data in the RAM 160 as necessary, reads out necessary digital data from the RAM 160 and the ROM 170, or outputs predetermined digital data to the output I / F 18.
8 is output to the photographing circuit 190 via 0, and the process shown in the flowchart of FIG. 8 is executed.

それでは、第2実施例における手ぶれ検出装置300が行う処理について、図8のフロ
ーチャートに従って説明する。この処理が開始されると、まずステップS311にて撮影
モードか否かを判定する処理を行う。本実施例では、前述したように、図示しない電源ス
イッチによって、カメラの電源が入った状態を撮影モードとしてCPU150は判定する
ものとする。
The processing performed by the camera shake detection apparatus 300 in the second embodiment will be described with reference to the flowchart of FIG. When this process is started, first, in step S311, a process for determining whether or not the photographing mode is set is performed. In this embodiment, as described above, it is assumed that the CPU 150 determines that the camera is turned on as a shooting mode by a power switch (not shown).

次いで、CPU150は、撮影モードであると判定すると(S311:YES)、撮影
が1回目であるか否かを判定する処理を行う(ステップS312)。一方、カメラの電源
が切られて撮影モードでないと判定されると(S311:NO)、ここでの処理は終了す
る。
Next, when the CPU 150 determines that the shooting mode is set (S311: YES), the CPU 150 performs processing for determining whether or not shooting is the first time (step S312). On the other hand, if it is determined that the camera is turned off and not in the shooting mode (S311: NO), the process here ends.

ステップS312では、CPU150は、入力I/F140を介してシャッターボタン
SBのシャッター操作信号を受け取ることでシャッターが切られたことを把握し、都度R
AM160の所定の記録領域にデータを書き込むことによって撮影回数を格納する。従っ
て、CPU150は、書き込みに先んじて所定の記録領域に格納されたデータを読み出す
ことによって撮影回数を判定する。ちなみに、格納されたデータが存在しない場合は1回
目の撮影であると判定する。
In step S312, the CPU 150 recognizes that the shutter has been released by receiving the shutter operation signal of the shutter button SB via the input I / F 140, and each time R
The number of photographing is stored by writing data in a predetermined recording area of the AM 160. Therefore, the CPU 150 determines the number of times of photographing by reading data stored in a predetermined recording area prior to writing. Incidentally, if the stored data does not exist, it is determined that the shooting is the first time.

そして、撮影が1回目であると判定されると(S312:YES)、X軸とY軸の2つ
の検出センサーを駆動する処理を行う(ステップS313)。CPU150は、駆動回路
130と駆動回路131とによってX軸検出センサー110とY軸検出センサー111と
を駆動する。
If it is determined that the image capturing is the first time (S312: YES), a process of driving the two detection sensors of the X axis and the Y axis is performed (step S313). The CPU 150 drives the X-axis detection sensor 110 and the Y-axis detection sensor 111 with the drive circuit 130 and the drive circuit 131.

一方、撮影が1回目でないと判定されると(S312:NO)、駆動対象の検出センサ
ーを駆動する処理を行う(ステップS314)。駆動対象の検出センサーは、X軸検出セ
ンサー110か又はY軸検出センサー111かのどちらか1つであり、撮影が1回目のと
きに行われる処理ステップS325からS329の処理によって決定される。ステップS
325からS329の処理については後述する。
On the other hand, if it is determined that the shooting is not the first time (S312: NO), a process of driving the detection sensor to be driven is performed (step S314). The detection sensor to be driven is either one of the X-axis detection sensor 110 or the Y-axis detection sensor 111, and is determined by the processing steps S325 to S329 performed at the first imaging. Step S
The processing from 325 to S329 will be described later.

次いで、ステップS315にて、シャッターが切られたか否かの判定処理を行う。前述
したようにCPU150は、入力I/F140を介してシャッターボタンSBのシャッタ
ー操作信号を受け取ることでシャッターが切られたと判定する。そして、シャッター操作
信号を受け取り、シャッターが切られたと判定すると(S315:YES)、ステップS
316以降の処理に移る。一方、シャッターが切られていないと判定すると(S315:
NO)、ステップS311に戻り、再度ステップS315までの処理を繰り返す。
Next, in step S315, it is determined whether or not the shutter has been released. As described above, the CPU 150 determines that the shutter has been released by receiving the shutter operation signal of the shutter button SB via the input I / F 140. When the shutter operation signal is received and it is determined that the shutter has been released (S315: YES), step S
The process proceeds to 316 and later. On the other hand, if it is determined that the shutter has not been released (S315:
NO), it returns to step S311, and repeats the process up to step S315 again.

シャッターが切られると、次のステップS316にて縦方向の画像ズレ量算出処理を、
その次のステップS317にて横方向の画像ズレ量算出処理を行う。このとき、前述した
ように、1回目の撮影においては、ステップS313にて2つの検出センサーが駆動され
ている。一方、2回目以降の撮影ではステップS314にて駆動対象の検出センサー1つ
のみが駆動されている。従って、1回目の撮影時と2回目以降の撮影時とでは、ステップ
S316とS317にて行う画像ズレ量算出処理の内容が異なることになる。
When the shutter is released, the vertical image shift amount calculation processing is performed in the next step S316.
In the next step S317, a horizontal image shift amount calculation process is performed. At this time, as described above, in the first photographing, the two detection sensors are driven in step S313. On the other hand, in the second and subsequent shootings, only one detection sensor to be driven is driven in step S314. Therefore, the contents of the image shift amount calculation processing performed in steps S316 and S317 are different between the first shooting and the second and subsequent shootings.

そこで、まず1回目の撮影時における処理内容について説明する。1回目の撮影時では
、ステップS316にて、CPU150は駆動されているX軸検出センサー110が撮影
時に検出した回転速度のデジタルデータと、撮影時におけるカメラの画角およびシャッタ
ースピードと、撮像素子の縦の画素数とから、縦方向の画像ズレ量を画素数として算出す
る。
Therefore, first, processing contents at the time of the first photographing will be described. At the time of the first shooting, in step S316, the CPU 150 detects the rotational speed digital data detected by the driven X-axis detection sensor 110 at the time of shooting, the camera angle of view and the shutter speed at the time of shooting, and the image sensor. From the number of vertical pixels, the amount of image shift in the vertical direction is calculated as the number of pixels.

次に、ステップS317では、CPU150は、駆動されているY軸検出センサー11
1が撮影時に検出した回転速度のデジタルデータと、撮影時におけるカメラの画角および
シャッタースピードと、撮像素子の横の画素数とから、横方向の画像ズレ量を画素数とし
て算出する。
Next, in step S317, the CPU 150 causes the driven Y-axis detection sensor 11 to be driven.
A horizontal image shift amount is calculated as the number of pixels from digital data of rotational speed 1 detected at the time of shooting, the angle of view and shutter speed of the camera at the time of shooting, and the number of horizontal pixels of the image sensor.

そして、次のステップS318にて、ステップS316で算出された縦方向の画像ズレ
量と、ステップS317で算出された横方向の画像ズレ量とを用いて、手ぶれ量を推測す
る処理を行う。前述したように、本実施例では、縦方向の画像ズレ量と横方向の画像ズレ
量とをベクトル合成した画像ズレ量を手ぶれ量として推測する。
In the next step S318, the amount of camera shake is estimated using the vertical image shift amount calculated in step S316 and the horizontal image shift amount calculated in step S317. As described above, in this embodiment, the image shift amount obtained by vector-combining the image shift amount in the vertical direction and the image shift amount in the horizontal direction is estimated as the camera shake amount.

次いで、ステップS319で、撮影条件を補正する処理を行う。CPU150は、推測
した手ぶれ量に基づいて、実際の撮影時におけるシャッタースピードまたは感度の撮影条
件を補正する。例えば、撮影画像において被写体の画像に画像ズレが生じていると認識で
きるようになる時の画素数を基準画素数とし、手ぶれ量として推測された画素数の基準画
素数に対する割合を計算して、その割合に相当する時間分シャッタースピードを速くする
ように補正する。そして、シャッタースピードが速くなった分露出が不足することになる
ため、露出不足分を補うように感度を補正するのである。その後、CPU150は、この
ように補正した撮影条件を、カメラに設けられた撮影回路190に出力する。
Next, in step S319, processing for correcting the shooting conditions is performed. The CPU 150 corrects the shooting condition of the shutter speed or sensitivity at the time of actual shooting based on the estimated amount of camera shake. For example, the number of pixels when the image of the subject in the captured image can be recognized as being misaligned is used as the reference pixel number, and the ratio of the pixel number estimated as the amount of camera shake to the reference pixel number is calculated. Correction is made to increase the shutter speed by the time corresponding to the ratio. Since the exposure becomes insufficient due to the increased shutter speed, the sensitivity is corrected so as to compensate for the underexposure. Thereafter, the CPU 150 outputs the shooting conditions corrected in this way to the shooting circuit 190 provided in the camera.

次のステップS320にて、再び撮影が1回目か否かを判定する処理を行う。そして、
撮影が1回目であると判定されると(S320:YES)、縦方向の画像ズレ量が横方向
の画像ズレ量より大きいか否かを判定する処理を行う(ステップS325)。そして、縦
方向の画像ズレ量が大きい場合は(S325:YES)、処理ステップS326とS32
7とを実行し、縦方向の画像ズレ量が大きくない場合は(S325:NO)、処理ステッ
プS328とS329とを実行する。
In the next step S320, a process of determining again whether or not the photographing is the first time is performed. And
If it is determined that shooting is the first time (S320: YES), it is determined whether or not the vertical image shift amount is larger than the horizontal image shift amount (step S325). If the amount of image shift in the vertical direction is large (S325: YES), processing steps S326 and S32 are performed.
7 is executed, and when the image shift amount in the vertical direction is not large (S325: NO), processing steps S328 and S329 are executed.

縦方向の画像ズレ量が大きい場合、ステップS326にて、縦方向の画像ズレ量算出に
用いるX軸検出センサーを駆動対象の検出センサーとする処理を行う。そして、ステップ
S327にて、横方向の画像ズレ量を以降の算出に用いる横方向の画像ズレ量とする処理
を行う。これらの処理によって、2回目以降の撮影時は、ステップS314ではX軸検出
センサーのみを駆動するように、また、ステップS317では1回目の撮影時に算出され
た横方向の画像ズレ量をそのまま用いるようにするのである。
If the image shift amount in the vertical direction is large, in step S326, a process for setting the X-axis detection sensor used for calculating the image shift amount in the vertical direction as a detection sensor to be driven is performed. In step S327, a process of converting the horizontal image shift amount to the horizontal image shift amount used for the subsequent calculation is performed. With these processes, at the time of the second and subsequent shooting, only the X-axis detection sensor is driven in step S314, and in step S317, the horizontal image shift amount calculated at the time of the first shooting is used as it is. To do.

一方、縦方向の画像ズレ量が大きくない場合、ステップS328にて、横方向の画像ズ
レ量算出に用いるY軸検出センサーを駆動対象の検出センサーとする処理を行う。そして
、ステップS329にて、縦方向の画像ズレ量を以降の算出に用いる縦方向の画像ズレ量
とする処理を行う。これらの処理によって、2回目以降の撮影時は、ステップS314で
はY軸検出センサーのみを駆動するように、また、ステップS317では1回目の撮影時
に算出された縦方向の画像ズレ量をそのまま用いるようにするのである。
On the other hand, if the image shift amount in the vertical direction is not large, in step S328, a process is performed in which the Y-axis detection sensor used for calculating the image shift amount in the horizontal direction is a detection sensor to be driven. In step S329, the vertical image shift amount is used as the vertical image shift amount used for the subsequent calculation. With these processes, at the time of the second and subsequent shooting, only the Y-axis detection sensor is driven in step S314, and in step S317, the vertical image shift amount calculated at the time of the first shooting is used as it is. To do.

以上説明した1回目の撮影に際しての処理(ステップS325からS329)が終了す
ると、ステップS311に戻り2回目以降の撮影について処理を実行する。2回目以降の
撮影時に行われる処理について、1回目の撮影時との違いを主に説明する。
When the processing at the time of the first shooting described above (steps S325 to S329) is completed, the process returns to step S311 to execute processing for the second and subsequent shootings. The difference between the first and second shootings will be mainly described in the processing performed at the second and subsequent shootings.

ステップS311にて撮影モードが継続していると判定されると(YES)、撮影が2
回目以降であることから(S312:NO)、ステップS314にて駆動対象の検出セン
サーのみ駆動される。駆動対象の検出センサーは、上述したようにステップS326また
はS328にて決定処理され、X軸検出センサーまたはY軸検出センサーのどちらか1つ
の検出センサーになる。
If it is determined in step S311 that the shooting mode is continued (YES), the shooting is 2
Since it is after the first time (S312: NO), only the detection sensor to be driven is driven in step S314. The detection sensor to be driven is determined in step S326 or S328 as described above, and becomes one of the X-axis detection sensor and the Y-axis detection sensor.

そして、シャッターが切られると(ステップS315:YES)ステップS316とS
317の処理が行われるが、このとき、ステップS327またはS329にて行われた処
理により、縦方向の画像ズレ量または横方向の画像ズレ量について、一方は1回目の撮影
時に算出された同方向の画像ズレ量を用い、他方は駆動されている検出センサーを用いて
画像ズレ量を算出するのである。
When the shutter is released (step S315: YES), steps S316 and S316 are performed.
The process 317 is performed. At this time, one of the vertical image shift amount and the horizontal image shift amount is the same direction calculated at the time of the first shooting by the process performed in step S327 or S329. The other image displacement amount is calculated by using the detection sensor that is driven.

ちなみに、1回目の撮影時にて縦方向の画像ズレ量が大きいと判定された場合、ステッ
プS314ではX軸検出センサーを駆動する処理を行い、ステップS317では、1回目
の撮影時に算出された横方向の画像ズレ量をそのまま2回目以降の横方向の画像ズレ量と
して算出する処理を行うのである。
Incidentally, if it is determined that the amount of image shift in the vertical direction is large at the time of the first shooting, the process of driving the X-axis detection sensor is performed at step S314, and the horizontal direction calculated at the time of the first shooting is performed at step S317. That is, a process of calculating the image deviation amount as it is as the image deviation amount in the horizontal direction after the second time is performed.

その後、手ぶれ量を推測する処理(ステップS318)、撮影条件を補正する処理(ス
テップS319)を行い、撮影が2回目以降であると(ステップS320:NO)、再び
撮影モードの判定処理(ステップS311)に戻って、上述した2回目以降についての処
理を繰り返す。そして、撮影モードの終了(S311:NO)によって第2実施例におけ
る手ぶれ検出装置の処理を終了する。
Thereafter, a process for estimating the amount of camera shake (step S318) and a process for correcting the shooting condition (step S319) are performed. If the shooting has been performed for the second time or later (step S320: NO), the shooting mode determination process (step S311) is performed again. ) And the process for the second time and later is repeated. Then, when the shooting mode ends (S311: NO), the processing of the camera shake detection apparatus in the second embodiment is ended.

以上、第2実施例における処理についてフローチャートを用いて説明したが、説明から
明らかなように、第2実施例によれば、撮影モードの継続中において、1回目の撮影時は
2つの検出センサーを駆動して手ぶれ量を推測し、2回目以降の撮影時は、1回目の撮影
時に画像ズレ量の大きい方と判定された方向に対応する検出センサーのみ駆動して手ぶれ
量を推測する。従って、2回目以降の撮影については、1つの検出センサーによって撮影
画像に生じる画像ズレ量を抑制するとともに、検出センサーの駆動に伴う消費電流を抑制
することができるため、被写体の画像ズレを抑制するとともに、電池寿命が短くなること
を抑制する手ぶれ検出装置を提供することができる。
As described above, the processing in the second embodiment has been described using the flowchart. As is apparent from the description, according to the second embodiment, two detection sensors are used for the first shooting while the shooting mode is continued. The amount of camera shake is estimated by driving, and during the second and subsequent shootings, only the detection sensor corresponding to the direction determined to have the larger image shift amount during the first shooting is driven to estimate the amount of camera shake. Therefore, for the second and subsequent shootings, the amount of image misalignment generated in the captured image by one detection sensor can be suppressed, and current consumption associated with driving of the detection sensor can be suppressed. In addition, it is possible to provide a camera shake detection device that suppresses a reduction in battery life.

上述したように、本発明を具体化した第1実施例および第2実施例によれば、検出セン
サーによって撮影画像に生じる被写体の画像のズレ量を抑制するとともに、電池寿命の短
命化を抑制する手ぶれ検出装置を提供することができる。
As described above, according to the first and second embodiments embodying the present invention, the amount of deviation of the image of the subject generated in the captured image by the detection sensor is suppressed, and the shortening of the battery life is suppressed. A camera shake detection device can be provided.

以上、本発明について2つの実施例を用いて説明したが、本発明はこうした実施例に何
ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内において様々な形態で実施
し得ることは勿論である。
As mentioned above, although this invention was demonstrated using two Examples, this invention is not limited to such Examples at all, and can be implemented with various forms within the range which does not deviate from the meaning of this invention. Of course.

(第1変形例)
例えば、上記第1実施例では、駆動する1つの検出センサーを、図1にて説明したX軸
周りのピッチについての回転速度を検出するためのX軸検出センサーとしたが、Y軸周り
のロールについての回転速度を検出するY軸検出センサーとしてもよい。
(First modification)
For example, in the first embodiment, one detection sensor to be driven is the X-axis detection sensor for detecting the rotation speed about the pitch around the X axis described in FIG. It is good also as a Y-axis detection sensor which detects the rotational speed about.

撮影時、縦方向よりも横方向への手ぶれを生じやすい状況が予測される場合などは、Y
軸検出センサーによって、撮影画像における被写体の実際の横方向の画像ズレ量を算出す
ることによって、推測する手ぶれ量は実際に生じる手ぶれ量に近くなることが期待できる
。従って、被写体の画像ズレ量を正しく抑制するように撮影条件を補正できる確率が高く
なる。
If it is predicted that camera shake will be more likely to occur in the horizontal direction than in the vertical direction when shooting, Y
By calculating the actual lateral image shift amount of the subject in the captured image by the axis detection sensor, it can be expected that the estimated camera shake amount is close to the actual camera shake amount. Therefore, the probability that the shooting conditions can be corrected so as to correctly suppress the image shift amount of the subject increases.

(第2変形例)
また、上記第1実施例では、横方向の画像ズレ量の算出に際しては、実際に撮影した撮
影画像を用いて画像解析を行ったが、撮影画像ではなく、カメラに備えられた図示しない
モニターに所定の時間間隔で表示されるスルー画像を用いて画像解析を行うこととしても
よい。
(Second modification)
In the first embodiment, when the amount of image misalignment in the horizontal direction is calculated, image analysis is performed using the actually captured image. However, the image is not captured but is displayed on a monitor (not shown) provided in the camera. Image analysis may be performed using through images displayed at predetermined time intervals.

実施例における説明から分かるように、実際に撮影される撮影画像は、推測された手ぶ
れ量に基づいて補正された撮影条件にて撮影されるため、横方向の画像ズレ量が抑制され
た画像になっている場合が多いと推定される。従って、このような場合、撮影画像を画像
解析して算出される横方向の画像ズレ量については、撮影時における実際の横方向の手ぶ
れによって生じる被写体の画像ズレ量よりも小さいズレ量が算出されることになる。
As can be seen from the description in the embodiment, the actually captured image is captured under the image capturing condition corrected based on the estimated amount of camera shake, so that the image displacement amount in the horizontal direction is suppressed. It is estimated that there are many cases. Therefore, in such a case, the lateral image shift amount calculated by image analysis of the captured image is calculated as a shift amount smaller than the image shift amount of the subject caused by the actual horizontal camera shake at the time of shooting. Will be.

一方、スルー画像は、推測された手ぶれ量に基づいて補正される前の撮影条件にて、撮
像素子が取り込む被写体の画像であることから、撮影画像を画像解析して得られる横方向
の画像ズレ量よりも、撮影時における実際の横方向の手ぶれによって生じる被写体の画像
ズレ量に近くなることが期待できる。従って、スルー画像を記憶するためのメモリが必要
になるものの、スルー画像を画像解析して得られる横方向の画像ズレ量を用いて推測する
手ぶれ量は、実際の手ぶれ量に近づく確率が高くなる。もとより、画像解析に用いるスル
ー画像は、実際の撮影時に時間的に最も近い画像が好ましい。
On the other hand, a through image is an image of a subject that is captured by an image pickup device under shooting conditions before correction based on an estimated amount of camera shake, and thus a horizontal image shift obtained by image analysis of the shot image. It can be expected to be closer to the image displacement amount of the subject caused by the actual lateral camera shake at the time of shooting than the amount. Therefore, although a memory for storing the through image is required, the amount of camera shake estimated using the amount of horizontal image shift obtained by image analysis of the through image is more likely to approach the actual amount of camera shake. . Of course, the through image used for image analysis is preferably the closest image in terms of time during actual shooting.

(第3変形例)
また、第2実施例では、駆動する2つの検出センサーを、X軸周りの回転速度とY軸周
りの回転速度とを検出する検出センサーとしたが、2つの検出センサーをX軸周りの回転
速度とZ軸周りの回転速度とを検出する検出センサーとしてもよい。あるいは、2つの検
出センサーをY軸周りの回転速度とZ軸周りの回転速度とを検出する検出センサーとして
もよい。
(Third Modification)
In the second embodiment, the two detection sensors to be driven are detection sensors that detect the rotation speed around the X axis and the rotation speed around the Y axis. However, the two detection sensors are rotation speeds around the X axis. And a detection sensor for detecting the rotation speed around the Z axis. Alternatively, the two detection sensors may be detection sensors that detect the rotational speed around the Y axis and the rotational speed around the Z axis.

第2実施例では、Z軸周りの回転が起こりにくい場合を想定したことから、X軸検出セ
ンサーとY軸検出センサーとしたが、撮影者の撮影方法やカメラの構造などに依存してZ
軸周りの回転が生じやすい場合も想定される。従って、このような場合はZ軸周りの回転
速度を検出することによって、手ぶれ量をより正しく推測できることになる。
In the second embodiment, since it is assumed that rotation around the Z-axis is difficult to occur, the X-axis detection sensor and the Y-axis detection sensor are used. However, depending on the shooting method of the photographer, the structure of the camera, etc.
A case where rotation around an axis is likely to occur is also assumed. Therefore, in such a case, the amount of camera shake can be estimated more correctly by detecting the rotational speed around the Z axis.

(第4変形例)
また、第2実施例では、2回目以降の撮影時において、横方向の画像ズレ量もしくは縦
方向の画像ズレ量のどちらかを、1回目の撮影時に算出されたそれぞれの画像ズレ量をそ
のまま画像ズレ量として算出処理した。本変形例では、2回目以降の撮影時において、駆
動される1つの検出センサーから算出される画像ズレ量のみを用い、1回目の撮影時にお
いて算出された横方向もしくは縦方向の画像ズレ量を用いないこととしてもよい。
(Fourth modification)
In the second embodiment, in the second and subsequent shootings, either the horizontal image shift amount or the vertical image shift amount is used as the image shift amount calculated in the first shooting as it is. The amount of deviation was calculated. In this modification, only the image shift amount calculated from one detection sensor that is driven is used at the second and subsequent shootings, and the horizontal or vertical image shift amount calculated at the first shooting is used. It is good also as not using.

撮影者の撮影方法によっては、縦方向に対して横方向に大きく手ぶれを生じたり、逆に
横方向に対して縦方向に大きく手ぶれを生じたりする場合が想定される。このような場合
は、1回目の撮影で判定された画像ズレ量の大きい方の方向についてのみ、2回目以降の
撮影時において画像ズレ量を算出し、この1方向の画像ズレ量を用いて推測した手ぶれ量
でも、撮影時に生じる実際の手ぶれ量に近くなることが期待できる。こうすれば、2回目
以降の撮影においては、1つの画像ズレ量についてのみ処理を行うことになり、処理負荷
を軽減できる。
Depending on the shooting method of the photographer, there may be a case where a large amount of camera shake occurs in the horizontal direction with respect to the vertical direction, or a large amount of camera shake occurs in the vertical direction with respect to the horizontal direction. In such a case, the image shift amount is calculated in the second and subsequent shootings only in the direction of the larger image shift amount determined in the first shooting, and is estimated using the image shift amount in the one direction. Even with the amount of camera shake, it can be expected to be close to the actual amount of camera shake that occurs during shooting. In this way, in the second and subsequent shootings, only one image shift amount is processed, and the processing load can be reduced.

(第5変形例)
また、上記第1および第2実施例では、縦方向と横方向の2つの画像ズレ方向を、互い
に直交する方向としたが、これに限らず、2つの画像ズレ方向を互いに直交しない方向と
してもよい。例えば、カメラの構造に起因して、カメラの動きが特定の方向へ顕著に移動
する場合がある。あるいは、第2実施例において2つの検出センサーをカメラに備えると
き、カメラの構造に起因して2つの検出センサーを直交状態で備えることが困難な場合が
ある。これらのような場合、顕著な移動方向を画像ズレ方向として算出したり、備えられ
た検出センサーの軸方向に従った方向を画像ズレ量として算出したりするとよい。こうす
れば、カメラの動き方向と検出センサーの検出方向とが同じになり、適切に手ぶれ量を推
測する確率が高くなる。
(5th modification)
In the first and second embodiments, the two image shift directions in the vertical direction and the horizontal direction are orthogonal to each other. However, the present invention is not limited to this, and the two image shift directions may be directions that are not orthogonal to each other. Good. For example, due to the structure of the camera, the movement of the camera may move significantly in a specific direction. Alternatively, when the camera includes two detection sensors in the second embodiment, it may be difficult to provide the two detection sensors in an orthogonal state due to the structure of the camera. In such cases, it is preferable to calculate a noticeable moving direction as the image shift direction, or to calculate a direction according to the axial direction of the provided detection sensor as the image shift amount. By doing this, the direction of movement of the camera and the direction of detection of the detection sensor become the same, and the probability of appropriately estimating the amount of camera shake increases.

110…X軸検出センサー、111…Y軸検出センサー、120…A/D、121…A
/D、130…駆動回路、131…駆動回路、140…入力I/F、150…CPU、1
60…RAM、170…ROM、180…出力I/F、190…撮影回路、200…手ぶ
れ検出装置、200a…検出センサー、200b…第1の画像ズレ量算出部、200c…
第2の画像ズレ量算出部、200d…画像ズレ量記録部、200e…手ぶれ量推測部、2
00f…撮影条件補正部、300…手ぶれ検出装置、300a…検出センサー、300b
…画像ズレ量算出部、300c…画像ズレ量選択部、300e…手ぶれ量推測部、300
f…撮影条件補正部、300g…撮影モード判定部、300h…撮影回数記録部。
110 ... X-axis detection sensor, 111 ... Y-axis detection sensor, 120 ... A / D, 121 ... A
/ D, 130 ... drive circuit, 131 ... drive circuit, 140 ... input I / F, 150 ... CPU, 1
60 ... RAM, 170 ... ROM, 180 ... output I / F, 190 ... shooting circuit, 200 ... camera shake detection device, 200a ... detection sensor, 200b ... first image shift amount calculation unit, 200c ...
Second image deviation amount calculation unit, 200d... Image deviation amount recording unit, 200e.
00f: photographing condition correction unit, 300: camera shake detection device, 300a: detection sensor, 300b
... image deviation amount calculation unit, 300c ... image deviation amount selection unit, 300e ... camera shake amount estimation unit, 300
f ... Shooting condition correction unit, 300g ... Shooting mode determination unit, 300h ... Shooting number recording unit.

Claims (6)

被写体の撮影時に生じるカメラの手ぶれ量を検出する手ぶれ検出装置であって、
前記カメラの所定の2つの軸となる第1の軸と第2の軸とについて、各々の軸まわりの
回転速度となる第1の回転速度と第2の回転速度とをそれぞれ検出するための第1の検出
センサーと第2の検出センサーとを有し、
少なくとも、
(1)前記第1の検出センサーを駆動して前記第1の回転速度を検出し、前記カメラが
撮影する被写体の画像について、第1の方向の画像ズレ量となる第1の画像ズレ量を、前
記第1の回転速度に基づいて算出すること、または、
(2)前記第2の検出センサーを駆動して前記第2の回転速度を検出し、前記カメラが
撮影する被写体の画像について、第2の方向の画像ズレ量となる第2の画像ズレ量を、前
記第2の回転速度に基づいて算出すること、を行う画像ズレ量算出部と、
算出された前記第1の画像ズレ量と算出された前記第2の画像ズレ量とを比較し、画像
ズレ量の小さい方に対応する検出センサーの駆動を禁止する検出センサー制御部と
を備えた手ぶれ検出装置。
A camera shake detection device that detects the amount of camera shake that occurs during shooting of a subject,
A first rotation speed and a second rotation speed for detecting a first rotation speed and a second rotation speed, each of which is a rotation speed around each of the first and second axes, which are predetermined two axes of the camera. Having a first detection sensor and a second detection sensor;
at least,
(1) The first detection sensor is driven to detect the first rotation speed, and a first image shift amount that is an image shift amount in a first direction is detected with respect to an image of a subject photographed by the camera. Calculating based on the first rotational speed, or
(2) The second detection sensor is driven to detect the second rotation speed, and a second image shift amount that is an image shift amount in the second direction is detected for an image of a subject photographed by the camera. An image shift amount calculation unit that performs calculation based on the second rotation speed;
A detection sensor control unit that compares the calculated first image shift amount with the calculated second image shift amount and prohibits driving of the detection sensor corresponding to the smaller image shift amount; Camera shake detection device.
請求項1に記載の手ぶれ検出装置であって、
前記検出センサー制御部が第2の検出センサーの駆動を禁止しているときは、前記第1
の画像ズレ量と、前記検出センサー制御部が第2の検出センサーの駆動を禁止する前の前
記第2の画像ズレ量とを用いて、前記カメラの手ぶれ量を推測し、
前記検出センサー制御部が第1の検出センサーの駆動を禁止しているときは、前記第2
の画像ズレ量と、前記検出センサー制御部が第1の検出センサーの駆動を禁止する前の前
記第1の画像ズレ量とを用いて、前記カメラの手ぶれ量を推測する手ぶれ量推測部をさら
に備えることを
特徴とする手ぶれ検出装置。
The camera shake detection device according to claim 1,
When the detection sensor control unit prohibits the driving of the second detection sensor, the first sensor
Using the image shift amount and the second image shift amount before the detection sensor control unit prohibits driving of the second detection sensor, the camera shake amount of the camera is estimated,
When the detection sensor control unit prohibits driving of the first detection sensor, the second
And a camera shake amount estimation unit that estimates the camera shake amount of the camera using the first image shift amount before the detection sensor control unit prohibits driving of the first detection sensor. A camera shake detection device characterized by comprising:
請求項1又は2に記載の手ぶれ検出装置であって、
前記撮影画像についての前記第1の方向と前記第2の方向とは、互いに直交する方向で
あることを特徴とする手ぶれ検出装置。
The camera shake detection device according to claim 1 or 2,
The camera shake detection device according to claim 1, wherein the first direction and the second direction of the captured image are orthogonal to each other.
被写体の撮影時に生じるカメラの手ぶれ量を検出するカメラであって、
前記カメラの所定の2つの軸となる第1の軸と第2の軸とについて、各々の軸まわりの
回転速度となる第1の回転速度と第2の回転速度とをそれぞれ検出するための第1の検出
センサーと第2の検出センサーとを有し、
少なくとも、
(1)前記第1の検出センサーを駆動して前記第1の回転速度を検出し、前記カメラが
撮影する被写体の画像について、第1の方向の画像ズレ量となる第1の画像ズレ量を、前
記第1の回転速度に基づいて算出すること、または、
(2)前記第2の検出センサーを駆動して前記第2の回転速度を検出し、前記カメラが
撮影する被写体の画像について、第2の方向の画像ズレ量となる第2の画像ズレ量を、前
記第2の回転速度に基づいて算出すること、を行う画像ズレ量算出部と、
算出された前記第1の画像ズレ量と算出された前記第2の画像ズレ量とを比較し、画像
ズレ量の小さい方に対応する検出センサーの駆動を禁止する検出センサー制御部と
を備えたカメラ。
A camera that detects the amount of camera shake that occurs when shooting a subject,
A first rotation speed and a second rotation speed for detecting a first rotation speed and a second rotation speed, each of which is a rotation speed around each of the first and second axes, which are predetermined two axes of the camera. Having a first detection sensor and a second detection sensor;
at least,
(1) The first detection sensor is driven to detect the first rotation speed, and a first image shift amount that is an image shift amount in a first direction is detected with respect to an image of a subject photographed by the camera. Calculating based on the first rotational speed, or
(2) The second detection sensor is driven to detect the second rotation speed, and a second image shift amount that is an image shift amount in the second direction is detected for an image of a subject photographed by the camera. An image shift amount calculation unit that performs calculation based on the second rotation speed;
A detection sensor control unit that compares the calculated first image shift amount with the calculated second image shift amount and prohibits driving of the detection sensor corresponding to the smaller image shift amount; camera.
所定の2つの軸となる第1の軸と第2の軸とについて、各々の軸まわりの回転速度とな
る第1の回転速度と第2の回転速度とをそれぞれ検出するための第1の検出センサーと第
2の検出センサーとを有するカメラの手ぶれ量を検出する手ぶれ検出方法であって、
少なくとも、
(1)前記第1の検出センサーを駆動して前記第1の回転速度を検出し、前記カメラが
撮影する被写体の画像について、第1の方向の画像ズレ量となる第1の画像ズレ量を、前
記第1の回転速度に基づいて算出すること、または、
(2)前記第2の検出センサーを駆動して前記第2の回転速度を検出し、前記カメラが
撮影する被写体の画像について、第2の方向の画像ズレ量となる第2の画像ズレ量を、前
記第2の回転速度に基づいて算出すること、を行う画像ズレ量算出工程と、
算出された前記第1の画像ズレ量と算出された前記第2の画像ズレ量とを比較し、画像
ズレ量の小さい方に対応する検出センサーの駆動を禁止する検出センサー制御工程と、を
備えることを特徴とする手ぶれ検出方法。
First detection for detecting a first rotation speed and a second rotation speed, which are rotation speeds around the respective axes, for a first axis and a second axis that are predetermined two axes. A camera shake detection method for detecting a camera shake amount of a camera having a sensor and a second detection sensor,
at least,
(1) The first detection sensor is driven to detect the first rotation speed, and a first image shift amount that is an image shift amount in a first direction is detected with respect to an image of a subject photographed by the camera. Calculating based on the first rotational speed, or
(2) The second detection sensor is driven to detect the second rotation speed, and a second image shift amount that is an image shift amount in the second direction is detected for an image of a subject photographed by the camera. An image shift amount calculation step of performing calculation based on the second rotation speed;
A detection sensor control step of comparing the calculated first image shift amount with the calculated second image shift amount and prohibiting driving of the detection sensor corresponding to the smaller image shift amount. A camera shake detection method characterized by that.
所定の2つの軸となる第1の軸と第2の軸とについて、各々の軸まわりの回転速度とな
る第1の回転速度と第2の回転速度とをそれぞれ検出するための第1の検出センサーと第
2の検出センサーとを有カメラの手ぶれ量を検出する手ぶれ検出プログラムであって、
少なくとも、
(1)前記第1の検出センサーを駆動して前記第1の回転速度を検出し、前記カメラが
撮影する被写体の画像について、第1の方向の画像ズレ量となる第1の画像ズレ量を、前
記第1の回転速度に基づいて算出すること、または、
(2)前記第2の検出センサーを駆動して前記第2の回転速度を検出し、前記カメラが
撮影する被写体の画像について、第2の方向の画像ズレ量となる第2の画像ズレ量を、前
記第2の回転速度に基づいて算出すること、を行う画像ズレ量算出機能と、
算出された前記第1の画像ズレ量と算出された前記第2の画像ズレ量とを比較し、画像
ズレ量の小さい方に対応する検出センサーの駆動を禁止する検出センサー制御機能とをコ
ンピュータに実現させることを特徴とする手ぶれ検出プログラム。
First detection for detecting a first rotation speed and a second rotation speed, which are rotation speeds around the respective axes, for a first axis and a second axis that are predetermined two axes. A camera shake detection program for detecting a camera shake amount of a camera having a sensor and a second detection sensor;
at least,
(1) The first detection sensor is driven to detect the first rotation speed, and a first image shift amount that is an image shift amount in a first direction is detected with respect to an image of a subject photographed by the camera. Calculating based on the first rotational speed, or
(2) The second detection sensor is driven to detect the second rotation speed, and a second image shift amount that is an image shift amount in the second direction is detected for an image of a subject photographed by the camera. An image shift amount calculation function for performing calculation based on the second rotation speed;
The computer has a detection sensor control function that compares the calculated first image shift amount with the calculated second image shift amount and prohibits driving of the detection sensor corresponding to the smaller image shift amount. A camera shake detection program characterized by being realized.
JP2011016270A 2011-01-28 2011-01-28 Camera shake detection device, camera shake detection method, and camera shake detection program Active JP4957851B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011016270A JP4957851B2 (en) 2011-01-28 2011-01-28 Camera shake detection device, camera shake detection method, and camera shake detection program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011016270A JP4957851B2 (en) 2011-01-28 2011-01-28 Camera shake detection device, camera shake detection method, and camera shake detection program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006111871A Division JP4765744B2 (en) 2006-04-14 2006-04-14 Camera shake detection device, camera shake detection method, and camera shake detection program

Publications (2)

Publication Number Publication Date
JP2011139487A JP2011139487A (en) 2011-07-14
JP4957851B2 true JP4957851B2 (en) 2012-06-20

Family

ID=44350370

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011016270A Active JP4957851B2 (en) 2011-01-28 2011-01-28 Camera shake detection device, camera shake detection method, and camera shake detection program

Country Status (1)

Country Link
JP (1) JP4957851B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10834323B2 (en) 2017-09-14 2020-11-10 Seiko Epson Corporation Electronic apparatus, motion sensor, position change detection program, and position change detection method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019114884A (en) 2017-12-22 2019-07-11 セイコーエプソン株式会社 Detector, display device, detection method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06222414A (en) * 1993-01-22 1994-08-12 Canon Inc Vibrationproofing system
JPH07123317A (en) * 1993-10-21 1995-05-12 Canon Inc Photographing device with vibration proofing function
JPH07209687A (en) * 1994-01-21 1995-08-11 Nikon Corp Shake correction camera
JP2002333646A (en) * 2001-03-08 2002-11-22 Asahi Optical Co Ltd Camera having image blur detection function
JP2006033462A (en) * 2004-07-16 2006-02-02 Nikon Corp Imaging device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10834323B2 (en) 2017-09-14 2020-11-10 Seiko Epson Corporation Electronic apparatus, motion sensor, position change detection program, and position change detection method

Also Published As

Publication number Publication date
JP2011139487A (en) 2011-07-14

Similar Documents

Publication Publication Date Title
US7760997B2 (en) Shake detection device, shake detection method, and shake detection program
CN106954007B (en) Image pickup apparatus and image pickup method
JP6284377B2 (en) Camera system
WO2013108434A1 (en) Shaking amount detection device, imaging device, and shaking amount detection method
JP6338424B2 (en) Image processing apparatus, control method therefor, imaging apparatus, and program
JP2007086107A (en) Optical equipment and focusing method
US9813686B2 (en) Imaging apparatus, and control method of imaging apparatus
US11310422B2 (en) Imaging apparatus and control method thereof of with determining of driving range in which panning driver or tilting driver rotates imaging unit
JP6128458B2 (en) Imaging apparatus and image processing method
JP2013148717A (en) Shake amount detecting device, imaging apparatus, and shake amount detection method
JP6824710B2 (en) Zoom control device and zoom control method, imaging device
JP2014016451A (en) Imaging device, method for calculating camera shake correction amount, and program for calculating camera shake correction amount
JP4957851B2 (en) Camera shake detection device, camera shake detection method, and camera shake detection program
JP2018185407A (en) Image blur correction device and method, imaging device, and imaging system
JP6429633B2 (en) Image blur correction apparatus, control method, optical apparatus, imaging apparatus
JP4765744B2 (en) Camera shake detection device, camera shake detection method, and camera shake detection program
JP2013055566A (en) Imaging apparatus
US7664381B2 (en) Controller, photographing equipment, control method of photographing equipment, and control program
JP2007304156A (en) Camera shake detector, camera shake detection method, and camera shake detection program
JP2006343652A (en) Method for estimating camera shake direction in camera shake correction and camera shake correction device
US11659280B2 (en) Image pickup apparatus, control method, and storage medium for controlling an image stabilization unit
US10951829B2 (en) Image capturing apparatus and method for controlling display
JP6188369B2 (en) Imaging device
JP2019125933A (en) Image shake correction apparatus, imaging apparatus, and control method and program for image shake correction apparatus
US11956538B2 (en) Image capturing apparatus that performs blur correction and method of controlling same

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120209

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120221

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120305

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

Free format text: PAYMENT UNTIL: 20150330

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4957851

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250