JP2015184300A - Tremor detection device, imaging device, tremor detection method and detection program - Google Patents

Tremor detection device, imaging device, tremor detection method and detection program Download PDF

Info

Publication number
JP2015184300A
JP2015184300A JP2014057711A JP2014057711A JP2015184300A JP 2015184300 A JP2015184300 A JP 2015184300A JP 2014057711 A JP2014057711 A JP 2014057711A JP 2014057711 A JP2014057711 A JP 2014057711A JP 2015184300 A JP2015184300 A JP 2015184300A
Authority
JP
Japan
Prior art keywords
pan
tilt operation
tilt
value
shake
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014057711A
Other languages
Japanese (ja)
Inventor
我一 川崎
Gaichi Kasawaki
我一 川崎
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.)
Ricoh Imaging Co Ltd
Original Assignee
Ricoh Imaging Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Imaging Co Ltd filed Critical Ricoh Imaging Co Ltd
Priority to JP2014057711A priority Critical patent/JP2015184300A/en
Publication of JP2015184300A publication Critical patent/JP2015184300A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To solve the problem in which an unstable period occurring after a pan/tilt operation is ended cannot be minimized.SOLUTION: A tremor detection device is composed of: means that detects a tremor of a device body to output a tremor signal; means that cuts off a DC component included in the tremor signal; integration means that integrates an output from the means outputting the tremor signal; means that performs sampling of the integrated values at a prescribed rate to hold the sampling value; average value calculation means that calculates an average value of the held sampling values; pan/tilt operation detection means that detects a pan/tilt operation relative to the device body; and setting means that, when ending of the pan/tilt operation of the device body having the pan/tilt operation performed is detected, sets the average value as an initial value of the integrated value after the pan/tilt operation is ended.

Description

本発明は、振れを検出する振れ検出装置、振れ検出方法及び振れ検出プログラム並びに撮影装置に関する。   The present invention relates to a shake detection apparatus, a shake detection method, a shake detection program, and a photographing apparatus that detect shake.

撮影装置には、像振れを補正する像振れ補正装置を搭載したものが知られている。像振れ補正装置は、ジャイロセンサ及びハイパスフィルタを備える。ジャイロセンサは、撮影装置本体の振れを検出して振れ信号を出力する。ハイパスフィルタは、ジャイロセンサより出力される振れ信号に含まれるオフセット成分(直流成分)を除去し、オフセット成分除去後の振れ信号(振れに起因する交流成分であり、角速度信号)を積分して角度信号を得る。像振れ補正装置は、得られた角度信号に基づいて像振れ補正を行う。   2. Description of the Related Art An imaging device equipped with an image blur correction device that corrects image blur is known. The image shake correction apparatus includes a gyro sensor and a high pass filter. The gyro sensor detects a shake of the photographing apparatus main body and outputs a shake signal. The high-pass filter removes the offset component (DC component) included in the shake signal output from the gyro sensor and integrates the shake signal after removal of the offset component (AC component due to shake, angular velocity signal) Get a signal. The image blur correction device performs image blur correction based on the obtained angle signal.

図6は、ハイパスフィルタ内で積分され出力される振れ信号の積分値(角度信号)を示す。図6中、縦軸は、積分値を示し、横軸は、時間を示す。図6に示されるように、ハイパスフィルタは、像振れ補正装置の動作開始直後、積分値がゼロであり不安定であるため、オフセット成分を充分に除去することができない(図6中、期間T1参照)。ハイパスフィルタは、フィルタ処理が継続すると、積分値が蓄積されて安定するため、オフセット成分を充分に除去することができる(図6中、期間T2参照)。以下、説明の便宜上、オフセット成分が充分に除去されない不安定な期間を「不安定期間」と記し、オフセット成分が充分に除去された期間を「安定期間」と記す。また、不安定期間のうち除去されるべきオフセット成分が大きい期間を「過渡応答期間」と記す。   FIG. 6 shows the integrated value (angle signal) of the shake signal integrated and output in the high-pass filter. In FIG. 6, the vertical axis indicates the integral value, and the horizontal axis indicates time. As shown in FIG. 6, since the high-pass filter is unstable because the integral value is zero immediately after the start of the operation of the image blur correction apparatus, the offset component cannot be sufficiently removed (period T1 in FIG. 6). reference). When the filtering process continues, the high-pass filter accumulates and stabilizes the integrated value, so that the offset component can be sufficiently removed (see period T2 in FIG. 6). Hereinafter, for convenience of explanation, an unstable period in which the offset component is not sufficiently removed is referred to as an “unstable period”, and a period in which the offset component is sufficiently removed is referred to as a “stable period”. Further, a period in which the offset component to be removed in the unstable period is large is referred to as a “transient response period”.

不安定期間の積分値を用いて像振れ補正を行う場合を考える。この場合、像振れ補正装置は、オフセット成分に起因する積分誤差によって像振れ補正を精度良く行うことができない。像振れ補正装置は、安定期間の積分値を用いることにより、像振れ補正を精度良く行うことができる。像振れ補正を精度良く行うため、不安定期間が短く且つ安定期間が長いほど望ましい。   Consider a case where image blur correction is performed using an integral value of an unstable period. In this case, the image blur correction device cannot accurately perform image blur correction due to an integration error caused by the offset component. The image blur correction apparatus can perform image blur correction with high accuracy by using an integral value in a stable period. In order to perform image blur correction with high accuracy, it is desirable that the unstable period is short and the stable period is long.

撮影装置がパンされたりチルトされたりすると、ジャイロセンサより出力される振れ信号が大きく変化する。図6の例では、撮影装置に対するパン・チルト動作によってジャイロセンサより出力される振れ信号が大きく下振れすると、下振れした振れ信号の積分によって積分値が大きく下振れする(図6中、期間T3参照)。また、パン・チルト動作の終了時には、大きく下振れした積分値と安定期間時の積分値との差異が大きく、ハイパスフィルタ内において演算により正しくオフセット除去ができない期間(過渡応答期間)が発生する。過渡応答期間中、オフセット成分が含まれる振れ信号の積分によって徐々に積分値が増加して、安定期間時の積分値のレベルに近付いていく。すなわち、撮影装置に対してパン・チルト動作を行うと、図6に示されるように、過渡応答期間(図6中、破線に対応する期間T4)が発生する。   When the photographing apparatus is panned or tilted, the shake signal output from the gyro sensor changes greatly. In the example of FIG. 6, when the shake signal output from the gyro sensor greatly falls due to the pan / tilt operation with respect to the photographing apparatus, the integrated value falls greatly due to the integration of the shake shake signal (period T <b> 3 in FIG. 6). reference). Further, at the end of the pan / tilt operation, the difference between the greatly lowered integrated value and the integrated value during the stable period is large, and a period (transient response period) in which the offset cannot be removed correctly by calculation in the high-pass filter occurs. During the transient response period, the integral value gradually increases due to the integration of the shake signal including the offset component, and approaches the level of the integral value during the stable period. That is, when the pan / tilt operation is performed on the photographing apparatus, a transient response period (period T4 corresponding to the broken line in FIG. 6) occurs as shown in FIG.

特許文献1に記載の撮影装置では、パン・チルト動作に伴い発生する過渡応答期間の発生を抑えるため、パン・チルト動作の終了時に積分値がゼロにリセットされる。これにより、図6に例示されるように、過渡応答期間T4の発生が抑えられる。   In the photographing apparatus described in Patent Document 1, the integral value is reset to zero at the end of the pan / tilt operation in order to suppress the occurrence of a transient response period that occurs with the pan / tilt operation. Thereby, as illustrated in FIG. 6, the occurrence of the transient response period T4 is suppressed.

特開2007−324929号公報JP 2007-324929 A

このように、特許文献1に記載の構成では、パン・チルト動作の終了時に積分値がゼロにリセットされることで、過渡応答期間の発生が抑えられる。しかし、図6に例示されるように、積分値のリセット後、依然として、長い不安定期間T4’が発生している。このように、特許文献1に記載の構成においても、積分値のリセット後に不安定期間が長く発生するため、像振れ補正を精度良く行うのに不利であった。   As described above, in the configuration described in Patent Document 1, the integration value is reset to zero at the end of the pan / tilt operation, thereby suppressing the occurrence of the transient response period. However, as illustrated in FIG. 6, a long unstable period T4 'still occurs after the integration value is reset. As described above, the configuration described in Patent Document 1 is also disadvantageous in performing image blur correction with high accuracy because the unstable period occurs after the integration value is reset.

本発明は上記の事情に鑑みてなされたものであり、その目的とするところは、パン・チルト動作の終了後に発生する不安定期間を短く抑えるのに好適な振れ検出装置、撮影装置、振れ検出方法及び振れ検出プログラムを提供することである。   The present invention has been made in view of the above circumstances, and the object of the present invention is to provide a shake detection device, a photographing device, and a shake detection suitable for shortening the unstable period that occurs after the end of the pan / tilt operation. A method and a shake detection program are provided.

本実施形態の振れ検出装置は、装置本体の振れを検出して振れ信号を出力する振れ信号出力手段と、振れ信号に含まれる直流成分をカットする直流成分カット手段と、直流成分カット手段からの出力を積分する積分手段と、積分手段による積分値を所定のレートでサンプリングして保持する保持手段と、保持手段により保持されたサンプリング値の平均値を計算する平均値計算手段と、装置本体に対するパン・チルト動作を検出するパン・チルト動作検出手段と、パン・チルト動作されている装置本体のパン・チルト動作の終了がパン・チルト動作検出手段により検出されると、パン・チルト動作終了後の積分値の初期値として上記平均値を設定する設定手段とを備える。   The shake detection device of the present embodiment includes a shake signal output unit that detects a shake of the apparatus body and outputs a shake signal, a DC component cut unit that cuts a DC component included in the shake signal, and a DC component cut unit. An integration means for integrating the output; a holding means for sampling and holding the integration value by the integration means at a predetermined rate; an average value calculating means for calculating an average value of the sampling values held by the holding means; After the pan / tilt operation is completed, the pan / tilt operation detecting means for detecting the pan / tilt operation and the end of the pan / tilt operation of the device body in which the pan / tilt operation is performed are detected by the pan / tilt operation detecting means. Setting means for setting the average value as an initial value of the integral value.

本実施形態によれば、パン・チルト動作の終了後に発生する不安定期間が短く抑えられるため、像振れ補正を精度良く行うのに有利である。   According to the present embodiment, since the unstable period that occurs after the end of the pan / tilt operation can be suppressed to be short, it is advantageous for performing image blur correction with high accuracy.

平均値計算手段は、装置本体に対するパン・チルト動作が開始された時又は終了された時、保持手段に保持されているサンプリング値の平均値を計算する構成としてもよい。   The average value calculating means may be configured to calculate the average value of the sampling values held in the holding means when the pan / tilt operation for the apparatus main body is started or ended.

保持手段は、例えば、装置本体のパン・チルト動作中、積分値のサンプリングを中断する。   For example, the holding unit interrupts sampling of the integral value during the pan / tilt operation of the apparatus main body.

振れ検出装置は、装置本体が時間間隔を空けてパン・チルト動作された場合に、パン・チルト動作検出手段による検出結果に基づいて前回のパン・チルト動作と今回のパン・チルト動作との時間間隔が所定の時間間隔以下であるか否かを判定する時間間隔判定手段を備える構成としてもよい。この場合、設定手段は、時間間隔判定手段により前回のパン・チルト動作と今回のパン・チルト動作との時間間隔が所定の時間間隔以下であると判定され、かつ、今回のパン・チルト動作の終了がパン・チルト動作検出手段により検出されると、今回のパン・チルト動作終了後の積分値の初期値として、前回のパン・チルト動作の終了が検出されたときに設定された平均値を再度設定する。   When the device body is panned / tilted with a time interval, the shake detector detects the time between the previous pan / tilt operation and the current pan / tilt operation based on the detection result by the pan / tilt motion detection means. It is good also as a structure provided with the time interval determination means which determines whether an interval is below a predetermined time interval. In this case, the setting unit determines that the time interval between the previous pan / tilt operation and the current pan / tilt operation is equal to or less than a predetermined time interval by the time interval determination unit, and the current pan / tilt operation is performed. When the end of the pan / tilt operation is detected, the average value set when the end of the previous pan / tilt operation is detected is used as the initial value of the integrated value after the end of the current pan / tilt operation. Set again.

振れ検出装置は、パン・チルト動作検出手段による検出結果に基づいて装置本体が所定時間以上継続してパン・チルト動作されたか否かを判定する継続動作判定手段を備える構成としてもよい。設定手段は、継続動作判定手段により装置本体が所定時間以上継続してパン・チルト動作されたと判定され、かつ、パン・チルト動作の終了がパン・チルト動作検出手段により検出されると、パン・チルト動作終了後の積分値の初期値として、任意の固定値を設定する。   The shake detection device may include a continuous operation determination unit that determines whether or not the device body has been pan / tilt continuously for a predetermined time or more based on a detection result by the pan / tilt operation detection unit. The setting means determines that the pan / tilt operation has been continued for a predetermined time or longer by the continuous operation determining means, and the pan / tilt operation detecting means detects the end of the pan / tilt operation. An arbitrary fixed value is set as the initial value of the integral value after the tilt operation is completed.

保持手段は、例えば、時間軸上で直近にサンプリングされた所定数のサンプリング値を保持する。   The holding unit holds, for example, a predetermined number of sampled values sampled most recently on the time axis.

本実施形態の撮影装置は、例えば、上記の振れ検出装置及び撮像素子を備える装置である。この場合、保持手段は、例えば、撮像素子の露光期間中、積分値のサンプリングを中断する。   The imaging apparatus of this embodiment is an apparatus provided with said shake detection apparatus and image pick-up element, for example. In this case, for example, the holding unit interrupts sampling of the integral value during the exposure period of the image sensor.

本実施形態の振れ検出方法は、装置本体の振れを検出して振れ信号を出力する振れ信号出力ステップと、振れ信号に含まれる直流成分をカットする直流成分カットステップと、直流成分カット後の出力を積分する積分ステップと、積分ステップにて得られる積分値を所定のレートでサンプリングして保持する保持ステップと、保持ステップにて保持されたサンプリング値の平均値を計算する平均値計算ステップと、装置本体に対するパン・チルト動作を検出するパン・チルト動作検出ステップと、パン・チルト動作されている装置本体のパン・チルト動作の終了がパン・チルト動作検出ステップにて検出されると、パン・チルト動作終了後の積分値の初期値として上記平均値を設定する設定ステップとを含む。   The shake detection method of the present embodiment includes a shake signal output step for detecting a shake of the apparatus body and outputting a shake signal, a DC component cut step for cutting a DC component included in the shake signal, and an output after the DC component cut An integration step for integrating, a holding step for sampling and holding the integration value obtained in the integration step at a predetermined rate, an average value calculation step for calculating an average value of the sampling values held in the holding step, When the pan / tilt operation detecting step for detecting the pan / tilt operation on the apparatus main body and the end of the pan / tilt operation of the apparatus main body being pan / tilted are detected in the pan / tilt operation detecting step, A setting step for setting the average value as an initial value of the integral value after the end of the tilting operation.

本実施形態の振れ検出プログラムは、上記の振れ検出方法をコンピュータに実行させるためのプログラムである。   The shake detection program of the present embodiment is a program for causing a computer to execute the shake detection method described above.

本実施形態によれば、パン・チルト動作の終了後に発生する不安定期間を短く抑えるのに好適な振れ検出装置、撮影装置、振れ検出方法及び振れ検出プログラムが提供される。   According to the present embodiment, there are provided a shake detection device, a photographing device, a shake detection method, and a shake detection program suitable for suppressing an unstable period that occurs after the end of the pan / tilt operation.

本発明の実施形態の撮影装置の構成を示すブロック図である。It is a block diagram which shows the structure of the imaging device of embodiment of this invention. 本発明の実施形態において実行される像振れ補正フローを示す図である。It is a figure which shows the image blurring correction flow performed in embodiment of this invention. 図2の処理ステップS12(パン・チルト動作に関連して実行される処理)の詳細を示す図である。It is a figure which shows the detail of process step S12 (process performed in relation to pan / tilt operation | movement) of FIG. 本発明の実施形態の撮影装置に備えられる多軸ジャイロセンサより出力される角速度信号を示す図(図4(a))、及びデジタルハイパスフィルタ回路内で積分され出力される積分値(角度)を示す図(図4(b))である。FIG. 4A shows an angular velocity signal output from a multi-axis gyro sensor provided in the imaging apparatus of the embodiment of the present invention (FIG. 4A), and an integrated value (angle) integrated and output in the digital high-pass filter circuit. It is a figure shown (FIG.4 (b)). 本発明の実施形態の撮影装置に備えられる多軸ジャイロセンサより出力される角速度信号を示す図(図5(a))、及びデジタルハイパスフィルタ回路内で積分され出力される積分値(角度)を示す図(図5(b))である。FIG. 5A shows an angular velocity signal output from the multi-axis gyro sensor provided in the imaging apparatus of the embodiment of the present invention (FIG. 5A), and an integrated value (angle) integrated and output in the digital high-pass filter circuit. It is a figure shown (FIG.5 (b)). 従来の構成においてハイパスフィルタ内で積分され出力される振れ信号の積分値(角度信号)を示す図である。It is a figure which shows the integrated value (angle signal) of the shake signal integrated and output within a high-pass filter in the conventional structure.

以下、本発明の実施形態の撮影装置について図面を参照しながら説明する。以下においては、本発明の一実施形態として、デジタル一眼レフカメラについて説明する。なお、撮影装置は、デジタル一眼レフカメラに限らず、例えば、ミラーレス一眼カメラ、コンパクトデジタルカメラ、ビデオカメラ(放送スタジオカメラ等)、カムコーダ、タブレット端末、PHS(Personal Handy phone System)、スマートフォン、フィーチャフォン、携帯ゲーム機など、撮影機能を有する別の形態の装置に置き換えてもよい。   Hereinafter, a photographing apparatus according to an embodiment of the present invention will be described with reference to the drawings. In the following, a digital single lens reflex camera will be described as an embodiment of the present invention. The photographing apparatus is not limited to a digital single lens reflex camera, but includes, for example, a mirrorless single lens camera, a compact digital camera, a video camera (broadcast studio camera, etc.), a camcorder, a tablet terminal, a PHS (Personal Handy phone System), a smartphone, and a feature. It may be replaced with another type of device having a photographing function such as a phone or a portable game machine.

[撮影装置1の構成]
図1は、本実施形態の撮影装置1の構成を示すブロック図である。図1に示されるように、撮影装置1は、CPU(Central Processing Unit)100、操作部102、絞り・シャッタ駆動回路104、撮影レンズ106、絞り108、シャッタ110、イメージセンサ112、信号処理回路114、画像処理エンジン116、バッファメモリ118、カード用インタフェース120、LCD(Liquid Crystal Display)制御回路122、LCD124、ROM(Read Only Memory)126、外部接続インタフェース128、多軸ジャイロセンサ130、AD変換回路132、デジタルハイパスフィルタ回路134及び像振れ補正機構136を備えている。
[Configuration of the photographing apparatus 1]
FIG. 1 is a block diagram showing a configuration of the photographing apparatus 1 of the present embodiment. As shown in FIG. 1, the photographing apparatus 1 includes a CPU (Central Processing Unit) 100, an operation unit 102, a diaphragm / shutter driving circuit 104, a photographing lens 106, a diaphragm 108, a shutter 110, an image sensor 112, and a signal processing circuit 114. , Image processing engine 116, buffer memory 118, card interface 120, LCD (Liquid Crystal Display) control circuit 122, LCD 124, ROM (Read Only Memory) 126, external connection interface 128, multi-axis gyro sensor 130, AD conversion circuit 132 A digital high-pass filter circuit 134 and an image blur correction mechanism 136 are provided.

操作部102には、電源スイッチやレリーズスイッチ、撮影モードスイッチなど、ユーザが撮影装置1を操作するために必要な各種スイッチが含まれる。ユーザにより電源スイッチが押されると、図示省略されたバッテリから撮影装置1の各種回路に電源ラインを通じて電源供給が行われる。CPU100は電源供給後、ROM126にアクセスして制御プログラムを読み出してワークエリア(不図示)にロードし、ロードされた制御プログラムを実行することにより、撮影装置1全体の制御を行う。   The operation unit 102 includes various switches necessary for the user to operate the photographing apparatus 1, such as a power switch, a release switch, and a photographing mode switch. When the user presses the power switch, power is supplied from the battery (not shown) to the various circuits of the photographing apparatus 1 through the power line. After supplying power, the CPU 100 accesses the ROM 126, reads out a control program, loads it into a work area (not shown), and executes the loaded control program to control the entire photographing apparatus 1.

レリーズスイッチが操作されると、CPU100は、撮影装置1に内蔵されたTTL(Through The Lens)露出計(不図示)で測定された測光値に基づき適正露出が得られるように、絞り・シャッタ駆動回路104を介して絞り108及びシャッタ110を駆動制御する。より詳細には、絞り108及びシャッタ110の駆動制御は、プログラムAE(Automatic Exposure)、シャッタ速度優先AE、絞り優先AEなど、撮影モードスイッチにより指定されるAE機能に基づいて行われる。また、CPU100はAE制御と併せてAF(Autofocus)制御を行う。AF制御には、アクティブ方式、位相差検出方式、コントラスト検出方式等が適用される。なお、この種のAE及びAFの構成及び制御については周知であるため、ここでの詳細な説明は省略する。   When the release switch is operated, the CPU 100 drives the aperture and shutter so that an appropriate exposure can be obtained based on a photometric value measured by a TTL (Through The Lens) exposure meter (not shown) built in the photographing apparatus 1. The diaphragm 108 and the shutter 110 are driven and controlled via the circuit 104. More specifically, drive control of the aperture 108 and the shutter 110 is performed based on an AE function designated by a shooting mode switch, such as a program AE (Automatic Exposure), shutter speed priority AE, aperture priority AE, or the like. The CPU 100 performs AF (Autofocus) control together with AE control. An active method, a phase difference detection method, a contrast detection method, or the like is applied to the AF control. Since the configuration and control of this type of AE and AF are well known, detailed description thereof is omitted here.

被写体からの光束は、撮影レンズ106、絞り108、シャッタ110を通過してイメージセンサ112により受光される。イメージセンサ112は、例えばCCD(Charge Coupled Device)イメージセンサやCMOS(Complementary Metal Oxide Semiconductor)イメージセンサであり、撮像面上の各画素で結像した光学像を光量に応じた電荷として蓄積して電気信号に変換し、信号処理回路114に出力する。以下、説明の便宜上、撮影レンズ106の光軸AX方向をz方向と定義し、z方向に直交しかつ互いに直交する2方向をx方向、y方向と定義する。x方向及びy方向は、イメージセンサ112の撮像面と平行な方向である。   The light flux from the subject passes through the photographing lens 106, the diaphragm 108, and the shutter 110 and is received by the image sensor 112. The image sensor 112 is, for example, a CCD (Charge Coupled Device) image sensor or a CMOS (Complementary Metal Oxide Semiconductor) image sensor. The image sensor 112 accumulates an optical image formed by each pixel on the imaging surface as an electric charge corresponding to the amount of light. The signal is converted into a signal and output to the signal processing circuit 114. Hereinafter, for convenience of explanation, the optical axis AX direction of the photographing lens 106 is defined as the z direction, and two directions orthogonal to the z direction and orthogonal to each other are defined as the x direction and the y direction. The x direction and the y direction are directions parallel to the imaging surface of the image sensor 112.

信号処理回路114は、イメージセンサ112より入力される電気信号(撮影データ)に対して所定の信号処理を施して、画像処理エンジン116に出力する。画像処理エンジン116は、信号処理回路114より入力される信号に対して色補間、マトリクス演算、Y/C分離等の所定の信号処理を施して輝度信号Y、色差信号Cb、Crを生成し、JPEG(Joint Photographic Experts Group)等の所定のフォーマットで圧縮する。バッファメモリ118は、画像処理エンジン116による処理の実行時、処理データの一時的な保存場所として用いられる。   The signal processing circuit 114 performs predetermined signal processing on the electrical signal (photographed data) input from the image sensor 112 and outputs the processed signal to the image processing engine 116. The image processing engine 116 performs predetermined signal processing such as color interpolation, matrix calculation, and Y / C separation on the signal input from the signal processing circuit 114 to generate a luminance signal Y and color difference signals Cb, Cr, The image is compressed in a predetermined format such as JPEG (Joint Photographic Experts Group). The buffer memory 118 is used as a temporary storage location for processing data when the image processing engine 116 executes processing.

カード用インタフェース120のカードスロットには、メモリカード200が着脱可能に差し込まれている。   A memory card 200 is detachably inserted into a card slot of the card interface 120.

画像処理エンジン116は、カード用インタフェース120を介してメモリカード200と通信可能である。画像処理エンジン116は、生成された圧縮画像信号(撮影画像データ)をメモリカード200(又は撮影装置1に備えられる不図示の内蔵メモリ)に保存する。   The image processing engine 116 can communicate with the memory card 200 via the card interface 120. The image processing engine 116 stores the generated compressed image signal (captured image data) in the memory card 200 (or a built-in memory (not shown) provided in the image capturing apparatus 1).

また、画像処理エンジン116は、Y/C分離後の信号に所定の信号処理を施して、フレームメモリ(不図示)にフレーム単位でバッファリングする。画像処理エンジン116は、バッファリングされた信号を所定のタイミングで各フレームメモリから掃き出して所定のフォーマットのビデオ信号に変換し、LCD制御回路122に出力する。LCD制御回路122は、画像処理エンジン116より入力される画像信号を基に液晶を変調制御する。これにより、被写体の撮影画像がLCD124の表示画面に表示される。ユーザは、AE制御及びAF制御に基づいて適正な輝度及びピントで撮影されたリアルタイムのスルー画を、LCD124の表示画面を通じて視認することができる。   Further, the image processing engine 116 performs predetermined signal processing on the signal after Y / C separation, and buffers it in a frame memory (not shown) in units of frames. The image processing engine 116 sweeps the buffered signal from each frame memory at a predetermined timing, converts it into a video signal of a predetermined format, and outputs it to the LCD control circuit 122. The LCD control circuit 122 modulates and controls the liquid crystal based on the image signal input from the image processing engine 116. Thereby, the photographed image of the subject is displayed on the display screen of the LCD 124. The user can view through the display screen of the LCD 124 a real-time through image captured with appropriate brightness and focus based on AE control and AF control.

画像処理エンジン116は、ユーザにより撮影画像の再生操作が行われると、操作により指定された撮影画像データをメモリカード200又は内蔵メモリより読み出して所定のフォーマットの画像信号に変換し、LCD制御回路122に出力する。LCD制御回路122が画像処理エンジン116より入力される画像信号を基に液晶を変調制御することで、被写体の撮影画像がLCD124の表示画面に表示される。   When the user performs a reproduction operation of the photographed image, the image processing engine 116 reads the photographed image data designated by the operation from the memory card 200 or the built-in memory, converts it into an image signal of a predetermined format, and the LCD control circuit 122. Output to. The LCD control circuit 122 performs modulation control on the liquid crystal based on the image signal input from the image processing engine 116, so that a captured image of the subject is displayed on the display screen of the LCD 124.

外部接続インタフェース128は、PC(Personal Computer)等の外部装置と接続するためのインタフェースである。外部接続インタフェース128は、HDMI(High-Definition Multimedia Interface、HDMIは登録商標)、USB(Universal Serial Bus)等の有線接続プロトコルや、Wi-Fi、Bluetooth(登録商標)、IrDA等の無線接続プロトコルを用いてPC等と通信可能である。   The external connection interface 128 is an interface for connecting to an external device such as a PC (Personal Computer). The external connection interface 128 uses a wired connection protocol such as HDMI (High-Definition Multimedia Interface, HDMI is a registered trademark), USB (Universal Serial Bus), and a wireless connection protocol such as Wi-Fi, Bluetooth (registered trademark), and IrDA. And can communicate with a PC or the like.

ところで、撮影者の手振れにより撮影装置1が振動すると、光軸AXの角度振れや回転振れが生じて、イメージセンサ112の撮像面に入射される被写体像に振れが生じる。像振れの原因となる撮影装置1の振動は、多軸ジャイロセンサ130により検出される。具体的には、多軸ジャイロセンサ130は、X方向及びY方向の角速度並びにZ方向の軸周りの角速度を検出する。   By the way, when the photographing apparatus 1 vibrates due to the camera shake of the photographer, an angular shake or a rotational shake of the optical axis AX occurs, and the subject image incident on the imaging surface of the image sensor 112 shakes. The vibration of the photographing apparatus 1 that causes image blur is detected by the multi-axis gyro sensor 130. Specifically, the multi-axis gyro sensor 130 detects the angular velocities in the X direction and the Y direction and the angular velocities around the axis in the Z direction.

多軸ジャイロセンサ130より出力される角速度信号は、AD変換回路132によってAD変換されて、デジタルハイパスフィルタ回路134に入力される。デジタルハイパスフィルタ回路134内では、AD変換回路132より入力される角速度信号に含まれるオフセット成分(直流成分)が除去されて、オフセット成分除去後の角速度信号が積分される。これにより、角度信号が得られる。   The angular velocity signal output from the multi-axis gyro sensor 130 is AD converted by the AD conversion circuit 132 and input to the digital high-pass filter circuit 134. In the digital high-pass filter circuit 134, the offset component (DC component) included in the angular velocity signal input from the AD conversion circuit 132 is removed, and the angular velocity signal after the offset component is removed is integrated. Thereby, an angle signal is obtained.

CPU100は、デジタルハイパスフィルタ回路134より入力される角度信号に基づいて像振れ補正機構136を駆動制御する。なお、像振れ補正機構136は周知の構成であるため、ここでの詳細な説明は省略する。像振れ補正機構136は、角度信号に基づいてイメージセンサ112を撮像面での像振れが打ち消される方向に移動させる。これにより、手振れ等に起因する撮影画像の振れが抑えられる。また、像振れ補正機構136は、デジタルハイパスフィルタ回路134より入力される角度信号に基づいて撮影レンズ106の一部のレンズを光軸から偏心させることにより、手振れ等に起因する撮影画像の振れを打ち消す構成に置き換えてもよい。   The CPU 100 drives and controls the image blur correction mechanism 136 based on the angle signal input from the digital high-pass filter circuit 134. Note that the image blur correction mechanism 136 has a well-known configuration, and a detailed description thereof is omitted here. The image blur correction mechanism 136 moves the image sensor 112 in a direction in which image blur on the imaging surface is canceled based on the angle signal. Thereby, the shake of the captured image caused by hand shake or the like can be suppressed. Further, the image blur correction mechanism 136 deviates a photographed image due to camera shake or the like by decentering a part of the photographing lens 106 from the optical axis based on the angle signal input from the digital high-pass filter circuit 134. You may replace with the structure which cancels.

[パン・チルト動作の発生を考慮した像振れ補正フロー]
次に、撮影装置1に対するパン・チルト動作の発生を考慮した像振れ補正フローを説明する。図2に示される像振れ補正フローは、撮影装置1の電源がオンされると開始され、撮影装置の電源がオフされると終了する。なお、デジタルハイパスフィルタ回路134からは、フィルタ処理により演算された角度信号が本フローの実行中も継続的に出力される。本フローを実行することにより、パン・チルト動作の終了後に発生する不安定期間が好適に抑えられる。
[Image stabilization flow considering pan / tilt motion]
Next, an image blur correction flow that takes into account the occurrence of pan / tilt operations on the photographing apparatus 1 will be described. The image blur correction flow shown in FIG. 2 starts when the power of the photographing apparatus 1 is turned on and ends when the power of the photographing apparatus is turned off. The digital high-pass filter circuit 134 continuously outputs an angle signal calculated by the filter process even during execution of this flow. By executing this flow, the unstable period that occurs after the end of the pan / tilt operation is suitably suppressed.

[図2のS11(レリーズスイッチの操作判定)]
本処理ステップS11では、レリーズスイッチが全押しされたか否かが判定される。
[S11 in FIG. 2 (determination of operation of release switch)]
In this processing step S11, it is determined whether or not the release switch has been fully pressed.

[図2のS12(パン・チルト動作に関連して実行される処理)]
本処理ステップS12は、処理ステップS11においてレリーズスイッチが全押しされていないと判定された場合(S11:NO)に実行される。本処理ステップS12では、撮影装置1に対するパン・チルト動作に関連して所定の処理が実行される。なお、本フローの処理は、本処理ステップS12の終了後、処理ステップS11に戻る。
[S12 in FIG. 2 (Processing Performed in Relation to Pan / Tilt Operation)]
This process step S12 is executed when it is determined in the process step S11 that the release switch is not fully pressed (S11: NO). In this process step S12, a predetermined process is executed in relation to the pan / tilt operation for the photographing apparatus 1. In addition, the process of this flow returns to process step S11 after completion | finish of this process step S12.

図3は、図2の処理ステップS12(パン・チルト動作に関連して実行される処理)の詳細を示す図である。
・図3の処理ステップS12A
本処理ステップS12Aでは、現在、撮影装置1がパンされたりチルトされたりしている期間であるか否かが判定される。以下、説明の便宜上、撮影装置1がパンされたりチルトされたりしている期間を「パン・チルト動作期間」と記し、撮影装置1がパンされたりチルトされたりしていない期間を「通常動作期間」と記す。ここで、図4(a)に、多軸ジャイロセンサ130より出力される角速度信号を示す。図4(a)中、縦軸は、角速度信号のレベル(角速度)を示し、横軸は、時間を示す。図4(a)に示されるように、多軸ジャイロセンサ130より出力される角速度信号には、例えば温度変化に起因するオフセット成分が極僅かに含まれる。角速度信号のレベルは、撮影装置1がパンされたりチルトされたりすると、一時的に大きく変化する(図4(a)中、パン・チルト動作期間参照)。本処理ステップS12Aでは、例えば、多軸ジャイロセンサ130より出力される角速度信号のレベルの絶対値が所定の閾値以上である場合にパン・チルト動作期間と判定され、当該絶対値が所定の閾値未満である場合に通常動作期間と判定される。
・図3の処理ステップS12B
本処理ステップS12Bは、処理ステップS12Aにおいて通常動作期間であると判定された場合(S12A:NO)に実行される。本処理ステップS12Bでは、パン・チルト動作が開始されたか否かが判定される。本処理ステップS12Bでは、例えば、多軸ジャイロセンサ130より出力される角速度信号のレベルの絶対値について、所定の閾値以上のものが検出されると、パン・チルト動作が開始されたと判定される。
・図3の処理ステップS12C
本処理ステップS12Cは、処理ステップS12Bにおいてパン・チルト動作が開始されていないと判定された場合(S12B:NO)に実行される。本処理ステップS12Cでは、デジタルハイパスフィルタ回路134内で積分された角速度信号の積分値(角度)がサンプリングされる。具体的には、前回のサンプリングから100ms経過したか否かが判定され、100ms経過したと判定された場合に積分値(角度)がサンプリングされて、CPU100内のバッファ100aに保持される。バッファ100aには、時間軸上で直近にサンプリングされたN個のサンプリング値が保持される。N個より以前のサンプリング値は、新しくサンプリングされた値により順次上書き消去される。すなわち、本実施形態では、図2の処理ステップS11及び図3の処理ステップS12A〜S12Cが繰り返されることにより、積分値(角度)が10Hzでサンプリングされて、時間軸上で新しいN個のサンプリング値がバッファ100aに保持される。
・図3の処理ステップS12D
本処理ステップS12Dは、処理ステップS12Bにおいてパン・チルト動作が開始されたと判定された場合(S12B:YES)に実行される。本処理ステップS12Dでは、バッファ100aに保持されたN個(N個に達しない場合はその個数)のサンプリング値の平均値(角度)が計算される。以下、説明の便宜上、計算されたサンプリング値の平均値(角度)を「平均積分値」と記す。
・図3の処理ステップS12E
本処理ステップS12Eは、処理ステップS12Aにおいてパン・チルト動作期間であると判定された場合(S12A:YES)に実行される。本処理ステップS12Eでは、パン・チルト動作が終了したか否かが判定される。本処理ステップS12Eでは、例えば、多軸ジャイロセンサ130より出力される角速度信号のレベルの絶対値が所定の閾値未満になると、パン・チルト動作が終了したと判定される。
・図3の処理ステップS12F
本処理ステップS12Fは、処理ステップS12Eにおいてパン・チルト動作が終了したと判定された場合(S12E:YES)に実行される。本処理ステップS12Fでは、デジタルハイパスフィルタ回路134より出力される積分値(角度)が処理ステップS12Dにおいて計算された平均積分値に設定される。すなわち、本処理ステップS12Fでは、撮影装置1に対するパン・チルト動作が終了すると、パン・チルト動作終了後の積分値(角度)の初期値として、処理ステップS12Dにおいて計算された平均積分値が設定される。
FIG. 3 is a diagram showing details of process step S12 (process executed in association with the pan / tilt operation) in FIG.
-Process step S12A of FIG.
In this processing step S12A, it is determined whether or not it is a period during which the photographing apparatus 1 is currently panned or tilted. Hereinafter, for convenience of explanation, a period in which the photographing apparatus 1 is panned or tilted is referred to as a “pan / tilt operation period”, and a period in which the photographing apparatus 1 is not panned or tilted is referred to as a “normal operation period”. ". Here, FIG. 4A shows an angular velocity signal output from the multi-axis gyro sensor 130. In FIG. 4A, the vertical axis indicates the level (angular velocity) of the angular velocity signal, and the horizontal axis indicates time. As shown in FIG. 4A, the angular velocity signal output from the multi-axis gyro sensor 130 includes an offset component due to, for example, a temperature change very slightly. The level of the angular velocity signal temporarily changes greatly when the photographing apparatus 1 is panned or tilted (refer to the pan / tilt operation period in FIG. 4A). In this processing step S12A, for example, when the absolute value of the level of the angular velocity signal output from the multi-axis gyro sensor 130 is equal to or greater than a predetermined threshold, it is determined as the pan / tilt operation period, and the absolute value is less than the predetermined threshold. Is determined as the normal operation period.
-Process step S12B of FIG.
This processing step S12B is executed when it is determined in the processing step S12A that it is the normal operation period (S12A: NO). In this processing step S12B, it is determined whether or not a pan / tilt operation has been started. In this processing step S12B, for example, if an absolute value of the level of the angular velocity signal output from the multi-axis gyro sensor 130 is detected to be equal to or greater than a predetermined threshold, it is determined that the pan / tilt operation has started.
-Process step S12C of FIG.
This processing step S12C is executed when it is determined in the processing step S12B that the pan / tilt operation has not been started (S12B: NO). In this processing step S12C, the integrated value (angle) of the angular velocity signal integrated in the digital high-pass filter circuit 134 is sampled. Specifically, it is determined whether or not 100 ms has passed since the previous sampling. If it is determined that 100 ms has passed, the integral value (angle) is sampled and held in the buffer 100 a in the CPU 100. The buffer 100a holds N sampling values sampled most recently on the time axis. The sampling values before N are sequentially overwritten and erased by the newly sampled values. That is, in this embodiment, the processing value S11 in FIG. 2 and the processing steps S12A to S12C in FIG. 3 are repeated, whereby the integral value (angle) is sampled at 10 Hz, and new N sampling values are obtained on the time axis. Is held in the buffer 100a.
-Process step S12D of FIG.
This processing step S12D is executed when it is determined in the processing step S12B that the pan / tilt operation is started (S12B: YES). In this processing step S12D, an average value (angle) of N sampling values (the number when the number does not reach N) held in the buffer 100a is calculated. Hereinafter, for convenience of explanation, an average value (angle) of the calculated sampling values is referred to as an “average integrated value”.
-Process step S12E of FIG.
This processing step S12E is executed when it is determined in the processing step S12A that it is the pan / tilt operation period (S12A: YES). In this processing step S12E, it is determined whether or not the pan / tilt operation has ended. In this processing step S12E, for example, when the absolute value of the level of the angular velocity signal output from the multi-axis gyro sensor 130 becomes less than a predetermined threshold value, it is determined that the pan / tilt operation has ended.
-Process step S12F of FIG.
This process step S12F is executed when it is determined in the process step S12E that the pan / tilt operation has ended (S12E: YES). In this process step S12F, the integral value (angle) output from the digital high-pass filter circuit 134 is set to the average integral value calculated in process step S12D. That is, in the present processing step S12F, when the pan / tilt operation on the photographing apparatus 1 is completed, the average integral value calculated in the processing step S12D is set as an initial value of the integral value (angle) after the pan / tilt operation is completed. The

図4(b)は、デジタルハイパスフィルタ回路134内で積分され出力される積分値(角度)を示す図である。図4(b)を用いて、図2の処理ステップS12(パン・チルト動作に関連して実行される処理)について例示的に説明する。なお、図4(b)中、縦軸は、角速度信号の積分値(角度)を示し、横軸は、時間を示す。   FIG. 4B is a diagram showing an integrated value (angle) integrated and output in the digital high-pass filter circuit 134. With reference to FIG. 4B, the processing step S12 in FIG. 2 (processing executed in association with the pan / tilt operation) will be exemplarily described. In FIG. 4B, the vertical axis indicates the integrated value (angle) of the angular velocity signal, and the horizontal axis indicates time.

図4(b)に例示されるように、撮影装置1の起動開始直後は、デジタルハイパスフィルタ回路134より出力される角速度信号の積分値(角度)がゼロであり不安定であるため、不安定期間T11となっている。その後、安定期間T12に移行する。不安定期間T11中及び安定期間T12中は、角速度信号の積分値(角度)が所定のレート(ここでは10Hz)でサンプリングされて、時間軸上で直近のN個のサンプリング値がバッファ100aに保持される。図4(b)においては、便宜上、サンプリング点を白丸で示す。撮影装置1に対するパン・チルト動作が開始された時、バッファ100aに保持されているN個のサンプリング値の平均値、すなわち平均積分値が計算される。なお、平均積分値の計算タイミングは、パン・チルト動作が開始された時に限らずパン・チルト動作が終了された時であってもよい。不安定期間T13(図4(b)の例では、パン・チルト動作期間と実質的に同一の期間)中は、積分値のサンプリングが中断される。パン・チルト動作が終了されると、パン・チルト動作終了後の積分値(角度)の初期値として平均積分値が設定される。平均積分値の設定後、積分値(角度)のサンプリング及びサンプリング値の保持が再開される。   As illustrated in FIG. 4B, immediately after the start of the photographing apparatus 1, the integral value (angle) of the angular velocity signal output from the digital high-pass filter circuit 134 is zero and unstable. Period T11 is set. Thereafter, the process proceeds to a stable period T12. During the unstable period T11 and the stable period T12, the integrated value (angle) of the angular velocity signal is sampled at a predetermined rate (here, 10 Hz), and the N most recent sampling values on the time axis are held in the buffer 100a. Is done. In FIG. 4B, sampling points are indicated by white circles for convenience. When the pan / tilt operation for the photographing apparatus 1 is started, an average value of N sampling values held in the buffer 100a, that is, an average integral value is calculated. The calculation timing of the average integral value is not limited to when the pan / tilt operation is started, but may be when the pan / tilt operation is ended. During the unstable period T13 (in the example of FIG. 4B, substantially the same period as the pan / tilt operation period), the sampling of the integral value is interrupted. When the pan / tilt operation is finished, an average integral value is set as an initial value of the integral value (angle) after the pan / tilt operation is finished. After setting the average integration value, sampling of the integration value (angle) and holding of the sampling value are resumed.

図4(b)に示されるように、平均積分値をパン・チルト動作終了後の積分値(角度)の初期値として設定することにより、特許文献1の場合(図4(b)中、破線に対応する不安定期間T14)と比べて不安定期間(図4(b)中、期間T14’参照)が短く抑えられていることが判る。そのため、本実施形態の撮影装置1は、特許文献1に記載の撮影装置と比べて、像振れ補正を精度良く行うのに有利である。   As shown in FIG. 4B, the average integrated value is set as the initial value of the integrated value (angle) after the end of the pan / tilt operation, whereby the case of Patent Document 1 (the broken line in FIG. 4B). It can be seen that the unstable period (see period T14 ′ in FIG. 4B) is suppressed to be shorter than the unstable period T14). Therefore, the photographing apparatus 1 of the present embodiment is advantageous in performing image blur correction with higher accuracy than the photographing apparatus described in Patent Document 1.

なお、パン・チルト動作が長時間継続するほど平均積分値の信頼性が低下する傾向にある。そのため、パン・チルト動作が所定時間以上継続していると判定される場合には、パン・チルト動作終了後に設定すべき積分値(角度)の初期値を、平均積分値では無く所定の固定値としてもよい。固定値は、例えば操作部102の操作により任意に設定可能である。   Note that the reliability of the average integrated value tends to decrease as the pan / tilt operation continues for a longer time. Therefore, when it is determined that the pan / tilt operation has continued for a predetermined time or longer, the initial value of the integral value (angle) to be set after the pan / tilt operation is finished is not a mean integral value but a predetermined fixed value. It is good. The fixed value can be arbitrarily set by operating the operation unit 102, for example.

[図2のS13(露光期間終了判定)]
本処理ステップS13は、処理ステップS11においてレリーズスイッチが全押しされたと判定された場合(S11:YES)に実行される。本処理ステップS13では、レリーズスイッチが全押しされたことで開始されたイメージセンサ112の露光期間が終了したか否かが判定される。なお、イメージセンサ112の露光期間中は、デジタルハイパスフィルタ回路134より出力される積分値(角度)のサンプリングが中断される。
[S13 in FIG. 2 (exposure period end determination)]
This processing step S13 is executed when it is determined in the processing step S11 that the release switch is fully pressed (S11: YES). In this processing step S13, it is determined whether or not the exposure period of the image sensor 112 started when the release switch is fully pressed is finished. During the exposure period of the image sensor 112, sampling of the integral value (angle) output from the digital high pass filter circuit 134 is interrupted.

[図2のS14(像振れ補正処理)]
本処理ステップS14は、処理ステップS13においてイメージセンサ112の露光期間が終了したと判定(S13:YES)されるまで、繰り返し実行される。なお、本フローの処理は、処理ステップS13でのNO判定と本処理ステップS14とのループを抜ける(処理ステップS13においてYES判定される)と、処理ステップS11に戻る。本処理ステップS14では、像振れ補正機構136により、イメージセンサ112がデジタルハイパスフィルタ回路134より入力される角度信号に基づいて撮像面での像振れが打ち消される方向に移動される。本実施形態では、図4(b)に例示されるように、パン・チルト動作の終了後の不安定期間が短く抑えられているため、イメージセンサ112の露光がパン・チルト動作の終了直後に行われた場合であっても、像振れ補正機構136による像振れ補正が精度良く行われる。
[S14 in FIG. 2 (Image Stabilization Processing)]
This processing step S14 is repeatedly executed until it is determined in processing step S13 that the exposure period of the image sensor 112 has ended (S13: YES). Note that the processing of this flow returns to processing step S11 when exiting the loop between NO determination in processing step S13 and this processing step S14 (YES determination in processing step S13). In this processing step S14, the image blur correction mechanism 136 moves the image sensor 112 in the direction in which the image blur on the imaging surface is canceled based on the angle signal input from the digital high-pass filter circuit 134. In the present embodiment, as illustrated in FIG. 4B, since the unstable period after the end of the pan / tilt operation is suppressed to be short, the exposure of the image sensor 112 is performed immediately after the end of the pan / tilt operation. Even if it is performed, the image blur correction by the image blur correction mechanism 136 is accurately performed.

例えば異なるパン・チルト動作が短い時間間隔(例えば500ms)を空けて矢継早に行われる場合がある。この場合の像振れ補正フローについて図5を用いて説明する。図5(a)は、図4(a)と同様の図であり、異なるパン・チルト動作が短い時間間隔を空けて矢継早に行われる場合に多軸ジャイロセンサ130より出力される角速度信号を示す。図5(b)は、図4(b)と同様の図である。図5(b)は、図5(a)に示される角速度信号が多軸ジャイロセンサ130より出力された場合に、デジタルハイパスフィルタ回路134内で積分され出力される積分値(角度)を示す。   For example, different pan / tilt operations may be performed quickly after a short time interval (for example, 500 ms). The image blur correction flow in this case will be described with reference to FIG. FIG. 5A is a diagram similar to FIG. 4A, and the angular velocity signal output from the multi-axis gyro sensor 130 when different pan / tilt operations are performed quickly with a short time interval. Indicates. FIG. 5B is the same diagram as FIG. FIG. 5B shows an integrated value (angle) integrated and output in the digital high-pass filter circuit 134 when the angular velocity signal shown in FIG. 5A is output from the multi-axis gyro sensor 130.

図5(b)に示されるように、1回目のパン・チルト動作が終了されると、パン・チルト動作終了後の積分値(角度)の初期値として平均積分値が設定され、設定された平均積分値を始点としてサンプリングが再開され、サンプリングされた値がバッファ100aに保持される。そして、2回目のパン・チルト動作が短い時間間隔を空けて開始される。そのため、1回目のパン・チルト動作が終了してから2回目のパン・チルト動作が開始されるまでに得られるサンプリング値が少なく、平均積分値が信頼性の欠けた値となる虞がある。そこで、図5(b)の例では、2回目のパン・チルト動作の開始時や終了時に平均積分値を計算せず、2回目のパン・チルト動作の終了時においても、積分値(角度)の初期値として、1回目のパン・チルト動作終了時の平均積分値を再度設定する。   As shown in FIG. 5B, when the first pan / tilt operation is finished, the average integral value is set as the initial value of the integral value (angle) after the pan / tilt operation is finished. Sampling is resumed starting from the average integrated value, and the sampled value is held in the buffer 100a. Then, the second pan / tilt operation is started with a short time interval. Therefore, there are few sampling values obtained from the end of the first pan / tilt operation to the start of the second pan / tilt operation, and there is a possibility that the average integrated value may be a value with no reliability. Therefore, in the example of FIG. 5B, the average integrated value is not calculated at the start or end of the second pan / tilt operation, and the integrated value (angle) is also calculated at the end of the second pan / tilt operation. As the initial value, the average integrated value at the end of the first pan / tilt operation is set again.

以上が本発明の例示的な実施形態の説明である。本発明の実施形態は、上記に説明したものに限定されず、本発明の技術的思想の範囲において様々な変形が可能である。例えば明細書中に例示的に明示される実施形態等又は自明な実施形態等を適宜組み合わせた内容も本願の実施形態に含まれる。   The above is the description of the exemplary embodiments of the present invention. Embodiments of the present invention are not limited to those described above, and various modifications are possible within the scope of the technical idea of the present invention. For example, the embodiment of the present application also includes an embodiment that is exemplarily specified in the specification or a combination of obvious embodiments and the like as appropriate.

1 撮影装置
100 CPU
102 操作部
104 絞り・シャッタ駆動回路
106 撮影レンズ
108 絞り
110 シャッタ
112 イメージセンサ
114 信号処理回路
116 画像処理エンジン
118 バッファメモリ
120 カード用インタフェース
122 LCD制御回路
124 LCD
126 ROM
128 外部接続インタフェース
130 多軸ジャイロセンサ
132 AD変換回路
134 デジタルハイパスフィルタ回路
136 像振れ補正機構
200 メモリカード
1 photographing apparatus 100 CPU
102 Operation Unit 104 Aperture / Shutter Drive Circuit 106 Shooting Lens 108 Aperture 110 Shutter 112 Image Sensor 114 Signal Processing Circuit 116 Image Processing Engine 118 Buffer Memory 120 Card Interface 122 LCD Control Circuit 124 LCD
126 ROM
128 External connection interface 130 Multi-axis gyro sensor 132 AD conversion circuit 134 Digital high-pass filter circuit 136 Image blur correction mechanism 200 Memory card

Claims (14)

装置本体の振れを検出して振れ信号を出力する振れ信号出力手段と、
前記振れ信号に含まれる直流成分をカットする直流成分カット手段と、
前記直流成分カット手段からの出力を積分する積分手段と、
前記積分手段による積分値を所定のレートでサンプリングして保持する保持手段と、
前記保持手段により保持されたサンプリング値の平均値を計算する平均値計算手段と、
前記装置本体に対するパン・チルト動作を検出するパン・チルト動作検出手段と、
パン・チルト動作されている前記装置本体のパン・チルト動作の終了が前記パン・チルト動作検出手段により検出されると、該パン・チルト動作終了後の前記積分値の初期値として、前記平均値を設定する設定手段と、
を備える、
振れ検出装置。
A shake signal output means for detecting a shake of the apparatus body and outputting a shake signal;
DC component cutting means for cutting a DC component included in the shake signal;
Integrating means for integrating the output from the DC component cutting means;
Holding means for sampling and holding the integration value by the integration means at a predetermined rate;
Average value calculating means for calculating an average value of the sampling values held by the holding means;
Pan / tilt operation detecting means for detecting pan / tilt operation with respect to the apparatus body;
When the end of the pan / tilt operation of the apparatus body that is pan / tilt is detected by the pan / tilt operation detector, the average value is used as an initial value of the integrated value after the pan / tilt operation is completed. A setting means for setting
Comprising
Shake detection device.
前記平均値計算手段は、
前記装置本体に対するパン・チルト動作が開始された時又は終了された時、前記保持手段に保持されているサンプリング値の平均値を計算する、
請求項1に記載の振れ検出装置。
The average value calculating means includes
When the pan / tilt operation for the apparatus main body is started or ended, an average value of the sampling values held in the holding unit is calculated.
The shake detection device according to claim 1.
前記保持手段は、
前記装置本体のパン・チルト動作中、前記積分値のサンプリングを中断する、
請求項1又は請求項2に記載の振れ検出装置。
The holding means is
During the pan / tilt operation of the apparatus body, the sampling of the integral value is interrupted.
The shake detection apparatus according to claim 1 or 2.
前記装置本体が時間間隔を空けてパン・チルト動作された場合に、前記パン・チルト動作検出手段による検出結果に基づいて前回のパン・チルト動作と今回のパン・チルト動作との時間間隔が所定の時間間隔以下であるか否かを判定する時間間隔判定手段
を備え、
前記設定手段は、
前記時間間隔判定手段により前回のパン・チルト動作と今回のパン・チルト動作との時間間隔が所定の時間間隔以下であると判定され、かつ、今回のパン・チルト動作の終了が前記パン・チルト動作検出手段により検出されると、今回のパン・チルト動作終了後の前記積分値の初期値として、前回のパン・チルト動作の終了が検出されたときに設定された平均値を再度設定する、
請求項1から請求項3の何れか一項に記載の振れ検出装置。
When the apparatus main body is panned / tilted with a time interval, the time interval between the previous pan / tilt operation and the current pan / tilt operation is predetermined based on the detection result by the pan / tilt motion detecting means. A time interval determining means for determining whether or not the time interval is equal to or less than
The setting means includes
The time interval determining means determines that the time interval between the previous pan / tilt operation and the current pan / tilt operation is equal to or less than a predetermined time interval, and the end of the current pan / tilt operation is the pan / tilt operation. When detected by the motion detection means, the average value set when the end of the previous pan / tilt operation is detected is set again as the initial value of the integrated value after the end of the current pan / tilt operation.
The shake detection apparatus according to any one of claims 1 to 3.
前記パン・チルト動作検出手段による検出結果に基づいて前記装置本体が所定時間以上継続してパン・チルト動作されたか否かを判定する継続動作判定手段
を備え、
前記設定手段は、
前記継続動作判定手段により前記装置本体が所定時間以上継続してパン・チルト動作されたと判定され、かつ、該パン・チルト動作の終了が前記パン・チルト動作検出手段により検出されると、パン・チルト動作終了後の前記積分値の初期値として、任意の固定値を設定する、
請求項1から請求項4の何れか一項に記載の振れ検出装置。
Continuous operation determining means for determining whether or not the apparatus main body has been pan / tilt operated continuously for a predetermined time or more based on a detection result by the pan / tilt operation detecting means;
The setting means includes
When it is determined by the continuous operation determining means that the apparatus main body has been pan / tilt operated continuously for a predetermined time or more, and the end of the pan / tilt operation is detected by the pan / tilt operation detecting means, Set an arbitrary fixed value as the initial value of the integral value after the end of the tilting operation.
The shake detection apparatus according to any one of claims 1 to 4.
前記保持手段は、
時間軸上で直近にサンプリングされた所定数のサンプリング値を保持する、
請求項1から請求項5の何れか一項に記載の振れ検出装置。
The holding means is
Holds a predetermined number of sampled values sampled most recently on the time axis,
The shake detection apparatus according to any one of claims 1 to 5.
請求項1から請求項6の何れか一項に記載の振れ検出装置及び撮像素子を備える撮影装置であって、
前記保持手段は、
前記撮像素子の露光期間中、前記積分値のサンプリングを中断する、
撮影装置。
An imaging device comprising the shake detection device according to any one of claims 1 to 6 and an imaging device,
The holding means is
During the exposure period of the image sensor, the sampling of the integral value is interrupted.
Shooting device.
装置本体の振れを検出して振れ信号を出力する振れ信号出力ステップと、
前記振れ信号に含まれる直流成分をカットする直流成分カットステップと、
前記直流成分カット後の出力を積分する積分ステップと、
前記積分ステップにて得られる積分値を所定のレートでサンプリングして保持する保持ステップと、
前記保持ステップにて保持されたサンプリング値の平均値を計算する平均値計算ステップと、
前記装置本体に対するパン・チルト動作を検出するパン・チルト動作検出ステップと、
パン・チルト動作されている前記装置本体のパン・チルト動作の終了が前記パン・チルト動作検出ステップにて検出されると、該パン・チルト動作終了後の前記積分値の初期値として、前記平均値を設定する設定ステップと、
を含む、
振れ検出方法。
A shake signal output step for detecting a shake of the apparatus body and outputting a shake signal;
A DC component cut step for cutting a DC component included in the shake signal;
An integration step of integrating the output after the DC component cut;
A holding step of sampling and holding the integration value obtained in the integration step at a predetermined rate;
An average value calculating step for calculating an average value of the sampling values held in the holding step;
A pan / tilt operation detecting step for detecting a pan / tilt operation with respect to the apparatus body;
When the end of the pan / tilt operation of the device body that is pan / tilt is detected in the pan / tilt operation detection step, the average value is set as the initial value of the integrated value after the pan / tilt operation ends. A setting step to set the value;
including,
Shake detection method.
前記平均値計算ステップにて、
前記装置本体に対するパン・チルト動作が開始された時又は終了された時、前記保持ステップにて保持されたサンプリング値の平均値を計算する、
請求項8に記載の振れ検出方法。
In the average value calculating step,
When the pan / tilt operation for the apparatus main body is started or ended, an average value of the sampling values held in the holding step is calculated.
The shake detection method according to claim 8.
前記保持ステップにて、
前記装置本体のパン・チルト動作中、前記積分値のサンプリングを中断する、
請求項8又は請求項9に記載の振れ検出方法。
In the holding step,
During the pan / tilt operation of the apparatus body, the sampling of the integral value is interrupted.
The shake detection method according to claim 8 or 9.
前記装置本体が時間間隔を空けてパン・チルト動作された場合に、前記パン・チルト動作検出ステップにおける検出結果に基づいて前回のパン・チルト動作と今回のパン・チルト動作との時間間隔が所定の時間間隔以下であるか否かを判定する時間間隔判定ステップ
を含み、
前記時間間隔判定ステップにて前回のパン・チルト動作と今回のパン・チルト動作との時間間隔が所定の時間間隔以下であると判定され、かつ、今回のパン・チルト動作の終了が前記パン・チルト動作検出ステップにて検出されると、
前記設定ステップにて、
今回のパン・チルト動作終了後の前記積分値の初期値として、前回のパン・チルト動作の終了が検出されたときに設定された平均値を再度設定する、
請求項8から請求項10の何れか一項に記載の振れ検出方法。
When the apparatus body is panned / tilted with a time interval, the time interval between the previous pan / tilt operation and the current pan / tilt operation is predetermined based on the detection result in the pan / tilt motion detection step. Including a time interval determination step of determining whether or not the time interval is equal to or less than
In the time interval determining step, it is determined that the time interval between the previous pan / tilt operation and the current pan / tilt operation is equal to or less than a predetermined time interval, and the end of the current pan / tilt operation is When detected in the tilt motion detection step,
In the setting step,
As the initial value of the integrated value after the end of the current pan / tilt operation, the average value set when the end of the previous pan / tilt operation is detected is set again.
The shake detection method according to any one of claims 8 to 10.
前記パン・チルト動作検出ステップにおける検出結果に基づいて前記装置本体が所定時間以上継続してパン・チルト動作されたか否かを判定する継続動作判定ステップ
を含み、
前記継続動作判定ステップにて前記装置本体が所定時間以上継続してパン・チルト動作されたと判定され、かつ、該パン・チルト動作の終了が前記パン・チルト動作検出ステップにて検出されると、
前記設定ステップにて、
パン・チルト動作終了後の前記積分値の初期値として、任意の固定値を設定する、
請求項8から請求項11の何れか一項に記載の振れ検出方法。
A continuous operation determination step for determining whether or not the apparatus main body has been continuously pan / tilt operated for a predetermined time or more based on a detection result in the pan / tilt operation detection step;
When it is determined in the continuous operation determination step that the apparatus main body has been pan / tilt continuously for a predetermined time or more, and the end of the pan / tilt operation is detected in the pan / tilt operation detection step,
In the setting step,
An arbitrary fixed value is set as the initial value of the integral value after the pan / tilt operation ends.
The shake detection method according to any one of claims 8 to 11.
前記保持ステップにて、
時間軸上で直近にサンプリングされた所定数のサンプリング値を保持する、
請求項8から請求項12の何れか一項に記載の振れ検出方法。
In the holding step,
Holds a predetermined number of sampled values sampled most recently on the time axis,
The shake detection method according to any one of claims 8 to 12.
請求項8から請求項13の何れか一項に記載の振れ検出方法をコンピュータに実行させるための振れ検出プログラム。   A shake detection program for causing a computer to execute the shake detection method according to any one of claims 8 to 13.
JP2014057711A 2014-03-20 2014-03-20 Tremor detection device, imaging device, tremor detection method and detection program Pending JP2015184300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014057711A JP2015184300A (en) 2014-03-20 2014-03-20 Tremor detection device, imaging device, tremor detection method and detection program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014057711A JP2015184300A (en) 2014-03-20 2014-03-20 Tremor detection device, imaging device, tremor detection method and detection program

Publications (1)

Publication Number Publication Date
JP2015184300A true JP2015184300A (en) 2015-10-22

Family

ID=54350955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014057711A Pending JP2015184300A (en) 2014-03-20 2014-03-20 Tremor detection device, imaging device, tremor detection method and detection program

Country Status (1)

Country Link
JP (1) JP2015184300A (en)

Similar Documents

Publication Publication Date Title
JP4916513B2 (en) Imaging device
JP5203018B2 (en) Imaging device and camera
US20150036001A1 (en) Imaging apparatus
US20080284858A1 (en) Image pickup apparatus equipped with function of detecting image shaking
US10944895B2 (en) Accessory apparatus, image-capturing apparatus, control apparatus, lens apparatus, control method, computer program and storage medium storing computer program
US9659356B2 (en) Image blur correction apparatus and image blur correction method
WO2020044803A1 (en) Imaging device, imaging method, and program
JP2009251491A (en) Imaging apparatus and control method for imaging apparatus
JP5052389B2 (en) Imaging device
JP2007206382A (en) Shake detecting device, its control method, photographing device, control program and recording medium
JP2014209712A (en) Imaging device, control method and program
JP7314204B2 (en) IMAGING DEVICE, IMAGING METHOD, AND PROGRAM
US10999509B2 (en) Systems, methods, and mediums for controlling image stabilization based on imaging condition
JP5478677B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP2009284117A (en) Imaging device and method of controlling imaging device
JP6489350B2 (en) Image blur correction apparatus and image blur correction method in the image blur correction apparatus
JP2015184300A (en) Tremor detection device, imaging device, tremor detection method and detection program
JP2012114677A (en) Imaging apparatus, imaging method, and program
JP2009088679A (en) Photography device and its control method
JP2009086036A (en) Imaging device and control method for imaging device
JP7286415B2 (en) Image blur correction device, imaging device and control method
JP6222520B2 (en) Gravity direction detection device and photographing device
JP6283989B2 (en) Image scaling processor
US10951829B2 (en) Image capturing apparatus and method for controlling display
US20240022706A1 (en) Evaluation method of image blur correction capability of image capturing apparatus, image capturing apparatus, and recording medium