[go: up one dir, main page]

JP2013078039A - Electronic apparatus capable of acquiring three-dimensional image, method for controlling the same, and program for controlling the same - Google Patents

Electronic apparatus capable of acquiring three-dimensional image, method for controlling the same, and program for controlling the same Download PDF

Info

Publication number
JP2013078039A
JP2013078039A JP2011217577A JP2011217577A JP2013078039A JP 2013078039 A JP2013078039 A JP 2013078039A JP 2011217577 A JP2011217577 A JP 2011217577A JP 2011217577 A JP2011217577 A JP 2011217577A JP 2013078039 A JP2013078039 A JP 2013078039A
Authority
JP
Japan
Prior art keywords
image
electronic device
tilt angle
angle
acquiring
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.)
Withdrawn
Application number
JP2011217577A
Other languages
Japanese (ja)
Inventor
Kenichi Horiuchi
賢一 堀内
Hironori Kojima
裕紀 児島
Fumihiko Suzuki
史彦 鈴木
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2011217577A priority Critical patent/JP2013078039A/en
Publication of JP2013078039A publication Critical patent/JP2013078039A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Details Of Cameras Including Film Mechanisms (AREA)
  • Stereoscopic And Panoramic Photography (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

【課題】良好な3D画像が得られる電子機器を提供する。
【解決手段】電子機器は、1回目の撮影によって第1の画像を取得し、2回目の撮影によって第2の画像を取得する。このとき、電子機器は、第1の画像を取得した際の電子機器の傾き(α度)と、第2の画像を取得した際の電子機器の傾き(β度)とを取得する。電子機器は、2枚の画像の各傾きの平均((α+β)/2)を算出する。電子機器は、第1の画像から回転画像410を導出し、第2の画像から回転画像420を導出する。回転画像410および回転画像420は、いずれも、水平方向から(α+β)/2度だけ傾いた画像として得られるので、これらの画像を用いた三次元表示が行なわれるとぶれのない画像として電子機器の使用者に視認される。
【選択図】図4
An electronic apparatus capable of obtaining a good 3D image is provided.
An electronic device acquires a first image by a first shooting and acquires a second image by a second shooting. At this time, the electronic device acquires the inclination (α degree) of the electronic device when the first image is acquired and the inclination (β degree) of the electronic device when the second image is acquired. The electronic device calculates the average ((α + β) / 2) of each inclination of the two images. The electronic device derives the rotated image 410 from the first image and derives the rotated image 420 from the second image. Since both the rotated image 410 and the rotated image 420 are obtained as images that are inclined by (α + β) / 2 degrees from the horizontal direction, if a three-dimensional display using these images is performed, the electronic device is regarded as an image without blurring. Visible to users.
[Selection] Figure 4

Description

この開示は、三次元画像として視認されるための画像の取得に関し、より特定的には、複数の撮影によって三次元画像の表示のためのデータを取得する技術に関する。   This disclosure relates to acquisition of an image to be visually recognized as a three-dimensional image, and more specifically to a technique for acquiring data for displaying a three-dimensional image by a plurality of photographing.

従来の三次元(以下「3D」とも表わす。)画像撮影カメラでは、左眼用撮影カメラと右眼用撮影カメラとのカメラ間距離を、人間の平均的な瞳の距離の約6.5〜7cmに設定して固定するのが一般的であった。しかし、このような従来の3D画像撮影カメラでは、2台のカメラを搭載する必要があり、カメラを含む装置全体のコストが高くなるという問題がある。   In a conventional three-dimensional (hereinafter also referred to as “3D”) image photographing camera, the distance between the left-eye photographing camera and the right-eye photographing camera is about 6.5 to the average human pupil distance. It was common to set and fix to 7 cm. However, in such a conventional 3D image capturing camera, it is necessary to mount two cameras, and there is a problem that the cost of the entire apparatus including the cameras becomes high.

このような問題を解決するため、たとえば、特開平10−254079号公報(特許文献1)は、1台のカメラを水平方向に敷設される軌道上に置き、カメラを軌道に沿って移動させながら被写体を2回撮影することにより左眼用の画像と右眼用の画像とを撮影し、3D画像を取得する技術を開示している。   In order to solve such a problem, for example, Japanese Patent Laid-Open No. 10-254079 (Patent Document 1) places one camera on a track laid in the horizontal direction and moves the camera along the track. A technique for capturing a 3D image by capturing an image for the left eye and an image for the right eye by capturing the subject twice.

特開2009−103980号公報(特許文献2)は、一定時間間隔で連続して撮影を行い、連続した画像から安定パンニング中に撮影され、かつ両眼視差に最も近い位置で撮影された2枚組の画像の中から、最も滑らかにパンニングがされている2枚組みの画像を、最も立体視画像に適した2枚組みの画像として抽出し、左眼用画像と右眼用画像に振り分けて記録するという技術を開示している。   Japanese Laid-Open Patent Publication No. 2009-103980 (Patent Document 2) continuously captures images at regular time intervals, captures images from stable images during stable panning, and captures images at positions closest to binocular parallax. A pair of images that are panned most smoothly is extracted from the set of images as a pair of images most suitable for a stereoscopic image, and is divided into an image for the left eye and an image for the right eye. The technique of recording is disclosed.

ところで、3D画像撮影は2枚の画像を撮影し合成するという点で、パノラマ画像撮影と共通する技術が使われる。パノラマ画像撮影に関し、たとえば、特開2011−114802号公報(特許文献3)は、傾き検出部によって取得した傾きデータを使って、直前に撮影した画像の傾きに次に撮影した画像の傾きを一致させることで、2枚の画像の境界部分が綺麗に繋がるパノラマ画像を撮影する技術を開示している。特開平11−352568号公報(特許文献4)は、撮影者に構図の傾きを意識させることにより、つなぎ目に自然さのないパノラマ写真を生成する技術を開示している。   By the way, 3D image shooting uses a technique common to panoramic image shooting in that two images are shot and combined. Regarding panoramic image shooting, for example, Japanese Patent Laid-Open No. 2011-114802 (Patent Document 3) uses the tilt data acquired by the tilt detection unit to match the tilt of the next captured image with the tilt of the image captured immediately before. By doing so, a technique for photographing a panoramic image in which the boundary portion between two images is clearly connected is disclosed. Japanese Patent Laid-Open No. 11-352568 (Patent Document 4) discloses a technique for generating a panoramic photograph without naturalness at a joint by making the photographer aware of the inclination of the composition.

また、特開2010−239564号公報(特許文献5)は、精度の高い3Dモデルを取得するための技術を開示している。   Japanese Patent Laying-Open No. 2010-239564 (Patent Document 5) discloses a technique for acquiring a highly accurate 3D model.

特開平10−254079号公報JP-A-10-254079 特開2009−103980号公報JP 2009-103980 A 特開2011−114802号公報JP 2011-114802 A 特開平11−352568号公報JP 11-352568 A 特開2010−239564号公報JP 2010-239564 A

しかしながら、特許文献1に開示された装置によると、被写体に対して水平方向に敷設された軌道が必要になり、カメラは1台であっても装置全体が大掛かりなものになるという問題がある。   However, the apparatus disclosed in Patent Document 1 requires a trajectory laid horizontally with respect to the subject, and there is a problem that the entire apparatus becomes large even if only one camera is used.

特許文献2に開示された技術によると、カメラを水平に移動させて2回撮影するとき、手ぶれ等によって1回目の撮影時のカメラの傾きと2回目の撮影時のカメラの傾きとが変わると、撮影によって得られた左眼用の画像の傾きと右眼用の画像の傾きとが変わってしまう。その場合、傾きの違いが所定の範囲にない場合、左眼用の画像および右眼用の画像は、3D画像を作成する画像として採用されない。そのため、カメラを操作する人によっては、適切な立体感を持つ3D画像を作成するための左眼用の画像および右眼用の画像が容易に取得できない場合がある。   According to the technique disclosed in Patent Document 2, when the camera is moved horizontally and shot twice, the camera tilt at the first shooting and the camera tilt at the second shooting change due to camera shake or the like. The inclination of the image for the left eye obtained by photographing changes the inclination of the image for the right eye. In that case, when the difference in inclination is not within the predetermined range, the image for the left eye and the image for the right eye are not adopted as images for creating a 3D image. Therefore, depending on the person who operates the camera, an image for the left eye and an image for the right eye for creating a 3D image having an appropriate stereoscopic effect may not be easily acquired.

特許文献3に開示された技術によると、直前の撮影によって得られた画像の傾きに対して、次の撮影によって得られた画像の傾きを一致させる際、2つの画像の傾きの違いが大きい場合には、2番目に撮影した画像を大幅に回転させる必要がある。しかしながら、大幅に画像を回転させることによって、2枚の画像を合成したときにカットされる画像領域(すなわち、2つの画像において重複しない領域)が大きくなり、画像合成のために必要な有効な矩形領域が小さくなるという問題があった。   According to the technique disclosed in Patent Document 3, when the inclination of the image obtained by the next photographing is matched with the inclination of the image obtained by the immediately preceding photographing, the difference between the two images is large. Requires a significant rotation of the second image taken. However, by rotating the image significantly, the image area that is cut when the two images are combined (that is, the area that does not overlap in the two images) becomes large, and an effective rectangle necessary for the image combination There was a problem that the area became smaller.

本発明はこのような事情に鑑みてなされたもので、ある局面における目的は、良好な立体感を持つ3D画像を得ることができる電子機器を提供することである。他の局面における目的は、より大きな3D画像を得ることができる電子機器を提供することである。   This invention is made | formed in view of such a situation, The objective in a certain situation is providing the electronic device which can obtain 3D image with a favorable three-dimensional effect. An object in another aspect is to provide an electronic device that can obtain a larger 3D image.

他の局面における目的は、良好な立体感を持つ3D画像を得るために電子機器を制御するための方法を提供することである。他の局面における目的は、より大きな3D画像を得るために電子機器を制御するための方法を提供することである。   An object in another aspect is to provide a method for controlling an electronic device to obtain a 3D image having a good stereoscopic effect. An object in another aspect is to provide a method for controlling an electronic device to obtain a larger 3D image.

さらに他の局面における目的は、良好な立体感を持つ3D画像を得るために電子機器を制御するためのプログラムを提供することである。他の局面における目的は、より大きな3D画像を得るために電子機器を制御するためのプログラムを提供することである。   Still another object of the present invention is to provide a program for controlling an electronic device in order to obtain a 3D image having a good stereoscopic effect. An object in another aspect is to provide a program for controlling an electronic device to obtain a larger 3D image.

一実施の形態に従うと、三次元画像を取得可能な電子機器は、画像を取得するための撮像手段と、電子機器の姿勢を検出するためのセンサと、画像を表示領域に表示するためのモニタと、データを格納するためのメモリと、電子機器の動作を制御するための制御部とを備える。制御部は、第1の撮影指示に基づいて、第1の画像と、電子機器の第1の傾きとを取得するための第1の取得手段と、第2の撮影指示に基づいて、第2の画像と、電子機器の第2の傾きとを取得するための第2の取得手段と、第1の画像に基づいて、第1の傾きと第2の傾きとの間の角度に相当する第1の回転画像を生成するための第1の生成手段と、第2の画像に基づいて、第1の傾きと第2の傾きとの間の角度に相当する第2の回転画像を生成するための第2の生成手段と、第1の回転画像と第2の回転画像とに基づいて、三次元画像を生成するための合成手段とを含む。   According to one embodiment, an electronic device capable of acquiring a three-dimensional image includes an imaging means for acquiring an image, a sensor for detecting the attitude of the electronic device, and a monitor for displaying the image in a display area And a memory for storing data, and a control unit for controlling the operation of the electronic device. The control unit is configured to acquire a first image and a first inclination of the electronic device based on the first photographing instruction, and a second obtaining unit based on the second photographing instruction. And a second acquisition means for acquiring the second inclination of the electronic device and a second inclination corresponding to an angle between the first inclination and the second inclination based on the first image. In order to generate a second rotation image corresponding to an angle between the first inclination and the second inclination based on the second image and the first generation means for generating one rotation image Second generating means and combining means for generating a three-dimensional image based on the first rotated image and the second rotated image.

好ましくは、第1の取得手段は、第1の撮影指示が電子機器に与えられると、センサからの出力に基づいて、第1の傾きを検出し、第1の画像と、第1の傾きとを関連付けてメモリに格納する。第2の取得手段は、第2の撮影指示が電子機器に与えられると、センサからの出力に基づいて、第2の傾きを検出し、第2の画像と、第2の傾きとを関連付けてメモリに格納する。   Preferably, when the first photographing instruction is given to the electronic device, the first acquisition unit detects the first inclination based on the output from the sensor, and the first image, the first inclination, Are stored in memory. When the second photographing instruction is given to the electronic device, the second acquisition unit detects the second inclination based on the output from the sensor, and associates the second image with the second inclination. Store in memory.

好ましくは、第1の傾きと第2の傾きとの間の角度は、第1の傾きと第2の傾きとの平均角度を含む。   Preferably, the angle between the first inclination and the second inclination includes an average angle between the first inclination and the second inclination.

他の実施の形態に従うと、三次元画像を取得可能な電子機器を制御するための方法が提供される。電子機器は、画像を取得するためのカメラと、電子機器の姿勢を検出するためのセンサと、画像を表示領域に表示するためのモニタと、データを格納するためのメモリと、電子機器の動作を制御するためのプロセッサとを備える。この方法は、プロセッサが、第1の撮影指示に基づいて、第1の画像と、電子機器の第1の傾きとを取得するステップと、プロセッサが、第2の撮影指示に基づいて、第2の画像と、電子機器の第2の傾きとを取得するステップと、プロセッサが、第1の画像に基づいて、第1の傾きと第2の傾きとの間の角度に相当する第1の回転画像を生成するステップと、プロセッサが、第2の画像に基づいて、第1の傾きと第2の傾きとの間の角度に相当する第2の回転画像を生成するステップと、プロセッサが、第1の回転画像と第2の回転画像とに基づいて、三次元画像を生成するステップとを含む。   According to another embodiment, a method for controlling an electronic device capable of acquiring a three-dimensional image is provided. The electronic device includes a camera for acquiring an image, a sensor for detecting the attitude of the electronic device, a monitor for displaying an image in a display area, a memory for storing data, and an operation of the electronic device And a processor for controlling. In this method, the processor obtains the first image and the first tilt of the electronic device based on the first photographing instruction, and the processor obtains the second image based on the second photographing instruction. And obtaining a second inclination of the electronic device, and a first rotation corresponding to an angle between the first inclination and the second inclination based on the first image by the processor Generating an image; generating a second rotated image corresponding to an angle between the first tilt and the second tilt based on the second image; and Generating a three-dimensional image based on the first rotated image and the second rotated image.

他の実施の形態に従うと、三次元画像を取得可能な電子機器を制御するためのプログラムが提供される。電子機器は、画像を取得するためのカメラと、電子機器の姿勢を検出するためのセンサと、画像を表示領域に表示するためのモニタと、データを格納するためのメモリと、電子機器の動作を制御するためのプロセッサとを備える。プログラムは、プロセッサに、第1の撮影指示に基づいて、第1の画像と、電子機器の第1の傾きとを取得するステップと、第2の撮影指示に基づいて、第2の画像と、電子機器の第2の傾きとを取得するステップと、第1の画像に基づいて、第1の傾きと第2の傾きとの間の角度に相当する第1の回転画像を生成するステップと、第2の画像に基づいて、第1の傾きと第2の傾きとの間の角度に相当する第2の回転画像を生成するステップと、第1の回転画像と第2の回転画像とに基づいて、三次元画像を生成するステップとを実行させる。   According to another embodiment, a program for controlling an electronic device capable of acquiring a three-dimensional image is provided. The electronic device includes a camera for acquiring an image, a sensor for detecting the attitude of the electronic device, a monitor for displaying an image in a display area, a memory for storing data, and an operation of the electronic device And a processor for controlling. The program acquires a first image and a first inclination of the electronic device based on the first photographing instruction to the processor, a second image based on the second photographing instruction, Obtaining a second tilt of the electronic device; generating a first rotated image corresponding to an angle between the first tilt and the second tilt based on the first image; Based on the second image, a step of generating a second rotated image corresponding to an angle between the first tilt and the second tilt, and the first rotated image and the second rotated image. And generating a three-dimensional image.

好ましくは、第1の撮影指示に基づいて、第1の画像と、電子機器の第1の傾きとを取得するステップは、第1の撮影指示が電子機器に与えられると、センサからの出力に基づいて、第1の傾きを検出するステップと、第1の画像と、第1の傾きとを関連付けてメモリに格納するステップとを含む。第2の撮影指示に基づいて、第2の画像と、電子機器の第2の傾きとを取得するステップは、第2の撮影指示が電子機器に与えられると、センサからの出力に基づいて、第2の傾きを検出するステップと、第2の画像と、第2の傾きとを関連付けてメモリに格納するステップとを含む。   Preferably, the step of acquiring the first image and the first inclination of the electronic device based on the first photographing instruction includes outputting the first image and the first inclination of the electronic device from the sensor when the first photographing instruction is given to the electronic device. Based on this, the method includes detecting a first inclination, and storing the first image and the first inclination in a memory in association with each other. The step of acquiring the second image and the second inclination of the electronic device based on the second photographing instruction is based on the output from the sensor when the second photographing instruction is given to the electronic device. Detecting a second inclination, and storing the second image and the second inclination in a memory in association with each other.

好ましくは、第1の傾きと第2の傾きとの間の角度は、第1の傾きと第2の傾きとの平均角度を含む。   Preferably, the angle between the first inclination and the second inclination includes an average angle between the first inclination and the second inclination.

ある局面において、良好な立体感を持つ3D画像を得ることができる。他の局面において、より大きな3D画像を得ることができる。   In a certain aspect, a 3D image having a good stereoscopic effect can be obtained. In other aspects, larger 3D images can be obtained.

この発明の上記および他の目的、特徴、局面および利点は、添付の図面と関連して理解されるこの発明に関する次の詳細な説明から明らかとなるであろう。   The above and other objects, features, aspects and advantages of the present invention will become apparent from the following detailed description of the present invention taken in conjunction with the accompanying drawings.

ある局面において、カメラを垂直方向からα度傾けて撮影した左目用の画像を表わす図である。FIG. 6 is a diagram illustrating a left-eye image captured by tilting the camera by α degrees from a vertical direction in a certain aspect. 同様に、他の局面においてカメラを角度β傾けて撮影した右目用の画像である。Similarly, it is an image for the right eye that is taken by tilting the camera by an angle β in another aspect. 左目用の画像(図1)と右目用の画像(図2)とを重畳させることによって得られる画像を表わす図である。It is a figure showing the image obtained by superimposing the image for left eyes (FIG. 1), and the image for right eyes (FIG. 2). 左目用の画像と右目用の画像とをそれぞれ(α+β)/2(度)傾けた状態で重畳させた画像である。The left-eye image and the right-eye image are superimposed on each other in an inclined state (α + β) / 2 (degrees). 情報機器の一態様である携帯電話500の外観を表わす図である。It is a figure showing the external appearance of the mobile telephone 500 which is an aspect of information equipment. 携帯電話500のハードウェア構成を表わすブロック図である。FIG. 3 is a block diagram showing a hardware configuration of mobile phone 500. 携帯電話500の機能的構成を表わすブロック図である。3 is a block diagram showing a functional configuration of mobile phone 500. FIG. 携帯電話500のCPU10が実行する一連の処理の一部を表わすフローチャートである。10 is a flowchart showing a part of a series of processes executed by CPU 10 of mobile phone 500. 左目用の画像を撮影する位置920に携帯電話500がある状態と、左目用の画像を撮影する位置930に携帯電話500がある状態とを表わす図である。It is a figure showing the state which has the mobile phone 500 in the position 920 which image | photographs the image for left eyes, and the state in which the mobile phone 500 exists in the position 930 which image | photographs the image for left eyes. 本実施の形態に係る携帯電話500と被写体とをY軸方向から見た状態を表わす図である。It is a figure showing the state which looked at the mobile phone 500 concerning this Embodiment and a to-be-photographed object from the Y-axis direction. 本実施の形態に係る携帯電話500によって取得される矩形領域1100と、従来の技術によって得られる矩形領域1110とを比較するための図である。It is a figure for comparing the rectangular area | region 1100 acquired by the mobile telephone 500 which concerns on this Embodiment, and the rectangular area | region 1110 obtained by a prior art. ある局面において左目用の画像と右目用の画像(図2)とを重畳させることによって得られる画像である。It is an image obtained by superimposing a left-eye image and a right-eye image (FIG. 2) in a certain aspect. 図12に示される画像から、右目用の画像のみを回転させて重畳することによって得られた三次元表示のための画像である。13 is an image for three-dimensional display obtained by rotating and superimposing only the image for the right eye from the image shown in FIG. 図12に示される画像から、左目用の画像と右目用の画像とをそれぞれ前述の傾きの半分に傾かせた状態で得られた画像を重畳することによって得られた三次元表示のための画像である。An image for three-dimensional display obtained by superimposing an image obtained by tilting the image for the left eye and the image for the right eye to half of the aforementioned tilt from the image shown in FIG. It is. コンピュータシステム1500のハードウェア構成を表わすブロック図である。2 is a block diagram illustrating a hardware configuration of a computer system 1500. FIG.

以下、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについての詳細な説明は繰り返さない。   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から図3を参照して、三次元で画像を表示するためのデータについて説明する。図1は、ある局面において、カメラが水平方向からα度傾いた状態で撮影が行なわれた場合に取得される左目用の画像100を表わす図である。この場合、被写体の画像は、垂直方向からα度傾いた状態で表示される。   With reference to FIGS. 1 to 3, data for displaying an image in three dimensions will be described. FIG. 1 is a diagram showing a left-eye image 100 acquired when shooting is performed in a state where the camera is tilted by α degrees from the horizontal direction. In this case, the image of the subject is displayed with an inclination of α degrees from the vertical direction.

図2は、同様に、他の局面においてカメラがβ度傾いた状態で撮影が行なわれた場合に取得される右目用の画像200を表わす図である。この場合、被写体の画像は、垂直方向からβ度傾いた状態で表示される。   Similarly, FIG. 2 is a diagram showing an image 200 for the right eye acquired when shooting is performed with the camera tilted by β degrees in another aspect. In this case, the image of the subject is displayed in a state inclined by β degrees from the vertical direction.

図3は、左目用の画像(図1)と右目用の画像(図2)とを重畳させることによって得られる画像を表わす図である。図1〜3から明らかなように、角度βは、角度αよりも大きい。   FIG. 3 is a diagram illustrating an image obtained by superimposing a left-eye image (FIG. 1) and a right-eye image (FIG. 2). As is apparent from FIGS. 1 to 3, the angle β is larger than the angle α.

<技術思想>
図4を参照して、本実施の形態に係る技術思想について説明する。図4は、左目用の画像と右目用の画像とをそれぞれ水平方向から(α+β)/2(度)傾けた状態で重畳させた画像である。具体的には、画像100から画像410が得られ、画像200から画像420が得られる。画像410と画像420とは、重ね合わされると、一つの画像として認識される程度に傾きが一致している。
<Technology>
With reference to FIG. 4, a technical idea according to the present embodiment will be described. FIG. 4 is an image in which an image for the left eye and an image for the right eye are superimposed with each tilted by (α + β) / 2 (degrees) from the horizontal direction. Specifically, an image 410 is obtained from the image 100, and an image 420 is obtained from the image 200. When the image 410 and the image 420 are overlapped, the inclinations are matched to the extent that they are recognized as one image.

より詳しくは、携帯電話500は、1回目の撮影によって画像100を取得し、2回目の撮影によって画像200を取得する。このとき、携帯電話500は、画像100を取得した際の携帯電話500の傾き(α度)と、画像200を取得した際の携帯電話500の傾き(β度)とを取得する。携帯電話500は、2枚の画像の各傾きの平均((α+β)/2)を算出する。携帯電話500は、画像100から回転画像410を導出し、画像200から回転画像420を導出する。回転画像410および回転画像420は、いずれも、水平方向から(α+β)/2度だけ傾いた画像として得られるので、携帯電話500が、回転画像410,420を用いて三次元表示を実行すると、ぶれのない3D画像が携帯電話500の使用者に視認され得る。   More specifically, the mobile phone 500 acquires the image 100 by the first shooting and acquires the image 200 by the second shooting. At this time, the mobile phone 500 acquires the inclination (α degree) of the mobile phone 500 when the image 100 is acquired and the inclination (β degree) of the mobile phone 500 when the image 200 is acquired. The mobile phone 500 calculates the average ((α + β) / 2) of the inclinations of the two images. The mobile phone 500 derives the rotated image 410 from the image 100 and derives the rotated image 420 from the image 200. Since both the rotated image 410 and the rotated image 420 are obtained as images inclined by (α + β) / 2 degrees from the horizontal direction, when the mobile phone 500 executes the three-dimensional display using the rotated images 410 and 420, A blur-free 3D image can be visually recognized by the user of the mobile phone 500.

<ハードウェア構成>
図5を参照して、本実施の形態に係る情報機器の構成について説明する。図5は、情報機器の一態様である携帯電話500の外観を表わす図である。携帯電話500は、スイッチ16と、レンズ510とを備える。なお、本実施の形態においては、携帯電話500は、1つのカメラを有する機器として実現されるが、他の局面において、2つのカメラを有する機器であってもよい。
<Hardware configuration>
With reference to FIG. 5, the configuration of the information device according to the present embodiment will be described. FIG. 5 is a diagram illustrating an appearance of a mobile phone 500 which is an aspect of the information device. The mobile phone 500 includes a switch 16 and a lens 510. In the present embodiment, mobile phone 500 is realized as a device having one camera, but in another aspect, it may be a device having two cameras.

図6を参照して、本実施の形態に係る携帯電話500の構成についてさらに説明する。図6は、携帯電話500のハードウェア構成を表わすブロック図である。   With reference to FIG. 6, the configuration of mobile phone 500 according to the present embodiment will be further described. FIG. 6 is a block diagram showing a hardware configuration of mobile phone 500.

以下の例では、電子機器の一例として携帯電話500が例示されるが、電子機器は携帯電話500に限られない。本実施の形態に係る電子機器は、たとえば、デジタルカメラ、スマートフォン、ラップトップ型PC(Personal Computer)、タブレット型PC、電子書籍、PDA(Personal Digital Assistant)、携帯型ゲーム機その他の端末装置であって、撮影によって三次元表示の画像を生成できる電子機器であればよい。   In the following example, the mobile phone 500 is illustrated as an example of the electronic device, but the electronic device is not limited to the mobile phone 500. The electronic device according to the present embodiment is, for example, a digital camera, a smartphone, a laptop PC (Personal Computer), a tablet PC, an electronic book, a PDA (Personal Digital Assistant), a portable game machine, or other terminal device. Any electronic device can be used as long as it can generate a three-dimensional display image by photographing.

携帯電話500は、通信装置13と、チューナ12と、アンテナ14,15と、CPU(Central Processing Unit)10と、音声信号処理回路11と、測位処理部25と、測位信号受信フロントエンド部24と、GPS(Global Positioning System)アンテナ23と、カメラ17と、スピーカ27と、フラッシュメモリ18と、RAM(Random Access Memory)19と、ROM(Read Only Memory)20と、モニタ28と、バックライト29と、マイク26と、LED(Light Emitting Diode)30と、メモリカード駆動装置21と、データ通信I/F(Interface)31と、バイブレータ32と、センサ610とを備える。メモリカード駆動装置21には、メモリカード22が装着され得る。   The mobile phone 500 includes a communication device 13, a tuner 12, antennas 14 and 15, a CPU (Central Processing Unit) 10, an audio signal processing circuit 11, a positioning processing unit 25, and a positioning signal receiving front end unit 24. A GPS (Global Positioning System) antenna 23, a camera 17, a speaker 27, a flash memory 18, a RAM (Random Access Memory) 19, a ROM (Read Only Memory) 20, a monitor 28, and a backlight 29. , A microphone 26, an LED (Light Emitting Diode) 30, a memory card driving device 21, a data communication I / F (Interface) 31, a vibrator 32, and a sensor 610. A memory card 22 can be attached to the memory card drive device 21.

アンテナ14は、ワンセグ放送その他のテレビジョン放送信号を受信する。チューナ12は、CPU10の命令に従って番組を選局し、映像信号および音声信号をCPU10に伝送する。他の局面において、アンテナ14は、ラジオ放送を受信してもよい。アンテナ15によって受信された信号は、通信装置13によってフロントエンド処理が行なわれた後、処理後の信号は、CPU10に送られる。   The antenna 14 receives one-seg broadcasting and other television broadcasting signals. The tuner 12 selects a program in accordance with an instruction from the CPU 10 and transmits a video signal and an audio signal to the CPU 10. In other aspects, the antenna 14 may receive a radio broadcast. The signal received by the antenna 15 is subjected to front-end processing by the communication device 13, and the processed signal is sent to the CPU 10.

センサ610は、携帯電話500の姿勢を検知する。ある局面において、センサ610は、加速度センサとして実現される。センサ610は、携帯電話500が水平方向に対して傾いている角度を検出する。検出結果は、CPU10に入力される。   Sensor 610 detects the attitude of mobile phone 500. In one aspect, sensor 610 is implemented as an acceleration sensor. The sensor 610 detects an angle at which the mobile phone 500 is inclined with respect to the horizontal direction. The detection result is input to the CPU 10.

CPU10は、携帯電話500に対して与えられる命令に基づいて携帯電話500の動作を制御するための処理を実行する。CPU10は、通信装置13から送られた信号に基づいて予め規定された処理を実行し、処理後の信号を音声信号処理回路11に送出する。音声信号処理回路11は、その信号に対して予め規定された信号処理を実行し、処理後の信号をスピーカ27に送出する。スピーカ27は、その信号に基づいて音声を出力する。   CPU 10 executes processing for controlling the operation of mobile phone 500 based on a command given to mobile phone 500. The CPU 10 executes a predetermined process based on the signal sent from the communication device 13 and sends the processed signal to the audio signal processing circuit 11. The audio signal processing circuit 11 performs predetermined signal processing on the signal, and sends the processed signal to the speaker 27. The speaker 27 outputs sound based on the signal.

スイッチ16は、携帯電話500に対する操作を受け付ける。スイッチ16は、物理的な操作キー、または、タッチパネル等で実現されるソフトウェアキーのいずれによっても構成される。   Switch 16 accepts an operation on mobile phone 500. The switch 16 is configured by either a physical operation key or a software key realized by a touch panel or the like.

マイク26は、携帯電話500に対する発話を受け付けて、発話された音声に対応する信号を音声信号処理回路11に対して送出する。音声信号処理回路11は、その信号に基づいて通話のために予め規定された処理を実行し、処理後の信号をCPU10に対して送出する。CPU10は、その信号を送信用のデータに変換し、変換後のデータを通信装置13に対して送出する。通信装置13は、そのデータを用いて送信用の信号を生成し、アンテナ15に向けてその信号を送出する。   The microphone 26 receives an utterance from the mobile phone 500 and sends a signal corresponding to the uttered voice to the voice signal processing circuit 11. The audio signal processing circuit 11 executes a predetermined process for a call based on the signal, and sends the processed signal to the CPU 10. The CPU 10 converts the signal into data for transmission, and sends the converted data to the communication device 13. The communication device 13 generates a signal for transmission using the data and transmits the signal to the antenna 15.

フラッシュメモリ18は、CPU10から送られるデータを格納する。また、CPU10は、フラッシュメモリ18に格納されているデータを読み出し、そのデータを用いて予め規定された処理を実行する。   The flash memory 18 stores data sent from the CPU 10. In addition, the CPU 10 reads data stored in the flash memory 18 and executes a predetermined process using the data.

RAM19は、スイッチ16に対して行なわれた操作に基づいてCPU10によって生成されるデータを一時的に保持する。ROM20は、携帯電話500に予め定められた動作を実行させるためのプログラムあるいはデータを格納している。CPU10は、ROM20から当該プログラムまたはデータを読み出し、携帯電話500の動作を制御する。   The RAM 19 temporarily holds data generated by the CPU 10 based on an operation performed on the switch 16. The ROM 20 stores a program or data for causing the mobile phone 500 to execute a predetermined operation. The CPU 10 reads the program or data from the ROM 20 and controls the operation of the mobile phone 500.

メモリカード駆動装置21は、メモリカード22に格納されているデータを読み出し、CPU10に送出する。逆にメモリカード駆動装置21は、CPU10によって出力されるデータを、メモリカード22の空き領域に書き込む。   The memory card drive device 21 reads data stored in the memory card 22 and sends it to the CPU 10. Conversely, the memory card drive device 21 writes the data output by the CPU 10 into the empty area of the memory card 22.

音声信号処理回路11は、上述のような通話のための信号処理を実行する。なお、図1に示される例では、CPU10と音声信号処理回路11とが別個の構成として示されているが、他の局面において、CPU10と音声信号処理回路11とが一体として構成されていてもよい。   The audio signal processing circuit 11 executes signal processing for a call as described above. In the example illustrated in FIG. 1, the CPU 10 and the audio signal processing circuit 11 are illustrated as separate configurations, but in other aspects, the CPU 10 and the audio signal processing circuit 11 may be configured as an integral unit. Good.

モニタ28は、CPU10から取得されるデータに基づいて、当該データによって規定される画像を表示する。たとえば、フラッシュメモリ18が格納している静止画像、動画像、文書、音楽ファイルの属性(当該ファイルの名前、演奏者、演奏時間など)を表示する。ある局面において、モニタ28は、二次元の画像と三次元の画像とを表示することができる。三次元の画像の表示は、たとえば、視差バリアを形成することによって実現されるが、三次元の表示のために他の方式が用いられてもよい。また、他の局面において、モニタ28は、タッチパネル式のディスプレイであってもよい。この場合、タッチパネルの機構は特に限られない。なお、画像を表示するための手段の態様は、モニタ28に限られず、たとえば、有機EL(Electro Luminescence)パネルを用いたモニタであってもよい。   Based on the data acquired from the CPU 10, the monitor 28 displays an image defined by the data. For example, the attributes (still file name, performer, performance time, etc.) of still images, moving images, documents, music files stored in the flash memory 18 are displayed. In one aspect, the monitor 28 can display a two-dimensional image and a three-dimensional image. The display of the three-dimensional image is realized, for example, by forming a parallax barrier, but other methods may be used for the three-dimensional display. In another aspect, the monitor 28 may be a touch panel display. In this case, the mechanism of the touch panel is not particularly limited. In addition, the aspect of the means for displaying an image is not restricted to the monitor 28, For example, the monitor using an organic EL (Electro Luminescence) panel may be sufficient.

バックライト29は、発光することにより、モニタ28に対して光を供給する。ある局面において、バックライト29は、CPU10からの制御信号に基づいて光量を増加させ、または減少させることができる。   The backlight 29 supplies light to the monitor 28 by emitting light. In one aspect, the backlight 29 can increase or decrease the amount of light based on a control signal from the CPU 10.

LED30は、CPU10からの信号に基づいて、予め定められた発光動作を実現する。たとえば、LED30が複数の色を表示可能な場合には、LED30は、CPU10から出力される信号に含まれるデータに関連付けられている色で発光する。発光の態様(間隔、発光する色の数、点滅パターンなど)は特に限られない。   The LED 30 realizes a predetermined light emission operation based on a signal from the CPU 10. For example, when the LED 30 can display a plurality of colors, the LED 30 emits light in a color associated with data included in a signal output from the CPU 10. The mode of light emission (interval, number of light emission colors, blinking pattern, etc.) is not particularly limited.

データ通信I/F31は、データ通信用のケーブルの装着を受け付ける。データ通信I/F31は、CPU10から出力される信号を当該ケーブルに対して送出する。あるいは、データ通信I/F31は、当該ケーブルを介して受信されるデータを、CPU10に対して送出する。   The data communication I / F 31 accepts attachment of a data communication cable. The data communication I / F 31 sends a signal output from the CPU 10 to the cable. Alternatively, the data communication I / F 31 sends data received via the cable to the CPU 10.

バイブレータ32は、CPU10から出力される命令に基づいて、フラッシュメモリ18において設定されている周波数で発振する。   The vibrator 32 oscillates at a frequency set in the flash memory 18 based on a command output from the CPU 10.

GPSアンテナ23は、GPS衛星から発信される信号を受信し、受信した信号を測位信号受信フロントエンド部24に送出する。測位信号受信フロントエンド部24は、少なくとも3つ(望ましくは4つ以上)のGSP衛星から受信した各信号に基づいてパターンマッチングを行ない、各信号に含まれるコードパターンと携帯電話500が保持するコードパターンとが一致した場合に、その信号を測位処理部25に送出する。   The GPS antenna 23 receives a signal transmitted from a GPS satellite and sends the received signal to the positioning signal reception front end unit 24. The positioning signal reception front end unit 24 performs pattern matching based on each signal received from at least three (preferably four or more) GSP satellites, and a code pattern included in each signal and a code held by the mobile phone 500 When the pattern matches, the signal is sent to the positioning processing unit 25.

測位処理部25は、その信号を用いて、測位処理を実行し、当該信号を受信した携帯電話500の位置を算出する。CPU10は、その算出結果をモニタ28に表示する。ある局面において、モニタ28は、測位処理部25が算出した携帯電話500の位置情報(たとえば緯度、経度、高度など)を地図上に重ねて表示してもよい。他の局面において、モニタ28は、カメラ17によって撮影された場所の画像と、当該場所の位置情報とを重ねて表示してもよい。   The positioning processing unit 25 executes positioning processing using the signal, and calculates the position of the mobile phone 500 that has received the signal. The CPU 10 displays the calculation result on the monitor 28. In one aspect, the monitor 28 may display the position information (for example, latitude, longitude, altitude, etc.) of the mobile phone 500 calculated by the positioning processing unit 25 on the map. In another aspect, the monitor 28 may superimpose and display an image of a place taken by the camera 17 and position information of the place.

本実施の形態に係る携帯電話500において、ある局面において、カメラ17は、モニタ28の表示領域の中心線上に配置されている。中心線は、たとえば、表示領域が線対称である場合における対称軸に相当する。   In mobile phone 500 according to the present embodiment, in one aspect, camera 17 is arranged on the center line of the display area of monitor 28. The center line corresponds to, for example, a symmetry axis when the display area is line symmetric.

<機能的構成>
図7を参照して、本実施の形態に係る携帯電話500によって実現される機能について説明する。図7は、携帯電話500の機能的構成を表わすブロック図である。携帯電話500は、撮像部710と、センサ720と、メモリ730と第1生成部740と、第2生成部750と、合成部760とを備える。
<Functional configuration>
With reference to FIG. 7, functions realized by mobile phone 500 according to the present embodiment will be described. FIG. 7 is a block diagram showing a functional configuration of mobile phone 500. The mobile phone 500 includes an imaging unit 710, a sensor 720, a memory 730, a first generation unit 740, a second generation unit 750, and a synthesis unit 760.

ある局面において、左目用の画像を撮影するために使用者によって携帯電話500に与えられる第1の撮影指示は、撮像部710に入力される。撮像部710は、第1の撮影指示に基づいて撮影を実行し、得られた画像をメモリ730に格納する。また、第1の撮影指示は、センサ720に入力される。センサ720は、水平方向に対する携帯電話500の傾きを検出する。メモリ730は、第1の撮影指示によって得られた第1の画像731と、そのときの画像の傾きを表わす第1の傾き732とを関連付けて格納する。   In one aspect, a first imaging instruction given to the mobile phone 500 by the user to capture an image for the left eye is input to the imaging unit 710. The imaging unit 710 performs shooting based on the first shooting instruction, and stores the obtained image in the memory 730. Further, the first shooting instruction is input to the sensor 720. Sensor 720 detects the tilt of mobile phone 500 with respect to the horizontal direction. The memory 730 stores the first image 731 obtained by the first photographing instruction in association with the first inclination 732 representing the inclination of the image at that time.

別の局面において、右目用の画像を撮影するために当該使用者によって携帯電話500に与えられる第2の撮影指示は、撮像部710に入力される。撮像部710は、その第2の撮影指示に基づいて撮影を実行し、得られた画像をメモリ730に格納する。第2の撮影指示は、センサ720にも入力される。センサ720は、第2の撮影指示に基づく撮影が行なわれた時の携帯電話500の水平方向に対する傾き(角度)を検出する。メモリ730は、第2の撮影指示に基づいて得られた第2の画像733と、そのときの携帯電話500の傾きを表わす第2の傾き734とを関連付けて格納する。   In another aspect, a second imaging instruction given to the mobile phone 500 by the user to capture an image for the right eye is input to the imaging unit 710. The imaging unit 710 performs imaging based on the second imaging instruction, and stores the obtained image in the memory 730. The second shooting instruction is also input to the sensor 720. Sensor 720 detects the inclination (angle) of mobile phone 500 with respect to the horizontal direction when shooting based on the second shooting instruction is performed. The memory 730 stores the second image 733 obtained based on the second photographing instruction and the second inclination 734 representing the inclination of the mobile phone 500 in association with each other.

第1生成部740は、第1の傾き732と第2の傾き734との間の角度と、第1の画像731とに基づいて、第1の回転画像761を生成する。たとえば、第1生成部740は、第1の傾き732と第2の傾き734との平均の傾きを算出し、左目用の画像として得られた第1の画像731を、その平均の傾きの角度まで回転することによって得られる画像を、第1の回転画像761として導出する。第1生成部740は、第1の回転画像761をメモリ730に格納する。   The first generation unit 740 generates the first rotated image 761 based on the angle between the first inclination 732 and the second inclination 734 and the first image 731. For example, the first generation unit 740 calculates the average inclination of the first inclination 732 and the second inclination 734, and the first image 731 obtained as the image for the left eye is used as the average inclination angle. An image obtained by rotating up to is derived as a first rotated image 761. The first generation unit 740 stores the first rotated image 761 in the memory 730.

第2生成部750は、第1の傾き732と第2の傾き734との間の上記角度と、第2の画像733とに基づいて、第2の回転画像762を生成する。たとえば、第2生成部750は、第1の傾き732と第2の傾き734との平均の傾きを算出し、右目用の画像として得られた第2の画像733を、その平均の傾きの角度まで回転することによって得られる画像を、第2の回転画像762として導出する。第2生成部750は、第2の回転画像762をメモリ730に格納する。   The second generation unit 750 generates a second rotated image 762 based on the angle between the first inclination 732 and the second inclination 734 and the second image 733. For example, the second generation unit 750 calculates the average inclination of the first inclination 732 and the second inclination 734, and the second image 733 obtained as the image for the right eye is the angle of the average inclination. An image obtained by rotating up to is derived as a second rotated image 762. The second generation unit 750 stores the second rotated image 762 in the memory 730.

合成部760は、第1の回転画像761と第2の回転画像762とを合成することによって三次元表示のための画像を生成する。   The synthesizing unit 760 generates an image for three-dimensional display by synthesizing the first rotated image 761 and the second rotated image 762.

<制御構造>
図8を参照して、本実施の形態に係る携帯電話500の制御構造について説明する。図8は、携帯電話500のCPU10が実行する一連の処理の一部を表わすフローチャートである。
<Control structure>
With reference to FIG. 8, a control structure of mobile phone 500 according to the present embodiment will be described. FIG. 8 is a flowchart showing a part of a series of processes executed by CPU 10 of mobile phone 500.

ステップS810にて、CPU10は、スイッチ16に対して与えられる指示に基づいて、携帯電話500の動作モードをカメラモードとして三次元の画像を取得するモードを起動する。   In step S810, based on an instruction given to switch 16, CPU 10 activates a mode for acquiring a three-dimensional image with the operation mode of mobile phone 500 as the camera mode.

ステップS815にて、CPU10は、カメラ17のレンズ510を通して得られた被写体の画像をモニタ28に表示する。   In step S 815, the CPU 10 displays the subject image obtained through the lens 510 of the camera 17 on the monitor 28.

ステップS820にて、CPU10は、スイッチ16に対して与えられる操作指示に基づいて、左目用の画像を撮影するための第1の撮影指示が携帯電話500に与えられたことを検知する。   In step S820, CPU 10 detects based on the operation instruction given to switch 16 that mobile phone 500 has been given a first shooting instruction for taking a left-eye image.

ステップS825にて、CPU10は、センサ610からの出力に基づいて、第1の傾き732を検出する。CPU10は、検出した第1の傾き732をRAM19に格納する。   In step S825, CPU 10 detects first inclination 732 based on the output from sensor 610. The CPU 10 stores the detected first inclination 732 in the RAM 19.

ステップS830にて、CPU10は、第1の撮影指示によって得られた第1の画像731と、第1の傾き732とを関連付けてフラッシュメモリ18に格納する。   In step S830, CPU 10 associates first image 731 obtained by the first imaging instruction with first inclination 732 and stores them in flash memory 18.

ステップS835にて、CPU10は、スイッチ16に対する操作に基づいて、右目用の画像を撮影するための第2の撮影指示が携帯電話500に与えられたことを検知する。   In step S <b> 835, CPU 10 detects based on an operation on switch 16 that a second photographing instruction for photographing a right-eye image has been given to mobile phone 500.

ステップS840にて、CPU10は、センサ610からの出力に基づいて、第2の撮影指示が与えられたときの携帯電話500の傾きを表わす第2の傾き734を検出する。   In step S840, CPU 10 detects second inclination 734 representing the inclination of mobile phone 500 when the second photographing instruction is given, based on the output from sensor 610.

ステップS845にて、CPU10は、第2の撮影指示に基づいて撮影された第2の画像733と、第2の傾き734とを関連付けてフラッシュメモリ18に格納する。   In step S845, CPU 10 associates second image 733 photographed based on the second photographing instruction with second inclination 734 and stores them in flash memory 18.

ステップS850にて、CPU10は、第1の傾き732と第2の傾き734との平均値を算出する。さらに、CPU10は、第1の画像731を、算出した上記平均値の角度まで回転することによって、第1の回転画像761を生成する。   In step S850, CPU 10 calculates an average value of first inclination 732 and second inclination 734. Further, the CPU 10 generates the first rotated image 761 by rotating the first image 731 to the calculated average value angle.

ステップS855にて、CPU10は、第2の画像733を、上記平均値の角度まで回転することによって、第2の回転画像762を生成する。   In step S855, the CPU 10 generates the second rotated image 762 by rotating the second image 733 to the average angle.

ステップS860にて、CPU10は、第1の回転画像761と第2の回転画像762とに基づいて三次元画像を生成し、その三次元画像をフラッシュメモリ18に保存する。これにより、CPU10が、第1の回転画像761のデータおよび第2の回転画像762のデータを用いて表示処理を実行すると、ぶれのない三次元画像が使用者に視認され得る。   In step S860, CPU 10 generates a three-dimensional image based on first rotated image 761 and second rotated image 762, and stores the three-dimensional image in flash memory 18. Accordingly, when the CPU 10 executes the display process using the data of the first rotation image 761 and the data of the second rotation image 762, a user can visually recognize a three-dimensional image without blurring.

図9を参照して、被写体と携帯電話500との位置関係について説明する。図9は、左目用の画像を撮影する位置920に携帯電話500がある状態と、左目用の画像を撮影する位置930に携帯電話500がある状態とを表わす図である。ここで、X軸は、携帯電話500の使用者が、左目用画像を撮影するための位置から右目用画像を撮影するための位置に移動する方向を表わす。Z軸は、使用者から被写体910に向かう方向を表わす。Y軸は、X軸に垂直な方向を表わす。   The positional relationship between the subject and the mobile phone 500 will be described with reference to FIG. FIG. 9 is a diagram illustrating a state in which the mobile phone 500 is at a position 920 for capturing an image for the left eye and a state in which the mobile phone 500 is at a position 930 for capturing an image for the left eye. Here, the X-axis represents the direction in which the user of the mobile phone 500 moves from the position for capturing the left-eye image to the position for capturing the right-eye image. The Z axis represents the direction from the user toward the subject 910. The Y axis represents a direction perpendicular to the X axis.

図10を参照して、被写体とカメラレンズとの位置関係について説明する。図10は、本実施の形態に係る携帯電話500と被写体とをY軸方向から見た状態を表わす図である。   The positional relationship between the subject and the camera lens will be described with reference to FIG. FIG. 10 is a diagram illustrating a state in which mobile phone 500 and the subject according to the present embodiment are viewed from the Y-axis direction.

左目用の画像撮影時におけるカメラレンズの位置920と右目用の画像撮影時におけるカメラレンズの位置930との中点から被写体910に向かう軸をZ軸とすると、左目用の画像撮影時におけるカメラレンズの位置920および右目用の画像撮影時におけるカメラレンズの位置930はそれぞれZ軸から約0.5cm離れている。   If the axis from the midpoint of the camera lens position 920 at the time of image capture for the left eye and the position 930 of the camera lens at the time of image capture for the right eye to the subject 910 is taken as the Z axis, the camera lens at the time of image capture for the left eye The position 930 of the camera lens and the position 930 of the camera lens at the time of capturing an image for the right eye are each about 0.5 cm away from the Z axis.

図11を参照して、本実施の形態に係る携帯電話500によって得られる画像の領域と従来の方法によって得られる画像の領域とについて説明する。図11は、本実施の形態に係る携帯電話500によって取得される矩形領域1100と、従来の技術によって得られる矩形領域1110とを比較するための図である。   With reference to FIG. 11, an image area obtained by mobile phone 500 according to the present embodiment and an image area obtained by a conventional method will be described. FIG. 11 is a diagram for comparing a rectangular area 1100 acquired by the mobile phone 500 according to the present embodiment with a rectangular area 1110 obtained by a conventional technique.

図12から図14を参照して、本実施の形態に係る携帯電話500によって得られる画像について説明する。図12は、ある局面において左目用の画像と右目用の画像とを重畳させることによって得られる画像である。図13は、図12に示される画像から、右目用の画像のみを回転させて重畳することによって得られた三次元表示のための画像である。図14は、図12に示される画像から、左目用の画像と右目用の画像とをそれぞれ前述の傾きの半分に傾かせた状態で得られた画像を重畳することによって得られた三次元表示のための画像である。   With reference to FIG. 12 to FIG. 14, an image obtained by mobile phone 500 according to the present embodiment will be described. FIG. 12 is an image obtained by superimposing a left-eye image and a right-eye image in a certain situation. FIG. 13 is an image for three-dimensional display obtained by rotating and superimposing only the image for the right eye from the image shown in FIG. FIG. 14 shows a three-dimensional display obtained by superimposing images obtained by tilting the image for the left eye and the image for the right eye from the image shown in FIG. It is an image for.

本実施の形態に係る携帯電話500によって実現される機能は、コンピュータによっても実現できる。すなわち、コンピュータのプロセッサが、当該機能を実現する処理ステップを実現するプログラムを実行することにより、当該機能を実現することができる。   The functions realized by mobile phone 500 according to the present embodiment can also be realized by a computer. That is, the function of the computer can be realized by executing a program that realizes processing steps for realizing the function.

そこで、図15を参照して、当該機能を実現するコンピュータシステム1500について説明する。図15は、コンピュータシステム1500のハードウェア構成を表わすブロック図である。   A computer system 1500 that implements the function will be described with reference to FIG. FIG. 15 is a block diagram showing a hardware configuration of computer system 1500.

コンピュータシステム1500は、主たる構成要素として、プログラムを実行するCPU1と、コンピュータシステム1500の使用者による指示の入力を受けるマウス2およびキーボード3と、CPU1によるプログラムの実行により生成されたデータ、又はマウス2若しくはキーボード3を介して入力されたデータを揮発的に格納するRAM4と、データを不揮発的に格納するハードディスク5と、光ディスク駆動装置6と、モニタ8と、通信IF(Interface)9とを備える。各構成要素は、相互にバスによって接続されている。光ディスク駆動装置6には、CD−ROM9その他の光ディスクが装着される。   The computer system 1500 includes, as main components, a CPU 1 that executes a program, a mouse 2 and a keyboard 3 that receive input of instructions from a user of the computer system 1500, data generated by execution of the program by the CPU 1, or a mouse 2 Alternatively, a RAM 4 that stores data input via the keyboard 3 in a volatile manner, a hard disk 5 that stores data in a nonvolatile manner, an optical disk drive device 6, a monitor 8, and a communication IF (Interface) 9 are provided. Each component is connected to each other by a bus. A CD-ROM 9 and other optical disks are mounted on the optical disk drive 6.

コンピュータシステム1500における処理は、各ハードウェアおよびCPU1により実行されるソフトウェアによって実現される。このようなソフトウェアは、ハードディスク5に予め格納されている場合がある。また、ソフトウェアは、CD−ROM9その他のコンピュータ読み取り可能なデータ記録媒体に格納されて、プログラム製品として流通している場合もある。あるいは、当該ソフトウェアは、インターネットその他のネットワークに接続されている情報提供事業者によってダウンロード可能なプログラム製品として提供される場合もある。このようなソフトウェアは、光ディスク駆動装置6その他のデータ読取装置によってデータ記録媒体から読み取られて、あるいは、通信IF7を介してダウンロードされた後、ハードディスク5に一旦格納される。そのソフトウェアは、CPU1によってハードディスク5から読み出され、RAM4に実行可能なプログラムの形式で格納される。CPU1は、そのプログラムを実行する。   The processing in the computer system 1500 is realized by each hardware and software executed by the CPU 1. Such software may be stored in the hard disk 5 in advance. The software may be stored in a CD-ROM 9 or other computer-readable data recording medium and distributed as a program product. Alternatively, the software may be provided as a program product that can be downloaded by an information provider connected to the Internet or other networks. Such software is read from the data recording medium by the optical disk drive 6 or other data reading device, or downloaded via the communication IF 7 and then temporarily stored in the hard disk 5. The software is read from the hard disk 5 by the CPU 1 and stored in the RAM 4 in the form of an executable program. The CPU 1 executes the program.

図15に示されるコンピュータシステム1500を構成する各構成要素は、一般的なものである。したがって、本発明の本質的な部分は、RAM4、ハードディスク5、CD−ROM9その他のデータ記録媒体に格納されたソフトウェア、あるいはネットワークを介してダウンロード可能なソフトウェアであるともいえる。なお、コンピュータシステム1500の各ハードウェアの動作は周知であるので、詳細な説明は繰り返さない。   Each component constituting the computer system 1500 shown in FIG. 15 is a general component. Accordingly, it can be said that the essential part of the present invention is software stored in the RAM 4, the hard disk 5, the CD-ROM 9, or other data recording medium, or software that can be downloaded via a network. Since the operation of each hardware of computer system 1500 is well known, detailed description will not be repeated.

なお、データ記録媒体としては、CD−ROM、FD(Flexible Disk)、ハードディスクに限られず、磁気テープ、カセットテープ、光ディスク(MO(Magnetic Optical Disc)/MD(Mini Disc)/DVD(Digital Versatile Disc))、IC(Integrated Circuit)カード(メモリカードを含む)、光カード、マスクROM、EPROM(Electronically Programmable Read-Only Memory)、EEPROM(Electronically Erasable Programmable Read-Only Memory)、フラッシュROMなどの半導体メモリ等の固定的にプログラムを担持する媒体でもよい。   The data recording medium is not limited to a CD-ROM, FD (Flexible Disk), and hard disk, but is a magnetic tape, cassette tape, optical disk (MO (Magnetic Optical Disc) / MD (Mini Disc) / DVD (Digital Versatile Disc)). ), IC (Integrated Circuit) card (including memory card), optical card, mask ROM, EPROM (Electronically Programmable Read-Only Memory), EEPROM (Electronically Erasable Programmable Read-Only Memory), semiconductor memory such as flash ROM, etc. It may be a medium that carries the program in a fixed manner.

ここでいうプログラムとは、CPUにより直接実行可能なプログラムだけでなく、ソースプログラム形式のプログラム、圧縮処理されたプログラム、暗号化されたプログラム等を含み得る。   The program here may include not only a program directly executable by the CPU but also a program in a source program format, a compressed program, an encrypted program, and the like.

<実施の形態の効果>
以上のようにして、本実施の形態に係る携帯電話500によると、2回の撮影が行なわれた場合において、ぶれの少ない良好な三次元の画像を得ることができる。
<Effect of Embodiment>
As described above, according to mobile phone 500 according to the present embodiment, it is possible to obtain a good three-dimensional image with less blur when two shootings are performed.

すなわち、本実施の形態によれば、1台のカメラを水平方向に移動させて2回撮影することにより、左眼用の画像と右眼用の画像とを撮影し、2枚の撮影画像を1枚に合成して3D画像を作成するカメラによって得られる3D画像の品質を向上することができる。1回目の撮影によって得られた画像の水平方向に対する角度と2回目の撮影によって得られた画像の水平方向に対する角度とが撮影時の手ぶれ等によって変わっても、適切な立体感を持つ3D画像を作成することができる。その際、2枚の画像を互いに回転させることによって、3D画像を得るために撮影によって得られた各画像の合成に必要な有効な矩形領域を大きくすることができる。   That is, according to the present embodiment, the left eye image and the right eye image are photographed by moving one camera in the horizontal direction and photographing twice, and the two photographed images are obtained. The quality of a 3D image obtained by a camera that creates a 3D image by combining them into one sheet can be improved. Even if the angle with respect to the horizontal direction of the image obtained by the first shooting and the angle with respect to the horizontal direction of the image obtained by the second shooting change due to camera shake at the time of shooting, a 3D image having an appropriate stereoscopic effect is obtained. Can be created. At that time, by rotating the two images with each other, an effective rectangular area necessary for synthesizing the images obtained by photographing to obtain a 3D image can be enlarged.

なお、本実施の形態においては、1つのカメラを備える携帯電話500が例示されたが、本実施の形態に係る技術思想の適用は、そのような構成を有する電子機器に限られない。たとえば、2つのカメラを有するスマートフォンにおいて、そのうちの一つのカメラが故障している時、あるいは、そのカメラのレンズが汚れている場合に、撮影のために有効な他のカメラのみを用いて、当該スマートフォンの使用者に2回目の撮影を促すことにより、3D画像用のデータが取得される構成が適用されてもよい。   Note that although the mobile phone 500 including one camera is illustrated in this embodiment, the application of the technical idea according to this embodiment is not limited to an electronic device having such a configuration. For example, in a smartphone with two cameras, if one of the cameras is broken or if the camera lens is dirty, only the other camera that is effective for shooting is used. A configuration in which data for 3D images is acquired by prompting the user of the smartphone for the second shooting may be applied.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   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.

2 マウス、3 キーボード、4,19 RAM、5 ハードディスク、6 光ディスク駆動装置、8,28 モニタ、9,20 ROM、11 音声信号処理回路、12 チューナ、13 通信装置、14,15,23 アンテナ、16 スイッチ、17 カメラ、18 フラッシュメモリ、21 メモリカード駆動装置、22 メモリカード、24 測位信号受信フロントエンド部、25 測位処理部、26 マイク、27 スピーカ、29 バックライト、31 データ通信IF、32 バイブレータ、500 携帯電話、510 レンズ、610,720 センサ、710 撮像部、730 メモリ、740 第1生成部、750 第2生成部、760 合成部、761 第1の回転画像、762 第2の回転画像、910 被写体、920,930 位置、1100,1110 矩形領域、1500 コンピュータシステム。   2 mouse, 3 keyboard, 4, 19 RAM, 5 hard disk, 6 optical disk drive, 8, 28 monitor, 9, 20 ROM, 11 audio signal processing circuit, 12 tuner, 13 communication device, 14, 15, 23 antenna, 16 Switch, 17 camera, 18 flash memory, 21 memory card drive device, 22 memory card, 24 positioning signal reception front end unit, 25 positioning processing unit, 26 microphone, 27 speaker, 29 backlight, 31 data communication IF, 32 vibrator, 500 mobile phone, 510 lens, 610, 720 sensor, 710 imaging unit, 730 memory, 740 first generation unit, 750 second generation unit, 760 synthesis unit, 761 first rotation image, 762 second rotation image, 910 Subject, 920, 930 position, 1100, 1110 Rectangular area, 1500 computer system.

Claims (7)

三次元画像を取得可能な電子機器であって、
画像を取得するための撮像手段と、
前記電子機器の姿勢を検出するためのセンサと、
画像を表示領域に表示するためのモニタと、
データを格納するためのメモリと、
前記電子機器の動作を制御するための制御部とを備え、
前記制御部は、
第1の撮影指示に基づいて、第1の画像と、前記電子機器の第1の傾き角度とを取得するための第1の取得手段と、
第2の撮影指示に基づいて、第2の画像と、前記電子機器の第2の傾き角度とを取得するための第2の取得手段と、
前記第1の画像に基づいて、前記第1の傾き角度と前記第2の傾き角度との間の角度に相当する第1の回転画像を生成するための第1の生成手段と、
前記第2の画像に基づいて、前記第1の傾き角度と前記第2の傾き角度との間の前記角度に相当する第2の回転画像を生成するための第2の生成手段と、
前記第1の回転画像と前記第2の回転画像とに基づいて、三次元画像を生成するための合成手段とを含む、電子機器。
An electronic device capable of acquiring a three-dimensional image,
Imaging means for acquiring an image;
A sensor for detecting the attitude of the electronic device;
A monitor for displaying an image in the display area;
Memory for storing data;
A control unit for controlling the operation of the electronic device,
The controller is
First acquisition means for acquiring a first image and a first tilt angle of the electronic device based on a first imaging instruction;
Second acquisition means for acquiring a second image and a second tilt angle of the electronic device based on a second imaging instruction;
First generating means for generating a first rotated image corresponding to an angle between the first tilt angle and the second tilt angle based on the first image;
Second generating means for generating a second rotated image corresponding to the angle between the first tilt angle and the second tilt angle based on the second image;
An electronic apparatus comprising: synthesis means for generating a three-dimensional image based on the first rotated image and the second rotated image.
前記第1の取得手段は、
前記第1の撮影指示が前記電子機器に与えられると、前記センサからの出力に基づいて、前記第1の傾き角度を検出し、
前記第1の画像と、前記第1の傾き角度とを関連付けて前記メモリに格納し、
前記第2の取得手段は、
前記第2の撮影指示が前記電子機器に与えられると、前記センサからの出力に基づいて、前記第2の傾き角度を検出し、
前記第2の画像と、前記第2の傾き角度とを関連付けて前記メモリに格納する、請求項1に記載の電子機器。
The first acquisition means includes
When the first photographing instruction is given to the electronic device, the first tilt angle is detected based on an output from the sensor,
Storing the first image and the first tilt angle in the memory in association with each other;
The second acquisition means includes
When the second photographing instruction is given to the electronic device, the second tilt angle is detected based on an output from the sensor,
The electronic device according to claim 1, wherein the second image and the second tilt angle are stored in the memory in association with each other.
前記第1の傾き角度と前記第2の傾き角度との間の角度は、前記第1の傾き角度と前記第2の傾き角度との平均角度を含む、請求項1に記載の電子機器。   2. The electronic device according to claim 1, wherein an angle between the first tilt angle and the second tilt angle includes an average angle of the first tilt angle and the second tilt angle. 三次元画像を取得可能な電子機器を制御するための方法であって、前記電子機器は、画像を取得するためのカメラと、前記電子機器の姿勢を検出するためのセンサと、画像を表示領域に表示するためのモニタと、データを格納するためのメモリと、前記電子機器の動作を制御するためのプロセッサとを備えており、前記方法は、
前記プロセッサが、第1の撮影指示に基づいて、第1の画像と、前記電子機器の第1の傾き角度とを取得するステップと、
前記プロセッサが、第2の撮影指示に基づいて、第2の画像と、前記電子機器の第2の傾き角度とを取得するステップと、
前記プロセッサが、前記第1の画像に基づいて、前記第1の傾き角度と前記第2の傾き角度との間の角度に相当する第1の回転画像を生成するステップと、
前記プロセッサが、前記第2の画像に基づいて、前記第1の傾き角度と前記第2の傾き角度との間の前記角度に相当する第2の回転画像を生成するステップと、
前記プロセッサが、前記第1の回転画像と前記第2の回転画像とに基づいて、三次元画像を生成するステップとを含む、方法。
A method for controlling an electronic device capable of acquiring a three-dimensional image, wherein the electronic device includes a camera for acquiring an image, a sensor for detecting the attitude of the electronic device, and an image display area. A monitor for displaying data, a memory for storing data, and a processor for controlling the operation of the electronic device, the method comprising:
The processor acquiring a first image and a first tilt angle of the electronic device based on a first photographing instruction;
The processor acquiring a second image and a second tilt angle of the electronic device based on a second photographing instruction;
The processor generates a first rotated image corresponding to an angle between the first tilt angle and the second tilt angle based on the first image;
The processor generates a second rotated image corresponding to the angle between the first tilt angle and the second tilt angle based on the second image;
Generating a three-dimensional image based on the first rotated image and the second rotated image.
三次元画像を取得可能な電子機器を制御するためのプログラムであって、前記電子機器は、画像を取得するためのカメラと、前記電子機器の姿勢を検出するためのセンサと、画像を表示領域に表示するためのモニタと、データを格納するためのメモリと、前記電子機器の動作を制御するためのプロセッサとを備えており、前記プログラムは、前記プロセッサに、
第1の撮影指示に基づいて、第1の画像と、前記電子機器の第1の傾き角度とを取得するステップと、
第2の撮影指示に基づいて、第2の画像と、前記電子機器の第2の傾き角度とを取得するステップと、
前記第1の画像に基づいて、前記第1の傾き角度と前記第2の傾き角度との間の角度に相当する第1の回転画像を生成するステップと、
前記第2の画像に基づいて、前記第1の傾き角度と前記第2の傾き角度との間の前記角度に相当する第2の回転画像を生成するステップと、
前記第1の回転画像と前記第2の回転画像とに基づいて、三次元画像を生成するステップとを実行させる、プログラム。
A program for controlling an electronic device capable of acquiring a three-dimensional image, wherein the electronic device includes a camera for acquiring an image, a sensor for detecting the attitude of the electronic device, and an image display area. A monitor for displaying data, a memory for storing data, and a processor for controlling the operation of the electronic device, and the program is stored in the processor,
Acquiring a first image and a first tilt angle of the electronic device based on a first photographing instruction;
Acquiring a second image and a second tilt angle of the electronic device based on a second photographing instruction;
Generating a first rotated image corresponding to an angle between the first tilt angle and the second tilt angle based on the first image;
Generating a second rotated image corresponding to the angle between the first tilt angle and the second tilt angle based on the second image;
A program for executing a step of generating a three-dimensional image based on the first rotated image and the second rotated image.
第1の撮影指示に基づいて、第1の画像と、前記電子機器の第1の傾き角度とを取得するステップは、
前記第1の撮影指示が前記電子機器に与えられると、前記センサからの出力に基づいて、前記第1の傾き角度を検出するステップと、
前記第1の画像と、前記第1の傾き角度とを関連付けて前記メモリに格納するステップとを含み、
第2の撮影指示に基づいて、第2の画像と、前記電子機器の第2の傾き角度とを取得するステップは、
前記第2の撮影指示が前記電子機器に与えられると、前記センサからの出力に基づいて、前記第2の傾き角度を検出するステップと、
前記第2の画像と、前記第2の傾き角度とを関連付けて前記メモリに格納するステップとを含む、請求項5に記載のプログラム。
Based on the first photographing instruction, obtaining the first image and the first tilt angle of the electronic device includes:
Detecting the first tilt angle based on an output from the sensor when the first imaging instruction is given to the electronic device;
Storing the first image and the first tilt angle in the memory in association with each other,
Based on the second photographing instruction, obtaining the second image and the second tilt angle of the electronic device includes:
Detecting the second tilt angle based on an output from the sensor when the second photographing instruction is given to the electronic device;
The program according to claim 5, comprising the step of associating the second image with the second inclination angle and storing the second image in the memory.
前記第1の傾き角度と前記第2の傾き角度との間の角度は、前記第1の傾き角度と前記第2の傾き角度との平均角度を含む、請求項5または6に記載のプログラム。   The program according to claim 5 or 6, wherein an angle between the first tilt angle and the second tilt angle includes an average angle between the first tilt angle and the second tilt angle.
JP2011217577A 2011-09-30 2011-09-30 Electronic apparatus capable of acquiring three-dimensional image, method for controlling the same, and program for controlling the same Withdrawn JP2013078039A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011217577A JP2013078039A (en) 2011-09-30 2011-09-30 Electronic apparatus capable of acquiring three-dimensional image, method for controlling the same, and program for controlling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011217577A JP2013078039A (en) 2011-09-30 2011-09-30 Electronic apparatus capable of acquiring three-dimensional image, method for controlling the same, and program for controlling the same

Publications (1)

Publication Number Publication Date
JP2013078039A true JP2013078039A (en) 2013-04-25

Family

ID=48481187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011217577A Withdrawn JP2013078039A (en) 2011-09-30 2011-09-30 Electronic apparatus capable of acquiring three-dimensional image, method for controlling the same, and program for controlling the same

Country Status (1)

Country Link
JP (1) JP2013078039A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019148491A (en) * 2018-02-27 2019-09-05 オムロン株式会社 Occupant monitoring device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019148491A (en) * 2018-02-27 2019-09-05 オムロン株式会社 Occupant monitoring device

Similar Documents

Publication Publication Date Title
JP5659304B2 (en) Image generating apparatus and image generating method
JP5659305B2 (en) Image generating apparatus and image generating method
JP5769813B2 (en) Image generating apparatus and image generating method
JP5865388B2 (en) Image generating apparatus and image generating method
US9781341B2 (en) Image processing system, information processing device, information storage device, and image processing method
JP5230013B2 (en) Imaging device
KR20220128585A (en) Wearable image pickup apparatus, portable device and calibrator that communicate with image pickup apparatus, control methods therefor, and storage media storing control programs therefor
JP4072330B2 (en) Display device and information processing method
US10681276B2 (en) Virtual reality video processing to compensate for movement of a camera during capture
US20150070526A1 (en) Display control device, display control method, and program
JP6126271B1 (en) Method, program, and recording medium for providing virtual space
JP7702675B2 (en) Video Display System
JP2018033107A (en) Video distribution device and distribution method
JP5547356B2 (en) Imaging apparatus, method, storage medium, and program
JP2017208808A (en) Method, program, and recording medium for providing virtual space
JP6921204B2 (en) Information processing device and image output method
JP2013078039A (en) Electronic apparatus capable of acquiring three-dimensional image, method for controlling the same, and program for controlling the same
US12342076B2 (en) Image processing apparatus and image processing method
KR101983727B1 (en) Argument Reality Virtual Studio System
JP2013076912A (en) Electronic equipment, method for controlling electronic equipment, and program for controlling electronic equipment
US12506967B2 (en) Display terminal, communication system, display method, and recording medium which displays an image of predetermined area in a wide visual field image and the wide visual field image
US12464248B2 (en) Display terminal, communication system, and display method
US20250278173A1 (en) Display terminal, display method, and non-transitory recording medium
JP6950548B2 (en) Transmission program, method and device, and image synthesis program, method and device
WO2023248832A1 (en) Remote viewing system and on-site imaging system

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20141202