JP2014153769A - Projection system, control program, control device, and control method - Google Patents
Projection system, control program, control device, and control method Download PDFInfo
- Publication number
- JP2014153769A JP2014153769A JP2013020700A JP2013020700A JP2014153769A JP 2014153769 A JP2014153769 A JP 2014153769A JP 2013020700 A JP2013020700 A JP 2013020700A JP 2013020700 A JP2013020700 A JP 2013020700A JP 2014153769 A JP2014153769 A JP 2014153769A
- Authority
- JP
- Japan
- Prior art keywords
- image
- projection
- coordinate
- imaging region
- movement information
- 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
Links
Images
Landscapes
- Position Input By Displaying (AREA)
Abstract
Description
本発明は、投影システム、制御プログラム、制御装置及び制御方法に関する。 The present invention relates to a projection system, a control program, a control apparatus, and a control method.
従来、プロジェクタ等の投影装置によってスクリーン等の投影面に投影される投影画像に対して、電子ペン等のポインティングデバイスを利用してポインティング位置を移動させることにより、投影装置を操作する技術が知られている。これに対して、ポインティングデバイスを利用しなくても投影装置を操作する技術も存在する。例えば、ユーザの所定動作であるジェスチャをカメラで認識し、ジェスチャに対応する操作を投影装置に対して実行する技術が知られている。また、投影画像に含まれるボタン等の操作対象を操作するための動作がユーザによって行なわれた場合に、この動作をカメラで認識し、操作対象の操作に対応する処理を投影装置に対して実行させる技術も知られている。これらの技術は、例えば、会議等のプレゼンテーションや、店舗においてコンテンツをユーザに表示するような用途が想定される。 2. Description of the Related Art Conventionally, a technique for operating a projection apparatus by moving a pointing position using a pointing device such as an electronic pen with respect to a projection image projected on a projection surface such as a screen by a projection apparatus such as a projector is known. ing. On the other hand, there is a technique for operating the projection apparatus without using a pointing device. For example, a technique is known in which a user's predetermined gesture is recognized by a camera and an operation corresponding to the gesture is executed on the projection apparatus. In addition, when an operation for operating an operation target such as a button included in the projection image is performed by the user, this operation is recognized by the camera, and processing corresponding to the operation of the operation target is executed on the projection apparatus. Technology to make it known is also known. These techniques are assumed to be used, for example, for presentations such as conferences and for displaying contents to users in stores.
また、これらの技術においては、ポインティング位置に応じた投影装置の操作が実行されることから、現在のポインティング位置を高精度に検出できることが望ましい。ポインティング位置を高精度に検出するための技術としては、例えば、投影面の所定箇所をマーキングした画像を保持しておき、マーキングした画像と現在投影されている画像との差分をとることにより、ポインティング位置を検出するものがある。かかる技術では、マーカを常時表示させることなく、現在のポインティング位置を検出できる。 In these techniques, since the operation of the projection apparatus is executed in accordance with the pointing position, it is desirable that the current pointing position can be detected with high accuracy. As a technique for detecting the pointing position with high accuracy, for example, an image obtained by marking a predetermined portion of the projection surface is retained, and a pointing is obtained by taking a difference between the marked image and the currently projected image. Some detect the position. With this technique, the current pointing position can be detected without always displaying the marker.
しかしながら、上述した従来技術では、投影装置に対するユーザ操作を検出することができない場合があるという問題がある。具体的には、ユーザの動作をカメラによって認識することで投影装置を操作する状況において、カメラによって撮像可能な領域を表す撮像領域が投影画像よりも小さい場合に、投影装置に対する操作を検出することができない場合がある。撮像領域が投影画像よりも小さくなるケースは、投影面とカメラとの距離が近いことで発生する。つまり、プレゼンテーションやコンテンツの表示等の用途において、投影面とカメラとの距離を十分に確保できない場合には、上記のような問題が発生する。 However, the above-described conventional technique has a problem that it may not be possible to detect a user operation on the projection apparatus. Specifically, in a situation where the projection apparatus is operated by recognizing the user's operation by the camera, the operation on the projection apparatus is detected when the imaging area representing the area that can be captured by the camera is smaller than the projection image. May not be possible. A case where the imaging region is smaller than the projected image occurs when the distance between the projection plane and the camera is short. That is, the above-described problem occurs when a sufficient distance between the projection plane and the camera cannot be secured in applications such as presentation and content display.
本発明は、上記に鑑みてなされたものであって、投影装置に対するユーザ操作の検出精度を向上させることが可能である投影システム、制御プログラム、制御装置及び制御方法を提供することを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to provide a projection system, a control program, a control device, and a control method capable of improving the detection accuracy of a user operation on the projection device. .
上述した課題を解決し、目的を達成するため、本発明に係る投影システムは、投影面に投影画像を投影する投影部と、撮像可能な領域を表す撮像領域を撮像し、撮像画像を生成する撮像部と、ユーザの操作対象となる画像を表す操作対象画像に一致する前記投影画像内の画像を表す一致画像を検出する画像検出部と、前記投影画像に対する前記撮像領域の位置を特定する第1座標を算出する第1座標算出部と、前記投影画像に対する前記一致画像の位置を特定する第2座標を算出する第2座標算出部と、前記第1座標と前記第2座標とから、前記撮像領域を移動させるための移動情報を算出する移動情報算出部と、前記移動情報にしたがって、前記撮像領域を移動させるように、前記撮像部による撮像を制御する撮像制御部と、前記撮像画像を用いて、前記一致画像に対するユーザ操作を検出する操作検出部と、検出された前記ユーザ操作に応じて投影画像を生成し、生成した投影画像の前記投影部による投影を制御する投影制御部とを有する。 In order to solve the above-described problems and achieve the object, a projection system according to the present invention images a projection unit that projects a projection image on a projection plane and an imaging region that represents an imageable region, and generates a captured image. An imaging unit, an image detection unit that detects a matching image that represents an image in the projection image that matches an operation target image that represents an operation target image of a user, and a first position that specifies a position of the imaging region with respect to the projection image From the first coordinate calculation unit that calculates one coordinate, the second coordinate calculation unit that calculates the second coordinate that specifies the position of the coincidence image with respect to the projection image, the first coordinate, and the second coordinate, A movement information calculation unit that calculates movement information for moving the imaging region, an imaging control unit that controls imaging by the imaging unit so as to move the imaging region according to the movement information, and the captured image An operation detection unit that detects a user operation on the matching image, and a projection control unit that generates a projection image according to the detected user operation and controls projection of the generated projection image by the projection unit. Have.
また、本発明に係る制御プログラムは、ユーザの操作対象となる画像を表す操作対象画像に一致する投影画像内の画像を表す一致画像を検出する画像検出ステップと、前記投影画像に対する、撮像可能な領域を表す撮像領域の位置を特定する第1座標を算出する第1座標算出ステップと、前記投影画像に対する、前記一致画像の位置を特定する第2座標を算出する第2座標算出ステップと、前記第1座標と前記第2座標とから、前記撮像領域を移動させるための移動情報を算出する移動情報算出ステップと、前記移動情報にしたがって、前記撮像領域を移動させるように、撮像装置による撮像を制御する撮像制御ステップと、前記撮像装置によって撮像された撮像画像を用いて、前記一致画像に対するユーザ操作を検出する操作検出ステップと、検出された前記ユーザ操作に応じて投影画像を生成し、生成した投影画像の投影装置による投影を制御する投影制御ステップとをコンピュータに実行させる。 In addition, the control program according to the present invention is capable of detecting an coincidence image representing an image in a projection image that coincides with an operation target image representing an image to be operated by a user, and capable of capturing the projection image. A first coordinate calculating step for calculating a first coordinate for specifying a position of an imaging region representing the region; a second coordinate calculating step for calculating a second coordinate for specifying the position of the coincidence image with respect to the projection image; A movement information calculation step for calculating movement information for moving the imaging area from the first coordinates and the second coordinates, and imaging by the imaging apparatus so as to move the imaging area according to the movement information. An imaging control step for controlling, and an operation detection step for detecting a user operation on the coincidence image using a captured image captured by the imaging device , It generates a projection image in accordance with said detected user operation to execute a projection control step controls the projection device of the generated projected image to the computer.
また、本発明に係る制御装置は、ユーザの操作対象となる画像を表す操作対象画像に一致する投影画像内の画像を表す一致画像を検出する画像検出部と、前記投影画像に対する、撮像可能な領域を表す撮像領域の位置を特定する第1座標を算出する第1座標算出部と、前記投影画像に対する、前記一致画像の位置を特定する第2座標を算出する第2座標算出部と、前記第1座標と前記第2座標とから、前記撮像領域を移動させるための移動情報を算出する移動情報算出部と、前記移動情報にしたがって、前記撮像領域を移動させるように、撮像装置による撮像を制御する撮像制御部と、前記撮像装置によって撮像された撮像画像を用いて、前記一致画像に対するユーザ操作を検出する操作検出部と、検出された前記ユーザ操作に応じて投影画像を生成し、生成した投影画像の投影装置による投影を制御する投影制御部とを有する。 In addition, the control device according to the present invention is capable of capturing an image detection unit that detects a coincidence image that represents an image in a projection image that coincides with an operation target image that represents an image to be operated by the user, A first coordinate calculation unit that calculates a first coordinate that specifies a position of an imaging region that represents the region; a second coordinate calculation unit that calculates a second coordinate that specifies the position of the coincidence image with respect to the projection image; A movement information calculation unit that calculates movement information for moving the imaging region from the first coordinate and the second coordinate, and imaging by the imaging device so as to move the imaging region according to the movement information. An imaging control unit that controls, an operation detection unit that detects a user operation on the coincidence image using a captured image captured by the imaging device, and a projection image according to the detected user operation It generates, and a projection control unit that controls the projection device of the generated projection image.
また、本発明に係る制御方法は、ユーザの操作対象となる画像を表す操作対象画像に一致する投影画像内の画像を表す一致画像を検出する画像検出ステップと、前記投影画像に対する、撮像可能な領域を表す撮像領域の位置を特定する第1座標を算出する第1座標算出ステップと、前記投影画像に対する、前記一致画像の位置を特定する第2座標を算出する第2座標算出ステップと、前記第1座標と前記第2座標とから、前記撮像領域を移動させるための移動情報を算出する移動情報算出ステップと、前記移動情報にしたがって、前記撮像領域を移動させるように、撮像装置による撮像を制御する撮像制御ステップと、前記撮像装置によって撮像された撮像画像を用いて、前記一致画像に対するユーザ操作を検出する操作検出ステップと、検出された前記ユーザ操作に応じて投影画像を生成し、生成した投影画像の投影装置による投影を制御する投影制御ステップとを含む。 Further, the control method according to the present invention includes an image detection step for detecting a coincidence image representing an image in a projection image that coincides with an operation target image representing an image to be operated by a user, and capable of capturing the projection image. A first coordinate calculating step for calculating a first coordinate for specifying a position of an imaging region representing the region; a second coordinate calculating step for calculating a second coordinate for specifying the position of the coincidence image with respect to the projection image; A movement information calculation step for calculating movement information for moving the imaging area from the first coordinates and the second coordinates, and imaging by the imaging apparatus so as to move the imaging area according to the movement information. An imaging control step for controlling, an operation detecting step for detecting a user operation on the matched image using a captured image captured by the imaging device, It has been said to produce a projection image in accordance with a user operation, and a projection control step controls the projection device of the generated projection image.
本発明の一つの様態によれば、投影装置に対するユーザ操作の検出精度を向上させることができるという効果を奏する。 According to one aspect of the present invention, it is possible to improve the detection accuracy of a user operation on the projection apparatus.
以下に添付図面を参照して、本発明に係る投影システム、制御プログラム、制御装置及び制御方法の実施の形態を説明する。なお、以下の実施の形態により本発明が限定されるものではない。また、各実施の形態は、内容を矛盾させない範囲で適宜組み合わせることができる。 Embodiments of a projection system, a control program, a control apparatus, and a control method according to the present invention will be described below with reference to the accompanying drawings. In addition, this invention is not limited by the following embodiment. Moreover, each embodiment can be combined suitably as long as the content is not contradicted.
(実施の形態1)
[システム構成]
図1を用いて、本実施の形態に係る投影システムの構成を説明する。図1は、本実施の形態に係る投影システムの構成例を示す図である。
(Embodiment 1)
[System configuration]
The configuration of the projection system according to the present embodiment will be described with reference to FIG. FIG. 1 is a diagram illustrating a configuration example of a projection system according to the present embodiment.
図1に示すように、投影システム10は、撮像装置20と、投影装置30と、制御装置100とを有する。これらのうち、撮像装置20は、投影面に投影される投影画像を撮像し、撮像画像を生成するカメラ等である。かかる撮像装置20は、制御装置100に接続される。以下では、撮像装置20が撮像可能な領域を「撮像領域」と呼ぶ場合がある。撮像領域は、撮像装置20と投影面との距離に応じて大きさが変化する。投影装置30は、投影面に投影画像を投影するプロジェクタ等である。かかる投影装置30は、制御装置100に接続される。
As shown in FIG. 1, the
制御装置100は、撮像装置20によって生成された撮像画像から、投影画像でのユーザ操作を検出し、検出したユーザ操作に応じて新たな投影画像を生成し、投影装置30による投影画像の投影を制御する。また、制御装置100は、撮像装置20によって生成された撮像画像をもとに、撮像領域を移動させるための移動情報を算出して、撮像装置20による撮像を制御する。上述したように、撮像領域は、撮像装置20と投影面との距離に応じて大きさが変化する。このため、制御装置100は、投影画像でのユーザ操作を実現するために、撮像領域を移動させるための移動情報を算出する。なお、各装置の接続は、有線及び無線の何れであっても良い。
The
例えば、投影システム10は、会議等のプレゼンテーションや、店舗においてコンテンツをユーザに表示する用途で利用される。すなわち、ユーザは、投影画像に配置されたボタン画像等のオブジェクトに、手を近づけたり触れたりするユーザ操作を行なう。このようなユーザ操作が行なわれることにより、オブジェクトに対する操作が行なわれたこととして、操作に応じた投影画像の切り替え等が実現する。また、ユーザ操作を実現するためには、撮像領域にオブジェクトが含まれていなければならない。投影システム10の用途によっては、投影面と撮像装置20との距離を十分に確保できない可能性もあり、撮像領域が投影画像を包含できないケースが発生する。このため、制御装置100は、撮像画像をもとに、撮像領域を移動させるための移動情報を算出している。
For example, the
[実施の形態1に係る装置構成]
図2を用いて、実施の形態1に係る装置構成を説明する。図2は、実施の形態1に係る装置構成例を示す機能ブロック図である。
[Apparatus Configuration According to Embodiment 1]
The apparatus configuration according to the first embodiment will be described with reference to FIG. FIG. 2 is a functional block diagram illustrating a device configuration example according to the first embodiment.
図2に示すように、撮像装置20は、撮像部21を有する。撮像部21は、制御装置100による制御により、撮像可能な領域を表す撮像領域を撮像し、撮像画像を生成する。そして、撮像装置20は、生成した撮像画像を制御装置100に対して送信する。撮像画像は、撮像領域を撮像した画像であるため、投影面と撮像装置20との距離によっては投影画像全てを含む画像ではない場合がある。投影装置30は、投影部31を有する。投影部31は、制御装置100による制御により、投影面に投影画像を投影する。
As illustrated in FIG. 2, the
制御装置100は、記憶部110と、制御部120とを有する。これらのうち、記憶部110は、制御部120による各種処理で利用されるデータや、制御部120による各種処理結果を記憶し、撮像画像記憶部111を有する。撮像画像記憶部111は、撮像装置20によって撮像された撮像画像を記憶する。また、記憶部110は、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ(Flash Memory)等の半導体メモリ素子、又は、ハードディスク、光ディスク等の記憶装置である。
The
制御部120は、制御プログラム、各種の処理手順等を規定したプログラム及び所要データを格納するための内部メモリを有する。かかる制御部120は、画像検出部121aと、第1座標算出部121bと、第2座標算出部121cと、包含判定部121dと、移動情報算出部121eと、撮像制御部121fとを有する。これらの機能ブロックによる処理は、主に撮像装置20を制御するために実行される。また、制御部120は、操作検出部122aと、投影制御部122bとを有する。これらの機能ブロックによる処理は、主に投影装置30を制御するために実行される。また、制御部120は、例えば、ASIC(Application Specific Integrated Circuit)やFPGA(Field Programmable Gate Array)等の集積回路、又は、CPU(Central Processing Unit)やMPU(Micro Processing Unit)等の電子回路である。
The
画像検出部121aは、投影画像内に配置されたユーザ操作のためのオブジェクトを検出する。より具体的には、画像検出部121aは、ユーザの操作対象となる画像を表す操作対象画像を取得する。操作対象画像は、記憶部110に記憶されていても良いし、外部の記憶装置やサーバ装置等から取得されても良い。また、画像検出部121aは、撮像画像を撮像画像記憶部111から取得する。そして、画像検出部121aは、取得した操作対象画像と撮像画像とから、操作対象画像に一致する投影画像内の画像を表す一致画像を検出する。一致画像は、投影画像内に配置されたユーザ操作のためのオブジェクトに対応する。ここで、画像検出部121aによる一致画像の検出処理のために、撮像制御部121fは、撮像装置20のカメラレンズの方向を制御することにより、撮像領域を移動させる。これにより、撮像部21は、撮像領域を移動しながら撮像することにより、複数の撮像画像を生成する。
The
図3は、実施の形態1に係る一致画像の検出処理を説明する図である。図3上段の左方は、デフォルトの状態を表している。図3上段の左方に示すように、撮像領域3は、ボタン画像2が配置された投影画像1よりも小さい。また、投影画像1、ボタン画像2及び撮像領域3は、方形である。このような状態において、制御装置100は、投影装置30の電源が投入されたときや、投影される投影画像1が切り替わったとき等に、以下の処理を開始する。
FIG. 3 is a diagram for explaining the matching image detection process according to the first embodiment. The left side of the upper part of FIG. 3 represents a default state. As shown on the left in the upper part of FIG. 3, the
撮像制御部121fは、投影画像1に埋め込まれた各頂点の座標情報を探索させるために、撮像領域3を投影画像1の左上方向に移動させるように撮像装置20に対して指示する。指示を受けた撮像部21は、投影画像1の左上の頂点の座標情報を検出する。そして、撮像制御部121fは、検出された投影画像1の左上の頂点座標に、撮像領域3の左上の頂点が重なるように、撮像装置20に対して指示する。指示を受けた撮像部21は、図3上段の右方に示すように、投影画像1の左上の頂点座標に、撮像領域3の左上の頂点が重なるように撮像領域3を移動し、このときの撮像領域3を撮像して撮像画像を生成する。生成された撮像画像は、撮像制御部121fを介して、撮像画像記憶部111に格納される。
The
その後、撮像制御部121fは、図3中段の右方、図3中段の左方及び図3下段の左方に示すように、投影画像1の各頂点座標と、撮像領域3の対応する各頂点とが重なるように、撮像領域を順次移動させる指示を撮像装置20に対して行なう。これらにより、撮像画像記憶部111には、撮像部21によって生成された複数の撮像画像が記憶される。図3に示した例では、投影画像1の左上の頂点の座標情報が検出されたときに撮像された撮像画像に、ボタン画像2が含まれている。そして、図3下段の右方に示すように、撮像制御部121fは、投影画像1全体の検出が終了すると、撮像領域3の位置をデフォルトの状態へ戻すように撮像部21を制御する。また、撮像制御部121fは、デフォルトの状態における撮像領域3についても撮像するように撮像装置20に指示する。これにより、撮像画像記憶部111には、デフォルトの状態で撮像された撮像画像も含まれる。
Thereafter, the
投影画像1全体の検出処理終了後、画像検出部121aは、操作対象画像を取得するとともに、撮像画像記憶部111から複数の撮像画像を取得する。そして、画像検出部121aは、複数の撮像画像内において、操作対象画像と一致する一致画像を検出することにより、投影画像内に配置されたボタン画像2を検出する。
After the detection processing of the
第1座標算出部121bは、投影画像に対する撮像領域の位置を特定するための座標を表す第1座標を算出する。より具体的には、第1座標算出部121bは、投影画像の左下の頂点座標を(0,0)としたときの投影画像に対する、現在の撮像領域の頂点座標全てを算出する。現在の撮像領域の頂点座標は、撮像画像記憶部111に記憶された複数の撮像画像から求められる。算出される現在の撮像領域の頂点座標は、デフォルトの状態における撮像領域の頂点座標となる(図3上段の左方参照)。
The first coordinate
第2座標算出部121cは、投影画像に対する一致画像の位置を特定するための座標を表す第2座標を算出する。より具体的には、第2座標算出部121cは、投影画像の左下の頂点座標を(0,0)としたときの投影画像に対する、ボタン画像の頂点座標全てを算出する。ボタン画像の頂点座標は、撮像画像記憶部111に記憶された複数の撮像画像から求められる。
The second coordinate
包含判定部121dは、撮像領域が一致画像を包含しているか否かを判定する。より具体的には、包含判定部121dは、第1座標算出部121bによって算出された現在の撮像領域の各頂点座標と、第2座標算出部121cによって算出されたボタン画像の各頂点座標とから、現在の撮像領域がボタン画像を包含しているか否かを判定する。そして、包含判定部121dは、現在の撮像領域がボタン画像を包含しているか否かの判定結果を、移動情報算出部121eに対して通知する。
The
ここで、包含判定部121dによる判定処理の一例を説明する。以下のように、各頂点座標について比較すれば良い。
Here, an example of the determination process by the
左下の頂点座標の比較。
「ボタン画像の左下の頂点のx座標<撮像領域の左下の頂点のx座標」であれば、現在の撮像領域がボタン画像を包含していない判定結果となる。
「撮像領域の左下の頂点のx座標<=ボタン画像の左下の頂点のx座標」であれば、判定できないため、次の比較を行なう。
「ボタン画像の左下の頂点のy座標<撮像領域の左下の頂点のy座標」であれば、現在の撮像領域がボタン画像を包含していない判定結果となる。
「撮像領域の左下の頂点のy座標<=ボタン画像の左下の頂点のy座標」であれば、判定できないため、次の比較を行なう。
Comparison of the lower left vertex coordinates.
If “the x coordinate of the lower left vertex of the button image <the x coordinate of the lower left vertex of the imaging region”, the determination result is that the current imaging region does not include the button image.
If “x coordinate of the lower left vertex of the imaging region <= x coordinate of the lower left vertex of the button image” cannot be determined, the following comparison is performed.
If “y coordinate of the lower left vertex of the button image <y coordinate of the lower left vertex of the imaging region”, the determination result indicates that the current imaging region does not include the button image.
If “y coordinate of the lower left vertex of the imaging region <= y coordinate of the lower left vertex of the button image” cannot be determined, the following comparison is performed.
左上の頂点座標の比較。
「ボタン画像の左上の頂点のx座標<撮像領域の左上の頂点のx座標」であれば、現在の撮像領域がボタン画像を包含していない判定結果となる。
「撮像領域の左上の頂点のx座標<=ボタン画像の左上の頂点のx座標」であれば、判定できないため、次の比較を行なう。
「撮像領域の左上の頂点のy座標<ボタン画像の左上の頂点のy座標」であれば、現在の撮像領域がボタン画像を包含していない判定結果となる。
「ボタン画像の左上の頂点のy座標<=撮像領域の左上の頂点のy座標」であれば、判定できないため、次の比較を行なう。
Top left vertex coordinate comparison.
If “the x coordinate of the upper left vertex of the button image <the x coordinate of the upper left vertex of the imaging region”, the determination result indicates that the current imaging region does not include the button image.
If “x coordinate of the upper left vertex of the imaging region <= x coordinate of the upper left vertex of the button image” cannot be determined, the following comparison is performed.
If “y coordinate of the upper left vertex of the imaging region <y coordinate of the upper left vertex of the button image”, the determination result indicates that the current imaging region does not include the button image.
If “y coordinate of the upper left vertex of the button image <= y coordinate of the upper left vertex of the imaging region”, since it cannot be determined, the following comparison is performed.
右下の頂点座標の比較。
「撮像領域の右下の頂点のx座標<ボタン画像の右下の頂点のx座標」であれば、現在の撮像領域がボタン画像を包含していない判定結果となる。
「ボタン画像の右下の頂点のx座標<=撮像領域の右下の頂点のx座標」であれば、判定できないため、次の比較を行なう。
「ボタン画像の右下の頂点のy座標<撮像領域の右下の頂点のy座標」であれば、現在の撮像領域がボタン画像を包含していない判定結果となる。
「撮像領域の右下の頂点のy座標<=ボタン画像の右下の頂点のy座標」であれば、判定できないため、次の比較を行なう。
Comparison of the lower right vertex coordinates.
If “the x coordinate of the lower right vertex of the imaging region <the x coordinate of the lower right vertex of the button image”, the determination result indicates that the current imaging region does not include the button image.
If “x coordinate of the lower right vertex of the button image <= x coordinate of the lower right vertex of the imaging region”, it cannot be determined, so the following comparison is performed.
If “y coordinate of the lower right vertex of the button image <y coordinate of the lower right vertex of the imaging region”, the determination result is that the current imaging region does not include the button image.
If “y coordinate of the lower right vertex of the imaging region <= y coordinate of the lower right vertex of the button image” cannot be determined, the following comparison is performed.
右上の頂点座標の比較。
「撮像領域の右上の頂点のx座標<ボタン画像の右上の頂点のx座標」であれば、現在の撮像領域がボタン画像を包含していない判定結果となる。
「ボタン画像の右上の頂点のx座標<=撮像領域の右上の頂点のx座標」であれば、判定できないため、次の比較を行なう。
「撮像領域の右上の頂点のy座標<ボタン画像の右上の頂点のy座標」であれば、現在の撮像領域がボタン画像を包含していない判定結果となる。
「ボタン画像の右上の頂点のy座標<=撮像領域の右上の頂点のy座標」であれば、現在の撮像領域がボタン画像を包含している判定結果となる。
Top right vertex coordinate comparison.
If “the x coordinate of the upper right vertex of the imaging region <the x coordinate of the upper right vertex of the button image”, the determination result indicates that the current imaging region does not include the button image.
If “x coordinate of upper right vertex of button image <= x coordinate of upper right vertex of imaging region” cannot be determined, the following comparison is performed.
If “y coordinate of the upper right vertex of the imaging region <y coordinate of the upper right vertex of the button image”, the determination result is that the current imaging region does not include the button image.
If “y coordinate of the upper right vertex of the button image <= y coordinate of the upper right vertex of the imaging region”, the determination result indicates that the current imaging region includes the button image.
移動情報算出部121eは、撮像領域を移動させるための移動情報を算出する。より具体的には、移動情報算出部121eは、包含判定部121dから判定結果を受け付ける。このとき、移動情報算出部121eは、現在の撮像領域がボタン画像を包含していないと判定された場合に、第1座標算出部121bによって算出された現在の撮像領域の各頂点座標から、現在の撮像領域の重心となる座標を算出する。また、移動情報算出部121eは、現在の撮像領域がボタン画像を包含していないと判定された場合に、第2座標算出部121cによって算出されたボタン画像の各頂点座標から、ボタン画像の重心となる座標を算出する。
The movement
そして、移動情報算出部121eは、現在の撮像領域の重心となる座標から、ボタン画像の重心となる座標への移動量を、移動情報として算出する。なお、移動情報算出部121eは、現在の撮像領域がボタン画像を包含していると判定された場合に、撮像領域を移動させなくてもユーザ操作を受け付けることが可能であるため、移動量を「0」とする移動情報を算出する。その後、移動情報算出部121eは、算出した移動量を撮像制御部121fに対して通知する。
Then, the movement
ここで、移動情報算出部121eによる移動量算出処理の一例を説明する。以下のように、各頂点座標からx方向とy方向との中点座標をそれぞれ求めることにより重心となる座標を求め、求めた中点座標間を移動するための値を撮像領域の移動量とすれば良い。
Here, an example of movement amount calculation processing by the movement
現在の撮像領域の重心となる座標。
「x座標=
(撮像領域の左下の頂点のx座標+撮像領域の右上の頂点のx座標)÷2」
「y座標=
(撮像領域の左下の頂点のy座標+撮像領域の右上の頂点のy座標)÷2」
Coordinates that are the center of gravity of the current imaging area.
"X coordinate =
(X coordinate of the lower left vertex of the imaging area + x coordinate of the upper right vertex of the imaging area) / 2
"Y coordinate =
(Y coordinate of the lower left vertex of the imaging area + y coordinate of the upper right vertex of the imaging area) / 2 ”
ボタン画像の重心となる座標。
「x座標=
(ボタン画像の左下の頂点のx座標+ボタン画像の右上の頂点のx座標)÷2」
「y座標=
(ボタン画像の左下の頂点のy座標+ボタン画像の右上の頂点のy座標)÷2」
The coordinates that are the center of gravity of the button image.
"X coordinate =
(X coordinate of lower left vertex of button image + x coordinate of upper right vertex of button image) / 2
"Y coordinate =
(Y coordinate of the lower left vertex of the button image + y coordinate of the upper right vertex of the button image) / 2 ”
算出される移動量。
「x座標=
ボタン画像の重心となる座標のx座標−現在の撮像領域の重心となる座標のx座標」
「y座標=
ボタン画像の重心となる座標のy座標−現在の撮像領域の重心となる座標のy座標」
Calculated amount of movement.
"X coordinate =
X-coordinate of the coordinate serving as the center of gravity of the button image-x-coordinate of the coordinate serving as the center of gravity of the current imaging region "
"Y coordinate =
The y-coordinate of the coordinates that will be the center of gravity of the button image-the y-coordinate of the coordinates that will be the center of gravity of the current imaging area "
撮像制御部121fは、撮像部21による撮像を制御する。より具体的には、撮像制御部121fは、移動情報算出部121eから撮像領域の移動量を受け付けて、受け付けた移動量にしたがって、撮像領域を移動させるように撮像部21による撮像を制御する。なお、撮像制御部121fは、移動情報算出部121eによって通知された移動量が「0」である場合には、撮像部21に対する制御を行なわない。
The
図4は、実施の形態1に係る撮像領域の移動を説明する図である。図4上段に示した例において、ボタン画像2の各頂点座標は、(1,9)、(1,11)、(5,9)、(5,11)である。同様に、撮像領域3の各頂点座標は、(6,4)、(6,8)、(12,4)、(12,8)である。投影画像1は、上記の各頂点座標を有するボタン画像2と撮像領域3とを含んでいる。
FIG. 4 is a diagram for explaining the movement of the imaging region according to the first embodiment. In the example shown in the upper part of FIG. 4, the vertex coordinates of the
上述した状態において、移動情報算出部121eは、撮像領域3の各頂点座標から、現在の撮像領域3の重心となる座標(9,6)を算出する。図4において、撮像領域3の重心となる座標は、黒四角で表している。また、移動情報算出部121eは、ボタン画像2の各頂点座標から、ボタン画像2の重心となる座標(3,10)を算出する。図4において、ボタン画像2の重心となる座標は、黒丸で表している。
In the state described above, the movement
そして、移動情報算出部121eは、現在の撮像領域3の重心となる座標(9,6)から、ボタン画像2の重心となる座標(3,10)への移動量を算出する。かかる移動量の算出では、「x方向=3−9=−6」、「y方向=10−6=+4」となるので、現在の撮像領域3を、x方向に「−6」移動させ、y方向に「+4」移動させる移動量「(−6,+4)」が得られる。その後、撮像制御部121fは、現在の撮像領域3をx方向に「−6」移動させ、y方向に「+4」移動させるための移動量「(−6,+4)」を撮像装置20に対して送信する。これらにより、図4下段に示すように、ボタン画像2の重心となる座標に、撮像領域3の重心となる座標が重なった移動結果が得られる。
Then, the movement
操作検出部122aは、投影画像内のオブジェクトに対するユーザ操作を検出する。より具体的には、操作検出部122aは、撮像画像記憶部111から撮像画像を取得し、取得した撮像画像からボタン画像に対するユーザ操作を検出する。操作検出部122aによるユーザ操作の検出は、撮像部21による撮像領域の移動処理後に行なわれる。
The
投影制御部122bは、投影装置30による投影画像の投影を制御する。より具体的には、投影制御部122bは、操作検出部122aによって検出されたユーザ操作に応じて投影画像を生成し、生成した投影画像の投影部31による投影を制御する。
The
[実施の形態1に係る移動量算出処理フロー]
次に、図5を用いて、実施の形態1に係る移動量算出処理の流れについて説明する。図5は、実施の形態1に係る移動量算出処理の流れの例を示すフローチャートである。
[Movement amount calculation processing flow according to Embodiment 1]
Next, the flow of the movement amount calculation process according to the first embodiment will be described with reference to FIG. FIG. 5 is a flowchart showing an example of the flow of movement amount calculation processing according to the first embodiment.
図5に示すように、第1座標算出部121bは、現在の撮像領域の頂点座標を算出する(ステップS101)。また、第2座標算出部121cは、ボタン画像の頂点座標を算出する(ステップS102)。そして、包含判定部121dは、現在の撮像領域にボタン画像が包含されているか否かを判定する(ステップS103)。
As shown in FIG. 5, the first coordinate
このとき、包含判定部121dによって包含されていないと判定された場合に(ステップS103:No)、移動情報算出部121eは、第1座標算出部121bによって算出された頂点座標から、現在の撮像領域の重心となる座標を算出する(ステップS104)。また、移動情報算出部121eは、第2座標算出部121cによって算出された頂点座標から、ボタン画像の重心となる座標を算出する(ステップS105)。
At this time, when it is determined by the
そして、移動情報算出部121eは、現在の撮像領域の重心となる座標から、ボタン画像の重心となる座標への移動量を算出する(ステップS106)。なお、包含判定部121dによって包含されていると判定された場合に(ステップS103:Yes)、移動情報算出部121eは、現在の撮像領域を移動させなくても良いため、移動量を「0」とする(ステップS107)。
Then, the movement
[実施の形態1による効果]
本実施の形態は、撮像領域の重心となる座標から、ボタン画像の重心となる座標への移動量を算出し、算出した移動量により撮像領域がボタン画像に重なるように移動させる制御を撮像装置に対して行なう。この結果、本実施の形態によれば、投影面と撮像装置との距離を十分に確保できない場合であっても、投影装置に対するユーザ操作の検出精度を向上させることができる。
[Effects of Embodiment 1]
In the present embodiment, the imaging apparatus calculates a movement amount from the coordinates serving as the center of gravity of the imaging region to the coordinates serving as the center of gravity of the button image, and moves the imaging region so as to overlap the button image based on the calculated movement amount. To. As a result, according to the present embodiment, it is possible to improve the detection accuracy of the user operation on the projection device even when the distance between the projection surface and the imaging device cannot be sufficiently secured.
(実施の形態2)
上記実施の形態1では、ユーザ操作のためのオブジェクトの重心に、撮像領域の重心を重ねるための撮像領域の移動量を算出する場合を説明した。実施の形態2では、撮像領域のより小さい移動量を算出する場合を説明する。
(Embodiment 2)
In the first embodiment, the case has been described in which the movement amount of the imaging region for superimposing the centroid of the imaging region on the centroid of the object for user operation is calculated. In the second embodiment, a case where a smaller movement amount of the imaging area is calculated will be described.
[実施の形態2に係る装置構成]
図6を用いて、実施の形態2に係る装置構成を説明する。図6は、実施の形態2に係る装置構成例を示す機能ブロック図である。実施の形態2では、実施の形態1と同様の構成については同一の符号を付し、同様の構成については詳細な説明を省略する場合がある。具体的には、以下に示す移動情報算出部221e以外の機能及び構成、処理は実施の形態1と同様である。
[Apparatus configuration according to Embodiment 2]
The apparatus configuration according to the second embodiment will be described with reference to FIG. FIG. 6 is a functional block diagram illustrating a device configuration example according to the second embodiment. In the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and detailed description of the same components may be omitted. Specifically, functions, configurations, and processes other than the movement
図6に示すように、撮像装置20は、撮像部21を有する。また、投影装置30は、投影部31を有する。制御装置200は、記憶部110と、制御部220とを有する。これらのうち、記憶部110は、撮像画像記憶部111を有する。制御部220は、画像検出部121aと、第1座標算出部121bと、第2座標算出部121cと、包含判定部121dと、移動情報算出部221eと、撮像制御部121fとを有する。また、制御部220は、操作検出部122aと、投影制御部122bとを有する。
As illustrated in FIG. 6, the
移動情報算出部221eは、撮像領域の移動量が最小となる移動情報を算出する。より具体的には、移動情報算出部221eは、包含判定部121dから判定結果を受け付ける。このとき、移動情報算出部221eは、現在の撮像領域がボタン画像を包含していないと判定された場合に、撮像領域の各頂点座標とボタン画像の各頂点座標との対応する座標間で、距離が最小となる移動量を算出する。
The movement
ここで、移動情報算出部221eによる移動量算出処理の一例を説明する。以下のように、対応する各頂点座標間での移動量を求め、求めた移動量が最小となる値を撮像領域の移動量とすれば良い。
Here, an example of movement amount calculation processing by the movement
左下の頂点の座標間の移動量。
「x方向の移動量=ボタン画像の左下の頂点のx座標−撮像領域の左下の頂点のx座標」
「y方向の移動量=ボタン画像の左下の頂点のy座標−撮像領域の左下の頂点のy座標」
The amount of movement between the coordinates of the lower left vertex.
“Movement amount in x direction = x coordinate of lower left vertex of button image−x coordinate of lower left vertex of imaging region”
“Y-direction movement amount = y coordinate of the lower left vertex of the button image−y coordinate of the lower left vertex of the imaging area”
左上の頂点の座標間の移動量。
「x方向の移動量=ボタン画像の左上の頂点のx座標−撮像領域の左上の頂点のx座標」
「y方向の移動量=ボタン画像の左上の頂点のy座標−撮像領域の左上の頂点のy座標」
The amount of movement between the coordinates of the top left vertex.
“Movement amount in x direction = x coordinate of upper left vertex of button image−x coordinate of upper left vertex of imaging region”
“Y-direction movement amount = y coordinate of the upper left vertex of the button image−y coordinate of the upper left vertex of the imaging region”
右下の頂点の座標間の移動量。
「x方向の移動量=ボタン画像の右下の頂点のx座標−撮像領域の右下の頂点のx座標」
「y方向の移動量=ボタン画像の右下の頂点のy座標−撮像領域の右下の頂点のy座標」
The amount of movement between the coordinates of the lower right vertex.
“Movement amount in x direction = x coordinate of lower right vertex of button image−x coordinate of lower right vertex of imaging region”
“Y-direction movement amount = y coordinate of the lower right vertex of the button image−y coordinate of the lower right vertex of the imaging region”
右上の頂点の座標間の移動量。
「x方向の移動量=ボタン画像の右上の頂点のx座標−撮像領域の右上の頂点のx座標」
「y方向の移動量=ボタン画像の右上の頂点のy座標−撮像領域の右上の頂点のy座標」
The amount of movement between the coordinates of the upper right vertex.
“Movement amount in x direction = x coordinate of upper right vertex of button image−x coordinate of upper right vertex of imaging region”
“Y-direction movement amount = y coordinate of the upper right vertex of the button image−y coordinate of the upper right vertex of the imaging area”
図7は、実施の形態2に係る撮像領域の移動を説明する図である。図7上段に示した例において、ボタン画像2の各頂点座標は、(1,9)、(1,11)、(5,9)、(5,11)である。同様に、撮像領域3の各頂点座標は、(6,4)、(6,8)、(12,4)、(12,8)である。投影画像1は、上記の各頂点座標を有するボタン画像2と撮像領域3とを含んでいる。
FIG. 7 is a diagram for explaining movement of the imaging region according to the second embodiment. In the example shown in the upper part of FIG. 7, the vertex coordinates of the
上述した状態において、移動情報算出部221eは、左下の頂点の座標間の移動量「x方向=1−6=−5」、「y方向=9−4=+5」を算出する。これにより、現在の撮像領域3をx方向に「−5」移動させ、y方向に「+5」移動させる移動量「(−5,+5)」が得られる。移動量「(−5,+5)」の距離は、「10」となる。
In the state described above, the movement
また、移動情報算出部221eは、左上の頂点の座標間の移動量「x方向=1−6=−5」、「y方向=11−8=+3」を算出する。これにより、現在の撮像領域3をx方向に「−5」移動させ、y方向に「+3」移動させる移動量「(−5,+3)」が得られる。移動量「(−5,+3)」の距離は、「8」となる。
Further, the movement
また、移動情報算出部221eは、右下の頂点の座標間の移動量「x方向=5−12=−7」、「y方向=9−4=+5」を算出する。これにより、現在の撮像領域3をx方向に「−7」移動させ、y方向に「+5」移動させる移動量「(−7,+5)」が得られる。移動量「(−7,+5)」の距離は、「12」となる。
Further, the movement
また、移動情報算出部221eは、右上の頂点の座標間の移動量「x方向=5−12=−7」、「y方向=11−8=+3」を算出する。これにより、現在の撮像領域3をx方向に「−7」移動させ、y方向に「+3」移動させる移動量「(−7,+3)」が得られる。移動量「(−7,+3)」の距離は、「10」となる。
Further, the movement
そして、移動情報算出部221eは、座標間の距離が最小となる移動量「(−5,+3)」を移動情報として算出する。算出された移動量「(−5,+3)」は、撮像制御部121fを介して撮像装置20に送信され、撮像装置20によって撮像領域3の移動が行なわれる。これらにより、図7下段に示すように、ボタン画像2の左上の頂点座標に、撮像領域3の左上の頂点座標が重なった移動結果が得られる。
Then, the movement
[実施の形態2に係る移動量算出処理フロー]
次に、図8を用いて、実施の形態2に係る移動量算出処理の流れについて説明する。図8は、実施の形態2に係る移動量算出処理の流れの例を示すフローチャートである。なお、図8は、図5に示した「ステップS103:No」の後の処理を表している。すなわち、図8は、撮像領域にボタン画像が包含されていない場合における移動量算出処理の流れを表している。
[Moving amount calculation processing flow according to Embodiment 2]
Next, the flow of the movement amount calculation process according to the second embodiment will be described with reference to FIG. FIG. 8 is a flowchart showing an example of the flow of movement amount calculation processing according to the second embodiment. FIG. 8 shows the processing after “Step S103: No” shown in FIG. That is, FIG. 8 shows the flow of the movement amount calculation process when the button image is not included in the imaging region.
図8に示すように、移動情報算出部221eは、第1座標算出部121bによって算出された頂点座標と、第2座標算出部121cによって算出された頂点座標との、対応する座標間それぞれの距離を算出する(ステップS201)。そして、移動情報算出部221eは、撮像領域とボタン画像とで、左下の頂点の座標間の距離が最小であるか否かを判定する(ステップS202)。
As illustrated in FIG. 8, the movement
このとき、移動情報算出部221eは、左下の頂点の座標間の距離が最小であると判定した場合に(ステップS202:Yes)、左下の頂点の座標間の移動量を移動情報とする(ステップS203)。一方、移動情報算出部221eは、左下の頂点の座標間の距離が最小でないと判定した場合に(ステップS202:No)、撮像領域とボタン画像とで、左上の頂点の座標間の距離が最小であるか否かを判定する(ステップS204)。
At this time, if the movement
このとき、移動情報算出部221eは、左上の頂点の座標間の距離が最小であると判定した場合に(ステップS204:Yes)、左上の頂点の座標間の移動量を移動情報とする(ステップS205)。一方、移動情報算出部221eは、左上の頂点の座標間の距離が最小でないと判定した場合に(ステップS204:No)、撮像領域とボタン画像とで、右下の頂点の座標間の距離が最小であるか否かを判定する(ステップS206)。
At this time, if the movement
このとき、移動情報算出部221eは、右下の頂点の座標間の距離が最小であると判定した場合に(ステップS206:Yes)、右下の頂点の座標間の移動量を移動情報とする(ステップS207)。一方、移動情報算出部221eは、右下の頂点の座標間の距離が最小でないと判定した場合に(ステップS206:No)、右上の頂点の座標間の移動量を移動情報とする(ステップS208)。
At this time, when the movement
[実施の形態2による効果]
本実施の形態は、撮像領域の頂点座標とボタン画像の頂点座標との、対応する頂点の座標間の距離を求め、求めた距離が最小となる座標間の移動量を、撮像領域の移動量として算出する。この結果、本実施の形態によれば、撮像領域の移動に要する処理負荷や処理時間を抑制しつつ、投影装置に対するユーザ操作の検出精度を向上させることができる。
[Effects of Embodiment 2]
In the present embodiment, the distance between the coordinates of corresponding vertices between the vertex coordinates of the imaging region and the vertex coordinates of the button image is obtained, and the movement amount between the coordinates at which the obtained distance is the minimum is determined as the movement amount of the imaging region. Calculate as As a result, according to the present embodiment, it is possible to improve the detection accuracy of the user operation on the projection apparatus while suppressing the processing load and processing time required for moving the imaging region.
(実施の形態3)
上記実施の形態1では、ユーザ操作のためのオブジェクトの重心に、撮像領域の重心を重ねるための撮像領域の移動量を算出する場合を説明した。実施の形態3では、オブジェクトの面積と、撮像領域の面積とに応じて、撮像領域の移動量を算出する場合を説明する。
(Embodiment 3)
In the first embodiment, the case has been described in which the movement amount of the imaging region for superimposing the centroid of the imaging region on the centroid of the object for user operation is calculated. In the third embodiment, a case will be described in which the movement amount of the imaging region is calculated according to the area of the object and the area of the imaging region.
[実施の形態3に係る装置構成]
図9を用いて、実施の形態3に係る装置構成を説明する。図9は、実施の形態3に係る装置構成例を示す機能ブロック図である。実施の形態3では、実施の形態1と同様の構成については同一の符号を付し、同様の構成については詳細な説明を省略する場合がある。具体的には、以下に示す包含判定部321d、移動情報算出部321e、面積判定部321g以外の機能及び構成、処理は実施の形態1と同様である。
[Apparatus configuration according to Embodiment 3]
The apparatus configuration according to the third embodiment will be described with reference to FIG. FIG. 9 is a functional block diagram showing a device configuration example according to the third embodiment. In the third embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and detailed description of the same components may be omitted. Specifically, functions, configurations, and processes other than the inclusion determination unit 321d, the movement information calculation unit 321e, and the
図9に示すように、撮像装置20は、撮像部21を有する。また、投影装置30は、投影部31を有する。制御装置300は、記憶部110と、制御部320とを有する。これらのうち、記憶部110は、撮像画像記憶部111を有する。制御部320は、画像検出部121aと、第1座標算出部121bと、第2座標算出部121cと、包含判定部321dと、移動情報算出部321eと、撮像制御部121fと、面積判定部321gとを有する。また、制御部320は、操作検出部122aと、投影制御部122bとを有する。
As illustrated in FIG. 9, the
包含判定部321dは、撮像領域が一致画像を包含しているか否かを判定する。より具体的には、包含判定部321dは、第1座標算出部121bによって算出された現在の撮像領域の各頂点座標と、第2座標算出部121cによって算出されたボタン画像の各頂点座標とから、現在の撮像領域がボタン画像を包含しているか否かを判定する。そして、包含判定部321dは、現在の撮像領域がボタン画像を包含しているか否かの判定結果を、面積判定部321gに対して通知する。
The inclusion determination unit 321d determines whether or not the imaging region includes a matching image. More specifically, the inclusion determination unit 321d determines from the vertex coordinates of the current imaging area calculated by the first coordinate
面積判定部321gは、撮像領域の面積が一致画像の面積よりも小さいか否かを判定する。より具体的には、面積判定部321gは、包含判定部321dから判定結果を受け付ける。このとき、面積判定部321gは、現在の撮像領域がボタン画像を包含していないと判定された場合に、第1座標算出部121bによって算出された現在の撮像領域の各頂点座標から、現在の撮像領域の面積を算出する。また、面積判定部321gは、現在の撮像領域がボタン画像を包含していないと判定された場合に、第2座標算出部121bによって算出されたボタン画像の各頂点座標から、ボタン画像の面積を算出する。そして、面積判定部321gは、現在の撮像領域の面積とボタン画像の面積との大きさを比較し、比較結果を移動情報算出部321eに対して通知する。
The
移動情報算出部321eは、撮像領域を移動させるための移動情報を算出する。より具体的には、移動情報算出部321eは、面積判定部321gから判定結果を受け付ける。このとき、移動情報算出部321eは、現在の撮像領域の面積がボタン画像の面積よりも小さいと判定された場合に、第1座標算出部121bによって算出された現在の撮像領域の各頂点座標から、現在の撮像領域の重心となる座標を算出する。また、移動情報算出部321eは、現在の撮像領域の面積がボタン画像の面積よりも小さいと判定された場合に、第2座標算出部121cによって算出されたボタン画像の各頂点座標から、ボタン画像の重心となる座標を算出する。
The movement information calculation unit 321e calculates movement information for moving the imaging region. More specifically, the movement information calculation unit 321e receives a determination result from the
そして、移動情報算出部321eは、現在の撮像領域の重心となる座標から、ボタン画像の重心となる座標への移動量を、移動情報として算出する。なお、移動情報算出部321eは、現在の撮像領域がボタン画像を包含していると判定されていれば、撮像領域を移動させなくてもユーザ操作を受け付けることが可能であるため、移動量を「0」とする移動情報を算出する。 Then, the movement information calculation unit 321e calculates, as movement information, the amount of movement from the coordinates serving as the center of gravity of the current imaging region to the coordinates serving as the center of gravity of the button image. Note that the movement information calculation unit 321e can accept a user operation without moving the imaging area if it is determined that the current imaging area includes a button image. The movement information set to “0” is calculated.
また、移動情報算出部321eは、現在の撮像領域の面積がボタン画像の面積よりも大きいと判定された場合に、撮像領域の各頂点座標とボタン画像の各頂点座標との対応する座標間で、距離が最小となる移動量を算出する。すなわち、移動情報算出部321eは、実施の形態2で説明したように、撮像領域の移動量が最小となる移動情報を算出する。その後、移動情報算出部321eは、算出した移動量を撮像制御部121fに対して通知する。なお、現在の撮像領域の面積がボタン画像の面積よりも大きいと判定された場合であっても、ボタン画像の重心となる座標に、現在の撮像領域の重心となる座標を重ねるための移動量を算出しても良い。
In addition, when it is determined that the area of the current imaging region is larger than the area of the button image, the movement information calculation unit 321e determines whether the coordinates of the vertex coordinates of the imaging region and the vertex coordinates of the button image are corresponding. The amount of movement that minimizes the distance is calculated. That is, the movement information calculation unit 321e calculates movement information that minimizes the movement amount of the imaging region, as described in the second embodiment. Thereafter, the movement information calculation unit 321e notifies the
図10は、実施の形態3に係る撮像領域の移動を説明する図である。なお、図10では、撮像領域の面積がボタン画像の面積よりも小さい場合を例に挙げて説明する。図10上段に示した例において、ボタン画像2の各頂点座標は、(1,9)、(1,11)、(5,9)、(5,11)である。同様に、撮像領域3の各頂点座標は、(8,5)、(8,7)、(10,5)、(10,7)である。投影画像1は、上記の各頂点座標を有するボタン画像2と撮像領域3とを含んでいる。
FIG. 10 is a diagram for explaining the movement of the imaging region according to the third embodiment. In FIG. 10, a case where the area of the imaging region is smaller than the area of the button image will be described as an example. In the example shown in the upper part of FIG. 10, the vertex coordinates of the
上述した状態において、移動情報算出部321eは、撮像領域3の各頂点座標から、現在の撮像領域3の重心となる座標(9,6)を算出する。図10において、撮像領域3の重心となる座標は、黒四角で表している。また、移動情報算出部321eは、ボタン画像2の各頂点座標から、ボタン画像2の重心となる座標(3,10)を算出する。図10において、ボタン画像2の重心となる座標は、黒丸で表している。
In the state described above, the movement information calculation unit 321e calculates the coordinates (9, 6) that are the center of gravity of the
そして、移動情報算出部321eは、現在の撮像領域3の重心となる座標(9,6)から、ボタン画像2の重心となる座標(3,10)への移動量を算出する。かかる移動量の算出では、「x方向=3−9=−6」、「y方向=10−6=+4」となるので、現在の撮像領域3を、x方向に「−6」移動させ、y方向に「+4」移動させる移動量「(−6,+4)」が得られる。その後、撮像制御部121fは、現在の撮像領域3をx方向に「−6」移動させ、y方向に「+4」移動させるための移動量「(−6,+4)」を撮像装置20に対して送信する。これらにより、図10下段に示すように、ボタン画像2の重心となる座標に、撮像領域3の重心となる座標が重なった移動結果が得られる。
Then, the movement information calculation unit 321e calculates the movement amount from the coordinates (9, 6) serving as the center of gravity of the
[実施の形態3に係る移動量算出処理フロー]
次に、図11を用いて、実施の形態3に係る移動量算出処理の流れについて説明する。図11は、実施の形態3に係る移動量算出処理の流れの例を示すフローチャートである。なお、図11は、図5に示した「ステップS103:No」の後の処理を表している。すなわち、図11は、撮像領域にボタン画像が包含されていない場合における移動量算出処理の流れを表している。
[Moving amount calculation processing flow according to Embodiment 3]
Next, the flow of the movement amount calculation process according to the third embodiment will be described with reference to FIG. FIG. 11 is a flowchart illustrating an example of a flow of a movement amount calculation process according to the third embodiment. FIG. 11 shows the processing after “Step S103: No” shown in FIG. That is, FIG. 11 shows the flow of the movement amount calculation process when the button image is not included in the imaging region.
図11に示すように、面積判定部321gは、第1座標算出部121bによって算出された現在の撮像領域の各頂点座標から、現在の撮像領域の面積を算出するとともに、第2座標算出部121cによって算出されたボタン画像の各頂点座標から、ボタン画像の面積を算出する(ステップS301)。そして、面積判定部321gは、現在の撮像領域の面積がボタン画像の面積よりも大きいか否かを判定する(ステップS302)。
As illustrated in FIG. 11, the
このとき、面積判定部321gによって撮像領域の面積がボタン画像の面積よりも小さいと判定された場合に(ステップS302:No)、移動情報算出部321eは、第1座標算出部121bによって算出された頂点座標から、現在の撮像領域の重心となる座標を算出する(ステップS303)。また、移動情報算出部321eは、第2座標算出部121cによって算出された頂点座標から、ボタン画像の重心となる座標を算出する(ステップS304)。
At this time, when the
そして、移動情報算出部321eは、現在の撮像領域の重心となる座標から、ボタン画像の重心となる座標への移動量を算出する(ステップS305)。なお、面積判定部321gによって撮像領域の面積がボタン画像の面積よりも大きいと判定された場合に(ステップS302:Yes)、移動情報算出部321eは、実施の形態2と同様に、撮像領域とボタン画像との対応する頂点の座標間の距離が最小となる移動量を、移動情報として算出する(ステップS306)。
Then, the movement information calculation unit 321e calculates the movement amount from the coordinates serving as the center of gravity of the current imaging region to the coordinates serving as the center of gravity of the button image (step S305). When the
[実施の形態3による効果]
本実施の形態は、撮像領域の面積がボタン画像の面積よりも小さい場合に、撮像領域の重心となる座標から、ボタン画像の重心となる座標への移動量を、撮像領域の移動量として算出する。この結果、本実施の形態によれば、撮像領域の面積がボタン画像の面積よりも小さい場合であっても、ボタン画像の重心に撮像領域の重心を重ねることで、ユーザ操作の操作性を向上させることができる。
[Effects of Embodiment 3]
In the present embodiment, when the area of the imaging region is smaller than the area of the button image, the movement amount from the coordinates serving as the center of gravity of the imaging region to the coordinates serving as the center of gravity of the button image is calculated as the movement amount of the imaging region. To do. As a result, according to the present embodiment, even when the area of the imaging region is smaller than the area of the button image, the operability of the user operation is improved by overlaying the center of gravity of the imaging region on the center of gravity of the button image. Can be made.
(実施の形態4)
上記実施の形態1では、投影画像にユーザ操作のためのオブジェクトが単数存在する場合の、撮像領域の移動量の算出について説明した。実施の形態4では、投影画像にユーザ操作のためのオブジェクトが複数存在する場合の、撮像領域の移動量の算出について説明する。
(Embodiment 4)
In the first embodiment, the calculation of the movement amount of the imaging region when there is a single object for user operation in the projection image has been described. In the fourth embodiment, calculation of the moving amount of the imaging region when there are a plurality of objects for user operation in the projection image will be described.
[実施の形態4に係る装置構成]
図12を用いて、実施の形態4に係る装置構成を説明する。図12は、実施の形態4に係る装置構成例を示す機能ブロック図である。実施の形態4では、実施の形態1と同様の構成については同一の符号を付し、同様の構成については詳細な説明を省略する場合がある。具体的には、以下に示す移動情報算出部421e以外の機能及び構成、処理は実施の形態1と同様である。
[Apparatus Configuration According to Embodiment 4]
The apparatus configuration according to the fourth embodiment will be described with reference to FIG. FIG. 12 is a functional block diagram illustrating a device configuration example according to the fourth embodiment. In the fourth embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and detailed description of the same components may be omitted. Specifically, functions, configurations, and processes other than the movement
本実施の形態に係る画像検出部121aによる処理では、複数の撮像画像内において、操作対象画像と一致する一致画像を複数検出することにより、投影画像内に配置されたボタン画像を複数検出するものとする。また、本実施の形態に係る包含判定部121dによる処理では、現在の撮像領域がボタン画像全てを包含しているか否かが判定される。また、本実施の形態に係る第2座標算出部121cによる処理では、ボタン画像全ての頂点座標全てが算出される。
In the processing by the
図12に示すように、撮像装置20は、撮像部21を有する。また、投影装置30は、投影部31を有する。制御装置400は、記憶部110と、制御部420とを有する。これらのうち、記憶部110は、撮像画像記憶部111を有する。制御部420は、画像検出部121aと、第1座標算出部121bと、第2座標算出部121cと、包含判定部121dと、移動情報算出部421eと、撮像制御部121fとを有する。また、制御部420は、操作検出部122aと、投影制御部122bとを有する。
As illustrated in FIG. 12, the
移動情報算出部421eは、撮像領域を移動させるための移動情報を算出する。より具体的には、移動情報算出部421eは、画像検出部121aによって複数のボタン画像が検出された旨を受け付けるとともに、包含判定部121dから判定結果を受け付ける。このとき、移動情報算出部421eは、現在の撮像領域がボタン画像全てを包含していないと判定された場合に、第1座標算出部121bによって算出された現在の撮像領域の各頂点座標から、現在の撮像領域の重心となる座標を算出する。
The movement
また、移動情報算出部421eは、現在の撮像領域がボタン画像全てを包含していないと判定された場合に、複数のボタン画像から任意のボタン画像を選択する。そして、移動情報算出部421eは、第2座標算出部121cによって算出されたボタン画像全ての各頂点座標から、選択した任意のボタン画像の重心となる座標を算出する。
In addition, the movement
続いて、移動情報算出部421eは、現在の撮像領域の重心となる座標から、選択した任意のボタン画像の重心となる座標への移動量を、移動情報として算出する。なお、移動情報算出部421eは、現在の撮像領域がボタン画像全てを包含していると判定された場合に、撮像領域を移動させなくてもユーザ操作を受け付けることが可能であるため、移動量を「0」とする移動情報を算出する。その後、移動情報算出部421eは、算出した移動量を撮像制御部121fに対して通知する。
Subsequently, the movement
図13は、実施の形態4に係る撮像領域の移動を示す図である。図13上段に示した例において、投影画像1は、ボタン画像2a、ボタン画像2b、ボタン画像2c及び撮像領域3を含んでいる。また、撮像領域3は、何れのボタン画像も包含していない。
FIG. 13 is a diagram illustrating movement of the imaging region according to the fourth embodiment. In the example shown in the upper part of FIG. 13, the
上述した状態において、移動情報算出部421eは、第1座標算出部121bによって算出された現在の撮像領域3の各頂点座標から、現在の撮像領域3の重心となる座標を算出する。そして、移動情報算出部421eは、複数のボタン画像のうち、ボタン画像2cを選択する。そして、移動情報算出部421eは、第2座標算出部121cによって算出されたボタン画像2cの頂点座標から、ボタン画像2cの重心となる座標を算出する。続いて、移動情報算出部421eは、現在の撮像領域3の重心となる座標から、ボタン画像2cの重心となる座標への移動量を、移動情報として算出する。これらにより、図13下段に示すように、ボタン画像2cの重心となる座標に、撮像領域3の重心となる座標が重なった移動結果が得られる。
In the state described above, the movement
[実施の形態4に係る移動量算出処理フロー]
次に、図14を用いて、実施の形態4に係る移動量算出処理の流れについて説明する。図14は、実施の形態4に係る移動量算出処理の流れの例を示すフローチャートである。
[Moving amount calculation processing flow according to Embodiment 4]
Next, the flow of the movement amount calculation process according to the fourth embodiment will be described with reference to FIG. FIG. 14 is a flowchart illustrating an example of the flow of a movement amount calculation process according to the fourth embodiment.
図14に示すように、第1座標算出部121bは、現在の撮像領域の頂点座標を算出する(ステップS401)。また、第2座標算出部121cは、ボタン画像全ての頂点座標を算出する(ステップS402)。そして、包含判定部121dは、現在の撮像領域にボタン画像全てが包含されているか否かを判定する(ステップS403)。
As shown in FIG. 14, the first coordinate
このとき、包含判定部121dによって全てが包含されていないと判定された場合に(ステップS403:No)、移動情報算出部421eは、第1座標算出部121bによって算出された頂点座標から、現在の撮像領域の重心となる座標を算出する(ステップS404)。また、移動情報算出部421eは、複数のボタン画像から任意のボタン画像を選択し、第2座標算出部121cによって算出された頂点座標から、選択したボタン画像の重心となる座標を算出する(ステップS405)。
At this time, when it is determined by the
そして、移動情報算出部421eは、現在の撮像領域の重心となる座標から、選択したボタン画像の重心となる座標への移動量を算出する(ステップS406)。なお、包含判定部121dによって全てが包含されていると判定された場合に(ステップS403:Yes)、移動情報算出部421eは、現在の撮像領域を移動させなくても良いため、移動量を「0」とする(ステップS407)。
Then, the movement
[実施の形態4による効果]
本実施の形態は、撮像領域の重心となる座標から、複数のボタン画像のうち、選択した任意のボタン画像の重心となる座標への移動量を算出し、算出した移動量により撮像領域が選択したボタン画像に重なるように移動させる制御を撮像装置に対して行なう。この結果、本実施の形態によれば、投影装置に対するユーザ操作の検出精度を向上させることができる。
[Effects of Embodiment 4]
In the present embodiment, the movement amount from the coordinates serving as the center of gravity of the imaging region to the coordinates serving as the center of gravity of any selected button image among a plurality of button images is calculated, and the imaging region is selected based on the calculated movement amount. The image pickup apparatus is controlled to move so as to overlap the button image. As a result, according to the present embodiment, it is possible to improve the detection accuracy of user operations on the projection apparatus.
(実施の形態5)
上記実施の形態4では、投影画像にユーザ操作のためのオブジェクトが複数存在するときに、任意のオブジェクトを選択し、選択した任意のオブジェクトの重心となる座標に、撮像領域の重心となる座標を重ねるための移動量を算出する場合を説明した。実施の形態5では、投影画像にユーザ操作のためのオブジェクトが複数存在するときに、撮像領域のより小さい移動量を算出する場合を説明する。
(Embodiment 5)
In the fourth embodiment, when there are a plurality of objects for user operation in the projected image, an arbitrary object is selected, and the coordinates that are the center of gravity of the selected arbitrary object are set to the coordinates that are the center of gravity of the imaging area. The case where the movement amount for overlapping is calculated has been described. In the fifth embodiment, a case will be described in which a smaller movement amount of the imaging region is calculated when there are a plurality of objects for user operation in the projection image.
[実施の形態5に係る装置構成]
図15を用いて、実施の形態5に係る装置構成を説明する。図15は、実施の形態5に係る装置構成例を示す機能ブロック図である。実施の形態5では、実施の形態1と同様の構成については同一の符号を付し、同様の構成については詳細な説明を省略する場合がある。具体的には、以下に示す移動情報算出部521e以外の機能及び構成、処理は実施の形態1と同様である。
[Apparatus Configuration According to Embodiment 5]
The apparatus configuration according to the fifth embodiment will be described with reference to FIG. FIG. 15 is a functional block diagram showing a device configuration example according to the fifth embodiment. In the fifth embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and detailed description of the same components may be omitted. Specifically, functions, configurations, and processes other than the movement
本実施の形態に係る画像検出部121aによる処理では、複数の撮像画像内において、操作対象画像と一致する一致画像を複数検出することにより、投影画像内に配置されたボタン画像を複数検出するものとする。また、本実施の形態に係る包含判定部121dによる処理では、現在の撮像領域がボタン画像全てを包含しているか否かが判定される。また、本実施の形態に係る第2座標算出部121cによる処理では、ボタン画像全ての頂点座標全てが算出される。
In the processing by the
図15に示すように、撮像装置20は、撮像部21を有する。また、投影装置30は、投影部31を有する。制御装置500は、記憶部110と、制御部520とを有する。これらのうち、記憶部110は、撮像画像記憶部111を有する。制御部520は、画像検出部121aと、第1座標算出部121bと、第2座標算出部121cと、包含判定部121dと、移動情報算出部521eと、撮像制御部121fとを有する。また、制御部520は、操作検出部122aと、投影制御部122bとを有する。
As illustrated in FIG. 15, the
移動情報算出部521eは、撮像領域を移動させるための移動情報を算出する。より具体的には、移動情報算出部521eは、画像検出部121aによって複数のボタン画像が検出された旨を受け付けるとともに、包含判定部121dから判定結果を受け付ける。このとき、移動情報算出部521eは、現在の撮像領域がボタン画像全てを包含していないと判定された場合に、第1座標算出部121bによって算出された現在の撮像領域の各頂点座標から、現在の撮像領域の重心となる座標を算出する。また、移動情報算出部521eは、現在の撮像領域がボタン画像全てを包含していないと判定された場合に、第2座標算出部121cによって算出されたボタン画像全ての各頂点座標から、ボタン画像全てについて重心となる座標を算出する。
The movement
そして、移動情報算出部521eは、現在の撮像領域の重心となる座標と、ボタン画像それぞれの重心となる座標との距離を算出する。続いて、移動情報算出部521eは、算出した距離のうち最小となる距離に対応する移動量を、移動情報として算出する。なお、移動情報算出部521eは、現在の撮像領域がボタン画像全てを包含していると判定された場合に、撮像領域を移動させなくてもユーザ操作を受け付けることが可能であるため、移動量を「0」とする移動情報を算出する。その後、移動情報算出部521eは、算出した移動量を撮像制御部121fに対して通知する。
Then, the movement
図16は、実施の形態5に係る撮像領域の移動を示す図である。図16上段に示した例において、投影画像1は、ボタン画像2a、ボタン画像2b、ボタン画像2c及び撮像領域3を含んでいる。また、撮像領域3は、何れのボタン画像も包含していない。
FIG. 16 is a diagram illustrating movement of the imaging region according to the fifth embodiment. In the example shown in the upper part of FIG. 16, the projected
上述した状態において、移動情報算出部521eは、第1座標算出部121bによって算出された現在の撮像領域3の各頂点座標から、現在の撮像領域3の重心となる座標を算出する。また、移動情報算出部521eは、第2座標算出部121cによって算出されたボタン画像2a、ボタン画像2b及びボタン画像2cそれぞれの各頂点座標から、ボタン画像2a、ボタン画像2b及びボタン画像2cそれぞれの重心となる座標を算出する。
In the state described above, the movement
そして、移動情報算出部521eは、現在の撮像領域3の重心となる座標と、ボタン画像2a、ボタン画像2b及びボタン画像2cそれぞれの重心となる座標との距離を算出する。続いて、移動情報算出部521eは、算出した距離を比較し、最小となる距離に対応する移動量を移動情報として算出する。これらにより、図16下段に示すように、ボタン画像2bの重心となる座標に、撮像領域3の重心となる座標が重なった移動結果が得られる。
Then, the movement
[実施の形態5に係る移動量算出処理フロー]
次に、図17を用いて、実施の形態5に係る移動量算出処理の流れについて説明する。図17は、実施の形態5に係る移動量算出処理の流れの例を示すフローチャートである。なお、図17は、図14に示した「ステップS403:No」の後の処理を表している。すなわち、図17は、撮像領域にボタン画像全てが包含されていない場合における移動量算出処理の流れを表している。
[Moving Amount Calculation Processing Flow According to Embodiment 5]
Next, the flow of the movement amount calculation process according to the fifth embodiment will be described with reference to FIG. FIG. 17 is a flowchart illustrating an example of the flow of a movement amount calculation process according to the fifth embodiment. Note that FIG. 17 illustrates processing subsequent to “Step S403: No” illustrated in FIG. That is, FIG. 17 shows the flow of the movement amount calculation process when all the button images are not included in the imaging region.
図17に示すように、移動情報算出部521eは、第1座標算出部121bによって算出された頂点座標から、現在の撮像領域の重心となる座標を算出する(ステップS501)。また、移動情報算出部521eは、第2座標算出部121cによって算出された各頂点座標から、ボタン画像それぞれの重心となる座標を算出する(ステップS502)。
As illustrated in FIG. 17, the movement
そして、移動情報算出部521eは、現在の撮像領域の重心となる座標と、ボタン画像それぞれの重心となる座標との距離を算出する(ステップS503)。続いて、移動情報算出部521eは、算出した距離を比較し、最小となる距離に対応する移動量を移動情報として算出する(ステップS504)。
Then, the movement
[実施の形態5による効果]
本実施の形態は、撮像領域の重心となる座標と、複数のボタン画像それぞれの重心となる座標との距離を求め、最小となる距離に対応する移動量を移動情報として算出する。この結果、本実施の形態によれば、撮像領域の移動に要する処理負荷や処理時間を抑制しつつ、投影装置に対するユーザ操作の検出精度を向上させることができる。
[Effects of Embodiment 5]
In the present embodiment, the distance between the coordinates serving as the center of gravity of the imaging region and the coordinates serving as the center of gravity of each of the plurality of button images is obtained, and the movement amount corresponding to the minimum distance is calculated as movement information. As a result, according to the present embodiment, it is possible to improve the detection accuracy of the user operation on the projection apparatus while suppressing the processing load and processing time required for moving the imaging region.
(実施の形態6)
上記実施の形態4では、投影画像にユーザ操作のためのオブジェクトが複数存在するときに、任意のオブジェクトを選択し、選択した任意のオブジェクトの重心となる座標に、撮像領域の重心となる座標を重ねるための移動量を算出する場合を説明した。実施の形態6では、投影画像にユーザ操作のためのオブジェクトが複数存在するときに、オブジェクトの面積に応じて撮像領域の移動量を算出する場合を説明する。
(Embodiment 6)
In the fourth embodiment, when there are a plurality of objects for user operation in the projected image, an arbitrary object is selected, and the coordinates that are the center of gravity of the selected arbitrary object are set to the coordinates that are the center of gravity of the imaging area. The case where the movement amount for overlapping is calculated has been described. In the sixth embodiment, a case where the movement amount of the imaging region is calculated according to the area of the object when there are a plurality of objects for user operation in the projection image will be described.
[実施の形態6に係る装置構成]
図18を用いて、実施の形態6に係る装置構成を説明する。図18は、実施の形態6に係る装置構成例を示す機能ブロック図である。実施の形態6では、実施の形態1と同様の構成については同一の符号を付し、同様の構成については詳細な説明を省略する場合がある。具体的には、以下に示す移動情報算出部621e以外の機能及び構成、処理は実施の形態1と同様である。
[Apparatus configuration according to Embodiment 6]
The apparatus configuration according to the sixth embodiment will be described with reference to FIG. FIG. 18 is a functional block diagram showing a device configuration example according to the sixth embodiment. In the sixth embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and detailed description of the same components may be omitted. Specifically, functions, configurations, and processes other than the movement
本実施の形態に係る画像検出部121aによる処理では、複数の撮像画像内において、操作対象画像と一致する一致画像を複数検出することにより、投影画像内に配置されたボタン画像を複数検出するものとする。また、本実施の形態に係る包含判定部121dによる処理では、現在の撮像領域がボタン画像全てを包含しているか否かが判定される。また、本実施の形態に係る第2座標算出部121cによる処理では、ボタン画像全ての頂点座標全てが算出される。
In the processing by the
図18に示すように、撮像装置20は、撮像部21を有する。また、投影装置30は、投影部31を有する。制御装置600は、記憶部110と、制御部620とを有する。これらのうち、記憶部110は、撮像画像記憶部111を有する。制御部620は、画像検出部121aと、第1座標算出部121bと、第2座標算出部121cと、包含判定部121dと、移動情報算出部621eと、撮像制御部121fとを有する。また、制御部620は、操作検出部122aと、投影制御部122bとを有する。
As illustrated in FIG. 18, the
移動情報算出部621eは、撮像領域を移動させるための移動情報を算出する。より具体的には、移動情報算出部621eは、画像検出部121aによって複数のボタン画像が検出された旨を受け付けるとともに、包含判定部121dから判定結果を受け付ける。このとき、移動情報算出部621eは、現在の撮像領域がボタン画像全てを包含していないと判定された場合に、第1座標算出部121bによって算出された現在の撮像領域の各頂点座標から、現在の撮像領域の重心となる座標を算出する。また、移動情報算出部621eは、現在の撮像領域がボタン画像全てを包含していないと判定された場合に、第2座標算出部121cによって算出されたボタン画像全ての各頂点座標から、ボタン画像全ての面積を算出する。
The movement
そして、移動情報算出部621eは、算出したボタン画像全ての面積を比較し、面積が最大となるボタン画像を選択する。続いて、移動情報算出部621eは、選択したボタン画像の重心となる座標を算出する。その後、移動情報算出部621eは、現在の撮像領域の重心となる座標から、選択したボタン画像の重心となる座標への移動量を、移動情報として算出する。なお、移動情報算出部621eは、現在の撮像領域がボタン画像全てを包含していると判定された場合に、撮像領域を移動させなくてもユーザ操作を受け付けることが可能であるため、移動量を「0」とする移動情報を算出する。そして、移動情報算出部621eは、算出した移動量を撮像制御部121fに対して通知する。
Then, the movement
図19は、実施の形態6に係る撮像領域の移動を示す図である。図19上段に示した例において、投影画像1は、ボタン画像2a、ボタン画像2b、ボタン画像2c及び撮像領域3を含んでいる。また、撮像領域3は、何れのボタン画像も包含していない。
FIG. 19 is a diagram illustrating movement of the imaging region according to the sixth embodiment. In the example shown in the upper part of FIG. 19, the
上述した状態において、移動情報算出部621eは、第1座標算出部121bによって算出された現在の撮像領域3の各頂点座標から、現在の撮像領域3の重心となる座標を算出する。また、移動情報算出部621eは、第2座標算出部121cによって算出されたボタン画像2a、ボタン画像2b及びボタン画像2cそれぞれの各頂点座標から、ボタン画像2a、ボタン画像2b及びボタン画像2cそれぞれの面積を算出する。
In the state described above, the movement
そして、移動情報算出部621eは、算出した面積が最大となるボタン画像2cを選択する。続いて、移動情報算出部621eは、選択したボタン画像2cの重心となる座標を算出する。その後、移動情報算出部621eは、現在の撮像領域3の重心となる座標から、ボタン画像2cの重心となる座標への移動量を、移動情報として算出する。これらにより、図19下段に示すように、ボタン画像2cの重心となる座標に、撮像領域3の重心となる座標が重なった移動結果が得られる。
Then, the movement
なお、複数のボタン画像のうち、面積が最大となるボタン画像に移動させなくても良く、何れのボタン画像に移動させるかは、任意に変更可能である。 Of the plurality of button images, the button image having the largest area may not be moved, and which button image is moved can be arbitrarily changed.
[実施の形態6に係る移動量算出処理フロー]
次に、図20を用いて、実施の形態6に係る移動量算出処理の流れについて説明する。図20は、実施の形態6に係る移動量算出処理の流れの例を示すフローチャートである。なお、図20は、図14に示した「ステップS403:No」の後の処理を表している。すなわち、図20は、撮像領域にボタン画像全てが包含されていない場合における移動量算出処理の流れを表している。
[Moving amount calculation processing flow according to Embodiment 6]
Next, the flow of the movement amount calculation process according to the sixth embodiment will be described with reference to FIG. FIG. 20 is a flowchart illustrating an example of the flow of a movement amount calculation process according to the sixth embodiment. Note that FIG. 20 illustrates processing subsequent to “Step S403: No” illustrated in FIG. That is, FIG. 20 shows the flow of the movement amount calculation process when all the button images are not included in the imaging region.
図20に示すように、移動情報算出部621eは、第2座標算出部121cによって算出された各頂点座標から、ボタン画像全ての面積を算出し、算出した面積が最大となるボタン画像を選択する(ステップS601)。そして、移動情報算出部621eは、第1座標算出部121bによって算出された各頂点座標から、現在の撮像領域の重心となる座標を算出する(ステップS602)。続いて、移動情報算出部621eは、選択したボタン画像の重心となる座標を算出する(ステップS603)。その後、移動情報算出部621eは、現在の撮像領域の重心となる座標から、選択したボタン画像の重心となる座標への移動量を算出する(ステップS604)。
As illustrated in FIG. 20, the movement
[実施の形態6による効果]
本実施の形態は、撮像領域の重心となる座標から、複数のボタン画像のうち、面積の大きさに応じて選択したボタン画像の重心となる座標への移動量を算出する。この結果、本実施の形態によれば、投影装置に対するユーザ操作の操作性及び検出精度を向上させることができる。換言すると、面積が最大となるボタン画像は投影画像内で頻繁に操作され得るものであることから、面積が最大となるボタン画像に撮像領域を重ねることで、ユーザ操作の操作性及び検出精度を向上させることができる。
[Effects of Embodiment 6]
In the present embodiment, the amount of movement from the coordinates serving as the center of gravity of the imaging region to the coordinates serving as the center of gravity of the button image selected according to the size of the area among the plurality of button images is calculated. As a result, according to the present embodiment, it is possible to improve the operability and detection accuracy of user operations on the projection apparatus. In other words, since the button image having the maximum area can be frequently operated in the projection image, the operability and detection accuracy of the user operation can be improved by overlapping the imaging region on the button image having the maximum area. Can be improved.
(実施の形態7)
上記実施の形態4では、投影画像にユーザ操作のためのオブジェクトが複数存在するときに、任意のオブジェクトを選択し、選択した任意のオブジェクトの重心となる座標に、撮像領域の重心となる座標を重ねるための移動量を算出する場合を説明した。実施の形態7では、投影画像にユーザ操作のためのオブジェクトが複数存在するときに、オブジェクトそれぞれに撮像領域を順次移動させるための移動量を算出する場合を説明する。
(Embodiment 7)
In the fourth embodiment, when there are a plurality of objects for user operation in the projected image, an arbitrary object is selected, and the coordinates that are the center of gravity of the selected arbitrary object are set to the coordinates that are the center of gravity of the imaging area. The case where the movement amount for overlapping is calculated has been described. In the seventh embodiment, a case will be described in which the amount of movement for sequentially moving the imaging region for each object is calculated when there are a plurality of objects for user operation in the projected image.
[実施の形態7に係る装置構成]
図21を用いて、実施の形態7に係る装置構成を説明する。図21は、実施の形態7に係る装置構成例を示す機能ブロック図である。実施の形態7では、実施の形態1と同様の構成については同一の符号を付し、同様の構成については詳細な説明を省略する場合がある。具体的には、以下に示す移動情報算出部721e以外の機能及び構成、処理は実施の形態1と同様である。
[Apparatus Configuration According to Embodiment 7]
The apparatus configuration according to the seventh embodiment will be described with reference to FIG. FIG. 21 is a functional block diagram illustrating an example of a device configuration according to the seventh embodiment. In the seventh embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and detailed description of the same components may be omitted. Specifically, functions, configurations, and processes other than the movement
本実施の形態に係る画像検出部121aによる処理では、複数の撮像画像内において、操作対象画像と一致する一致画像を複数検出することにより、投影画像内に配置されたボタン画像を複数検出するものとする。また、本実施の形態に係る包含判定部121dによる処理では、現在の撮像領域がボタン画像全てを包含しているか否かが判定される。また、本実施の形態に係る第2座標算出部121cによる処理では、ボタン画像全ての頂点座標全てが算出される。
In the processing by the
図21に示すように、撮像装置20は、撮像部21を有する。また、投影装置30は、投影部31を有する。制御装置700は、記憶部110と、制御部720とを有する。これらのうち、記憶部110は、撮像画像記憶部111を有する。制御部720は、画像検出部121aと、第1座標算出部121bと、第2座標算出部121cと、包含判定部121dと、移動情報算出部721eと、撮像制御部121fとを有する。また、制御部720は、操作検出部122aと、投影制御部122bとを有する。
As illustrated in FIG. 21, the
移動情報算出部721eは、撮像領域を移動させるための移動情報を算出する。より具体的には、移動情報算出部721eは、画像検出部121aによって複数のボタン画像が検出された旨を受け付けるとともに、包含判定部121dから判定結果を受け付ける。このとき、移動情報算出部721eは、現在の撮像領域がボタン画像全てを包含していないと判定された場合に、第1座標算出部121bによって算出された現在の撮像領域の各頂点座標から、現在の撮像領域の重心となる座標を算出する。
The movement
また、移動情報算出部721eは、現在の撮像領域がボタン画像全てを包含していないと判定された場合に、複数のボタン画像から任意のボタン画像を選択する。そして、移動情報算出部721eは、第2座標算出部121cによって算出されたボタン画像全ての各頂点座標から、選択した任意のボタン画像の重心となる座標を算出する。
The movement
続いて、移動情報算出部721eは、現在の撮像領域の重心となる座標から、選択した任意のボタン画像の重心となる座標への移動量を、移動情報として算出する。なお、移動情報算出部721eは、現在の撮像領域がボタン画像全てを包含していると判定された場合に、撮像領域を移動させなくてもユーザ操作を受け付けることが可能であるため、移動量を「0」とする移動情報を算出する。その後、移動情報算出部721eは、算出した移動量を撮像制御部121fに対して通知する。
Subsequently, the movement
また、移動情報算出部721eは、移動量の通知後、ユーザ操作が行なわれずに所定時間が経過した場合に、他のボタン画像を選択する。ユーザ操作が行なわれたか否かについては、操作検出部122aによってユーザ操作が検出されたか否かを判定すれば良い。つまり、ユーザ操作が行なわれた場合には、次の投影画像に切り替えられているため、次の投影画像に対する処理が開始されることになる。
In addition, the movement
そして、移動情報算出部721eは、選択した他のボタン画像の重心となる座標を算出する。続いて、移動情報算出部721eは、現在の撮像領域の重心となる座標から、選択した他のボタン画像の重心となる座標への移動量を、移動情報として算出する。ここで、現在の撮像領域の重心となる座標は、任意のボタン画像の重心となる座標と同一の状態であるため、既に算出している任意のボタン画像の重心となる座標を、現在の撮像領域の重心となる座標として利用すれば良い。その後、移動情報算出部721eは、算出した移動量を撮像制御部121fに対して通知する。このように、移動情報算出部721eは、ユーザ操作が行なわれるまでの間、所定時間ごとに、ボタン画像を順次選択していき、順次選択したボタン画像に撮像領域を重ねるための移動量を算出していく。また、選択するボタン画像が一巡した場合には、任意のボタン画像を新たに選択しても良いが、一巡目で選択した順序で撮像領域を移動させるようにすれば、移動量を再度算出しなくても良いため、処理負荷を抑制することができる。
Then, the movement
図22は、実施の形態7に係る撮像領域の移動を示す図である。図22上段に示した例において、投影画像1は、ボタン画像2a、ボタン画像2b、ボタン画像2c及び撮像領域3を含んでいる。また、撮像領域3は、何れのボタン画像も包含していない。
FIG. 22 is a diagram illustrating movement of the imaging region according to the seventh embodiment. In the example shown in the upper part of FIG. 22, the
上述した状態において、移動情報算出部721eは、第1座標算出部121bによって算出された現在の撮像領域3の各頂点座標から、現在の撮像領域3の重心となる座標を算出する。また、移動情報算出部721eは、複数のボタン画像のうち、ボタン画像2cを選択する。そして、移動情報算出部721eは、第2座標算出部121cによって算出されたボタン画像2cの頂点座標から、ボタン画像2cの重心となる座標を算出する。続いて、移動情報算出部721eは、現在の撮像領域3の重心となる座標から、ボタン画像2cの重心となる座標への移動量を、移動情報として算出する。これらにより、図22中段上方に示すように、ボタン画像2cの重心となる座標に、撮像領域3の重心となる座標が重なった移動結果が得られる。
In the state described above, the movement
撮像領域3の移動後、移動情報算出部721eは、ユーザ操作が行なわれずに所定時間が経過した場合に、複数のボタン画像のうち、ボタン画像2aを選択する。そして、移動情報算出部721eは、第2座標算出部121cによって算出されたボタン画像2aの頂点座標から、ボタン画像2aの重心となる座標を算出する。続いて、移動情報算出部721eは、ボタン画像2cの重心となる座標と同一となっている現在の撮像領域3の重心となる座標から、ボタン画像2aの重心となる座標への移動量を、移動情報として算出する。これらにより、図22中段下方に示すように、ボタン画像2aの重心となる座標に、撮像領域3の重心となる座標が重なった移動結果が得られる。
After the movement of the
撮像領域3の移動後、移動情報算出部721eは、ユーザ操作が行なわれずに所定時間が経過した場合に、複数のボタン画像のうち、ボタン画像2bを選択する。そして、移動情報算出部721eは、第2座標算出部121cによって算出されたボタン画像2bの頂点座標から、ボタン画像2bの重心となる座標を算出する。続いて、移動情報算出部721eは、ボタン画像2aの重心となる座標と同一となっている現在の撮像領域3の重心となる座標から、ボタン画像2bの重心となる座標への移動量を、移動情報として算出する。これらにより、図22下段に示すように、ボタン画像2bの重心となる座標に、撮像領域3の重心となる座標が重なった移動結果が得られる。
After movement of the
このように、ユーザ操作が行なわれなければ、所定時間の経過ごとに、ボタン画像を順次選択していき、撮像領域を移動させる処理を実行する。また、上記のように、ボタン画像の選択が一巡するまでは、一度選択したボタン画像を選択しないようにすることが好ましい。 As described above, if no user operation is performed, a button image is sequentially selected every time a predetermined time elapses, and processing for moving the imaging region is executed. Further, as described above, it is preferable not to select the selected button image until the selection of the button image is completed.
[実施の形態7に係る移動量算出処理フロー]
次に、図23を用いて、実施の形態7に係る移動量算出処理の流れについて説明する。図23は、実施の形態7に係る移動量算出処理の流れの例を示すフローチャートである。なお、図23は、図14に示した「ステップS403:No」の後の処理を表している。すなわち、図23は、撮像領域にボタン画像全てが包含されていない場合における移動量算出処理の流れを表している。
[Moving amount calculation processing flow according to Embodiment 7]
Next, the flow of the movement amount calculation process according to the seventh embodiment will be described with reference to FIG. FIG. 23 is a flowchart illustrating an example of the flow of a movement amount calculation process according to the seventh embodiment. FIG. 23 illustrates processing subsequent to “Step S403: No” illustrated in FIG. That is, FIG. 23 shows the flow of the movement amount calculation process when all the button images are not included in the imaging region.
図23に示すように、移動情報算出部721eは、第1座標算出部121bによって算出された頂点座標から、現在の撮像領域の重心となる座標を算出する(ステップS701)。また、移動情報算出部721eは、複数のボタン画像から任意のボタン画像を選択し、第2座標算出部121cによって算出された頂点座標から、選択したボタン画像の重心となる座標を算出する(ステップS702)。
As illustrated in FIG. 23, the movement
そして、移動情報算出部721eは、現在の撮像領域の重心となる座標から、選択したボタン画像の重心となる座標への移動量を算出する(ステップS703)。その後、移動情報算出部721eは、所定時間が経過したか否かを判定する(ステップS704)。このとき、移動情報算出部721eは、所定時間が経過したと判定した場合に(ステップS704:Yes)、操作検出部122aによるユーザ操作の検出をもとに、ユーザ操作が行なわれたか否かを判定する(ステップS705)。一方、移動情報算出部721eは、所定時間が経過していないと判定した場合に(ステップS704:No)、所定時間が経過するまで待機する。
Then, the movement
また、移動情報算出部721eは、ユーザ操作が行なわれていないと判定した場合に(ステップS705:No)、再度ステップS701の処理を実行する。但し、ステップS701における処理では、2回目以降に撮像領域の移動量を算出する場合、現在の撮像領域と重なっているボタン画像の重心となる座標を利用する。また、ステップS702における処理では、選択するボタン画像が一巡した場合、重心を再度算出しなくても良い。一方、移動情報算出部721eは、ユーザ操作が行なわれたと判定した場合に(ステップS705:Yes)、移動量算出処理を終了する。
If the movement
[実施の形態7による効果]
本実施の形態は、撮像領域の重心となる座標から、順次選択したボタン画像の重心となる座標への移動量を算出する。この結果、本実施の形態によれば、投影装置に対するユーザ操作の検出精度を向上させることができる。
[Effects of Embodiment 7]
In the present embodiment, the amount of movement from the coordinates serving as the center of gravity of the imaging region to the coordinates serving as the center of gravity of the sequentially selected button images is calculated. As a result, according to the present embodiment, it is possible to improve the detection accuracy of user operations on the projection apparatus.
(実施の形態7の変形例)
上記実施の形態7では、投影画像にユーザ操作のためのオブジェクトが複数存在するときに、オブジェクトそれぞれに撮像領域を順次移動させるための移動量を算出する場合を説明した。実施の形態7の変形例では、投影画像にユーザ操作のためのオブジェクトが複数存在するときに、オブジェクトの優先順位にしたがって、撮像領域を順次移動させるための移動量を算出する場合を説明する。なお、実施の形態7の変形例では、図21に示した実施の形態7に係る装置構成の機能ブロックを用いて説明する。
(Modification of Embodiment 7)
In the seventh embodiment, a case has been described in which when there are a plurality of objects for user operation in the projected image, the amount of movement for sequentially moving the imaging region for each object is calculated. In the modification of the seventh embodiment, a case will be described in which when a plurality of objects for user operation are present in the projection image, a movement amount for sequentially moving the imaging region is calculated according to the priority order of the objects. In addition, in the modification of Embodiment 7, it demonstrates using the functional block of the apparatus structure which concerns on Embodiment 7 shown in FIG.
図24は、実施の形態7の変形例に係る撮像領域の移動を示す図である。図24上段に示した例において、投影画像1は、ボタン画像2a、ボタン画像2b、ボタン画像2c及び撮像領域3を含んでいる。また、撮像領域3は、何れのボタン画像も包含していない。また、図24上段に示した円形で囲まれた数字は、各ボタン画像の優先順位を表している。図24の例において、優先順位は、ボタン画像2c、ボタン画像2b、ボタン画像2aの順に高い。
FIG. 24 is a diagram illustrating movement of the imaging region according to a modification of the seventh embodiment. In the example shown in the upper part of FIG. 24, the
上述した状態において、移動情報算出部721eは、第1座標算出部121bによって算出された現在の撮像領域3の各頂点座標から、現在の撮像領域3の重心となる座標を算出する。また、移動情報算出部721eは、撮像領域3を移動させる、オブジェクトの優先順位の情報を取得する。かかる優先順位の情報は、記憶部110に記憶されていても良いし、外部の記憶装置やサーバ装置等から取得されても良い。また、優先順位の情報は、操作対象画像(オブジェクトに対応)と優先順位とが対応付けられている。これにより、画像検出部121aによって検出された一致画像(オブジェクトに対応)の優先順位を認識できるため、投影画像1内に配置されたオブジェクトの優先順位も認識できる。
In the state described above, the movement
そして、移動情報算出部721eは、取得した優先順位にしたがって、複数のボタン画像のうち、ボタン画像2cを選択する。続いて、移動情報算出部721eは、第2座標算出部121cによって算出されたボタン画像2cの頂点座標から、ボタン画像2cの重心となる座標を算出する。その後、移動情報算出部721eは、現在の撮像領域3の重心となる座標から、ボタン画像2cの重心となる座標への移動量を、移動情報として算出する。これらにより、図24中段上方示すように、ボタン画像2cの重心となる座標に、撮像領域3の重心となる座標が重なった移動結果が得られる。
Then, the movement
撮像領域3の移動後、移動情報算出部721eは、ユーザ操作が行なわれずに所定時間が経過した場合に、複数のボタン画像のうち、ボタン画像2cの次に優先順位の高いボタン画像2bを選択する。そして、移動情報算出部721eは、第2座標算出部121cによって算出されたボタン画像2bの頂点座標から、ボタン画像2bの重心となる座標を算出する。続いて、移動情報算出部721eは、ボタン画像2cの重心となる座標と同一となっている現在の撮像領域3の重心となる座標から、ボタン画像2bの重心となる座標への移動量を、移動情報として算出する。これらにより、図24中段下方に示すように、ボタン画像2bの重心となる座標に、撮像領域3の重心となる座標が重なった移動結果が得られる。
After the movement of the
撮像領域3の移動後、移動情報算出部721eは、ユーザ操作が行なわれずに所定時間が経過した場合に、複数のボタン画像のうち、ボタン画像2bの次に優先順位の高いボタン画像2aを選択する。そして、移動情報算出部721eは、第2座標算出部121cによって算出されたボタン画像2aの頂点座標から、ボタン画像2aの重心となる座標を算出する。続いて、移動情報算出部721eは、ボタン画像2bの重心となる座標と同一となっている現在の撮像領域3の重心となる座標から、ボタン画像2aの重心となる座標への移動量を、移動情報として算出する。これらにより、図24下段に示すように、ボタン画像2aの重心となる座標に、撮像領域3の重心となる座標が重なった移動結果が得られる。
After the movement of the
このように、ユーザ操作が行なわれなければ、所定時間の経過ごとに、優先順位にしたがってボタン画像を選択していき、撮像領域を移動させる処理を実行する。優先順位は、ユーザ操作が行なわれる頻度の高いオブジェクトに対して高く設定すれば良い。これにより、ユーザ操作が行なわれる頻度の高いオブジェクトが、撮像領域の最初の移動対象となるので、投影画像の切り替えも迅速に行なわれることになる。 As described above, if no user operation is performed, a button image is selected according to the priority order every time a predetermined time elapses, and processing for moving the imaging region is executed. What is necessary is just to set a high priority with respect to the object with high frequency with which user operation is performed. As a result, an object that is frequently operated by a user is an object to be moved first in the imaging region, so that the projection image can be switched quickly.
[実施の形態7の変形例に係る移動量算出処理フロー]
次に、図25を用いて、実施の形態7の変形例に係る移動量算出処理の流れについて説明する。図25は、実施の形態7の変形例に係る移動量算出処理の流れの例を示すフローチャートである。なお、図25は、図14に示した「ステップS403:No」の後の処理を表している。すなわち、図25は、撮像領域にボタン画像全てが包含されていない場合における移動量算出処理の流れを表している。
[Moving Amount Calculation Processing Flow According to Modification of Embodiment 7]
Next, the flow of movement amount calculation processing according to a modification of the seventh embodiment will be described with reference to FIG. FIG. 25 is a flowchart illustrating an example of the flow of a movement amount calculation process according to a modification of the seventh embodiment. Note that FIG. 25 illustrates processing subsequent to “Step S403: No” illustrated in FIG. In other words, FIG. 25 shows the flow of the movement amount calculation process when all the button images are not included in the imaging region.
図25に示すように、移動情報算出部721eは、第1座標算出部121bによって算出された頂点座標から、現在の撮像領域の重心となる座標を算出する(ステップS801)。また、移動情報算出部721eは、オブジェクトの優先順位を取得し、取得した優先順位にしたがってボタン画像を選択して、第2座標算出部121cによって算出された頂点座標から、選択したボタン画像の重心となる座標を算出する(ステップS802)。
As illustrated in FIG. 25, the movement
そして、移動情報算出部721eは、現在の撮像領域の重心となる座標から、選択したボタン画像の重心となる座標への移動量を算出する(ステップS803)。その後、移動情報算出部721eは、所定時間が経過したか否かを判定する(ステップS804)。このとき、移動情報算出部721eは、所定時間が経過したと判定した場合に(ステップS804:Yes)、操作検出部122aによるユーザ操作の検出をもとに、ユーザ操作が行なわれたか否かを判定する(ステップS805)。一方、移動情報算出部721eは、所定時間が経過していないと判定した場合に(ステップS804:No)、所定時間が経過するまで待機する。
Then, the movement
また、移動情報算出部721eは、ユーザ操作が行なわれていないと判定した場合に(ステップS805:No)、再度ステップS801の処理を実行する。但し、ステップS801における処理では、2回目以降に撮像領域の移動量を算出する場合、現在の撮像領域と重なっているボタン画像の重心となる座標を利用する。また、ステップS802における処理では、選択するボタン画像が一巡した場合、重心を再度算出しなくても良い。一方、移動情報算出部721eは、ユーザ操作が行なわれたと判定した場合に(ステップS805:Yes)、移動量算出処理を終了する。
Further, when the movement
[実施の形態7の変形例による効果]
本実施の形態は、撮像領域の重心となる座標から、優先順位にしたがって順次選択したボタン画像の重心となる座標への移動量を算出する。この結果、本実施の形態によれば、ユーザニーズのより高いオブジェクトを優先して操作可能にすることができるので、投影装置に対するユーザ操作の操作性を向上させることができる。
[Effects of Modification of Embodiment 7]
In the present embodiment, the amount of movement from the coordinates serving as the center of gravity of the imaging region to the coordinates serving as the center of gravity of the button images sequentially selected according to the priority order is calculated. As a result, according to the present embodiment, it is possible to preferentially operate objects with higher user needs, so that the operability of user operations with respect to the projection apparatus can be improved.
(実施の形態8)
上記実施の形態4〜7では、投影画像にユーザ操作のためのオブジェクトが複数存在する場合の、撮像領域の移動量の算出について種々説明した。実施の形態8では、撮像領域の移動量の算出を、種々の中から設定する場合を説明する。
(Embodiment 8)
In the above fourth to seventh embodiments, various calculation of the movement amount of the imaging region when there are a plurality of objects for user operation in the projection image has been described. In the eighth embodiment, a case will be described in which the calculation of the movement amount of the imaging region is set from various types.
[実施の形態8に係る装置構成]
図26を用いて、実施の形態8に係る装置構成を説明する。図26は、実施の形態8に係る装置構成例を示す機能ブロック図である。実施の形態8では、実施の形態1と同様の構成については同一の符号を付し、同様の構成については詳細な説明を省略する場合がある。具体的には、以下に示す移動設定情報記憶部812、移動情報算出部821e、移動設定部821h以外の機能及び構成、処理は実施の形態1と同様である。
[Apparatus Configuration according to Embodiment 8]
The apparatus configuration according to the eighth embodiment will be described with reference to FIG. FIG. 26 is a functional block diagram showing a device configuration example according to the eighth embodiment. In the eighth embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and detailed description of the same components may be omitted. Specifically, functions, configurations, and processes other than the movement setting
本実施の形態に係る画像検出部121aによる処理では、複数の撮像画像内において、操作対象画像と一致する一致画像を複数検出することにより、投影画像内に配置されたボタン画像を複数検出するものとする。また、本実施の形態に係る包含判定部121dによる処理では、現在の撮像領域がボタン画像全てを包含しているか否かが判定される。また、本実施の形態に係る第2座標算出部121cによる処理では、ボタン画像全ての頂点座標全てが算出される。
In the processing by the
図26に示すように、撮像装置20は、撮像部21を有する。また、投影装置30は、投影部31を有する。制御装置800は、記憶部810と、制御部820とを有する。これらのうち、記憶部810は、撮像画像記憶部111と、移動設定情報記憶部812とを有する。
As illustrated in FIG. 26, the
移動設定情報記憶部812は、撮像領域の移動に関する設定事項を表す移動設定情報を記憶する。より具体的には、移動設定情報記憶部812は、撮像領域に最も近いボタン画像に撮像領域を移動させる移動設定情報、最も大きいボタン画像に撮像領域を移動させる移動設定情報、撮像領域を任意のボタン画像に順次移動させる移動設定情報、又は、優先順位にしたがって選択されたボタン画像に撮像領域を移動させる移動設定情報を記憶する。すなわち、本実施の形態では、上記何れかの移動設定情報が移動設定情報記憶部812に記憶されており、移動設定情報に対応する移動量算出処理を実行する。また、移動設定情報が移動設定情報記憶部812に記憶されていなければ、任意のボタン画像に撮像領域を移動させるための移動量算出処理が実行される。各移動設定情報に対応する移動量算出処理は、上記実施の形態5〜7で説明したものである。また、任意のボタン画像に撮像領域を移動させるための移動量算出処理は、上記実施の形態4で説明したものである。
The movement setting
制御部820は、画像検出部121aと、第1座標算出部121bと、第2座標算出部121cと、包含判定部121dと、移動情報算出部821eと、撮像制御部121fと、移動設定部821hとを有する。また、制御部820は、操作検出部122aと、投影制御部122bとを有する。
The
移動設定部821hは、撮像領域の移動に関する設定事項を設定する。より具体的には、移動設定部821hは、撮像領域の移動について、撮像領域に最も近いボタン画像に撮像領域を移動させる、最も大きいボタン画像に撮像領域を移動させる、撮像領域を任意のボタン画像に順次移動させる、又は、優先順位にしたがって選択されたボタン画像に撮像領域を移動させる、等の移動設定情報を受け付ける。ユーザは、制御装置800にネットワークを介して接続された端末等から、事前に設定を行なう。そして、移動設定部821hは、受け付けた移動設定情報を移動設定情報記憶部812に格納する。
The
移動情報算出部821eは、移動設定情報に応じて、撮像領域を移動させるための移動情報を算出する。より具体的には、移動情報算出部821eは、移動設定情報記憶部812から移動設定情報を取得する。そして、移動情報算出部821eは、取得した移動設定情報に応じて、撮像領域に最も近いボタン画像に撮像領域を移動させるための移動量、最も大きいボタン画像に撮像領域を移動させるための移動量、撮像領域を任意のボタン画像に順次移動させるための移動量、又は、優先順位にしたがって選択されたボタン画像に撮像領域を移動させるための移動量を、適宜算出する。各移動量の算出については、実施の形態5〜7と同様である。また、移動設定情報が移動設定情報記憶部812に存在しない場合には、実施の形態4と同様に、任意のボタン画像に撮像領域を移動させるための移動量が算出される。
The movement
[実施の形態8に係る移動量算出処理フロー]
次に、図27を用いて、実施の形態8に係る移動量算出処理の流れについて説明する。図27は、実施の形態8に係る移動量算出処理の流れの例を示すフローチャートである。なお、図27は、図14に示した「ステップS403:No」の後の処理を表している。すなわち、図27は、撮像領域にボタン画像全てが包含されていない場合における移動量の算出処理の流れを表している。
[Movement amount calculation processing flow according to Embodiment 8]
Next, the flow of the movement amount calculation process according to the eighth embodiment will be described with reference to FIG. FIG. 27 is a flowchart illustrating an example of the flow of movement amount calculation processing according to the eighth embodiment. FIG. 27 illustrates a process after “Step S403: No” illustrated in FIG. In other words, FIG. 27 shows the flow of the movement amount calculation process when all the button images are not included in the imaging region.
図27に示すように、移動情報算出部821eは、移動設定情報記憶部812に移動設定情報が存在するか否かを判定する(ステップS901)。このとき、移動情報算出部821eは、移動設定情報が存在しないと判定した場合に(ステップS901:No)、任意のボタン画像を選択し、現在の撮像領域の重心となる座標から、選択した任意のボタン画像の重心となる座標への移動量を算出する(ステップS902)。
As illustrated in FIG. 27, the movement
一方、移動情報算出部821eは、移動設定情報が存在すると判定した場合に(ステップS901:Yes)、撮像領域に最も近いボタン画像に撮像領域を移動させる移動設定情報であるか否かを判定する(ステップS903)。このとき、移動情報算出部821eは、撮像領域に最も近いボタン画像に撮像領域を移動させる移動設定情報であると判定した場合に(ステップS903:Yes)、該移動設定情報に応じた移動量算出処理を実行し、移動量を算出する(ステップS904)。
On the other hand, when the movement
一方、移動情報算出部821eは、撮像領域に最も近いボタン画像に撮像領域を移動させる移動設定情報でないと判定した場合に(ステップS903:No)、最も大きいボタン画像に撮像領域を移動させる移動設定情報であるか否かを判定する(ステップS905)。このとき、移動情報算出部821eは、最も大きいボタン画像に撮像領域を移動させる移動設定情報であると判定した場合に(ステップS905:Yes)、該移動設定情報に応じた移動量算出処理を実行し、移動量を算出する(ステップS906)。
On the other hand, when the movement
一方、移動情報算出部821eは、最も大きいボタン画像に撮像領域を移動させる移動設定情報でないと判定した場合に(ステップS905:No)、撮像領域を任意のボタン画像に順次移動させる移動設定情報であるか否かを判定する(ステップS907)。このとき、移動情報算出部821eは、撮像領域を任意のボタン画像に順次移動させる移動設定情報であると判定した場合に(ステップS907:Yes)、該移動設定情報に応じた移動量算出処理を実行し、移動量を算出する(ステップS908)。
On the other hand, when it is determined that the movement
一方、移動情報算出部821eは、撮像領域を任意のボタン画像に順次移動させる移動設定情報でないと判定した場合に(ステップS907:No)、優先順位にしたがって選択されたボタン画像に撮像領域を移動させる移動設定情報であるから、該移動設定情報に応じた移動量算出処理を実行し、移動量を算出する(ステップS909)。
On the other hand, if the movement
[実施の形態8による効果]
本実施の形態は、撮像領域の移動量算出処理を、何れの処理で実行すれば良いかがわかる移動設定情報にしたがって実行する。この結果、本実施の形態によれば、ユーザの所望する移動量算出処理が実行されるので、投影装置に対するユーザ操作の操作性を向上させることができる。
[Effects of Embodiment 8]
In the present embodiment, the movement amount calculation process of the imaging region is executed according to movement setting information that indicates which process should be executed. As a result, according to the present embodiment, since the movement amount calculation process desired by the user is executed, the operability of the user operation on the projection apparatus can be improved.
(実施の形態9)
さて、これまで本発明に係る投影システム10の実施の形態について説明したが、上述した実施の形態以外にも種々の異なる形態にて実施されて良いものである。そこで、(1)撮像領域のフィードバック、(2)オブジェクトのフィードバック、(3)撮像領域やオブジェクトの形、(4)構成、(5)プログラム、について異なる実施の形態を説明する。
(Embodiment 9)
Although the embodiment of the
(1)撮像領域のフィードバック
上記実施の形態では、撮像領域の面積がボタン画像の面積よりも小さい場合に、ユーザ操作を容易にするために、ボタン画像の重心となる座標に、撮像領域の重心となる座標を重ねるための移動量を算出する場合を説明した。本実施の形態では、ユーザ操作を容易にするために、撮像領域をフィードバックしても良い。
(1) Feedback of imaging region In the above embodiment, when the area of the imaging region is smaller than the area of the button image, the center of gravity of the imaging region is set to the coordinates that are the center of gravity of the button image in order to facilitate user operation. A case has been described in which the amount of movement for overlapping the coordinates to be calculated is calculated. In the present embodiment, the imaging area may be fed back in order to facilitate user operation.
図28は、撮像領域のフィードバックの例を示す図である。図28に示した例において、投影画像1は、ボタン画像2と、撮像領域3とを含んでいる。また、図28に示した例は、撮像領域3を移動させたときの状態を表している。図28に示すように、撮像領域3を移動させたときに、該撮像領域3は、ユーザ操作の検出が可能な範囲をユーザに認識させるために、太枠等で表示される。このような投影画像1は、投影制御部122bによって生成される。
FIG. 28 is a diagram illustrating an example of feedback of the imaging region. In the example shown in FIG. 28, the projected
上述してきた実施の形態では、撮像領域をユーザに意識させずにユーザ操作の検出精度を向上させていた。但し、撮像領域の面積がボタン画像の面積よりも小さい場合には、ボタン画像の領域全てでユーザ操作を検出することができない。このため、本実施の形態では、撮像領域を表示させた投影画像を生成することで、撮像領域をユーザに意識させユーザ操作の検出精度を向上させる。なお、撮像領域の表示は、枠を表示させるだけでなく、撮像領域を点滅させる等、現在の撮像領域をユーザに認識させることが可能であれば、どのような手法を採用しても良い。 In the embodiment described above, the detection accuracy of the user operation is improved without making the user aware of the imaging region. However, when the area of the imaging area is smaller than the area of the button image, the user operation cannot be detected in the entire area of the button image. For this reason, in the present embodiment, by generating a projection image in which the imaging region is displayed, the user is made aware of the imaging region and the detection accuracy of the user operation is improved. Note that any method may be used for displaying the imaging region as long as the current imaging region can be recognized by the user, such as blinking the imaging region, as well as displaying a frame.
(2)オブジェクトのフィードバック
上記実施の形態では、投影画像にユーザ操作のためのオブジェクトが複数存在する場合の、撮像領域の移動量の算出について説明した。本実施の形態では、ユーザ操作を容易にするために、オブジェクトをフィードバックしても良い。
(2) Object Feedback In the above embodiment, calculation of the movement amount of the imaging region when there are a plurality of objects for user operation in the projection image has been described. In the present embodiment, the object may be fed back in order to facilitate the user operation.
図29は、オブジェクトのフィードバックの例を示す図である。図29に示した例において、投影画像1は、ボタン画像2aと、ボタン画像2bと、ボタン画像2cと、撮像領域3とを含んでいる。また、図29に示した例は、撮像領域3を移動させたときの状態を表している。図29に示すように、撮像領域3を移動させたときに、該撮像領域3に含まれるボタン画像2cは、他のボタン画像とは異なる色に変化させる等、所定の表示に変化させる。このような投影画像1は、投影制御部122bによって生成される。
FIG. 29 is a diagram illustrating an example of object feedback. In the example shown in FIG. 29, the
上述してきた実施の形態では、現在の撮像領域をユーザに意識させずにユーザ操作の操作性を向上させていた。但し、投影画像内に複数のオブジェクトが存在する場合には、何れのオブジェクトが操作可能なオブジェクトであるかをユーザが認識することが困難である。このため、本実施の形態では、現在の撮像領域に含まれるオブジェクトの色を変化させた投影画像を生成することで、操作可能なオブジェクトをユーザに認識させユーザ操作の操作性を向上させる。なお、オブジェクトの表示の変化は、色を変化させるだけでなく、オブジェクトを点滅させたり透過させたりする等、現在の操作可能なオブジェクトをユーザに認識させることが可能であれば、どのような手法を採用しても良い。また、現在の撮像領域に含まれるオブジェクトとは、オブジェクトの配置や撮像領域の大きさによっては複数のオブジェクトが含まれる可能性もあるため、詳細には、撮像領域の移動先となっているオブジェクトである。 In the embodiment described above, the operability of the user operation is improved without making the user aware of the current imaging area. However, when there are a plurality of objects in the projection image, it is difficult for the user to recognize which object is an operable object. For this reason, in the present embodiment, by generating a projection image in which the color of an object included in the current imaging region is changed, the user can recognize an operable object and improve the operability of the user operation. In addition to changing the color, any change in the display of the object can be done by any method as long as the user can recognize the current operable object, such as blinking or transmitting the object. May be adopted. In addition, the object included in the current imaging area may include a plurality of objects depending on the arrangement of the object and the size of the imaging area. It is.
(3)撮像領域やオブジェクトの形
上記実施の形態では、投影画像や撮像領域、オブジェクト等の形を方形であることとして説明した。本実施の形態では、これらが方形でなくても良い。例えば、投影画像や撮像領域、オブジェクト等が円形であれば、該円形を含む最小の方形を採用する。つまり、投影画像や撮像領域、オブジェクト等を含む最小の方形を利用して、上述してきた移動量算出処理を実行すれば良い。但し、撮像領域については、方形ではない撮像領域を含む最小の方形を採用すると、撮像領域自体が大きくなりすぎる可能性もあり、実際にはユーザ操作を検出できない領域まで含むことになるため、撮像領域に含まれる最大の方形を採用しても良い。また、オブジェクトは、ボタン画像だけでなく、コンボボックスやグループボックス等、他のオブジェクトであっても良い。
(3) Shape of Imaging Area and Object In the above embodiment, the shape of the projected image, the imaging area, the object, and the like has been described as being a square. In the present embodiment, these do not have to be square. For example, if a projected image, an imaging region, an object, or the like is a circle, the smallest square including the circle is adopted. That is, the above-described movement amount calculation process may be executed using a minimum square including a projection image, an imaging region, an object, and the like. However, as for the imaging area, if the smallest square including an imaging area that is not a square is adopted, the imaging area itself may become too large. The maximum square included in the region may be adopted. The object may be not only a button image but also other objects such as a combo box and a group box.
(4)構成
また、上記文書中や図面中等で示した処理手順、制御手順、具体的名称、各種のデータやパラメタ等を含む情報は、特記する場合を除いて任意に変更することができる。また、図示した各装置の各構成要素は、機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、各装置の分散又は統合の具体的形態は、図示のものに限られず、その全部又は一部を各種の負担や使用状況等に応じて、任意の単位で機能的又は物理的に、分散又は統合することができる。
(4) Configuration In addition, information including processing procedures, control procedures, specific names, various data, parameters, and the like shown in the document and drawings can be arbitrarily changed unless otherwise specified. Further, each component of each illustrated apparatus is functionally conceptual, and does not necessarily need to be physically configured as illustrated. In other words, the specific form of distribution or integration of each device is not limited to the one shown in the figure, and all or a part thereof is functionally or physically distributed in arbitrary units according to various burdens or usage conditions. Or they can be integrated.
上記実施の形態では、撮像装置20、投影装置30及び制御装置100を有する投影システム10として説明したが、これらの装置は、任意の単位で機能的又は物理的に、分散又は統合することができる。例えば、撮像装置20、投影装置30及び制御装置100を一体型の装置として実現しても良いし、制御装置100及び投影装置30のみを一体型の装置として実現しても良く、これらの組み合わせは変更可能である。また、制御装置100は、ネットワークに接続されたサーバ装置上に配置しても良い。
In the above embodiment, the
また、上記実施の形態では、複数のオブジェクトが存在する場合に、現在の撮像領域にボタン画像全てが包含されているか否かを判定し、ボタン画像全てが包含されていなければ、撮像領域の移動量を算出することとして説明した。本実施の形態では、ボタン画像全てが包含されていなくても、撮像領域の移動量を「0」としても良い。例えば、撮像領域に含まれるボタン画像の数や、ボタン画像全ての数に対する撮像領域に含まれるボタン画像の数の割合等が一定以上であれば、撮像領域の移動量を「0」としても良い。また、上述したように、各実施の形態は、内容を矛盾させない範囲で適宜組み合わせることが可能である。 In the above embodiment, when there are a plurality of objects, it is determined whether or not all the button images are included in the current imaging region. If all the button images are not included, the imaging region is moved. It was described as calculating the amount. In the present embodiment, the movement amount of the imaging region may be set to “0” even if all the button images are not included. For example, if the number of button images included in the imaging region, the ratio of the number of button images included in the imaging region to the total number of button images, or the like is greater than or equal to a certain value, the movement amount of the imaging region may be set to “0”. . Further, as described above, the embodiments can be appropriately combined within a range in which the contents are not contradictory.
(5)プログラム
また、制御装置100で実行される制御プログラムは、一つの様態として、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録されて提供される。また、制御装置100で実行される制御プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、制御装置100で実行される制御プログラムをインターネット等のネットワーク経由で提供又は配布するように構成しても良い。また、制御プログラムを、ROM等に予め組み込んで提供するように構成しても良い。
(5) Program The control program executed by the
制御装置100で実行される制御プログラムは、上述した各部(画像検出部121a、第1座標算出部121b、第2座標算出部121c、包含判定部121d、移動情報算出部121e、撮像制御部121f、操作検出部122a、投影制御部122b)を含むモジュール構成となっており、実際のハードウェアとしてはCPU(プロセッサ)が記憶媒体から制御プログラムを読み出して実行することにより、上記各部が主記憶装置上にロードされ、画像検出部121a、第1座標算出部121b、第2座標算出部121c、包含判定部121d、移動情報算出部121e、撮像制御部121f、操作検出部122a、投影制御部122bが主記憶装置上に生成されるようになっている。
The control program executed by the
10 投影システム
20 撮像装置
21 撮像部
30 投影装置
31 投影部
100 制御装置
110 記憶部
111 撮像画像記憶部
120 制御部
121a 画像検出部
121b 第1座標算出部
121c 第2座標算出部
121d 包含判定部
121e 移動情報算出部
121f 撮像制御部
122a 操作検出部
122b 投影制御部
DESCRIPTION OF
Claims (20)
撮像可能な領域を表す撮像領域を撮像し、撮像画像を生成する撮像部と、
ユーザの操作対象となる画像を表す操作対象画像に一致する前記投影画像内の画像を表す一致画像を検出する画像検出部と、
前記投影画像に対する前記撮像領域の位置を特定する第1座標を算出する第1座標算出部と、
前記投影画像に対する前記一致画像の位置を特定する第2座標を算出する第2座標算出部と、
前記第1座標と前記第2座標とから、前記撮像領域を移動させるための移動情報を算出する移動情報算出部と、
前記移動情報にしたがって、前記撮像領域を移動させるように、前記撮像部による撮像を制御する撮像制御部と、
前記撮像画像を用いて、前記一致画像に対するユーザ操作を検出する操作検出部と、
検出された前記ユーザ操作に応じて投影画像を生成し、生成した投影画像の前記投影部による投影を制御する投影制御部と
を有することを特徴とする投影システム。 A projection unit that projects a projection image on a projection surface;
An imaging unit that captures an imaging region representing an imageable region and generates a captured image;
An image detection unit for detecting a coincidence image representing an image in the projection image that coincides with an operation target image representing an image to be operated by a user;
A first coordinate calculation unit that calculates first coordinates for specifying the position of the imaging region with respect to the projection image;
A second coordinate calculation unit for calculating a second coordinate for specifying the position of the coincidence image with respect to the projection image;
A movement information calculation unit that calculates movement information for moving the imaging region from the first coordinates and the second coordinates;
An imaging control unit that controls imaging by the imaging unit so as to move the imaging region according to the movement information;
An operation detection unit that detects a user operation on the matching image using the captured image;
A projection system, comprising: a projection control unit configured to generate a projection image in accordance with the detected user operation and to control projection of the generated projection image by the projection unit.
前記移動情報算出部は、前記撮像領域が前記一致画像を包含していると判定された場合に、前記移動情報を算出することを特徴とする請求項1〜3の何れか一つに記載の投影システム。 An inclusion determination unit that determines whether or not the imaging region includes the coincidence image from the first coordinates and the second coordinates;
The said movement information calculation part calculates the said movement information, when it determines with the said imaging region including the said coincidence image, The movement information calculation part as described in any one of Claims 1-3 characterized by the above-mentioned. Projection system.
前記撮像領域が前記一致画像を包含していないと判定された場合に、前記第1座標と前記第2座標とから、前記撮像領域の面積が前記一致画像の面積よりも小さいか否かを判定する面積判定部と、をさらに有し、
前記移動情報算出部は、前記撮像領域の面積が前記一致画像の面積よりも小さいと判定された場合に、前記移動情報を算出することを特徴とする請求項1又は2に記載の投影システム。 An inclusion determination unit that determines whether the imaging region includes the coincidence image from the first coordinate and the second coordinate;
When it is determined that the imaging region does not include the coincidence image, it is determined from the first coordinate and the second coordinate whether the area of the imaging region is smaller than the area of the coincidence image. And an area determination unit to
The projection system according to claim 1, wherein the movement information calculation unit calculates the movement information when it is determined that an area of the imaging region is smaller than an area of the coincidence image.
前記移動情報算出部は、前記移動設定に応じて前記移動情報を算出することを特徴とする請求項7〜11の何れか一つに記載の投影システム。 It further has a movement setting unit for performing movement settings representing setting items related to movement of the imaging region,
The projection system according to claim 7, wherein the movement information calculation unit calculates the movement information according to the movement setting.
前記投影画像に対する、撮像可能な領域を表す撮像領域の位置を特定する第1座標を算出する第1座標算出ステップと、
前記投影画像に対する、前記一致画像の位置を特定する第2座標を算出する第2座標算出ステップと、
前記第1座標と前記第2座標とから、前記撮像領域を移動させるための移動情報を算出する移動情報算出ステップと、
前記移動情報にしたがって、前記撮像領域を移動させるように、撮像装置による撮像を制御する撮像制御ステップと、
前記撮像装置によって撮像された撮像画像を用いて、前記一致画像に対するユーザ操作を検出する操作検出ステップと、
検出された前記ユーザ操作に応じて投影画像を生成し、生成した投影画像の投影装置による投影を制御する投影制御ステップと
をコンピュータに実行させるための制御プログラム。 An image detection step for detecting a coincidence image representing an image in a projection image that coincides with an operation target image representing an image to be operated by a user;
A first coordinate calculating step for calculating a first coordinate for specifying a position of an imaging region representing an imageable region with respect to the projection image;
A second coordinate calculating step for calculating a second coordinate for specifying the position of the coincidence image with respect to the projection image;
A movement information calculation step of calculating movement information for moving the imaging region from the first coordinates and the second coordinates;
An imaging control step of controlling imaging by an imaging device so as to move the imaging area according to the movement information;
An operation detection step of detecting a user operation on the matching image using a captured image captured by the imaging device;
A control program for causing a computer to execute a projection control step of generating a projection image in accordance with the detected user operation and controlling projection of the generated projection image by a projection device.
前記移動情報算出ステップは、前記撮像領域が前記一致画像を包含していると判定された場合に、前記移動情報を算出することを特徴とする請求項14〜16の何れか一つに記載の制御プログラム。 An inclusion determination step for determining whether or not the imaging region includes the coincidence image from the first coordinates and the second coordinates;
The movement information calculation step calculates the movement information when it is determined that the imaging area includes the coincidence image. Control program.
前記撮像領域が前記一致画像を包含していないと判定された場合に、前記第1座標と前記第2座標とから、前記撮像領域の面積が前記一致画像の面積よりも小さいか否かを判定する面積判定ステップと、をさらに実行させ、
前記移動情報算出ステップは、前記撮像領域の面積が前記一致画像の面積よりも小さいと判定された場合に、前記移動情報を算出することを特徴とする請求項14又は15に記載の制御プログラム。 An inclusion determination step of determining whether or not the imaging region includes the coincidence image from the first coordinates and the second coordinates;
When it is determined that the imaging region does not include the coincidence image, it is determined from the first coordinate and the second coordinate whether the area of the imaging region is smaller than the area of the coincidence image. And further performing an area determination step to perform,
The control program according to claim 14 or 15, wherein the movement information calculation step calculates the movement information when it is determined that an area of the imaging region is smaller than an area of the coincidence image.
前記投影画像に対する、撮像可能な領域を表す撮像領域の位置を特定する第1座標を算出する第1座標算出部と、
前記投影画像に対する、前記一致画像の位置を特定する第2座標を算出する第2座標算出部と、
前記第1座標と前記第2座標とから、前記撮像領域を移動させるための移動情報を算出する移動情報算出部と、
前記移動情報にしたがって、前記撮像領域を移動させるように、撮像装置による撮像を制御する撮像制御部と、
前記撮像装置によって撮像された撮像画像を用いて、前記一致画像に対するユーザ操作を検出する操作検出部と、
検出された前記ユーザ操作に応じて投影画像を生成し、生成した投影画像の投影装置による投影を制御する投影制御部と
を有することを特徴とする制御装置。 An image detection unit for detecting a coincidence image representing an image in a projection image that coincides with an operation target image representing an image to be operated by a user;
A first coordinate calculation unit that calculates a first coordinate for specifying a position of an imaging region representing an imageable region with respect to the projection image;
A second coordinate calculation unit for calculating a second coordinate for specifying the position of the coincidence image with respect to the projection image;
A movement information calculation unit that calculates movement information for moving the imaging region from the first coordinates and the second coordinates;
An imaging control unit that controls imaging by the imaging device so as to move the imaging region according to the movement information;
An operation detection unit that detects a user operation on the matching image using a captured image captured by the imaging device;
And a projection control unit configured to generate a projection image according to the detected user operation and control projection of the generated projection image by the projection apparatus.
前記投影画像に対する、撮像可能な領域を表す撮像領域の位置を特定する第1座標を算出する第1座標算出ステップと、
前記投影画像に対する、前記一致画像の位置を特定する第2座標を算出する第2座標算出ステップと、
前記第1座標と前記第2座標とから、前記撮像領域を移動させるための移動情報を算出する移動情報算出ステップと、
前記移動情報にしたがって、前記撮像領域を移動させるように、撮像装置による撮像を制御する撮像制御ステップと、
前記撮像装置によって撮像された撮像画像を用いて、前記一致画像に対するユーザ操作を検出する操作検出ステップと、
検出された前記ユーザ操作に応じて投影画像を生成し、生成した投影画像の投影装置による投影を制御する投影制御ステップと
を含むことを特徴とする制御方法。 An image detection step for detecting a coincidence image representing an image in a projection image that coincides with an operation target image representing an image to be operated by a user;
A first coordinate calculating step for calculating a first coordinate for specifying a position of an imaging region representing an imageable region with respect to the projection image;
A second coordinate calculating step for calculating a second coordinate for specifying the position of the coincidence image with respect to the projection image;
A movement information calculation step of calculating movement information for moving the imaging region from the first coordinates and the second coordinates;
An imaging control step of controlling imaging by an imaging device so as to move the imaging area according to the movement information;
An operation detection step of detecting a user operation on the matching image using a captured image captured by the imaging device;
A projection control step of generating a projection image in response to the detected user operation and controlling projection of the generated projection image by a projection apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013020700A JP2014153769A (en) | 2013-02-05 | 2013-02-05 | Projection system, control program, control device, and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013020700A JP2014153769A (en) | 2013-02-05 | 2013-02-05 | Projection system, control program, control device, and control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014153769A true JP2014153769A (en) | 2014-08-25 |
Family
ID=51575626
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013020700A Pending JP2014153769A (en) | 2013-02-05 | 2013-02-05 | Projection system, control program, control device, and control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014153769A (en) |
-
2013
- 2013-02-05 JP JP2013020700A patent/JP2014153769A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6040564B2 (en) | Image processing apparatus, projection control method, and program | |
JP5087532B2 (en) | Terminal device, display control method, and display control program | |
US10649313B2 (en) | Electronic apparatus and method for controlling same | |
JP6075122B2 (en) | System, image projection apparatus, information processing apparatus, information processing method, and program | |
JP2015018296A (en) | Display controller, program, and recording medium | |
JP6079695B2 (en) | Image display photographing system, photographing device, display device, image display and photographing method, and computer program | |
US9229585B2 (en) | Projection system, image generating method, and computer-readable storage medium | |
JP6307626B2 (en) | Operation device, information processing device including operation device, and operation reception method for information processing device | |
JP2013235374A (en) | Image processing apparatus, and projection control method and program | |
JPWO2012147959A1 (en) | Input device, input method, and program | |
JP6765884B2 (en) | Information processing equipment, information processing methods and programs | |
US11099728B2 (en) | Electronic apparatus, control method, and non-transitory computer readable medium for displaying a display target | |
JP2011081557A (en) | Information processor, method of processing information, and program | |
US20220264062A1 (en) | Display method, information processing device, and non-transitory computer-readable storage medium storing program | |
JP2014178791A (en) | Projector, projection system, image generation program, and image generation method | |
JP2014153769A (en) | Projection system, control program, control device, and control method | |
US20200257396A1 (en) | Electronic device and control method therefor | |
JP5929376B2 (en) | Information processing apparatus, operator determination program, and projection system | |
US20130127841A1 (en) | Three-dimensional (3d) image display method and apparatus for 3d imaging and displaying contents according to start or end of operation | |
JP2014160410A (en) | Projection system, image generation program, information processor and image generation method | |
JP2013037420A (en) | Content display system, content display control method, content display control device, and program | |
JP7276097B2 (en) | Information processing device operating method, program, and information processing device | |
US11036287B2 (en) | Electronic device, control method for electronic device, and non-transitory computer readable medium | |
JP2017182843A (en) | Program, display control device, and display control method | |
JP2018006803A (en) | Imaging apparatus, control method for imaging apparatus, and program |