JP2014003575A - Portable terminal device, image capturing method, and computer program - Google Patents

Portable terminal device, image capturing method, and computer program Download PDF

Info

Publication number
JP2014003575A
JP2014003575A JP2012139491A JP2012139491A JP2014003575A JP 2014003575 A JP2014003575 A JP 2014003575A JP 2012139491 A JP2012139491 A JP 2012139491A JP 2012139491 A JP2012139491 A JP 2012139491A JP 2014003575 A JP2014003575 A JP 2014003575A
Authority
JP
Japan
Prior art keywords
image
image data
photographer
terminal device
subject
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
JP2012139491A
Other languages
Japanese (ja)
Inventor
Masafumi Nakamura
政文 中村
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.)
NEC Saitama Ltd
Original Assignee
NEC Saitama Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Saitama Ltd filed Critical NEC Saitama Ltd
Priority to JP2012139491A priority Critical patent/JP2014003575A/en
Publication of JP2014003575A publication Critical patent/JP2014003575A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a portable terminal device, image capturing method, and computer program capable of preventing an image position from being not correctly determined due to the visual recognition of a deformed image when capturing the image of a subject existing beyond an obstacle positioned higher than a horizontal eye line of an image capturing person.SOLUTION: An acceleration sensor is used to recognize a case where a subject direction 304 is not coincident with an image confirmation angle 303 as shown in Fig. 4. When it is recognized that a subject direction 304 is not coincident with an image confirmation angle 303, a CPU deforms a capturing image according to the image confirmation angle 303 as shown in Fig. 8. Consequently, an image viewed from an image capturing person 302 becomes the one that correctly captures a subject as shown in Fig. 7, so that the image capturing person 302 can confirm the image as a vision viewed from a front. When a shutter is depressed, an image true to the shape of a subject is acquired.

Description

本発明は携帯端末装置、撮影方法、及びコンピュータプログラムに係る。特に、付属のカメラで撮影者の水平方向目線の高さ以上の障害物の向こう側に有る被写体を撮影する際に、被写体を正確に画像枠の中央に捉えているか否かを確認することができる携帯端末装置、撮影方法、及びコンピュータプログラムに関する。   The present invention relates to a portable terminal device, a photographing method, and a computer program. In particular, when shooting an object beyond the obstacle that is more than the height of the photographer's horizontal line of sight with the attached camera, it is possible to check whether the object is accurately captured in the center of the image frame. The present invention relates to a portable terminal device, a photographing method, and a computer program.

近年、携帯端末装置には、カメラを本体に付属させたカメラ付きの携帯端末装置が普及している。ところが、装置を設計する立場から見ると、このようなカメラ付きの携帯端末装置は、装置の一体化及び小型化が進んでおり、よって、装置にはカメラの撮影角度を変えるような複雑な構造を持たせることが困難になっている。また、撮影者の水平方向目線よりも高い位置に存在する障害物の向こう側の風景等を撮影する場合、撮影者は、携帯端末装置を上方に移動させ、且つ、カメラの向きを被写体方向に向ける操作が必要となる。しかし、このような操作を行った後で、撮影者が撮影画面を見ると、撮影画像は台形に変形して見えてしまう。よって、このような場合において、撮影者は、ターゲットとする被写体を、画面の中央に捉えているか否かを判断することが困難であるといった問題点が生じていた。   In recent years, mobile terminal devices with cameras in which a camera is attached to a main body have become widespread for mobile terminal devices. However, from the standpoint of designing the device, such a portable terminal device with a camera has been integrated and miniaturized, and thus the device has a complicated structure that changes the shooting angle of the camera. It has become difficult to have In addition, when photographing a landscape or the like beyond an obstacle present at a position higher than the photographer's horizontal line of sight, the photographer moves the mobile terminal device upward and sets the camera direction to the subject. An operation to turn is required. However, when the photographer looks at the photographing screen after performing such an operation, the photographed image appears to be deformed into a trapezoid. Therefore, in such a case, there is a problem that it is difficult for the photographer to determine whether or not the target subject is captured at the center of the screen.

なお、この分野の公知例技術として、例えば、特許文献1には、パースペクティブ歪をプロセッサにより補償するディジタルカメラを開示している。具体的には、被写体を下から見上げて撮影したために画像にパースペクティブ歪が現れた場合には、位置によって変動する倍率でこの歪を持つ画像をプロセス処理により拡大することによって、パースペクティブ歪を除去した画像を得る、ものとしている。   As a known example technique in this field, for example, Patent Document 1 discloses a digital camera that compensates for perspective distortion by a processor. Specifically, when perspective distortion appears in the image because the subject was taken up from below, the perspective distortion was removed by enlarging the image with this distortion at a magnification that varies depending on the position by process processing. Try to get an image.

また、例えば、特許文献2には、振動による画面の振れを、上下左右については表示位置で、前後については表示倍率で補正する画像表示装置を開示している。具体的には、画像表示装置にはカメラが設けられ、使用者の顔までの距離を測定するAF機能を備えている。AF機構によって測定された使用者の顔までの距離データと、内蔵された加速度センサによって検出された携帯端末装置の上下左右および前後への移動量がCPUに伝えられる。CPUでは顔までの距離を初期値として、加速度センサで検出された前後方向(遠近)の移動に伴う表示画像の目視サイズ変動を補正するための、表示画像の拡大縮小量が算出される。また、加速度センサによって検出された携帯端末装置の上下左右への移動量から、画面の上下左右への振れを補正するための、画面の表示領域のシフト方向およびシフト量が算出される、ものとしている。   For example, Patent Document 2 discloses an image display device that corrects screen shake due to vibration at the display position in the vertical and horizontal directions and the display magnification in the front and rear directions. Specifically, the image display device is provided with a camera and has an AF function for measuring the distance to the user's face. The distance data to the user's face measured by the AF mechanism and the amount of movement of the mobile terminal device detected by the built-in acceleration sensor up and down, left and right, and front and rear are transmitted to the CPU. The CPU calculates the enlargement / reduction amount of the display image for correcting the visual size variation of the display image due to the movement in the front-rear direction (far / near) detected by the acceleration sensor, using the distance to the face as an initial value. In addition, the shift direction and the shift amount of the display area of the screen for correcting the vertical and horizontal shake of the screen are calculated from the vertical and horizontal movement amounts of the mobile terminal device detected by the acceleration sensor. Yes.

特許第4233797号公報Japanese Patent No. 4233797 特開2004−128712号公報JP 2004-128712 A

前述の特許文献1に記載の装置のような、パースペクティブ歪をプロセッサにより補償するディジタルカメラは、被写体を下から見上げて撮影したために画像に現れるパースペクティブ歪を除去するための有効な手段である。しかしながら、このような手段は、必ずしも位置によって変動する倍率でもって該歪を持つ画像をプロセス処理により拡大することに限定されるものではない。   A digital camera that compensates for perspective distortion with a processor, such as the apparatus described in Patent Document 1 described above, is an effective means for removing perspective distortion that appears in an image because a subject is looked up from below. However, such means is not necessarily limited to enlarging an image having the distortion by a process process with a magnification that varies depending on the position.

また、前述の特許文献2に記載の装置のような、振動による画面の振れを、上下左右については表示位置で、前後については表示倍率で補正する画像表示装置は、振動による画面の振れを補正するための有効な手段である。しかしながら、表示画面に現れる歪みは、必ずしも振動によるものとは限らない。   In addition, the image display device that corrects the screen shake caused by vibration at the display position in the vertical and horizontal directions, and the display magnification at the front and rear, as in the device described in Patent Document 2 described above, corrects the screen shake caused by the vibration. It is an effective means for doing this. However, the distortion appearing on the display screen is not necessarily caused by vibration.

ところで、前述のとおり、近年の携帯端末装置は、一体化及び小型化が進んだ結果、カメラの撮影角度を変えるような複雑な構造を持たせることが困難になっている。また、撮影者の水平方向目線よりも高い障害物の向こう側に存在する被写体(人物、風景等)を撮影する場合、携帯端末装置を上方に移動させ、且つ、カメラの向きを被写体方向に向ける。そのため、撮影者が撮影画面を見ると、台形に変形して見えてしまうといった問題点が生じている。勿論、このような問題点は、前述の特許文献1及び2に開示の技術によっても解消されるものではない。   By the way, as described above, as a result of progress in integration and miniaturization of recent mobile terminal devices, it is difficult to have a complicated structure that changes the shooting angle of the camera. Further, when photographing a subject (person, landscape, etc.) that exists beyond an obstacle higher than the photographer's horizontal line of sight, the mobile terminal device is moved upward and the camera is directed toward the subject. . Therefore, when the photographer looks at the photographing screen, there is a problem that the photographer appears to be deformed into a trapezoid. Of course, such a problem is not solved by the techniques disclosed in Patent Documents 1 and 2 described above.

本発明の目的は、上述した課題を解決する携帯端末装置、撮影方法、及びコンピュータプログラムを提供することにある。   The objective of this invention is providing the portable terminal device, imaging | photography method, and computer program which solve the subject mentioned above.

上記課題を解決するために、本発明に係る携帯端末装置は、撮影者が第1の指令を発令した時点以降、被写体を撮影して撮影画像データに変換する撮影手段と、前記第1の指令が発令されたタイミングで、本装置の位置を基準位置として設定する初期化手段と、前記基準位置からの本装置の移動状況を認識する移動状況認識手段と、前記移動状況に応じて前記撮影画像データを変形し、変形画像データを得る画像変形手段と、前記変形画像データを表示装置に表示する表示手段と、撮影者が第2の指令を発令したタイミングで、前記撮影画像データを取得する画像取得手段とを備える。   In order to solve the above-described problem, the portable terminal device according to the present invention includes a photographing unit that photographs a subject and converts it into photographed image data after the photographer issues a first command, and the first command. , An initialization unit that sets the position of the apparatus as a reference position at a timing at which is issued, a movement state recognition unit that recognizes a movement state of the apparatus from the reference position, and the captured image according to the movement state An image deforming unit that deforms data to obtain deformed image data, a display unit that displays the deformed image data on a display device, and an image that acquires the captured image data at a timing when a photographer issues a second command. Acquisition means.

また、本発明に係る撮影方法は、撮影者が第1の指令を発令した時点以降、被写体を撮影して撮影画像データに変換する撮影ステップと、前記第1の指令が発令されたタイミングで、本装置の位置を基準位置として設定する初期化ステップと、前記基準位置からの本装置の移動状況を認識する移動状況認識ステップと、前記移動状況に応じて前記撮影画像データを変形し、変形画像データを得る画像変形ステップと、前記変形画像データを表示装置に表示する表示ステップと、撮影者が第2の指令を発令したタイミングで、前記撮影画像データを取得する画像取得ステップとを備える。   Further, the photographing method according to the present invention includes a photographing step of photographing a subject and converting it into photographed image data after the photographer issues a first command, and a timing when the first command is issued, An initialization step for setting the position of the apparatus as a reference position, a movement state recognition step for recognizing the movement state of the apparatus from the reference position, the captured image data is deformed according to the movement state, and a deformed image An image transformation step for obtaining data, a display step for displaying the transformation image data on a display device, and an image acquisition step for obtaining the photographed image data at a timing when a photographer issues a second command.

さらに、本発明に係るコンピュータプログラムは、撮影者が第1の指令を発令した時点以降、被写体を撮影して撮影画像データに変換する撮影ステップと、前記第1の指令が発令されたタイミングで、本装置の位置を基準位置として設定する初期化ステップと、前記基準位置からの本装置の移動状況を認識する移動状況認識ステップと、前記移動状況に応じて前記撮影画像データを変形し、変形画像データを得る画像変形ステップと、前記変形画像データを表示装置に表示する表示ステップと、撮影者が第2の指令を発令したタイミングで、前記撮影画像データを取得する画像取得ステップとをコンピュータに実行させる。   Further, the computer program according to the present invention includes a photographing step of photographing a subject and converting it into photographed image data after the photographer issues a first command, and a timing at which the first command is issued, An initialization step for setting the position of the apparatus as a reference position, a movement state recognition step for recognizing the movement state of the apparatus from the reference position, the captured image data is deformed according to the movement state, and a deformed image An image transformation step for obtaining data, a display step for displaying the transformed image data on a display device, and an image acquisition step for obtaining the photographed image data at a timing when the photographer issues a second command are executed on a computer. Let

以上の説明から明らかなように、この発明によれば、障害物の向こう側を撮影する場合、表示部を斜めから見ることより、表示画像が潰れたように変形して、被写体を正確に中央に捉えているかを確認することが困難になるといった問題点を解消することができる。   As is clear from the above description, according to the present invention, when the other side of the obstacle is photographed, the display image is deformed as if the display image is crushed by looking at the display unit from an oblique direction, and the subject is accurately centered. It is possible to solve the problem that it is difficult to confirm whether or not it is captured.

本発明の実施形態に係る携帯端末装置のブロック構成を示す構成図である。It is a block diagram which shows the block configuration of the portable terminal device which concerns on embodiment of this invention. 本発明の実施形態に係る携帯端末装置の外観を示す外観図である。It is an external view which shows the external appearance of the portable terminal device which concerns on embodiment of this invention. 被写体方向に障害物が存在しない場合の撮影を行う方法を示す説明図である。It is explanatory drawing which shows the method of imaging | photography when an obstruction does not exist in a to-be-photographed object direction. 被写体方向に障害物が存在する場合の撮影を行う方法を示す説明図である。It is explanatory drawing which shows the method of imaging | photography when an obstruction exists in a to-be-photographed object direction. 被写体方向に障害物が存在しない場合の撮影画像の一例を示す説明図である。It is explanatory drawing which shows an example of the picked-up image when an obstruction does not exist in a to-be-photographed object direction. 被写体方向に障害物が存在する場合に、従前のカメラ機能付き携帯端末装置を用いて撮影した撮影画像の一例を示す説明図である。It is explanatory drawing which shows an example of the picked-up image image | photographed using the conventional portable terminal device with a camera function, when an obstruction exists in a to-be-photographed object direction. 被写体方向に障害物が存在する場合に、本発明の実施形態に係る携帯端末装置を用いて撮影した撮影画像の一例を示す説明図である。It is explanatory drawing which shows an example of the picked-up image image | photographed using the portable terminal device which concerns on embodiment of this invention when an obstruction exists in a to-be-photographed object direction. 被写体方向に障害物が存在する場合に、本発明の実施形態に係る携帯端末装置を用いて撮影した撮影画像の、正面から見たイメージを一例として示す説明図である。It is explanatory drawing which shows the image seen from the front of the picked-up image image | photographed using the portable terminal device which concerns on embodiment of this invention when an obstruction exists in a to-be-photographed object direction. 本発明の実施形態に係る携帯端末装置の撮影時の処理手順を示すフローチャート図である。It is a flowchart figure which shows the process sequence at the time of imaging | photography of the portable terminal device which concerns on embodiment of this invention.

本発明は、カメラ機能付き携帯端末装置において、撮影者の水平方向目線の高さ以上の障害物の向こう側を撮影しようとした場合に適用できるものである。即ち、このような場合、一般的な従前のカメラ機能付き携帯端末装置では、撮影画像が変形して見えてしまうので、撮影者は、そのイメージを確認することが困難であった。また、その結果として、画像の正確な位置決定ができなくなるといった問題点が生じていた。そこで、本発明の携帯端末装置では、撮影画像を予め変形させることにより、撮影者から見た画像が、正常(即ち、被写体に忠実な形状)に見えるようにする。これにより、被写体の形状に忠実な画像を取得できるようにすると共に、被写体を捉えたイメージを撮影者に分かり易く表示することで、撮影者の撮影作業を容易にすることができる。   INDUSTRIAL APPLICABILITY The present invention can be applied to a portable terminal device with a camera function when an attempt is made to photograph the other side of an obstacle that is higher than the height of the photographer's horizontal line of sight. That is, in such a case, in a conventional mobile terminal device with a camera function, the photographed image appears to be deformed, and it is difficult for the photographer to confirm the image. As a result, there has been a problem that it is impossible to determine the exact position of the image. Therefore, in the mobile terminal device of the present invention, the captured image is deformed in advance so that the image viewed from the photographer looks normal (that is, a shape faithful to the subject). Thus, an image faithful to the shape of the subject can be acquired, and an image capturing the subject can be displayed in an easy-to-understand manner for the photographer, thereby facilitating the photographing operation of the photographer.

以下、本発明の携帯端末装置、撮影方法、及びコンピュータプログラムの実施形態について、図面を参照して詳細に説明する。図1は、本発明の実施形態に係る携帯端末装置のブロック構成を示す構成図である。同図に示本実施形態の携帯端末装置は、CPU1、カメラ部104、加速度センサ3、表示部103、メモリ5、及びキー入力部6を具備する。この他に、携帯電話網やインターネット網を介して他の情報処理機器との通信を可能にする通信部を備えることができる。   Hereinafter, embodiments of a portable terminal device, a photographing method, and a computer program of the present invention will be described in detail with reference to the drawings. FIG. 1 is a configuration diagram showing a block configuration of a mobile terminal device according to an embodiment of the present invention. The portable terminal device of this embodiment shown in the figure includes a CPU 1, a camera unit 104, an acceleration sensor 3, a display unit 103, a memory 5, and a key input unit 6. In addition, a communication unit that enables communication with another information processing device via a mobile phone network or the Internet network can be provided.

図1に示す携帯端末装置において、CPU1は、ストアードプログラミング方式に準拠した制御方法で本装置全体を制御する。カメラ部104は、被写体を撮影して撮影画像データに変換し、該変換した撮影画像データをCPU1に出力する。加速度センサ3は、本装置に加えられる加速度を検出し、本装置がどのように移動したかを認識する。表示部103は、撮影画像データや、撮影者に対する指示やデータを表示する。メモリ5は、CPU1に実行させるためのプログラムを記憶すると共に画像処理を含む各種アプリケーションの実行に必要なデータを記憶する。キー入力部6は、本装置の起動指令及び操作指令を入力すると共に画像の取得を指示するために必要なデータや指令を入力する。図1に示す携帯端末装置は、具体的には、ディジタルカメラ、携帯電話装置、携帯情報処理装置、及びゲーム機器であっても良い。   In the mobile terminal apparatus shown in FIG. 1, the CPU 1 controls the entire apparatus by a control method based on the stored programming method. The camera unit 104 captures a subject and converts it into captured image data, and outputs the converted captured image data to the CPU 1. The acceleration sensor 3 detects the acceleration applied to the apparatus and recognizes how the apparatus has moved. The display unit 103 displays captured image data and instructions and data for the photographer. The memory 5 stores a program to be executed by the CPU 1 and data necessary for executing various applications including image processing. The key input unit 6 inputs start-up commands and operation commands for the apparatus, and inputs data and commands necessary for instructing image acquisition. Specifically, the mobile terminal device shown in FIG. 1 may be a digital camera, a mobile phone device, a mobile information processing device, and a game machine.

図2は、本発明の実施形態に係る携帯端末装置の外観を示す外観図である。同図に示すように、表示部103は、表示面101に付属する部分である。カメラ部104は、カメラ実装面102に付属する部分である。   FIG. 2 is an external view showing the external appearance of the mobile terminal device according to the embodiment of the present invention. As shown in the figure, the display unit 103 is a part attached to the display surface 101. The camera unit 104 is a part attached to the camera mounting surface 102.

図3は、被写体方向に障害物が存在しない場合の撮影を行う方法を示す説明図である。図4は、被写体方向に障害物が存在する場合の撮影を行う方法を示す説明図である。図5は、被写体方向に障害物が存在しない場合の撮影画像の一例を示す説明図である。図6は、被写体方向に障害物が存在する場合に、従前のカメラ機能付き携帯端末装置を用いて撮影した撮影画像の一例を示す説明図である。図7は、被写体方向に障害物が存在する場合に、本発明の実施形態に係る携帯端末装置を用いて撮影した撮影画像の一例を示す説明図である。以下、図1〜図7を参照して、本実施形態のカメラ機能付き携帯端末装置の機能を説明する。   FIG. 3 is an explanatory diagram illustrating a method of performing imaging when no obstacle exists in the direction of the subject. FIG. 4 is an explanatory diagram illustrating a method of performing imaging when an obstacle exists in the subject direction. FIG. 5 is an explanatory diagram illustrating an example of a captured image when no obstacle exists in the subject direction. FIG. 6 is an explanatory diagram illustrating an example of a captured image captured using a conventional mobile terminal device with a camera function when an obstacle exists in the direction of the subject. FIG. 7 is an explanatory diagram illustrating an example of a photographed image photographed using the mobile terminal device according to the embodiment of the present invention when an obstacle exists in the subject direction. Hereinafter, the function of the mobile terminal device with a camera function of the present embodiment will be described with reference to FIGS.

まず、図3に示すように、本発明の実施形態に係るカメラ機能付き携帯端末装置201を用いて、被写体方向204に障害物が存在しない場合の撮影を行う場合、被写体方向204と画像確認角度203とが一直線に並ぶ。この場合は、カメラ機能付き携帯端末装置201の表示部103には、図5に示すような画像が見えるので、被写体を捉えたイメージを認識することは容易である。なお、このような状況は一般的な従前の装置にあっても同様である。   First, as shown in FIG. 3, when shooting is performed when there is no obstacle in the subject direction 204 using the portable terminal device with a camera function 201 according to the embodiment of the present invention, the subject direction 204 and the image confirmation angle 203 are arranged in a straight line. In this case, since an image as shown in FIG. 5 is seen on the display unit 103 of the mobile terminal device 201 with a camera function, it is easy to recognize an image capturing a subject. Such a situation is the same in a general conventional apparatus.

次に、図4に示すように、撮影者302の前方に障害物305が存在する場合において障害物305の向こう側の被写体を撮影する場合、このままでは、表示部103に出力される画像は、図6に示すように、潰れたイメージ(変形画像)になってしまう。したがって、撮影者302は、被写体を正確なイメージで認識することが困難になる。そこで、本実施形態に係る携帯端末装置では、図8に示すように、CPU1において画像処理プログラム(図示は省略)を実行することにより、撮影画像データを予め変形させる。これにより、撮影者302から見た画面が、図7に示すように見えるので、被写体を捉えたイメージが分かり易くなり、かつ撮影者302の撮影作業をも容易にすることができる。   Next, as shown in FIG. 4, when the subject behind the obstacle 305 is photographed when the obstacle 305 exists in front of the photographer 302, the image output to the display unit 103 is as it is. As shown in FIG. 6, the image is crushed (deformed image). Therefore, it becomes difficult for the photographer 302 to recognize the subject with an accurate image. Therefore, in the mobile terminal device according to the present embodiment, as shown in FIG. 8, the captured image data is deformed in advance by executing an image processing program (not shown) in the CPU 1. As a result, the screen viewed from the photographer 302 looks as shown in FIG. 7, so that the image capturing the subject can be easily understood and the photographing operation of the photographer 302 can be facilitated.

図8は、被写体方向に障害物が存在する場合に、カメラ機能付き携帯端末装置301(本発明の実施形態に係る携帯端末装置)を用いて撮影した撮影画像の、正面から見たイメージを一例として示す説明図である。本発明の実施形態に係る携帯端末装置では、撮影者302の前方に障害物305が存在する場合において、障害物305の向こう側の被写体を撮影する場合には、上述のとおり、撮影画像を、図8に示すように予め変形させるものとする。   FIG. 8 shows an example of an image seen from the front of a photographed image taken using the mobile terminal device with a camera function 301 (the mobile terminal device according to the embodiment of the present invention) when an obstacle exists in the direction of the subject. It is explanatory drawing shown as. In the portable terminal device according to the embodiment of the present invention, when the obstacle 305 is present in front of the photographer 302, when shooting a subject on the other side of the obstacle 305, as described above, It is assumed to be deformed in advance as shown in FIG.

このような処理を実現するために、本発明の実施形態に係る携帯端末装置は、図1に示す加速度センサ3を用いて、図4に示すような、被写体方向304と画像確認角度303とが一致しない場合を認識する。そして、被写体方向304と画像確認角度303とが一致しない場合であることが認識された場合は、前述のとおり、CPU1における画像処理プログラムが、画像確認角度303に応じて、図8に示すように撮影画像を変形させる。その結果、撮影者302から見た画像は、図7に示すように、正確な画像位置で忠実に被写体を捉えたものとなるので、撮影者302は、該画像を、正面から見ているようなイメージで確認することが可能になる。また、シャッターが押下された時には、被写体の形状に忠実な画像を取得することができる。   In order to realize such processing, the mobile terminal device according to the embodiment of the present invention uses the acceleration sensor 3 shown in FIG. 1 to obtain a subject direction 304 and an image confirmation angle 303 as shown in FIG. Recognize when they do not match. If it is recognized that the subject direction 304 and the image confirmation angle 303 do not match, as described above, the image processing program in the CPU 1 corresponds to the image confirmation angle 303 as shown in FIG. Deform the captured image. As a result, as shown in FIG. 7, the image viewed from the photographer 302 is a photograph of the subject faithfully captured at an accurate image position. Therefore, the photographer 302 looks at the image from the front. It becomes possible to confirm with a simple image. Further, when the shutter is pressed, an image faithful to the shape of the subject can be acquired.

なお、一般的な従前の装置にあっては、撮影者302の前方に障害物305が存在する場合は、障害物305の向こう側の被写体を撮影しようとした場合に問題が生じる。即ち、この場合は、被写体方向304と画像確認角度303とが好適に一致しなくなる。そのため、一般的な従前の装置の場合、表示部103に出力される画像は、図6に示すように潰れたイメージ(変形画像)になってしまって、被写体を正確なイメージで認識することが困難になる。   In the case of a general conventional apparatus, if there is an obstacle 305 in front of the photographer 302, a problem occurs when attempting to photograph a subject on the other side of the obstacle 305. That is, in this case, the subject direction 304 and the image confirmation angle 303 are not preferably matched. Therefore, in the case of a general conventional apparatus, the image output to the display unit 103 is a collapsed image (deformed image) as shown in FIG. 6, and the subject can be recognized with an accurate image. It becomes difficult.

以下、本発明の実施形態に係る携帯端末装置の動作を1使用例に基づいて説明する。但し、撮影に使用するカメラ機能付き携帯端末装置301(本発明の実施形態に係る携帯端末装置)は、図3に示すような位置でカメラ機能を起動した場合、図3に示す画像確認角度203が0度として、図5に示すような画像を表示できるものとする。また、ここでは、図4に示すように障害物305の向こう側を撮影する場合とする。この場合、図4に示すように、撮影者302がカメラ機能付き携帯端末装置301を上方に移動させると、加速度センサ3(図1)が反応する。また、その反応に対応した本装置の移動量(移動距離)及び移動方向を出力する。   Hereinafter, the operation of the mobile terminal device according to the embodiment of the present invention will be described based on one usage example. However, when the mobile terminal device 301 with a camera function used for shooting (the mobile terminal device according to the embodiment of the present invention) activates the camera function at the position shown in FIG. 3, the image confirmation angle 203 shown in FIG. It is assumed that an image as shown in FIG. Here, it is assumed that the other side of the obstacle 305 is photographed as shown in FIG. In this case, as shown in FIG. 4, when the photographer 302 moves the mobile terminal device with camera function 301 upward, the acceleration sensor 3 (FIG. 1) reacts. In addition, the movement amount (movement distance) and movement direction of the apparatus corresponding to the reaction are output.

次に、CPU1(図1)が、画像確認角度303を算出し、該算出した画像確認角度303に応じて、撮影画像を図8に示すように変形させ、該変形画像を表示部103に表示する。その結果、図4に示す撮影者302には、図7に示すように、正面で捉えた場合と同様な、正確な比率の画像を視認させることが可能となる。なお、ここでは、カメラ機能付き携帯端末装置301を上方に移動させた場合を示した。これに対して、障害物の状況次第で、左右方向を含む他の任意の方向に、カメラ機能付き携帯端末装置301を移動させることが可能であり、この場合にも本発明の実施形態に係る携帯端末装置は、上記と同様の動作を行うものとする。   Next, the CPU 1 (FIG. 1) calculates the image confirmation angle 303, deforms the captured image as shown in FIG. 8 according to the calculated image confirmation angle 303, and displays the deformed image on the display unit 103. To do. As a result, as shown in FIG. 7, the photographer 302 shown in FIG. 4 can visually recognize an image with an accurate ratio similar to the case where the photographer 302 is captured in front. Here, the case where the mobile terminal device 301 with a camera function is moved upward is shown. On the other hand, depending on the condition of the obstacle, the mobile terminal device 301 with a camera function can be moved in any other direction including the left-right direction, and in this case also according to the embodiment of the present invention. The mobile terminal device performs the same operation as described above.

図9は、本発明の実施形態に係る携帯端末装置の撮影時の処理手順を示すフローチャート図である。以下、図1〜8を参照しながら、図9に示すフローチャートを用いて、本実施形態に係る携帯端末装置の撮影時の動作を説明する。ここでは、図2に外観を示すカメラ機能付き携帯端末機器において、まず、ステップS1では、図3に示すように、撮影者202が、図3に示す状態でカメラ機能をONにし(第1の指令の発令)、これにより、カメラ部104が起動する。また、ステップS2では、CPU1が、このタイミングでの本装置の位置を基本位置として初期設定を行う。具体的には、画像認識角度0度で変形無しの正面画像を設定する。   FIG. 9 is a flowchart showing a processing procedure at the time of photographing by the mobile terminal device according to the embodiment of the present invention. Hereinafter, the operation at the time of shooting of the mobile terminal device according to the present embodiment will be described using the flowchart shown in FIG. 9 with reference to FIGS. Here, in the mobile terminal device with camera function shown in FIG. 2, first, in step S1, as shown in FIG. 3, the photographer 202 turns on the camera function in the state shown in FIG. In response, the camera unit 104 is activated. In step S2, the CPU 1 performs initial setting with the position of the present apparatus at this timing as a basic position. Specifically, a front image without deformation is set at an image recognition angle of 0 degree.

次に、ステップS3では、撮影者202が、表示機能をONにし、これにより、CPU1が、表示部103を起動させる。この時点では、図5に示すような変形無し画像が表示される。その後、ステップS4では、加速度センサ3が、本装置の上下方向への移動を検出する。加速度センサ3が、本装置の上下方向への移動を検出した場合、ステップS5に続く。また、加速度センサ3が、本装置の上下方向への移動を検出しなかった場合、ステップS7に移る。この時、現在の表示画像は、図5に示すような変形無し画像のままである。   Next, in step S <b> 3, the photographer 202 turns on the display function, whereby the CPU 1 activates the display unit 103. At this time, an unmodified image as shown in FIG. 5 is displayed. Thereafter, in step S4, the acceleration sensor 3 detects the vertical movement of the apparatus. When the acceleration sensor 3 detects the vertical movement of the apparatus, the process continues to step S5. If the acceleration sensor 3 does not detect the vertical movement of the apparatus, the process proceeds to step S7. At this time, the current display image remains an unmodified image as shown in FIG.

ステップS5では、CPU1が、本装置の移動量(移動距離)及び移動方向に応じて図4に示すような画像確認角度303を算出する。また、継続するステップS6では、CPU1が、上記の算出結果に基づいて、図示しない画像処理部を介して表示画像の変形を行い、これを現在の表示画像として、処理の流れをステップS7に引き継ぐ。   In step S5, the CPU 1 calculates an image confirmation angle 303 as shown in FIG. 4 according to the movement amount (movement distance) and movement direction of the apparatus. Moreover, in continuing step S6, CPU1 deform | transforms a display image via the image process part which is not shown based on said calculation result, makes this a present display image, and passes the flow of a process to step S7. .

ステップS7では、CPU1が、現在の表示画像を表示部103の表示画面に出力する。この時、ステップS5から処理の流れを引き継いだ場合は、図8に示すような画像が表示される。この場合は、本装置は上下方向へ移動している場合であるため、図3に示す撮影者202は、図4に示す撮影者302(図3に示す撮影者202と同一人物)のように、図4に示すような画像確認角度303で表示画像を視認することができる。このため撮影者302(図3に示す撮影者202と同一人物)には、該表示画像は図7に示すように見えるので、撮影者302(即ち撮影者202)は、被写体を捉えた画像を正面から見た正確なイメージで見ることができる。   In step S <b> 7, the CPU 1 outputs the current display image to the display screen of the display unit 103. At this time, if the process flow is taken over from step S5, an image as shown in FIG. 8 is displayed. In this case, since this apparatus is moving up and down, the photographer 202 shown in FIG. 3 is like a photographer 302 shown in FIG. 4 (the same person as the photographer 202 shown in FIG. 3). The display image can be visually recognized at an image confirmation angle 303 as shown in FIG. Therefore, for the photographer 302 (the same person as the photographer 202 shown in FIG. 3), the display image looks as shown in FIG. 7, so the photographer 302 (that is, the photographer 202) captures an image capturing the subject. It can be seen with an accurate image seen from the front.

よって、この時点で、撮影者302が、シャッター等を押せば、図4に示す被写体方向304の方向に存在する被写体を、被写体方向304が示す角度と方向でもって正確に捉えた画像を取り込むことができる。その後、ステップS8では、CPU1が、撮影が終了したか否かを検証し、撮影が終了した場合はステップS9に進む。また、撮影が終了していない場合はステップS4に戻る。ステップS9では、撮影者302が、表示機能をOFFにし、これにより、CPU1が、表示部103を停止させる。   Therefore, at this time, if the photographer 302 presses the shutter or the like, an image obtained by accurately capturing the subject existing in the direction of the subject direction 304 shown in FIG. 4 with the angle and direction indicated by the subject direction 304 is captured. Can do. Thereafter, in step S8, the CPU 1 verifies whether or not the photographing is finished. If the photographing is finished, the process proceeds to step S9. If shooting has not been completed, the process returns to step S4. In step S <b> 9, the photographer 302 turns off the display function, whereby the CPU 1 stops the display unit 103.

引き続くステップS10では、撮影者302が、カメラ機能を停止させ、これにより、カメラ部104が停止する。これにより、撮影時の処理が終了する。   In the subsequent step S10, the photographer 302 stops the camera function, thereby stopping the camera unit 104. Thereby, the process at the time of imaging | photography is complete | finished.

本実施形態に係る携帯端末装置によれば、障害物の向こう側を撮影する場合、表示部を斜めから見ることより、表示部103の表示画像が潰れたように変形し、被写体を正確に中央に捉えているかを確認することが困難になるという問題を解消することができる。即ち、この実施形態に係る携帯端末装置では、予め表示画面を変形させて表示部103に表示する。このようにして、撮影者302は、被写体を中央に捉えていることの確認が容易になるので、正確な形状の被写体を撮影画像として取得する(より具体的には、メモリ5に記憶させる)ことが可能となる。   According to the mobile terminal device according to the present embodiment, when the other side of the obstacle is photographed, the display image on the display unit 103 is deformed so that the display unit 103 is crushed by looking at the display unit from an oblique direction. It is possible to solve the problem that it is difficult to confirm whether the situation is captured. That is, in the mobile terminal device according to this embodiment, the display screen is deformed in advance and displayed on the display unit 103. In this way, since it is easy for the photographer 302 to confirm that the subject is captured at the center, the photographer 302 obtains a subject having an accurate shape as a photographed image (more specifically, stored in the memory 5). It becomes possible.

前述の実施形態では、図1に示す加速度センサ3を用いて、撮影に使用される携帯端末装置の移動状況(移動方向及び移動距離)を検出した。これに対して、CPU1で実行される画像認識プログラム(図示は省略)が、撮影結果として捉えた画像データの変化から、カメラの位置が上方に移動したことを検出し、その移動状況(移動方向及び移動距離)に応じて表示画像を変形させることも可能である。   In the above-described embodiment, the movement state (movement direction and movement distance) of the mobile terminal device used for photographing is detected using the acceleration sensor 3 shown in FIG. On the other hand, an image recognition program (not shown) executed by the CPU 1 detects that the position of the camera has moved upward from a change in the image data captured as a photographing result, and the movement status (movement direction). It is also possible to deform the display image according to the movement distance).

また、図2に示す表示面101側にもカメラを備え、魚眼レンズ等で撮影者302の目線方向を捉えることにより、その目線方向に合わせてカメラの位置が上方に移動したことを検出し、その移動量に応じて表示画像を変形させることも可能である。さらに、撮影者302(図4)によるキー操作により、強制的に表示画像を変形させることも可能である。   Further, a camera is also provided on the display surface 101 side shown in FIG. 2, and by detecting the direction of the eye of the photographer 302 with a fisheye lens or the like, it is detected that the position of the camera has moved upward in accordance with the eye direction. It is also possible to deform the display image according to the amount of movement. Furthermore, the display image can be forcibly deformed by a key operation by the photographer 302 (FIG. 4).

なお、本発明に係る携帯端末装置の各構成要素の処理の少なくとも一部をコンピュータ制御により実行するものとする。かつ、上記処理を、図9のフローチャートで示した手順によりコンピュータに実行せしめるプログラムは、半導体メモリを始め、CD−ROMや磁気テープなどのコンピュータ読み取り可能な記録媒体に格納して配付してもよい。そして、少なくともマイクロコンピュータ、パーソナルコンピュータ、汎用コンピュータを範疇に含むコンピュータが、上記の記録媒体から上記プログラムを読み出して、実行するものとしてもよい。   Note that at least a part of processing of each component of the mobile terminal device according to the present invention is executed by computer control. A program that causes a computer to execute the above processing according to the procedure shown in the flowchart of FIG. 9 may be distributed by storing it in a computer-readable recording medium such as a semiconductor memory, a CD-ROM, or a magnetic tape. . A computer including at least a microcomputer, a personal computer, and a general-purpose computer may read and execute the program from the recording medium.

1 CPU
3 加速度センサ
5 メモリ
6 キー入力部
101 表示面
102 カメラ実装面
103 表示部
104 カメラ部
202 撮影者
302 撮影者
203 画像確認角度
303 画像確認角度
204 被写体方向
304 被写体方向
1 CPU
3 Acceleration sensor 5 Memory 6 Key input unit 101 Display surface 102 Camera mounting surface 103 Display unit 104 Camera unit 202 Photographer 302 Photographer 203 Image confirmation angle 303 Image confirmation angle 204 Subject direction 304 Subject direction

Claims (8)

撮影者が第1の指令を発令した時点以降、被写体を撮影して撮影画像データに変換する撮影手段と、
前記第1の指令が発令されたタイミングで、本装置の位置を基準位置として設定する初期化手段と、
前記基準位置からの本装置の移動状況を認識する移動状況認識手段と、
前記移動状況に応じて前記撮影画像データを変形し、変形画像データを得る画像変形手段と、
前記変形画像データを表示装置に表示する表示手段と、
撮影者が第2の指令を発令したタイミングで、前記撮影画像データを取得する画像取得手段と
を備える携帯端末装置。
Photographing means for photographing a subject and converting it into photographed image data after the photographer issues a first command;
Initialization means for setting the position of the apparatus as a reference position at the timing when the first command is issued;
Movement status recognition means for recognizing the movement status of the apparatus from the reference position;
Image deformation means for deforming the captured image data in accordance with the movement status and obtaining deformed image data;
Display means for displaying the modified image data on a display device;
A portable terminal device comprising: an image acquisition unit configured to acquire the captured image data at a timing when a photographer issues a second command.
前記移動状況認識手段が認識する移動状況は、本装置の移動方向及び移動距離である
請求項1に記載の携帯端末装置。
The mobile terminal device according to claim 1, wherein the movement status recognized by the movement status recognition unit is a movement direction and a movement distance of the apparatus.
前記移動方向及び移動距離は、加速度センサによって算出されるものである
請求項2に記載の携帯端末装置。
The mobile terminal device according to claim 2, wherein the moving direction and the moving distance are calculated by an acceleration sensor.
前記移動方向及び移動距離は、コンピュータで実行される画像認識プログラムによって認識されるものである
請求項2に記載の携帯端末装置。
The mobile terminal device according to claim 2, wherein the moving direction and the moving distance are recognized by an image recognition program executed by a computer.
撮影者の目線を捉えることができる追加の手段を備え、前記移動方向及び移動距離は、該追加の手段が捉えた撮影者の目線に基づいて把握されるものである
請求項2に記載の携帯端末装置。
The portable device according to claim 2, further comprising an additional unit capable of capturing a photographer's line of sight, wherein the movement direction and the movement distance are grasped based on the photographer's line of sight captured by the additional unit. Terminal device.
前記画像取得手段は、前記撮影画像データを、前記撮影者が前記第2の指令を指示した前記タイミングで、メモリに記憶させる
請求項1に記載の携帯端末装置。
The portable terminal device according to claim 1, wherein the image acquisition unit stores the captured image data in a memory at the timing when the photographer instructs the second instruction.
撮影者が第1の指令を発令した時点以降、被写体を撮影して撮影画像データに変換する撮影ステップと、
前記第1の指令が発令されたタイミングで、本装置の位置を基準位置として設定する初期化ステップと、
前記基準位置からの本装置の移動状況を認識する移動状況認識ステップと、
前記移動状況に応じて前記撮影画像データを変形し、変形画像データを得る画像変形ステップと、
前記変形画像データを表示装置に表示する表示ステップと、
撮影者が第2の指令を発令したタイミングで、前記撮影画像データを取得する画像取得ステップと
を備える撮影方法。
A shooting step of shooting a subject and converting it into shot image data after the photographer issues a first command;
An initialization step of setting the position of the apparatus as a reference position at the timing when the first command is issued;
A movement status recognition step for recognizing the movement status of the apparatus from the reference position;
An image deformation step of deforming the captured image data according to the movement state to obtain deformed image data;
A display step of displaying the modified image data on a display device;
An image acquisition step of acquiring the captured image data at a timing when the photographer issues a second command.
撮影者が第1の指令を発令した時点以降、被写体を撮影して撮影画像データに変換する撮影ステップと、
前記第1の指令が発令されたタイミングで、本装置の位置を基準位置として設定する初期化ステップと、
前記基準位置からの本装置の移動状況を認識する移動状況認識ステップと、
前記移動状況に応じて前記撮影画像データを変形し、変形画像データを得る画像変形ステップと、
前記変形画像データを表示装置に表示する表示ステップと、
撮影者が第2の指令を発令したタイミングで、前記撮影画像データを取得する画像取得ステップと
をコンピュータに実行させるコンピュータプログラム。
A shooting step of shooting a subject and converting it into shot image data after the photographer issues a first command;
An initialization step of setting the position of the apparatus as a reference position at the timing when the first command is issued;
A movement status recognition step for recognizing the movement status of the apparatus from the reference position;
An image deformation step of deforming the captured image data according to the movement state to obtain deformed image data;
A display step of displaying the modified image data on a display device;
A computer program that causes a computer to execute an image acquisition step of acquiring the captured image data at a timing when a photographer issues a second command.
JP2012139491A 2012-06-21 2012-06-21 Portable terminal device, image capturing method, and computer program Pending JP2014003575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012139491A JP2014003575A (en) 2012-06-21 2012-06-21 Portable terminal device, image capturing method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012139491A JP2014003575A (en) 2012-06-21 2012-06-21 Portable terminal device, image capturing method, and computer program

Publications (1)

Publication Number Publication Date
JP2014003575A true JP2014003575A (en) 2014-01-09

Family

ID=50036335

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012139491A Pending JP2014003575A (en) 2012-06-21 2012-06-21 Portable terminal device, image capturing method, and computer program

Country Status (1)

Country Link
JP (1) JP2014003575A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018100159A (en) * 2016-12-20 2018-06-28 株式会社日立ビルシステム Elevator guide device and image guide device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018100159A (en) * 2016-12-20 2018-06-28 株式会社日立ビルシステム Elevator guide device and image guide device

Similar Documents

Publication Publication Date Title
JP6678122B2 (en) Image processing apparatus, image processing method, and image processing program
US8831282B2 (en) Imaging device including a face detector
JP5999336B2 (en) Imaging apparatus, imaging processing method, and program
US9019387B2 (en) Imaging device and method of obtaining image
JP4264660B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND COMPUTER PROGRAM
US9332208B2 (en) Imaging apparatus having a projector with automatic photography activation based on superimposition
JP4497211B2 (en) Imaging apparatus, imaging method, and program
US9996934B2 (en) Device with an adaptive camera array
US9456129B2 (en) Image processing device, imaging device, program, and image processing method
JP5819564B2 (en) Image determination apparatus, imaging apparatus, three-dimensional measurement apparatus, image determination method, and program
CN107850753B (en) Detection apparatus, detection method, detection program, and imaging apparatus
KR101788740B1 (en) Subject detecting method and apparatus, and digital photographing apparatus
JP5109853B2 (en) Electronic camera
JP5233727B2 (en) Electronic camera
TWI693828B (en) Image-capturing device and method for operating the same
WO2022061541A1 (en) Control method, handheld gimbal, system, and computer-readable storage medium
JP2009171428A (en) Control method and program for digital camera apparatus and electronic zoom
JP2018033013A (en) Control device, imaging apparatus, control method, program, and memory medium
JP6516426B2 (en) Image pickup apparatus, image processing method and program
US9143684B2 (en) Digital photographing apparatus, method of controlling the same, and computer-readable storage medium
KR102345652B1 (en) View finder apparatus and method for the same
JP2014003575A (en) Portable terminal device, image capturing method, and computer program
JP5967422B2 (en) Imaging apparatus, imaging processing method, and program
JP2012054899A (en) Imaging apparatus and posture detection method
JP2012120003A (en) Imaging device, imaging device control method, and control program of the same