JP2007074077A - Imaging unit, program, and recording medium - Google Patents
Imaging unit, program, and recording medium Download PDFInfo
- Publication number
- JP2007074077A JP2007074077A JP2005256081A JP2005256081A JP2007074077A JP 2007074077 A JP2007074077 A JP 2007074077A JP 2005256081 A JP2005256081 A JP 2005256081A JP 2005256081 A JP2005256081 A JP 2005256081A JP 2007074077 A JP2007074077 A JP 2007074077A
- Authority
- JP
- Japan
- Prior art keywords
- inclination
- image
- image capturing
- unit
- capturing apparatus
- 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.)
- Granted
Links
Images
Landscapes
- Studio Devices (AREA)
Abstract
Description
本発明は、画像撮像装置、プログラムおよび記録媒体に関し、特に、撮像した画像をデジタルデータとして処理する画像撮像装置、プログラムおよび記録媒体に関する。 The present invention relates to an image capturing device, a program, and a recording medium, and more particularly to an image capturing device, a program, and a recording medium that process captured images as digital data.
近年、デジタルカメラを始めとした電子的に画像を撮像する画像撮像装置が普及している。画像撮像装置では、電子的に画像を保存する利点を生かし、これまでのフィルムカメラにはない新しい機能の付与や、様々な応用が行なわれている。 2. Description of the Related Art In recent years, image capturing apparatuses that electronically capture images, such as digital cameras, have become widespread. In the image pickup device, taking advantage of electronically storing images, new functions not provided in conventional film cameras and various applications are performed.
応用例の一つとして、撮像画像の天地方向を自動的に決定する機能(以下、天地方向自動決定機能ともいう)がある。天地方向自動決定機能の具体的な利用シーンとして、
・一覧表示の際、天地方向を統一して表示
・画像認識への適用
が挙げられる。
As one application example, there is a function of automatically determining the top / bottom direction of a captured image (hereinafter also referred to as a top / bottom direction automatic determination function). As a specific use scene of the top and bottom direction automatic determination function,
-When displaying a list, the top and bottom direction is unified and applied to display and image recognition.
以下、これらの利用シーン、および、従来の天地方向判定技術について説明する。最初に、一覧表示の際、天地方向を統一して表示するとは、以下のようなことである。 Hereinafter, these usage scenes and the conventional vertical direction determination technology will be described. First, when the list is displayed, the top and bottom directions are unified and displayed as follows.
従来のフィルムカメラと同様に、デジタルカメラ、あるいは、カメラ付き携帯電話等の電子的画像撮像装置も、多くの場合、撮像画像は、縦横比1:1ではなく、縦長、あるいは、横長の長方形である。そのため、利用者は、撮像対象を縦長画像に撮像したいか、横長画像に撮像したいかによって、画像撮像装置を正対、あるいは、左または右に90°回転させて撮像している。 In the same way as conventional film cameras, electronic image pickup devices such as digital cameras or camera-equipped mobile phones often have a picked-up image in a vertically long or horizontally long rectangle instead of a 1: 1 aspect ratio. is there. For this reason, the user picks up the image pickup device directly or rotates it 90 ° to the left or right depending on whether he / she wants to pick up an image pickup target as a vertically long image or a horizontally long image.
電子的に撮像した多数の画像データを、縮小して一覧表示した場合、上述したように、撮像時の画像撮像装置の状態(正対、90°回転)が同じでない場合、一覧表示した画像も天地方向が統一されておらず、利用者にとって見やすい一覧とならない。 When a large number of electronically captured image data is reduced and displayed in a list, as described above, if the state of the image pickup device at the time of imaging (facing, rotated by 90 °) is not the same, the images displayed as a list are also displayed. The top-to-bottom direction is not unified and the list is not easy to see for users.
もし、撮像時に自動的に天地方向判定が行われていれば、画像保存時に天地方向に沿って画像の表示が行われるよう必要であれば回転させて保存する、あるいは、天地方向の情報を画像データに付与し表示の際天地方向に沿って表示する、といったことが可能である。これにより、上述した一覧表示の際、画像の天地方向が統一されないといった問題を解決することが可能である。 If the top / bottom direction is automatically determined at the time of image capture, rotate the image if necessary so that the image is displayed along the top / bottom direction when saving the image, or the top / bottom direction information is stored in the image. For example, it is possible to attach the data to the data and display the data along the vertical direction. As a result, it is possible to solve the problem that the top-to-bottom direction of the images is not unified in the above-described list display.
この問題を解決するために、撮像時に天地方向を自動判定する方法として、たとえば、特開2004−229260号公報(特許文献1)では、デジタルカメラ(画像撮像装置)の撮像時の傾きに応じて、内蔵された傾斜計により、記録する画像の天地方向を決定し、決定した天地方向に対応させた画像ファイル生成して記録する技術(以下、従来技術Aともいう)が開示されている。 In order to solve this problem, as a method of automatically determining the top-and-bottom direction at the time of imaging, for example, in Japanese Patent Application Laid-Open No. 2004-229260 (Patent Document 1), according to the inclination at the time of imaging of a digital camera (image imaging apparatus). A technique (hereinafter also referred to as Conventional Technology A) is disclosed that determines the top / bottom direction of an image to be recorded using a built-in inclinometer and generates and records an image file corresponding to the determined top / bottom direction.
次に、画像認識への応用とは、以下のようなことである。文字認識の場合、名刺を撮像後、名刺に記載された文字を名刺項目分類機能付き文字認識装置にて読み取ることにより、読み取った項目付き認識結果を用いて、容易に住所録を作成することが可能である。 Next, the application to image recognition is as follows. In the case of character recognition, after capturing a business card, it is possible to easily create an address book using the read recognition result with an item by reading the character written on the business card with a character recognition device with a business card item classification function Is possible.
また顔認識の場合では、大勢の(人物の)顔が映っている大量の画像データから、ある特定の(人物の)顔が映っているものだけを探し出すといった利用が考えられる。 In the case of face recognition, it can be considered to search only a large number of image data showing a certain (person) face from a large amount of image data showing many (person) faces.
この場合でも、上述したように、撮像時の画像撮像装置の状態(正対、90°回転)によって、一般に天地方向が不明の場合が多い。利用者がその都度、撮像画像の天地方向を指定することは不便であり、大量の画像データの場合利用者の負担が非常に大きい。そのため、画像認識処理を行う前に、撮像画像の天地方向判定処理が必要となってくる。 Even in this case, as described above, the top-to-bottom direction is generally unknown in many cases depending on the state of the image pickup apparatus at the time of image pickup (facing, 90 ° rotation). It is inconvenient for the user to specify the top-and-bottom direction of the captured image each time, and the burden on the user is very large in the case of a large amount of image data. Therefore, before the image recognition process is performed, the top-and-bottom direction determination process for the captured image is required.
この問題を解決するために、上述の撮像時に天地方向を自動判定する方法ではなく、撮像した画像を元に天地方向を自動判定する方法として、たとえば、特開平8−274980号公報(特許文献2)では、文字の認識率の高低によって天地方向を判定する技術(以下、従来技術Bともいう)が開示されている。 In order to solve this problem, instead of the above-described method for automatically determining the top / bottom direction at the time of imaging, as a method for automatically determining the top / bottom direction based on the captured image, for example, JP-A-8-274980 (Patent Document 2) ) Discloses a technique (hereinafter also referred to as Conventional Technology B) for determining the top-and-bottom direction based on the recognition rate of characters.
また、特開2005−202477号公報(特許文献3)では、目、口を検出し、目の位置に対する対する口の位置によって、顔画像の天地方向を判定する技術(以下、従来技術Cともいう)が開示されている。
しかしながら、特開2004−229260号公報(特許文献1)に開示されている技術では、図17のように、水平に設置されている撮像対象物701を撮像する場合、画像撮像装置10000の撮像部が、撮像対象物701の真正面にあると、軸方向DI401,DI402にかかる重力加速度の大きさは、ほぼ0となり、内蔵された傾斜計では、撮像対象物701の天地方向を判定することができない。ここで、撮像対象物701は、「XYZ株式会社」の文字が縦方向に印刷された紙である。
However, in the technique disclosed in Japanese Patent Application Laid-Open No. 2004-229260 (Patent Document 1), as illustrated in FIG. 17, when imaging an
なお、画像撮像装置10000に内蔵されている傾斜計が、僅かな重力加速度(傾斜)を検出できる程、非常に高性能なものであったとする。この場合、画像撮像装置10000の左端を、撮像対象物701から遠くするために方向D701に上げ、画像撮像装置10000の右端を、撮像対象物701に近くするために方向D702に下げる。これにより、撮像対象物701の撮像結果に影響がない程度に、画像撮像装置10000は、撮像対象物701に対し僅かな傾斜を生じることができる。その結果、傾斜計は、天地方向が判定可能となる。
It is assumed that the inclinometer built in the
しかしながら、このように僅かな傾斜で天地判定を行うには、以下の問題点がある。
(1)画像撮像装置10000を固定せずに、ユーザが手で持って撮像を行う場合、図17のように、水平に近い状態を保持しようとすると、画像撮像装置10000にユーザの手ぶれが伝わる可能性がある。この場合、画像撮像装置10000の傾斜方向がふらつき、傾斜計は、正確な天地判定ができないという問題が生じる。
(2)撮像対象物701の撮像結果に影響がない程度に、撮像対象物701の天地方向が正しく判定されるよう、ユーザが画像撮像装置10000を手で持って傾斜させたとする。この場合、ユーザが画像撮像装置10000のシャッターボタンを押す操作により手ぶれが生じ、画像撮像装置10000の傾斜方向が変わってしまう可能性がある。この場合、傾斜計は、正確な天地判定ができないという問題が生じる。
However, there are the following problems in performing top-and-bottom determination with such a slight inclination.
(1) When the user picks up an image with the hand without fixing the
(2) It is assumed that the user tilts the image capturing
また、水平に置かれた撮像対象物701に対し、画像撮像装置10000を僅かに傾けて撮像しなければならないため、ユーザに心理的負担を与えることも考えられる。
Moreover, since it is necessary to incline the
さらに、コストの面等で、常に、画像撮像装置10000に僅かな重力加速度を検出できる高性能な傾斜計を取り付けることが可能とは限らない。この場合、僅かな傾斜では、傾斜計は、天地方向を判定できない。そのため、図17のように、ほぼ水平状態で撮像し、かつ、撮像対象物の天地方向を判定することは不可能となる。
Furthermore, in terms of cost and the like, it is not always possible to attach a high-performance inclinometer that can detect a slight gravitational acceleration to the
なお、従来技術B、従来技術Cを適用すると、ほぼ水平状態で撮像した文字、または、顔を含む撮像対象物の天地方向を判定することは可能である。 Note that, when the related art B and the prior art C are applied, it is possible to determine the top / bottom direction of an imaged object including characters or a face imaged in a substantially horizontal state.
しかしながら、文字を含む画像であれば文字用の天地判定処理(従来技術Bなど)、顔を含む画像であれば顔用の天地判定処理(従来技術Cなど)を適用する必要があるため、撮像した画像に応じて、利用者が、どの判定処理を適用するかを指定しなければならず面倒であるという欠点がある。さらに大きな欠点は、文字または顔を含まない画像には、従来技術Bまたは従来技術Cは適用できないということである。 However, if the image includes characters, it is necessary to apply the top / bottom determination processing for characters (conventional technology B or the like), and if the image includes a face, it is necessary to apply the top / bottom determination processing for faces (conventional technology C or the like). There is a drawback that it is troublesome for the user to specify which judgment processing is applied in accordance with the image. A further major drawback is that the prior art B or the prior art C cannot be applied to images that do not include characters or faces.
本発明は、上述の問題点を解決するためになされたものであって、その目的は、水平に置かれた撮像対象の天地方向を正確に算出可能な画像撮像装置を提供することである。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an image capturing apparatus capable of accurately calculating the vertical direction of an imaging target placed horizontally.
本発明の他の目的は、水平に置かれた撮像対象の天地方向を正確に算出可能なプログラムを提供することである。 Another object of the present invention is to provide a program capable of accurately calculating the vertical direction of an imaging target placed horizontally.
本発明のさらに他の目的は、水平に置かれた撮像対象の天地方向を正確に算出可能なプログラムを記録した記録媒体を提供することである。 Still another object of the present invention is to provide a recording medium on which a program capable of accurately calculating the vertical direction of an imaging target placed horizontally is recorded.
上述の課題を解決するために、この発明のある局面に従う画像撮像装置は、撮像対象を撮像する画像撮像手段と、画像撮像装置の傾斜の角度を示す傾斜度を測定する傾斜度測定手段と、傾斜度測定手段により測定された傾斜度に基づいて、画像撮像装置の天地方向を算出する天地方向算出手段と、傾斜度測定手段により測定された傾斜度および天地方向算出手段により算出された天地方向の少なくとも一方の情報を記憶する傾斜情報記憶手段と、撮像対象に対する画像撮像装置の正対方向を決定する正対方向決定手段とを備え、傾斜度測定手段による画像撮像装置の傾斜度の測定処理と、測定された傾斜度が所定値以上の場合に傾斜度および天地方向算出手段により算出された天地方向の少なくとも一方の情報が傾斜情報記憶手段に記憶される処理とが、正対方向決定手段により正対方向が決定されるまでの期間、繰返し行なわれる。 In order to solve the above-described problem, an image imaging apparatus according to an aspect of the present invention includes an image imaging unit that images an imaging target, an inclination measurement unit that measures an inclination indicating an inclination angle of the image imaging apparatus, and Based on the inclination measured by the inclination measuring means, the vertical direction calculating means for calculating the vertical direction of the image pickup device, the inclination measured by the inclination measuring means, and the vertical direction calculated by the vertical direction calculating means Inclination information storage means for storing at least one of the information and a facing direction determination means for determining a facing direction of the image capturing apparatus with respect to the imaging target, and a process of measuring the tilt of the image capturing apparatus by the tilt measuring means When the measured inclination is equal to or greater than a predetermined value, information on at least one of the inclination and the vertical direction calculated by the vertical direction calculation means is stored in the inclination information storage means. Process and is time to directly facing direction is determined by the facing direction determining means is performed repeatedly.
好ましくは、天地方向算出手段は、測定された傾斜度が所定値より小さい場合、傾斜情報記憶手段に記憶されている最新の傾斜度または天地方向の情報に基づいて、画像撮像装置の天地方向を算出する。 Preferably, when the measured inclination is smaller than a predetermined value, the top-and-bottom direction calculation unit calculates the top-and-bottom direction of the image pickup device based on the latest inclination or top-and-bottom information stored in the inclination information storage unit. calculate.
好ましくは、画像撮像装置の傾斜度および天地方向算出手段により算出された天地方向の少なくとも一方の情報を報知する報知手段をさらに備える。 Preferably, the information processing apparatus further includes an informing unit that informs at least one of the inclination of the image pickup apparatus and the up-and-down direction calculated by the up-and-down direction calculating unit.
好ましくは、報知手段は、傾斜度測定手段により測定された傾斜度が所定値以上の場合、画像撮像装置の傾斜度および天地方向算出手段により算出された天地方向の少なくとも一方の情報を報知する。 Preferably, the informing means informs at least one of the inclination degree of the image pickup apparatus and the top and bottom direction calculated by the top and bottom direction calculating means when the inclination measured by the inclination measuring means is equal to or greater than a predetermined value.
好ましくは、報知手段は、傾斜度測定手段により測定された傾斜度が所定値より小さい場合、傾斜情報記憶手段に記憶されている傾斜度および天地方向の少なくとも一方の情報を報知する。 Preferably, the notifying means notifies at least one of the inclination and the top and bottom information stored in the inclination information storage means when the inclination measured by the inclination measuring means is smaller than a predetermined value.
好ましくは、報知手段は、画像撮像装置の撮像対象を表示する表示装置であって、
報知手段は、撮像対象とともに、画像撮像装置の傾斜度および天地方向算出手段により算出された天地方向の少なくとも一方の情報の表示を行なう。
Preferably, the notification unit is a display device that displays an imaging target of the image imaging device,
The informing means displays at least one information of the inclination of the image pickup apparatus and the top-and-bottom direction calculated by the top-and-bottom direction calculating means together with the imaging target.
好ましくは、ユーザからの指示入力を受付ける入力手段をさらに備え、正対方向決定手段は、入力手段が受付けた指示入力に応じて、撮像対象に対する画像撮像装置の正対方向を決定する。 Preferably, input means for receiving an instruction input from the user is further provided, and the facing direction determination means determines the facing direction of the image capturing apparatus with respect to the imaging target in accordance with the instruction input received by the input means.
好ましくは、画像撮像手段が撮像した撮像画像を保存する画像保存手段をさらに備え、画像保存手段は、入力手段が受付けた指示入力に応じて、撮像画像を保存する。 Preferably, the image storage device further includes an image storage device that stores the captured image captured by the image capturing device, and the image storage device stores the captured image in response to an instruction input received by the input device.
好ましくは、撮像画像は、正対方向決定手段により決定された画像撮像装置の正対方向に基づいて、画像保存手段に保存される。 Preferably, the captured image is stored in the image storage unit based on the facing direction of the image capturing apparatus determined by the facing direction determining unit.
好ましくは、傾斜度測定手段は、重力加速度を測定するセンサーを有する。
好ましくは、画像を認識する認識手段をさらに備え、認識手段は、画像撮像手段が撮像した撮像画像を、正対方向決定手段により決定された画像撮像装置の正対方向に基づいて認識する。
Preferably, the inclination measuring means has a sensor for measuring gravitational acceleration.
Preferably, a recognizing unit for recognizing an image is further provided, and the recognizing unit recognizes the captured image captured by the image capturing unit based on the facing direction of the image capturing apparatus determined by the facing direction determining unit.
この発明の他の局面に従うと、画像撮像装置内のコンピュータに撮像処理を実行させるためのプログラムであって、プログラムは、撮像対象を撮像するステップと、画像撮像装置の傾斜の角度を示す傾斜度を測定するステップと、傾斜度を測定するステップにより測定された傾斜度に基づいて、画像撮像装置の天地方向を算出するステップと、傾斜度を測定するステップにより測定された傾斜度および天地方向を算出するステップにより算出された天地方向の少なくとも一方の情報を画像撮像装置内の記憶部に記憶させるステップと、撮像対象に対する画像撮像装置の正対方向を決定するステップとをコンピュータに実行させる。 According to another aspect of the present invention, there is provided a program for causing a computer in an image capturing apparatus to execute an image capturing process, the program capturing a target to be imaged and an inclination indicating an inclination angle of the image capturing apparatus. And calculating the top and bottom direction of the image pickup device based on the slope measured by the step of measuring the slope and the slope and top and bottom directions measured by the step of measuring the slope. Causing the computer to execute a step of storing at least one piece of information of the top-and-bottom direction calculated in the calculating step in a storage unit in the image capturing apparatus and a step of determining a facing direction of the image capturing apparatus with respect to the imaging target.
好ましくは、天地方向を算出するステップは、測定された傾斜度が所定値より小さい場合、記憶部に記憶されている最新の傾斜度または天地方向の情報に基づいて、画像撮像装置の天地方向を算出する。 Preferably, in the step of calculating the top / bottom direction, when the measured slope is smaller than a predetermined value, the top / bottom direction of the image pickup device is calculated based on the latest slope or the top / bottom direction information stored in the storage unit. calculate.
この発明のさらに他の局面に従うと、記録媒体は、プログラムを記録した媒体である。 According to still another aspect of the present invention, the recording medium is a medium on which a program is recorded.
本発明に係る画像撮像装置は、画像撮像装置の傾斜度の測定処理と、測定された傾斜度が所定値以上の場合に傾斜度および天地方向の少なくとも一方の情報が記憶される処理とが、撮像対象に対する画像撮像装置の正対方向が決定されるまで、繰返し行なわれる。 The image capturing apparatus according to the present invention includes a process for measuring the inclination of the image capturing apparatus, and a process for storing at least one information of the inclination and the vertical direction when the measured inclination is equal to or greater than a predetermined value. The process is repeated until the facing direction of the image capturing apparatus with respect to the imaging target is determined.
したがって、水平に置かれた撮像対象の天地方向を正確に算出することができるという効果を奏する。 Therefore, there is an effect that it is possible to accurately calculate the vertical direction of the imaging target placed horizontally.
本発明に係るプログラムは、測定された画像撮像装置の傾斜度および算出された画像撮像装置の天地方向の少なくとも一方の情報を画像撮像装置内の記憶部に記憶させる。 The program according to the present invention stores information on at least one of the measured inclination of the image pickup device and the calculated top-and-bottom direction of the image pickup device in a storage unit in the image pickup device.
したがって、水平に置かれた撮像対象の天地方向を正確に算出することができるという効果を奏する。 Therefore, there is an effect that it is possible to accurately calculate the vertical direction of the imaging target placed horizontally.
本発明に係る記録媒体は、プログラムを記録する。プログラムは、測定された画像撮像装置の傾斜度および算出された画像撮像装置の天地方向の少なくとも一方の情報を画像撮像装置内の記憶部に記憶させる。 The recording medium according to the present invention records a program. The program stores information on at least one of the measured inclination of the image pickup device and the calculated top-and-bottom direction of the image pickup device in a storage unit in the image pickup device.
したがって、水平に置かれた撮像対象の天地方向を正確に算出することができるという効果を奏する。 Therefore, there is an effect that it is possible to accurately calculate the vertical direction of the imaging target placed horizontally.
以下、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについての詳細な説明は繰り返さない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.
<第1の実施の形態>
図1は、本実施の形態における画像撮像装置1000の外観図を示す図である。図1(A)は、画像撮像装置1000の正面を示す図である。図1(A)を参照して、画像撮像装置1000は、筐体100と、レンズ群110と、シャッターボタン120とを備える。レンズ群110は、筐体100の正面に設けられる。シャッターボタン120は、筐体100の上部に設けられる。レンズ群110は、複数の光学レンズを含む。
<First Embodiment>
FIG. 1 is an external view of an
図1(B)は、画像撮像装置1000の背面を示す図である。図1(B)を参照して、画像撮像装置1000は、表示部150を備える。表示部150は、ユーザに各種情報を、文字や画像等で表示する機能を有し、報知手段として動作する。表示部150は、液晶ディスプレイ(LCD(Liquid Crystal Display))、FED(Field Emission Display)、有機ELディスプレイ(Organic Electro luminescence Display)、ドットマトリクス等その他の画像表示方式の表示機器のいずれであってもよい。表示部150には、撮像時に、撮像対象の画像が逐次表示される。
FIG. 1B is a diagram illustrating the back surface of the
図2は、本実施の形態における画像撮像装置1000の内部構成を示すブロック図である。図2を参照して、画像撮像装置1000は、画像撮像部210と、データバス280とを備える。
FIG. 2 is a block diagram illustrating an internal configuration of the
画像撮像手段としての画像撮像部210は、被写体像をデジタル画像データに変換する撮像処理を行なう。画像撮像部210は、データバス280に接続されている。
An
図3は、本実施の形態における画像撮像部210の構成を示すブロック図である。図3を参照して、画像撮像部210は、レンズ群110と、撮像素子212と、A/D変換部214と、撮像制御部216と、一時記憶部217と、入出力インターフェース部218とを含む。
FIG. 3 is a block diagram illustrating a configuration of the
撮像素子212は、レンズ群110を介して、入力された撮像対象の像をアナログ信号に変換する機能を有する。撮像素子212は、たとえば、CCD(Charge Coupled Device)、CMOS(Complementary Metal-Oxide Semiconductor)等の撮像素子である。撮像素子212は、変換したアナログ信号を、A/D変換部214へ送信する。
The
A/D変換部214は、受信したアタログ信号をデジタル信号に変換し、当該デジタル信号を、撮像制御部216へ送信する。
The A /
一時記憶部217は、データを一時的に記憶する機能を有する。一時記憶部217は、RAM(Random Access Memory)、SRAM(Static Random Access Memory)、DRAM(Dynamic Random Access Memory)、SDRAM(Synchronous DRAM)、DDR−SDRAM(Double Data Rate SDRAM)、RDRAM(Rambus Dynamic Random Access Memory)、Direct−RDRAM(Direct Rambus Dynamic Random Access Memory)、その他、データを揮発的に記憶保持可能な構成を有する回路のいずれであってもよい。
The
撮像制御部216は、画像撮像部210内の各部を制御する機能を有する。撮像制御部216は、入力されたデジタル信号に基づくデータを、一時記憶部217へ記憶させる。
The
撮像制御部216は、マイクロプロセッサ(Microprocessor)、プログラミングすることができるLSI(Large Scale Integration)であるFPGA(Field Programmable Gate Array)、特定の用途のために設計、製造される集積回路であるASIC(Application Specific Integrated Circuit)、その他の演算機能を有する回路のいずれであってもよい。
The
入出力インターフェース部218は、撮像制御部216と、データバス280との間でデータの送受信を行なう。
The input /
以上の構成を有する画像撮像部210は、所定時間(たとえば、0.1秒)毎に、一時記憶部217に、レンズ群110を介して入力された撮像対象の像の画像データを上書き記憶させる。
The
再び、図2を参照して、画像撮像装置1000は、さらに、制御部220と、入力部230と、一時記憶部240と、記憶部245と、傾斜測定部250とを備える。
Referring to FIG. 2 again, the
データバス280には、制御部220、入力部230、一時記憶部240、記憶部245、表示部150、傾斜測定部250、傾斜情報記憶部260および記録媒体アクセス部270が接続されている。
A
記憶部245は、制御部220に後述する処理を行なわせるためのプログラム246、その他各種プログラムおよびデータ等が記憶されている。記憶部245は、制御部220によってデータアクセスされる。記憶部245は、データを不揮発的に保持可能なフラッシュメモリである。
The
制御手段としての制御部220は、記憶部245に記憶されたプログラム246に従って、画像撮像装置1000内の各部に対する各種処理や、演算処理等を行なう機能を有する。制御部220は、前述の撮像制御部216と同様なものである。
The
入力手段としての入力部230は、ユーザによるシャッターボタン120の押下操作を検知し、制御部220へその旨を示す信号(以下、押下検知信号ともいう)を送信する。すなわち、入力手段は、画像撮像装置1000に対するユーザからの指示入力を受付ける。なお、入力部230は、ユーザによる図示されないボタンの押下操作を検知し、制御部220へその旨を示す信号を送信してもよい。
The
制御部220は、天地方向算出手段222、正対方向決定手段224および認識手段226として動作する。天地方向算出手段222は、後述する傾斜測定部250が算出した重力加速度の方向および大きさに基づいて、画像撮像装置1000の天地方向を算出する。
The
正対方向決定手段224は、入力部230からの押下検知信号(ユーザからの指示入力)に応じて、撮像対象に対する画像撮像装置1000の正対方向を決定する。認識手段226は、後述する文字認識、顔認識等を行なう。
The facing direction determination unit 224 determines the facing direction of the
また、画像撮像部210は、入力部230からの押下検知信号に応じて、撮像処理を行なう。
Further, the
一時記憶部240は、データを一時的に記憶する機能を有する。一時記憶部240は、一時記憶部217と同様なものである。一時記憶部240は、制御部220によってデータアクセスされ、ワークメモリとして動作する。
The
傾斜測定手段としての傾斜測定部250は、2方向の重力加速度を検出することにより、画像撮像装置1000の傾斜を測定する機能を有する。傾斜測定部250は、重力加速度センサーである。
The
重力加速度センサーは、重力加速度を検出する1以上の方向を有する。この検出方向を軸と呼ぶ。1個の軸を有する重力加速度センサーを、1軸の重力加速度センサーと呼ぶ。2個および3個の軸を有する重力加速度センサーを、それぞれ、2軸の重力加速度センサーおよび3軸の重力加速度センサーと呼ぶ。重力加速度センサーが有する2個以上の軸は、互いに直交する。本実施の形態における傾斜測定部250は、2軸の重力加速度センサーである。
The gravitational acceleration sensor has one or more directions for detecting gravitational acceleration. This detection direction is called an axis. A gravity acceleration sensor having one axis is referred to as a one-axis gravity acceleration sensor. The gravity acceleration sensors having two and three axes are referred to as a two-axis gravity acceleration sensor and a three-axis gravity acceleration sensor, respectively. Two or more axes of the gravitational acceleration sensor are orthogonal to each other.
次に、傾斜測定部250による傾斜測定方法について説明する。
図4は、平面P301の傾斜度の測定方法を説明するための図である。傾斜度とは、傾斜の角度を示す。図4を参照して、方向D301,D302は、平面P301の傾斜度を測定するために用いる重力加速度センサーの軸方向を表す。方向D303は方向D301の正反対の方向を表す。また、方向D304は、方向D302の正反対の方向を表す。なお、重力加速度センサーの軸としては、方向D301と、方向D303とは同じ軸上にある。また、方向D302と、方向D304とは同じ軸上にある。
Next, an inclination measurement method by the
FIG. 4 is a diagram for explaining a method of measuring the inclination of the plane P301. The inclination degree indicates an inclination angle. Referring to FIG. 4, directions D301 and D302 represent the axial directions of the gravitational acceleration sensor used for measuring the inclination of plane P301. A direction D303 represents a direction opposite to the direction D301. A direction D304 represents a direction opposite to the direction D302. As the axis of the gravitational acceleration sensor, the direction D301 and the direction D303 are on the same axis. Further, the direction D302 and the direction D304 are on the same axis.
ベクトルV301は、方向と大きさを持つ重力加速度ベクトルである。重力加速度の大きさ(の標準値)は、9.8m/s2である。以下においては、重力加速度を、一般的な記号g(g=9.8m/s2)で表すことにする。 A vector V301 is a gravity acceleration vector having a direction and a magnitude. The magnitude (standard value) of the gravitational acceleration is 9.8 m / s 2 . In the following, the gravitational acceleration is represented by a general symbol g (g = 9.8 m / s 2 ).
P302は、水平面を表す。方向D303と水平面P302とが成す角度をθ(シータ)とする。 P302 represents a horizontal plane. An angle formed by the direction D303 and the horizontal plane P302 is θ (theta).
方向D303と、重力加速度ベクトルV301とが成す角度をλ(ラムダ)とする。また、重力加速度ベクトルV301の先端から、平面P301上の方向D303への垂線を、L301とする。また、重力加速度ベクトルV301の平面P301上の方向D303への射影ベクトルをV302とする。また、重力加速度ベクトルV301と、垂線L301とが成す角度をA303とする。 An angle formed by the direction D303 and the gravitational acceleration vector V301 is λ (lambda). A perpendicular line from the tip of the gravitational acceleration vector V301 to the direction D303 on the plane P301 is L301. A projection vector of the gravitational acceleration vector V301 in the direction D303 on the plane P301 is set to V302. In addition, an angle formed by the gravity acceleration vector V301 and the perpendicular L301 is A303.
射影ベクトルV302は、方向D301,D303の軸方向にかかる重力加速度ベクトルを表す。したがって、以下の式(1)が成立する。
sin(角度A303の大きさ)=|V302|/|V301|・・・(1)
なお、式(1)の|x|は、ベクトルxの大きさを表す。
Projection vector V302 represents a gravitational acceleration vector applied in the axial directions of directions D301 and D303. Therefore, the following formula (1) is established.
sin (size of angle A303) = | V302 | / | V301 | (1)
In the expression (1), | x | represents the size of the vector x.
角度A303は、180―90―λよりθとなる。また、|V301|は定数gであるので、式(1)は、以下の式(2)となる。
sinθ=|V302|/g ・・・(2)
式(2)を変形すると、以下の式(3)となる。
θ=sin−1(|V302|/g) ・・・(3)
重力加速度センサー(傾斜測定部250)は、軸方向にかかる重力加速度の大きさを測定することが可能である。すなわち、図4では、重力加速度センサーは、重力加速度ベクトルV302の大きさを測定することができる。
The angle A303 is θ from 180-90-λ. Since | V301 | is a constant g, the expression (1) becomes the following expression (2).
sin θ = | V302 | / g (2)
When Expression (2) is transformed, the following Expression (3) is obtained.
θ = sin−1 (| V302 | / g) (3)
The gravitational acceleration sensor (tilt measuring unit 250) can measure the magnitude of gravitational acceleration in the axial direction. That is, in FIG. 4, the gravitational acceleration sensor can measure the magnitude of the gravitational acceleration vector V302.
したがって、式(3)より、θの値を算出することができる。すなわち、重力加速度センサーは、平面P301の傾斜度を測定することができる。そのため、θの値が90未満の場合、方向D301が天地方向の天であり、方向D303が天地方向の地であると判定できる。また、この場合の水平面P302と、平面P301との傾斜度も算出可能となる。 Therefore, the value of θ can be calculated from Equation (3). That is, the gravitational acceleration sensor can measure the inclination of the plane P301. Therefore, when the value of θ is less than 90, it can be determined that the direction D301 is the top in the top direction and the direction D303 is the top in the top direction. In addition, the inclination between the horizontal plane P302 and the plane P301 in this case can also be calculated.
また、図4の例とは、逆に、方向D301が天地方向の地であり、方向D303が天地方向の天となる場合でも、上記の方法により、天地判定および傾斜度の算出が可能となる。 Also, contrary to the example of FIG. 4, even when the direction D301 is the top-and-bottom direction and the direction D303 is the top-and-bottom direction, it is possible to determine the top and bottom and calculate the inclination by the above method. .
次に、画像撮像装置1000に内蔵された傾斜測定部250による、画像撮像装置1000の天地方向の判定方法について説明する。
Next, a method for determining the vertical direction of the
図5は、画像撮像装置1000に内蔵された2軸の重力加速度センサーである傾斜測定部250の2軸の方向を示す図である。図5を参照して、傾斜測定部250の2軸の各々の方向は、方向D401および方向D402であるとする。
FIG. 5 is a diagram illustrating the biaxial directions of the
天地方向を判定する場合、方向D401にかかる重力加速度が重力加速度定数gに近く、方向D402にかかる重力加速度がほぼ0であれば、天地方向算出手段222は、画像撮像装置1000の上部が天地方向の天で、下部が天地方向の地であることを判定する。以下においては、図5の方向D401の軸を第1軸という。また、方向D402の軸を第2軸という。
When determining the top-to-bottom direction, if the gravitational acceleration in the direction D401 is close to the gravitational acceleration constant g and the gravitational acceleration in the direction D402 is almost zero, the top-and-bottom direction calculation means 222 has the top of the
また、方向D401にかかる重力加速度がほぼ0であり、方向D402にかかる重力加速度が重力加速度定数gに近い値であれば、画像撮像装置1000の状態は図6のようになっていると判定できる。
If the gravitational acceleration in the direction D401 is almost 0 and the gravitational acceleration in the direction D402 is a value close to the gravitational acceleration constant g, it can be determined that the state of the
すなわち、天地方向算出手段222は、傾斜測定部250が算出した重力加速度の方向および大きさに基づいて、画像撮像装置1000の天地方向を判定する。
That is, the top / bottom
再び、図2を参照して、画像撮像装置1000は、さらに、傾斜情報記憶部260を備える。
Referring to FIG. 2 again, the
傾斜情報記憶手段としての傾斜情報記憶部260は、データを一時的に記憶する機能を有する。傾斜情報記憶部260は、一時記憶部217と同様なものである。傾斜情報記憶部260は、傾斜測定部250が算出した重力加速度の方向および大きさ、天地方向算出手段222が判定した天地方向の情報を一時的に記憶する。
The inclination
図7は、傾斜情報記憶部260に記憶されるデータを示す図である。図7を参照して、傾斜情報記憶部260には、重力加速度方向データDT10と、重力加速度大きさデータDT20と、傾斜度データDT30と、天地方向データDT40とが記憶される。
FIG. 7 is a diagram illustrating data stored in the inclination
重力加速度方向データDT10は、図5の第1軸の重力加速度の方向および第2軸の重力加速度の方向のデータである。たとえば、図5において、方向D401に重力加速度がかかっていたら、重力加速度の方向は、正である。また、図5において、方向D401と逆の方向に重力加速度がかかっていたら、重力加速度の方向は、負である。 Gravity acceleration direction data DT10 is data of the direction of gravity acceleration on the first axis and the direction of gravity acceleration on the second axis in FIG. For example, in FIG. 5, if gravitational acceleration is applied in the direction D401, the direction of gravitational acceleration is positive. Further, in FIG. 5, if gravitational acceleration is applied in the direction opposite to the direction D401, the direction of gravitational acceleration is negative.
重力加速度大きさデータDT20は、第1軸の重力加速度の大きさおよび第2軸の重力加速度の大きさのデータである。第1軸の重力加速度の大きさおよび第2軸の重力加速度の大きさは、前述したように、第1および第2軸にかかる大きさである。単位は、g(g=9.8m/s2)である。 The gravitational acceleration magnitude data DT20 is data of the magnitude of gravity acceleration on the first axis and the magnitude of gravity acceleration on the second axis. As described above, the magnitude of the gravitational acceleration on the first axis and the magnitude of the gravitational acceleration on the second axis are the magnitudes applied to the first and second axes. The unit is g (g = 9.8 m / s 2 ).
傾斜度データDT30は、第1軸と水平面とが成す角度および第2軸と水平面とが成す角度のデータである。以下においては、第1軸と水平面とが成す角度を第1傾斜度ともいう。また、第2軸と水平面とが成す角度を第2傾斜度ともいう。第1軸と水平面とが成す角度および第2軸と水平面とが成す角度の各々は、前述したように、重力加速度の方向と、重力加速度の大きさとから算出可能である。 The inclination data DT30 is data of an angle formed by the first axis and the horizontal plane and an angle formed by the second axis and the horizontal plane. In the following, the angle formed by the first axis and the horizontal plane is also referred to as the first inclination. In addition, the angle formed by the second axis and the horizontal plane is also referred to as a second inclination. Each of the angle formed by the first axis and the horizontal plane and the angle formed by the second axis and the horizontal plane can be calculated from the direction of gravity acceleration and the magnitude of gravity acceleration, as described above.
したがって、第1軸と水平面とが成す角度および第2軸と水平面とが成す角度のデータは、必要に応じて、重力加速度の方向および大きさから算出すれば、傾斜情報記憶部260に記憶しなくてもよい。
Therefore, the data of the angle formed by the first axis and the horizontal plane and the angle formed by the second axis and the horizontal plane are stored in the inclination
天地方向データDT40は、画像撮像装置1000の天地方向を示すデータである。天地方向算出手段222は、第1軸と水平面とが成す第1傾斜度が所定の閾値(たとえば、10度)以上であれば、第1軸の方向が天地方向と判断する。また、天地方向算出手段222は、第2軸と水平面とが成す第2傾斜度が所定の閾値以上であれば、第2軸の方向が天地方向と判断する。
The vertical direction data DT40 is data indicating the vertical direction of the
また、天地方向算出手段222は、軸のどの方向が天地方向の天または地であるかを、軸に沿った重力加速度の方向により判定する。 Moreover, the top / bottom direction calculation means 222 determines which direction of the axis is the top or bottom of the top / bottom direction based on the direction of gravity acceleration along the axis.
したがって、天地方向データDT40は、第1軸の方向が天地方向、第2軸の方向が天地方向および第1および第2軸の方向は天地方向でないといった3つの状態のいずれかを示す。 Therefore, the top / bottom direction data DT40 indicates one of three states in which the first axis direction is the top / bottom direction, the second axis direction is the top / bottom direction, and the first and second axis directions are not the top / bottom direction.
なお、天地方向データDT40は、必要に応じて、重力加速度の方向および大きさから算出すれば、傾斜情報記憶部260に記憶しなくてもよい。なお、表示部150に、画像撮像装置1000の天地方向のみ表示する場合は、傾斜情報記憶部260には、天地方向データDT40のみを記憶させてもよい。
The top-and-bottom direction data DT40 may not be stored in the inclination
再び、図2を参照して、画像撮像装置1000は、さらに、記録媒体アクセス部270と、記録媒体272とを備える。
Referring to FIG. 2 again, the
記録媒体272には、前述したプログラム246が記録されている。
記録媒体アクセス部270は、プログラム246が記録された記録媒体272から、プログラム246を読出す機能を有する。記録媒体272に記憶されているプログラム246は、制御部220の動作(インストール処理)により、記録媒体アクセス部270から読み出され、記憶部245に記憶される。
The above-described
The recording
このインストール処理用プログラムは、予め、記憶部245に格納されており、インストール処理は、制御部220が、インストール処理用プログラムに基づいて行なう。
The installation processing program is stored in advance in the
なお、記憶部245には、プログラム246が記憶されていなくてもよい。この場合、制御部220は、記録媒体アクセス部270を介して、記録媒体272に記憶されたプログラム246を読み出して、プログラム246に基づいた所定の処理を行なう。
Note that the
記録媒体272は、画像撮像装置1000から着脱可能な媒体である。すなわち、記録媒体272に記録されているプログラム246は、媒体等に記録されてプログラム製品として流通される。また、記録媒体272もプログラム製品として流通される。
The
記録媒体272は、フロッピー(登録商標)ディスク、CF(Compact Flash) カード、SM(Smart Media(登録商標))、MMC(Multi Media Card)、SD(Secure Digital)メモリーカード、メモリースティック(登録商標)、xDピクチャーカード、その他不揮発性メモリのいずれであってもよい。
The
また、記録媒体272には、画像撮像装置1000が撮像した画像データが記憶される。
The
表示部150には、詳細は後述するが、傾斜測定部250により算出された第1傾斜度,第2傾斜度または天地方向についての情報が表示される。
Although details will be described later, the
図8は、画像撮像装置1000を右に90度回転させた場合の表示部150に表示される画像500の一例を示す。図8を参照して、画像500には、天地方向算出手段222による画像撮像装置1000の天地方向の算出結果が、「上,下,左,右」の文字で表示されている。また、画像500の「上,下,左,右」の文字は、画像撮像装置1000の天地方向の算出結果に応じて、回転して表示されている。画像500の「上」が、天地方向の天に対応し、画像500の「下」が、天地方向の地に対応する。したがって、ユーザは、画像500を参照することで、画像撮像装置1000の天地方向を容易に知ることができる。画像500には、撮像対象となる画像と、「上,下,左,右」の文字とが同時に表示される。
FIG. 8 shows an example of an
なお、水平面に対し、画像撮像装置1000を斜めに傾けた場合、天地方向の判定結果を、文字ではなく、記号等で表した方が、ユーザが直感的に天地方向を判別できる。
When the
図9は、水平面P302に対し、画像撮像装置1000を斜めに傾けた場合の表示部150に表示される画像510の一例を示す。図9を参照して、画像510には、記号として矢印512が表示される。矢印512が示すのは、画像撮像装置1000の天地方向の「天」となる。画像510には、撮像対象となる画像と、矢印512とが同時に表示される。
FIG. 9 shows an example of an
なお、本実施の形態では、報知手段(表示部150)による報知は、画像の表示である。しかしながら、報知手段による報知は、画像の表示ではなく、音声による報知であってもよい。 In the present embodiment, the notification by the notification means (display unit 150) is an image display. However, the notification by the notification means may be a notification by voice instead of displaying an image.
次に、画像撮像装置1000で行なわれる処理について説明する。なお、以下に説明する処理は、画像撮像装置1000の電源オン時に開始される。
Next, processing performed in the
図10は、画像撮像装置1000で行なわれる処理のフローチャートである。図10を参照して、ステップS110では、傾斜測定部250が、前述したように、画像撮像装置1000の傾斜度を示す第1傾斜度および第2傾斜度を測定する。その後、ステップS120に進む。
FIG. 10 is a flowchart of processing performed in the
ステップS120では、天地方向算出手段222が、第1傾斜度および第2傾斜度のいずれかが、所定値A以上であるか否かを判定する。ここで、所定値Aは、傾斜測定部250(重力加速度センサー)の性能、ユーザにとっての適切な傾斜度等を考慮して決定される値である。所定値Aは、たとえば、30〜60の範囲の値である。 In step S120, the top / bottom direction calculation means 222 determines whether one of the first inclination and the second inclination is equal to or greater than a predetermined value A. Here, the predetermined value A is a value determined in consideration of the performance of the inclination measurement unit 250 (gravity acceleration sensor), an appropriate inclination for the user, and the like. The predetermined value A is a value in the range of 30 to 60, for example.
ステップS120において、YESならば、ステップS122に進む。一方、ステップS120において、NOならば、ステップS132に進む。 If YES in step S120, the process proceeds to step S122. On the other hand, if NO at step S120, the process proceeds to step S132.
ステップS122では、天地方向算出手段222が、傾斜測定部250が測定した第1傾斜度および第2傾斜度に基づいて、画像撮像装置1000の天地方向の算出を行なう。すなわち、撮像対象の天地方向が算出される。その後、ステップS124に進む。
In step S <b> 122, the top / bottom
ステップS124では、制御部220が、画像撮像装置1000の天地方向の算出結果に基づく情報を表示した画像(以下、報知画像ともいう)を生成し、報知画像を、表示部150に表示させる。報知画像は、たとえば、図9の画像500である。報知画像には、撮像対象となる画像と、傾斜度としての第1傾斜度または第2傾斜度の情報および天地方向の情報の少なくとも一方とが表示される。
In step S <b> 124, the
図11は、一例としての報知画像520を示す図である。図11を参照して、報知画像520は、「上,下,左,右」の文字により、天地方向の情報を表示している。報知画像520には、撮像対象となる画像と、「上,下,左,右」の文字とが同時に表示される。また、図11は、第1傾斜度または第2傾斜度が、所定値A以上の場合の画像撮像装置1000の状態を示す。
FIG. 11 is a diagram showing a
図12は、画像撮像装置1000が、右に30度傾いた状態である場合の、報知画像600を示す図である。図12を参照して、報知画像600には、文字列を表示する文字画像610が配置されている。文字画像610には、画像撮像装置1000が水平面P302に対し右に30度傾いている旨を示す文字列が表示されている。なお、報知画像600には、撮像対象となる画像と、文字画像610とが同時に表示される。
FIG. 12 is a diagram showing a
図12のように表示部150に報知画像600を表示することにより、画像撮像装置1000を傾きのない状態にするように、ユーザに注意を促すことが可能となる。そのために、さらに、「左へ30度傾けて、傾きのない状態にしてください」といった、ユーザへの指示を報知画像に表示するようにしてもよい。
By displaying the
図13は、画像撮像装置1000が、右に30度傾いた状態である場合の、報知画像600Aを示す図である。図13を参照して、報知画像600Aには、報知画像600に、さらに、天地方向の情報を示す矢印512が表示された画像である。
FIG. 13 is a diagram illustrating a
再び、図10を参照して、ステップS124の処理が終了すると、ステップS126に進む。 Referring to FIG. 10 again, when the process of step S124 ends, the process proceeds to step S126.
ステップS126では、天地方向算出手段222が、ステップS110により測定された第1傾斜度および第2傾斜度に基づいて、前述した傾斜度データDT30を、傾斜情報記憶部260に記憶させる。なお、既に、傾斜情報記憶部260に傾斜度データDT30が記憶されている場合、天地方向算出手段222は、最新の傾斜度データDT30を傾斜情報記憶部260に上書き記憶させる。
In step S126, the top / bottom direction calculation means 222 causes the inclination
また、天地方向算出手段222は、ステップS122により算出された天地方向の情報に基づいて、前述した天地方向データDT40を、傾斜情報記憶部260に記憶させる。なお、既に、傾斜情報記憶部260に天地方向データDT40が記憶されている場合、天地方向算出手段222は、最新の天地方向データDT40を傾斜情報記憶部260に上書き記憶させる。その後、ステップS150に進む。
Further, the top / bottom direction calculation means 222 causes the tilt
ステップS150では、正対方向決定の指示があるか否かが判定される。具体的には、正対方向決定手段224が、入力部230から、押下検知信号を受信したか否かを判定する。ステップS150において、YESならば、後述するステップS152に進む。ステップS150において、YESと判定されるのは、以下の場合である。すなわち、ユーザが、表示部150に表示された報知画像の天地方向の情報を参照し、当該天地方向に対応する画像撮像装置1000の正対方向を決定するために、ユーザがシャッターボタン120の押下操作を行なった場合である。
In step S150, it is determined whether there is an instruction to determine the facing direction. Specifically, the facing direction determination unit 224 determines whether or not a pressing detection signal is received from the
一方、ステップS150において、NOならば、再度、ステップS110の処理が行なわれる。 On the other hand, if NO at step S150, the process at step S110 is performed again.
前述のステップS120において、NOならば、ステップS132に進む。
ステップS132では、ステップS122と同様に、天地方向算出手段222が、傾斜測定部250が測定した第1傾斜度および第2傾斜度に基づいて、画像撮像装置1000の天地方向の算出を行なう。すなわち、撮像対象の天地方向が算出される。
If NO at step S120 described above, the process proceeds to step S132.
In step S132, similarly to step S122, the vertical
なお、画像撮像装置1000が、水平面に対し平行である場合、天地方向算出手段222は、傾斜測定部250が測定した第1傾斜度および第2傾斜度に基づいて、画像撮像装置1000の天地方向の判定はできない。
When the
図14は、画像撮像装置1000が、水平面P302に対し平行である状態を示した図である。図14を参照して、水平面P302上には、撮像対象物701が置かれている。
FIG. 14 is a diagram illustrating a state in which the
なお、画像撮像装置1000が図14の状態になる前に、必ず1度は、ステップS120において、YESと判定される。すなわち、画像撮像装置1000の電源オン時に、画像撮像装置1000が図14の状態となっていることは、ユーザが意図的にしない限り発生しない。なぜなら、ユーザは撮像処理の前に、画像撮像装置1000の調整(フォーカス等)などの操作を行なうのが一般的であるからである。このとき、画像撮像装置1000は、天地方向が判定できる状態であり、画像撮像装置1000が全くの水平状態でユーザが操作を開始することは、あまりないと考えられる。この後、ユーザは、水平に置かれた撮像対象物701を撮像するために、画像撮像装置1000を水平状態に持っていく。
Note that, before the
そのため、画像撮像装置1000が図14の状態になる前に、必ず1度は、ステップS126の処理が行われる。したがって、傾斜情報記憶部260には、傾斜度データDT30および天地方向データDT40が記憶されている。
For this reason, the process of step S126 is always performed once before the
この場合、天地方向算出手段222は、傾斜情報記憶部260に記憶されている傾斜度データDT30および天地方向データDT40の少なくとも一方に基づいて、画像撮像装置1000の天地方向の判定を行なう。その後、ステップS134に進む。
In this case, the top / bottom
ステップS134では、制御部220が、画像撮像装置1000の天地方向の算出結果に基づく情報を表示した報知画像を生成し、報知画像を、表示部150に表示させる。
In step S134, the
図15は、画像撮像装置1000が、水平面P302に対し平行である場合の、一例としての報知画像700を示す図である。図15を参照して、報知画像700は、「上,下,左,右」の文字により、天地方向の情報を表示している。報知画像700には、撮像対象物701の画像と、「上,下,左,右」の文字とが同時に表示される。
FIG. 15 is a diagram illustrating a
図16は、画像撮像装置1000が、水平面P302に対し平行である場合の、一例としての報知画像700Aを示す図である。図16を参照して、報知画像700Aには、画像撮像装置1000の天地方向の情報を示す矢印710と、画像撮像装置1000が撮像対象物701(水平面P302)に対し平行である旨が文字により表示されている。なお、報知画像700Aには、さらに、撮像対象物701の画像も表示される。
FIG. 16 is a diagram illustrating a
再び、図10を参照して、ステップS134の処理が終了すると、前述したステップS150に進む。ステップS150において、YESならば、ステップS152に進む。 Referring to FIG. 10 again, when the process of step S134 ends, the process proceeds to step S150 described above. If YES in step S150, the process proceeds to step S152.
ステップS152では、正対方向決定手段224が、現時点で傾斜情報記憶部260に記憶されている傾斜度データDT30および天地方向データDT40を、撮像対象物701の上下の向きを基準とした画像撮像装置1000の正対方向の情報として決定する。具体的には、正対方向決定手段224が、傾斜情報記憶部260に記憶されている傾斜度データDT30および天地方向データDT40の更新を不可にする。その後、ステップS154に進む。
In step S152, the facing direction determination unit 224 uses the inclination data DT30 and the top and bottom direction data DT40 currently stored in the inclination
ステップS154では、画像補正処理が行なわれる。画像補正処理では、制御部220が、現時点で、一時記憶部217に記憶されている画像データを読み出すための読出制御指示を、画像撮像部210へ送信する。画像撮像部210内の撮像制御部216は、読出制御指示を受信すると、現時点で一時記憶部217に記憶されている画像データを制御部220へ送信する。
In step S154, an image correction process is performed. In the image correction process, the
制御部220は、画像撮像部210から送信された画像データを受信する。以下においては、制御部220が、画像撮像部210から受信した画像データを撮像画像データとも称する。
The
制御部220は、画像撮像装置1000の正対方向の情報である天地方向データDT40に基づいて、受信した画像データ(撮像画像データ)の天地方向を修正する必要がある場合、回転等の処理により、天地方向を修正した画像(以下、修正画像ともいう)を生成する。たとえば、画像撮像装置1000が、図8のような状態のときに、ユーザによるシャッターボタン120の押下操作があった場合、修正画像は、「上」と表示された部分が、画像の上部分となる、縦方向に長い画像となる。
When it is necessary to correct the top / bottom direction of the received image data (captured image data) based on the top / bottom direction data DT40, which is information on the facing direction of the
なお、制御部220は、天地方向データDT40に基づいて、受信した画像データの天地方向を修正する必要がない場合は、受信した画像の修正は行なわない。
次に、制御部220は、生成した修正画像のデータまたは画像データの天地方向を修正する必要がない場合は受信した画像データ(撮像画像データ)を、一時記憶部240に記憶させる。その後、ステップS156に進む。
Next, the
ステップS156では、認識処理が行なわれる。認識処理では、認識手段226が、一時記憶部240に記憶された画像に基づいて、文字認識または顔認識を行なう。すなわち、認識手段226は、天地方向を修正する必要がある場合、修正画像に基づいて文字認識または顔認識等の処理を行なう。言い換えれば、認識手段226は、天地方向を修正する必要がある場合、正対方向決定手段224により決定された画像撮像装置1000の正対(天地)方向の情報に基づいて、撮像画像の文字認識または顔認識等の処理を行なう。
In step S156, recognition processing is performed. In the recognition process, the
なお、文字認識または顔認識を行なうのに必要なデータは、記憶部245に予め記憶されている。その後、認識手段226は認識結果を、記憶部245に記憶させる。その後、ステップS160に進む。
Note that data necessary for character recognition or face recognition is stored in the
ステップS160では、制御部220は、一時記憶部240に記憶された画像データ(修正画像データまたは撮像画像データ)を、記録媒体272に記憶させる。すなわち、制御部220は、天地方向を修正する必要がある場合、正対方向決定手段224により決定された画像撮像装置1000の正対方向の情報に基づいて、撮像画像データを、記録媒体272に記憶させる。すなわち、制御部220は、天地方向を修正する必要がある場合、算出された撮像対象の天地方向の情報に基づいて、撮像画像データを、記録媒体272に記憶させる。その後、この処理は終了する。
In step S160, the
本実施の形態では、ステップS150において、正対方向決定の指示があると判定されると、ステップS152において、正対方向決定手段224が画像撮像装置1000の正対方向を確定していた。
In the present embodiment, when it is determined in step S150 that there is an instruction to determine the facing direction, the facing direction determination unit 224 determines the facing direction of the
しかしながら、本実施の形態は、正対方向決定の指示がなくても実施可能である。この場合、たとえば、画像撮像装置1000が、ある一定時間、水平状態であったら、正対方向決定手段224が、傾斜情報記憶部260に記憶されている傾斜度データDT30を、撮像対象物701の上下の向きを基準とした画像撮像装置1000の正対方向の情報として決定する。
However, the present embodiment can be implemented without an instruction for determining the facing direction. In this case, for example, if the
以上説明したように、本実施の形態では、水平に置かれた撮像対象物701を撮像する場合でも、傾斜した状態での天地情報を保持し、画像撮像装置1000が水平に近くなった場合、傾斜した状態での天地情報を利用することにより、水平に置かれた撮像対象物701でも正確に天地方向を算出することができる。
As described above, in the present embodiment, even when the
さらに、画像撮像装置1000を持つユーザは、撮像処理の前に、画像撮像装置1000の電源オン、カメラの調整(フォーカス等)などの操作を行なうのが一般的である。このとき、画像撮像装置1000は、天地方向が判定できる状態であり、画像撮像装置1000が全くの水平状態でユーザが操作を開始することは、あまりないと考えられる。この後、ユーザは、水平に置かれた被写体を撮像する場合、画像撮像装置1000を水平状態に持っていく。
Further, a user who has the
本発明で天地方向判定に必要なある程度の画像撮像装置1000の傾斜度は、このときの撮像の流れの中で自然に取得することができるため、利用者に負担が少ない。
The degree of inclination of the
また、本実施の形態では、表示部150に被写体と共に、天地方向の情報を逐次表示する。そのため、ユーザは被写体と天地方向を同時に確認しながら撮像をすることが可能である。したがって、撮像対象と天地方向の表示とを視線を大きく動かすことなく確認でき、撮像を行ないやすい。
In the present embodiment, information on the top and bottom directions is sequentially displayed on the
また、本実施の形態では、判定された天地方向に基づいた画像を生成し、認識処理を行なう。したがって、より正確に文字または顔等の認識を行なうことが可能となる。 In the present embodiment, an image based on the determined top-and-bottom direction is generated and recognition processing is performed. Therefore, it becomes possible to recognize characters or faces more accurately.
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
110 レンズ群、120 シャッターボタン、150 表示部、210 画像撮像部、220 制御部、230 入力部、246 プログラム、272 記録媒体、 1000 画像撮像装置。 110 lens group, 120 shutter button, 150 display unit, 210 image capturing unit, 220 control unit, 230 input unit, 246 program, 272 recording medium, 1000 image capturing device.
Claims (14)
撮像対象を撮像する画像撮像手段と、
前記画像撮像装置の傾斜の角度を示す傾斜度を測定する傾斜度測定手段と、
前記傾斜度測定手段により測定された前記傾斜度に基づいて、前記画像撮像装置の天地方向を算出する天地方向算出手段と、
前記傾斜度測定手段により測定された前記傾斜度および前記天地方向算出手段により算出された前記天地方向の少なくとも一方の情報を記憶する傾斜情報記憶手段と、
前記撮像対象に対する前記画像撮像装置の正対方向を決定する正対方向決定手段とを備え、
前記傾斜度測定手段による前記画像撮像装置の前記傾斜度の測定処理と、前記測定された前記傾斜度が所定値以上の場合に前記傾斜度および前記天地方向算出手段により算出された前記天地方向の少なくとも一方の情報が前記傾斜情報記憶手段に記憶される処理とが、前記正対方向決定手段により前記正対方向が決定されるまでの期間、繰返し行なわれる、画像撮像装置。 An imaging device,
Image imaging means for imaging an imaging target;
An inclination measuring means for measuring an inclination indicating an angle of inclination of the image pickup device;
A top and bottom direction calculating unit that calculates a top and bottom direction of the image pickup device based on the tilt degree measured by the tilt degree measuring unit;
Inclination information storage means for storing information on at least one of the inclination measured by the inclination measurement means and the vertical direction calculated by the vertical direction calculation means;
A facing direction determining means for determining a facing direction of the image capturing apparatus with respect to the imaging target;
The inclination measurement process of the image pickup apparatus by the inclination measurement unit, and the inclination and the vertical direction calculated by the vertical direction calculation unit when the measured inclination is a predetermined value or more. The image capturing apparatus, wherein the process of storing at least one piece of information in the inclination information storage unit is repeatedly performed until the facing direction is determined by the facing direction determining unit.
前記報知手段は、前記撮像対象とともに、前記画像撮像装置の前記傾斜度および前記天地方向算出手段により算出された前記天地方向の少なくとも一方の情報の表示を行なう、請求項3に記載の画像撮像装置。 The notification means is a display device that displays the imaging target of the image imaging device,
The image capturing apparatus according to claim 3, wherein the notifying unit displays, together with the imaging target, information on at least one of the inclination of the image capturing apparatus and the top and bottom direction calculated by the top and bottom direction calculating unit. .
前記正対方向決定手段は、前記入力手段が受付けた前記指示入力に応じて、前記撮像対象に対する前記画像撮像装置の正対方向を決定する、請求項1または請求項2に記載の画像撮像装置。 It further comprises an input means for receiving an instruction input from the user,
The image capturing apparatus according to claim 1, wherein the facing direction determining unit determines a facing direction of the image capturing apparatus with respect to the imaging target in accordance with the instruction input received by the input unit. .
前記画像保存手段は、前記入力手段が受付けた前記指示入力に応じて、前記撮像画像を保存する、請求項7に記載の画像撮像装置。 Image storage means for storing a captured image captured by the image capturing means;
The image capturing apparatus according to claim 7, wherein the image storage unit stores the captured image in response to the instruction input received by the input unit.
前記認識手段は、前記画像撮像手段が撮像した撮像画像を、前記正対方向決定手段により決定された前記画像撮像装置の正対方向に基づいて認識する、請求項1または請求項2に記載の画像撮像装置。 It further comprises a recognition means for recognizing an image,
The recognition unit according to claim 1, wherein the recognition unit recognizes a captured image captured by the image capturing unit based on a facing direction of the image capturing apparatus determined by the facing direction determining unit. Imaging device.
撮像対象を撮像するステップと、
前記画像撮像装置の傾斜の角度を示す傾斜度を測定するステップと、
前記傾斜度を測定するステップにより測定された前記傾斜度に基づいて、前記画像撮像装置の天地方向を算出するステップと、
前記傾斜度を測定するステップにより測定された前記傾斜度および前記天地方向を算出するステップにより算出された前記天地方向の少なくとも一方の情報を前記画像撮像装置内の記憶部に記憶させるステップと、
前記撮像対象に対する前記画像撮像装置の正対方向を決定するステップとをコンピュータに実行させる、プログラム。 A program for causing a computer in an image capturing apparatus to execute an image capturing process,
Imaging an imaging target;
Measuring an inclination indicating an inclination angle of the image pickup device;
Calculating the top-to-bottom direction of the image pickup device based on the inclination measured by the step of measuring the inclination;
Storing at least one information of the top and bottom direction calculated by the step of calculating the slope and the top and bottom direction measured by the step of measuring the slope and the storage unit in the image capturing device;
A program for causing a computer to execute a step of determining a facing direction of the image capturing apparatus with respect to the imaging target.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005256081A JP4660323B2 (en) | 2005-09-05 | 2005-09-05 | Image capturing apparatus, program, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005256081A JP4660323B2 (en) | 2005-09-05 | 2005-09-05 | Image capturing apparatus, program, and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007074077A true JP2007074077A (en) | 2007-03-22 |
JP4660323B2 JP4660323B2 (en) | 2011-03-30 |
Family
ID=37935190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005256081A Expired - Fee Related JP4660323B2 (en) | 2005-09-05 | 2005-09-05 | Image capturing apparatus, program, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4660323B2 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012164807A1 (en) * | 2011-06-03 | 2012-12-06 | 株式会社ソニー・コンピュータエンタテインメント | Image processing device |
JP2016076843A (en) * | 2014-10-07 | 2016-05-12 | キヤノン株式会社 | Imaging apparatus, control method therefor, program and recording medium |
JP5983409B2 (en) * | 2010-09-22 | 2016-08-31 | 日本電気株式会社 | Imaging apparatus, image transfer method, and program |
JP2019041390A (en) * | 2007-09-19 | 2019-03-14 | 株式会社リコー | Imaging device |
US11006047B2 (en) | 2007-09-19 | 2021-05-11 | Ricoh Company, Ltd. | Imaging apparatus capable of detecting and displaying information with respect to an incline thereof |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05167898A (en) * | 1991-12-17 | 1993-07-02 | Funai Electric Co Ltd | Camera integral video tape recorder with horizontal level meter |
JPH0667282A (en) * | 1992-08-18 | 1994-03-11 | Olympus Optical Co Ltd | Camera |
JPH1184482A (en) * | 1997-09-12 | 1999-03-26 | Nec Corp | Digital electronic still camera |
JP2001215548A (en) * | 2000-02-01 | 2001-08-10 | Asahi Optical Co Ltd | Image deflection preventing digital camera |
JP2001346081A (en) * | 2000-05-31 | 2001-12-14 | Sony Corp | Digital camera |
JP2004088439A (en) * | 2002-08-27 | 2004-03-18 | Canon Inc | Electronic camera |
JP2004343283A (en) * | 2003-05-14 | 2004-12-02 | Fuji Photo Film Co Ltd | Digital camera |
-
2005
- 2005-09-05 JP JP2005256081A patent/JP4660323B2/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05167898A (en) * | 1991-12-17 | 1993-07-02 | Funai Electric Co Ltd | Camera integral video tape recorder with horizontal level meter |
JPH0667282A (en) * | 1992-08-18 | 1994-03-11 | Olympus Optical Co Ltd | Camera |
JPH1184482A (en) * | 1997-09-12 | 1999-03-26 | Nec Corp | Digital electronic still camera |
JP2001215548A (en) * | 2000-02-01 | 2001-08-10 | Asahi Optical Co Ltd | Image deflection preventing digital camera |
JP2001346081A (en) * | 2000-05-31 | 2001-12-14 | Sony Corp | Digital camera |
JP2004088439A (en) * | 2002-08-27 | 2004-03-18 | Canon Inc | Electronic camera |
JP2004343283A (en) * | 2003-05-14 | 2004-12-02 | Fuji Photo Film Co Ltd | Digital camera |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019041390A (en) * | 2007-09-19 | 2019-03-14 | 株式会社リコー | Imaging device |
JP2020174371A (en) * | 2007-09-19 | 2020-10-22 | 株式会社リコー | Imaging apparatus |
US11006047B2 (en) | 2007-09-19 | 2021-05-11 | Ricoh Company, Ltd. | Imaging apparatus capable of detecting and displaying information with respect to an incline thereof |
US11528422B2 (en) | 2007-09-19 | 2022-12-13 | Ricoh Company, Ltd. | Imaging apparatus capable of detecting and displaying information with respect to an incline thereof |
JP5983409B2 (en) * | 2010-09-22 | 2016-08-31 | 日本電気株式会社 | Imaging apparatus, image transfer method, and program |
WO2012164807A1 (en) * | 2011-06-03 | 2012-12-06 | 株式会社ソニー・コンピュータエンタテインメント | Image processing device |
JP2012253620A (en) * | 2011-06-03 | 2012-12-20 | Sony Computer Entertainment Inc | Image processing device |
US20140092278A1 (en) * | 2011-06-03 | 2014-04-03 | Sony Computer Entertainment Inc. | Image processing device |
KR20150085121A (en) * | 2011-06-03 | 2015-07-22 | 소니 컴퓨터 엔터테인먼트 인코포레이티드 | Image processing device and recording medium |
KR101589889B1 (en) * | 2011-06-03 | 2016-02-01 | 소니 컴퓨터 엔터테인먼트 인코포레이티드 | Image processing device and recording medium |
US9363466B2 (en) | 2011-06-03 | 2016-06-07 | Sony Corporation | Image processing device for determining an orientation and a direction of the image processing device |
JP2016076843A (en) * | 2014-10-07 | 2016-05-12 | キヤノン株式会社 | Imaging apparatus, control method therefor, program and recording medium |
Also Published As
Publication number | Publication date |
---|---|
JP4660323B2 (en) | 2011-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8102429B2 (en) | Digital camera with integrated accelerometers | |
JP6954414B2 (en) | Imaging device | |
EP2518993B1 (en) | Image capturing device, azimuth information processing method, and program | |
US8035720B2 (en) | Image display apparatus and photographing apparatus | |
KR20120106858A (en) | Image capture device having tilt or perspective correction | |
CN101374198A (en) | Camera device and automatic frontal method for image thereof | |
JP4660323B2 (en) | Image capturing apparatus, program, and recording medium | |
CN111351468B (en) | Electronic device and image ranging method thereof | |
US8228394B2 (en) | Apparatus and method for adjusting the display direction of an image captured by a camera system | |
JP2009105559A (en) | Method of detecting and processing object to be recognized from taken image, and portable electronic device with camera | |
JP5471133B2 (en) | Imaging device | |
JP2009171362A (en) | Photographing apparatus, and photographing method | |
US20100001947A1 (en) | Images Display Method and Apparatus of Digital Photo Frame | |
KR100648936B1 (en) | Digital camera having function of revising inclined image | |
KR100693585B1 (en) | Method of photographing image in a mobile communication terminal | |
JP4939451B2 (en) | Imaging device and method of correcting angle information of imaging device | |
JP2008048008A (en) | Electronic camera and image display method for use therein | |
JP2004229260A (en) | Digital camera for determining and recording top and bottom of image file in accordance with tilt of imaging device in photographing | |
JP2011259341A (en) | Imaging apparatus | |
JP2008172501A (en) | Imaging apparatus | |
JP2004343283A (en) | Digital camera | |
JP5424725B2 (en) | IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD | |
JP5662359B2 (en) | Terminal device, screen control method, program | |
JP2016092790A (en) | Imaging device capable of mounting flying accessories | |
JP2007304156A (en) | Camera shake detector, camera shake detection method, and camera shake detection program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070822 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091028 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091104 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091225 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101005 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101201 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20101221 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101228 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140107 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |