JP2019045679A - Image processing apparatus, control method of image processing apparatus, image display apparatus and program - Google Patents

Image processing apparatus, control method of image processing apparatus, image display apparatus and program Download PDF

Info

Publication number
JP2019045679A
JP2019045679A JP2017168645A JP2017168645A JP2019045679A JP 2019045679 A JP2019045679 A JP 2019045679A JP 2017168645 A JP2017168645 A JP 2017168645A JP 2017168645 A JP2017168645 A JP 2017168645A JP 2019045679 A JP2019045679 A JP 2019045679A
Authority
JP
Japan
Prior art keywords
switching
image
effect
display
display image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017168645A
Other languages
Japanese (ja)
Inventor
正俊 石井
Masatoshi Ishii
正俊 石井
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 JP2017168645A priority Critical patent/JP2019045679A/en
Publication of JP2019045679A publication Critical patent/JP2019045679A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

To mitigate a sense of discomfort which is given to a browser due to a difference of height of an imaging position of an image before and after switching when a plurality of images having different height of the imaging position are switched to be displayed.SOLUTION: An image processing apparatus for displaying by switching a plurality of images having wide angles according to an embodiment of the present invention comprises: image acquisition means that acquires a switching source image and a switching destination image; height information acquisition means that acquires height information of imaging positions when the switching source image and the switching destination image are respectively imaged; switching effect selection means that selects switching effect of images on the basis of a difference between the height information of the imaging position of the switching source image and the height information of the imaging position of the switching destination image; and generation means that generates a display image for switching on the basis of the selected switching effect.SELECTED DRAWING: Figure 2

Description

本発明は、画像の表示処理に関する。   The present invention relates to image display processing.

閲覧者の視線に応じた画像を表示する方法として、閲覧者の姿勢に基づいて全方位画像からサンプリングされた画像をヘッドマウントディスプレイ(以後、HMDと称する)で表示する方法が知られている。全方位画像は、上下左右全方位の360度パノラマ画像であり、全方位カメラにより取得される。全方位カメラとは、全天球カメラとも呼ばれ、全方位画像を一度に撮影可能な撮影装置である。HMDは一般的に、複数の全方位画像がある場合は、これらを順次切り替えながらスライドショーのように表示する。   As a method of displaying an image according to the line of sight of a viewer, there is known a method of displaying an image sampled from an omnidirectional image based on the posture of the viewer on a head mounted display (hereinafter referred to as HMD). The omnidirectional image is a 360-degree panoramic image of all directions in all directions, and is acquired by an omnidirectional camera. The omnidirectional camera is also called an omnidirectional camera, and is an imaging device capable of imaging omnidirectional images at one time. Generally, when there are a plurality of omnidirectional images, the HMD displays them as a slide show while sequentially switching them.

また、記録媒体に記録された静止画像の閲覧方法として、記録されている静止画像を順次表示していくスライドショー機能や、表示する静止画像を閲覧者の指示により手動で切り替える機能を有する画像再生装置が提案されている(例えば、特許文献1参照)。さらに、表示画像を切り替える際に、閲覧者に対して表示画像が切り替えられたことを容易に判別可能にする画像再生システムも提案されている(例えば、特許文献2参照)。   In addition, as a browsing method of still images recorded in a recording medium, an image reproducing apparatus having a slide show function of sequentially displaying the recorded still images, and a function of manually switching the displayed still images according to a viewer's instruction Has been proposed (see, for example, Patent Document 1). Furthermore, an image reproduction system has also been proposed that makes it possible to easily determine that the display image has been switched to the viewer when switching the display image (see, for example, Patent Document 2).

特開2003−209809号公報JP 2003-209809 特許第4883318号公報Patent No. 4883318

しかしながら、従来のスライドショー機能や表示画像の切替え機能では、撮影位置が異なる高さ(すなわち、地面や床からの高さ)で撮影された複数の画像を切り替えて表示する際に、切替え前後の画像の高さの違いにより閲覧者に違和感を与えてしまっていた。   However, in the conventional slide show function or the display image switching function, when switching and displaying a plurality of images photographed at different heights (that is, height from the ground or floor) at the photographing position, the images before and after the switching The difference in height caused the viewer to feel uncomfortable.

本発明は、このような問題に鑑みてなされたものであり、その目的は、撮影位置の高さが異なる複数の画像を切り替えて表示する際に、切替え前後の画像の撮影位置の高さの違いにより閲覧者に与える違和感を軽減することである。   The present invention has been made in view of such a problem, and the purpose thereof is to select the height of the photographing position of the images before and after switching when switching and displaying a plurality of images having different heights of the photographing position. It is to reduce the discomfort given to the viewer by the difference.

本発明の一実施形態に係る、複数の画角の広い画像を切り替えて表示するための画像処理装置は、切替え元の画像及び切替え先の画像を取得する画像取得手段と、切替え元の画像及び切替え先の画像それぞれを撮影した時の撮影位置の高さ情報を取得する高さ情報取得手段と、前記切替え元の画像の撮影位置の高さ情報と、前記切替え先の画像の撮影位置の高さ情報の差分に基づいて、画像の切り替え効果を選択する切替え効果選択手段と、前記選択した切り替え効果に基づいて、切替え用の表示画像を生成する生成手段とを備える。   An image processing apparatus according to an embodiment of the present invention for switching and displaying a plurality of wide angle of view images includes: an image acquisition unit that acquires an image of a switching source and an image of a switching destination; Height information acquisition means for acquiring height information of the photographing position when photographing each image of the switching destination, height information of the photographing position of the image of the switching source, and height of the photographing position of the image of the switching destination A switching effect selecting means for selecting a switching effect of an image based on a difference between the depth information and a generating means for generating a display image for switching based on the selected switching effect.

本発明によると、撮影位置の高さが異なる複数の画像を切り替えて表示する際に、切替え前後の画像の撮影位置の高さの違いにより閲覧者に与える違和感を軽減することができる。   According to the present invention, when switching and displaying a plurality of images having different shooting positions, it is possible to reduce a sense of discomfort given to the viewer due to the difference in the shooting positions of the images before and after switching.

画像処理装置の構成例を示す図である。It is a figure showing an example of composition of an image processing device. 画像処理装置の機能構成例を示すブロック図である。It is a block diagram showing an example of functional composition of an image processing device. 画像処理の全体的な流れを示すフローチャートである。It is a flowchart which shows the whole flow of image processing. 表示画像生成処理の詳細を示すフローチャートである。It is a flow chart which shows the details of display image generation processing. 切替え効果選択処理の詳細を示すフローチャートである。It is a flow chart which shows the details of change effect selection processing. ステレオ全方位画像の例を示す図である。It is a figure which shows the example of a stereo omnidirectional image. 表示画像の例を示す図である。It is a figure which shows the example of a display image. ディスプレイ上で画素位置を表すための画像座標を示す図である。FIG. 6 is a diagram showing image coordinates for representing pixel positions on a display. 画像座標上での歪曲の例を示す図である。It is a figure which shows the example of distortion on an image coordinate. 画像座標上の点と3次元位置の関係の例を示す図である。It is a figure which shows the example of the relationship between the point on an image coordinate, and a three-dimensional position. スライドダウンまたはスライドアップが選択された場合の切替え効果適用処理のイメージ図である。It is an image figure of switching effect application processing when slide down or slide up is chosen. フェードダウンまたはフェードアップが選択された場合の切替え効果のイメージ図である。It is an image figure of the change effect when fade down or fade up is chosen. 切替え効果選択処理の詳細を示すフローチャートである。It is a flow chart which shows the details of change effect selection processing. クロスフェード(ディゾルブ)またはフェードアウトフェードインが選択された場合の切替え効果のイメージ図である。It is an image figure of the switching effect when cross fade (dissolve) or fade out fade-in is selected.

以下、本発明の実施形態について、図面を参照して詳細に説明する。なお、以下の実施形態は本発明を必ずしも限定するものではない。また、以下の実施形態で説明される特徴の組み合わせの全てが、本発明に必須なものとは限らない。同一の構成については、同じ符号を付して説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The following embodiments do not necessarily limit the present invention. Moreover, not all combinations of features described in the following embodiments are essential to the present invention. The same components will be described with the same reference numerals.

[第1の実施形態]
本実施形態では、撮影位置が異なる高さ(すなわち、地面や床からの高さ)で撮影された複数の全方位画像をHMDなどの画像表示装置により切り替えて表示する方法を説明する。HMDを装着した閲覧者の視線方向に合わせて全方位画像からサンプリングした部分画像を表示すると、HMDは、閲覧者の視野よりも広い画角の画像を表示することができるため、閲覧者はその全方位画像を撮影した位置にいるかのように画像を閲覧できる。しかしながら表示画像を切り替える際に、切替え前後の画像の撮影位置の高さが異なると、閲覧者に急に自分の立つ位置や視線の高さが変わったかのような違和感を与えてしまう。そこで本実施形態では、このように切替え前後の画像の撮影位置の違いにより閲覧者に与える違和感を軽減するための処理について説明する。具体的には、スライドショーにおける画像の切り替え時に、切替え元画像と切替え先画像のそれぞれの撮影位置の高さを示す高さ情報の差分に基づいて適切な切替え効果を選択する。選択した切り替え効果を適用して画像の切り替えを行うことで、閲覧者に与える違和感を軽減する。本実施形態における切替え効果とは、表示画像を切替え元画像から切替え先画像に徐々に変化させて切り替える特殊効果のことをいう。また、本実施形態における全方位画像は、HMDなどの画像表示装置によって立体視を可能にするステレオ全方位画像とすることができる。また、本実施形態における全方位画像は、3次元空間中のある点から撮影された各方位の画像を複数枚合成して生成することもできる。
First Embodiment
In the present embodiment, a method will be described in which a plurality of omnidirectional images captured at different shooting positions (that is, height from the ground or floor) are switched and displayed by an image display device such as an HMD. When the partial image sampled from the omnidirectional image is displayed according to the gaze direction of the viewer wearing the HMD, the HMD can display an image with a wider angle of view than the viewer's field of view. Images can be viewed as if they were in the position where the omnidirectional image was taken. However, when switching the display image, if the heights of the shooting positions of the images before and after the switching are different, the viewer may feel a sense of strangeness as if the position of oneself or the height of the line of sight suddenly changes. Therefore, in the present embodiment, a process for reducing a sense of incongruity given to a viewer due to the difference between the shooting positions of images before and after switching as described above will be described. Specifically, at the time of switching the images in the slide show, an appropriate switching effect is selected based on the difference in height information indicating the heights of the shooting positions of the switching source image and the switching destination image. By applying the selected switching effect and switching the image, the sense of incongruity given to the viewer is reduced. The switching effect in the present embodiment refers to a special effect in which the display image is switched gradually from the switching source image to the switching destination image. In addition, the omnidirectional image in the present embodiment can be a stereo omnidirectional image that enables stereoscopic vision by an image display device such as an HMD. In addition, the omnidirectional image in the present embodiment can be generated by combining a plurality of images of each azimuth captured from a certain point in the three-dimensional space.

図1は、本実施形態における画像処理装置の構成例を示す。   FIG. 1 shows a configuration example of an image processing apparatus in the present embodiment.

CPU101は、RAM102をワークメモリとして使用し、ROM103またはハードディスクドライブ(HDD)105に格納されたプログラムを実行し、システムバス100を介して後述する各構成要素を制御する。これにより、後述する様々な処理が実行され、様々な機能が実現され得る。   The CPU 101 uses the RAM 102 as a work memory, executes a program stored in the ROM 103 or the hard disk drive (HDD) 105, and controls each component described later via the system bus 100. Thereby, various processes to be described later can be performed to realize various functions.

HDDインタフェイス(I/F)104は、例えばシリアルATA(SATA)等のインタフェイスであり、HDD105や不図示の光ディスクドライブなどの二次記憶装置とシステムバス100とを接続する。CPU101は、HDDI/F104を介して、HDD105からのデータ読み出し、及びHDD105へのデータ書き込みが可能である。さらにCPU101は、HDD105に格納されたデータをRAM102に展開すること、及び、RAM102に展開されたデータをHDD105に保存することが可能である。そしてCPU101は、RAM102に展開したデータをプログラムとして実行することができる。   An HDD interface (I / F) 104 is, for example, an interface such as serial ATA (SATA), and connects the HDD 105 and a secondary storage device such as an optical disk drive (not shown) to the system bus 100. The CPU 101 can read data from the HDD 105 and write data to the HDD 105 via the HDD I / F 104. Further, the CPU 101 can expand the data stored in the HDD 105 in the RAM 102, and can store the data expanded in the RAM 102 in the HDD 105. The CPU 101 can execute the data expanded in the RAM 102 as a program.

入力I/F106は、例えばUSBやIEEE1394等のシリアルバスインタフェイスであり、キーボードやマウス、デジタルカメラ、スキャナなどの入力デバイス107とシステムバス100とを接続する。CPU101は、入力I/F106を介して入力デバイス107からデータを読み込むことが可能である。   The input I / F 106 is, for example, a serial bus interface such as USB or IEEE 1394, and connects the input device 107 such as a keyboard, a mouse, a digital camera, a scanner, and the system bus 100. The CPU 101 can read data from the input device 107 via the input I / F 106.

出力I/F108は、例えばDVIやHDMI(登録商標)等の映像出力インタフェイスであり、HMDなどの出力デバイス109とシステムバス100とを接続する。CPU101は、出力I/F108を介して出力デバイス109に画像データを送り、表示させることができる。また、出力デバイス109は、画像の閲覧者が装着可能なHMDなどとすることができる。すなわち、本実施形態における画像処理装置は、処理した画像の表示を制御することができる画像表示装置として実装することができる。   An output I / F 108 is an image output interface such as DVI or HDMI (registered trademark), for example, and connects an output device 109 such as an HMD to the system bus 100. The CPU 101 can send image data to the output device 109 via the output I / F 108 for display. Also, the output device 109 can be an HMD or the like that can be worn by a viewer of an image. That is, the image processing apparatus in the present embodiment can be implemented as an image display apparatus capable of controlling the display of the processed image.

姿勢検出I/F110は、例えばUSBやIEEE1394等のシリアルバスインタフェイスであり、加速度センサや角速度センサなどの姿勢検出装置111とシステムバス100とを接続する。姿勢検出装置111は、出力デバイス109の画像表示面(すなわち、ディスプレイ)に取り付けられており、出力デバイス109を装着した閲覧者の姿勢情報を検出する。CPU101は、姿勢検出I/F110を介して姿勢検出装置111から閲覧者の姿勢情報を読み込むことが可能である。姿勢情報とは、後述するように、姿勢検出装置111によって検出された出力デバイス109の向き(すなわち、閲覧者の顔の向き)を示すデータである。姿勢情報は、マウスやキーボードなどでも入力することが可能である。   The attitude detection I / F 110 is a serial bus interface such as USB or IEEE 1394, for example, and connects the attitude detection device 111 such as an acceleration sensor or an angular velocity sensor to the system bus 100. The posture detection device 111 is attached to an image display surface (that is, a display) of the output device 109, and detects posture information of a viewer wearing the output device 109. The CPU 101 can read the posture information of the browser from the posture detection device 111 via the posture detection I / F 110. Posture information is data indicating the orientation of the output device 109 (that is, the orientation of the viewer's face) detected by the posture detection device 111, as described later. Posture information can also be input using a mouse, a keyboard or the like.

以下、本実施形態の画像処理装置が行う画像処理の全体的な流れについて、図2と図3を用いて説明する。   The overall flow of image processing performed by the image processing apparatus according to this embodiment will be described below with reference to FIGS. 2 and 3.

図2は、本実施形態における画像処理装置の機能構成例を示すブロック図である。本実施形態における画像処理装置は、画像取得部201、高さ情報取得部202、切替え効果選択部203、切替え効果適用部204、画像データ出力部205、姿勢情報取得部206、表示パラメータ取得部207、及び表示画像生成部208を備える。   FIG. 2 is a block diagram showing an example of the functional configuration of the image processing apparatus according to this embodiment. The image processing apparatus according to the present embodiment includes an image acquisition unit 201, a height information acquisition unit 202, a switching effect selection unit 203, a switching effect application unit 204, an image data output unit 205, a posture information acquisition unit 206, and a display parameter acquisition unit 207. And a display image generation unit 208.

CPU101は、ROM103又はHDD105に格納されたプログラムを読み出して、RAM102をワークエリアとして使用して実行することで、図2に示す各機能ブロックとしての役割を果たす。なお、全ての機能ブロックの役割をCPU101が果たす必要はなく、各機能ブロックに対応する専用の処理回路(例えば、ASIC)を設け、各機能を実現するようにしてもよい。   The CPU 101 reads a program stored in the ROM 103 or the HDD 105 and executes the program by using the RAM 102 as a work area, thereby playing a role as each functional block shown in FIG. It is not necessary for the CPU 101 to play the role of all the functional blocks, and dedicated processing circuits (for example, ASICs) corresponding to the respective functional blocks may be provided to realize the respective functions.

図3は、本実施形態の画像処理装置によって行われる画像処理の全体的な流れを示すフローチャートである。フローチャートの各ステップは、図2に示した画像処理装置の各機能ブロックによって実行される。   FIG. 3 is a flowchart showing an overall flow of image processing performed by the image processing apparatus of the present embodiment. Each step of the flowchart is performed by each functional block of the image processing apparatus shown in FIG.

ステップS301で、表示パラメータ取得部207が、入力デバイス107から、全方位ステレオ映像を出力デバイス109(すなわち、HMD)に表示するために必要なパラメータである表示パラメータを取得する。表示パラメータは、RAM102やHDD105に一旦保存されたものを取得してもよい。表示パラメータは、HMDを構成している接眼レンズの焦点距離、歪曲パラメータ、ディスプレイ上における接眼レンズの中心位置、ディスプレイ解像度、ディスプレイサイズなどを含む。   In step S301, the display parameter acquisition unit 207 acquires, from the input device 107, display parameters which are parameters necessary for displaying the omnidirectional stereo image on the output device 109 (that is, the HMD). The display parameters may be acquired once stored in the RAM 102 or the HDD 105. The display parameters include the focal length of the eyepiece forming the HMD, the distortion parameter, the center position of the eyepiece on the display, the display resolution, the display size and the like.

ステップS302で、姿勢情報取得部206が、姿勢検出装置111または入力デバイス107から姿勢情報を取得する。姿勢情報は、RAM102やHDD105に一旦保存されたものを取得してもよい。姿勢情報は、HMDの向きを表すデータであり、閲覧者の顔の向きと捉えることもできる。本実施形態では、姿勢情報を、3×3の回転行列Rと、ロール、ピッチ、ヨー表現を使用して表す。なお、姿勢情報は、クォータニオン(四元数)を使用して表してもよい。   In step S302, the posture information acquisition unit 206 acquires posture information from the posture detection device 111 or the input device 107. Posture information may be acquired once stored in the RAM 102 or the HDD 105. Posture information is data representing the orientation of the HMD, and can also be regarded as the orientation of the face of the viewer. In the present embodiment, posture information is represented using a 3 × 3 rotation matrix R and roll, pitch, and yaw expressions. The posture information may be expressed using quaternions (quaternions).

ステップS303で、画像取得部201が、HDD105または入力デバイス107から、スライドショーの切替え元画像と切替え先画像のそれぞれに対応する全方位画像データ(本実施形態では特に、ステレオ全方位画像データ)を取得する。切替え元画像及び切替え先画像に対応する全方位画像データはそれぞれ、切替え元全方位画像及び切替え先全方位画像とも称する。図6は、ステレオ全方位画像の例を示す。ステレオ全方位画像データは、閲覧者の左目側に表示する画像データ(左目用全天球画像)IL、及び、閲覧者の右目側に表示する画像データ(右目用全天球画像)IRを含む。すなわち、本実施形態におけるHMDは、視差を有する左目用と右目用の2つの画像を用いて、閲覧者の立体視を可能にする。また、ステレオ全方位画像は、全ての方向の光線の色を保存した画像データである。画像データの横軸(水平方向)を方位角とし、その範囲は[0〜2π]とする。また、画像データの縦軸(鉛直方向)を仰角とし、その範囲は[−π/2〜π/2]とする。 In step S303, the image acquisition unit 201 acquires omnidirectional image data (in particular, stereo omnidirectional image data in the present embodiment) corresponding to each of the slide show switching source image and the switching destination image from the HDD 105 or the input device 107. Do. The omnidirectional image data corresponding to the switching source image and the switching destination image are also referred to as a switching source omnidirectional image and a switching destination omnidirectional image, respectively. FIG. 6 shows an example of a stereo omnidirectional image. The stereo omnidirectional image data is image data to be displayed on the left eye side of the viewer (all-sky image for left eye) I L and image data to be displayed on the right eye side of the viewer (all-sky image for right eye) I R including. That is, the HMD in the present embodiment enables stereoscopic viewing of the viewer using two images for left eye and right eye having parallax. The stereo omnidirectional image is image data in which the color of light in all directions is stored. The horizontal axis (horizontal direction) of the image data is an azimuth angle, and the range is [0 to 2π]. Further, the vertical axis (vertical direction) of the image data is an elevation angle, and the range is [−π / 2 to π / 2].

ステップS304で、表示画像生成部208が、表示パラメータ、ステレオ全方位画像データ、及び姿勢情報から、出力デバイス109に表示するための左右の表示画像データを生成する。図7は、表示画像の例を示す。表示画像は、閲覧者の左目に提示するための左目用表示画像JLと、閲覧者の右目に提示するための右目用表示画像JRを含む。それぞれの画像は、閲覧者がHMDの接眼レンズを通してみたときに歪みなく見えるように、接眼レンズの歪曲が補正されている。この表示画像生成処理は、切替え元の全方位画像データと切替え先の全方位画像データのそれぞれに対して行われ、切替え元表示画像データと切替え先表示画像データが生成される。表示画像生成処理の詳細については後述する。 In step S304, the display image generation unit 208 generates left and right display image data to be displayed on the output device 109 from the display parameter, the stereo omnidirectional image data, and the posture information. FIG. 7 shows an example of a display image. Display image includes a left eye display image J L to be presented to the left eye of the viewer, the right eye display image J R to be presented to the right eye of the viewer. Each image is corrected for eyepiece distortion so that the viewer sees without distortion when viewed through the HMD eyepiece. The display image generation processing is performed on each of the omnidirectional image data of the switching source and the omnidirectional image data of the switching destination, and the switching source display image data and the switching destination display image data are generated. Details of the display image generation process will be described later.

ステップS305で、画像データ出力部205が、出力デバイス109に最初の表示画像として切替え元表示画像データを出力する。出力デバイス109は、画像データ出力部205によって出力された切替え元表示画像データをディスプレイ上に表示する。   In step S305, the image data output unit 205 outputs the switching source display image data as the first display image to the output device 109. The output device 109 displays the switching source display image data output by the image data output unit 205 on the display.

ステップS306で、画像データ出力部205が、表示画像を次の画像(すなわち、切替え先表示画像)に切り替えるかどうかを判定する。例えば、切替え元画像の表示時間が、予め設定された時間TINTを超えた場合に、画像データ出力部205が表示画像の切り替えを行うと判定するようにしてもよい。表示画像を切り替えると判定された場合はステップS307に進み、切り替えないと判定された場合は処理を終了する。 In step S306, the image data output unit 205 determines whether to switch the display image to the next image (that is, the switching destination display image). For example, when the display time of the switching source image exceeds the preset time TINT , it may be determined that the image data output unit 205 switches the display image. If it is determined that the display image is to be switched, the process proceeds to step S307. If it is determined that the display image is not to be switched, the process ends.

ステップS307で、高さ情報取得部202が、ステップS303で取得した、切替え元画像及び切替え先画像のそれぞれに対応するステレオ全方位画像データから、高さ情報を取得する。高さ情報とは、切替え元画像及び切替え先画像のそれぞれに対応するステレオ全方位画像が撮影された時の撮影位置の高さを示す情報である。高さ情報は、例えばステレオ全方位画像データに付帯するEXIF情報から取得する。この場合、高さ情報は、EXIFの拡張タグを用いて含めてもよい。あるいは、入力デバイス107を用いてユーザが高さ情報を入力することで、高さ情報取得部202が取得するようにしてもよい。すなわち、本実施形態におけるステレオ全方位画像データは、付加情報として、ステレオ全方位画像を撮影した撮影装置の地面または床からの高さ情報を含む。また、ステレオ全方位画像を撮影する撮影装置は、レーザなどを用いた高さセンサを備えるように構成され、当該高さセンサを使用して地面または床からの高さを測定するようにしてもよい。ここで、切替え元画像を撮影した際の高さをH1とし、切替え先画像を撮影した際の高さをH2とする。 In step S307, the height information acquisition unit 202 acquires height information from the stereo omnidirectional image data corresponding to each of the switching source image and the switching destination image acquired in step S303. The height information is information indicating the height of the imaging position when the stereo omnidirectional image corresponding to each of the switching source image and the switching destination image is captured. The height information is acquired, for example, from EXIF information incidental to stereo omnidirectional image data. In this case, the height information may be included using an EXIF expansion tag. Alternatively, when the user inputs height information using the input device 107, the height information acquisition unit 202 may acquire it. That is, the stereo omnidirectional image data in the present embodiment includes, as additional information, height information from the ground or floor of the imaging device that has captured the stereo omnidirectional image. Further, the imaging device for capturing a stereo omnidirectional image is configured to include a height sensor using a laser or the like, and the height sensor may be used to measure the height from the ground or the floor. Good. Here, switch the height at the time of photographing the original image and H 1, the height at the time of photographing the switching destination image and H 2.

ステップS308で、高さ情報取得部202が、取得した高さ情報の差分値HDIFFを、以下の式(1)に従って算出する。
DIFF=H2−H1 ・・・(1)
In step S308, the height information acquisition unit 202 calculates the difference value H DIFF of the acquired height information according to the following equation (1).
H DIFF = H 2- H 1 (1)

ステップS309で、切替え効果選択部203が、前のステップで算出した高さ情報の差分値HDIFFに従って、画像切り替え時の切替え効果を選択する。切替え効果選択処理の詳細については後述する。 In step S309, the switching effect selection unit 203 selects a switching effect at the time of image switching according to the difference value HDIFF of the height information calculated in the previous step. Details of the switching effect selection process will be described later.

ステップS310で、切替え効果適用部204が、前のステップで選択された切替え効果に従って、切替え元表示画像データと切替え先表示画像データに対して切替え効果を適用し、切替え時表示画像データを生成する(切替え効果適用処理)。本実施形態では切替え効果とは、切替え元画像から切替え先画像に徐々に変化させて切り替える特殊効果である。従って、ここで生成される切替え時表示画像データは、所定時間内に表示される複数フレームからなる。切替え効果適用部204は、以下に説明するように、あらかじめ設定された切替え時間TCに従って、時間的に滑らかに切替え効果が適用されるように切替え効果の適用度合を調整しながら、切替え時表示画像データを生成する。 In step S310, the switching effect application unit 204 applies the switching effect to the switching source display image data and the switching destination display image data according to the switching effect selected in the previous step, and generates display image data at the time of switching (Switching effect application processing). In the present embodiment, the switching effect is a special effect that is switched gradually from the switching source image to the switching destination image. Therefore, the switching display image data generated here consists of a plurality of frames displayed within a predetermined time. As described below, the switching effect application unit 204 displays the switching effect while adjusting the application degree of the switching effect so that the switching effect is smoothly applied temporally according to the preset switching time T C. Generate image data.

図11は、切替え効果としてスライドダウンまたはスライドアップが選択された場合の切替え効果適用処理のイメージ図である。スライドダウンは、切替え先表示画像が、画面の上から下へと移動するように表示される切替え効果である。したがって、切替え効果適用処理では、連続して表示することでそのような移動効果を生じさせる切替え時表示画像が、切替え元表示画像データと切替え先表示画像データとを合成することで生成される。すなわち、切替え時表示画像は、切替えが段階的に行われている状態を表す複数のフレームからなる画像データである。複数のフレームは、画像が切り替わる切替えラインが上から下に遷移する。切替えラインより上部は切替え先表示画像データを、切替えラインより下部は切替え元表示画像データを合成する。切替え時間の開始に表示されるフレームは、切替えラインが上方にあり、切替え元表示画像データの示す割合が大きく、終了に表示されるフレームは、切替えラインが下方にあり、切替え先表示画像データの占める割合が大きくなる。一方、スライドアップは、切替え先表示画像が、画面の下から上へと移動するように表示される切替え効果である。したがって、切替え効果適用処理では、連続して表示することでそのような移動効果を生じさせる切替え時表示画像が、切替え元表示画像データと切替え先表示画像データとを合成することで生成される。この場合、切替え時間が終了に近いフレームほど、切替えラインが上方に位置する。図中の縦軸は時間軸を示す。時間0に切替え元表示画像からの切替えが開始するとすると、切替え時間Tcの時に切替え先表示画像への切替えが完了することを意味している。切替え効果適用部204は、例えば、切替え先表示画像の移動量を時間に対して線形な関係となるように算出し、これに基づいて切替え元表示画像データと切替え先表示画像データとを合成することで、切替え時表示画像データを生成する。 FIG. 11 is an image diagram of switching effect application processing when slide down or slide up is selected as the switching effect. The slide down is a switching effect in which the switching destination display image is displayed so as to move from the top to the bottom of the screen. Therefore, in the switching effect application process, the switching display image which causes such a moving effect by continuously displaying is generated by combining the switching source display image data and the switching destination display image data. That is, the switching display image is image data composed of a plurality of frames representing a state in which switching is performed in stages. In a plurality of frames, switching lines for switching images transition from top to bottom. The switching destination display image data is synthesized above the switching line, and the switching source display image data is synthesized below the switching line. The frame displayed at the start of the switching time has the switching line at the upper side, the ratio indicated by the switching source display image data is large, and the frame displayed at the end has the switching line at the lower side. The proportion will increase. On the other hand, the slide up is a switching effect in which the switching destination display image is displayed so as to move from the bottom of the screen to the top. Therefore, in the switching effect application process, the switching display image which causes such a moving effect by continuously displaying is generated by combining the switching source display image data and the switching destination display image data. In this case, the switching line is positioned higher as the switching time approaches the end of the frame. The vertical axis in the figure indicates a time axis. If switching from the switching source display image starts at time 0, it means that switching to the switching destination display image is completed at the switching time T c . For example, the switching effect application unit 204 calculates the movement amount of the switching destination display image so as to have a linear relationship with time, and combines the switching source display image data and the switching destination display image data based on this. Thus, display image data at the time of switching is generated.

ステップS311で、画像データ出力部205が、出力デバイス109に切替え時表示画像データ及び切替え先表示画像データを出力する。出力デバイス109は、画像データ出力部205によって出力された切替え時表示画像データ及び切替え先表示画像データを順次表示する。すなわち、本実施形態の画像処理装置によると、選択された切り替え効果に従って、切替え元画像データと切替え先画像データとを徐々に変化させて切り替え、表示することが可能である。   In step S311, the image data output unit 205 outputs the display image data at the time of switching to the output device 109 and the switching destination display image data. The output device 109 sequentially displays the switching display image data and the switching destination display image data output by the image data output unit 205. That is, according to the image processing apparatus of the present embodiment, it is possible to gradually change, switch and display the switching source image data and the switching destination image data in accordance with the selected switching effect.

<表示画像生成処理>
以下では、上述したステップS304における表示画像生成処理の詳細を説明する。
<Display image generation process>
Hereinafter, the details of the display image generation process in step S304 described above will be described.

表示画像生成部208は、HMD(すなわち、出力デバイス109)に表示するための左右の表示画像を、HMDを装着している閲覧者の顔の向きに応じてステレオ全方位画像からサンプリングして生成する。表示画像生成部208は、表示画像の画素値をステレオ全方位画像からサンプリングするために、姿勢情報取得部206が取得した姿勢情報を基に、HMDのディスプレイ上の各画素位置にどの方向の光線を表示するかを算出する。光線の方向は、水平方向の角度を表す方位角θと、垂直方向の方向を表す仰角φとによって表される。接眼レンズのレンズ中心を原点とした座標系における画素位置を(x,y)として、光線の方向(θ,φ)を算出し、その方向から表示画像の画素値を求める。   The display image generation unit 208 generates the left and right display images to be displayed on the HMD (that is, the output device 109) by sampling from the stereo omnidirectional image according to the face direction of the viewer wearing the HMD. Do. In order to sample the pixel values of the display image from the stereo omnidirectional image, the display image generation unit 208 generates a ray of light in any direction at each pixel position on the HMD display based on the posture information acquired by the posture information acquisition unit 206. Calculate whether to display. The direction of a ray is represented by an azimuth angle θ that represents a horizontal angle and an elevation angle φ that represents a vertical direction. The direction (θ, φ) of the light beam is calculated with (x, y) as the pixel position in the coordinate system with the lens center of the eyepiece as the origin, and the pixel value of the display image is determined from that direction.

以下、図4のフローチャートを用いて、表示画像生成部208が行う表示画像生成処理の詳細を説明する。なお、図示されたフローチャートによって表される処理は、左右の表示画像のそれぞれに対して行われる。   Hereinafter, the details of the display image generation process performed by the display image generation unit 208 will be described using the flowchart of FIG. 4. The processing represented by the illustrated flowchart is performed on each of the left and right display images.

ステップS401で、表示画像生成部208は、画素位置(x,y)におけるレンズ収差による歪曲率を取得する。図8は、ディスプレイ上での画素位置を表すための画像座標を示している。図示されるように、ディスプレイ上での画素位置(x,y)は、左右の表示画像801、802のそれぞれにおいて、xyの座標系で表される。図9は、画像座標上での歪曲の例を示す。歪曲率は、レンズ中心からの距離rとレンズの光学特性で決まるため、表示画像生成部208は、使用レンズに応じてあらかじめ用意したレンズ中心からの距離rに対する歪曲率のルックアップテーブルを使って歪曲率を取得する。レンズの特性によって、波長ごとに歪曲率が異なる場合は、ディスプレイにおけるR、G、Bの波長ごとにルックアップテーブルを用意する。そして、R、G、B毎の歪曲率を取得して、以後のステップでR、G、Bの色ごとに異なる歪曲率を使用して処理を行う。画素位置(x,y)におけるレンズ中心からの距離rが遠く、接眼レンズの閲覧可能範囲外である場合は、表示画像の画素値を黒にしてその画素の処理を終了してもよい。   In step S401, the display image generation unit 208 acquires a distortion factor due to lens aberration at the pixel position (x, y). FIG. 8 shows image coordinates for representing a pixel position on the display. As illustrated, the pixel position (x, y) on the display is represented by the xy coordinate system in each of the left and right display images 801 and 802. FIG. 9 shows an example of distortion on image coordinates. Since the distortion rate is determined by the distance r from the lens center and the optical characteristics of the lens, the display image generation unit 208 uses a look-up table of distortion rates with respect to the distance r from the lens center prepared in advance according to the lens used. Get the distortion rate. If the distortion factor differs for each wavelength depending on the characteristics of the lens, look-up tables are prepared for each of the R, G, and B wavelengths in the display. Then, distortion rates for each of R, G, and B are acquired, and processing is performed using different distortion rates for each of R, G, and B in subsequent steps. When the distance r from the lens center at the pixel position (x, y) is far and out of the viewable range of the eyepiece, the pixel value of the display image may be blackened to end the processing of the pixel.

ステップS402で、表示画像生成部208は、画素位置(x,y)がレンズの歪曲によって実際に見える画素位置(すなわち、歪曲後の画素位置)を算出する。歪曲後の画素位置(xd,yd)は、以下の式(2)、(3)に示すように、画素位置のx座標及びy座標にそれぞれ歪曲率dを積算することで算出できる。
d=x×d ・・・(2)
d=y×d ・・・(3)
In step S402, the display image generation unit 208 calculates a pixel position at which the pixel position (x, y) is actually viewed by lens distortion (that is, the pixel position after distortion). The pixel position (x d , y d ) after distortion can be calculated by integrating the distortion factor d to the x coordinate and y coordinate of the pixel position as shown in the following equations (2) and (3).
x d = x × d (2)
y d = y × d (3)

ステップS403で、表示画像生成部208は、歪曲後の画素位置(xd,yd)を、眼の位置を原点とする座標系の3次元位置(X,Y,Z)に変換する。図10は、画像座標上の点(x,y)と3次元位置(X,Y,Z)の関係の例を示す。閲覧者の姿勢情報を3×3の回転行列R、画素単位で表現した焦点距離をfとすると、3次元位置(X,Y,Z)は以下の式(4)で算出できる。
[X Y Z]t = R × [xdd f]t ・・・(4)
In step S403, the display image generation unit 208 converts the distorted pixel position (x d , y d ) into a three-dimensional position (X, Y, Z) of a coordinate system having the position of the eye as the origin. FIG. 10 shows an example of the relationship between the point (x, y) on the image coordinates and the three-dimensional position (X, Y, Z). Assuming that the orientation information of the viewer is a 3 × 3 rotation matrix R and the focal length represented in pixel units is f, the three-dimensional position (X, Y, Z) can be calculated by the following equation (4).
[X Y Z] t = R × [x d y d f] t (4)

ステップS404で、表示画像生成部208は、画素の3次元位置(X,Y,Z)から方位角θ、仰角φを算出する。原点(すなわち、眼の位置)から3次元位置(X,Y,Z)までの距離をL=(X2+Y2+Z21/2とすると、方位角θ、仰角φはそれぞれ、以下の式(5)、(6)で算出できる。
φ=asin(Y / L) ・・・(5)
θ=asin(Z / L / cosφ) ・・・(6)
In step S404, the display image generation unit 208 calculates the azimuth angle θ and the elevation angle φ from the three-dimensional position (X, Y, Z) of the pixel. Assuming that the distance from the origin (ie, the position of the eye) to the three-dimensional position (X, Y, Z) is L = (X 2 + Y 2 + Z 2 ) 1/2 , the azimuth angle θ and elevation angle φ are respectively It can be calculated by the equations (5) and (6).
φ = asin (Y / L) (5)
θ = asin (Z / L / cosφ) (6)

ステップS405で、表示画像生成部208は、光線の方向(θ,φ)の画素値を、対応する全方位画像から取得し、表示画像の画素値として格納する。姿勢情報のロール角αの絶対値が90度以下(すなわち、|α|≦90°)である場合、左目用の表示画像を生成する際は、左目用全方位画像からサンプリングする。また、右目用表示画像を生成する際は右目用全方位画像からサンプリングする。姿勢情報のロール角αの絶対値が90度より大きい(すなわち、|α|>90°)場合、眼の位置関係が|α|≦90°のときと左右逆転するため、左右の表示画像を入れ替える。すなわち、左目用表示画像のサンプリングを右目用全方位画像から行い、右目用表示画像のサンプリングを左目用全方位画像から行う。取得した画素値は、表示画像上の原点から(x,y)だけ移動した位置の画素値として格納される。全方位画像から画素値をサンプリングする際は、最近傍の画素値を取得しても良いし、バイリニア補間やバイキュービック補間など周辺の画素値を使って補間してサンプリングを行っても良い。   In step S405, the display image generation unit 208 acquires pixel values in the direction (θ, φ) of the light beam from the corresponding omnidirectional image, and stores the pixel values as display pixel values. When the absolute value of the roll angle α of the posture information is 90 degrees or less (that is, | α | ≦ 90 °), when generating a display image for the left eye, sampling is performed from the omnidirectional image for the left eye. Moreover, when producing | generating the display image for right eyes, it samples from the omnidirectional image for right eyes. When the absolute value of the roll angle α in the posture information is larger than 90 degrees (ie, | α |> 90 °), the left and right display images are reversed because the positional relationship between the eyes is reversed as in the case of | α | Swap. That is, sampling of the display image for the left eye is performed from the omnidirectional image for the right eye, and sampling of the display image for the right eye is performed from the omnidirectional image for the left eye. The acquired pixel value is stored as a pixel value at a position moved by (x, y) from the origin on the display image. When sampling pixel values from an omnidirectional image, the nearest pixel values may be acquired, or interpolation may be performed using neighboring pixel values such as bilinear interpolation or bicubic interpolation.

<切替え効果選択処理>
以下では、図5のフローチャートを用いて、上述したステップS309における切替え効果選択処理の詳細を説明する。フローチャートの各ステップは、切替え効果選択部203によって行われる。
<Switching effect selection processing>
Hereinafter, the details of the switching effect selection process in step S309 described above will be described using the flowchart of FIG. Each step of the flowchart is performed by the switching effect selection unit 203.

ステップS501で、切替え効果選択部203は、切替え元画像と比較して、切替え先画像の高さの方が高いかどうかを判定する。具体的には、ステップS308で算出した差分値HDIFFが0以上の場合は、切替え先画像の高さの方が高いと判断し、差分値HDIFFが0より小さい場合は、切替え先画像の高さの方が低いと判断する。切替え先画像の高さの方が高いと判定された場合はステップS502へ進み、そうでない場合はステップS503へ進む。 In step S501, the switching effect selection unit 203 determines whether the height of the switching destination image is higher than that of the switching source image. Specifically, if the difference value HDIFF calculated in step S308 is 0 or more, it is determined that the height of the switching destination image is higher, and if the difference value HDIFF is smaller than 0, the switching destination image is Judge that the height is lower. If it is determined that the height of the switching destination image is higher, the process proceeds to step S502. If not, the process proceeds to step S503.

ステップS502で、切替え効果選択部203は、切替え先表示画像が画面の上から下へ移動するように表示される移動効果を伴う切替え効果として、あらかじめ記憶された複数の切替え効果の中からスライドダウンを選択する。なお、選択する切替え効果は、スライドダウンに限定されるものではなく、切替え先表示画像が画面の上から下へ移動するように表示される移動効果を伴うものであればよい。本実施形態に係るHMDは、切替え元表示画像の撮影位置の高さより切替え先表示画像の撮影位置の高さの方が高い場合に、切替え先表示画像を画面の上から下へ移動するように表示する。これにより、画像の切替え時に閲覧者に与える急に立ち位置や視線が上がるような違和感を軽減することができる。   In step S502, the switching effect selection unit 203 slides down from among a plurality of switching effects stored in advance as a switching effect with a moving effect displayed so that the switching destination display image moves downward from the top of the screen. Choose Note that the switching effect to be selected is not limited to the slide down, as long as the switching destination display image is displayed so as to move from the top to the bottom of the screen. The HMD according to the present embodiment moves the switching destination display image from the top to the bottom of the screen when the height of the shooting position of the switching destination display image is higher than the height of the shooting position of the switching source display image. indicate. As a result, it is possible to reduce the sense of incongruity, such as a sudden standing position or line of sight given to the viewer at the time of switching the image.

ステップS503で、切替え効果選択部203は、切替え先表示画像が画面の下から上へ移動するように表示される移動効果を伴う切替え効果として、あらかじめ記憶された複数の切替え効果の中からスライドアップを選択する。なお、選択する切替え効果は、スライドアップに限定されるものではなく、切替え先表示画像が画面の下から上へ移動するように表示される移動効果を伴うものであればよい。本実施形態に係るHMDは、切替え元表示画像の撮影位置の高さより切替え先表示画像の撮影位置の高さの方が低い場合に、切替え先表示画像を画面の下から上へ移動するように表示する。これにより、画像の切替え時に閲覧者に与える急に立ち位置や視線が下がるような違和感を軽減することができる。   In step S503, the switching effect selection unit 203 slides up from among a plurality of switching effects stored in advance as a switching effect with a moving effect displayed so that the switching destination display image moves upward from the bottom of the screen. Choose Note that the switching effect to be selected is not limited to slide-up, as long as the switching destination display image is displayed so as to move from the bottom to the top of the screen. The HMD according to the present embodiment moves the switching destination display image upward from the bottom of the screen when the height of the shooting position of the switching destination display image is lower than the height of the shooting position of the switching source display image. indicate. As a result, it is possible to reduce the sense of incongruity that the standing position or the sight line is suddenly given to the viewer at the time of switching the image.

このような場合、表示画像が画面の上から下方向へ、及び画面の下から上方向への移動効果を伴う切替え効果の組み合わせを用いればよいため、例えばフェードダウンとフェードアップの組み合わせを用いても同様の効果を得ることができる。   In such a case, since it is sufficient to use a combination of switching effects with the display image moving from the top to the bottom of the screen and from the bottom to the top of the screen, for example, using a combination of fade down and fade up. The same effect can be obtained.

図12は、切替え効果としてフェードダウンまたはフェードアップが選択された場合の切替え効果適用処理のイメージを表す図である。フェードダウン及びフェードアップは、図11を参照して上述したスライドダウン及びスライドアップの代替として利用可能な切替え効果の例であり、切替え先表示画像が画面の上から下へ、または下から上へと移動するように表示される。図中の縦軸は時間軸を示す。時間0の時点では切替え元表示画像の全体が表示されている。時間0から切替えが開始するとすると、時間Tcの時点で切替え先表示画像への切替えが完了することを意味している。図示されるように、フェードダウンは、切替え元表示画像がその上部から徐々に消えるとともに、切替え先表示画像がその上部から徐々に現れるような切替え効果である。すなわち、フェードダウンは、切替え先表示画像が画面の上から下へ移動して表示されるような移動効果を奏する。一方、フェードアップは、切替え元表示画像がその下部から徐々に消えるとともに、切替え先表示画像がその下部から徐々に現れるような切替え効果である。すなわち、フェードアップは、切替え先表示画像が画面の下から上へ移動して表示されるような移動効果を奏する。このように、フェードダウン及びフェードアップをスライドダウン及びスライドアップの代わりに用いても、画像の切替え時に閲覧者に与える違和感を軽減することができる。 FIG. 12 is a diagram showing an image of the switching effect application process when fade down or fade up is selected as the switching effect. Fade down and fade up are examples of the switching effect that can be used as an alternative to slide down and slide up described above with reference to FIG. 11, and the display image to be switched is from top to bottom or from bottom to top of the screen. Appears to move. The vertical axis in the figure indicates a time axis. At time 0, the entire switching source display image is displayed. If switching is started from time 0, it means that switching to the switching destination display image is completed at time Tc . As illustrated, fade-down is a switching effect such that the switching source display image gradually disappears from the top and the switching destination display image gradually appears from the top. That is, fade-down produces a moving effect such that the switching destination display image is displayed moving from the top to the bottom of the screen. On the other hand, fade-up is a switching effect such that the switching source display image gradually disappears from its lower portion and the switching destination display image gradually appears from its lower portion. That is, fade-up produces a moving effect such that the switching destination display image is displayed moving from the bottom to the top of the screen. As described above, even if fade-down and fade-up are used instead of slide-down and slide-up, it is possible to reduce the discomfort given to the viewer when switching the image.

以上説明したように、本実施形態では、異なる高さで撮影された全方位画像を切り替えて、例えばスライドショーのように表示する際に、切替え元画像と切替え先画像のそれぞれの高さ情報の差分に基づいて切替え効果を決定する。そして、決定した切替え効果を適用して画像を切り替えることで、切替え前後の画像の高さの違いにより閲覧者に与える違和感を軽減する。   As described above, in the present embodiment, when displaying omnidirectional images captured at different heights, for example, as a slide show, the difference between the height information of each of the switching source image and the switching destination image Determine the switching effect based on Then, by applying the determined switching effect to switch the image, the sense of incongruity given to the viewer is reduced due to the difference in height of the image before and after the switching.

なお、本実施形態では、全方位画像をサンプリングした画像をHMDに表示する形態としたが、全方位画像に限らない。例えば、半球状の画像でもよいし、パノラマ画像でもよい。人の視野よりも広い画角の画像を表示する場合であれば、本実施形態による効果を得られる。   In the present embodiment, an image obtained by sampling an omnidirectional image is displayed on the HMD, but the present invention is not limited to the omnidirectional image. For example, it may be a hemispherical image or a panoramic image. If an image with an angle of view wider than the field of view of a person is displayed, the effect of this embodiment can be obtained.

[第2の実施形態]
本実施形態では、切替え前後の画像の高さの違いを判定して切り替え効果を選択する前に、閲覧者の姿勢情報に基づいて切替え効果を選択する。特に、閲覧者が水平方向に対して上方や下方を向いている最中に画像を切り替える場合に、移動効果を伴わない切替え効果を選択して適用することで、閲覧者に与える違和感を軽減する。
Second Embodiment
In the present embodiment, the switching effect is selected based on the posture information of the browser before the difference in height of the image before and after switching is determined to select the switching effect. In particular, when switching the image while the viewer is facing upward or downward with respect to the horizontal direction, by selecting and applying the switching effect without the moving effect, the discomfort caused to the viewer is alleviated. .

本実施形態における画像処理の全体的な流れは、上述した第1の実施形態の図3に示したフローチャートと同様であるため説明を省略する。本実施形態では、図5を参照して上述したステップS309における切替え効果選択処理の詳細が異なるため、以下では、本実施形態における切替え効果選択処理の詳細について説明する。   The overall flow of the image processing in the present embodiment is the same as the flowchart shown in FIG. 3 of the first embodiment described above, and therefore the description thereof is omitted. In the present embodiment, since the details of the switching effect selection processing in step S309 described above with reference to FIG. 5 are different, the details of the switching effect selection processing in the present embodiment will be described below.

図13は、本実施形態における切替え効果選択処理の詳細を示すフローチャートである。フローチャートの各ステップは、切替え効果選択部203によって行われる。   FIG. 13 is a flowchart showing details of the switching effect selection process in the present embodiment. Each step of the flowchart is performed by the switching effect selection unit 203.

ステップS1301で、切替え効果選択部203は、閲覧者が水平方向に対して上方または下方を向いている状態かどうかを判定する。具体的には、ステップS302で取得した姿勢情報のうち、閲覧者の顔の上下方向の向きに相当するピッチ角βの絶対値が45度より大きい(すなわち、|β|>45°)かどうかを判定する。ピッチ角βの絶対値が45度より大きい場合は、ステップS1302に進み、ピッチ角βの絶対値が45度以下である場合はステップS1303に進む。なお、ピッチ角βの判定は必ずしも45度を基準として行う必要はなく、閲覧者の顔の上下方向の向き(すなわち、仰角)が、略水平であるかどうかを判断できる値であればよい。また、HMDを使用する閲覧者の個人差を考慮し、閲覧者ごとに異なる値を閾値として設定するようにしてもよい。   In step S1301, the switching effect selection unit 203 determines whether the viewer is facing upward or downward with respect to the horizontal direction. Specifically, in the posture information acquired in step S302, whether the absolute value of the pitch angle β corresponding to the vertical direction of the viewer's face is greater than 45 degrees (ie, | β |> 45 °) Determine If the absolute value of the pitch angle β is larger than 45 degrees, the process proceeds to step S1302, and if the absolute value of the pitch angle β is 45 degrees or less, the process proceeds to step S1303. It is not necessary to determine the pitch angle β based on 45 degrees, as long as the vertical orientation (ie elevation angle) of the viewer's face can be determined to be substantially horizontal. Further, in consideration of the individual difference of the viewer using the HMD, a different value may be set as the threshold value for each viewer.

ステップS1302で、切替え効果選択部203は、移動効果を伴わない切替え効果として、あらかじめ記憶された複数の切替え効果の中からクロスフェード(ディゾルブとも称される。)を選択する。なお、選択する切替え効果はクロスフェードに限定されるものではなく、フェードアウトフェードインなどでもよい。   In step S1302, the switching effect selection unit 203 selects a crossfade (also referred to as dissolve) from among a plurality of switching effects stored in advance as a switching effect without moving effect. The switching effect to be selected is not limited to the cross fade but may be fade out fade in or the like.

図14は、切替え効果としてクロスフェード(ディゾルブ)またはフェードアウトフェードインが選択された場合の切替え効果適用処理のイメージ図である。図示されるように、フェードアウトフェードインは、まず、切替え元表示画像が全体的に徐々に消え(フェードアウト)、切替え元表示画像が消えた後、切替え先表示画像が全体的に徐々に現れる(フェードイン)ような切替え効果である。すなわち、フェードアウトフェードインは、画像の切替え時に移動効果を伴わない。クロスフェードは、切替え元表示画像が全体的に徐々に消えるとともに、切替え元表示画像が消える前に、切替え先表示画像が全体的に徐々に現れるような切替え効果である。クロスフェードは、フェードアウトとフェードインが交差(クロス)している。クロスフェードも、画像の切替え時に移動効果を伴わない。このように、本実施形態では、移動効果伴わない切替え効果を選択し、適用することで、画像の切替え時に閲覧者に与える違和感を軽減することができる。   FIG. 14 is an illustration of a switching effect application process when cross fade (dissolve) or fade out fade in is selected as the switching effect. As illustrated, the fade-out fade-in causes the switching source display image to gradually disappear (fade out) first, and after the switching source display image disappears, the switching destination display image gradually appears (fade out). In) switching effect. That is, fade out fade in does not have a moving effect when switching images. The cross fade is a switching effect such that the switching source display image gradually gradually disappears before the switching source display image gradually disappears while the switching source display image gradually disappears. In the cross fade, fade out and fade in cross (cross). Crossfading also has no moving effect when switching images. As described above, in the present embodiment, by selecting and applying the switching effect not accompanied by the moving effect, it is possible to reduce the sense of discomfort given to the viewer at the time of switching the image.

ステップS1303からステップS1305で、切替え効果選択部203は、切替え元画像の高さと切替え先画像の高さの違いに基づいて、スライドダウンまたはスライドアップの切替え効果を選択する。ステップS1303からステップS1305における処理は、上述した図5のステップS501からステップS503における処理と同様であるため、詳細な説明は省略する。なお、本実施形態においても、選択する切替え効果はスライドダウン及びスライドアップに限定されるものではなく、例えば、上述したフェードダウン及びフェードアップでもよい。   In steps S1303 to S1305, the switching effect selection unit 203 selects the switching effect of slide down or slide up based on the difference between the height of the switching source image and the height of the switching destination image. The processes in steps S1303 to S1305 are the same as the processes in steps S501 to S503 of FIG. 5 described above, and thus detailed description will be omitted. Also in the present embodiment, the switching effect to be selected is not limited to slide-down and slide-up. For example, the above-described fade-down and fade-up may be performed.

以上説明したように、本実施形態では、特に閲覧者が上方や下方を向いている最中に画像を切り替える場合に、移動効果を伴わない切替え効果を選択して適用することで、画像の切替え時に閲覧者に与える違和感を軽減する。   As described above, in this embodiment, particularly when switching the image while the viewer is facing upward or downward, the switching of the image is performed by selecting and applying the switching effect without the moving effect. Reduce the sense of discomfort to the viewer at times.

また、切替え元画像と切替え先画像の高さの差分が小さい場合、つまり差分値HDIFFが0に近い場合は、クロスフェードやフェードアウトフェードインのような移動効果を伴わない切替え効果を適用するようにしてもよい。例えば、切替え効果選択部203が、差分値HDIFFをあらかじめ記憶された所定の閾値と比較し、差分値HDIFFが所定の閾値より小さい場合に、移動効果を伴わない切替え効果を選択するようにしてもよい。実施形態1においても同様である。 In addition, when the difference between the height of the switching source image and the height of the switching destination image is small, that is, when the difference value HDIFF is close to 0, a switching effect without a moving effect such as cross fade or fade out fade in is applied. You may For example, the switching effect selection section 203 compares the differential value H DIFF advance and stored predetermined threshold, if the difference value H DIFF is less than a predetermined threshold value, so as to select a switching effect without transfer effects May be The same applies to the first embodiment.

さらに、スライドショーを開始する際に、最初に表示する1枚目の画像については対応する切替え元表示画像がないため、高さ情報の差分値HDIFFを求めることができない。この場合、HMD(または画像処理装置)は閲覧者の目の高さを取得し、これを切替え元表示画像の高さに置き換えて各処理を行うようにしてもよい。そうすることで、同様の効果を得ることができる。閲覧者の目の高さは、例えば、入力デバイスを介してユーザ入力により取得してもよいし、HMD(または画像処理装置)が備えるレーザなどを用いた高さセンサを使って地面からの高さを検出して取得するようにしてもよい。 Furthermore, when the slide show is started, since there is no corresponding switching source display image for the first image to be displayed first, the difference value HDIFF of the height information can not be obtained. In this case, the HMD (or the image processing apparatus) may acquire the heights of the eyes of the viewer and replace them with the height of the switching source display image to perform each processing. By doing so, the same effect can be obtained. The height of the viewer's eyes may be obtained, for example, by user input via an input device, or height from the ground using a height sensor using a laser or the like provided in the HMD (or an image processing apparatus). May be detected and acquired.

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

201 画像取得部
202 高さ情報取得部
203 切替え効果選択部
204 切替え効果適用部
205 画像データ出力部
206 姿勢情報取得部
207 表示パラメータ取得部
208 表示画像生成部
201 image acquisition unit 202 height information acquisition unit 203 switching effect selection unit 204 switching effect application unit 205 image data output unit 206 posture information acquisition unit 207 display parameter acquisition unit 208 display image generation unit

Claims (14)

複数の画角の広い画像を切り替えて表示するための画像処理装置であって、
切替え元の画像及び切替え先の画像を取得する画像取得手段と、
切替え元の画像及び切替え先の画像それぞれを撮影した時の撮影位置の高さ情報を取得する高さ情報取得手段と、
前記切替え元の画像の撮影位置の高さ情報と、前記切替え先の画像の撮影位置の高さ情報の差分に基づいて、画像の切り替え効果を選択する切替え効果選択手段と、
前記選択した切り替え効果に基づいて、切替え用の表示画像を生成する生成手段と
を備えることを特徴とする画像処理装置。
An image processing apparatus for switching and displaying a plurality of wide angle of view images,
An image acquisition unit that acquires a switching source image and a switching destination image;
Height information acquisition means for acquiring height information of the shooting position when each of the switching source image and the switching destination image is shot;
Switching effect selecting means for selecting an image switching effect based on a difference between height information of the photographing position of the switching source image and height information of the photographing position of the switching destination image;
An image processing apparatus comprising: generation means for generating a display image for switching based on the selected switching effect.
前記切替え効果選択手段は、前記切替え先の画像が撮影された高さの方が高い場合は、切替え先の表示画像が画面の上から下へ移動するように切り替わる切替え効果を選択し、前記切替え先の画像が撮影された高さの方が低い場合は、前記切替え先の表示画像が画面の下から上へ移動するように切り替わる切替え効果を選択することを特徴とする請求項1に記載の画像処理装置。   The switching effect selecting means selects a switching effect of switching so that the display image of the switching destination moves downward from the top of the screen when the height at which the image of the switching destination is photographed is higher, and the switching is performed 2. The switching effect according to claim 1, wherein a switching image is switched so that the display image of the switching destination is moved upward from the bottom of the screen when the height at which the previous image was captured is lower. Image processing device. 前記切替え先の表示画像が画面の上から下へ移動するように切り替わる切替え効果は、スライドダウンまたはフェードダウンであることを特徴とする請求項2に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the switching effect of switching the display image of the switching destination to move from the top to the bottom of the screen is slide down or fade down. 前記切替え先の表示画像が画面の下から上へ移動するように切り替わる切替え効果は、スライドアップまたはフェードアップであることを特徴とする請求項2に記載の画像処理装置。   The image processing apparatus according to claim 2, wherein the switching effect of switching the display image of the switching destination to move upward from the bottom of the screen is slide-up or fade-up. 閲覧者の顔の上下方向の向きに相当する角度を含む前記閲覧者の姿勢情報を取得する姿勢情報取得手段をさらに備え、
前記切替え効果選択手段は、前記角度が略水平でない場合は、切替え先の表示画像が移動するように切り替わる移動効果を伴わない切替え効果を選択することを特徴とする請求項1乃至4のいずれか1項に記載の画像処理装置。
It further comprises posture information acquisition means for acquiring posture information of the viewer including the angle corresponding to the vertical direction of the viewer's face,
5. The switching effect selecting means according to any one of claims 1 to 4, wherein, when the angle is not substantially horizontal, the switching effect selecting means selects a switching effect without moving effect switching so as to move the display image of the switching destination. An image processing apparatus according to item 1.
前記切替え効果選択手段は、前記角度の絶対値が45度より大きい場合に、前記移動効果を伴わない切替え効果を選択することを特徴とする請求項5に記載の画像処理装置。   6. The image processing apparatus according to claim 5, wherein the switching effect selection unit selects the switching effect without the movement effect when the absolute value of the angle is larger than 45 degrees. 前記切替え効果選択手段は、前記高さ情報の差分が所定の閾値より小さい場合に、切替え先の表示画像が移動するように切り替わる移動効果を伴わない切替え効果を選択することを特徴とする請求項1乃至6のいずれか1項に記載の画像処理装置。   The switching effect selecting means selects a switching effect not accompanied by a moving effect such that the display image of the switching destination is moved when the difference of the height information is smaller than a predetermined threshold. An image processing apparatus according to any one of items 1 to 6. 前記移動効果を伴わない切替え効果は、切替え元の表示画像が全体的に徐々に消え、前記切替え元の表示画像が消えた後、切替え先の表示画像が徐々に現れるフェードアウトフェードインであることを特徴とする請求項5乃至7のいずれか1項に記載の画像処理装置。   The switching effect without the moving effect is that the display image of the switching source gradually fades out, and after the display image of the switching source disappears, it is a fade-out fade-in that the display image of the switching destination gradually appears. The image processing apparatus according to any one of claims 5 to 7, characterized in that: 前記移動効果を伴わない切替え効果は、切替え元の表示画像が全体的に徐々に消え、前記切替え元の表示画像が消える前に、切替え先の表示画像が徐々に現れるクロスフェードまたはディゾルブであることを特徴とする請求項5乃至7のいずれか1項に記載の画像処理装置。   The switching effect without the movement effect is a cross fade or dissolve in which the display image of the switching destination gradually appears before the display image of the switching source disappears gradually and the display image of the switching source gradually disappears. The image processing apparatus according to any one of claims 5 to 7, characterized in that 閲覧者の目の高さを検出する検出手段をさらに備え、
前記高さ情報取得手段は、最初の表示画像を表示する場合に、前記検出した目の高さと前記最初の画像の撮影位置の高さ情報とを取得することを特徴とする請求項1乃至9のいずれか1項に記載の画像処理装置。
It further comprises detection means for detecting the eye height of the viewer,
10. The display control method according to claim 1, wherein the height information acquiring unit acquires the height of the detected eye and height information of the photographing position of the first image when displaying the first display image. The image processing apparatus according to any one of the above.
前記切替え元の画像および前記切替え先の画像それぞれが全方位画像から生成された画像であることを特徴とする請求項1乃至10のいずれか1項に記載の画像処理装置。   The image processing apparatus according to any one of claims 1 to 10, wherein each of the switching source image and the switching destination image is an image generated from an omnidirectional image. 複数の画角の広い画像のそれぞれから表示画像を生成する画像生成手段と、
前記生成した表示画像を切り替えて画面に表示する表示手段と
を有する画像表示装置であって、
前記表示手段は、切替え先の画像が撮影された高さが、切替え元の画像が撮影された高さより高い場合は、前記表示画像を前記画面の上から下方向へ切り替え、前記切替え先の画像が撮影された高さが、前記切替え元の画像が撮影された高さより低い場合は、前記表示画像を前記画面の下から上方向へ切り替えることを特徴とする画像表示装置。
Image generation means for generating a display image from each of a plurality of wide angle of view images;
An image display apparatus comprising: display means for switching the generated display image and displaying it on the screen,
The display means switches the display image downward from above the screen when the height at which the switching destination image is captured is higher than the height at which the switching source image is captured, and the switching destination image An image display apparatus, wherein the display image is switched from the bottom to the top of the screen when the height at which the image is taken is lower than the height at which the image of the switching source is taken.
複数の画角の広い画像を切り替えて表示するための画像処理装置の制御方法であって、
切替え元の画像及び切替え先の画像を取得する工程と、
切替え元の画像及び切替え先の画像それぞれを撮影した時の撮影位置の高さ情報を取得する工程と、
前記切替え元の画像の撮影位置の高さ情報と、前記切替え先の画像の撮影位置の高さ情報の差分に基づいて、画像の切り替え効果を選択する工程と、
前記選択した切り替え効果に基づいて、切替え用の表示画像を生成する工程と
を含むことを特徴とする制御方法。
A control method of an image processing apparatus for switching and displaying a plurality of wide angle of view images,
Acquiring a switching source image and a switching destination image;
Acquiring height information of shooting positions when shooting each of the switching source image and the switching destination image;
Selecting an image switching effect based on a difference between height information of the shooting position of the switching source image and height information of the shooting position of the switching destination image;
And generating a display image for switching based on the selected switching effect.
コンピュータを、請求項1乃至11のいずれか1項に記載の画像処理装置として機能させるためのプログラム。   A program for causing a computer to function as the image processing apparatus according to any one of claims 1 to 11.
JP2017168645A 2017-09-01 2017-09-01 Image processing apparatus, control method of image processing apparatus, image display apparatus and program Pending JP2019045679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017168645A JP2019045679A (en) 2017-09-01 2017-09-01 Image processing apparatus, control method of image processing apparatus, image display apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017168645A JP2019045679A (en) 2017-09-01 2017-09-01 Image processing apparatus, control method of image processing apparatus, image display apparatus and program

Publications (1)

Publication Number Publication Date
JP2019045679A true JP2019045679A (en) 2019-03-22

Family

ID=65814250

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017168645A Pending JP2019045679A (en) 2017-09-01 2017-09-01 Image processing apparatus, control method of image processing apparatus, image display apparatus and program

Country Status (1)

Country Link
JP (1) JP2019045679A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022070270A1 (en) * 2020-09-29 2022-04-07 株式会社ソニー・インタラクティブエンタテインメント Image generation device and image generation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022070270A1 (en) * 2020-09-29 2022-04-07 株式会社ソニー・インタラクティブエンタテインメント Image generation device and image generation method

Similar Documents

Publication Publication Date Title
US9916517B2 (en) Image processing method and apparatus
US8768043B2 (en) Image display apparatus, image display method, and program
US9881421B2 (en) Image processing
JP4328311B2 (en) Method and program for creating multi-viewpoint image for 3D image display
WO2017212679A1 (en) Image generation device and image generation method
JP5515301B2 (en) Image processing apparatus, program, image processing method, recording method, and recording medium
JP4488996B2 (en) Multi-view image creation apparatus, multi-view image creation method, and multi-view image creation program
JP5517746B2 (en) Image processing apparatus and method
WO2019159617A1 (en) Image processing device, image processing method, and program
JP2002251634A (en) Image processing device, its method, program code, and storage medium
JP6218787B2 (en) Imaging apparatus, information processing apparatus, display apparatus, information processing system, image data transmission method, and image display method
JP7182920B2 (en) Image processing device, image processing method and program
JP2006244306A (en) Animation generation system, animation generation device, animation generation method, program, and storage medium
KR101198557B1 (en) 3D stereoscopic image and video that is responsive to viewing angle and position
JP2019145059A (en) Information processing unit, information processing system, information processing method and program
WO2013108285A1 (en) Image recording device, three-dimensional image reproduction device, image recording method, and three-dimensional image reproduction method
JP5396877B2 (en) Image processing apparatus, program, image processing method, and recording method
JP2019029721A (en) Image processing apparatus, image processing method, and program
JP6700935B2 (en) Imaging device, control method thereof, and control program
JP2010226390A (en) Imaging apparatus and imaging method
JP6166985B2 (en) Image generating apparatus and image generating program
JP2019045679A (en) Image processing apparatus, control method of image processing apparatus, image display apparatus and program
KR101632514B1 (en) Method and apparatus for upsampling depth image
JP4902012B1 (en) Zoomable stereo photo viewer
JP2005050033A (en) Image processing method and image generating device