JP2008046073A - Angle-measuring apparatus and method, and photographing device - Google Patents

Angle-measuring apparatus and method, and photographing device Download PDF

Info

Publication number
JP2008046073A
JP2008046073A JP2006224074A JP2006224074A JP2008046073A JP 2008046073 A JP2008046073 A JP 2008046073A JP 2006224074 A JP2006224074 A JP 2006224074A JP 2006224074 A JP2006224074 A JP 2006224074A JP 2008046073 A JP2008046073 A JP 2008046073A
Authority
JP
Japan
Prior art keywords
component
angle
acceleration
extracted
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006224074A
Other languages
Japanese (ja)
Inventor
Takaharu Sakota
隆治 迫田
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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2006224074A priority Critical patent/JP2008046073A/en
Publication of JP2008046073A publication Critical patent/JP2008046073A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices With Unspecified Measuring Means (AREA)
  • Adjustment Of Camera Lenses (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a camera shake preventing function with a low-cost structure and to enable precise measurement of an attitude angle. <P>SOLUTION: Acceleration generated in the x-axis direction and the z-axis direction of a digital camera is detected by an acceleration detecting section (100) and the AC component and the DC component of the detected acceleration is extracted (102). The peak value of the extracted DC component is detected (104) and the DC component value in the condition that the lateral direction of the digital camera is horizontal is detected. Then, based on the difference between the value of the extracted DC component and the peak value of the detected DC component, the attitude angle in the lateral direction of the digital camera to the horizontal direction is measured (106) and the attitude angle measured by an LCD is displayed (108). In response to the AC component of the extracted acceleration, a camera-shake correcting lens is moved; the displacement of an optical axis by the camera shake is cancelled; and image data exhibiting a subject image to be photographed that prevents the camera shake is obtained. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、角度計測装置、撮影装置、及び角度計測方法に係り、特に、自装置の姿勢角を計測する角度計測装置、撮影装置、及び角度計測方法に関する。   The present invention relates to an angle measurement device, an imaging device, and an angle measurement method, and more particularly to an angle measurement device, an imaging device, and an angle measurement method for measuring the attitude angle of the device itself.

従来、デジタルカメラなどの撮影装置では、アルコール又は水に気泡が入った水準器を取り付けて、撮影装置の角度を調整し、水平出しを行っている。   2. Description of the Related Art Conventionally, in a photographing apparatus such as a digital camera, a level that contains bubbles in alcohol or water is attached, and the angle of the photographing apparatus is adjusted and leveled.

例えば、撮像手段の撮影光軸に沿った回転軸を中心に、該撮像手段が予め決められた姿勢に対して回転された方向および角度を検出する撮像姿勢検出手段を備えた電子カメラが知られている(特許文献1)。この電子カメラの撮像姿勢検出手段は、2つの水銀スイッチを有しており、水銀スイッチのオンオフの組み合わせから回転された方向及び角度を検出している。
特開平10−164426号公報
For example, an electronic camera is known that includes an imaging posture detection unit that detects a direction and an angle of rotation of the imaging unit with respect to a predetermined posture around a rotation axis along the imaging optical axis of the imaging unit. (Patent Document 1). The imaging posture detection means of this electronic camera has two mercury switches, and detects the rotated direction and angle from the combination of on / off of the mercury switches.
Japanese Patent Laid-Open No. 10-164426

しかしながら、上記の特許文献1に記載の技術では、水銀スイッチのオンオフの組み合わせで角度を検出しているため、精度よく角度を検出することができない、という問題がある。   However, the technique described in Patent Document 1 has a problem that the angle cannot be detected with high accuracy because the angle is detected by the combination of turning on and off the mercury switch.

本発明は上記問題点を解決するためになされたものであり、精度よく姿勢角を計測することができる角度計測装置、撮影装置、及び角度計測方法を提供することを目的とする。   The present invention has been made to solve the above problems, and an object of the present invention is to provide an angle measuring device, an imaging device, and an angle measuring method capable of accurately measuring a posture angle.

上記目的を達成するために、本発明に係る角度計測装置は、自装置に生じる加速度を検知して、前記加速度に応じた信号を出力する検知手段と、前記検知手段によって出力された信号の直流成分を抽出する抽出手段と、前記抽出手段によって抽出された直流成分に基づいて、基準方向に対する自装置の姿勢角を計測する角度計測手段とを含んで構成されている。   In order to achieve the above object, an angle measuring device according to the present invention detects an acceleration generated in the device itself, outputs a signal corresponding to the acceleration, and a direct current of the signal output by the detecting device. Extraction means for extracting the component and angle measurement means for measuring the attitude angle of the apparatus relative to the reference direction based on the direct current component extracted by the extraction means.

本発明に係る角度計測方法は、自装置に生じる加速度を検知して、前記加速度に応じた信号を出力する検知手段を備えた角度計測装置の角度計測方法であって、前記出力された信号の直流成分を抽出し、前記抽出された直流成分に基づいて、基準方向に対する自装置の姿勢角を計測することを特徴としている。   An angle measurement method according to the present invention is an angle measurement method of an angle measurement apparatus provided with a detection unit that detects acceleration generated in its own device and outputs a signal corresponding to the acceleration, A DC component is extracted, and based on the extracted DC component, the posture angle of the apparatus with respect to a reference direction is measured.

本発明によれば、検知手段によって、自装置に生じる加速度を検知して、加速度に応じた信号を出力する。そして、出力された信号の直流成分を抽出し、抽出された直流成分に基づいて、基準方向に対する自装置の姿勢角を計測する。   According to the present invention, the detection means detects the acceleration generated in the device itself and outputs a signal corresponding to the acceleration. Then, the DC component of the output signal is extracted, and the posture angle of the own apparatus with respect to the reference direction is measured based on the extracted DC component.

このように、加速度の直流成分に基づいて、自装置の姿勢角を計測するので、精度よく姿勢角を計測することができる。   Thus, since the posture angle of the device itself is measured based on the direct current component of acceleration, the posture angle can be measured with high accuracy.

本発明に係る撮影装置は、被写体像を結像する結像手段と、結像手段によって結像された被写体像を撮影する撮影手段と、自装置に生じる加速度を検知して、前記加速度に応じた信号を出力する検知手段と、前記検知手段によって出力された信号の直流成分及び交流成分を抽出する抽出手段と、前記抽出手段によって抽出された交流成分に応じて、前記結像手段及び前記撮影手段の少なくとも一方を移動させて手ぶれを防止する手ぶれ防止手段と、前記抽出手段によって抽出された直流成分に基づいて、基準方向に対する自装置の姿勢角を計測する角度計測手段とを含んで構成されている。   An imaging device according to the present invention detects an acceleration generated in an image forming unit that forms an image of a subject, a shooting unit that captures an image of the subject formed by the imaging unit, and responds to the acceleration. Detection means for outputting the detected signal, extraction means for extracting the direct current component and alternating current component of the signal output by the detection means, and the imaging means and the photographing according to the alternating current component extracted by the extraction means A camera shake preventing means for preventing camera shake by moving at least one of the means, and an angle measuring means for measuring a posture angle of the apparatus relative to a reference direction based on the direct current component extracted by the extracting means. ing.

本発明に係る撮影装置によれば、検知手段によって、自装置に生じる加速度を検知して、加速度に応じた信号を出力し、抽出手段によって、検知手段によって出力された信号の直流成分及び交流成分を抽出する。   According to the photographing apparatus of the present invention, the detection unit detects the acceleration generated in the own device, outputs a signal corresponding to the acceleration, and the extraction unit outputs the direct current component and the alternating current component of the signal output by the detection unit. To extract.

そして、手ぶれ防止手段によって、抽出手段によって抽出された交流成分に応じて、結像手段及び撮影手段の少なくとも一方を移動させて手ぶれを防止する。また、角度計測手段によって、抽出手段によって抽出された直流成分に基づいて、基準方向に対する自装置の姿勢角を計測する。   Then, the camera shake is prevented by moving at least one of the imaging unit and the photographing unit according to the alternating current component extracted by the extraction unit. Further, the angle measuring means measures the attitude angle of the device relative to the reference direction based on the direct current component extracted by the extracting means.

このように、加速度の直流成分に基づいて、自装置の姿勢角を計測するので、精度よく角度を計測することができ、また、手ぶれ防止のために検知する加速度を用いて、自装置の姿勢角を計測するので、姿勢角の計測のために新たな構成を設ける必要がないため、低コストな構成で、手ぶれ防止機能を有すると共に、姿勢角を計測することができる。   As described above, since the posture angle of the own device is measured based on the direct current component of the acceleration, the angle can be measured with high accuracy, and the posture of the own device can be measured using the acceleration detected for preventing camera shake. Since the angle is measured, it is not necessary to provide a new configuration for measuring the posture angle. Therefore, the posture angle can be measured with a low-cost configuration and an anti-shake function.

また、本発明に係る撮影装置は、角度計測手段によって計測された姿勢角を表示する表示手段を更に含むことができる。これによって、姿勢角を表示することができるため、撮影装置が水平となるように、ユーザが容易に撮影装置の姿勢角を補正することができる。   In addition, the photographing apparatus according to the present invention can further include a display unit that displays the posture angle measured by the angle measuring unit. Accordingly, since the posture angle can be displayed, the user can easily correct the posture angle of the photographing device so that the photographing device is horizontal.

また、本発明に係る撮影装置は、角度計測手段によって計測された姿勢角を記憶する記憶手段を更に含むことができる。これによって、姿勢角を記憶するため、後で画像の傾きを容易に補正することができる。   In addition, the photographing apparatus according to the present invention can further include a storage unit that stores the posture angle measured by the angle measurement unit. Thereby, since the posture angle is stored, the inclination of the image can be easily corrected later.

また、本発明に係る撮影装置は、角度計測手段によって計測された姿勢角に基づいて、撮影手段によって撮影された画像の傾きを補正する補正手段を更に含むことができる。これによって、傾きが補正された画像を常に得ることができる。   In addition, the photographing apparatus according to the present invention may further include a correcting unit that corrects the inclination of the image photographed by the photographing unit based on the posture angle measured by the angle measuring unit. As a result, an image whose inclination is corrected can always be obtained.

また、上記の検知手段は、自装置の所定方向に生じる加速度を検知し、角度計測手段は、抽出手段によって抽出された直流成分の最大値を検出し、計測対象時の直流成分と検出された直流成分の最大値とに基づいて、姿勢角を計測する。これにより、加速度の直流成分の最大値を用いて、姿勢角を計測することができる。   Further, the detection means detects acceleration generated in a predetermined direction of the device itself, and the angle measurement means detects the maximum value of the direct current component extracted by the extraction means, and is detected as the direct current component at the time of measurement. The posture angle is measured based on the maximum value of the DC component. Thus, the posture angle can be measured using the maximum value of the direct current component of acceleration.

また、上記の検知手段は、自装置の3軸方向の各々に生じる加速度を検知して、各加速度に応じた信号を出力し、抽出手段は、3軸方向の各々について、信号の直流成分を抽出し、角度計測手段は、抽出手段によって抽出された3軸方向の直流成分に基づいて、姿勢角を計測することができる。これにより、3軸方向の加速度の直流成分を用いて、姿勢角を計測することができる。   The detecting means detects acceleration generated in each of the three axial directions of the device and outputs a signal corresponding to each acceleration, and the extracting means outputs a DC component of the signal for each of the three axial directions. The angle measuring means can extract and measure the posture angle based on the three-axis DC component extracted by the extracting means. As a result, the posture angle can be measured using the DC component of the acceleration in the three-axis directions.

本発明に係る角度計測装置及び角度計測方法によれば、加速度の直流成分に基づいて、自装置の姿勢角を計測するので、精度よく姿勢角を計測することができる、という効果が得られる。   According to the angle measuring device and the angle measuring method according to the present invention, since the posture angle of the own device is measured based on the direct current component of the acceleration, an effect that the posture angle can be measured with high accuracy is obtained.

また、本発明に係る撮影装置によれば、加速度の直流成分に基づいて、自装置の姿勢角を計測するので、精度よく角度を計測することができ、また、手ぶれ防止のために検知する加速度を用いて、自装置の姿勢角を計測するので、姿勢角の計測のために新たな構成を設ける必要がないため、低コストな構成で、手ぶれ防止機能を有すると共に、姿勢角を計測することができる、という効果が得られる。   Further, according to the photographing apparatus according to the present invention, since the attitude angle of the own apparatus is measured based on the direct current component of the acceleration, the angle can be measured with high accuracy, and the acceleration detected for preventing camera shake. Because it measures the posture angle of its own device, it is not necessary to provide a new configuration for measuring the posture angle, so it has a camera shake prevention function and measures the posture angle with a low-cost configuration. The effect of being able to be obtained.

以下、本発明の実施の形態について詳細に説明する。なお、デジタルカメラに本発明を適用した場合について説明する。   Hereinafter, embodiments of the present invention will be described in detail. A case where the present invention is applied to a digital camera will be described.

図1に示すように、第1の実施の形態に係るデジタルカメラ10は、レンズ12、ズームレンズ14、及び光学補正方式手ぶれ補正を行うための手ぶれ補正レンズ16を含む複数のレンズからなるレンズユニット及び絞り18を含んで構成された光学ユニット20を備えている。
手ぶれ補正レンズ16は、手ぶれ補正ドライブ回路22のモータによって駆動され、光軸をずらすように動作し、手ぶれによる光軸のずれを補正して手ぶれを防止する。また、絞り18は、絞りドライブ回路23のモータによって駆動され、絞り18の開閉を行う。なお、ズームレンズドライブ回路21、手ぶれ補正ドライブ回路22、及び絞りドライブ回路23は、後述するメインCPU40によって制御される。
As shown in FIG. 1, the digital camera 10 according to the first embodiment includes a lens unit including a lens 12, a zoom lens 14, and a camera shake correction lens 16 for performing an optical correction method camera shake correction. And an optical unit 20 including an aperture 18.
The camera shake correction lens 16 is driven by the motor of the camera shake correction drive circuit 22 and operates so as to shift the optical axis, and corrects the optical axis shift due to camera shake to prevent camera shake. The diaphragm 18 is driven by a motor of the diaphragm drive circuit 23 to open and close the diaphragm 18. The zoom lens drive circuit 21, the camera shake correction drive circuit 22, and the aperture drive circuit 23 are controlled by a main CPU 40 described later.

また、デジタルカメラ10には、光学ユニット20の光軸後方に配設された電荷結合素子(以下、「CCD」という。)24と、入力されたアナログ信号に対して各種のアナログ信号処理を行なうアナログ信号処理部26とが設けられている。   Further, the digital camera 10 performs various analog signal processing on the charge coupled device (hereinafter referred to as “CCD”) 24 disposed behind the optical axis of the optical unit 20 and the input analog signal. An analog signal processing unit 26 is provided.

また、デジタルカメラ10には、入力されたアナログ信号をデジタルデータに変換するアナログ/デジタル変換器(以下、「ADC」という。)28が設けられており、このデジタルデータが後述するメインCPU40に出力され、このデジタルデータに対して各種のデジタル信号処理が行われる。   Further, the digital camera 10 is provided with an analog / digital converter (hereinafter referred to as “ADC”) 28 for converting an input analog signal into digital data, and this digital data is output to a main CPU 40 described later. Various digital signal processing is performed on the digital data.

CCD24の出力端はアナログ信号処理部26の入力端に、アナログ信号処理部26の出力端はADC28の入力端に、各々接続されている。従って、CCD24から出力された被写体像を示すアナログ信号はアナログ信号処理部26によって所定のアナログ信号処理が施され、ADC28によってデジタル画像データに変換された後にメインCPU40に入力される。   The output terminal of the CCD 24 is connected to the input terminal of the analog signal processing unit 26, and the output terminal of the analog signal processing unit 26 is connected to the input terminal of the ADC 28. Accordingly, the analog signal indicating the subject image output from the CCD 24 is subjected to predetermined analog signal processing by the analog signal processing unit 26, converted into digital image data by the ADC 28, and then input to the main CPU 40.

また、デジタルカメラ10には、デジタルカメラ10全体の動作を制御するメインCPU40と、撮影により得られた画像データ等を一時的に記憶するSDRAM(Synchronous DRAM)で構成されるメモリ48と、メモリ48に対するアクセスの制御を行なうメモリインタフェース46とが設けられている。また、メインCPU40には、後述する角度計測処理ルーチンを実現するためのプログラムを含む各種プログラムが格納されているEEPROM47が接続されている。   In addition, the digital camera 10 includes a main CPU 40 that controls the operation of the entire digital camera 10, a memory 48 that includes an SDRAM (Synchronous DRAM) that temporarily stores image data obtained by shooting, and the memory 48. And a memory interface 46 for controlling access to the. The main CPU 40 is connected to an EEPROM 47 in which various programs including a program for realizing an angle measurement processing routine described later are stored.

更に、デジタルカメラ10には、例えば、可搬型のスマートメディア(Smart Media(登録商標))で構成されるメモリカード52をデジタルカメラ10でアクセス可能とするための外部メモリインタフェース50と、デジタル画像データに対する圧縮処理及び伸張処理を行なう圧縮・伸張処理回路54とが設けられている。   Further, the digital camera 10 includes an external memory interface 50 for enabling the digital camera 10 to access a memory card 52 formed of, for example, portable smart media (Smart Media (registered trademark)), and digital image data. And a compression / decompression processing circuit 54 for performing compression processing and decompression processing on the.

一方、デジタルカメラ10は、主としてCCD24を駆動させるためのタイミング信号を生成してCCD24に供給するタイミングジェネレータ(図示省略)を備えており、CCD24の駆動はメインCPU40によりタイミングジェネレータを介して制御される。   On the other hand, the digital camera 10 includes a timing generator (not shown) that mainly generates a timing signal for driving the CCD 24 and supplies the timing signal to the CCD 24. The driving of the CCD 24 is controlled by the main CPU 40 via the timing generator. .

更に、レリーズスイッチ、電源スイッチ、モード切替スイッチ、十字カーソルスイッチ、ズームスイッチ、メニュースイッチ等の各種スイッチ(図1では、「操作部56」と総称。)はメインCPU40に接続されており、メインCPU40は、操作部56に対する操作状態を常時把握できる。   Further, various switches (generally referred to as “operation unit 56” in FIG. 1) such as a release switch, a power switch, a mode switch, a cross cursor switch, a zoom switch, and a menu switch are connected to the main CPU 40. Can always grasp the operation state of the operation unit 56.

また、デジタルカメラ10には、ストロボ44との間に介在されると共に、ストロボ44を発光させるための電力を充電する充電部42が設けられている。   In addition, the digital camera 10 is provided with a charging unit 42 that is interposed between the digital camera 10 and the electric power for causing the electronic flash 44 to emit light.

また、デジタルカメラ10は、デジタル画像データにより示される被写体像やメニュー画面等をLCD38に表示させるための画像信号を生成してLCD38に供給するLCDインタフェース36を備えている。   The digital camera 10 also includes an LCD interface 36 that generates an image signal for displaying on the LCD 38 a subject image or a menu screen indicated by the digital image data and supplies the image signal to the LCD 38.

その他、LCDインタフェース36では、画像データにより示される被写体像の画素配列に変換する画素配列変換処理、当該被写体像の画素数をLCD38の画素数に変換する画素数変換処理、当該被写体像に対するLCD38の特性等に応じたガンマ処理やシャープネス処理等の各種処理を実行するが、以上のようなLCDインタフェース36の動作は従来既知であるので、これ以上の説明は省略する。   In addition, in the LCD interface 36, a pixel array conversion process for converting the pixel array of the subject image indicated by the image data, a pixel number conversion process for converting the number of pixels of the subject image into the number of pixels of the LCD 38, and the LCD 38 for the subject image Various processes such as a gamma process and a sharpness process corresponding to the characteristics and the like are executed. Since the operation of the LCD interface 36 as described above is conventionally known, further description thereof is omitted.

また、デジタルカメラ10には、例えば、充電式の電池を備え、メインCPU40から入力される電源制御信号に基づいて、デジタルカメラ10の各部に電源を供給したり、電源の供給を停止したりする電源部68が設けられている。   Further, the digital camera 10 includes, for example, a rechargeable battery, and supplies power to each part of the digital camera 10 based on a power control signal input from the main CPU 40, or stops supplying power. A power supply unit 68 is provided.

また、デジタルカメラ10には、ADC28から得られた画像データ又はメモリ48やメモリカード52から読み出した画像データに対して、各種画像処理を行うためのプロセス画像処理部58と、手ぶれを検出するためにデジタルカメラ10の縦方向及び横方向に生じる加速度(単位は重力加速度)を検知し、検知した加速度に応じた信号を出力する加速度検知部60とが設けられており、デジタルカメラ10が水平状態で静止している場合には、加速度検知部60によって、縦方向に重力に相当する加速度(1.0G)が検知されるようになっている。   In addition, the digital camera 10 includes a process image processing unit 58 for performing various image processing on image data obtained from the ADC 28 or image data read from the memory 48 or the memory card 52, and for detecting camera shake. Is provided with an acceleration detecting unit 60 that detects acceleration (unit: gravitational acceleration) generated in the vertical and horizontal directions of the digital camera 10 and outputs a signal corresponding to the detected acceleration. When the vehicle is stationary, the acceleration detector 60 detects acceleration (1.0 G) corresponding to gravity in the vertical direction.

また、図2に示すように、デジタルカメラ10の横方向(x軸方向)が水平方向と一致し、光軸方向(y軸方向)も水平方向と一致している場合には、縦方向(z軸方向)の加速度Zは1.0G(重力加速度)となり、x軸方向及びy軸方向の加速度が0となる。また、図3に示すように、デジタルカメラ10のx軸方向が水平方向と一致せず、y軸方向が水平方向と一致している場合には、z軸方向の加速度Z及びx軸方向の加速度は以下の式で表され、y軸方向の加速度が0となる。
=X+Z
また、図4に示すように、デジタルカメラ10のx軸方向及びy軸方向が水平方向と一致しない場合には、z軸方向の加速度Z、x軸方向の加速度X、及びy軸方向の加速度Yは以下の式で表される。
=Y+(X+Z
また、デジタルカメラ10の水平出しがとれている場合(x軸方向が水平方向と一致している場合)には、x軸方向の加速度Xが0となる。
In addition, as shown in FIG. 2, when the horizontal direction (x-axis direction) of the digital camera 10 matches the horizontal direction and the optical axis direction (y-axis direction) also matches the horizontal direction, the vertical direction ( The acceleration Z in the z-axis direction is 1.0 G (gravity acceleration), and the acceleration in the x-axis direction and the y-axis direction is zero. Further, as shown in FIG. 3, when the x-axis direction of the digital camera 10 does not coincide with the horizontal direction and the y-axis direction coincides with the horizontal direction, the acceleration Z in the z-axis direction and the x-axis direction The acceleration is expressed by the following formula, and the acceleration in the y-axis direction is zero.
G 2 = X 2 + Z 2
Further, as shown in FIG. 4, when the x-axis direction and the y-axis direction of the digital camera 10 do not coincide with the horizontal direction, the acceleration Z in the z-axis direction, the acceleration X in the x-axis direction, and the acceleration in the y-axis direction Y is represented by the following formula.
G 2 = Y 2 + (X 2 + Z 2 )
Further, when the digital camera 10 is leveled (when the x-axis direction coincides with the horizontal direction), the acceleration X in the x-axis direction becomes zero.

ADC28、LCDインタフェース36、メインCPU40、メモリインタフェース46、圧縮・伸張処理回路54、プロセス画像処理部58、及び加速度検知部60はシステムバスBUSを介して相互に接続されている。メインCPU40は、LCDインタフェース36、圧縮・伸張処理回路54、プロセス画像処理部58、及び加速度検知部60の作動の制御、並びにメモリ48及びメモリカード52へのメモリインタフェース46ないし外部メモリインタフェース50を介したアクセスを行なう。   The ADC 28, the LCD interface 36, the main CPU 40, the memory interface 46, the compression / decompression processing circuit 54, the process image processing unit 58, and the acceleration detection unit 60 are connected to each other via a system bus BUS. The main CPU 40 controls the operations of the LCD interface 36, the compression / decompression processing circuit 54, the process image processing unit 58, and the acceleration detection unit 60, and the memory interface 46 or the external memory interface 50 to the memory 48 and the memory card 52. Access.

次に、第1の実施の形態に係るデジタルカメラ10の動作について説明する。デジタルカメラ10の電源をオンし、モード切替スイッチによって、被写体を撮影するモードに切り替わったときに、図5に示す角度計測処理ルーチンが実行される。   Next, the operation of the digital camera 10 according to the first embodiment will be described. When the power of the digital camera 10 is turned on and the mode is switched to the mode for photographing the subject by the mode switch, the angle measurement processing routine shown in FIG. 5 is executed.

まず、ステップ100において、加速度検知部60によってデジタルカメラ10のx軸方向及びz軸方向に生じる加速度を検知し、加速度検知部60から出力された信号を取り込み、ステップ102で、取り込んだ信号のAC成分とDC成分とを抽出する。例えば、図6に示すように、取り込んだ信号が示す加速度の単位時間内の変化を積分することにより、DC成分値を算出し、取り込んだ信号が示す加速度からDC成分値を減算して、AC成分値を算出して、AC成分とDC成分とを抽出する。   First, in step 100, the acceleration detection unit 60 detects acceleration generated in the x-axis direction and the z-axis direction of the digital camera 10, and captures a signal output from the acceleration detection unit 60. In step 102, AC of the captured signal is detected. The component and the DC component are extracted. For example, as shown in FIG. 6, a DC component value is calculated by integrating a change in unit time of acceleration indicated by the acquired signal, and the DC component value is subtracted from the acceleration indicated by the acquired signal. A component value is calculated, and an AC component and a DC component are extracted.

次のステップ104では、ステップ102で抽出されたDC成分のピーク値を検出する。DC成分のピーク値は、過去の所定時間内に抽出されたDC成分から検出されるピーク値であり、過去に検出されたピーク値と現在のDC成分値と比較して、都度ピーク値を更新することにより、デジタルカメラ10の横方向が水平となっている状態におけるDC成分値を検出する。   In the next step 104, the peak value of the DC component extracted in step 102 is detected. The peak value of the DC component is a peak value detected from the DC component extracted in the past predetermined time, and the peak value is updated each time by comparing the peak value detected in the past with the current DC component value. As a result, the DC component value in a state where the horizontal direction of the digital camera 10 is horizontal is detected.

そして、ステップ106において、ステップ102で抽出されたDC成分の値とステップ104で検出されたDC成分のピーク値との差分に基づいて、水平方向に対するデジタルカメラ10の横方向の姿勢角を以下のように計測する。   In step 106, based on the difference between the DC component value extracted in step 102 and the DC component peak value detected in step 104, the horizontal posture angle of the digital camera 10 with respect to the horizontal direction is expressed as follows. Measure as follows.

まず、ステップ102で抽出されたDC成分の値(x軸方向に生じる加速度X及びz軸方向に生じる加速度Z)に基づいて、以下の式のように、θnowを計算し、
tan−1(X/Z)=θnow
また、ステップ104で検出されたDC成分の値に基づいて、以下の式により、θmaxを計算し、
tan−1(X/Z)=θmax
以下の式により、水平方向に対するデジタルカメラ10の横方向の姿勢角θを計測する。
θ=θmax−θnow
そして、ステップ108において、LCD38に計測された姿勢角を表示し、ステップ100へ戻り、繰り返し姿勢角を計測する。
First, based on the value of the DC component extracted in step 102 (acceleration X generated in the x-axis direction and acceleration Z generated in the z-axis direction), θnow is calculated as in the following equation:
tan −1 (X / Z) = θnow
Further, based on the value of the DC component detected in step 104, θmax is calculated by the following equation:
tan −1 (X / Z) = θmax
The lateral orientation angle θ of the digital camera 10 with respect to the horizontal direction is measured by the following equation.
θ = θmax−θnow
In step 108, the measured posture angle is displayed on the LCD 38, and the process returns to step 100 to repeatedly measure the posture angle.

そして、ユーザは、LCD38に表示された姿勢度を見ながら、デジタルカメラ10の横方向の姿勢角を補正し、水平状態にする。   Then, the user corrects the lateral attitude angle of the digital camera 10 while looking at the attitude degree displayed on the LCD 38 to make it horizontal.

また、上記の角度計測処理ルーチンが実行されているときに、検知された加速度が予め定められたしきい値を超えると、手ぶれが検出され、検知された加速度から抽出された加速度のAC成分に応じて、手ぶれ補正ドライブ回路22のモータを駆動させて、手ぶれ補正レンズ16を移動させて、手ぶれによる光軸のずれを打ち消して、手ぶれを防止した被写体像を示すアナログ信号がCCD24から出力されるようにする。そして、ADC28から、被写体像を示す画像データを取得する。   Further, when the above-described angle measurement processing routine is executed, if the detected acceleration exceeds a predetermined threshold, camera shake is detected, and the AC component of the acceleration extracted from the detected acceleration is detected. In response, the motor of the camera shake correction drive circuit 22 is driven to move the camera shake correction lens 16 to cancel the optical axis shift due to camera shake, and an analog signal indicating a subject image in which camera shake is prevented is output from the CCD 24. Like that. Then, the image data indicating the subject image is acquired from the ADC 28.

以上説明したように、第1の実施の形態に係るデジタルカメラによれば、加速度のDC成分の最大値と計測対象時の加速度のDC成分とに基づいて、自装置の姿勢角を計測するので、精度よく姿勢角を計測することができ、また、手ぶれ防止のために検知する加速度を用いて、自装置の姿勢角を計測するので、姿勢角の計測のために新たな構成を設ける必要がないため、低コストな構成で、手ぶれ防止機能を有すると共に、姿勢角を計測することができる
また、計測された姿勢角を表示するため、デジタルカメラが水平となるように、ユーザが容易にデジタルカメラの姿勢角を補正することができる。
As described above, according to the digital camera according to the first embodiment, the posture angle of its own device is measured based on the maximum value of the DC component of acceleration and the DC component of acceleration at the time of measurement. The posture angle can be measured with high accuracy, and the posture angle of the device itself is measured using the acceleration detected to prevent camera shake. Therefore, it is necessary to provide a new configuration for the posture angle measurement. Therefore, it is possible to measure the posture angle with an anti-shake function with a low-cost configuration. Also, since the measured posture angle is displayed, the digital camera can be easily digitalized so that the digital camera is horizontal. The posture angle of the camera can be corrected.

また、手ぶれ防止用の加速度検知部で検知された加速度を姿勢角の計測に利用することにより、部品点数を削減できるとともに、開発コストを削減することができる。   Further, by using the acceleration detected by the acceleration detection unit for preventing camera shake for the measurement of the posture angle, the number of parts can be reduced and the development cost can be reduced.

なお、上記の実施の形態では、デジタルカメラの姿勢角を計測する場合を例に説明したが、これに限定されるものではなく、例えば、パラボナアンテナの姿勢角を計測する場合に本発明を適用してもよい。この場合には、検知される加速度のAC成分によって、パラボナアンテナのぶれを検出すると共に、加速度のDC成分によって、パラボナアンテナの姿勢角を計測することができる。   In the above embodiment, the case where the attitude angle of the digital camera is measured has been described as an example. However, the present invention is not limited to this. For example, the present invention is applied to the case where the attitude angle of the parabona antenna is measured. May be. In this case, the shake of the parabona antenna can be detected by the detected AC component of the acceleration, and the attitude angle of the parabona antenna can be measured by the DC component of the acceleration.

次に、第2の実施の形態について説明する。なお、第2の実施の形態に係るデジタルカメラは、第1の実施の形態と同様の構成となっているため、同一符号を付して説明を省略する。   Next, a second embodiment will be described. Since the digital camera according to the second embodiment has the same configuration as that of the first embodiment, the same reference numerals are given and description thereof is omitted.

第2の実施の形態では、計測した姿勢角を、画像データと共に記憶する点が第1の実施の形態と異なっている。   The second embodiment is different from the first embodiment in that the measured posture angle is stored together with the image data.

第2の実施の形態に係る角度計測処理ルーチンについて、図7を用いて説明する。なお、第1の実施の形態と同様の処理については、同一符号を付して詳細な説明を省略する。   An angle measurement processing routine according to the second embodiment will be described with reference to FIG. In addition, about the process similar to 1st Embodiment, the same code | symbol is attached | subjected and detailed description is abbreviate | omitted.

まず、ステップ100において、加速度検知部60によって加速度を検知し、加速度検知部60から出力された信号を取り込み、ステップ102で、取り込んだ信号のAC成分とDC成分とを抽出し、次のステップ104では、抽出されたDC成分のピーク値を検出し、ステップ106で、抽出されたDC成分の値と検出されたDC成分のピーク値との差分に基づいて、水平方向に対するデジタルカメラ10の横方向の姿勢角を計測する。   First, in step 100, acceleration is detected by the acceleration detection unit 60, and a signal output from the acceleration detection unit 60 is captured. In step 102, an AC component and a DC component of the captured signal are extracted. Then, the peak value of the extracted DC component is detected, and in step 106, the horizontal direction of the digital camera 10 with respect to the horizontal direction is determined based on the difference between the extracted DC component value and the detected DC component peak value. Measure the attitude angle.

そして、ステップ200において、レリーズスイッチが押下されたか否かを判定し、レリーズスイッチがまだ押下されない場合には、ステップ100へ戻り、再び姿勢角を計測する。一方、レリーズスッチが押下された場合には、ステップ202で、撮影処理が行われ、ステップ204で、撮影処理によって得られた画像データと共に、ステップ106で計測された姿勢角をメモリカード52に記録し、角度計測処理ルーチンを終了する。   In step 200, it is determined whether or not the release switch has been pressed. If the release switch has not been pressed, the process returns to step 100 and the attitude angle is measured again. On the other hand, when the release switch is pressed, the photographing process is performed in step 202, and the attitude angle measured in step 106 is recorded in the memory card 52 together with the image data obtained by the photographing process in step 204. Then, the angle measurement processing routine ends.

そして、ユーザが操作部56を操作して、デジタルカメラ10に設けられた画像補正機能により、メモリカード52に記録された姿勢角に基づいて、対応する画像データが示す画像の傾きを補正する。   Then, the user operates the operation unit 56 to correct the inclination of the image indicated by the corresponding image data based on the attitude angle recorded in the memory card 52 by the image correction function provided in the digital camera 10.

また、メモリカード52のデータが、パーソナルコンピュータに取り込まれた場合には、パーソナルコンピュータにインストールされた画像処理アプリケーションによって、姿勢角に基づいて、画像データが示す画像の傾きが補正される。   Further, when the data in the memory card 52 is taken into the personal computer, the inclination of the image indicated by the image data is corrected based on the attitude angle by the image processing application installed in the personal computer.

以上説明したように、第2の実施の形態に係るデジタルカメラによれば、計測された姿勢角を画像データと共に記憶するため、後で画像データが示す画像の傾きを容易に補正することができる。   As described above, according to the digital camera according to the second embodiment, the measured attitude angle is stored together with the image data, so that the inclination of the image indicated by the image data can be easily corrected later. .

次に、第3の実施の形態について説明する。なお、第3の実施の形態に係るデジタルカメラの構成は、第1の実施の形態と同様であるため、同一符号を付して説明を省略する。   Next, a third embodiment will be described. Since the configuration of the digital camera according to the third embodiment is the same as that of the first embodiment, the same reference numerals are given and the description thereof is omitted.

第3の実施の形態では、計測した姿勢角に基づいて、画像データが示す画像を自動的に回転補正し、補正された画像データを記憶する点が第1の実施の形態と異なっている。   The third embodiment is different from the first embodiment in that the image indicated by the image data is automatically rotationally corrected based on the measured attitude angle and the corrected image data is stored.

第3の実施の形態に係る角度計測処理ルーチンについて、図8を用いて説明する。なお、第1の実施の形態と同様の処理については、同一符号を付して詳細な説明を省略する。   An angle measurement processing routine according to the third embodiment will be described with reference to FIG. In addition, about the process similar to 1st Embodiment, the same code | symbol is attached | subjected and detailed description is abbreviate | omitted.

まず、ステップ100において、加速度検知部60によって加速度を検知し、加速度検知部60から出力された信号を取り込み、ステップ102で、取り込んだ信号のAC成分とDC成分とを抽出し、次のステップ104では、抽出されたDC成分のピーク値を検出し、ステップ106で、抽出されたDC成分の値と検出されたDC成分のピーク値との差分に基づいて、水平方向に対するデジタルカメラ10の横方向の姿勢角を計測する。   First, in step 100, acceleration is detected by the acceleration detection unit 60, and a signal output from the acceleration detection unit 60 is captured. In step 102, an AC component and a DC component of the captured signal are extracted. Then, the peak value of the extracted DC component is detected, and in step 106, the horizontal direction of the digital camera 10 with respect to the horizontal direction is determined based on the difference between the extracted DC component value and the detected DC component peak value. Measure the attitude angle.

そして、ステップ200において、レリーズスイッチが押下されたか否かを判定し、レリーズスイッチがまだ押下されない場合には、ステップ100へ戻り、再び姿勢角を計測する。一方、レリーズスッチが押下された場合には、ステップ202で、撮影処理が行われ、ステップ300で、ステップ106で計測された姿勢角に基づいて、図9(A)に示すような撮影処理によって得られた画像データが示す画像の傾きを回転補正し、図9(B)に示すような補正された画像データをメモリカード52に記録し、角度計測処理ルーチンを終了する。   In step 200, it is determined whether or not the release switch has been pressed. If the release switch has not been pressed, the process returns to step 100 and the attitude angle is measured again. On the other hand, when the release switch is pressed, a shooting process is performed in step 202, and in step 300, based on the posture angle measured in step 106, a shooting process as shown in FIG. The inclination of the image indicated by the obtained image data is rotationally corrected, the corrected image data as shown in FIG. 9B is recorded in the memory card 52, and the angle measurement processing routine is ended.

以上説明したように、第3の実施の形態に係るデジタルカメラによれば、計測された姿勢角に基づいて、画像データが示す画像の傾きを補正することにより、傾きが補正された画像を常に得ることができる。   As described above, according to the digital camera of the third embodiment, by correcting the inclination of the image indicated by the image data based on the measured attitude angle, the image with the corrected inclination is always displayed. Obtainable.

次に、第4の実施の形態について説明する。なお、第4の実施の形態に係るデジタルカメラの構成は、第1の実施の形態と同様であるため、同一符号を付して説明を省略する。   Next, a fourth embodiment will be described. Since the configuration of the digital camera according to the fourth embodiment is the same as that of the first embodiment, the same reference numerals are given and description thereof is omitted.

第4の実施の形態では、加速度検知部によって、3軸方向の加速度を検知して、3軸方向の加速度のDC成分に基づいて、水平方向に対するデジタルカメラの横方向の姿勢角を計測する点が第1の実施の形態と異なっている。   In the fourth embodiment, the acceleration detection unit detects acceleration in the triaxial direction, and measures the attitude angle of the digital camera in the horizontal direction with respect to the horizontal direction based on the DC component of the acceleration in the triaxial direction. Is different from the first embodiment.

加速度検知部60では、デジタルカメラ10のx軸方向、y軸方向、及びz軸方向の加速度を検知し、3軸方向の各々の加速度に応じた信号を出力する。   The acceleration detection unit 60 detects the acceleration of the digital camera 10 in the x-axis direction, the y-axis direction, and the z-axis direction, and outputs a signal corresponding to each acceleration in the three axis directions.

次に第4の実施の形態に係る角度計測処理ルーチンについて、図10を用いて説明する。まず、ステップ400において、加速度検知部60によってデジタルカメラ10のx軸方向、y軸方向、及びz軸方向に生じる加速度を検知し、加速度検知部60から出力された3軸方向の各々の信号を取り込み、ステップ402で、取り込んだ信号のAC成分とDC成分とを抽出する。   Next, an angle measurement processing routine according to the fourth embodiment will be described with reference to FIG. First, in step 400, the acceleration detection unit 60 detects the acceleration generated in the x-axis direction, the y-axis direction, and the z-axis direction of the digital camera 10, and outputs each signal in the three-axis direction output from the acceleration detection unit 60. In step 402, the AC and DC components of the acquired signal are extracted.

次のステップ404では、ステップ402で抽出された3軸方向のDC成分の値(3軸方向に生じる加速度X、Y、Z)に基づいて、以下の式より、水平方向に対するデジタルカメラ10の横方向の姿勢角θを計測する。
=X+Y+Z
θ=sin−1(X/G)
そして、ステップ108において、LCD38に計測された姿勢角を表示し、ステップ400へ戻り、繰り返し姿勢角を計測する。
In the next step 404, the horizontal direction of the digital camera 10 with respect to the horizontal direction is calculated from the following equation based on the DC component values (acceleration X, Y, Z generated in the three axis directions) extracted in step 402. The orientation angle θ of the direction is measured.
G 2 = X 2 + Y 2 + Z 2
θ = sin −1 (X / G)
In step 108, the measured attitude angle is displayed on the LCD 38, and the process returns to step 400 to repeatedly measure the attitude angle.

以上説明したように、第4の実施の形態に係るデジタルカメラによれば、検知された加速度から抽出された3軸方向の直流成分に基づいて、デジタルカメラの姿勢角を計測することができる。   As described above, according to the digital camera of the fourth embodiment, the attitude angle of the digital camera can be measured based on the DC component in the three-axis direction extracted from the detected acceleration.

次に、第5の実施の形態について説明する。なお、第1の実施の形態と同様の構成については、同一符号を付して説明を省略する。   Next, a fifth embodiment will be described. In addition, about the structure similar to 1st Embodiment, the same code | symbol is attached | subjected and description is abbreviate | omitted.

第5の実施の形態では、CCD24を移動させて手ぶれを防止する撮像素子移動方式手ぶれ補正を採用している点が第1の実施の形態と異なっている。   The fifth embodiment is different from the first embodiment in that image pickup device movement type camera shake correction that moves the CCD 24 to prevent camera shake is employed.

図11に示すように、第5の実施の形態に係るデジタルカメラ410の光学ユニット420は、レンズ12、ズームレンズ14、及び絞り18を含んで構成され、手ぶれ補正レンズは設けられていない。   As shown in FIG. 11, an optical unit 420 of a digital camera 410 according to the fifth embodiment includes a lens 12, a zoom lens 14, and a diaphragm 18, and no camera shake correction lens is provided.

また、デジタルカメラ410には、CCD24を移動させるモータを含む手ぶれ補正ドライブ回路422が設けられ、手ぶれによる光軸のずれに合わせて、手ぶれ補正ドライブ回路422のモータによってCCD24を移動させて、手ぶれを防止するようになっている。また、手ぶれ補正ドライブ回路422は、メインCPU40によって制御されるようになっている。   In addition, the digital camera 410 is provided with a camera shake correction drive circuit 422 including a motor for moving the CCD 24. The camera 24 is moved by moving the CCD 24 by the motor of the camera shake correction drive circuit 422 in accordance with the deviation of the optical axis due to camera shake. It comes to prevent. Further, the camera shake correction drive circuit 422 is controlled by the main CPU 40.

なお、デジタルカメラ410の他の構成は、第1の実施の形態と同様であるため、説明を省略する。   Since the other configuration of the digital camera 410 is the same as that of the first embodiment, the description thereof is omitted.

次に、第5の実施の形態に係るデジタルカメラ410の動作について説明する。   Next, the operation of the digital camera 410 according to the fifth embodiment will be described.

被写体を撮影するときに、加速度検知部60によって加速度を検知し、検知された加速度によって手ぶれが検出されると、抽出された加速度のAC成分に応じて、手ぶれ補正ドライブ回路422のモータを駆動させて、手ぶれによる光軸のずれに合わせてCCD24を移動させて、手ぶれによる光軸のずれを打ち消して、手ぶれを防止した被写体像を示すアナログ信号がCCD24から出力されるようにする。   When shooting an object, the acceleration is detected by the acceleration detection unit 60. When camera shake is detected by the detected acceleration, the motor of the camera shake correction drive circuit 422 is driven according to the AC component of the extracted acceleration. Thus, the CCD 24 is moved in accordance with the optical axis deviation due to the camera shake to cancel the optical axis deviation due to the camera shake so that an analog signal indicating a subject image in which the camera shake is prevented is output from the CCD 24.

また、第1の実施の形態に係る角度計測処理ルーチンと同様に、加速度検知部60によって検知された加速度のDC成分に基づいて、水平方向に対するデジタルカメラの横方向の姿勢角を計測するための処理を行う。   Further, similarly to the angle measurement processing routine according to the first embodiment, based on the DC component of the acceleration detected by the acceleration detection unit 60, the lateral attitude angle of the digital camera with respect to the horizontal direction is measured. Process.

以上説明したように、第5の実施の形態に係るデジタルカメラによれば、撮像素子移動方式手ぶれ補正のために加速度検知部によって検知される加速度を用いて、デジタルカメラの姿勢角を計測するので、姿勢角の計測のために新たな構成を設ける必要がないため、低コストな構成で、手ぶれ防止機能を有すると共に、姿勢角を計測することができる。   As described above, according to the digital camera according to the fifth embodiment, the attitude angle of the digital camera is measured using the acceleration detected by the acceleration detection unit for the image sensor movement type camera shake correction. Since it is not necessary to provide a new configuration for measuring the posture angle, it is possible to measure the posture angle while having a camera shake prevention function with a low-cost configuration.

なお、撮像素子移動方式手ぶれ補正を採用した場合を例に説明したが、第1の実施の形態で説明した光学補正方式手ぶれ補正と撮像素子移動方式手ぶれ補正とを組み合わせて、手ぶれを防止するようにしてもよい。この場合には、手ぶれが検知されたときに、手ぶれ補正レンズを移動させると共に、CCDを移動させて、手ぶれによる光軸のずれを打ち消すようすればよい。   In addition, although the case where the image sensor moving method camera shake correction is adopted has been described as an example, the optical correction method camera shake correction and the image sensor moving method camera shake correction described in the first embodiment are combined to prevent camera shake. It may be. In this case, when camera shake is detected, the camera shake correction lens is moved, and the CCD is moved to cancel the optical axis shift due to camera shake.

本発明の第1の実施の形態に係るデジタルカメラの電気系の主要構成を示すブロック図である。It is a block diagram which shows the main structures of the electric system of the digital camera which concerns on the 1st Embodiment of this invention. (A)デジタルカメラが水平となっている状態を示す斜視図、及び(B)水平となっている状態で検知される加速度を示す図である。(A) It is a perspective view which shows the state in which a digital camera is horizontal, (B) It is a figure which shows the acceleration detected in the state which is horizontal. (A)デジタルカメラの横方向が水平となっていない状態を示す斜視図、及び(B)横方向が水平となっていない状態で検知される加速度を示す図である。(A) The perspective view which shows the state where the horizontal direction of a digital camera is not horizontal, (B) The figure which shows the acceleration detected in the state where the horizontal direction is not horizontal. (A)デジタルカメラの横方向及び縦方向が水平となっていない状態を示す斜視図、及び(B)横方向及び縦方向が水平となっていない状態で検知される加速度を示す図である。(A) The perspective view which shows the state where the horizontal direction and the vertical direction of a digital camera are not horizontal, (B) The figure which shows the acceleration detected in the state where the horizontal direction and the vertical direction are not horizontal. 本発明の第1の実施の形態に係るデジタルカメラの角度計測処理ルーチンの内容を示すフローチャートである。It is a flowchart which shows the content of the angle measurement process routine of the digital camera which concerns on the 1st Embodiment of this invention. 検知される加速度の変化におけるDC成分を示すグラフである。It is a graph which shows the DC component in the change of the detected acceleration. 本発明の第2の実施の形態に係るデジタルカメラの角度計測処理ルーチンの内容を示すフローチャートである。It is a flowchart which shows the content of the angle measurement process routine of the digital camera which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施の形態に係るデジタルカメラの角度計測処理ルーチンの内容を示すフローチャートである。It is a flowchart which shows the content of the angle measurement process routine of the digital camera which concerns on the 3rd Embodiment of this invention. (A)傾きが補正されていない画像を示すイメージ図、及び(B)傾きが補正された画像を示すイメージ図である。(A) It is an image figure which shows the image by which inclination is not correct | amended, (B) It is an image figure which shows the image by which inclination was correct | amended. 本発明の第4の実施の形態に係るデジタルカメラの角度計測処理ルーチンの内容を示すフローチャートである。It is a flowchart which shows the content of the angle measurement process routine of the digital camera which concerns on the 4th Embodiment of this invention. 本発明の第5の実施の形態に係るデジタルカメラの電気系の主要構成を示すブロック図である。It is a block diagram which shows the main structures of the electric system of the digital camera which concerns on the 5th Embodiment of this invention.

符号の説明Explanation of symbols

10、410 デジタルカメラ
12 レンズ
16 手ぶれ補正レンズ
20、420 光学ユニット
22、422 手ぶれ補正ドライブ回路
24 CCD
40 メインCPU
48 メモリ
52 メモリカード
56 操作部
60 加速度検知部
10, 410 Digital camera 12 Lens 16 Camera shake correction lens 20, 420 Optical unit 22, 422 Camera shake correction drive circuit 24 CCD
40 Main CPU
48 Memory 52 Memory card 56 Operation unit 60 Acceleration detection unit

Claims (10)

自装置に生じる加速度を検知して、前記加速度に応じた信号を出力する検知手段と、
前記検知手段によって出力された信号の直流成分を抽出する抽出手段と、
前記抽出手段によって抽出された直流成分に基づいて、基準方向に対する自装置の姿勢角を計測する角度計測手段と、
を含む角度計測装置。
Detecting means for detecting an acceleration generated in the device and outputting a signal corresponding to the acceleration;
Extraction means for extracting a direct current component of the signal output by the detection means;
Based on the direct current component extracted by the extracting means, an angle measuring means for measuring the attitude angle of the device relative to a reference direction;
Angle measuring device including
前記検知手段は、自装置の所定方向に生じる加速度を検知し、
前記角度計測手段は、前記抽出手段によって抽出された直流成分の最大値を検出し、計測対象時の直流成分と前記検出された前記直流成分の最大値とに基づいて、前記姿勢角を計測する請求項1記載の角度計測装置。
The detection means detects acceleration generated in a predetermined direction of the own device,
The angle measuring unit detects a maximum value of the DC component extracted by the extracting unit, and measures the posture angle based on the DC component at the time of measurement and the detected maximum value of the DC component. The angle measuring device according to claim 1.
前記検知手段は、自装置の3軸方向の各々に生じる加速度を検知して、各加速度に応じた信号を出力し、
前記抽出手段は、前記3軸方向の各々について、前記信号の直流成分を抽出し、
前記角度計測手段は、前記抽出手段によって抽出された前記3軸方向の直流成分に基づいて、前記姿勢角を計測する請求項1記載の角度計測装置。
The detection means detects acceleration generated in each of the three axis directions of the own device, and outputs a signal corresponding to each acceleration,
The extraction means extracts a DC component of the signal for each of the three axial directions,
The angle measuring device according to claim 1, wherein the angle measuring unit measures the posture angle based on a DC component in the three-axis directions extracted by the extracting unit.
被写体像を結像する結像手段と、
前記結像手段によって結像された被写体像を撮影する撮影手段と、
自装置に生じる加速度を検知して、前記加速度に応じた信号を出力する検知手段と、
前記検知手段によって出力された信号の直流成分及び交流成分を抽出する抽出手段と、
前記抽出手段によって抽出された交流成分に応じて、前記結像手段及び前記撮影手段の少なくとも一方を移動させて手ぶれを防止する手ぶれ防止手段と、
前記抽出手段によって抽出された直流成分に基づいて、基準方向に対する自装置の姿勢角を計測する角度計測手段と、
を含む撮影装置。
An imaging means for forming a subject image;
Photographing means for photographing the subject image formed by the imaging means;
Detecting means for detecting an acceleration generated in the device and outputting a signal corresponding to the acceleration;
Extraction means for extracting a direct current component and an alternating current component of the signal output by the detection means;
In accordance with the alternating current component extracted by the extraction means, at least one of the imaging means and the photographing means is moved to prevent camera shake,
Based on the direct current component extracted by the extracting means, an angle measuring means for measuring the attitude angle of the device relative to a reference direction;
An imaging device including:
前記角度計測手段によって計測された前記姿勢角を表示する表示手段を更に含む請求項4記載の撮影装置。   The photographing apparatus according to claim 4, further comprising display means for displaying the posture angle measured by the angle measuring means. 前記角度計測手段によって計測された前記姿勢角を記憶する記憶手段を更に含む請求項4記載の撮影装置。   The photographing apparatus according to claim 4, further comprising a storage unit that stores the posture angle measured by the angle measurement unit. 前記角度計測手段によって計測された前記姿勢角に基づいて、前記撮影手段によって撮影された画像の傾きを補正する補正手段を更に含む請求項4記載の撮影装置。   The imaging apparatus according to claim 4, further comprising a correcting unit that corrects an inclination of an image captured by the imaging unit based on the posture angle measured by the angle measuring unit. 前記検知手段は、自装置の所定方向に生じる加速度を検知し、
前記角度計測手段は、前記抽出手段によって抽出された直流成分の最大値を検出し、計測対象時の直流成分と前記検出された前記直流成分の最大値とに基づいて、前記姿勢角を計測する請求項4〜請求項7の何れか1項記載の撮影装置。
The detection means detects acceleration generated in a predetermined direction of the own device,
The angle measuring unit detects a maximum value of the DC component extracted by the extracting unit, and measures the posture angle based on the DC component at the time of measurement and the detected maximum value of the DC component. The imaging device according to any one of claims 4 to 7.
前記検知手段は、自装置の3軸方向の各々に生じる加速度を検知して、各加速度に応じた信号を出力し、
前記抽出手段は、前記3軸方向の各々について、前記信号の直流成分を抽出し、
前記角度計測手段は、前記抽出手段によって抽出された前記3軸方向の直流成分に基づいて、前記姿勢角を計測する請求項4〜請求項7の何れか1項記載の撮影装置。
The detection means detects acceleration generated in each of the three axis directions of the own device, and outputs a signal corresponding to each acceleration,
The extraction means extracts a DC component of the signal for each of the three axial directions,
The photographing apparatus according to claim 4, wherein the angle measuring unit measures the posture angle based on the DC component in the three-axis directions extracted by the extracting unit.
自装置に生じる加速度を検知して、前記加速度に応じた信号を出力する検知手段を備えた角度計測装置の角度計測方法であって、
前記出力された信号の直流成分を抽出し、
前記抽出された直流成分に基づいて、基準方向に対する自装置の姿勢角を計測することを特徴とする角度計測方法。
An angle measurement method of an angle measurement device provided with a detection unit that detects acceleration generated in the device and outputs a signal corresponding to the acceleration,
Extract the DC component of the output signal,
An angle measurement method, comprising: measuring an attitude angle of the device relative to a reference direction based on the extracted direct current component.
JP2006224074A 2006-08-21 2006-08-21 Angle-measuring apparatus and method, and photographing device Pending JP2008046073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006224074A JP2008046073A (en) 2006-08-21 2006-08-21 Angle-measuring apparatus and method, and photographing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006224074A JP2008046073A (en) 2006-08-21 2006-08-21 Angle-measuring apparatus and method, and photographing device

Publications (1)

Publication Number Publication Date
JP2008046073A true JP2008046073A (en) 2008-02-28

Family

ID=39179944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006224074A Pending JP2008046073A (en) 2006-08-21 2006-08-21 Angle-measuring apparatus and method, and photographing device

Country Status (1)

Country Link
JP (1) JP2008046073A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208278A (en) * 2015-09-28 2015-12-30 广东欧珀移动通信有限公司 Shooting method and terminal
WO2018116930A1 (en) * 2016-12-21 2018-06-28 ソニー株式会社 Camera control device and imaging apparatus
CN109906425A (en) * 2016-11-11 2019-06-18 索尼公司 Information processing equipment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208278A (en) * 2015-09-28 2015-12-30 广东欧珀移动通信有限公司 Shooting method and terminal
CN109906425A (en) * 2016-11-11 2019-06-18 索尼公司 Information processing equipment
CN109906425B (en) * 2016-11-11 2022-05-27 索尼公司 Information processing apparatus
WO2018116930A1 (en) * 2016-12-21 2018-06-28 ソニー株式会社 Camera control device and imaging apparatus
CN110062910A (en) * 2016-12-21 2019-07-26 索尼公司 Camera control unit and imaging device
US11003054B2 (en) 2016-12-21 2021-05-11 Sony Corporation Camera control device and imaging device with camera shake correction function
CN110062910B (en) * 2016-12-21 2021-08-06 索尼公司 Camera control device and imaging device

Similar Documents

Publication Publication Date Title
JP4586534B2 (en) Imaging apparatus, camera shake correction apparatus, mobile phone, and camera shake correction method
JP6098874B2 (en) Imaging apparatus and image processing apparatus
US9013585B2 (en) Image capture device
JP5558956B2 (en) Imaging apparatus and control method thereof
US20100053343A1 (en) Apparatus for correcting motion caused by hand shake
TWI757387B (en) Method for calibrating driving amount of actuator configured to correct blurring of image taken by camera
JP6098873B2 (en) Imaging apparatus and image processing apparatus
JP5977611B2 (en) Blur amount detection device, imaging device, and blur amount detection method
KR102592745B1 (en) Posture estimating apparatus, posture estimating method and computer program stored in recording medium
US8599272B2 (en) Imaging apparatus with roll angle correction and method of angle correction of object
JP2008046073A (en) Angle-measuring apparatus and method, and photographing device
JP2014016451A (en) Imaging device, method for calculating camera shake correction amount, and program for calculating camera shake correction amount
US9389697B2 (en) Image capturing apparatus and control method
JP2013207611A (en) Imaging device
US9270884B2 (en) Imaging apparatus and detecting apparatus
JP2012253451A (en) Imaging device and program
US9800790B2 (en) Image capturing apparatus capable of detecting geomagnetism, control method, and storage medium
JP2012054899A (en) Imaging apparatus and posture detection method
US20230417553A1 (en) Orientation calculation apparatus, orientation calculation method, imaging apparatus including orientation calculation apparatus, and method for controlling same
JP2011139487A (en) Device, method and program for detection of camera shake
JP2009300784A (en) Camera shake correction device and camera shake correction method, and imaging device
JP2008005244A (en) Imaging apparatus
JP2009141868A (en) Imaging device
JP2007288413A (en) Camera shake detector, camera shake detection method, and camera shake detection program
JP2016208203A (en) Imaging apparatus, imaging method and recording medium having recorded control program therefor