JP2019057291A - Control device, control method, and program - Google Patents

Control device, control method, and program Download PDF

Info

Publication number
JP2019057291A
JP2019057291A JP2018192133A JP2018192133A JP2019057291A JP 2019057291 A JP2019057291 A JP 2019057291A JP 2018192133 A JP2018192133 A JP 2018192133A JP 2018192133 A JP2018192133 A JP 2018192133A JP 2019057291 A JP2019057291 A JP 2019057291A
Authority
JP
Japan
Prior art keywords
virtual viewpoint
touch
display surface
control
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018192133A
Other languages
Japanese (ja)
Other versions
JP6632681B2 (en
Inventor
祐二 加藤
Yuji Kato
祐二 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2018192133A priority Critical patent/JP6632681B2/en
Publication of JP2019057291A publication Critical patent/JP2019057291A/en
Application granted granted Critical
Publication of JP6632681B2 publication Critical patent/JP6632681B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a control device capable of easily setting a virtual viewpoint of a three-dimensional image by means of a virtual camera.SOLUTION: A display control device 100 has a touch panel which integrally includes a display part 206 and an operation part 201. A viewpoint control part 204 is configured to perform the steps of: detecting an operation such as multi-touch, slide, pinch-in/pinch-out made on a display surface for displaying virtual viewpoint images by a user; controlling at least either one of the position and the direction of a virtual viewpoint relevant to the generation of a virtual viewpoint image responding to the user's operation; and changing the magnification of the image.SELECTED DRAWING: Figure 2

Description

本発明は仮想視点の制御方法に関する。   The present invention relates to a virtual viewpoint control method.

視点の異なる複数のカメラで撮影して得られる複数の撮影映像から任意の視点の映像を生成する仮想視点映像生成技術が知られている。仮想視点映像の生成方法(レンダリング方法)として、予め定められた仮想視点の移動経路に基づいて仮想視点映像を生成しておく方法や、視聴者等により指定された仮想視点の位置及び姿勢等に従って仮想視点映像を生成する方法が知られている。   A virtual viewpoint video generation technique for generating a video of an arbitrary viewpoint from a plurality of shot videos obtained by shooting with a plurality of cameras having different viewpoints is known. As a virtual viewpoint video generation method (rendering method), a method of generating a virtual viewpoint video based on a predetermined virtual viewpoint movement path, a position and posture of a virtual viewpoint specified by a viewer, etc. A method for generating a virtual viewpoint video is known.

仮想視点映像の生成技術によれば、インタラクティブ性の高い映像の視聴を行うことが可能である。一方で、タッチパネルを主要なインタフェイスとするタブレットやスマートフォンなどの機器では、望み通りに視点を操作することが困難である。特許文献1には、複数の視点座標データと、複数の回転起点データのうちから、それぞれ1つずつをユーザに選択させ、その後、視点の回転角度と移動量を入力して視点を設定することが記載されている。   According to the virtual viewpoint video generation technology, it is possible to view a highly interactive video. On the other hand, it is difficult for a device such as a tablet or a smartphone having a touch panel as a main interface to operate the viewpoint as desired. In Patent Document 1, a user selects one of each of a plurality of viewpoint coordinate data and a plurality of rotation start point data, and then sets a viewpoint by inputting a rotation angle and a movement amount of the viewpoint. Is described.

特開2015−187797号公報Japanese Patent Laying-Open No. 2015-187797

特許文献1の方法は、仮想視点の設定のための操作手順が多い。本発明は、仮想視点の設定をより簡易に行えるようにすることを目的とする。   The method of Patent Document 1 has many operation procedures for setting a virtual viewpoint. An object of the present invention is to make it easier to set a virtual viewpoint.

上記課題を解決するために、本発明に係る制御装置は、以下の構成を有する。すなわち、複数のカメラが所定の撮影対象領域を異なる方向から撮影することで得られる画像データを用いて生成される仮想視点映像に係る仮想視点の位置及び向きを制御する制御装置であって、前記仮想視点映像を表示する表示面上において第1のタッチ位置と第2のタッチ位置とを離していくタッチ操作が行われた場合、前記仮想視点の向き及び前記仮想視点に基づく注目座標が変化することなく仮想視点の位置が変化し、且つ、前記第1のタッチ位置と前記第2のタッチ位置とを前記表示面上において並行移動させるタッチ操作が行われた場合、前記仮想視点の向きが変化することなく前記仮想視点及び注目座標の位置が変化するように、前記表示面上における前記第1及び第2のタッチ位置の変化に基づいて、前記仮想視点に関するパラメータの変更量を決定する決定手段と、前記決定手段により決定された変更量に従って、前記仮想視点を制御する制御手段と、を有する。   In order to solve the above problems, a control device according to the present invention has the following configuration. That is, a control device for controlling the position and orientation of a virtual viewpoint related to a virtual viewpoint video generated using image data obtained by photographing a predetermined photographing target region from different directions, When a touch operation that separates the first touch position and the second touch position is performed on the display surface that displays the virtual viewpoint video, the direction of the virtual viewpoint and the attention coordinate based on the virtual viewpoint change. If the position of the virtual viewpoint changes without any change, and a touch operation is performed to move the first touch position and the second touch position in parallel on the display surface, the direction of the virtual viewpoint changes. The virtual viewpoint based on the change of the first and second touch positions on the display surface so that the position of the virtual viewpoint and the target coordinate changes without Determining means for determining a change amount of parameters, in accordance with the changed amount determined by the determining means, and a control means for controlling the virtual viewpoint.

本発明によれば、仮想視点の設定をより簡易に行うことができるようになる。   According to the present invention, setting of a virtual viewpoint can be performed more easily.

制御装置100のハードウェア構成を示すブロック図。FIG. 2 is a block diagram showing a hardware configuration of a control device 100. 制御装置100の機能構成を示すブロック図。FIG. 2 is a block diagram showing a functional configuration of a control device 100. 実施形態1の1本指のスライド操作における仮想視点制御の例を示す図。FIG. 6 is a diagram illustrating an example of virtual viewpoint control in a one-finger slide operation according to the first embodiment. 実施形態1の3本指のスライド操作における仮想視点制御の例を示す図。FIG. 6 is a diagram illustrating an example of virtual viewpoint control in a three-finger slide operation according to the first embodiment. 実施形態1の2本指のスライド操作における仮想視点制御の例を示す図。FIG. 5 is a diagram illustrating an example of virtual viewpoint control in a two-finger slide operation according to the first embodiment. 実施形態1の2本指のピンチアウト操作における仮想視点制御の例を示す図。FIG. 6 is a diagram illustrating an example of virtual viewpoint control in a two-finger pinch-out operation according to the first embodiment. 実施形態1の制御装置100における処理の流れを示すフローチャート。3 is a flowchart showing a flow of processing in the control device 100 according to the first embodiment. ユーザ操作に応じた仮想視点制御の流れを示すフローチャート。The flowchart which shows the flow of the virtual viewpoint control according to user operation.

以下、本発明の実施形態について、図面を参照して説明する。なお、以下の実施形態は本発明を限定するものではなく、また、本実施形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。なお、同一の構成については、同じ符号を付して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. The following embodiments do not limit the present invention, and all the combinations of features described in the present embodiment are not necessarily essential to the solution means of the present invention. In addition, about the same structure, the same code | symbol is attached | subjected and demonstrated.

<実施形態1>
実施形態1は、ユーザが表示スクリーン(タッチパネル)を操作することにより、仮想視点の位置及び向き等を制御し、それに応じた仮想視点映像を生成する例について説明する。なお、本実施形態では、「仮想カメラの位置を変更する」と「仮想視点の位置を変更する」は同様の意味として用いる。また、「仮想カメラの姿勢を変更する」と「仮想視点の向きを変更する」は同様の意味として用いる。
<Embodiment 1>
Embodiment 1 demonstrates the example which controls the position and direction, etc. of a virtual viewpoint by a user operating a display screen (touch panel), and produces | generates the virtual viewpoint image | video according to it. In the present embodiment, “change the position of the virtual camera” and “change the position of the virtual viewpoint” are used as the same meaning. Further, “change the orientation of the virtual camera” and “change the orientation of the virtual viewpoint” are used as the same meaning.

また、本実施形態において仮想視点映像とは、フィールド(撮影対象領域)を異なる方向から撮影する複数のカメラにより得られた複数の撮影映像に基づいて生成される映像であり、仮想視点(仮想カメラ)の位置及び姿勢等に従って生成される映像である。また、本実施形態の仮想視点映像は、各画像フレームが所定の動画圧縮の方式により圧縮された映像データであっても良いし、各画像フレームが所定の静止画圧縮の方式により圧縮された映像データであっても良いし、非圧縮の映像データであっても良い。   In this embodiment, a virtual viewpoint video is a video generated based on a plurality of captured images obtained by a plurality of cameras that capture a field (photographing target region) from different directions, and a virtual viewpoint (virtual camera) ), And the like. Further, the virtual viewpoint video of this embodiment may be video data in which each image frame is compressed by a predetermined moving image compression method, or a video in which each image frame is compressed by a predetermined still image compression method. It may be data or uncompressed video data.

本実施形態における制御装置100のシステム構成例について、図1を用いて説明する。同図において、CPU101は、RAM102をワークメモリとして、ROM103及び/又はハードディスクドライブ(HDD)105に格納されたプログラムを実行し、システムバス112を介して後述する各構成を制御する。これにより、後述する様々な処理が実行される。HDDインタフェイス(I/F)104は、制御装置100と、HDD105や光ディスクドライブなどの二次記憶装置とを接続する、例えばシリアルATA(SATA)等のインタフェイスである。CPU101は、HDDインタフェイス(I/F)104を介した、HDD105からのデータ読み出し、およびHDD105へのデータ書き込みが可能である。さらにCPU101は、HDD105に格納されたデータをRAM102に展開する。また、CPU101は、プログラムの実行により得られたRAM102上の各種データをHDD105に保存することが可能である。入力インタフェイス(I/F)106は、1又は複数の座標を入力するためのタッチパネル、キーボード、マウス、デジタルカメラ、スキャナなどの入力デバイス107と制御装置100とを接続する。入力インタフェイス(I/F)106は、例えばUSBやIEEE1394等のシリアルバスインタフェイスである。CPU101は、入力I/F106を介して入力デバイス107からデータを読み込むことが可能である。出力インタフェイス(I/F)108は、ディスプレイなどの出力デバイス109と制御装置100とを接続する、例えばDVIやHDMI(登録商標)等の映像出力インタフェイスである。CPU101は、出力I/F108を介して出力デバイス109に仮想視点映像に係るデータを送ることで、仮想視点映像の表示を実行させることができる。ネットワークインタフェイス(I/F)110は、制御装置100と外部サーバ111とを接続する、例えばLANカードなどのネットワークカードである。CPU101は、ネットワークI/F110を介して外部サーバ111からデータを読み込むことが可能である。   A system configuration example of the control device 100 in the present embodiment will be described with reference to FIG. In the figure, a CPU 101 executes a program stored in a ROM 103 and / or a hard disk drive (HDD) 105 using a RAM 102 as a work memory, and controls each component to be described later via a system bus 112. Thereby, various processes described later are executed. The HDD interface (I / F) 104 is an interface such as serial ATA (SATA) that connects the control device 100 to a secondary storage device such as the HDD 105 or an optical disk drive. The CPU 101 can read data from the HDD 105 and write data to the HDD 105 via the HDD interface (I / F) 104. Further, the CPU 101 expands the data stored in the HDD 105 in the RAM 102. Further, the CPU 101 can store various data on the RAM 102 obtained by executing the program in the HDD 105. The input interface (I / F) 106 connects an input device 107 such as a touch panel, a keyboard, a mouse, a digital camera, and a scanner for inputting one or a plurality of coordinates and the control device 100. The input interface (I / F) 106 is a serial bus interface such as USB or IEEE1394. The CPU 101 can read data from the input device 107 via the input I / F 106. An output interface (I / F) 108 is an image output interface such as DVI or HDMI (registered trademark) that connects an output device 109 such as a display and the control apparatus 100. The CPU 101 can display the virtual viewpoint video by sending data related to the virtual viewpoint video to the output device 109 via the output I / F 108. The network interface (I / F) 110 is a network card such as a LAN card that connects the control device 100 and the external server 111. The CPU 101 can read data from the external server 111 via the network I / F 110.

なお、本実施形態では、入力デバイス107が制御装置100のタッチパネルである場合の例を中心に説明する。つまり、制御装置100はスマートフォンやタブレット端末などであっても良く、この場合は、入力デバイス107(タッチパネル)や出力デバイス109(表示スクリーン)は、制御装置100と一体である。また、図1にて示した構成のすべてが必須の構成とは限らない。例えば、HDD105に記憶された仮想視点映像を再生する場合、外部サーバ111は不要である。逆に、外部サーバ111から取得した仮想視点映像を生成する場合、HDD105は不要である。また、制御装置100が複数のCPU101を有してもよい。また、CPU101とは異なる専用の1又は複数のハードウェアやGPU(Graphics Processing Unit)を有し、CPU101による処理の少なくとも一部をGPUや専用のハードウェアが行うようにしてもよい。専用のハードウェアの例としては、ASIC(特定用途向け集積回路)、FPGA(フィールドプログラマブルゲートアレイ)、およびDSP(デジタルシグナルプロセッサ)などがある。   In this embodiment, an example in which the input device 107 is the touch panel of the control apparatus 100 will be mainly described. That is, the control device 100 may be a smartphone or a tablet terminal. In this case, the input device 107 (touch panel) and the output device 109 (display screen) are integrated with the control device 100. Further, not all of the configurations shown in FIG. 1 are indispensable configurations. For example, when reproducing a virtual viewpoint video stored in the HDD 105, the external server 111 is not necessary. Conversely, when generating a virtual viewpoint video acquired from the external server 111, the HDD 105 is unnecessary. In addition, the control device 100 may include a plurality of CPUs 101. Further, one or a plurality of dedicated hardware or GPU (Graphics Processing Unit) different from the CPU 101 may be provided, and at least a part of the processing by the CPU 101 may be performed by the GPU or the dedicated hardware. Examples of dedicated hardware include ASIC (Application Specific Integrated Circuit), FPGA (Field Programmable Gate Array), and DSP (Digital Signal Processor).

本実施形態では、タッチパネルに対するユーザ操作によってユーザの意図に沿った仮想カメラの制御を行う方法について述べる。本実施形態におけるユーザ操作には、タップ操作、指1本〜3本のスライド操作、ピンチイン・ピンチアウト操作が少なくとも含まれるものとする。   In this embodiment, a method for controlling a virtual camera in accordance with a user's intention by a user operation on the touch panel will be described. The user operation in this embodiment includes at least a tap operation, a slide operation with one to three fingers, and a pinch-in / pinch-out operation.

指1本のユーザ操作は初心者でも行いやすい反面、複雑な情報を入力することが難しく、指3本のユーザ操作は細かい操作が難しい。よって、指1本と指3本のユーザ操作(スライド操作)には単純な仮想カメラの制御処理を割り当てる。そして、指2本の操作に複雑な仮想カメラの制御処理を割り当てる。   A user operation with one finger is easy to perform even for beginners, but it is difficult to input complicated information, and a user operation with three fingers is difficult to perform. Therefore, a simple virtual camera control process is assigned to a user operation (slide operation) with one finger and three fingers. Then, a complicated virtual camera control process is assigned to the operation of two fingers.

図3から図6を用いて具体的なユーザ操作と仮想カメラの動作の関係について説明する。図3は、1本指のスライド操作によって、仮想カメラの位置及び姿勢が変化する様子を示している。ユーザ操作前の画像301に対して指1本で左方向にスライド操作を行うと、仮想カメラの位置及び姿勢が変更され、画像302が表示される。このとき、仮想カメラの位置及び姿勢は俯瞰画像303の中心に描画された3次元空間上の点304を中心として仮想視点305から右側に回り込んだ仮想視点306へ変化する。すなわち、ユーザ操作により同時に指定される表示スクリーン上(表示面上)の座標の数が第1の数(1つ)である場合、視点制御部204は、その座標の移動に応じて、仮想カメラを所定の注目座標を中心に旋回させる。別の言い方をすると、ユーザ操作により同時に指定される表示面上の座標の数が第1の数(1つ)である場合、視点制御部204は、その座標の移動に応じて、仮想カメラが所定の注目座標を注目したまま移動するように制御する。   A specific user operation and the operation of the virtual camera will be described with reference to FIGS. FIG. 3 shows a state in which the position and posture of the virtual camera change due to a single finger slide operation. When a slide operation is performed to the left with one finger on the image 301 before the user operation, the position and orientation of the virtual camera are changed, and the image 302 is displayed. At this time, the position and orientation of the virtual camera changes from the virtual viewpoint 305 to the virtual viewpoint 306 that wraps around to the right with the point 304 in the three-dimensional space drawn at the center of the overhead image 303 as the center. That is, when the number of coordinates on the display screen (on the display surface) specified simultaneously by the user operation is the first number (one), the viewpoint control unit 204 determines whether or not the virtual camera corresponds to the movement of the coordinates. Is turned around a predetermined attention coordinate. In other words, when the number of coordinates on the display surface simultaneously designated by the user operation is the first number (one), the viewpoint control unit 204 determines whether the virtual camera is moved according to the movement of the coordinates. Control is performed so as to move while paying attention to a predetermined attention coordinate.

図3に示すように、1本指のスライド操作が検出された場合は、仮想カメラの移動範囲を円307上に限定し、移動方向を水平方向に制限する。これにより、例えば、タッチ操作に不慣れなユーザや、タッチの軌道がぶれやすい利用シーンにおいても、ユーザの意図に近い仮想カメラの移動が行える。したがって、簡易にブレのないバレットタイムのような仮想視点映像を生成することができる。   As shown in FIG. 3, when a single-finger slide operation is detected, the moving range of the virtual camera is limited to a circle 307 and the moving direction is limited to the horizontal direction. As a result, for example, even in a user who is unfamiliar with the touch operation or in a usage scene where the trajectory of the touch is likely to fluctuate, the virtual camera close to the user's intention can be moved. Therefore, it is possible to easily generate a virtual viewpoint video such as a bullet time without blurring.

図4は、3本指のスライド操作によって、仮想カメラの位置が変化する様子を示している。ユーザ操作前の画像401に対して指3本で右方向にスライド操作を行うと、仮想カメラの位置が変更され、画像402が表示される。このとき、仮想カメラの位置は俯瞰画像403において示される通り仮想視点404から仮想視点405へ移動する。すなわち、ユーザ操作により同時に指定される表示スクリーン上の座標の数が第3の数(3つ)である場合、視点制御部204は、その座標の変化に応じて、仮想カメラが3次元空間内において並行移動するように、仮想カメラの位置を制御する。   FIG. 4 shows a state in which the position of the virtual camera is changed by a three-finger slide operation. When a slide operation is performed to the right with three fingers on the image 401 before the user operation, the position of the virtual camera is changed and the image 402 is displayed. At this time, the position of the virtual camera moves from the virtual viewpoint 404 to the virtual viewpoint 405 as shown in the overhead image 403. That is, when the number of coordinates on the display screen simultaneously designated by the user operation is the third number (three), the viewpoint control unit 204 determines that the virtual camera is in the three-dimensional space according to the change in the coordinates. The position of the virtual camera is controlled so as to move in parallel.

なお、「3つの座標が同時に指定される」とは、3本の指が同時に表示スクリーンにタッチした場合に限らない。例えば、2本の指が表示スクリーンにタッチしている状態を保持しつつ、3本目の指が表示スクリーンにタッチした場合、3本の指が同時に表示スクリーンにタッチしている状態として判定される。このように、指ごとに表示スクリーンにタッチ開始するタイミングが異なっていたとしても、複数の座標が同時に指定されることがありうる。   Note that “three coordinates are specified simultaneously” is not limited to the case where three fingers touch the display screen at the same time. For example, when the third finger touches the display screen while holding the state where two fingers are touching the display screen, it is determined that the three fingers are simultaneously touching the display screen. . As described above, even when the touch start timing of the display screen is different for each finger, a plurality of coordinates may be designated at the same time.

また、本実施形態の視点制御部204は、表示スクリーン上での指の移動量と、ユーザ操作に応じて特定される3次元点406の仮想視点映像における描画位置の移動量が等しくなるように仮想カメラを移動する。このように、指の移動量と3次元点406の移動量とを一致させることで、ユーザは、より直感的に仮想カメラの制御を行うことができる。ただし、指の移動量と、仮想視点映像における3次元点406の描画位置の移動量とが異なるように制御しても良い。また、3本指によるユーザ操作においては、指の移動量は、3本指のそれぞれの移動量の平均値を用いるようにしても良いし、中央値を用いるようにしても良いし、代表値を用いるようにしても良いし、その他の値を用いるようにしても良い。また、本実施形態においては、3本指のスライド操作が行われた場合は、仮想カメラの位置を変更するが、仮想カメラの姿勢は変更しない。つまり、ユーザ操作により同時に指定される表示スクリーン上の座標の数が第3の数(3つ)である場合、視点制御部204は、その座標の変化に応じて、仮想視点の位置を変更し、仮想視点の向きは変更しない。   In addition, the viewpoint control unit 204 of the present embodiment makes the movement amount of the finger on the display screen equal to the movement amount of the drawing position in the virtual viewpoint video of the three-dimensional point 406 specified according to the user operation. Move the virtual camera. In this way, by matching the amount of movement of the finger with the amount of movement of the three-dimensional point 406, the user can more intuitively control the virtual camera. However, the movement amount of the finger may be controlled to be different from the movement amount of the drawing position of the three-dimensional point 406 in the virtual viewpoint video. In the user operation with three fingers, the finger movement amount may be an average value of the movement amounts of the three fingers, a median value, or a representative value. May be used, or other values may be used. In the present embodiment, when a three-finger slide operation is performed, the position of the virtual camera is changed, but the attitude of the virtual camera is not changed. That is, when the number of coordinates on the display screen simultaneously designated by the user operation is the third number (three), the viewpoint control unit 204 changes the position of the virtual viewpoint according to the change in the coordinates. The orientation of the virtual viewpoint is not changed.

図5は、2本指のスライド操作によって、仮想カメラの位置及び向きが変化する様子を示している。ユーザ操作前の画像501に対して指2本で左下方向にスライド操作を行うと、仮想カメラの位置及び姿勢が変更され、画像502が表示される。このとき、仮想カメラの位置及び姿勢は俯瞰画像503において示される通り、ユーザの指の位置に基づいて決定された3次元上の点504を中心として仮想視点505から仮想視点506へと変化する。仮想カメラの移動範囲は球面507に限定する。つまり、1本指のスライド操作を行った場合は、仮想カメラの高さ方向の位置を変更せず、水平方向の位置を変更したのに対し、2本指のスライド操作を行った場合は、仮想カメラの高さ方向と水平方向の両方の位置を変更する。すなわち、ユーザ操作により同時に指定される表示スクリーン上の座標の数が第2の数(2つ)である場合、視点制御部204は、その座標の移動に応じて、仮想カメラの位置を第1方向及び第2方向に変更する。このように、本実施形態の制御装置100は、1本指でスライド操作が行われた場合よりも、2本指でスライド操作が行われた場合のほうが、より複雑な仮想カメラの制御を実行する。2本指のスライド操作を行うことにより、任意のオブジェクトを任意の方向から見た仮想視点映像を生成できる。   FIG. 5 shows how the position and orientation of the virtual camera change due to a two-finger slide operation. When a slide operation is performed in the lower left direction with two fingers on the image 501 before the user operation, the position and orientation of the virtual camera are changed, and the image 502 is displayed. At this time, the position and orientation of the virtual camera change from the virtual viewpoint 505 to the virtual viewpoint 506 around the three-dimensional point 504 determined based on the position of the user's finger, as shown in the overhead view image 503. The moving range of the virtual camera is limited to the spherical surface 507. In other words, when a one-finger slide operation is performed, the position in the height direction of the virtual camera is not changed, but the horizontal position is changed, whereas when a two-finger slide operation is performed, Change both the height and horizontal position of the virtual camera. That is, when the number of coordinates on the display screen simultaneously designated by the user operation is the second number (two), the viewpoint control unit 204 changes the position of the virtual camera to the first according to the movement of the coordinates. Change to direction and second direction. As described above, the control device 100 according to the present embodiment performs more complex control of the virtual camera when the slide operation is performed with two fingers than when the slide operation is performed with one finger. To do. By performing a two-finger slide operation, a virtual viewpoint video in which an arbitrary object is viewed from an arbitrary direction can be generated.

図6は、2本指のピンチアウト操作によって、仮想カメラの位置が変化する様子を示している。ユーザ操作前の画像601に対してピンチアウト操作を行うと、仮想カメラの位置が変更され、画像602が表示される。このとき、仮想カメラの位置は俯瞰画像603において示される通り、仮想視点604から仮想視点605へ移動する。なお、2本指のピンチイン操作が行われた場合は、仮想視点605から仮想視点604の方向へ移動する。すなわち、ユーザ操作により同時に指定される表示スクリーン上の座標の数が第2の数(2つ)である場合、視点制御部204は、その座標の変化に応じて、仮想カメラの視線方向に応じた方向に仮想カメラを移動させる。   FIG. 6 shows how the position of the virtual camera changes due to a two-finger pinch-out operation. When a pinch-out operation is performed on the image 601 before the user operation, the position of the virtual camera is changed and the image 602 is displayed. At this time, the position of the virtual camera moves from the virtual viewpoint 604 to the virtual viewpoint 605 as shown in the overhead image 603. When a two-finger pinch-in operation is performed, the virtual viewpoint 605 moves in the direction of the virtual viewpoint 604. That is, when the number of coordinates on the display screen simultaneously designated by the user operation is the second number (two), the viewpoint control unit 204 responds to the visual line direction of the virtual camera according to the change in the coordinates. Move the virtual camera in the desired direction.

ピンチイン操作及びピンチアウト操作により、仮想カメラの位置は点線606で示すように前後に移動する。指を広げた分だけ被写体(例えば選手等のオブジェクト)が大きく表示され、指を狭めた分だけ被写体が小さく表示でき、直感的な操作が可能となる。このように、2本指のユーザ操作に応じて仮想カメラの前後移動と回転が行われるようにすることで、自由度の高い仮想カメラの制御を実現できる。なお、ピンチイン操作とピンチアウト操作に応じて仮想カメラの位置を変更する代わりに、仮想カメラのズーム値に関するパラメータを変更するようにしても良い。   By the pinch-in operation and the pinch-out operation, the position of the virtual camera moves back and forth as indicated by a dotted line 606. The subject (for example, an object such as a player) is displayed larger as the finger is spread, and the subject can be displayed smaller as the finger is narrowed, enabling intuitive operation. In this way, the virtual camera can be controlled with a high degree of freedom by allowing the virtual camera to move back and forth and rotate in response to a two-finger user operation. Note that, instead of changing the position of the virtual camera according to the pinch-in operation and the pinch-out operation, a parameter related to the zoom value of the virtual camera may be changed.

また、本実施形態では、第1の数が「1」、第2の数が「2」、第3の数が「3」である場合の例を中心に説明するが、これに限らない。例えば、第1の数が「3」、第2の数が「2」、第3の数が「1」であっても良いし、第1の数が「1」、第2の数が「2」、第3の数が「4」であっても良い。   Further, in the present embodiment, an example in which the first number is “1”, the second number is “2”, and the third number is “3” will be mainly described, but the present invention is not limited thereto. For example, the first number may be “3”, the second number may be “2”, and the third number may be “1”, or the first number may be “1” and the second number may be “1”. 2 ”and the third number may be“ 4 ”.

本実施形態の制御装置100が行う処理の流れについて、図2と図7とを参照して説明する。図2は、本実施形態における制御装置100の機能構成を示すブロック図である。CPU101は、ROM103及び/又はHDD104に格納されたプログラムを読み出してRAM102をワークエリアとして実行することで、図2に示す制御装置100内部の各機能ブロックの役割を果たす。なお、図2の操作部201及び表示部206は、図1の入力デバイス107及び出力デバイス109にそれぞれ対応する。また、CPU101が制御装置100内部の全ての機能ブロックの役割を果たす必要はなく、各機能ブロックに対応する専用の処理回路を設けるようにしてもよい。   The flow of processing performed by the control device 100 of this embodiment will be described with reference to FIGS. 2 and 7. FIG. 2 is a block diagram illustrating a functional configuration of the control device 100 according to the present embodiment. The CPU 101 reads out a program stored in the ROM 103 and / or the HDD 104 and executes the RAM 102 as a work area, thereby playing a role of each functional block in the control device 100 shown in FIG. The operation unit 201 and the display unit 206 in FIG. 2 correspond to the input device 107 and the output device 109 in FIG. Further, the CPU 101 does not have to play the role of all the functional blocks in the control device 100, and a dedicated processing circuit corresponding to each functional block may be provided.

図7は本実施形態の制御装置100で行われる処理の流れを示すフローチャートである。図7を用いて説明する各処理は、制御装置100が備えるCPU101が、ROM103及び/又はHDD104に格納されたプログラムを読み出してRAM102をワークエリアとして実行することで実現される。   FIG. 7 is a flowchart showing the flow of processing performed by the control device 100 of the present embodiment. Each process described with reference to FIG. 7 is realized by the CPU 101 included in the control device 100 reading a program stored in the ROM 103 and / or the HDD 104 and executing the RAM 102 as a work area.

S701では、取得データ制御部202が、操作部201に対するタップ操作を検出するまで待機する。タップ操作は、短時間指で表示スクリーンをタッチする操作である。タップ操作の判定に利用される接触時間の閾値は任意の値を設定可能である。タップ操作が検出された場合、表示部206における現在の仮想視点映像の再生状態が一時停止状態であれば再生状態に変更する。一方、タップ操作が検出されたときに仮想視点映像の再生状態であれば、取得データ制御部202は、仮想視点映像の一時停止状態に変更する。このように、取得データ制御部202は、表示スクリーンに対するタップ操作に応じて、仮想視点映像の再生状態を変更するので、ユーザは直観的な操作で再生状態を切り替えることができる。ただし、S701は必須の処理ではない。   In step S <b> 701, the acquisition data control unit 202 stands by until a tap operation on the operation unit 201 is detected. The tap operation is an operation of touching the display screen with a finger for a short time. An arbitrary value can be set as the threshold of the contact time used for the determination of the tap operation. When a tap operation is detected, if the playback state of the current virtual viewpoint video on the display unit 206 is paused, the playback state is changed. On the other hand, if the virtual viewpoint video is in the playback state when the tap operation is detected, the acquisition data control unit 202 changes the virtual viewpoint video to the paused state. Thus, the acquisition data control unit 202 changes the playback state of the virtual viewpoint video in response to a tap operation on the display screen, so that the user can switch the playback state by an intuitive operation. However, S701 is not an essential process.

S702では、視点制御部204が、操作部201に対するユーザ操作の検出結果に基づいて、仮想カメラの位置及び姿勢に関するカメラパラメータを描画部205へ出力する。S702の詳細は図8を用いて後述する。   In step S <b> 702, the viewpoint control unit 204 outputs camera parameters related to the position and orientation of the virtual camera to the drawing unit 205 based on the detection result of the user operation on the operation unit 201. Details of S702 will be described later with reference to FIG.

S703では、データ取得部203が、HDD105又は外部サーバ111からレンダリングに必要なデータ(ポリゴンデータやテクスチャデータ)を取得し、描画部205に出力する。データ取得部203は、仮想視点映像を動画として再生している状態であれば、次の画像フレームのレンダリングに必要なデータを取得する。一方、仮想視点映像の再生が一時停止状態であれば、すでに現在再生中の画像フレームのレンダリングに必要なデータを取得する。なお、一時停止状態の場合は、改めてデータを取得しなくても良い。   In step S <b> 703, the data acquisition unit 203 acquires data (polygon data and texture data) necessary for rendering from the HDD 105 or the external server 111 and outputs the data to the drawing unit 205. If the virtual viewpoint video is being reproduced as a moving image, the data acquisition unit 203 acquires data necessary for rendering the next image frame. On the other hand, if the reproduction of the virtual viewpoint video is in a paused state, data necessary for rendering the image frame that is already being reproduced is acquired. In the case of the temporary stop state, it is not necessary to acquire data again.

S704では、描画部205が、データ取得部203から取得したデータと視点制御部204から取得したカメラパラメータとを基に仮想視点映像を生成し、当該生成された仮想視点映像を表示部206に出力する。表示部206は描画部205から取得した仮想視点映像を表示する。レンダリングに関しては既存の技術を使用できるためここでは詳しく説明を行わない。カメラパラメータとは、仮想カメラの外部パラメータと内部パラメータに分類できる。仮想カメラの外部パラメータとは、仮想カメラの位置及び姿勢を表すパラメータである。また、仮想カメラの内部パラメータとは、仮想カメラの光学的な特性を表すパラメータである。外部パラメータと内部パラメータについてより具体的に説明する。仮想カメラの位置を表すベクトルをt,回転を表す行列をRとすると、仮想カメラの外部パラメータは以下のように表すことができる。   In step S <b> 704, the drawing unit 205 generates a virtual viewpoint video based on the data acquired from the data acquisition unit 203 and the camera parameters acquired from the viewpoint control unit 204, and outputs the generated virtual viewpoint video to the display unit 206. To do. The display unit 206 displays the virtual viewpoint video acquired from the drawing unit 205. Since the existing technology can be used for rendering, it will not be described in detail here. Camera parameters can be classified into external parameters and internal parameters of the virtual camera. The external parameters of the virtual camera are parameters that represent the position and orientation of the virtual camera. The internal parameters of the virtual camera are parameters that represent the optical characteristics of the virtual camera. The external parameters and internal parameters will be described more specifically. If the vector representing the position of the virtual camera is t and the matrix representing the rotation is R, the external parameters of the virtual camera can be expressed as follows.

Figure 2019057291
Figure 2019057291

ここで、座標系は左手座標系として記載し、仮想視点において右を+x方向、上を+y方向、前を+z方向とする。   Here, the coordinate system is described as a left-handed coordinate system, and in the virtual viewpoint, the right is the + x direction, the top is the + y direction, and the front is the + z direction.

また、仮想視点映像の主点位置を(c,c)、仮想カメラの焦点距離をfとすると、仮想カメラの内部パラメータKは以下のように表すことができる。 Further, when the principal point position of the virtual viewpoint video is (c x , c y ) and the focal length of the virtual camera is f, the internal parameter K of the virtual camera can be expressed as follows.

Figure 2019057291
Figure 2019057291

なお、カメラパラメータの表現方法は行列以外の表現であってもかまわない。例えば、仮想カメラの位置を3次元座標で表し、仮想カメラの姿勢をyaw、roll、及びpitchの値の羅列によって表すようにしてもよい。また、外部パラメータと内部パラメータは上述のものに限るわけではない。例えば、仮想カメラのズーム値を表す情報が仮想カメラの内部パラメータとして取得されるようにしてもよい。このように、仮想視点映像の生成のために用いられる仮想カメラのパラメータには種々のバリエーションが存在する。以上が本実施形態の制御装置100で行われる処理の流れである。   The camera parameter expression method may be an expression other than a matrix. For example, the position of the virtual camera may be represented by three-dimensional coordinates, and the posture of the virtual camera may be represented by an enumeration of yaw, roll, and pitch values. Further, the external parameters and the internal parameters are not limited to those described above. For example, information indicating the zoom value of the virtual camera may be acquired as an internal parameter of the virtual camera. As described above, there are various variations in the parameters of the virtual camera used for generating the virtual viewpoint video. The above is the flow of processing performed by the control device 100 of the present embodiment.

<ユーザ操作に応じた仮想カメラの制御>
図7のS702の処理の詳細を、図8を参照して説明する。S702においては、視点制御部204は、操作部201に対するユーザ操作の検出結果を取得し、仮想視点映像の描画に用いられる仮想カメラのカメラパラメータを描画部205に出力する。
<Control of virtual camera according to user operation>
Details of the processing of S702 in FIG. 7 will be described with reference to FIG. In step S <b> 702, the viewpoint control unit 204 acquires the detection result of the user operation on the operation unit 201, and outputs the camera parameters of the virtual camera used for drawing the virtual viewpoint video to the drawing unit 205.

S801では、視点制御部204は、操作部201に対するユーザ操作の検出結果を取得する。ユーザ操作の検出結果には、表示スクリーン上におけるタッチされた点の数n、タッチされた点の2次元スクリーン座標x--(i=1〜n)、及びタッチされた点の代表点の2次元スクリーン座標x’が含まれるものとする。また、ユーザ操作の検出結果には、前の画像フレームにおける代表点からの移動量を表す2次元ベクトルd=(d,d)、及び、上記代表点に基づいて特定される3次元点の位置を表す3次元ベクトルTが含まれるものとする。ただし、必ずしも上記すべての情報を検出結果として取得しなければならないわけではない。例えば、1本指の操作が行われた場合、2次元スクリーン座標xiと代表点の2次元スクリーン座標x’は同じであるため何れか一方は省略可能である。 In step S <b> 801, the viewpoint control unit 204 acquires a detection result of a user operation on the operation unit 201. The detection result of the user operation includes the number n of touched points on the display screen, the two-dimensional screen coordinates x- i (i = 1 to n) of the touched point, and the representative points of the touched point. It is assumed that a two-dimensional screen coordinate x ′ is included. Further, the detection result of the user operation includes a two-dimensional vector d = (d x , d y ) representing a movement amount from the representative point in the previous image frame, and a three-dimensional point specified based on the representative point. It is assumed that a three-dimensional vector T representing the position of is included. However, it is not always necessary to acquire all the above information as detection results. For example, when one finger is operated, the two-dimensional screen coordinates xi and the two-dimensional screen coordinates x ′ of the representative point are the same, and either one can be omitted.

2次元スクリーンの座標系は左上を原点とし、右を+x、下を+yとする。代表点はタッチされた複数の点の2次元スクリーン座標xの重心に位置する座標とする。しかしながら、代表点は重心に限らず、2次元スクリーン座標xの平均に位置する座標であっても良いし、複数の2次元スクリーン座標xのうちの1点がランダムに選択されるようにしても良いし、最も長い時間タッチされた点が選択されるようにしても良い。 In the coordinate system of the two-dimensional screen, the upper left is the origin, the right is + x, and the lower is + y. The representative point is a coordinate located at the center of gravity of the two-dimensional screen coordinates x i of a plurality of touched points. However, the representative point is not limited to the center of gravity, may be the coordinates of the position to the average of the two-dimensional screen coordinates x i, as one point of a plurality of 2-dimensional screen coordinates x i are selected randomly Alternatively, the point touched for the longest time may be selected.

また、3次元点は、仮想カメラの位置に応じた3次元座標を始点として仮想カメラの撮影方向へ仮想的に光線を飛ばし(レイキャスト)、被写体と衝突した点とする。この3次元点は、仮想カメラの操作において回転基点や移動の基準点として利用される。また、この3次元点は、タッチの数が前の画像フレームから変化した場合のみ決定し、変化していない場合は前の画像フレームの処理において決定済みの3次元ベクトルTをそのまま利用する。なお、本実施形態では3次元点は3次元ベクトルTにより表される例を説明するが、必ずしもベクトルの形式で示さなくても良い。   The three-dimensional point is a point at which a ray collides with a subject by virtually flying a ray (ray cast) in the shooting direction of the virtual camera, starting from the three-dimensional coordinates corresponding to the position of the virtual camera. This three-dimensional point is used as a rotation base point or a movement reference point in the operation of the virtual camera. The three-dimensional point is determined only when the number of touches has changed from the previous image frame. When the number of touches has not changed, the three-dimensional vector T determined in the processing of the previous image frame is used as it is. In the present embodiment, an example in which a three-dimensional point is represented by a three-dimensional vector T will be described.

S802では、視点制御部204は、操作部201に対するユーザ操作に応じて視点リセットを行うか否かを判定する。本実施形態では、表示スクリーン上の特定の領域(例えば視点リセットボタンが表示されている領域)がタップされた場合に、視点リセットを行うと判定される。   In step S <b> 802, the viewpoint control unit 204 determines whether to reset the viewpoint according to a user operation on the operation unit 201. In this embodiment, when a specific area on the display screen (for example, an area where the viewpoint reset button is displayed) is tapped, it is determined that the viewpoint reset is performed.

S803では、視点制御部204が、仮想カメラの位置及び姿勢等をリセットする。すなわち視点制御部204は、表示スクリーン上の所定位置に対してユーザ操作が検出されたことに応じて、仮想視点の位置及び向きを予め定められた位置及び向きに変更する。そして、視点制御部204は、リセット時の仮想カメラのカメラパラメータを描画部205に出力する。本実施形態においてリセット時の仮想カメラの位置は[0 0 0]であり、仮想カメラの姿勢は単位行列であるものとする。しかしながら、リセット時の視点情報は上述のものに限るわけではない。例えば、予めユーザが設定した値を利用してもよいし、画像データに埋め込まれた推奨の視点情報を読出して利用しても良い。   In step S803, the viewpoint control unit 204 resets the position and orientation of the virtual camera. That is, the viewpoint control unit 204 changes the position and orientation of the virtual viewpoint to a predetermined position and orientation in response to a user operation being detected at a predetermined position on the display screen. Then, the viewpoint control unit 204 outputs the camera parameters of the virtual camera at the reset time to the drawing unit 205. In this embodiment, it is assumed that the position of the virtual camera at the time of reset is [0 0 0] and the attitude of the virtual camera is a unit matrix. However, the viewpoint information at the time of reset is not limited to the above. For example, values set in advance by the user may be used, or recommended viewpoint information embedded in the image data may be read and used.

S804では、視点制御部204が、タッチされた点数nに基づいて、仮想カメラの制御方法を決定する。タッチされた指の本数に合わせて仮想カメラの制御方法を異ならせることで、より多彩な制御が実現できるようになる。タッチ点数が0点の場合、S805に進み、現在の仮想カメラの位置及び姿勢を描画部205へ出力する。   In step S <b> 804, the viewpoint control unit 204 determines a virtual camera control method based on the touched score n. By controlling the virtual camera according to the number of touched fingers, a variety of control can be realized. When the number of touch points is 0, the process proceeds to S805, and the current position and orientation of the virtual camera are output to the drawing unit 205.

タッチ点数が1点の場合(つまり1本指の操作が検出された場合)、S806に進み、視点制御部204は、上述の3次元点を回転中心として仮想カメラを回転させる。3次元点は、仮想カメラの位置に応じた3次元座標(例えば仮想カメラの中心座標)を始点として仮想カメラの撮影方向へ仮想的に光線を飛ばし(レイキャスト)、被写体と衝突した点とする。別の言い方をすると、3次元点とは、タッチ時に表示される仮想視点映像の中心位置に対応する3次元空間上の座標である。ただし、3次元点はこの例に限るものではない。S806〜S808の詳細は後述する。   When the number of touch points is one (that is, when a single finger operation is detected), the process advances to step S806, and the viewpoint control unit 204 rotates the virtual camera around the above-described three-dimensional point as a rotation center. The three-dimensional point is a point at which a ray collides with a subject by virtually emitting a ray (raycast) in the shooting direction of the virtual camera, starting from a three-dimensional coordinate corresponding to the position of the virtual camera (for example, the center coordinate of the virtual camera). . In other words, the three-dimensional point is a coordinate on the three-dimensional space corresponding to the center position of the virtual viewpoint video displayed at the time of touching. However, the three-dimensional point is not limited to this example. Details of S806 to S808 will be described later.

タッチ点数が2点の場合(つまり2本指の操作が検出された場合)、S809に進み、視点制御部204は、ユーザによるスライド操作に応じて、仮想カメラの高さ方向と水平方向の両方の位置を変更する制御を行う。また、S811においては、視点制御部204は、ピンチイン操作及び/又はピンチアウト操作に応じて仮想カメラの位置を前後方向に移動させる制御を行う。S809〜S812の詳細は後述する。   When the number of touch points is two (that is, when a two-finger operation is detected), the process advances to step S809, and the viewpoint control unit 204 performs both the height direction and the horizontal direction of the virtual camera according to the slide operation by the user. Control to change the position of. In step S811, the viewpoint control unit 204 performs control to move the position of the virtual camera in the front-rear direction in accordance with a pinch-in operation and / or a pinch-out operation. Details of S809 to S812 will be described later.

タッチ点数が3点の場合(つまり3本指の操作が検出された場合)、S813に進み、視点制御部204は、仮想カメラをスライド操作に応じて並行移動させる制御を行う。S813及びS814の詳細は後述する。   When the number of touch points is three (that is, when a three-finger operation is detected), the process advances to step S813, and the viewpoint control unit 204 performs control to move the virtual camera in parallel according to the slide operation. Details of S813 and S814 will be described later.

S806では、視点制御部204が仮想カメラを回転する際の回転中心となる3次元点の座標を決定する。視点制御部204は、1本指のタッチの検出に応じて、例えば、仮想カメラの中心を視点として仮想的に3次元空間へ光線を飛ばし、被写体と衝突した点を3次元点とする。3次元点は3次元ベクトルAとして表され、回転中心として利用される。なお、1度3次元点を決定した後は、タッチ状態が継続している間は再決定しなくて良い。   In step S806, the viewpoint control unit 204 determines the coordinates of the three-dimensional point that is the rotation center when the virtual camera is rotated. In response to the detection of the touch of one finger, the viewpoint control unit 204, for example, virtually emits light rays into the three-dimensional space with the center of the virtual camera as the viewpoint, and sets the point colliding with the subject as the three-dimensional point. The three-dimensional point is represented as a three-dimensional vector A and is used as the center of rotation. Note that once the three-dimensional point is determined, it may not be determined again while the touch state continues.

S807では、視点制御部204が代表点の移動量dを取得し、仮想カメラの移動量を決定する。なお1本指のユーザ操作の場合は、仮想カメラの移動方向は、3次元点を中心とする回転方向のみである。また、1本指のユーザ操作の場合、仮想カメラは垂直方向には移動せず、水平方向のみ移動する。このようにすることで、スライド操作における手ぶれの影響を受けにくく、仮想カメラの移動をスムーズに行うことができる。なお、本実施形態の視点制御部204は、代表点の移動量dにスケール係数sを乗算することで仮想カメラの移動量(水平方向の回転量θ)を決定する。表示スクリーンの解像度を幅w画素とし、表示スクリーンの端から端までスライド操作した時の回転量を360度とすると移動量dから回転量θ[degree]を決定するためのスケールsは以下の式で表せる。 In step S807, the viewpoint control unit 204 acquires the movement amount d of the representative point, and determines the movement amount of the virtual camera. In the case of a single-finger user operation, the moving direction of the virtual camera is only the rotation direction around the three-dimensional point. In the case of a single finger user operation, the virtual camera does not move in the vertical direction but moves only in the horizontal direction. In this way, the virtual camera can be moved smoothly without being affected by camera shake in the slide operation. Note that the viewpoint control unit 204 of this embodiment determines the movement amount (horizontal rotation amount θ) of the virtual camera by multiplying the movement amount d x of the representative point by the scale factor s. Assuming that the resolution of the display screen is width w pixels and the rotation amount when the slide operation is performed from end to end of the display screen is 360 degrees, the scale s for determining the rotation amount θ [degree] from the movement amount d x is as follows. It can be expressed by an expression.

Figure 2019057291
Figure 2019057291

このスケール係数を用いて仮想カメラの回転量は以下の式で表せる。   Using this scale factor, the rotation amount of the virtual camera can be expressed by the following equation.

Figure 2019057291
Figure 2019057291

なお本実施形態では指1本のユーザ操作に基づく仮想カメラの移動方向は水平方向のみとする例を中心に説明するが、垂直方向のみの移動として良い。また、ユーザ操作の内容に応じて、水平方向のみの移動にするか、垂直方向のみの移動にするかが決定されるようにしても良い。具体的には、タッチが検出されてから所定数の画像フレームのスライド操作の方向に応じて移動方向を決定してもよい。例えば、所定数の画像フレームにおけるスライド操作によるx方向とy方向の移動量を比較し、x方向の移動量が大きければ水平方向のみの移動とし、y方向の移動量が大きければ垂直方向のみの移動としても良い。また、スケール係数sの決定方法は上述のものに限らない。例えばユーザが任意の値を指定するようにしても良いし、複数の選択肢の中からユーザが任意に選択できるようにしても良い。   In the present embodiment, the explanation is focused on an example in which the moving direction of the virtual camera based on the user operation with one finger is only the horizontal direction, but the moving direction may be only the vertical direction. Further, depending on the contents of the user operation, it may be determined whether to move only in the horizontal direction or only in the vertical direction. Specifically, the movement direction may be determined according to the direction of the slide operation of a predetermined number of image frames after the touch is detected. For example, the amount of movement in the x direction and the y direction by a slide operation in a predetermined number of image frames is compared. If the amount of movement in the x direction is large, only the horizontal direction is moved. It may be moved. The method for determining the scale factor s is not limited to the above. For example, the user may specify an arbitrary value, or the user may arbitrarily select from a plurality of options.

S808では、視点制御部204がユーザのスライド操作に応じた仮想カメラの位置及び姿勢の決定を行い、その結果を描画部205に出力する。仮想カメラの位置Rn−1及び姿勢tn−1を、座標Aを中心に水平方向にθだけ回転した場合の仮想カメラの位置R及び姿勢tは以下の式で表すことができる。 In step S <b> 808, the viewpoint control unit 204 determines the position and orientation of the virtual camera according to the user's slide operation, and outputs the result to the drawing unit 205. The position R n-1 and the orientation t n-1 of the virtual camera, the position R n and orientation t n of the virtual camera when rotated by θ in the horizontal direction about the coordinate A can be expressed by the following equation.

Figure 2019057291
Figure 2019057291

ただし、R(θ、φ)は水平方向にθ、垂直方向にφだけ回転する回転行列である。また、回転させた現在の仮想カメラの位置及び姿勢を求める式はこれに限らない。   However, R (θ, φ) is a rotation matrix that rotates by θ in the horizontal direction and φ in the vertical direction. The formula for obtaining the position and orientation of the current virtual camera that has been rotated is not limited to this.

S809では、視点制御部204が代表点の移動量dを取得し、仮想カメラの移動量を決定する。なお2本指のユーザ操作の場合は、自由度の高い制御を実現するため、S807とは異なり、3次元点を中心として、水平方向と垂直方向の両方向に仮想カメラの回転させることができる。水平方向の回転量θとスケールsはS807と同様にして求める。垂直方向の回転量φは、以下の式で表すことができる。
φ=s×d
S810では、視点制御部204がユーザのスライド操作に応じた仮想カメラの位置及び姿勢の決定を行い、その結果を描画部205に出力する。仮想カメラの位置Rn−1及び姿勢tn−1を、3次元点Tを中心に水平方向にθだけ回転し、垂直方向にφだけ回転した場合の仮想カメラの位置R、姿勢t’は以下の式で表すことができる。
In step S809, the viewpoint control unit 204 acquires the movement amount d of the representative point and determines the movement amount of the virtual camera. In the case of a two-finger user operation, in order to realize control with a high degree of freedom, unlike S807, the virtual camera can be rotated in both the horizontal and vertical directions around a three-dimensional point. The horizontal rotation amount θ and the scale s are obtained in the same manner as in S807. The amount of rotation φ in the vertical direction can be expressed by the following equation.
φ = s × d y
In step S <b> 810, the viewpoint control unit 204 determines the position and orientation of the virtual camera according to the user's slide operation, and outputs the result to the drawing unit 205. The position R n-1 and the orientation t n-1 of the virtual camera, rotated by θ in the horizontal direction about the three-dimensional point T, the position R n of the virtual camera when rotated by φ in the vertical direction, attitude t ' n can be represented by the following formula.

Figure 2019057291
Figure 2019057291

ただし、3次元点Tを中心に回転させた場合の仮想カメラの位置及び姿勢を求める式はこれに限らない。例えば、所定の係数等を用いることで、指の移動量に対する仮想カメラの移動量を大きくすることも可能であるし、逆に、指の移動量に対する仮想カメラの移動量を小さくすることも可能である。   However, the formula for obtaining the position and orientation of the virtual camera when rotating around the three-dimensional point T is not limited to this. For example, by using a predetermined coefficient or the like, it is possible to increase the movement amount of the virtual camera relative to the movement amount of the finger, and conversely, it is possible to reduce the movement amount of the virtual camera relative to the movement amount of the finger. It is.

S811では、視点制御部204がユーザのピンチイン操作、及びピンチアウト操作に応じた仮想カメラの前後方向の移動量の決定を行う。現在の画像フレームが表示されているときの2本指の距離をdとし、直前の画像フレームが表示されているときの2本指の距離をdn−1とすると、その変化量ΔdはΔd=d−dn−1である。その変化量に比例して仮想カメラを前後に移動する。移動の敏感度をmとすると、仮想カメラの移動量ΔzはΔz=m×Δdで表すことができる。つまり、ピンチイン操作、及びピンチアウト操作による単位時間当たりの指の移動量に応じて、仮想カメラの移動量が決定される。なお、移動量を決定する方法は上述の方法に限らない。例えば、仮想カメラから3次元点Tまでの距離に基づいて表示スクリーン上での指の移動量に合うように3次元空間上での移動量が決定されるようにしても良い。 In step S811, the viewpoint control unit 204 determines the amount of movement of the virtual camera in the front-rear direction according to the user's pinch-in operation and pinch-out operation. If the distance between the two fingers when the current image frame is displayed is dn, and the distance between the two fingers when the previous image frame is displayed is dn-1 , the amount of change Δd is [Delta] d = a d n -d n-1. The virtual camera is moved back and forth in proportion to the amount of change. Assuming that the sensitivity of movement is m, the movement amount Δz of the virtual camera can be expressed as Δz = m × Δd. That is, the movement amount of the virtual camera is determined according to the movement amount of the finger per unit time by the pinch-in operation and the pinch-out operation. The method for determining the movement amount is not limited to the method described above. For example, the movement amount in the three-dimensional space may be determined based on the distance from the virtual camera to the three-dimensional point T so as to match the movement amount of the finger on the display screen.

S812では、視点制御部204がユーザのピンチイン操作、及びピンチアウト操作に応じた仮想カメラの位置の決定を行い、その結果を描画部205に出力する。前後方向にΔzだけ移動した仮想カメラの位置は以下の式で表される。   In step S <b> 812, the viewpoint control unit 204 determines the position of the virtual camera according to the user's pinch-in operation and pinch-out operation, and outputs the result to the drawing unit 205. The position of the virtual camera moved by Δz in the front-rear direction is expressed by the following expression.

Figure 2019057291
Figure 2019057291

S813では、視点制御部204がユーザのスライド操作に応じた仮想カメラの上下左右方向の移動量の決定を行う。本実施形態では、表示スクリーン上における指の移動量と等しい距離だけ3次元点が表示スクリーン上で移動するように移動量が決定される。つまり、あるオブジェクト(例えばサッカー選手)の表示位置に3本指でタッチして、その3本指を表示スクリーン上でスライド移動させると、そのオブジェクトの表示位置と3本指の位置関係が変化しないように、仮想カメラの位置が変化する。移動量Δx,Δyは、仮想カメラからタッチした3次元点までの距離をrとすると以下の式で表すことができる。   In step S813, the viewpoint control unit 204 determines the amount of movement of the virtual camera in the vertical and horizontal directions in accordance with the user's slide operation. In the present embodiment, the movement amount is determined so that the three-dimensional point moves on the display screen by a distance equal to the movement amount of the finger on the display screen. In other words, when the display position of an object (for example, a soccer player) is touched with three fingers and the three fingers are slid on the display screen, the positional relationship between the display position of the object and the three fingers does not change. As described above, the position of the virtual camera changes. The movement amounts Δx and Δy can be expressed by the following equations, where r is the distance from the virtual camera to the touched three-dimensional point.

Figure 2019057291
Figure 2019057291

S814では、視点制御部204がユーザのスライド操作に応じた仮想カメラの位置及び姿勢の決定を行い、その結果を描画部205に出力する。左右方向にΔx、上下方向にΔyだけ移動した場合の仮想カメラの位置及び姿勢は以下の式で表される。   In step S <b> 814, the viewpoint control unit 204 determines the position and orientation of the virtual camera according to the user's slide operation, and outputs the result to the drawing unit 205. The position and orientation of the virtual camera when it is moved by Δx in the left-right direction and Δy in the up-down direction are expressed by the following equations.

Figure 2019057291
Figure 2019057291

なお、指の本数と処理の内容の対応関係は、上述に示した例に限らない。例えば、指1本のスライド操作と指3本のスライド操作による仮想カメラの位置及び姿勢の制御は入れ替えることも可能である。つまり、指1本のスライド操作に基づいて仮想カメラを上下左右に平行移動させ、指3本のスライド操作に基づいて3次元点を中心とする仮想カメラの回転移動を実行するようにしても良い。また、指の本数と制御方法の関係を、ユーザが任意に設定できるようにしても良い。このようにすれば、ユーザのスキルや、仮想視点映像の表示環境等によりマッチした操作機能を提供できるようになる。また、本実施形態では、タッチ点数が0点の場合の処理(S805)、1点の場合の処理(S806〜S808)、2点の場合の処理(S809〜S812)、3点の場合の処理(S813、S814)をすべて行う倍の例を中心に説明した。しかしこの例に限らない。例えば、タッチ点数が2点の場合の処理(S809〜S812)と、3点の場合の処理(S813、S814)のみを実行するようにしても良いし、タッチ点数が1点の場合の処理(S806〜S808)のみを実行するようにしても良い。また、事前のユーザ設定に応じて、どの処理を有効にするかが切り替わるようにしても良い。   Note that the correspondence between the number of fingers and the content of processing is not limited to the example described above. For example, the control of the position and posture of the virtual camera by the sliding operation with one finger and the sliding operation with three fingers can be interchanged. That is, the virtual camera may be translated vertically and horizontally based on a sliding operation with one finger, and the virtual camera may be rotated around a three-dimensional point based on a sliding operation with three fingers. . Further, the relationship between the number of fingers and the control method may be arbitrarily set by the user. In this way, it is possible to provide an operation function that matches the skill of the user, the display environment of the virtual viewpoint video, and the like. In this embodiment, the process when the number of touch points is 0 (S805), the process when 1 point (S806 to S808), the process when 2 points (S809 to S812), and the process when 3 points are used. The description has been mainly focused on the double example of performing all (S813, S814). However, it is not limited to this example. For example, only the process when the number of touch points is 2 (S809 to S812) and the process when the number of touch points is 3 (S813, S814) may be executed, or the process when the number of touch points is 1 ( Only S806 to S808) may be executed. Also, which process is to be enabled may be switched according to the prior user setting.

以上説明した通り、本実施形態の制御装置100は、仮想視点映像を表示するための表示面(表示スクリーン)に対するユーザ操作に応じて、仮想視点の位置及び向きのうち少なくとも何れか一方を制御する。このような構成によれば、ユーザは、従来よりも簡易に仮想視点に関する制御を行うことができるようになる。また、本実施形態の制御装置100は、表示面から検出された指の本数(ユーザ操作により同時に指定される座標の数)に応じて、ユーザ操作に応じた仮想視点の制御方法を切り替える。このような構成を採用することにより、ユーザは、その意図に応じた仮想視点の制御を、より直観的な操作で行うことができるようになる。言い換えれば、本実施形態の制御装置100によれば、よりユーザの意図に沿った仮想視点映像を生成することができるようになるという効果がある。   As described above, the control device 100 according to the present embodiment controls at least one of the position and the orientation of the virtual viewpoint according to a user operation on the display surface (display screen) for displaying the virtual viewpoint video. . According to such a configuration, the user can control the virtual viewpoint more easily than in the past. In addition, the control device 100 according to the present embodiment switches the virtual viewpoint control method according to the user operation according to the number of fingers detected from the display surface (the number of coordinates simultaneously specified by the user operation). By adopting such a configuration, the user can control the virtual viewpoint according to the intention by a more intuitive operation. In other words, according to the control device 100 of the present embodiment, there is an effect that it is possible to generate a virtual viewpoint video more in line with the user's intention.

<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

100 制御装置
201 操作部
202 取得データ制御部
203 データ取得部
204 視点制御部
205 描画部
206 表示部
DESCRIPTION OF SYMBOLS 100 Control apparatus 201 Operation part 202 Acquisition data control part 203 Data acquisition part 204 View point control part 205 Drawing part 206 Display part

Claims (27)

複数のカメラが所定の撮影対象領域を異なる方向から撮影することで得られる画像データを用いて生成される仮想視点映像に係る仮想視点の位置及び向きを制御する制御装置であって、
前記仮想視点映像を表示する表示面上において第1のタッチ位置と第2のタッチ位置とを離していくタッチ操作が行われた場合、前記仮想視点の向き及び前記仮想視点に基づく注目座標が変化することなく仮想視点の位置が変化し、且つ、前記第1のタッチ位置と前記第2のタッチ位置とを前記表示面上において並行移動させるタッチ操作が行われた場合、前記仮想視点の向きが変化することなく前記仮想視点及び注目座標の位置が変化するように、前記表示面上における前記第1及び第2のタッチ位置の変化に基づいて、前記仮想視点に関するパラメータの変更量を決定する決定手段と、
前記決定手段により決定された変更量に従って、前記仮想視点を制御する制御手段と、を有することを特徴とする制御装置。
A control device for controlling the position and orientation of a virtual viewpoint related to a virtual viewpoint video generated using image data obtained by photographing a predetermined photographing target region from different directions by a plurality of cameras,
When a touch operation that separates the first touch position and the second touch position is performed on the display surface that displays the virtual viewpoint video, the direction of the virtual viewpoint and the attention coordinate based on the virtual viewpoint change. If the position of the virtual viewpoint changes without being performed and a touch operation is performed in which the first touch position and the second touch position are moved in parallel on the display surface, the orientation of the virtual viewpoint is changed. Determination to determine a change amount of a parameter related to the virtual viewpoint based on the change of the first and second touch positions on the display surface so that the position of the virtual viewpoint and the coordinate of interest changes without changing. Means,
And a control unit that controls the virtual viewpoint according to the amount of change determined by the determination unit.
前記仮想視点映像を表示する表示面上において前記第1のタッチ位置と前記第2のタッチ位置とを近づけていくタッチ操作が行われた場合、前記決定手段は、前記仮想視点の向き及び前記仮想視点に基づく注目座標が変化することなく仮想視点の位置が変化するように、前記仮想視点に関するパラメータの変更量を決定することを特徴とする請求項1に記載の制御装置。   When a touch operation that brings the first touch position and the second touch position closer to each other on the display surface that displays the virtual viewpoint video is performed, the determining unit determines the direction of the virtual viewpoint and the virtual position. The control device according to claim 1, wherein a change amount of a parameter related to the virtual viewpoint is determined so that the position of the virtual viewpoint changes without changing the attention coordinate based on the viewpoint. 複数のカメラが所定の撮影対象領域を異なる方向から撮影することで得られる画像データを用いて生成される仮想視点映像に係る仮想視点の位置及び向きを制御する制御装置であって、
前記仮想視点映像を表示する表示面上において第1のタッチ位置と第2のタッチ位置とを離していくタッチ操作が行われた場合、前記仮想視点の位置と向き及び前記仮想視点に基づく注目座標が変化することなく前記仮想視点に係るズームパラメータが変化し、且つ、前記第1のタッチ位置と前記第2のタッチ位置とを前記表示面上において並行移動させるタッチ操作が行われた場合、前記仮想視点の向きが変化することなく前記仮想視点及び注目座標の位置が変化するように、前記表示面上における前記第1及び第2のタッチ位置の変化に基づいて、前記仮想視点に関するパラメータの変更量を決定する決定手段と、
前記決定手段により決定された変更量に従って、前記仮想視点を制御する制御手段と、を有することを特徴とする制御装置。
A control device for controlling the position and orientation of a virtual viewpoint related to a virtual viewpoint video generated using image data obtained by photographing a predetermined photographing target region from different directions by a plurality of cameras,
When a touch operation that separates the first touch position and the second touch position is performed on the display surface that displays the virtual viewpoint video, the position and orientation of the virtual viewpoint and the coordinates of interest based on the virtual viewpoint When the zoom parameter related to the virtual viewpoint is changed without changing, and a touch operation is performed in which the first touch position and the second touch position are moved in parallel on the display surface, Change of parameters related to the virtual viewpoint based on the change of the first and second touch positions on the display surface so that the position of the virtual viewpoint and the coordinate of interest changes without changing the direction of the virtual viewpoint. A determining means for determining the amount;
And a control unit that controls the virtual viewpoint according to the amount of change determined by the determination unit.
前記仮想視点映像を表示する表示面上において前記第1のタッチ位置と前記第2のタッチ位置とを近づけていくタッチ操作が行われた場合、前記決定手段は、前記仮想視点に係るズームパラメータが変化するように、前記仮想視点に関するパラメータの変更量を決定することを特徴とする請求項3に記載の制御装置。   When a touch operation that brings the first touch position and the second touch position closer to each other on the display surface that displays the virtual viewpoint video is performed, the determination unit has a zoom parameter related to the virtual viewpoint. The control device according to claim 3, wherein a change amount of a parameter related to the virtual viewpoint is determined so as to change. 前記決定手段は、前記第1及び第2のタッチ位置の位置の変化量が大きいほど前記仮想視点に関するパラメータの変更量を大きく決定することを特徴とする請求項1乃至4のうち、何れか1項に記載の制御装置。   5. The method according to claim 1, wherein the determining unit determines a parameter change amount related to the virtual viewpoint to be larger as a change amount of the position of the first and second touch positions is larger. The control device according to item. 前記表示面上の1つの位置がタッチされ、且つ、その位置が変化していることが検出された場合、前記決定手段は、当該位置の変化に応じて、前記仮想視点が前記注目座標を中心に旋回するように前記仮想視点の位置及び向きの変更量を決定することを特徴とする請求項1乃至5のうち、何れか1項に記載の制御装置。   When one position on the display surface is touched and it is detected that the position has changed, the determination unit determines that the virtual viewpoint is centered on the attention coordinate in accordance with the change in the position. 6. The control device according to claim 1, wherein the amount of change in the position and orientation of the virtual viewpoint is determined so as to turn in a straight line. 前記表示面上の1つの位置がタッチされ、且つ、その位置が変化していることが検出された場合、前記決定手段は、当該位置の変化に応じて、前記仮想視点が前記注目座標を注目したまま前記仮想視点の位置及び向きが変化するように前記仮想視点の位置および向きの変更量を決定することを特徴とする請求項1乃至5のうち、何れか1項に記載の制御装置。   When one position on the display surface is touched and it is detected that the position has changed, the determination unit pays attention to the attention coordinate according to the change in the position. 6. The control device according to claim 1, wherein an amount of change in the position and orientation of the virtual viewpoint is determined such that the position and orientation of the virtual viewpoint changes without change. 前記注目座標は、前記表示面上におけるタッチ位置が検出されたときに前記表示面において表示される仮想視点映像の中心位置に基づいて決定される座標であることを特徴とする請求項1乃至7のうち、何れか1項に記載の制御装置。   8. The attention coordinate is a coordinate determined based on a center position of a virtual viewpoint image displayed on the display surface when a touch position on the display surface is detected. The control apparatus of any one of these. 前記第1のタッチ位置と前記第2のタッチ位置とを前記表示面上において並行移動させるタッチ操作が行われた場合、前記決定手段は、当該タッチ操作に応じて、前記仮想視点の位置が3次元空間内において直線的に移動するように前記仮想視点に関するパラメータの変更量を決定することを特徴とする請求項1又は2に記載の制御装置。   When a touch operation is performed in which the first touch position and the second touch position are moved in parallel on the display surface, the determination unit determines that the position of the virtual viewpoint is 3 according to the touch operation. The control device according to claim 1, wherein a change amount of a parameter related to the virtual viewpoint is determined so as to move linearly in a dimensional space. 前記第1のタッチ位置と前記第2のタッチ位置とを前記表示面上において並行移動させるタッチ操作が行われた場合、前記決定手段は、当該タッチ操作に応じた方向に前記仮想視点の位置が直線的に移動するように前記仮想視点に関するパラメータの変更量を決定することを特徴とする請求項1又は2に記載の制御装置。   When a touch operation is performed in which the first touch position and the second touch position are moved in parallel on the display surface, the determination unit determines that the position of the virtual viewpoint is in a direction corresponding to the touch operation. The control device according to claim 1, wherein a change amount of a parameter related to the virtual viewpoint is determined so as to move linearly. 前記表示面において仮想視点映像の再生が一時停止状態になっている間に前記表示面に対する所定のタッチ操作が検出された場合、前記制御手段は、前記一時停止状態から再生状態に変更することを特徴とする請求項1乃至10のうち、何れか1項に記載の制御装置。   When a predetermined touch operation on the display surface is detected while the playback of the virtual viewpoint video on the display surface is in a paused state, the control unit changes the paused state to the playback state. The control device according to claim 1, wherein the control device is one of the features described above. 前記表示面における所定位置に対してタッチ操作が検出されたことに応じて、前記制御手段は、前記仮想視点の位置及び向きを予め定められた位置及び向きに変更することを特徴とする請求項1乃至11のうち、何れか1項に記載の制御装置。   The control means changes the position and orientation of the virtual viewpoint to a predetermined position and orientation in response to a touch operation detected at a predetermined position on the display surface. The control device according to any one of 1 to 11. 前記所定の撮影対象領域には、1以上のオブジェクトが存在することを特徴とする請求項1乃至12のうち、何れか1項に記載の制御装置。   The control device according to any one of claims 1 to 12, wherein one or more objects exist in the predetermined photographing target region. 前記オブジェクトの少なくとも1つはスポーツ選手であることを特徴とする請求項13に記載の制御装置。   The control device according to claim 13, wherein at least one of the objects is a sports player. 複数のカメラが所定の撮影対象領域を異なる方向から撮影することで得られる画像データを用いて生成される仮想視点映像に係る仮想視点の位置及び向きを制御する制御装置であって、
前記仮想視点映像を表示する表示面上においてピンチ操作が行われた場合、前記仮想視点の向きに応じた方向に前記仮想視点が移動し、且つ、前記表示面上において第1のタッチ位置と第2のタッチ位置を並行移動させる操作が行われた場合、前記第1及び第2のタッチ位置の移動方向に応じた方向に前記仮想視点が移動するように、前記表示画面に対するタッチ操作に応じて前記仮想視点の移動のための制御量を決定する決定手段と、
前記決定手段により決定された制御量に従って、前記仮想視点を制御する制御手段と、を有することを特徴とする制御装置。
A control device for controlling the position and orientation of a virtual viewpoint related to a virtual viewpoint video generated using image data obtained by photographing a predetermined photographing target region from different directions by a plurality of cameras,
When a pinch operation is performed on the display surface that displays the virtual viewpoint video, the virtual viewpoint moves in a direction corresponding to the orientation of the virtual viewpoint, and the first touch position and the first touch position on the display surface. When an operation for moving the two touch positions in parallel is performed, the virtual viewpoint moves in a direction corresponding to the moving direction of the first and second touch positions according to the touch operation on the display screen. Determining means for determining a control amount for movement of the virtual viewpoint;
And a control unit that controls the virtual viewpoint according to the control amount determined by the determination unit.
ピンチイン操作が行われた場合、前記決定手段は、前記仮想視点が後方に移動するように前記仮想視点の移動のための制御量を決定し、ピンチアウト操作が行われた場合、前記決定手段は、前記仮想視点が前方に移動するように前記仮想視点の移動のための制御量を決定することを特徴とする請求項15に記載の制御装置。   When a pinch-in operation is performed, the determination unit determines a control amount for moving the virtual viewpoint so that the virtual viewpoint moves backward, and when a pinch-out operation is performed, the determination unit The control device according to claim 15, wherein a control amount for moving the virtual viewpoint is determined so that the virtual viewpoint moves forward. 複数のカメラが所定の撮影対象領域を異なる方向から撮影することで得られる画像データを用いて生成される仮想視点映像に係る仮想視点の位置及び向きを制御する制御装置であって、
前記仮想視点映像を表示する表示面上においてピンチ操作が行われた場合、前記仮想視点が移動することなく前記仮想視点に係るズームパラメータが変化し、且つ、前記表示面上において第1のタッチ位置と第2のタッチ位置を並行移動させる操作が行われた場合、前記第1及び第2のタッチ位置の移動方向に応じた方向に前記仮想視点が移動するように、前記表示画面上において行われたタッチ操作に応じて前記仮想視点に関する制御量を決定する決定手段と、
前記決定手段により決定された制御量に従って、前記仮想視点を制御する制御手段と、を有することを特徴とする制御装置。
A control device for controlling the position and orientation of a virtual viewpoint related to a virtual viewpoint video generated using image data obtained by photographing a predetermined photographing target region from different directions by a plurality of cameras,
When a pinch operation is performed on a display surface that displays the virtual viewpoint video, the zoom parameter related to the virtual viewpoint changes without moving the virtual viewpoint, and the first touch position on the display surface And the second touch position are performed on the display screen so that the virtual viewpoint moves in a direction corresponding to the moving direction of the first and second touch positions. Determining means for determining a control amount related to the virtual viewpoint according to the touch operation performed;
And a control unit that controls the virtual viewpoint according to the control amount determined by the determination unit.
ピンチイン操作が行われた場合、前記決定手段は、前記仮想視点に係るズーム倍率が下がるように制御量を決定し、ピンチアウト操作が行われた場合、前記決定手段は、前記仮想視点に係るズーム倍率が上がるように制御量を決定することを特徴とする請求項17に記載の制御装置。   When a pinch-in operation is performed, the determination unit determines a control amount so that the zoom magnification related to the virtual viewpoint is reduced, and when a pinch-out operation is performed, the determination unit performs zooming related to the virtual viewpoint. The control device according to claim 17, wherein the control amount is determined so as to increase the magnification. 複数のカメラが所定の撮影対象領域を異なる方向から撮影することで得られる画像データを用いて生成される仮想視点映像に係る仮想視点の位置及び向きを制御する制御装置が行う制御方法であって、
前記仮想視点映像を表示する表示面上において第1のタッチ位置と第2のタッチ位置とを離していくタッチ操作が行われた場合、前記仮想視点の向き及び前記仮想視点に基づく注目座標が変化することなく仮想視点の位置が変化し、且つ、前記第1のタッチ位置と前記第2のタッチ位置とを前記表示面上において並行移動させるタッチ操作が行われた場合、前記仮想視点の向きが変化することなく前記仮想視点及び注目座標の位置が変化するように、前記表示面上における前記第1及び第2のタッチ位置の変化に基づいて、前記仮想視点に関するパラメータの変更量を決定する決定工程と、
前記決定工程により決定された変更量に従って、前記仮想視点を制御する制御工程と、を有することを特徴とする制御方法。
A control method performed by a control device that controls the position and orientation of a virtual viewpoint related to a virtual viewpoint video generated using image data obtained by shooting a predetermined shooting target region from different directions. ,
When a touch operation that separates the first touch position and the second touch position is performed on the display surface that displays the virtual viewpoint video, the direction of the virtual viewpoint and the attention coordinate based on the virtual viewpoint change. If the position of the virtual viewpoint changes without being performed and a touch operation is performed in which the first touch position and the second touch position are moved in parallel on the display surface, the orientation of the virtual viewpoint is changed. Determination to determine a change amount of a parameter related to the virtual viewpoint based on the change of the first and second touch positions on the display surface so that the position of the virtual viewpoint and the coordinate of interest changes without changing. Process,
And a control step of controlling the virtual viewpoint according to the change amount determined by the determination step.
前記仮想視点映像を表示する表示面上において前記第1のタッチ位置と前記第2のタッチ位置とを近づけていくタッチ操作が行われた場合、前記決定工程において、前記仮想視点の向き及び前記仮想視点に基づく注目座標が変化することなく仮想視点の位置が変化するように、前記仮想視点に関するパラメータの変更量が決定されることを特徴とする請求項19に記載の制御方法。   When a touch operation that brings the first touch position and the second touch position closer to each other on the display surface that displays the virtual viewpoint video is performed, in the determination step, the orientation of the virtual viewpoint and the virtual The control method according to claim 19, wherein the change amount of the parameter relating to the virtual viewpoint is determined so that the position of the virtual viewpoint changes without changing the attention coordinate based on the viewpoint. 複数のカメラが所定の撮影対象領域を異なる方向から撮影することで得られる画像データを用いて生成される仮想視点映像に係る仮想視点の位置及び向きを制御する制御装置が行う制御方法であって、
前記仮想視点映像を表示する表示面上において第1のタッチ位置と第2のタッチ位置とを離していくタッチ操作が行われた場合、前記仮想視点の位置と向き及び前記仮想視点に基づく注目座標が変化することなく前記仮想視点に係るズームパラメータが変化し、且つ、前記第1のタッチ位置と前記第2のタッチ位置とを前記表示面上において並行移動させるタッチ操作が行われた場合、前記仮想視点の向きが変化することなく前記仮想視点及び注目座標の位置が変化するように、前記表示面上における前記第1及び第2のタッチ位置の変化に基づいて、前記仮想視点に関するパラメータの変更量を決定する決定工程と、
前記決定工程により決定された変更量に従って、前記仮想視点を制御する制御工程と、を有することを特徴とする制御方法。
A control method performed by a control device that controls the position and orientation of a virtual viewpoint related to a virtual viewpoint video generated using image data obtained by shooting a predetermined shooting target region from different directions. ,
When a touch operation that separates the first touch position and the second touch position is performed on the display surface that displays the virtual viewpoint video, the position and orientation of the virtual viewpoint and the coordinates of interest based on the virtual viewpoint When the zoom parameter related to the virtual viewpoint is changed without changing, and a touch operation is performed in which the first touch position and the second touch position are moved in parallel on the display surface, Change of parameters related to the virtual viewpoint based on the change of the first and second touch positions on the display surface so that the position of the virtual viewpoint and the coordinate of interest changes without changing the direction of the virtual viewpoint. A decision step to determine the amount;
And a control step of controlling the virtual viewpoint according to the change amount determined by the determination step.
前記仮想視点映像を表示する表示面上において前記第1のタッチ位置と前記第2のタッチ位置とを近づけていくタッチ操作が行われた場合、前記決定工程において、前記仮想視点に係るズームパラメータが変化するように、前記仮想視点に関するパラメータの変更量が決定されることを特徴とする請求項21に記載の制御方法。   When a touch operation that brings the first touch position and the second touch position closer to each other on the display surface that displays the virtual viewpoint video is performed, the zoom parameter related to the virtual viewpoint is determined in the determination step. The control method according to claim 21, wherein a change amount of a parameter related to the virtual viewpoint is determined so as to change. 複数のカメラが所定の撮影対象領域を異なる方向から撮影することで得られる画像データを用いて生成される仮想視点映像に係る仮想視点の位置及び向きを制御する制御装置が行う制御方法あって、
前記仮想視点映像を表示する表示面上においてピンチ操作が行われた場合、前記仮想視点の向きに応じた方向に前記仮想視点が移動し、且つ、前記表示面上において第1のタッチ位置と第2のタッチ位置を並行移動させる操作が行われた場合、前記第1及び第2のタッチ位置の移動方向に応じた方向に前記仮想視点が移動するように、前記表示画面上において行われたタッチ操作に応じて前記仮想視点の移動のための制御量を決定する決定工程と、
前記決定工程により決定された制御量に従って、前記仮想視点を制御する制御工程と、を有することを特徴とする制御方法。
A control method performed by a control device that controls the position and orientation of a virtual viewpoint related to a virtual viewpoint video generated using image data obtained by shooting a predetermined shooting target region from different directions,
When a pinch operation is performed on the display surface that displays the virtual viewpoint video, the virtual viewpoint moves in a direction corresponding to the orientation of the virtual viewpoint, and the first touch position and the first touch position on the display surface. When the operation of moving the two touch positions in parallel is performed, the touch performed on the display screen so that the virtual viewpoint moves in a direction corresponding to the moving direction of the first and second touch positions. A determining step for determining a control amount for moving the virtual viewpoint according to an operation;
And a control step of controlling the virtual viewpoint according to the control amount determined in the determination step.
ピンチイン操作が行われた場合、前記決定工程において、前記仮想視点が後方に移動するように前記仮想視点の移動のための制御量が決定され、ピンチアウト操作が行われた場合、前記決定工程において、前記仮想視点が前方に移動するように前記仮想視点の移動のための制御量が決定されることを特徴とする請求項23に記載の制御方法。   When a pinch-in operation is performed, in the determination step, a control amount for moving the virtual viewpoint is determined so that the virtual viewpoint moves backward, and when a pinch-out operation is performed, in the determination step 24. The control method according to claim 23, wherein a control amount for moving the virtual viewpoint is determined so that the virtual viewpoint moves forward. 複数のカメラが所定の撮影対象領域を異なる方向から撮影することで得られる画像データを用いて生成される仮想視点映像に係る仮想視点の位置及び向きを制御する制御装置が行う制御方法あって、
前記仮想視点映像を表示する表示面上においてピンチ操作が行われた場合、前記仮想視点が移動することなく前記仮想視点に係るズームパラメータが変化し、且つ、前記表示面上において第1のタッチ位置と第2のタッチ位置を並行移動させる操作が行われた場合、前記第1及び第2のタッチ位置の移動方向に応じた方向に前記仮想視点が移動するように、前記表示画面上において行われたタッチ操作に応じて前記仮想視点に関する制御量を決定する決定工程と、
前記決定工程により決定された制御量に従って、前記仮想視点を制御する制御工程と、を有することを特徴とする制御方法。
A control method performed by a control device that controls the position and orientation of a virtual viewpoint related to a virtual viewpoint video generated using image data obtained by shooting a predetermined shooting target region from different directions,
When a pinch operation is performed on a display surface that displays the virtual viewpoint video, the zoom parameter related to the virtual viewpoint changes without moving the virtual viewpoint, and the first touch position on the display surface And the second touch position are performed on the display screen so that the virtual viewpoint moves in a direction corresponding to the moving direction of the first and second touch positions. A determination step of determining a control amount related to the virtual viewpoint according to the touch operation performed;
And a control step of controlling the virtual viewpoint according to the control amount determined in the determination step.
ピンチイン操作が行われた場合、前記決定工程において、前記仮想視点に係るズーム倍率が下がるように制御量が決定され、ピンチアウト操作が行われた場合、前記決定工程において、前記仮想視点に係るズーム倍率が上がるように制御量が決定されることを特徴とする請求項25に記載の制御方法。   When a pinch-in operation is performed, in the determination step, a control amount is determined so that a zoom magnification according to the virtual viewpoint is decreased, and when a pinch-out operation is performed, in the determination step, a zoom according to the virtual viewpoint is performed. 26. The control method according to claim 25, wherein the control amount is determined so as to increase the magnification. コンピュータを、請求項1乃至18のうち、何れか1項に記載の制御装置の各手段として動作させるためのプログラム。   A program for causing a computer to operate as each unit of the control device according to any one of claims 1 to 18.
JP2018192133A 2018-10-10 2018-10-10 Control device, control method, and program Active JP6632681B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018192133A JP6632681B2 (en) 2018-10-10 2018-10-10 Control device, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018192133A JP6632681B2 (en) 2018-10-10 2018-10-10 Control device, control method, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017179581A Division JP6419278B1 (en) 2017-09-19 2017-09-19 Control device, control method, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019223941A Division JP2020053088A (en) 2019-12-11 2019-12-11 Control device, control method, and program

Publications (2)

Publication Number Publication Date
JP2019057291A true JP2019057291A (en) 2019-04-11
JP6632681B2 JP6632681B2 (en) 2020-01-22

Family

ID=66107505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018192133A Active JP6632681B2 (en) 2018-10-10 2018-10-10 Control device, control method, and program

Country Status (1)

Country Link
JP (1) JP6632681B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7287172B2 (en) 2019-08-06 2023-06-06 凸版印刷株式会社 Display control device, display control method, and program
US11681487B2 (en) 2021-04-12 2023-06-20 Canon Kabushiki Kaisha Electronic apparatus and control method thereof and storage medium
JP7333564B2 (en) 2021-10-29 2023-08-25 グリー株式会社 Information processing system, information processing method and computer program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013038568A (en) * 2011-08-08 2013-02-21 Alpine Electronics Inc Image reproduction device and reproduction method thereof
WO2014014806A1 (en) * 2012-07-15 2014-01-23 Apple Inc. Disambiguation of multitouch gesture recognition for 3d interaction
JP2014215828A (en) * 2013-04-25 2014-11-17 シャープ株式会社 Image data reproduction device, and viewpoint information generation device
JP2015052851A (en) * 2013-09-05 2015-03-19 シャープ株式会社 Operation input device, portable information terminal, control method of operation input device, program, and recording medium
JP2015076062A (en) * 2013-10-11 2015-04-20 富士通テン株式会社 Image display device, image display system, image display method, and program
JP2015187797A (en) * 2014-03-27 2015-10-29 シャープ株式会社 Image data generation device and image data reproduction device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013038568A (en) * 2011-08-08 2013-02-21 Alpine Electronics Inc Image reproduction device and reproduction method thereof
WO2014014806A1 (en) * 2012-07-15 2014-01-23 Apple Inc. Disambiguation of multitouch gesture recognition for 3d interaction
JP2014215828A (en) * 2013-04-25 2014-11-17 シャープ株式会社 Image data reproduction device, and viewpoint information generation device
JP2015052851A (en) * 2013-09-05 2015-03-19 シャープ株式会社 Operation input device, portable information terminal, control method of operation input device, program, and recording medium
JP2015076062A (en) * 2013-10-11 2015-04-20 富士通テン株式会社 Image display device, image display system, image display method, and program
JP2015187797A (en) * 2014-03-27 2015-10-29 シャープ株式会社 Image data generation device and image data reproduction device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
柏熊 淳也,外3名: "マルチタッチ操作を用いた自由視点映像閲覧法の検討", 第16回日本バーチャルリアリティ学会大会 論文集, JPN6019032833, 2 September 2011 (2011-09-02), pages 674 - 677, ISSN: 0004102797 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7287172B2 (en) 2019-08-06 2023-06-06 凸版印刷株式会社 Display control device, display control method, and program
US11681487B2 (en) 2021-04-12 2023-06-20 Canon Kabushiki Kaisha Electronic apparatus and control method thereof and storage medium
JP7333564B2 (en) 2021-10-29 2023-08-25 グリー株式会社 Information processing system, information processing method and computer program

Also Published As

Publication number Publication date
JP6632681B2 (en) 2020-01-22

Similar Documents

Publication Publication Date Title
JP6419278B1 (en) Control device, control method, and program
US10948993B2 (en) Picture-taking within virtual reality
US9690388B2 (en) Identification of a gesture
JP7267753B2 (en) Control device, control method, and program
US20210390721A1 (en) Display control apparatus, display control method, and storage medium
US11477432B2 (en) Information processing apparatus, information processing method and storage medium
US9275275B2 (en) Object tracking in a video stream
EP2558924B1 (en) Apparatus, method and computer program for user input using a camera
JP6632681B2 (en) Control device, control method, and program
TWI499938B (en) Touch control system
JP7434385B2 (en) Control device, control method, and program
JP2024021205A (en) image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181010

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190827

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191018

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20191112

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191210

R151 Written notification of patent or utility model registration

Ref document number: 6632681

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151