JP2017102696A - Head mounted display device and computer program - Google Patents

Head mounted display device and computer program Download PDF

Info

Publication number
JP2017102696A
JP2017102696A JP2015235307A JP2015235307A JP2017102696A JP 2017102696 A JP2017102696 A JP 2017102696A JP 2015235307 A JP2015235307 A JP 2015235307A JP 2015235307 A JP2015235307 A JP 2015235307A JP 2017102696 A JP2017102696 A JP 2017102696A
Authority
JP
Japan
Prior art keywords
image
unit
marker
image display
camera
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
JP2015235307A
Other languages
Japanese (ja)
Other versions
JP2017102696A5 (en
JP6701694B2 (en
Inventor
國益 符
Guoyi Fu
國益 符
佳 李
Yoshi Ri
佳 李
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2015235307A priority Critical patent/JP6701694B2/en
Priority to US15/187,257 priority patent/US10192361B2/en
Priority to EP16178033.3A priority patent/EP3115873B1/en
Priority to US15/346,112 priority patent/US10424117B2/en
Priority to US15/346,261 priority patent/US10347048B2/en
Publication of JP2017102696A publication Critical patent/JP2017102696A/en
Priority to US16/123,904 priority patent/US10242504B2/en
Publication of JP2017102696A5 publication Critical patent/JP2017102696A5/ja
Application granted granted Critical
Publication of JP6701694B2 publication Critical patent/JP6701694B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Processing Or Creating Images (AREA)
  • Studio Devices (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide technology capable of easily carrying out calibration.SOLUTION: A head mounted display device includes: an image display part; an imaging part; an image setting part; an object specifying part for specifying a preliminarily set specific object from an imaged outside scenery; and a parameter setting part. The image setting part allows the image display part to display a marker image; when the parameter setting part determines that a user's head is substantially in a stationary state, the image setting part notifies the user of information indicating a time period until the outside scenery is imaged; and the parameter setting part allows the imaging part to image the outside scenery when the time period until the background is imaged has passed.SELECTED DRAWING: Figure 2

Description

本発明は、頭部装着型表示装置の技術に関する。   The present invention relates to a head-mounted display device.

従来から、使用者の頭部に装着される頭部装着型表示装置(Head Mounted Display:HMD)が知られている。例えば、特許文献1には、支持手段を介して外景を撮像可能な撮像手段がHMDに対して上下にスライドするビデオシースルー型HMDが記載されている。   2. Description of the Related Art Conventionally, a head mounted display (HMD) that is mounted on a user's head is known. For example, Patent Document 1 describes a video see-through HMD in which an imaging unit capable of imaging an outside scene through a support unit slides up and down with respect to the HMD.

特開2005-38321号公報JP 2005-38321 A

光学シースルー型の頭部装着型表示装置を含む画像表示装置が、カメラによって撮像された特定の対象物の位置に画像を精度良く重畳させて表示させる技術を備えれば、AR(拡張現実)機能に関して、向上した利便性を提供することができる。ただし、カメラで撮像した特定の対象物に表示画像を正しく重畳させる際には、カメラと画像表示部との間の空間関係を正しく求めることが望まれる。   If an image display device including an optical see-through head-mounted display device has a technique for accurately superimposing and displaying an image on the position of a specific object imaged by a camera, an AR (augmented reality) function Can provide improved convenience. However, when the display image is correctly superimposed on a specific object captured by the camera, it is desirable to correctly obtain the spatial relationship between the camera and the image display unit.

本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態として実現することが可能である。   SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms.

(1)本発明の一形態によれば、頭部装着型表示装置が提供される。この頭部装着型表示装置は;外景からの光を透過可能であって、画像を表示可能な画像表示部と;前記外景を撮像可能な撮像部と;前記画像表示部に表示させる画像を設定する画像設定部と;撮像された外景の中から予め設定された特定オブジェクトを特定するオブジェクト特定部と;パラメーター設定部と、を備え;前記画像設定部は、使用者によって前記特定オブジェクトに少なくとも部分的にほぼ一致させて視認されることが可能なマーカー画像を前記画像表示部に表示させ;前記オブジェクト特定部が撮像された外景の中から前記特定オブジェクトを特定した後、前記パラメーター設定部が使用者の頭部が実質的に静止状態にあると判定する場合に、前記画像設定部は前記外景を撮像するまでの時間を表す情報を使用者に報知し;前記パラメーター設定部は、前記外景を撮像するまでの時間が経過した場合に、前記撮像部に外景を撮像させる。この形態の頭部装着型表示装置によれば、キャリブレーションの実行に必要な特定オブジェクトの撮像データを取得するときに、特定のボタンを押したり、音声認識を実行する必要がなく、自動的に撮像部による撮像が実行される。よって、使用者の操作および音声発生などによる特定オブジェクトとの重なり(アライメント)のずれを低減できる。これにより、精度の良いアライメントの撮像データを取得でき、キャリブレーションの精度を向上させることができる。 (1) According to one aspect of the present invention, a head-mounted display device is provided. The head-mounted display device is configured to: an image display unit capable of transmitting light from an outside scene and displaying an image; an imaging unit capable of imaging the outside scene; and an image to be displayed on the image display unit An image setting unit; an object specifying unit that specifies a specific object set in advance from the captured outside scene; and a parameter setting unit; the image setting unit being at least partially on the specific object by a user A marker image that can be visually recognized in a substantially matched manner is displayed on the image display unit; after the specific object is specified from the outside scene captured by the object specifying unit, the parameter setting unit uses the marker image When determining that the person's head is substantially stationary, the image setting unit informs the user of information indicating the time until the outside scene is imaged; Parameter setting unit, when the time until imaging the outer scene has elapsed, thereby imaging the outside scene on the imaging unit. According to this form of the head-mounted display device, it is not necessary to press a specific button or perform voice recognition when acquiring imaging data of a specific object necessary for executing calibration, and automatically Imaging by the imaging unit is executed. Therefore, it is possible to reduce the deviation of the overlap (alignment) with the specific object due to the user's operation and sound generation. As a result, it is possible to acquire image data of alignment with high accuracy and improve the accuracy of calibration.

(2)上記形態の頭部装着型表示装置において、前記オブジェクト特定部が撮像された外景の中から前記特定オブジェクトを特定した後、前記オブジェクト特定部が前記特定オブジェクトの暫定的な位置および姿勢を導出し;前記パラメーター設定部が、前記導出された暫定的な位置および姿勢と、既定の位置および姿勢と、の差が閾値を下回ると判定する場合に場合であって、前記使用者の前記頭部が実質的に静止状態にあると判定する場合に、前記画像設定部は前記外景を撮像するまでの時間を表す情報を使用者に報知してもよい。 (2) In the head-mounted display device according to the above aspect, after the specific object is specified from an outside scene in which the object specifying unit is imaged, the object specifying unit indicates a provisional position and posture of the specific object. A case where the parameter setting unit determines that a difference between the derived provisional position and posture and a predetermined position and posture is less than a threshold value, the head of the user When it is determined that the part is substantially stationary, the image setting unit may notify the user of information indicating the time until the outside scene is imaged.

(3)上記形態の頭部装着型表示装置において、前記パラメーター設定部は、前記静止状態の場合に、前記撮像部に対する前記特定オブジェクトの位置および姿勢を算出し、前記画像表示部と前記撮像部との予め設定された空間関係と前記算出した位置および姿勢とを用いて、前記画像表示部に対する前記特定オブジェクトの前記暫定的な位置および姿勢を算出し、前記画像表示部に表示されているマーカー画像の仮想的な位置および姿勢と前記暫定的な位置および姿勢とのずれが予め設定された所定の差以下の場合に、前記撮像部が外景を撮像するまでの時間を表す情報を使用者に報知してもよい。 (3) In the head-mounted display device of the above aspect, the parameter setting unit calculates the position and orientation of the specific object with respect to the imaging unit in the stationary state, and the image display unit and the imaging unit The temporary position and orientation of the specific object with respect to the image display unit is calculated using the preset spatial relationship with the calculated position and orientation, and the marker displayed on the image display unit When the difference between the virtual position and orientation of the image and the provisional position and orientation is equal to or less than a predetermined difference set in advance, information indicating the time until the imaging unit captures the outside scene is given to the user. You may notify.

(4)上記形態の頭部装着型表示装置において、前記マーカー画像の仮想的な位置および姿勢と前記暫定的な位置および姿勢とのずれは、3次元座標系における回転のずれと、並進のずれと、を含み;前記回転のずれが予め設定された所定の差よりも大きい場合であって、前記並進のずれが予め設定された所定の差よりも大きい場合と、前記場合以外の場合とで、前記画像表示部が表示を変えてもよい。 (4) In the head-mounted display device of the above aspect, the deviation between the virtual position and posture of the marker image and the provisional position and posture is a rotation deviation and a translation deviation in a three-dimensional coordinate system. The rotation deviation is larger than a predetermined difference, and the translation deviation is larger than a predetermined difference, and in other cases. The image display unit may change the display.

(5)上記形態の頭部装着型表示装置において、前記画像設定部は、使用者に情報を報知する手段として、前記画像表示部に表示される表示画像を設定してもよい。 (5) In the head-mounted display device according to the above aspect, the image setting unit may set a display image displayed on the image display unit as means for notifying a user of information.

(6)上記形態の頭部装着型表示装置において、前記撮像部が外景を撮像するまでの時間を表す情報は、前記表示画像の色を変化させた画像であってもよい。 (6) In the head-mounted display device of the above aspect, the information indicating the time until the imaging unit captures an outside scene may be an image in which the color of the display image is changed.

(7)上記形態の頭部装着型表示装置において、前記外景を撮像するまでの前記時間が経過した場合に前記撮像部が撮像した前記外景の撮像画像に基づいて、前記パラメーター設定部は、前記撮像部と前記画像表示部との間の空間関係を導出してもよい。 (7) In the head-mounted display device according to the above aspect, the parameter setting unit is configured based on a captured image of the outside scene captured by the imaging unit when the time until the outside scene is captured has elapsed. A spatial relationship between the imaging unit and the image display unit may be derived.

(8)上記形態の頭部装着型表示装置において、前記外景を撮像するまでの前記時間が経過した場合に前記撮像部が撮像した前記外景の撮像画像に基づいて、前記パラメーター設定部は、前記撮像部のカメラパラメーターを導出してもよい。 (8) In the head-mounted display device according to the above aspect, the parameter setting unit is configured based on a captured image of the outside scene captured by the imaging unit when the time until the outside scene is captured has elapsed. The camera parameters of the imaging unit may be derived.

本発明は、頭部装着型表示装置以外の種々の形態で実現することも可能である。例えば、画像表示装置、これらの装置を有するシステム、これらの装置の制御方法およびシステムを実現するためのコンピュータープログラム、そのコンピュータープログラムを記録した記録媒体、および、そのコンピュータープログラムを含み搬送波内に具現化されたデータ信号等の形態で実現できる。   The present invention can also be realized in various forms other than the head-mounted display device. For example, an image display device, a system having these devices, a computer program for realizing these devices, a computer program for realizing the system, a recording medium recording the computer program, and a carrier including the computer program embodied in a carrier wave It can be realized in the form of a data signal or the like.

キャリブレーションを行なう頭部装着型表示装置(HMD)の外観構成を示す説明図である。It is explanatory drawing which shows the external appearance structure of the head mounted display apparatus (HMD) which performs calibration. キャリブレーションを行なう頭部装着型表示装置(HMD)の外観構成を示す説明図である。It is explanatory drawing which shows the external appearance structure of the head mounted display apparatus (HMD) which performs calibration. キャリブレーションを行なう頭部装着型表示装置(HMD)の外観構成を示す説明図である。It is explanatory drawing which shows the external appearance structure of the head mounted display apparatus (HMD) which performs calibration. HMDの構成を機能的に示すブロック図である。It is a block diagram which shows the structure of HMD functionally. 紙面に印刷された2次元の実物マーカーを示す説明図である。It is explanatory drawing which shows the two-dimensional real marker printed on the paper surface. 紙面に印刷された2次元の実物マーカーを示す説明図である。It is explanatory drawing which shows the two-dimensional real marker printed on the paper surface. 紙面に印刷された2次元の実物マーカーを示す説明図である。It is explanatory drawing which shows the two-dimensional real marker printed on the paper surface. 紙面に印刷された2次元の実物マーカーを示す説明図である。It is explanatory drawing which shows the two-dimensional real marker printed on the paper surface. 本実施形態におけるキャリブレーション実行処理のフローチャートである。It is a flowchart of the calibration execution process in this embodiment. 第1設定モードのフローチャートである。It is a flowchart of the 1st setting mode. マーカー画像が表示された場合の光学像表示部のイメージ図である。It is an image figure of the optical image display part when a marker image is displayed. 右光学像表示部のみにマーカー画像が表示された状態での空間的な位置関係を示す概略図である。It is the schematic which shows the spatial positional relationship in the state in which the marker image was displayed only on the right optical image display part. 特定オブジェクトに対応付けられて設定画像が表示された場合に使用者が視認する使用者の視野の一例の説明図である。It is explanatory drawing of an example of a user's visual field which a user visually recognizes when a setting image is displayed matched with a specific object. 実施形態に係るキャリブレーションデータの自動収集処理のフローである。5 is a flow of calibration data automatic collection processing according to the embodiment. 他の実施形態に係るキャリブレーションデータの自動収集処理を説明するフローである。It is a flow explaining the automatic collection process of the calibration data which concerns on other embodiment. 他の実施形態に係るキャリブレーションデータの自動収集処理を説明するフローである。It is a flow explaining the automatic collection process of the calibration data which concerns on other embodiment. 第2設定モードに移行したときに使用者が視認する視野の一例の説明図である。It is explanatory drawing of an example of the visual field which a user visually recognizes when transfering to 2nd setting mode. 第2設定モードにおいて設定画像の表示位置が変更されたときに使用者が視認する視野の一例を示す説明図である。It is explanatory drawing which shows an example of the visual field which a user visually recognizes when the display position of a setting image is changed in 2nd setting mode. 第2実施形態における制御部の裏面を示す正面図である。It is a front view which shows the back surface of the control part in 2nd Embodiment. 第3実施形態の実物マーカーの一例を示す概略図である。It is the schematic which shows an example of the real marker of 3rd Embodiment. 第3実施形態の実物マーカーの一例を示す概略図である。It is the schematic which shows an example of the real marker of 3rd Embodiment. 第1設定モードで設定するパラメーターに関連する要素を示す表である。It is a table | surface which shows the element relevant to the parameter set in 1st setting mode.

本明細書では、以下の項目に沿って順番に説明する。
A.第1実施形態:
A−1.頭部装着型表示装置の構成:
A−2.キャリブレーション実行処理:
A−2−1.第1設定モード:
A−2−2.パラメーターの設定:
A−2−2−1.カメラパラメーターについて:
A−2−2−2.変換パラメーターについて:
A−2−2−3.パラメーター導出処理:
A−2−2−4.キャリブレーションデータの自動収集:
A−2−3.第2設定モード:
B.第2実施形態:
C.第3実施形態:
D.変形例:
In this specification, it demonstrates in order along the following items.
A. First embodiment:
A-1. Configuration of head mounted display device:
A-2. Calibration execution process:
A-2-1. First setting mode:
A-2-2. Parameter settings:
A-2-2-1. About camera parameters:
A-2-2-2. About conversion parameters:
A-2-2-3. Parameter derivation processing:
A-2-2-4. Automatic collection of calibration data:
A-2-3. Second setting mode:
B. Second embodiment:
C. Third embodiment:
D. Variations:

A.第1実施形態:
A−1.頭部装着型表示装置の構成:
図1ないし図3は、キャリブレーションを行なう頭部装着型表示装置100(HMD100)の外観構成を示す説明図である。HMD100は、画像表示部20が表示する表示画像を使用者に視認させ、画像表示部20(図1)を透過する外景からの光によって当該外景も使用者に視認させることができる。詳細な構成については後述するが、本実施形態のHMD100は、画像表示部20を装着した使用者の右眼と左眼とのそれぞれに対応する画像表示部を有しており、使用者の右眼と左眼とに別々の画像を視認させることができる。
A. First embodiment:
A-1. Configuration of head mounted display device:
1 to 3 are explanatory diagrams showing an external configuration of a head-mounted display device 100 (HMD 100) that performs calibration. The HMD 100 allows the user to visually recognize the display image displayed by the image display unit 20, and allows the user to visually recognize the outside scene by the light from the outside scene that passes through the image display unit 20 (FIG. 1). Although a detailed configuration will be described later, the HMD 100 of the present embodiment includes image display units corresponding to the right eye and the left eye of the user wearing the image display unit 20, and the right side of the user Separate images can be seen by the eyes and the left eye.

図2に示すように、HMD100は、使用者USの頭部装着型表示装置に装着される装着帯90と、装着帯90に接続されている画像表示部20と、画像表示部20を制御する制御部10(コントローラー10)と、制御部10と装着帯90とを接続する接続部40と、を備えている。図1に示すように、装着帯90は、樹脂製の装着基部91と、装着基部91に連結される布製のベルト部92と、カメラ60と、を備える。装着基部91は、人の前頭部の形に合った湾曲した形状を有する。ベルト部92は、使用者の頭部の周りに装着されるためのベルトである。なお、接続部40は、装着帯90と制御部10側とを有線で接続しているが、図2では、接続している部分については、図示を省略している。   As shown in FIG. 2, the HMD 100 controls the wearing band 90 that is worn on the head-mounted display device of the user US, the image display unit 20 that is connected to the wearing band 90, and the image display unit 20. The control part 10 (controller 10) and the connection part 40 which connects the control part 10 and the mounting | wearing belt | band | zone 90 are provided. As shown in FIG. 1, the attachment band 90 includes a resin attachment base 91, a cloth belt 92 connected to the attachment base 91, and a camera 60. The mounting base 91 has a curved shape that matches the shape of the person's frontal head. The belt portion 92 is a belt to be worn around the user's head. In addition, although the connection part 40 has connected the mounting | wearing belt | band | zone 90 and the control part 10 side by wire, illustration is abbreviate | omitted about the connected part in FIG.

カメラ60は、外景を撮像可能で、装着基部91の中心部分に配置されている。換言すると、カメラ60は、装着帯90が使用者の頭部に装着された状態で、使用者の額の中央に対応する位置に配置されている。そのため、カメラ60は、使用者が装着帯90を頭部に装着した状態において、使用者の視線方向の外部の景色である外景を撮像し、撮像された画像である撮像画像を取得する。図2に示すように、カメラ60は、装着基部91に対して、円弧RCに沿って所定の範囲で可動する。換言すると、カメラ60は、撮像範囲を所定の範囲で変更できる。   The camera 60 can capture an outside scene and is disposed at the center of the mounting base 91. In other words, the camera 60 is arranged at a position corresponding to the center of the user's forehead with the wearing band 90 attached to the user's head. Therefore, the camera 60 captures an outside scene that is an external scenery in the direction of the user's line of sight in a state in which the user wears the wearing band 90 on the head, and acquires a captured image that is a captured image. As shown in FIG. 2, the camera 60 is movable within a predetermined range along the arc RC with respect to the mounting base 91. In other words, the camera 60 can change the imaging range within a predetermined range.

図2に示すように、画像表示部20は、連結部93を介して装着基部91に接続され、眼鏡形状を有している。連結部93は、装着基部91および画像表示部20の両側に対象的に配置され、連結部93を中心として、装着基部91に対する画像表示部20の位置を円弧RAに沿って回動可能に支持する。図2において二点鎖線で示す位置P11は、画像表示部20が円弧RAに沿った最も下端である。また、図2において実線で示す位置P12は、画像表示部20が円弧RAに沿った最も上端である。   As shown in FIG. 2, the image display unit 20 is connected to the mounting base 91 via a connecting portion 93 and has a glasses shape. The connecting portion 93 is disposed on both sides of the mounting base portion 91 and the image display portion 20, and supports the position of the image display portion 20 with respect to the mounting base portion 91 about the connecting portion 93 so as to be rotatable along the arc RA. To do. A position P11 indicated by a two-dot chain line in FIG. 2 is the lowest end of the image display unit 20 along the arc RA. Further, a position P12 indicated by a solid line in FIG. 2 is the uppermost end of the image display unit 20 along the arc RA.

また、図1および図3に示すように、画像を表示可能な表示パネルを有する光学像表示部26,28は、保持部21,23に対して、直線TAに沿って所定の範囲で平行移動して位置を変更する。図3において二点鎖線で示す位置P13は、光学像表示部26,28が直線TAに沿った最も下端である。図3において実線で示す位置P11は、光学像表示部26,28が直線TAに沿った最も上端である。なお、図2における位置P11と、図3における位置P11とは、同じ位置を示している。   As shown in FIGS. 1 and 3, the optical image display units 26 and 28 having a display panel capable of displaying an image are translated in a predetermined range along a straight line TA with respect to the holding units 21 and 23. To change the position. In FIG. 3, a position P13 indicated by a two-dot chain line is the lowermost end of the optical image display units 26 and 28 along the straight line TA. A position P11 indicated by a solid line in FIG. 3 is the uppermost end of the optical image display units 26 and 28 along the straight line TA. Note that the position P11 in FIG. 2 and the position P11 in FIG. 3 indicate the same position.

図1に示すように、画像表示部20は、右保持部21と、右表示駆動部22と、左保持部23と、左表示駆動部24と、右光学像表示部26と、左光学像表示部28と、を含んでいる。右光学像表示部26および左光学像表示部28は、それぞれ、使用者が画像表示部20を装着した際に使用者の右および左の眼前に位置するように配置されている。右光学像表示部26の一端と左光学像表示部28の一端とは、使用者が画像表示部20を装着した際の使用者の眉間に対応する位置で、互いに接続されている。   As shown in FIG. 1, the image display unit 20 includes a right holding unit 21, a right display driving unit 22, a left holding unit 23, a left display driving unit 24, a right optical image display unit 26, and a left optical image. Display unit 28. The right optical image display unit 26 and the left optical image display unit 28 are arranged so as to be positioned in front of the right and left eyes of the user when the user wears the image display unit 20, respectively. One end of the right optical image display unit 26 and one end of the left optical image display unit 28 are connected to each other at a position corresponding to the eyebrow of the user when the user wears the image display unit 20.

右保持部21は、右光学像表示部26の他端から装着基部91と接続されている連結部93に延伸して設けられた部材である。同様に、左保持部23は、左光学像表示部28の他端から連結部93に延伸して設けられた部材である。右表示駆動部22と左表示駆動部24とは、使用者が画像表示部20を装着した際の使用者の頭部に対向する側に配置されている。   The right holding part 21 is a member provided by extending from the other end of the right optical image display part 26 to a connecting part 93 connected to the mounting base 91. Similarly, the left holding portion 23 is a member provided to extend from the other end of the left optical image display portion 28 to the connecting portion 93. The right display drive unit 22 and the left display drive unit 24 are disposed on the side facing the user's head when the user wears the image display unit 20.

表示駆動部22,24は、図2で後述する液晶ディスプレイ241,242(Liquid Crystal Display、以下「LCD241,242」とも呼ぶ)や投写光学系251,252等を含む。表示駆動部22,24の構成の詳細な説明は後述する。光学像表示部26,28は、後述する導光板261,262(図4参照)と調光板とを含んでいる。導光板261,262は、光透過性の樹脂材料等によって形成され、表示駆動部22,24から出力された画像光を使用者の眼に導く。調光板は、薄板状の光学素子であり、使用者の眼の側とは反対の側である画像表示部20の表側を覆うように配置されている。調光板の光透過率を調整することによって、使用者の眼に入る外光量を調整して虚像の視認のしやすさを調整できる。   The display driving units 22 and 24 include liquid crystal displays 241 and 242 (hereinafter also referred to as “LCDs 241 and 242”), projection optical systems 251 and 252 and the like, which will be described later with reference to FIG. A detailed description of the configuration of the display driving units 22 and 24 will be described later. The optical image display units 26 and 28 include light guide plates 261 and 262 (see FIG. 4), which will be described later, and a light control plate. The light guide plates 261 and 262 are formed of a light transmissive resin material or the like, and guide the image light output from the display driving units 22 and 24 to the eyes of the user. The light control plate is a thin plate-like optical element, and is arranged so as to cover the front side of the image display unit 20 which is the side opposite to the user's eye side. By adjusting the light transmittance of the light control plate, the amount of external light entering the user's eyes can be adjusted to adjust the visibility of the virtual image.

制御部10は、HMD100を制御するための装置である。制御部10は、静電式のトラックパッドや押下可能な複数のボタンなどを含む操作部135を有する。   The control unit 10 is a device for controlling the HMD 100. The control unit 10 includes an operation unit 135 including an electrostatic trackpad and a plurality of buttons that can be pressed.

図4は、HMD100の構成を機能的に示すブロック図である。図4に示すように、制御部10は、ROM121と、RAM122と、電源130と、操作部135と、マーカー画像記憶部138と、CPU140と、インターフェイス180と、送信部51(Tx51)および送信部52(Tx52)と、を有している。   FIG. 4 is a block diagram functionally showing the configuration of the HMD 100. 4, the control unit 10 includes a ROM 121, a RAM 122, a power source 130, an operation unit 135, a marker image storage unit 138, a CPU 140, an interface 180, a transmission unit 51 (Tx51), and a transmission unit. 52 (Tx52).

電源130は、HMD100の各部に電力を供給する。ROM121には、種々のコンピュータープログラムが格納されている。後述するCPU140は、ROM121に格納された各種コンピュータープログラムを、RAM122に展開することで、各種コンピュータープログラムを実行する。   The power supply 130 supplies power to each part of the HMD 100. Various computer programs are stored in the ROM 121. The CPU 140 described later executes various computer programs by expanding various computer programs stored in the ROM 121 in the RAM 122.

マーカー画像記憶部138は、キャリブレーションに用いられるモデルマーカー(マーカーモデルとも呼ぶ)のデータおよび/または右光学像表示部26または左光学像表示部28に表示されるキャリブレーション用画像としてのマーカー画像IMGを記憶している。マーカー画像記憶部138は、右光学像表示部26に表示されるマーカー画像と左光学像表示部28に表示されるマーカー画像とを同じマーカー画像IMGとして記憶している。マーカー画像IMGとしては、2次元のモデルマーカーの画像であったり、3次元モデル空間(3Dコンピューターグラフィックス空間)で表現された上記モデルマーカー(2D)のデータ、またはそのモデルマーカーを、右光学像表示部26または左光学像表示部28のそれぞれの写像パラメーターに基づいて写像したものなどが用いられる。換言すると、マーカー画像IMGは、実物として存在する2次元または3次元の実物マーカーMK1の形状を、2次元として表した画像である。なお、実物マーカーMK1は、請求項における識別マーカーに相当する。   The marker image storage unit 138 stores data of a model marker (also referred to as a marker model) used for calibration and / or a marker image as a calibration image displayed on the right optical image display unit 26 or the left optical image display unit 28. IMG is stored. The marker image storage unit 138 stores the marker image displayed on the right optical image display unit 26 and the marker image displayed on the left optical image display unit 28 as the same marker image IMG. The marker image IMG is a two-dimensional model marker image, the data of the model marker (2D) expressed in a three-dimensional model space (3D computer graphics space), or the model marker, and a right optical image. Those mapped based on the mapping parameters of the display unit 26 or the left optical image display unit 28 are used. In other words, the marker image IMG is an image in which the shape of a two-dimensional or three-dimensional real marker MK1 that exists as a real object is represented as two dimensions. The real marker MK1 corresponds to the identification marker in the claims.

図5ないし図8は、紙面PPに印刷された2次元の実物マーカーを示す説明図である。図5には、本実施形態のキャリブレーションに用いられる2つのマーカーとしての実物マーカーMK1,MK2が示されている。図5に示すように、実物マーカーMK1は、4つの頂点P0,P1,P2,P3を直線で結んだ正方形の中に、10個の正円を含むマーカーである。10個の円の内の5個の円は、頂点P0と頂点P2とを結んだ対角線CL1上に円の中心が存在する。当該5個の円は、対角線CL1に沿って、頂点P0に近い円から、円C1,C2,C3,C4,C5である。同じように、10個の円の内の5個の円は、頂点P1と頂点P3とを結んだ対角線CL2上に円の中心が存在する。当該5個の円は、対角線CL2に沿って、頂点P1に近い円から、円C6,C7,C3,C8,C9である。円C3は、対角線CL1と対角線CL2との交点であると共に、正方形の重心である点を中心とする円である。10個の円の内の1個の円である円C10は、正方形の重心を通り、かつ、P1とP2とを結ぶ直線に平行なY軸上に中心を有する。円C10は、正方形の重心を通り、Y軸に直交するX軸に沿って、円C5および円C9と同じ位置に中心を有する。換言すると、円C10は、円C5の中心と円C9の中心との中間に中心を有する円である。   5 to 8 are explanatory diagrams showing a two-dimensional real marker printed on the paper surface PP. FIG. 5 shows real markers MK1 and MK2 as two markers used in the calibration of the present embodiment. As shown in FIG. 5, the real marker MK1 is a marker that includes ten perfect circles in a square connecting four vertices P0, P1, P2, and P3 with straight lines. Five of the ten circles have the center of the circle on the diagonal line CL1 connecting the vertex P0 and the vertex P2. The five circles are circles C1, C2, C3, C4, and C5 from the circle close to the vertex P0 along the diagonal line CL1. Similarly, five of the ten circles have the center of the circle on the diagonal line CL2 connecting the vertex P1 and the vertex P3. The five circles are circles C6, C7, C3, C8, and C9 from the circle close to the vertex P1 along the diagonal line CL2. The circle C3 is a circle centered on a point that is the intersection of the diagonal line CL1 and the diagonal line CL2 and the center of gravity of the square. A circle C10, which is one of the ten circles, has a center on the Y axis that passes through the center of gravity of the square and is parallel to a straight line connecting P1 and P2. The circle C10 passes through the center of gravity of the square and has a center at the same position as the circles C5 and C9 along the X axis orthogonal to the Y axis. In other words, the circle C10 is a circle having a center between the center of the circle C5 and the center of the circle C9.

本実施形態では、対角線CL1上に中心を有する5個の円における隣接する円の中心間の距離は、同じ距離になるように設定されている。同じように、対角線CL2上に中心を有する5個の円における隣接する円の中心間の距離は、同じ距離になるように設定されている。また、対角線CL1に中心を有する隣接する円の中心間の距離と、対角線CL2に中心を有する隣接する円の中心間の距離とは、同じ距離である。なお、10個の内の円C10のみ、他の円との中心間との距離が異なる。10個の円の大きさは、同じ大きさである。なお、対角線CL1、対角線CL2、X軸、およびY軸は、実物マーカーMK1を説明するために、便宜上、図5に示しているのであり、実際の実物マーカーMK1には含まれない直線である。   In the present embodiment, the distance between the centers of adjacent circles in the five circles having the center on the diagonal line CL1 is set to be the same distance. Similarly, the distance between the centers of adjacent circles in the five circles having the center on the diagonal line CL2 is set to be the same distance. The distance between the centers of adjacent circles having the center on the diagonal line CL1 and the distance between the centers of adjacent circles having the center on the diagonal line CL2 are the same distance. Note that only the circle C10 out of 10 has a different distance from the center with respect to other circles. The ten circles have the same size. Note that the diagonal line CL1, the diagonal line CL2, the X axis, and the Y axis are shown in FIG. 5 for the sake of convenience in order to describe the real marker MK1, and are straight lines not included in the actual real marker MK1.

図5では、色の違いを、ハッチングを変えることで表している。具体的には、図5におけるハッチングが施された部分は、黒色であり、その他の部分は、白色である。そのため、図5に示すように、実物マーカーMK1は、白色の紙面PPに、白色によって周囲が囲まれた黒色の正方形によって形成され、その正方形の中に10個の円が白色で形成されている。   In FIG. 5, the difference in color is represented by changing the hatching. Specifically, the hatched portion in FIG. 5 is black, and the other portions are white. Therefore, as shown in FIG. 5, the real marker MK1 is formed on the white paper PP by a black square surrounded by white, and 10 circles are formed in white in the square. .

図5に示す実物マーカーMK2は、実物マーカーMK1を元に作成されたマーカーである。実物マーカーMK2は、実物マーカーMK1の大きさを縮小させ、かつ、黒色と白色との反転させたマーカーである。そのため、図5に示すように、実物マーカーMK2は、黒色によって周囲が囲まれた白色の正方形によって形成され、その正方形の中に10個の円が黒色で形成されている。本実施形態では、マーカー画像記憶部138は、実物マーカーMK1の2次元の画像であるマーカー画像IMGを記憶している。なお、実物マーカーMK2は、図6に示すように、実物マーカーMK1から分離されていてもよい。また、図7に示すように、実物マーカーMK2(MK1)に代えて、対角線上にない円を省略された実物マーカーMK1Aが採用されてもよい。なお、図8に示すように、実物マーカーMK1,MK2,MK1Aの裏面には、形状、模様、または色彩の特徴は必要ない。   A real marker MK2 shown in FIG. 5 is a marker created based on the real marker MK1. The real marker MK2 is a marker in which the size of the real marker MK1 is reduced and black and white are inverted. Therefore, as shown in FIG. 5, the real marker MK2 is formed by a white square surrounded by black, and ten circles are formed in black in the square. In the present embodiment, the marker image storage unit 138 stores a marker image IMG that is a two-dimensional image of the real marker MK1. The real marker MK2 may be separated from the real marker MK1, as shown in FIG. Further, as shown in FIG. 7, a real marker MK1A in which a circle not on the diagonal line is omitted may be employed instead of the real marker MK2 (MK1). As shown in FIG. 8, the back surface of the real markers MK1, MK2, and MK1A does not require a shape, pattern, or color feature.

図4に示すCPU140は、ROM121に格納されているコンピュータープログラムを、RAM122に展開することにより、オペレーティングシステム150(OS150)、表示制御部190、音声処理部170、画像処理部160、表示設定部165、マーカー特定部166、およびパラメーター設定部167として機能する。   The CPU 140 shown in FIG. 4 expands the computer program stored in the ROM 121 in the RAM 122, thereby operating the operating system 150 (OS 150), the display control unit 190, the sound processing unit 170, the image processing unit 160, and the display setting unit 165. , Function as a marker specifying unit 166 and a parameter setting unit 167.

表示制御部190は、右表示駆動部22および左表示駆動部24を制御する制御信号を生成する。表示制御部190は、右表示駆動部22および左表示駆動部24のそれぞれによる画像光の生成および射出を制御する。表示制御部190は、右LCD制御部211と左LCD制御部212とに対する制御信号のそれぞれを、送信部51および52を介して送信する。また、表示制御部190は、右バックライト制御部201と左バックライト制御部202とに対する制御信号のそれぞれを送信する。   The display control unit 190 generates control signals for controlling the right display drive unit 22 and the left display drive unit 24. The display control unit 190 controls the generation and emission of image light by the right display drive unit 22 and the left display drive unit 24, respectively. The display control unit 190 transmits control signals for the right LCD control unit 211 and the left LCD control unit 212 via the transmission units 51 and 52, respectively. In addition, the display control unit 190 transmits control signals to the right backlight control unit 201 and the left backlight control unit 202, respectively.

画像処理部160は、コンテンツに含まれる画像信号を取得し、送信部51,52を介して、取得した画像信号を画像表示部20の受信部53,54へと送信する。音声処理部170は、コンテンツに含まれる音声信号を取得し、取得した音声信号を増幅して、連結部材46に接続された右イヤホン32内のスピーカー(図示しない)および左イヤホン34内のスピーカー(図示しない)に対して供給する。   The image processing unit 160 acquires an image signal included in the content, and transmits the acquired image signal to the reception units 53 and 54 of the image display unit 20 via the transmission units 51 and 52. The audio processing unit 170 acquires an audio signal included in the content, amplifies the acquired audio signal, and a speaker (not shown) in the right earphone 32 and a speaker (not shown) connected to the connecting member 46 ( (Not shown).

表示設定部165は、マーカー画像記憶部138に記憶されたマーカー画像IMGを右光学像表示部26または左光学像表示部28に表示させる。表示設定部165は、キャリブレーションが実行されているとき(キャリブレーション実行時)に、操作部135が受け付けた操作に基づいて、マーカー画像IMGを右光学像表示部26に表示する場合と、マーカー画像IMGを左光学像表示部28に表示する場合とを制御する。表示設定部165は、カメラ60が実物マーカーMK1を撮像してキャリブレーションを実行するときと、カメラ60が実物マーカーMK2を撮像してキャリブレーションを実行するときとで異なる大きさのマーカー画像IMGを右光学像表示部26または左光学像表示部28に表示させる。また、表示設定部165は、キャリブレーション実行時に、後述する文字画像等を光学像表示部26,28に表示させる。   The display setting unit 165 displays the marker image IMG stored in the marker image storage unit 138 on the right optical image display unit 26 or the left optical image display unit 28. The display setting unit 165 displays a marker image IMG on the right optical image display unit 26 based on an operation received by the operation unit 135 when calibration is being performed (when performing calibration), and a marker. It controls when the image IMG is displayed on the left optical image display unit 28. The display setting unit 165 displays marker images IMG having different sizes when the camera 60 images the real marker MK1 and executes calibration and when the camera 60 images the real marker MK2 and executes calibration. The image is displayed on the right optical image display unit 26 or the left optical image display unit 28. Further, the display setting unit 165 causes the optical image display units 26 and 28 to display a character image, which will be described later, during calibration.

マーカー特定部166は、カメラ60によって撮像された撮像画像の中に実物マーカーMK1,MK2が印刷された紙面PPが含まれる場合に、撮像された紙面PPから、実物マーカーMK1,MK2を特定する。実物マーカーMK1,MK2を特定するための具体的な処理については、後述するが、マーカー特定部166は、実物マーカーMK1,MK2の4つの頂点、10個の円の中心の座標値を抽出することで、撮像画像の中から実物マーカーMK1,MK2を特定する。マーカー特定部166は、例えば、撮像画像の色の階調値を2値化することで、実物マーカーMK1,MK2における白色と黒色との部分を区別して、円の中心の座標を抽出する。   The marker specifying unit 166 specifies the actual markers MK1 and MK2 from the captured paper PP when the captured image captured by the camera 60 includes the paper PP on which the actual markers MK1 and MK2 are printed. Specific processing for specifying the real markers MK1 and MK2 will be described later. The marker specifying unit 166 extracts the coordinate values of the four vertices of the real markers MK1 and MK2 and the centers of the ten circles. Thus, the real markers MK1 and MK2 are specified from the captured image. The marker specifying unit 166, for example, binarizes the color gradation value of the captured image, thereby distinguishing the white and black portions of the real markers MK1 and MK2, and extracting the coordinates of the center of the circle.

パラメーター設定部167は、カメラ60によって撮像された特定のオブジェクト(以下、「特定オブジェクト」とも言う)に対応付けられた状態で光学像表示部26,28に表示されるAR(Augmented Reality)画像の表示領域内での位置などを設定するために必要なパラメーター群を設定する。具体的には、パラメーター設定部167は、光学像表示部26,28に表示されるAR画像の位置と大きさと向きとの少なくとも1つと、特定オブジェクトの位置と大きさと向きとの1つと、が対応した状態のAR画像を使用者USに視認させるパラメーター群を設定する。換言すると、パラメーター設定部167は、カメラ60に原点が固定された3次元座標系(3D)と、光学像表示部26,28の表示領域(2D)とを対応付けるためのパラメーター群の少なくとも1つを、キャリブレーションによって算出する。なお、以降では、カメラ60に原点が固定された3次元座標系をカメラ座標系と呼ぶ。本実施形態では、カメラ座標系以外の座標系として、実物マーカーMK1または実物マーカーMK2の原点を基準とする実物マーカー座標系、カメラ60によって撮像された特定オブジェクトを基準とするオブジェクト座標系、右光学像表示部26の原点または左光学像表示部28の原点を基準とする表示部座標系などを定義する。   The parameter setting unit 167 is an AR (Augmented Reality) image displayed on the optical image display units 26 and 28 in a state in which the parameter setting unit 167 is associated with a specific object imaged by the camera 60 (hereinafter also referred to as “specific object”). Set the parameters required to set the position in the display area. Specifically, the parameter setting unit 167 includes at least one of the position, size, and orientation of the AR image displayed on the optical image display units 26, 28, and one of the position, size, and orientation of the specific object. A parameter group that allows the user US to visually recognize the AR image in a corresponding state is set. In other words, the parameter setting unit 167 is at least one parameter group for associating the three-dimensional coordinate system (3D) in which the origin is fixed to the camera 60 and the display area (2D) of the optical image display units 26 and 28. Is calculated by calibration. Hereinafter, a three-dimensional coordinate system in which the origin is fixed to the camera 60 is referred to as a camera coordinate system. In the present embodiment, as a coordinate system other than the camera coordinate system, a real marker coordinate system based on the origin of the real marker MK1 or the real marker MK2, an object coordinate system based on a specific object imaged by the camera 60, a right optical A display unit coordinate system based on the origin of the image display unit 26 or the origin of the left optical image display unit 28 is defined.

ここで、パラメーター群は、「検出系パラメーターセット」と、「表示系パラメーターセット」と、を含む。「検出系パラメーターセット」は、カメラ60に関するカメラパラメーターCPを含む。「表示系パラメーターセット」は、カメラ60と光学像表示部26,28との間の空間関係を表す3Dから3Dへの「変換パラメーター」と、任意の3Dモデル(3次元座標で表わされたCGモデル)を画像(つまり2D)として表示するための3Dから2Dへの「写像パラメーター」と、を含む。これらのパラメーターは、必要に応じて行列またはベクトルの態様で表わされる。「一つのパラメーター」との表記は、一つの行列または一つのベクトルを示すこともあるし、一つの行列またはベクトルに含まれる複数の要素の一つを示すこともある。パラメーター設定部167は、パラメーター群のうち、必要なパラメーターを導出し、AR画像の表示の際に用いる。この結果、HMD100は、使用者USに、画像表示部20を介して、AR画像(ARモデル)の位置、大きさ、向き、奥行感の少なくとも一つと、特定オブジェクトのそれらにと、がほぼ一致する状態で当該AR画像を視認させることができる。もちろん、これらに加えて、HMD100は、色やテクスチャーなどの見えが互いに一致するようにしてもよい。   Here, the parameter group includes a “detection system parameter set” and a “display system parameter set”. The “detection system parameter set” includes camera parameters CP related to the camera 60. The “display system parameter set” includes a “conversion parameter” from 3D to 3D representing a spatial relationship between the camera 60 and the optical image display units 26 and 28, and an arbitrary 3D model (represented by three-dimensional coordinates). 3D to 2D “mapping parameters” for displaying the CG model) as an image (ie 2D). These parameters are represented in the form of a matrix or vector as appropriate. The expression “one parameter” may indicate one matrix or one vector, or may indicate one of a plurality of elements included in one matrix or vector. The parameter setting unit 167 derives necessary parameters from the parameter group and uses them when displaying the AR image. As a result, the HMD 100 allows the user US to substantially match at least one of the position, size, orientation, and depth of the AR image (AR model) with those of the specific object via the image display unit 20. In this state, the AR image can be visually recognized. Of course, in addition to these, the HMD 100 may be configured such that appearances of colors, textures, and the like match each other.

表示設定部165は、キャリブレーションが実行されているときに、AR画像または設定画像SIM(後述)を右光学像表示部26または左光学像表示部28に表示させる。設定画像SIMを用いた詳細な処理については後述する。   The display setting unit 165 displays an AR image or a setting image SIM (described later) on the right optical image display unit 26 or the left optical image display unit 28 when calibration is being executed. Detailed processing using the setting image SIM will be described later.

インターフェイス180は、制御部10に対して、コンテンツの供給元となる種々の外部機器OAを接続するためのインターフェイスである。外部機器OAとしては、例えば、ARシナリオを記憶している記憶装置、パーソナルコンピューター(PC)や携帯電話端末、ゲーム端末等、がある。インターフェイス180としては、例えば、USBインターフェイス、マイクロUSBインターフェイス、メモリーカード用インターフェイス等、を用いることができる。   The interface 180 is an interface for connecting various external devices OA that are content supply sources to the control unit 10. Examples of the external device OA include a storage device that stores an AR scenario, a personal computer (PC), a mobile phone terminal, and a game terminal. As the interface 180, for example, a USB interface, a micro USB interface, a memory card interface, or the like can be used.

図4に示すように、画像表示部20は、右表示駆動部22と、左表示駆動部24と、右光学像表示部26としての右導光板261と、左光学像表示部28としての左導光板262と、を備えている。   As shown in FIG. 4, the image display unit 20 includes a right display drive unit 22, a left display drive unit 24, a right light guide plate 261 as the right optical image display unit 26, and a left as the left optical image display unit 28. A light guide plate 262.

右表示駆動部22は、受信部53(Rx53)と、光源として機能する右バックライト制御部201(右BL制御部201)および右バックライト221(右BL221)と、表示素子として機能する右LCD制御部211および右LCD241と、右投写光学系251と、を含んでいる。右バックライト制御部201と右バックライト221とは、光源として機能する。右LCD制御部211と右LCD241とは、表示素子として機能する。   The right display driving unit 22 includes a receiving unit 53 (Rx53), a right backlight control unit 201 (right BL control unit 201) and a right backlight 221 (right BL221) that function as a light source, and a right LCD that functions as a display element. A control unit 211, a right LCD 241 and a right projection optical system 251 are included. The right backlight control unit 201 and the right backlight 221 function as a light source. The right LCD control unit 211 and the right LCD 241 function as display elements.

受信部53は、制御部10と画像表示部20との間におけるシリアル伝送のためのレシーバーとして機能する。右バックライト制御部201は、入力された制御信号に基づいて、右バックライト221を駆動する。右バックライト221は、例えば、LEDやエレクトロルミネセンス(EL)等の発光体である。右LCD制御部211は、画像処理部160および表示制御部190から送信された制御信号に基づいて、右LCD241を駆動する。右LCD241は、複数の画素をマトリクス状に配置した透過型液晶パネルである。   The receiving unit 53 functions as a receiver for serial transmission between the control unit 10 and the image display unit 20. The right backlight control unit 201 drives the right backlight 221 based on the input control signal. The right backlight 221 is a light emitter such as an LED or electroluminescence (EL). The right LCD control unit 211 drives the right LCD 241 based on the control signals transmitted from the image processing unit 160 and the display control unit 190. The right LCD 241 is a transmissive liquid crystal panel in which a plurality of pixels are arranged in a matrix.

右投写光学系251は、右LCD241から射出された画像光を並行状態の光束にするコリメートレンズによって構成される。右光学像表示部26としての右導光板261は、右投写光学系251から出力された画像光を、所定の光路に沿って反射させつつ使用者の右眼REに導く。なお、左表示駆動部24は、右表示駆動部22と同様の構成を有し、使用者の左眼LEに対応するため、説明を省略する。   The right projection optical system 251 is configured by a collimating lens that converts the image light emitted from the right LCD 241 into a light beam in a parallel state. The right light guide plate 261 as the right optical image display unit 26 guides the image light output from the right projection optical system 251 to the right eye RE of the user while reflecting the image light along a predetermined optical path. Note that the left display drive unit 24 has the same configuration as the right display drive unit 22 and corresponds to the left eye LE of the user, and thus description thereof is omitted.

A−2.キャリブレーション実行処理:
図9は、本実施形態におけるキャリブレーション実行処理のフローチャートである。本実施形態のキャリブレーション実行処理は、2つのモード、すなわち、第1設定モードと第2設定モードとを含む。第1設定モードでは、HMD100は、使用者USに片眼ずつキャリブレーションを実施させる。第2設定モードでは、HMD100は、使用者USに両眼で調整を実施させる。
A-2. Calibration execution process:
FIG. 9 is a flowchart of the calibration execution process in the present embodiment. The calibration execution process of the present embodiment includes two modes, that is, a first setting mode and a second setting mode. In the first setting mode, the HMD 100 causes the user US to perform calibration for each eye. In the second setting mode, the HMD 100 causes the user US to perform adjustment with both eyes.

キャリブレーション実行処理では、初めに、操作部135が所定の操作を受け付けると、パラメーター設定部167は、今から実行するキャリブレーションが最初のキャリブレーションの設定であるか否かを判定する(ステップS11)。マーカー画像記憶部138には、実行されるキャリブレーションが最初であるか否かのデータも記憶されている。本実施形態では、使用者US毎にキャリブレーションが最初であるか否かが判別されてもよい。具体的には、カメラ60が使用者USの掌の形状・模様を撮像し、CPU140が使用者USを特定し、キャリブレーションがその使用者USにとって最初に実行されるのか否かを判定してもよい。使用者USの特定は、近距離無線通信を用いたIDカードによる特定でもよい。パラメーター設定部167は、最初のキャリブレーションの設定であると判定した場合には(ステップS11:YES)、第1設定モードに移行する(ステップS20)。第1設定モードの詳細については後述するが、第1設定モードでは、パラメーター設定部167が右光学像表示部26と左光学像表示部28とに、別々にマーカー画像IMGを表示させる。その後、パラメーター設定部167は、マーカー画像IMGと実物マーカーMK1,MK2とが一致するように使用者USに視認された状態でカメラ60に撮像された実物マーカーMK1,MK2の撮像画像を用いて、変換パラメーターおよびカメラパラメーターCPを設定する。   In the calibration execution process, first, when the operation unit 135 receives a predetermined operation, the parameter setting unit 167 determines whether or not the calibration to be performed from now is the first calibration setting (step S11). ). The marker image storage unit 138 also stores data indicating whether the calibration to be executed is the first. In the present embodiment, it may be determined whether or not the calibration is first for each user US. Specifically, the camera 60 captures the shape / pattern of the palm of the user US, the CPU 140 identifies the user US, and determines whether calibration is performed for the user US first. Also good. The user US may be specified by an ID card using short-range wireless communication. If the parameter setting unit 167 determines that it is the first calibration setting (step S11: YES), the parameter setting unit 167 shifts to the first setting mode (step S20). Although details of the first setting mode will be described later, in the first setting mode, the parameter setting unit 167 causes the right optical image display unit 26 and the left optical image display unit 28 to display the marker images IMG separately. Thereafter, the parameter setting unit 167 uses the captured images of the actual markers MK1 and MK2 captured by the camera 60 in a state visually recognized by the user US so that the marker image IMG and the actual markers MK1 and MK2 match. Set conversion parameters and camera parameters CP.

ステップS20の処理として、パラメーター設定部167が第1設定モードにおいてキャリブレーションを実行すると、表示設定部165は、設定された変換パラメーターおよびカメラパラメーターCPを用いて、特定オブジェクトに対応付けられた設定画像SIMを光学像表示部26,28に表示させる(ステップS15)。本実施形態では、特定オブジェクトは実物マーカーMK1,MK2であるが、特定オブジェクトはこれらに限定されない。光学像表示部26,28に設定画像SIMが表示されると、パラメーター設定部167は、操作部135が受け付けた操作に応じて、変換パラメーターおよびカメラパラメーターCPの値がうまく調整されたか否かを決定する(ステップS17)。具体的には、特定オブジェクトの位置および向き(姿勢)に、設定画像SIMが対応付けられているように使用者USが視認しているか否かの判断を使用者USが行ない、当該判断に応じて、使用者USが操作部135を操作すればよい。パラメーター設定部167は、設定された変換パラメーターおよびカメラパラメーターCPでよいとの入力を受けた場合には(ステップS17:YES)、キャリブレーション実行処理を終了する。   When the parameter setting unit 167 performs calibration in the first setting mode as the process of step S20, the display setting unit 165 uses the set conversion parameter and camera parameter CP to set the setting image associated with the specific object. The SIM is displayed on the optical image display units 26 and 28 (step S15). In this embodiment, the specific objects are real markers MK1 and MK2, but the specific objects are not limited to these. When the setting image SIM is displayed on the optical image display units 26 and 28, the parameter setting unit 167 determines whether or not the values of the conversion parameter and the camera parameter CP have been successfully adjusted according to the operation received by the operation unit 135. Determine (step S17). Specifically, the user US determines whether or not the user US is visually recognizing the setting image SIM so as to be associated with the position and orientation (posture) of the specific object, and responds to the determination. The user US may operate the operation unit 135. When the parameter setting unit 167 receives an input indicating that the set conversion parameter and camera parameter CP are acceptable (step S17: YES), the calibration execution process ends.

ステップS17の処理において、操作部135が所定の操作を受け付けることで、パラメーター設定部167が、設定された変換パラメーターおよびカメラパラメーターCPではよくないとの入力を受けた場合、または大きさと奥行感の調整がさらに必要であるとの入力を受けた場合には(ステップS17:NO)、ステップS11以降の処理を繰り返す。パラメーター設定部167は、ステップS11の処理において、今から実行しようとするキャリブレーションが最初のキャリブレーションの設定ではないと判定した場合には(ステップS11:NO)、操作部135が所定の操作を受け付けることで、第2設定モードに移行するか否かを判定する(ステップS13)。パラメーター設定部167は、第2設定モードに移行しないと判定した場合には(ステップS13:NO)、以上で説明した第1設定モードに移行する(ステップS20)。   In the process of step S17, when the operation unit 135 receives a predetermined operation, the parameter setting unit 167 receives an input indicating that the set conversion parameter and camera parameter CP are not good, or the size and depth of When an input indicating that further adjustment is necessary is received (step S17: NO), the processing after step S11 is repeated. If the parameter setting unit 167 determines that the calibration to be executed is not the first calibration setting in the process of step S11 (step S11: NO), the operation unit 135 performs a predetermined operation. By accepting, it is determined whether or not to shift to the second setting mode (step S13). If the parameter setting unit 167 determines not to shift to the second setting mode (step S13: NO), the parameter setting unit 167 shifts to the first setting mode described above (step S20).

ステップS13の処理において、パラメーター設定部167は、第2設定モードに移行すると判定した場合には(ステップS13:YES)、第2設定モードに移行する(ステップS30)。第2設定モードの詳細については後述するが、第2設定モードでは、カメラ60が特定オブジェクトを撮像することで得られるカメラ60に対する特定オブジェクトの位置および姿勢を、表示設定部165は、既に実行された第1設定モードまたは第2設定モードにおいて設定されたパラメーター群を用いて特定オブジェクトの右光学像表示部26に対する位置および向き(姿勢)に変換する。そして、表示設定部165は、当該変換された位置および姿勢と同じ位置と姿勢で設定画像SIMを右光学像表示部26および左光学像表示部28に表示させる。その後、操作部135が受け付けた所定の操作に応じて、パラメーター設定部167は、特定オブジェクトに対応付けられた設定画像SIMを変更するように、パラメーター群のうちのいくつかをさらに調整させる。パラメーター設定部167は、第2設定モードにおいてキャリブレーションを実行すると、表示設定部165がステップS15の処理を実行して、その後の処理が繰り返される。   In the process of step S13, when the parameter setting unit 167 determines to shift to the second setting mode (step S13: YES), the parameter setting unit 167 shifts to the second setting mode (step S30). Although details of the second setting mode will be described later, in the second setting mode, the display setting unit 165 has already executed the position and orientation of the specific object with respect to the camera 60 obtained by the camera 60 capturing the specific object. Using the parameter group set in the first setting mode or the second setting mode, the position and orientation (attitude) of the specific object with respect to the right optical image display unit 26 are converted. Then, the display setting unit 165 displays the setting image SIM on the right optical image display unit 26 and the left optical image display unit 28 at the same position and posture as the converted position and posture. Thereafter, according to a predetermined operation received by the operation unit 135, the parameter setting unit 167 further adjusts some of the parameter groups so as to change the setting image SIM associated with the specific object. When the parameter setting unit 167 executes calibration in the second setting mode, the display setting unit 165 executes the process of step S15, and the subsequent processes are repeated.

A−2−1.第1設定モード:
第1設定モードで実行される処理は、以下のような処理である。HMD100は、大きさの異なる2つの実物マーカーMK1,MK2を用いて、使用者USに、1つの眼について1度に1回のアライメントを2回実施させることで、合計4回のアライメントを実施させる。具体的には、まず、HMD100は、右光学像表示部26または左光学像表示部28に、マーカー画像IMGを表示させる。マーカー画像IMGは、右光学像表示部26または左光学像表示部28のそれぞれに対して、仮想的な位置と姿勢(3D)とを有するモデルマーカーを、光学像表示部26,28の表示領域(2D)へ写像、すなわちレンダリング、したものである。本実施形態では、当該仮想的な位置と姿勢とは、光学像表示部26,28に対して固定されているが、後述するように、可変であってもよい。使用者USは、右光学像表示部26または左光学像表示部28に表示されたマーカー画像IMGと、実物マーカーMK1または実物マーカーMK2とが、重複または一致して視認することが可能な位置および向き(姿勢)に移動する。使用者USがマーカーIMGと実物マーカーMK1,MK2とが一致するように視認する場合には、実物マーカーMK1,MK2は右光学像表示部26または左光学像表示部28に対して、実物マーカーMK1,MK2の大きさに応じた既定の距離となる位置と上記仮想的な姿勢とを取っていることとなる。マーカー画像IMGと、実物マーカーMK1または実物マーカーMK2とが一致している状態で、パラメーター設定部167が、カメラ60を用いて実物マーカーMK1または実物マーカーMK2を撮像する。パラメーター設定部167は、撮像画像に含まれる実物マーカーMK1または実物マーカーMK2を用いて、変換パラメーターおよびカメラパラメーターCPを設定することとなる。
A-2-1. First setting mode:
The process executed in the first setting mode is the following process. The HMD 100 causes the user US to perform alignment once at a time twice for one eye using two real markers MK1 and MK2 having different sizes, thereby performing a total of four alignments. . Specifically, first, the HMD 100 displays the marker image IMG on the right optical image display unit 26 or the left optical image display unit 28. The marker image IMG represents a model marker having a virtual position and orientation (3D) with respect to the right optical image display unit 26 or the left optical image display unit 28, and the display area of the optical image display units 26 and 28. This is a mapping (rendering) to (2D). In the present embodiment, the virtual position and orientation are fixed with respect to the optical image display units 26 and 28, but may be variable as will be described later. The position where the user US can visually recognize the marker image IMG displayed on the right optical image display unit 26 or the left optical image display unit 28 and the actual marker MK1 or the actual marker MK2 in an overlapping or coincident manner. Move in direction (posture). When the user US visually recognizes that the marker IMG and the real markers MK1 and MK2 coincide with each other, the real markers MK1 and MK2 are compared with the right optical image display unit 26 or the left optical image display unit 28. , MK2 takes a predetermined distance corresponding to the size of MK2 and the virtual posture. In a state where the marker image IMG matches the real marker MK1 or the real marker MK2, the parameter setting unit 167 images the real marker MK1 or the real marker MK2 using the camera 60. The parameter setting unit 167 sets the conversion parameter and the camera parameter CP using the real marker MK1 or the real marker MK2 included in the captured image.

図10は、第1設定モードのフローチャートである。第1設定モードでは、パラメーター設定部167が、右光学像表示部26に関するアライメントを成立させた状態でキャリブレーションデータを収集し、左光学像表示部28に関するアライメントを成立させた状態でキャリブレーションデータを収集し、その後、変換パラメーターおよびカメラパラメーターCPを設定する。   FIG. 10 is a flowchart of the first setting mode. In the first setting mode, the parameter setting unit 167 collects calibration data in a state in which the alignment for the right optical image display unit 26 is established, and the calibration data in a state in which the alignment for the left optical image display unit 28 is established. After that, conversion parameters and camera parameters CP are set.

第1設定モードでは、初めに、表示設定部165が右光学像表示部26にマーカー画像IMGを表示させる(ステップS201)。図11は、マーカー画像IMGが表示された場合の光学像表示部26のイメージ図である。図11に示すように、表示設定部165は、マーカーの正方形の外枠と、正方形の中に含まれる10個の円の外枠と、を右光学像表示部26に表示させる。表示設定部165は、マーカー画像IMGを、赤色の線として右光学像表示部26に表示させる。なお、図11では、画像表示部20の内の右光学像表示部26以外の部分の図示を省略し、以降の図面でも省略する。   In the first setting mode, first, the display setting unit 165 displays the marker image IMG on the right optical image display unit 26 (step S201). FIG. 11 is an image diagram of the optical image display unit 26 when the marker image IMG is displayed. As shown in FIG. 11, the display setting unit 165 causes the right optical image display unit 26 to display a square outer frame of the marker and an outer frame of ten circles included in the square. The display setting unit 165 causes the right optical image display unit 26 to display the marker image IMG as a red line. In FIG. 11, the illustration of the part other than the right optical image display unit 26 in the image display unit 20 is omitted, and is omitted in the subsequent drawings.

右光学像表示部26にマーカー画像IMGが表示されると、パラメーター設定部167は、マーカー画像IMGと実物マーカーMK2とが一致して視認されるように、HMD100を装着したまま使用者USに位置と姿勢を合わせることを促す(図10のステップS210)。   When the marker image IMG is displayed on the right optical image display unit 26, the parameter setting unit 167 is positioned at the user US while wearing the HMD 100 so that the marker image IMG and the real marker MK2 are visually recognized. Are urged to match the posture (step S210 in FIG. 10).

右画像表示部26にはさらにメッセージが表示されてもよい。HMD100は、使用者USがマーカー画像IMGと実物マーカーMK2とが一致するように視認した場合に、使用者USは、タッチパッドの操作、ボタンの押下、または音声コマンドの発声をするように、指示する。パラメーター設定部167がこれら操作または音声コマンドを受け付けた場合に、カメラ60がマーカーMK2を撮像、すなわちキャリブレーションデータの収集をする(ステップS202)。音声コマンドに基づいて、パラメーター設定部167がキャリブレーションデータを収集する場合には、使用者USの頭部の動きが少ないことが期待される。そのため、音声コマンドに基づく操作では、タッチ操作やボタンの押下の場合に比べて、使用者USが成立させたアライメントからのずれが少ない状態でのキャリブレーションデータの収集が可能となり、結果として、AR画像の重畳精度のよいHMD100が得られる。   A message may be further displayed on the right image display unit 26. When the user US visually recognizes that the marker image IMG and the real marker MK2 coincide with each other, the HMD 100 instructs the user US to operate the touch pad, press a button, or speak a voice command. To do. When the parameter setting unit 167 receives these operations or voice commands, the camera 60 images the marker MK2, that is, collects calibration data (step S202). When the parameter setting unit 167 collects calibration data based on the voice command, it is expected that the movement of the head of the user US is small. Therefore, in the operation based on the voice command, it is possible to collect calibration data in a state in which the deviation from the alignment established by the user US is less than in the case of the touch operation or the button press, and as a result, the AR The HMD 100 with good image superimposition accuracy is obtained.

図10のステップS210のマーカー画像IMGと実物マーカーMK2との位置と姿勢を合わせる処理(目視によるアライメント処理)およびキャリブレーションデータの収集が実行されると、表示設定部165は、ステップS201の処理と同じく図11に示すように、右光学像表示部26にマーカー画像IMGを表示させる(ステップS203)。その後、パラメーター設定部167は、マーカー画像IMGと実物マーカーMK1とが一致して視認されるように、HMD100を装着したまま使用者USに位置と姿勢を合わせることを促す(ステップS220)。この状態で実物マーカーMK1が撮像されることで、パラメーター設定部167は、キャリブレーションデータを収集する(ステップS204)。ここで、実物マーカーMK1は、実物マーカーMK2よりも大きい。そのため、ステップS220の処理では、使用者USがマーカー画像IMGと実物マーカーMK1とが一致するように視認する場合には、右光学像表示部26と実物マーカーMK1との距離は、実物マーカーMK2の場合と比べて大きくなる。   When the process of aligning the position and orientation of the marker image IMG and the actual marker MK2 (visual alignment process) and the collection of calibration data in step S210 of FIG. 10 are performed, the display setting unit 165 performs the process of step S201. Similarly, as shown in FIG. 11, the marker image IMG is displayed on the right optical image display unit 26 (step S203). After that, the parameter setting unit 167 prompts the user US to adjust the position and posture while wearing the HMD 100 so that the marker image IMG and the real marker MK1 are visually recognized (step S220). By capturing an image of the real marker MK1 in this state, the parameter setting unit 167 collects calibration data (step S204). Here, the real marker MK1 is larger than the real marker MK2. Therefore, in the process of step S220, when the user US visually recognizes that the marker image IMG and the real marker MK1 coincide with each other, the distance between the right optical image display unit 26 and the real marker MK1 is equal to that of the real marker MK2. It becomes larger than the case.

パラメーター設定部167は、左光学像表示部28に関して、右光学像表示部26におけるステップS201からステップS204までの処理と同じ処理として、図10のステップS205からステップS208までの処理を実行する。左右の光学像表示部26、28に関して第1設定モードにおける各処理(ステップS201からステップS208までの処理)が実行されると、パラメーター設定部167は、後述する式(15)を最小化するような、右光学像表示部26に関するパラメーター群と、左光学像表示部28に関するパラメーター群とを設定できる(ステップS209)。   The parameter setting unit 167 performs the processing from step S205 to step S208 in FIG. 10 as the same processing from step S201 to step S204 in the right optical image display unit 26 for the left optical image display unit 28. When each process in the first setting mode (the process from step S201 to step S208) is executed for the left and right optical image display units 26 and 28, the parameter setting unit 167 minimizes the equation (15) described later. In addition, a parameter group related to the right optical image display unit 26 and a parameter group related to the left optical image display unit 28 can be set (step S209).

A−2−2.パラメーターの設定:
ここでは、第1設定モードにおいて、パラメーター設定部167が、カメラ60から得られた実物マーカーMK2の撮像データおよび実物マーカーMK1の撮像データを用いて、変換パラメーターおよびカメラパラメーターCPのパラメーターの設定する手順を説明する。なお、本実施形態の第1設定モードでは、カメラパラメーターCPは、必ずしも最適化される必要がなく、設計値に固定されていてよい。ただし、以下に示す本実施形態では、使用者USが必要に応じてカメラパラメーターCPを最適化することができるように、カメラパラメーターCPを最適化変数として含んだアルゴリズムを提示している。他の実施形態において、カメラパラメーターCPを最適化する必要がない場合には、これらを定数(固定値)として以下の式を扱えばよい。
A-2-2. Parameter settings:
Here, in the first setting mode, the parameter setting unit 167 sets the conversion parameter and the parameter of the camera parameter CP using the imaging data of the real marker MK2 and the imaging data of the real marker MK1 obtained from the camera 60. Will be explained. In the first setting mode of the present embodiment, the camera parameter CP does not necessarily need to be optimized, and may be fixed to a design value. However, in the present embodiment described below, an algorithm including the camera parameter CP as an optimization variable is presented so that the user US can optimize the camera parameter CP as necessary. In other embodiments, when it is not necessary to optimize the camera parameter CP, these may be treated as constants (fixed values) and the following equations may be handled.

A−2−2−1.カメラパラメーターについて:
カメラ60に関するカメラパラメーターCPとして、本実施形態では、4個のカメラパラメーターCP(fx、fy、Cx、Cy)が利用される。(fx、fy)は撮像部であるカメラ60の焦点距離であり、画素密度に基づいて画素数に換算されている。(Cx、Cy)は、カメラ主点位置と呼ばれ、撮像画像の中心位置を意味し、たとえばカメラ60のイメージセンサーに固定された2D座標系で表わされ得る。
A-2-2-1. About camera parameters:
In this embodiment, four camera parameters CP (fx, fy, Cx, Cy) are used as camera parameters CP related to the camera 60. (Fx, fy) is a focal length of the camera 60 which is an imaging unit, and is converted into the number of pixels based on the pixel density. (Cx, Cy) is called the camera principal point position, means the center position of the captured image, and can be represented by, for example, a 2D coordinate system fixed to the image sensor of the camera 60.

カメラパラメーターCPは、撮像部の主要部分を構成するカメラ60の製品仕様から知ることができる(以下ではこれをデフォルトカメラパラメーターとも表記する)。ただし、実際のカメラのカメラパラメーターCPがデフォルトカメラパラメーターから大きくずれていることが多い。しかも、同じ仕様のカメラであっても、製品が異なれば、製品ごとのカメラ間で、カメラパラメーターCPがばらついている(揃っていない)ことがある。   The camera parameter CP can be known from the product specifications of the camera 60 constituting the main part of the imaging unit (hereinafter also referred to as a default camera parameter). However, the camera parameter CP of the actual camera often deviates greatly from the default camera parameter. In addition, even if the cameras have the same specifications, if the products are different, the camera parameters CP may vary between cameras for each product.

AR画像として光学像表示部26,28に表示されるARモデルにおける位置、大きさ、姿勢の少なくとも一つが実物体にアライン(重畳)するように使用者に視認させる場合、カメラ60は、当該実物体の位置および姿勢を検出する検出機として機能する。このとき、パラメーター設定部167は、カメラパラメーターCPを用いて、カメラ60に撮像された実物体のカメラ60に対する位置および姿勢を推定する。さらに、パラメーター設定部167は、当該位置および姿勢を、カメラ60と左光学像表示部28(右光学像表示部26)との間の相対位置関係を用いて、左光学像表示部28に対する実物体の位置および姿勢に変換する。さらに、パラメーター設定部167は、当該変換された位置および姿勢に基づいて、ARモデルの位置および姿勢を決定する。そして、画像処理部160は、当該位置および姿勢を有するARモデルを、写像パラメーターを用いて表示領域に写像(変換)し、表示バッファ(例えばRAM122)に書き込む。そして、表示制御部190は、表示バッファに書き込まれたARモデルを左光学像表示部28に表示する。このため、カメラパラメーターCPがデフォルトカメラパラメーターである場合には、推定される実物体の位置および姿勢に誤差が含まれることとなる。そうすると、推定された位置および姿勢の誤差に由来して、表示されたARモデルと実物体との重畳に誤差があるように使用者に視認される。   When the user visually recognizes that at least one of the position, size, and orientation in the AR model displayed on the optical image display units 26 and 28 as the AR image is aligned (superimposed) on the real object, the camera 60 It functions as a detector that detects the position and posture of the body. At this time, the parameter setting unit 167 estimates the position and orientation of the real object captured by the camera 60 with respect to the camera 60 using the camera parameter CP. Further, the parameter setting unit 167 uses the relative positional relationship between the camera 60 and the left optical image display unit 28 (right optical image display unit 26) to determine the actual position and orientation of the actual position relative to the left optical image display unit 28. Convert to body position and posture. Furthermore, the parameter setting unit 167 determines the position and orientation of the AR model based on the converted position and orientation. Then, the image processing unit 160 maps (converts) the AR model having the position and orientation onto the display area using the mapping parameter, and writes it in the display buffer (for example, the RAM 122). Then, the display control unit 190 displays the AR model written in the display buffer on the left optical image display unit 28. For this reason, when the camera parameter CP is the default camera parameter, an error is included in the estimated position and orientation of the real object. Then, it is visually recognized by the user that there is an error in the superposition of the displayed AR model and the real object due to the estimated position and orientation error.

そこで、本実施形態では、ARモデルが対象物に重畳して使用者USに視認されるようにするためのキャリブレーションの際に、パラメーター設定部167は、カメラパラメーターCPを、実物マーカーMK2および実物マーカーMK1の撮像データを用いて、最適化して設定する。そして、設定されたカメラパラメーターCPが用いられて、対象物の位置および姿勢が検出(推定)されるようにする。そうすれば、ARモデルの表示において、表示されるARモデルと実物体との間に発生するずれが使用者USに視認される度合いが低くなる。後述するように、同じHMD100の使用者USが同一人であっても、カメラパラメーターCPの設定は、キャリブレーションが行なわれるごとに行なわれ、当該キャリブレーションに引き続いて行なわれる対象物とARモデルとの間での位置、大きさ、向きの少なくとも一つが一致した表示のために使用されることが好ましい。これは、キャリブレーションの際に、必ずしも使用者は、実物マーカーMK2または実物マーカーMK1と、実物マーカーMK2または実物マーカーMK1に対応したマーカー画像IMGとを、同じ精度で位置および姿勢を合わせるとは限らないことによる。たとえ使用者USが違う精度で位置および姿勢を合わせたとしても、それに応じたカメラパラメーターCPが設定されることから、実物体に対するARモデルの重畳表示がされる場合に重畳表示のずれの増大が抑制される。   Therefore, in the present embodiment, the parameter setting unit 167 sets the camera parameter CP to the real marker MK2 and the real object when performing calibration so that the AR model is superimposed on the object and visually recognized by the user US. Using the imaging data of the marker MK1, the setting is optimized. Then, the set camera parameter CP is used to detect (estimate) the position and orientation of the object. Then, in the display of the AR model, the degree to which the user US visually recognizes the deviation that occurs between the displayed AR model and the real object is reduced. As will be described later, even if the user US of the same HMD 100 is the same person, the camera parameter CP is set every time calibration is performed, and the object and the AR model that are performed following the calibration are set. It is preferably used for display in which at least one of the position, the size, and the direction between them is the same. In the calibration, the user does not always match the position and posture of the real marker MK2 or the real marker MK1 and the marker image IMG corresponding to the real marker MK2 or the real marker MK1 with the same accuracy. By not. Even if the user US adjusts the position and orientation with different accuracy, the camera parameter CP is set accordingly, so that when the AR model is superimposed on the real object, the deviation of the superimposed display increases. It is suppressed.

A−2−2−2.変換パラメーターについて:
また、本実施形態のHMD100は、カメラ60と光学像表示部26,28との間の相対位置関係が変化する構造を有する。デフォルトカメラパラメーターについての説明からも理解されるように、ARモデルにおける位置、大きさ、姿勢の少なくとも一つが実物体にアライン(重畳)するように使用者に視認させる場合、実際のカメラ60と光学像表示部26,28との間の相対位置関係とは異なる相対位置関係に基づいてARモデルを表示すると、表示されたARモデルと実物体との重畳に誤差が視認される。
A-2-2-2. About conversion parameters:
Further, the HMD 100 of the present embodiment has a structure in which the relative positional relationship between the camera 60 and the optical image display units 26 and 28 changes. As will be understood from the description of the default camera parameters, when the user visually recognizes that at least one of the position, size, and orientation in the AR model is aligned (superimposed) on the real object, the actual camera 60 and the optical When the AR model is displayed based on a relative positional relationship different from the relative positional relationship between the image display units 26 and 28, an error is visually recognized in the superposition of the displayed AR model and the real object.

そこで、本実施形態では、ARモデルが対象物に重畳して使用者に視認されるようにするためのキャリブレーションの際に、カメラ60の座標系と、右光学像表示部26の座標系および左光学像表示部28の座標系と、の間の相対位置関係(回転および並進の少なくとも一つ)を表す変換パラメーターを調整または設定する。そして、設定された当該変換パラメーターが表す空間関係(相対位置関係)を用いてARモデルの表示をすると、使用者USにずれが視認される度合いが低くなる。   Therefore, in the present embodiment, during calibration for the AR model to be superimposed on the object and visually recognized by the user, the coordinate system of the camera 60, the coordinate system of the right optical image display unit 26, and A conversion parameter representing a relative positional relationship (at least one of rotation and translation) between the coordinate system of the left optical image display unit 28 and the coordinate system is adjusted or set. When the AR model is displayed using the spatial relationship (relative positional relationship) represented by the set conversion parameter, the degree to which the user US visually recognizes the shift is low.

本実施形態では、パラメーター設定部167は、右光学像表示部26と左光学像表示部28とのそれぞれに対応する左変換パラメーターPML[Rcam2left, tcam2left]と、右変換パラメーターPMR[Rcam2lright, tcam2right]とを設定する。回転行列Rcam2rightは、直交する3軸の回転によって決定される3つのパラメーターであり、並進行列Tcam2rightは、3軸に沿った並進のそれぞれに対応する3つのパラメーターである。すなわち、右光学像表示部26に対応する右変換パラメーターPMRは、計6つのパラメーターを含んでいる。同じように、左光学像表示部28に対応する変換パラメーターは、回転行列Rcam2leftと並進行列Tcam2leftとであり、計6つのパラメーターを含んでいる。以上の通り、本実施形態では、カメラパラメーターCPに含まる4個のパラメーターと、空間関係を表す12個の変換パラメーターとの16個のパラメーターが算出される。 In the present embodiment, the parameter setting unit 167 includes a left conversion parameter PML [R cam2left , t cam2left ] corresponding to each of the right optical image display unit 26 and the left optical image display unit 28, and a right conversion parameter PMR [R cam2lright. , t cam2right ]. The rotation matrix R cam2right is three parameters determined by rotation of three orthogonal axes, and the translation column T cam2right is three parameters corresponding to each of the translations along the three axes. That is, the right conversion parameter PMR corresponding to the right optical image display unit 26 includes a total of six parameters. Similarly , the conversion parameters corresponding to the left optical image display unit 28 are a rotation matrix R cam2left and a parallel progression column T cam2left , and include a total of six parameters. As described above, in the present embodiment, 16 parameters including 4 parameters included in the camera parameter CP and 12 conversion parameters representing the spatial relationship are calculated.

A−2−2−3.パラメーター導出処理:
以下における説明では、使用者USが実物マーカーMK2(または実物マーカーMK1)とマーカー画像IMGとが互いに一致するように視認する状態でカメラ60が実物マーカーMK2(または実物マーカーMK1)を撮像し、パラメーター設定部167がその撮像画像を取得する。パラメーター設定部167は、取得した当該撮像画像に基づいて、後述の式(15)を用いて、カメラパラメーターおよび変換パラメーターを算出する。本実施形態では、設定パラメーターを設定する場合の初期値(i=0)として、HMD100が製造される工場から出荷される前の計測値や検査値を用いる。一方で、他の実施形態では、カメラ60または光学像表示部26,28の最大可動した場合の一方の姿勢における値、または、可動域の中間の姿勢における値を初期値として用いてもよい。
A-2-2-3. Parameter derivation processing:
In the following description, the camera 60 images the real marker MK2 (or the real marker MK1) in a state where the user US visually recognizes the real marker MK2 (or the real marker MK1) and the marker image IMG so as to coincide with each other. The setting unit 167 acquires the captured image. Based on the acquired captured image, the parameter setting unit 167 calculates camera parameters and conversion parameters using Equation (15) described later. In the present embodiment, measured values and inspection values before shipping from the factory where the HMD 100 is manufactured are used as initial values (i = 0) when setting the setting parameters. On the other hand, in another embodiment, a value in one posture when the camera 60 or the optical image display units 26 and 28 are maximum movable, or a value in a middle posture in the movable range may be used as an initial value.

図12は、右光学像表示部26のみにマーカー画像IMGが表示された状態での空間的な位置関係を示す概略図である。図12には、使用者USが、予め画像表示部20を装着した使用者USの仮想の右眼の位置として設定された右眼位置RPから、右光学像表示部26に表示されたマーカー画像IMGを視認した場合の概略が示されている。なお、図12には、HMD100の内の画像表示部20のみを図示し、装着帯90や制御部10などについては図示を省略している。つまり、図12に示す画像表示部20は、図1ないし図3に示す画像表示部20と同じ画像表示部である。また、図12には、撮像される三次元空間である外景の座標軸を表す座標軸CD2と、座標軸CD2を投影した二次元画像の座標軸を表す座標軸CD1と、が示されている。使用者USは、右光学像表示部26に表示されたマーカー画像IMGを、画像表示部20から距離L1離れた位置に存在するマーカーMK1として視認する。   FIG. 12 is a schematic diagram showing a spatial positional relationship in a state where the marker image IMG is displayed only on the right optical image display unit 26. In FIG. 12, the marker image displayed on the right optical image display unit 26 from the right eye position RP set as the virtual right eye position of the user US wearing the image display unit 20 in advance by the user US. An outline in the case of viewing the IMG is shown. In FIG. 12, only the image display unit 20 in the HMD 100 is illustrated, and the illustration of the wearing band 90, the control unit 10, and the like is omitted. That is, the image display unit 20 shown in FIG. 12 is the same image display unit as the image display unit 20 shown in FIGS. Also, FIG. 12 shows a coordinate axis CD2 that represents the coordinate axis of the outside scene that is the three-dimensional space to be imaged, and a coordinate axis CD1 that represents the coordinate axis of the two-dimensional image on which the coordinate axis CD2 is projected. The user US visually recognizes the marker image IMG displayed on the right optical image display unit 26 as the marker MK1 existing at a position away from the image display unit 20 by the distance L1.

図12に示すように、右光学像表示部26に表示されたマーカー画像IMGと、外景に含まれ前方に位置する実物マーカーMK1と、が位置、大きさ、向きが一致するように使用者が視認するとき(以下、使用者USが左眼LE(右眼RE)でアライメントを成立させるときともいう)、座標系の間には、次の式(1)の関係が成り立つ。なお、以降では、右光学像表示部26ではなく、左光学像表示部28にマーカー画像IMGが表示された場合について説明する。

Figure 2017102696
As shown in FIG. 12, the user can adjust the position, size, and orientation of the marker image IMG displayed on the right optical image display unit 26 and the actual marker MK1 that is included in the outside scene and positioned forward. When visually recognizing (hereinafter also referred to as when the user US establishes alignment with the left eye LE (right eye RE)), the relationship of the following expression (1) is established between the coordinate systems. Hereinafter, the case where the marker image IMG is displayed not on the right optical image display unit 26 but on the left optical image display unit 28 will be described.
Figure 2017102696

ここで、左辺および右辺のCPは、カメラ60のカメラパラメーターCPである。[Ro2dl, to2dl]は、実オブジェクト(この場合、実物マーカーMK2または実物マーカーMK1)に固定された座標系から左光学像表示部28に固定された座標系への変換行列であり、このうち、[Ro2dl]が回転を表す3×3の行列であり、[to2dl]が並進を表す3×1の行列である。[Ro2dl, to2dl]は、左光学像表示部28に対する実オブジェクトの位置および姿勢を表している。ModelMatrixは、モデルマーカー上の任意の1点を表す3×1の行列である。モデルマーカーは、マーカー画像IMGが光学像表示部28に表示される場合の基礎となる3次元データ(3次元モデル:ただし本実施形態では平面)である。[Ro2dl, to2dl]×ModelMatrixの表記は、下記の式(2)の規則に従っている。

Figure 2017102696
上記式(2)の表記規則は、式(1)の他の部分にも適用される。 Here, CPs on the left side and the right side are camera parameters CP of the camera 60. [R o2dl , t o2dl ] is a transformation matrix from the coordinate system fixed to the real object (in this case, the real marker MK2 or the real marker MK1) to the coordinate system fixed to the left optical image display unit 28. Of these, [R o2dl ] is a 3 × 3 matrix representing rotation, and [t o2dl ] is a 3 × 1 matrix representing translation. [R o2dl , t o2dl ] represents the position and orientation of the real object with respect to the left optical image display unit 28. ModelMatrix is a 3 × 1 matrix that represents an arbitrary point on the model marker. The model marker is three-dimensional data (a three-dimensional model: a plane in the present embodiment) that is a basis when the marker image IMG is displayed on the optical image display unit 28. The notation of [R o2dl , t o2dl ] × ModelMatrix follows the rule of the following formula (2).
Figure 2017102696
The notation rule of said Formula (2) is applied also to the other part of Formula (1).

式(1)の右辺における[Rcam2left, tcam2left]は、カメラ60の座標系から左光学像表示部28の座標系への変換行列である。当該変換行列は、パラメーター設定部167によって設定される複数の変換パラメーターで構成される。式(1)の右辺における[Robj2cam, tobj2cam]は、実オブジェクト(実物マーカーMK2または実物マーカーMK1)の座標系からカメラ60の座標系への変換行列である。[Robj2cam, tobj2cam]は、カメラ60に対する実オブジェクトの位置および姿勢を表している。 [R cam2left , t cam2left ] on the right side of Expression (1) is a transformation matrix from the coordinate system of the camera 60 to the coordinate system of the left optical image display unit 28. The transformation matrix includes a plurality of transformation parameters set by the parameter setting unit 167. [R obj2cam , t obj2cam ] on the right side of Expression (1) is a transformation matrix from the coordinate system of the real object (real marker MK2 or real marker MK1) to the coordinate system of the camera 60. [R obj2cam , t obj2cam ] represents the position and orientation of the real object with respect to the camera 60.

式(1)の関係から、左光学像表示部28について、マーカー画像IMGと実物マーカーMK2または実物マーカーMK1とのアライメントが成立しているとき、以下の式(3)、(4)が成り立つ。

Figure 2017102696
Figure 2017102696
From the relationship of the formula (1), when the alignment between the marker image IMG and the real marker MK2 or the real marker MK1 is established for the left optical image display unit 28, the following formulas (3) and (4) are established.
Figure 2017102696
Figure 2017102696

左眼LEのアライメントが成立すると仮定したとき、実物マーカーMK2または実物マーカーMK1のカメラ60に対する姿勢をモデルマーカーに適用すると、カメラ60の座標系に変換されたモデルマーカー上の任意の点Pcl(Xcl, Ycl, Zcl)は次の式(5)のようになる。

Figure 2017102696
When it is assumed that the alignment of the left eye LE is established, if the posture of the real marker MK2 or the real marker MK1 with respect to the camera 60 is applied to the model marker, an arbitrary point P cl ( X cl , Y cl , Z cl ) is expressed by the following equation (5).
Figure 2017102696

式(3)および式(4)により、Robj2cam,tobj2camを消去すると式(5)は以下の式(6)のようになる。

Figure 2017102696
When R obj2cam and t obj2cam are eliminated by Expression (3) and Expression (4), Expression (5) becomes the following Expression (6).
Figure 2017102696

Ro2dlおよびto2dlは、実物マーカーMK2または実物マーカーMK1の座標系から左光学像表示部28の座標系への回転および並進である。本実施形態では、使用者USが左光学像表示部28に表示されたマーカー画像IMGを実物マーカーMK2または実物マーカーMK1に位置合わせしたときに、Ro2dlおよびto2dlが所定の回転および並進となるように、マーカー画像IMGが左光学像表示部28上の所定位置(例えば中央)に所定の配向かつ所定の大きさで、固定されて表示される。Tcam2leftは、カメラの座標系から左光学像表示部28の座標系への並進である。

Figure 2017102696
Figure 2017102696
Figure 2017102696
上記式(7)および(8)における要素は本実施形態では定数(aは図12のL1)である。式(9)における要素D1, D2, D3は本実施形態では初期値であり、パラメーター導出処理の間に変化し得る。なお、図12からわかるように、本実施形態では、画像表示部20に固定された座標系では、光学像表示部26,28(画像表示部20)から使用者USの眼へと射出される光の方向がZ軸方向と平行である。 R o2dl and t o2dl are rotation and translation from the coordinate system of the real marker MK2 or the real marker MK1 to the coordinate system of the left optical image display unit 28. In the present embodiment, when the user US aligns the marker image IMG displayed on the left optical image display unit 28 with the real marker MK2 or the real marker MK1, Ro2dl and to2dl have a predetermined rotation and translation. As described above, the marker image IMG is fixedly displayed at a predetermined position (for example, the center) on the left optical image display unit 28 with a predetermined orientation and a predetermined size. T cam2left is a translation from the coordinate system of the camera to the coordinate system of the left optical image display unit 28.
Figure 2017102696
Figure 2017102696
Figure 2017102696
In the present embodiment, the elements in the above formulas (7) and (8) are constants (a is L1 in FIG. 12). Elements D1, D2, and D3 in Equation (9) are initial values in the present embodiment, and may change during the parameter derivation process. As can be seen from FIG. 12, in the present embodiment, in the coordinate system fixed to the image display unit 20, the light is emitted from the optical image display units 26 and 28 (image display unit 20) to the eyes of the user US. The direction of light is parallel to the Z-axis direction.

式(5)で表されるモデルマーカーをカメラ60の撮像画像上に写像するとき、撮像画像上のモデルマーカーの座標は、次のようになる。

Figure 2017102696
Figure 2017102696
ここで、(Fx, Fy)はカメラ60の焦点距離であり、(Cx, Cy)はカメラ60の主点位置座標である。 When the model marker represented by Expression (5) is mapped onto the captured image of the camera 60, the coordinates of the model marker on the captured image are as follows.
Figure 2017102696
Figure 2017102696
Here, (Fx, Fy) is the focal length of the camera 60, and (Cx, Cy) is the principal point position coordinate of the camera 60.

カメラ60が実際に実物マーカーMK2または実物マーカーMK1を撮像した場合の撮像画像におけるマーカーの特徴要素の座標を(ul, vl)と表記すると、(ul, vl)と(ximl, yiml)との差は以下のようになる。

Figure 2017102696
式(12)における添え字iは、マーカーにおける特徴要素を示す整数であり、1から9までの値を取る。パラメーター設定部167は、左眼LEのアライメントについて、式(13)で表される二乗和を導出する。
Figure 2017102696
The coordinates of the characteristic elements of the marker in the captured image when the camera 60 is actually imaging the real marker MK2 or real marker MK1 (u l, v l) and would be written, (u l, v l) and (x iml, The difference from y iml ) is as follows.
Figure 2017102696
The subscript i in the expression (12) is an integer indicating a feature element in the marker, and takes a value from 1 to 9. The parameter setting unit 167 derives the sum of squares represented by Expression (13) for the alignment of the left eye LE.
Figure 2017102696

使用者が、右眼REで右光学像表示部26に表示されたマーカーと、実物マーカーMK2または実物マーカーMK1と、のアライメントを成立させた場合についても、同様に式(14)で表される二乗和を導出する。

Figure 2017102696
The case where the user establishes the alignment between the marker displayed on the right optical image display unit 26 with the right eye RE and the real marker MK2 or the real marker MK1 is also expressed by Expression (14). Deriving the sum of squares.
Figure 2017102696

ERとELとの和により、式(15)で表すコスト関数Eを定義する。

Figure 2017102696
Eを最小化(グローバルミニマム)にするパラメーターを、ガウス・ニュートン法などの繰り返し計算を伴う最適化計算により求める。 The cost function E expressed by the equation (15) is defined by the sum of E R and E L.
Figure 2017102696
The parameter that minimizes E (global minimum) is obtained by optimization calculation with iterative calculation such as Gauss-Newton method.

本実施形態では、カメラ60のカメラパラメーターCPと、カメラ60の座標系から左光学像表示部28の座標系への回転(Rcam2left)および並進(Tcam2left)を表す変換パラメーターと、カメラ60の座標系から右光学像表示部26の座標系への回転(Rcam2right)および並進(Tcam2right)を表す変換パラメーターと、が最適化により設定される。 In the present embodiment, the camera parameter CP of the camera 60, conversion parameters representing rotation (R cam2left ) and translation (T cam2left ) from the coordinate system of the camera 60 to the coordinate system of the left optical image display unit 28, Conversion parameters representing rotation (R cam2right ) and translation (T cam2right ) from the coordinate system to the coordinate system of the right optical image display unit 26 are set by optimization.

式(15)で表わされるコスト関数Eを最小化する繰り返し計算に用いられるヤコビ行列は、式(16)のようになる。

Figure 2017102696
ここで、式(16)の右辺における変数xmliおよびymliはそれぞれ式(10)および(11)によって表され、さらに式(10)および(11)におけるxclおよびyclは式(6)によって表される。また、式(16)の右辺における変数pは、カメラ60のカメラパラメーターCPに含まれるFx,Fy,Cx,Cyと、カメラ60と光学像表示部26,28との間の空間関係を表す回転Rcam2left、Rcam2rightを構成する6つのオイラー角と、並進Tcam2left、 Tcam2rightを構成する6つの並進成分と、である。パラメーター設定部167は、式(16)のヤコビ行列と、変数pの微小変化量と、に基づいて、式(15)のグローバルミニマムを探索することができる。グローバルミニマムに対応する変数pによって、カメラパラメーターCPおよび変換パラメーターが求められる。 The Jacobian matrix used for the iterative calculation for minimizing the cost function E expressed by Equation (15) is as shown in Equation (16).
Figure 2017102696
Here, the variables x mli and y mli on the right side of Expression (16) are expressed by Expressions (10) and (11), respectively, and x cl and y cl in Expressions (10) and (11) are expressed by Expression (6). Represented by The variable p on the right side of the equation (16) is Fx, Fy, Cx, Cy included in the camera parameter CP of the camera 60, and a rotation representing the spatial relationship between the camera 60 and the optical image display units 26, 28. 6 Euler angles constituting R cam2left and R cam2right and 6 translational components constituting translations T cam2left and T cam2right . The parameter setting unit 167 can search for the global minimum of Expression (15) based on the Jacobian matrix of Expression (16) and the minute change amount of the variable p. The camera parameter CP and the conversion parameter are obtained by the variable p corresponding to the global minimum.

カメラパラメーターCPおよび変換パラメーターが設定されると、図9に示すキャリブレーション実行処理におけるステップS15の処理として、設定された変換パラメーターおよびカメラパラメーターCPを、使用者USに画像を用いて確認させる目的で、表示設定部165は設定画像SIMを光学像表示部26,28に表示させる。カメラ60の撮像範囲に特定オブジェクト(この例では実物マーカーMK1)が含まれる場合に、CPU140は、設定されたカメラパラメーターCPを用いてカメラ60に対する特定オブジェクトの位置および姿勢を導出する。また、CPU140は、設定された変換パラメーターを用いて、カメラ60に対する特定オブジェクトの位置および姿勢を、光学像表示部26、28に対する特定オブジェクトの位置および姿勢に変換する。そして、表示設定部165は、当該変換された位置および姿勢をARモデルに与えてから、当該ARモデルを写像し、そして、ARモデルを設定画像SIMとして光学像表示部26,28に表示させる。この例では、使用者USに、設定画像SIMの位置および姿勢が特定オブジェクトの位置および姿勢に一致し、かつ特定オブジェクトの動きに追跡するように設定画像SIMを視認させることができれば、変換パラメーターとカメラパラメーターCPの設定は十分である。実物マーカー、またはそれに対応したARモデルの内部座標をXと定義すると、変換パラメーターが用いられ、左光学像表示部28における表示画像の位置(u,v)は、式(17)のように表される。

Figure 2017102696
ここで、[Robj2cam, Tobj2am]は実物マーカーMK2または実物マーカーMK1とカメラ60との間の空間関係を表すパラメーター(回転行列および並進行列)であり、これらは、カメラ60が撮像した実物マーカーMK2または実物マーカーMK1の撮像画像に、例えばホモグラフィーを適用することによってパラメーター設定部167によって算出される。マーカー特定部166が、実物マーカーMK2および実物マーカーMK1以外の特定オブジェクトを検出する場合には、パラメーター設定部167は、他の方法で特定オブジェクトとカメラ60との間の空間関係を設定する。なお、右光学像表示部26についても、式(17)と同様な関係式により、表示画像の位置(u,v)が導出される。式(17)に示す通り、実物マーカーMK2または実物マーカーMK1とカメラ60との間の空間関係、およびカメラ60と光学像表示部26、左光学像表示部28との間の空間関係に少なくとも基づいて定まる位置(u,v)に、表示設定部165は、AR画像としてのARモデルを表示させる。当該ARモデル(この場合、設定画像SIM)の位置、大きさおよび配向の少なくとも一つが、特定オブジェクトの位置、大きさ、配向の少なくとも一つに一致するように、表示設定部165は、使用者USに視認させることができる。なお、式(17)における右辺のRPは、ピンホールカメラモデルと同様な写像モデルを用いた場合に決定される写像パラメーター(またはレンダリングパラメーターとも呼ぶ)であり、本実施形態では下記の式(18)のように表される。
Figure 2017102696
ここで、式(18)におけるFx, FyはHMD100におけるプロジェクターの画素数に換算された焦点距離であり、Wは水平方向の左光学像表示部28の画素数(解像度)であり、Hは垂直方向の左光学像表示部28の画素数(解像度)であり、CxおよびCyは、表示画像の中心位置である。写像パラメーターの上2行がu, vの導出に寄与する。fおよびnは、0と1の間で規格化された奥行を有する規格化デバイス座標との対応関係を決める係数である。すなわち、これらは、レンダリングバッファに(デプスバッファ)おいて奥行を調整するための係数であるが、表示画像の位置(u,v)の導出に直接関与しない。 When the camera parameter CP and the conversion parameter are set, as a process of step S15 in the calibration execution process shown in FIG. 9, the user US uses the image to confirm the set conversion parameter and camera parameter CP. The display setting unit 165 displays the setting image SIM on the optical image display units 26 and 28. When the specific object (real marker MK1 in this example) is included in the imaging range of the camera 60, the CPU 140 derives the position and orientation of the specific object with respect to the camera 60 using the set camera parameter CP. Further, the CPU 140 converts the position and orientation of the specific object relative to the camera 60 into the position and orientation of the specific object relative to the optical image display units 26 and 28 using the set conversion parameter. The display setting unit 165 gives the converted position and orientation to the AR model, maps the AR model, and displays the AR model on the optical image display units 26 and 28 as the setting image SIM. In this example, if the user US can visually recognize the setting image SIM so that the position and orientation of the setting image SIM matches the position and orientation of the specific object and track the movement of the specific object, the conversion parameter and The setting of the camera parameter CP is sufficient. If the internal coordinates of the real marker or the AR model corresponding thereto are defined as X, a conversion parameter is used, and the position (u, v) of the display image in the left optical image display unit 28 is expressed as in Expression (17). Is done.
Figure 2017102696
Here, [R obj2cam , T obj2am ] is a real marker MK2 or a parameter (rotation matrix and parallel progression ) representing a spatial relationship between the real marker MK1 and the camera 60, and these are real markers captured by the camera 60. It is calculated by the parameter setting unit 167 by applying, for example, homography to the captured image of MK2 or the real marker MK1. When the marker specifying unit 166 detects specific objects other than the real marker MK2 and the real marker MK1, the parameter setting unit 167 sets the spatial relationship between the specific object and the camera 60 by another method. For the right optical image display unit 26, the position (u, v) of the display image is derived from the same relational expression as Expression (17). As shown in Expression (17), at least based on the spatial relationship between the real marker MK2 or the real marker MK1 and the camera 60 and the spatial relationship between the camera 60, the optical image display unit 26, and the left optical image display unit 28. The display setting unit 165 displays an AR model as an AR image at a position (u, v) determined in advance. The display setting unit 165 displays the user so that at least one of the position, size, and orientation of the AR model (in this case, the setting image SIM) matches at least one of the position, size, and orientation of the specific object. It can be made visible to the US. Note that RP on the right side in Expression (17) is a mapping parameter (or called a rendering parameter) determined when a mapping model similar to the pinhole camera model is used. In the present embodiment, the following Expression (18) ).
Figure 2017102696
Here, Fx and Fy in Expression (18) are focal lengths converted to the number of pixels of the projector in the HMD 100, W is the number of pixels (resolution) of the left optical image display unit 28 in the horizontal direction, and H is vertical. The number of pixels (resolution) of the left optical image display unit 28 in the direction, and Cx and Cy are the center positions of the display image. The top two mapping parameters contribute to the derivation of u and v. f and n are coefficients that determine the correspondence with normalized device coordinates having a depth normalized between 0 and 1. That is, these are coefficients for adjusting the depth in the rendering buffer (depth buffer), but are not directly related to the derivation of the position (u, v) of the display image.

ここで、特定オブジェクトまたはARモデルXがカメラ60で撮像されたとすると、特定オブジェクトまたはARモデルX上の点と撮像画像上の対応点との間には、式(19)が成り立つ。

Figure 2017102696
式(19)の右辺における(R,T)は、カメラ60に対する特定オブジェクトの位置および姿勢を表す変換行列であり、カメラ座標系で表わされている。当該変換行列の左は、カメラパラメーターCPである。式(19)に模式的に表されるように、実空間または3次元座標系における点と撮像画像上の点との対応関係に基づいて(R,T)が推定されるから、実オブジェクトの正確な位置および姿勢の推定には、カメラパラメーターCPが適切であることが好ましい。 Here, assuming that the specific object or AR model X is captured by the camera 60, Expression (19) is established between a point on the specific object or AR model X and a corresponding point on the captured image.
Figure 2017102696
(R, T) on the right side of Expression (19) is a transformation matrix representing the position and orientation of the specific object with respect to the camera 60, and is represented in the camera coordinate system. The left side of the transformation matrix is a camera parameter CP. As schematically represented by Expression (19), (R, T) is estimated based on the correspondence between the points in the real space or the three-dimensional coordinate system and the points on the captured image. The camera parameter CP is preferably appropriate for accurate position and orientation estimation.

3次元におけるARモデルの同じ座標点は、画像処理部160におけるディスプレイバッファにレンダリングされるため、その規格化デバイス座標(NDC)は、式(18)を用いて、式(20)のように表される。

Figure 2017102696
式(20)は同時座標表現で表わされている。式(20)の右辺のXは、モデルマーカーまたはARモデルの内部座標であり、モデルに固定された座標系で表わされている。式(20)におけるXの左の(R,T)は、カメラ座標系で表わされた特定オブジェクトの位置と姿勢とであり、式(19)における(R,T)と同じ位置と姿勢とを表す。式(19)における(R,T)の左の0,1、−1を要素とする4×4の行列は、座標軸の向きを変換するための変換行列であり、本実施形態ではカメラ座標系と表示部座標系との間での座標軸の正方向の定義が異なることから、便宜上、設けられている。式(19)における座標軸の向きを変換する変換行列の左の(I,d)は、カメラ60と光学像表示部26(28)との間の空間関係を表しており、光学像表示部26(28)の座標系で表わされた回転Iと並進dからなる4×4の変換行列である。式(20)で表される座標点は、光学像表示部26(28)の画像面において式(21)の(u’, v’)で表される位置である。
Figure 2017102696
Since the same coordinate point of the AR model in three dimensions is rendered in the display buffer in the image processing unit 160, the normalized device coordinate (NDC) is expressed as in Expression (20) using Expression (18). Is done.
Figure 2017102696
Equation (20) is expressed in simultaneous coordinate representation. X on the right side of Expression (20) is an internal coordinate of the model marker or the AR model, and is represented by a coordinate system fixed to the model. (R, T) to the left of X in equation (20) is the position and orientation of the specific object expressed in the camera coordinate system, and the same position and orientation as (R, T) in equation (19). Represents. The 4 × 4 matrix having elements 0, 1, and −1 on the left of (R, T) in Expression (19) is a conversion matrix for converting the direction of the coordinate axis. In this embodiment, the camera coordinate system is used. Since the definition of the positive direction of the coordinate axis is different between the display unit coordinate system and the display unit coordinate system, it is provided for convenience. (I, d) on the left of the transformation matrix for transforming the direction of the coordinate axis in Expression (19) represents the spatial relationship between the camera 60 and the optical image display unit 26 (28). This is a 4 × 4 transformation matrix consisting of rotation I and translation d expressed in the coordinate system of (28). The coordinate point represented by Expression (20) is the position represented by (u ′, v ′) of Expression (21) on the image plane of the optical image display unit 26 (28).
Figure 2017102696

本実施形態では、キャリブレーションがうまく実施されていれば、HMD100を装着している使用者USは、光学像表示部26、28に表示された設定画像SIMの位置、大きさ、向き、奥行感が、撮像された特定オブジェクト(この例では実物マーカーMK1)の位置、大きさ、向き、奥行感に一致するように、視認する。   In the present embodiment, if the calibration is successfully performed, the user US wearing the HMD 100 can detect the position, size, orientation, and depth of the setting image SIM displayed on the optical image display units 26 and 28. Are visually recognized so as to coincide with the position, size, orientation, and depth of the captured specific object (in this example, the real marker MK1).

図13は、特定オブジェクトに対応付けられて設定画像SIMが表示された場合に使用者USが視認する使用者USの視野の一例の説明図である。図13に示す例では、特定オブジェクトとして実物マーカーMK1が採用されている。キャリブレーションが実行された後に、表示設定部165は、パラメーター設定部167によって設定された変換パラメーターおよびカメラパラメーターCPを用いて、撮像された実物マーカーMK1の位置および配向(姿勢)に合わせて、設定画像SIMを右左の光学像表示部26,28に表示させる。設定画像SIMは、立方体の各辺を形成する画像である。図13に示すように、設定画像SIMの立方体の底面は、実物マーカーMK1と合わさるように表示される。使用者USは、特定オブジェクトとしての実物マーカーMK1と設定画像SIMとの空間関係を視認することで、キャリブレーションの精度を認識できる。使用者USが実物マーカーMK1と設定画像SIMとが互いに一致するように視認しないときに、再度、キャリブレーションを第1設定モードまたは第2設定モードにおいてやり直すことができる。図13に示すように、光学像表示部26、28または音声処理部170は、キャリブレーションが成功しAR表示機能を続行すること(重畳して見えるか)、およびキャリブレーションをやり直すことのいずれかを促す文字画像または音声を使用者に提示してもよい。   FIG. 13 is an explanatory diagram illustrating an example of the visual field of the user US visually recognized by the user US when the setting image SIM is displayed in association with the specific object. In the example shown in FIG. 13, a real marker MK1 is employed as the specific object. After the calibration is executed, the display setting unit 165 uses the conversion parameters and camera parameters CP set by the parameter setting unit 167 to set according to the position and orientation (posture) of the captured real marker MK1. The image SIM is displayed on the right and left optical image display units 26 and 28. The setting image SIM is an image that forms each side of the cube. As shown in FIG. 13, the bottom surface of the cube of the setting image SIM is displayed so as to be aligned with the real marker MK1. The user US can recognize the accuracy of calibration by visually recognizing the spatial relationship between the real marker MK1 as the specific object and the setting image SIM. When the user US does not visually recognize the real marker MK1 and the setting image SIM so as to coincide with each other, the calibration can be performed again in the first setting mode or the second setting mode. As shown in FIG. 13, the optical image display units 26 and 28 or the sound processing unit 170 either succeeds in calibration and continues the AR display function (appears to be superimposed) or restarts the calibration. A character image or sound prompting the user may be presented to the user.

A−2−2−4.キャリブレーションデータの自動収集:
まず、キャリブレーションデータの自動収集処理の説明に備えて、光学像表示部26,28に固定された座標系の座標軸を、右光学像表示部26の場合を例にとって説明する。本実施形態では、右光学像表示部26の座標系のZ軸は、使用者USがHMD100を適切に装着した場合に使用者USが視認する表示領域の法線方向に一致する。このため、Z軸は使用者USの顔面が向いている方向を示し得る。X軸は、Z軸に直交し、かつ右光学像表示部26と左光学像表示部28とが並ぶ方向にほぼ平行である。このため、X軸は使用者USの左右方向を示し得る。また、Y軸は、Z軸およびX軸の双方に直交する。このため、Y軸は、使用者USの上下方向を示し得る。
A-2-2-4. Automatic collection of calibration data:
First, in preparation for the description of the calibration data automatic collection process, the coordinate axes of the coordinate system fixed to the optical image display units 26 and 28 will be described by taking the right optical image display unit 26 as an example. In the present embodiment, the Z axis of the coordinate system of the right optical image display unit 26 coincides with the normal direction of the display area visually recognized by the user US when the user US wears the HMD 100 appropriately. For this reason, the Z-axis can indicate the direction in which the face of the user US is facing. The X axis is orthogonal to the Z axis and is substantially parallel to the direction in which the right optical image display unit 26 and the left optical image display unit 28 are arranged. For this reason, the X-axis can indicate the left-right direction of the user US. Further, the Y axis is orthogonal to both the Z axis and the X axis. For this reason, the Y-axis can indicate the vertical direction of the user US.

上記で説明した第1設定モードにおいて、使用者USは、マーカー画像IMGと実物マーカーMK1,MK2との目視によるアライメントを成立させたことを、タッチパッドの操作、ボタンの押下、または音声コマンドの発声により、パラメーター設定部167に伝えている。そして、パラメーター設定部167がこれら操作または音声コマンドを受け付けた場合に、カメラ60がマーカーMK1,MK2を撮像し、すなわちキャリブレーションデータの収集をする。すなわち、HMD100は、キャリブレーションデータの収集のトリガーとして、使用者USによる操作または発声を利用している。しかしながら、以下で説明するように、HMD100は、このような構成に代えて、自動的にキャリブレーションデータを収集する構成を備えてもよい。   In the first setting mode described above, the user US confirms that visual alignment between the marker image IMG and the real markers MK1 and MK2 has been established, by operating the touch pad, pressing a button, or uttering a voice command. Is transmitted to the parameter setting unit 167. When the parameter setting unit 167 receives these operations or voice commands, the camera 60 images the markers MK1 and MK2, that is, collects calibration data. That is, the HMD 100 uses an operation or utterance by the user US as a trigger for collecting calibration data. However, as described below, the HMD 100 may include a configuration that automatically collects calibration data instead of such a configuration.

図14は、実施形態に係るキャリブレーションデータの自動収集処理のフローである。この処理では、初めに、マーカー特定部166が撮像を開始し、そして、光学像表示部26,28の一つ(以下では、右光学像表示部26)がマーカー画像IMGを表示し始める(ステップS211)。マーカー特定部166は、カメラ60が撮像した各撮像フレームに対して、2値化を実行して、実物マーカーMK2を抽出する。マーカー特定部166は、撮像範囲の中に、実物マーカーMK2があるか否かを判定する(ステップS212)。マーカー特定部166は、撮像範囲の中に実物マーカーMK2がないと判定した場合には(ステップS212:NO)、引き続き、撮像範囲の中から実物マーカーMK2の検出を監視する。   FIG. 14 is a flow of calibration data automatic collection processing according to the embodiment. In this process, first, the marker specifying unit 166 starts imaging, and one of the optical image display units 26 and 28 (hereinafter, the right optical image display unit 26) starts displaying the marker image IMG (Step S1). S211). The marker specifying unit 166 performs binarization on each imaging frame captured by the camera 60 and extracts the actual marker MK2. The marker specifying unit 166 determines whether or not the real marker MK2 is in the imaging range (step S212). When it is determined that there is no real marker MK2 in the imaging range (step S212: NO), the marker specifying unit 166 continues to monitor the detection of the real marker MK2 from the imaging range.

ステップS212の処理において、マーカー特定部166は、撮像範囲の中に、実物マーカーMK2があると判定した場合には(ステップS212:YES)、カメラ60に対する実物マーカーMK2の位置と姿勢を導出し、それらの追跡を開始する(ステップS212A)。   In the process of step S212, when the marker specifying unit 166 determines that the real marker MK2 is present in the imaging range (step S212: YES), the marker specifying unit 166 derives the position and orientation of the real marker MK2 with respect to the camera 60, The tracking is started (step S212A).

導出された実物マーカーMK2の位置および姿勢は、カメラ座標系で表わされている。つまり、その位置および姿勢は、カメラ60に対する位置および姿勢である。そこで、カメラ60と右光学像表示部26との間のデフォルトの空間関係を利用して、カメラ60に対する実物マーカーMK2の位置および姿勢を、右光学像表示部26の座標系で表わされた近似的、すなわち暫定的な位置および姿勢に変換する。「デフォルトの空間関係」とは、例えば、カメラ60と右光学像表示部26との間の相対可動範囲の両端間に存在する一つの空間関係である。位置および姿勢、すなわち回転および並進、を表す4×4の変換行列Tは、式(21A)のように表される。

Figure 2017102696
ここで、左辺の「T (marker to display)」は右光学像表示部26に対する実物マーカーMK2の近似的な位置および姿勢であり、右辺の「T (camera to display)」は、カメラ60の座標系から右光学像表示部26の座標系へのデフォルトの変換行列であり、「Tracking pose」はカメラ60に対する実物マーカーMK2の位置および姿勢である。 The derived position and orientation of the real marker MK2 are represented in the camera coordinate system. That is, the position and posture are the position and posture with respect to the camera 60. Therefore, the position and orientation of the real marker MK2 with respect to the camera 60 are expressed in the coordinate system of the right optical image display unit 26 using the default spatial relationship between the camera 60 and the right optical image display unit 26. Convert to approximate or tentative position and orientation. The “default spatial relationship” is, for example, one spatial relationship that exists between both ends of the relative movable range between the camera 60 and the right optical image display unit 26. A 4 × 4 transformation matrix T representing the position and orientation, that is, rotation and translation, is expressed as in Expression (21A).
Figure 2017102696
Here, “T (marker to display)” on the left side is the approximate position and orientation of the real marker MK2 with respect to the right optical image display unit 26, and “T (camera to display)” on the right side is the coordinates of the camera 60. This is a default conversion matrix from the system to the coordinate system of the right optical image display unit 26, and “Tracking pose” is the position and orientation of the real marker MK 2 with respect to the camera 60.

モデルマーカーと実物マーカーMK2との間で、光学像表示部26の座標系におけるX軸およびY軸の回りの回転差が所定値未満か否かは、以下の式(21B)および式(21C)のように判定され得る。

Figure 2017102696
Figure 2017102696
ここで、「Ax」、「Ay」はそれぞれX軸、Y軸回りのモデルマーカーの回転角であり、「approximated Ax」、「approximated Ay」は、それぞれX軸、Y軸回りの実物マーカーMK2の近似的な回転角であり、いずれも度単位で表わされたオイラー角である。「Abs」は値の絶対値を取ることを意味する。なお、上述の通り、モデルマーカーとは、3次元座標で表わされたモデルであり、2Dへ写像されてマーカー画像IMGとして表示されるものである。 Whether the rotation difference around the X axis and the Y axis in the coordinate system of the optical image display unit 26 between the model marker and the real marker MK2 is less than a predetermined value is determined by the following formulas (21B) and (21C). It can be determined as follows.
Figure 2017102696
Figure 2017102696
Here, “A x ” and “A y ” are the rotation angles of the model markers around the X and Y axes, respectively. “Approximated A x ” and “approximated A y ” are around the X and Y axes, respectively. These are approximate rotation angles of the real marker MK2, and both are Euler angles expressed in degrees. “Abs” means to take an absolute value. As described above, the model marker is a model represented by three-dimensional coordinates, which is mapped to 2D and displayed as a marker image IMG.

次に、右光学像表示部26の座標系において、実物マーカーMK2のX軸、Y軸に沿った近似的な並進(T’, T’)が、モデルマーカーの並進(t、t)に近いか否かが、以下の式(21D)および式(21E)の関係式を用いて判定され得る。

Figure 2017102696
Figure 2017102696
以下の説明においては、上記回転角の差を集合的に「回転差A」、上記並進の差を集合的に「並進差D」と表す。 Next, in the coordinate system of the right optical image display unit 26, the approximate translation (T x ′, T y ′) along the X axis and Y axis of the real marker MK2 is the translation of the model marker (t x , t It can be determined whether or not it is close to y ) using the following relational expressions (21D) and (21E).
Figure 2017102696
Figure 2017102696
In the following description, the difference in rotation angle is collectively expressed as “rotation difference A”, and the difference in translation is collectively expressed as “translation difference D”.

図14のフローの説明に戻ると、マーカー特定部166は、回転差Aがその閾値(threshold)以上で、かつ並進差Dがその閾値以上か否かを判定する(ステップS213A)。回転差Aも並進差Dもそれぞれの閾値以上であると判定された場合には(ステップS213A:Yes)、表示設定部165は、マーカー画像の色を赤色に変え、右光学像表示部26に位置合わせ(アライメント)を促す文字画像を表示させる(ステップS214A)。ステップS213Aの判定が「否」の場合には(ステップS213A:No)、マーカー特定部166は、回転差Aが閾値未満で、かつ並進差Dが閾値以上であるか否かを判定する(ステップS213B)。回転差Aが閾値未満で、かつ並進差Dが閾値以上であると判定された場合には(ステップS213B:Yes)、表示設定部165は、マーカー画像の色を黄色に変え、右光学像表示部26に位置合わせ(アライメント)を促す文字画像を表示させる(ステップS214B)。ステップS213Bの判定が「否」の場合には(ステップS213B:No)、マーカー特定部166は、回転差Aが閾値未満で、かつ並進差Dが閾値未満であるか否かを判定する(ステップS213C)。回転差Aも並進差Dもそれぞれの閾値未満であると判定された場合には(ステップS213C:Yes)、表示設定部165は、マーカー画像の色を緑色に変える(ステップ214C)。ステップS213Cの判定が「否」の場合には(ステップS213C:No)、次に実行される処理はステップS213Aの判定に戻る。ステップS214Cの後で、マーカー特定部166は、回転差Aも並進差Dもそれぞれの閾値未満の状態と、使用者USの頭部が安定した状態とが、例えば2秒以上継続したか否かを判定する(ステップS215A)。ステップS215Aの判定が肯定的であると判定された場合には、パラメーター設定部167は、所定時間期間の計時または逆算計時を開始する。パラメーター設定部167が開始する逆算計時を、これをカウントダウン処理と呼ぶ。本実施形態の所定時間期間は1秒である。表示設定部165は、この1秒間を3分割し、時間の経過にしたがって表示または音声出力される「3」、「2」、「1」、「0」のカウントダウン情報を提示する。パラメーター設定部167は、「0」が提示されるタイミングで、カメラ60による実物マーカーMK2の撮像画像を、キャリブレーションデータとして取得する。   Returning to the description of the flow in FIG. 14, the marker specifying unit 166 determines whether or not the rotation difference A is equal to or greater than the threshold (threshold) and the translation difference D is equal to or greater than the threshold (step S213A). When it is determined that both the rotation difference A and the translation difference D are equal to or greater than the respective threshold values (step S213A: Yes), the display setting unit 165 changes the color of the marker image to red and displays it on the right optical image display unit 26. A character image that prompts alignment (alignment) is displayed (step S214A). When the determination in step S213A is “No” (step S213A: No), the marker specifying unit 166 determines whether or not the rotation difference A is less than the threshold and the translation difference D is greater than or equal to the threshold (step). S213B). If it is determined that the rotation difference A is less than the threshold and the translation difference D is greater than or equal to the threshold (step S213B: Yes), the display setting unit 165 changes the color of the marker image to yellow and displays the right optical image. A character image prompting alignment (alignment) is displayed on the unit 26 (step S214B). When the determination in step S213B is “No” (step S213B: No), the marker specifying unit 166 determines whether or not the rotation difference A is less than the threshold and the translation difference D is less than the threshold (step). S213C). When it is determined that both the rotation difference A and the translation difference D are less than the respective threshold values (step S213C: Yes), the display setting unit 165 changes the color of the marker image to green (step 214C). When the determination in step S213C is “No” (step S213C: No), the process to be executed next returns to the determination in step S213A. After step S214C, the marker specifying unit 166 determines whether or not the state where both the rotation difference A and the translation difference D are less than the respective threshold values and the state where the head of the user US is stable continue for, for example, 2 seconds or more. Is determined (step S215A). If it is determined that the determination in step S215A is affirmative, the parameter setting unit 167 starts counting time or reverse counting time for a predetermined time period. The counter-counting time started by the parameter setting unit 167 is referred to as countdown processing. The predetermined time period of this embodiment is 1 second. The display setting unit 165 divides this one second into three, and presents countdown information of “3”, “2”, “1”, “0” that is displayed or output as sound passes. The parameter setting unit 167 acquires a captured image of the real marker MK2 by the camera 60 as calibration data at a timing when “0” is presented.

カウントダウン処理における所定時間期間は1秒に限らない。所定時間期間は、使用者USがマーカー画像IMGと実物マーカーMK2との間の目視によるアライメントを精度の点でより向上させることができる程度に長く、同時に、既に精度よく成立している目視によるアライメントを使用者USが維持することができる程度に短いことが好ましい。この点で「1秒」は経験的に好適な長さである。   The predetermined time period in the countdown process is not limited to 1 second. The predetermined time period is long enough to allow the user US to improve the visual alignment between the marker image IMG and the real marker MK2 in terms of accuracy, and at the same time, the visual alignment already established with high accuracy. Is preferably short enough that the user US can maintain it. In this respect, “1 second” is an empirically preferred length.

頭部が安定な状態にあるか否か、または実質的に静止しているか否かは、パラメーター設定部167が、カメラ60の撮像画像における実物マーカーMK2の特徴点の位置、HMD100に搭載されたIMUの出力、およびこれらの組み合わせから、判定することができる。   Whether the head is in a stable state or substantially stationary is determined by whether the parameter setting unit 167 is mounted on the HMD 100 at the position of the feature point of the real marker MK2 in the captured image of the camera 60. It can be determined from the output of the IMU and a combination thereof.

図15は、他の実施形態に係るキャリブレーションデータの自動収集処理を説明するフローである。   FIG. 15 is a flowchart illustrating an automatic collection process of calibration data according to another embodiment.

図15のフローは、ステップS212とステップS216との間の部分が、図14のフローのそれとは異なっていて、その他の部分は図14のフローと実質的に同じである。したがって、以下では、異なっている部分のみ説明する。   In the flow of FIG. 15, the part between step S212 and step S216 is different from that of the flow of FIG. 14, and the other part is substantially the same as the flow of FIG. 14. Therefore, only different parts will be described below.

図15に示すフローでは、ステップS212Aの後で、パラメーター設定部167は、カメラ60の撮像範囲に実物マーカーMK2が存在している状態であり、かつ、使用者USの頭部が所定期間、例えば2秒、に亘って安定的な状態か否かを判定する(ステップS215B)。パラメーター設定部167がカメラ60の撮像範囲に実物マーカーが存在する状態であり、かつ、使用者USの頭部が2秒間に亘って安定的な状態であると判定した場合には(ステップS215B:Yes)、処理はステップS216へ移行する。ステップS215Bの判定が「否」である場合には、この判定が満足されるまで、パラメーター設定部167は、撮像画像と使用者USの頭部の動きとを継続的に監視する。   In the flow shown in FIG. 15, after step S212A, the parameter setting unit 167 is in a state where the real marker MK2 exists in the imaging range of the camera 60, and the head of the user US is in a predetermined period, for example, It is determined whether or not the state is stable for 2 seconds (step S215B). When the parameter setting unit 167 determines that the real marker is present in the imaging range of the camera 60 and that the head of the user US is in a stable state for 2 seconds (step S215B: Yes), the process proceeds to step S216. If the determination in step S215B is “No”, the parameter setting unit 167 continuously monitors the captured image and the movement of the head of the user US until this determination is satisfied.

図16は、他の実施形態に係るキャリブレーションデータの自動収集処理を説明するフローである。   FIG. 16 is a flow for explaining calibration data automatic collection processing according to another embodiment.

図16のフローは、図14のフローと比較して、ステップS216とステップS217との間に、判定ステップS218とS219が加えられている点で、図14のフローとは異なっていて、その他の部分は図14のフローと実質的に同じである。したがって、以下では、異なっている部分のみ説明する。   The flow of FIG. 16 differs from the flow of FIG. 14 in that determination steps S218 and S219 are added between steps S216 and S217, compared to the flow of FIG. The part is substantially the same as the flow of FIG. Therefore, only different parts will be described below.

図14の処理では、カウントダウン処理が開始されると(ステップS216)、使用者USが姿勢を大きく変えた結果、もはや目視によるアライメントが成立していない場合であっても、所定時間期間の経過時にキャリブレーションデータが収集される。この場合、正確なキャリブレーションデータを収集することができない。本実施形態では、カウントダウン処理における所定時間期間内に使用者USの頭部が閾値以上の動きを示した場合に、カウントダウン処理を中止して、キャリブレーションデータの収集処理を再度やり直すことができる。具体的には、パラメーター設定部167は、ステップS216のカウントダウン処理を開始された後に、所定時間期間(カウントダウン期間)が経過したか否かを判定する(ステップS218)。パラメーター設定部167がステップS218の判定が「否」と判定した場合には(ステップS218:No)、IMUが出力する角速度または加速度に基づいて、使用者USの頭部が閾値以上の大きさの動きをしたか否かを判定する(ステップS219)。パラメーター設定部167は、ステップS219の判定が「否」と判定した場合には、ステップS218の処理において、所定時間期間が経過した時点で(ステップS281:Yes)、キャリブレーションデータを収集する(ステップS217)。ステップS219において、パラメーター設定部167が使用者USの頭部が閾値以上の大きさの動きがあったと判定した場合には、ステップS213A以降の処理が実行される。   In the process of FIG. 14, when the countdown process is started (step S216), even when the alignment by visual observation is no longer established as a result of the user US having greatly changed the posture, Calibration data is collected. In this case, accurate calibration data cannot be collected. In the present embodiment, when the head of the user US shows a movement of a threshold value or more within a predetermined time period in the countdown process, the countdown process can be stopped and the calibration data collection process can be performed again. Specifically, the parameter setting unit 167 determines whether or not a predetermined time period (countdown period) has elapsed after the start of the countdown process in step S216 (step S218). When the parameter setting unit 167 determines that the determination in step S218 is “No” (step S218: No), the head of the user US is larger than the threshold based on the angular velocity or acceleration output by the IMU. It is determined whether or not it has moved (step S219). If the determination in step S219 is “No”, the parameter setting unit 167 collects calibration data when a predetermined time period has elapsed in the processing in step S218 (step S281: Yes) (step S218). S217). In step S219, when the parameter setting unit 167 determines that the user US's head has moved more than a threshold value, the processing after step S213A is executed.

上述したように、パラメーター群を調整する際には、HMD100に表示されたマーカー画像IMGと実物マーカーMK2とが一致するように使用者USに視認させた(アライメントを成立させた)状態で、キャリブレーションデータを収集することが好ましい。使用者USがマーカー画像IMGと実物マーカーMK2とを精度よく一致して視認しているか否かは、パラメーター群を導出するキャリブレーションの精度に影響を与える。   As described above, when the parameter group is adjusted, calibration is performed in a state where the user US visually recognizes (alignment is established) so that the marker image IMG displayed on the HMD 100 matches the real marker MK2. It is preferable to collect application data. Whether or not the user US visually recognizes the marker image IMG and the real marker MK2 with high accuracy affects the accuracy of the calibration for deriving the parameter group.

ただし、せっかくユーザーが、マーカー画像と実物マーカーとが精度よく一致するよう視認していても、データ収集の指示またはトリガーのためにコントローラー10にタッチすると、その動作でアライメントがずれ、ずれたアライメントの状態でキャリブレーションデータが収集(実物マーカーが撮像)されることとなる。音声コマンドの場合にも、発声動作または発音動作により、アライメントがずれる可能性は皆無でない。このようなずれたアライメントの状態で得られたパラメーター群を使うと、AR画像の重畳表示が精度よく行われない。   However, even if the user visually recognizes that the marker image and the real marker are accurately matched, if the controller 10 is touched for a data collection instruction or trigger, the operation is misaligned and the misaligned alignment occurs. In this state, calibration data is collected (a real marker is imaged). Even in the case of a voice command, there is no possibility that the alignment is shifted due to the utterance operation or the sound generation operation. If the parameter group obtained in such a shifted alignment state is used, the AR image is not superimposed and displayed with high accuracy.

図14、図15、図16を参照して説明したキャリブレーションデータの自動収集処理は、ユーザーがタッチや音声コマンドを必ずしも与えなくても、使用者がマーカー画像と実物マーカーとを一致して視認していることをHMD100が判定できる仕組みを提供することができる。そして、その判定をトリガーとしてキャリブレーションデータを収集できることから、精度のよいパラメーター群が得られ、結果として、AR画像の重畳表示の精度のよいHMD100が得られる。なお、本実施形態では、2つの回転角の差に基づいて、「回転差A」が閾値未満か否かが判定されるが、1つの軸の回りの回転角の差、または3つの軸の回りの回転角の差に基づいて、「回転差A」が閾値未満か否かが判定されてもよい。「並進差D」についても同様である。   The automatic calibration data collection process described with reference to FIGS. 14, 15, and 16 allows the user to visually recognize the marker image and the actual marker even if the user does not necessarily give a touch or voice command. It is possible to provide a mechanism by which the HMD 100 can determine that it is doing. Since the calibration data can be collected using the determination as a trigger, a highly accurate parameter group is obtained, and as a result, the HMD 100 with high accuracy of the superimposed display of the AR image is obtained. In the present embodiment, based on the difference between the two rotation angles, it is determined whether or not the “rotation difference A” is less than the threshold. However, the difference between the rotation angles around one axis or the three axes It may be determined whether or not “rotational difference A” is less than a threshold value based on the difference between the rotation angles around. The same applies to the “translation difference D”.

A−2−3.第2設定モード:
第2設定モードでは、パラメーター設定部167が、第1設定モードにおいて実行したキャリブレーションの結果に対して、使用者USの操作を受け付けることで、さらに、キャリブレーションの結果を補正する。換言すると、パラメーター設定部167は、受け付けた操作に基づいて、特定オブジェクトに対応付けられて表示されるAR画像(ARモデル)の位置、大きさ、奥行感を補正する。
A-2-3. Second setting mode:
In the second setting mode, the parameter setting unit 167 further corrects the calibration result by receiving the operation of the user US with respect to the result of the calibration executed in the first setting mode. In other words, the parameter setting unit 167 corrects the position, size, and depth feeling of the AR image (AR model) displayed in association with the specific object based on the received operation.

図17は、第2設定モードに移行したときに使用者USが視認する視野VRの一例の説明図である。図17では、使用者USが、透過した外景に含まれる特定オブジェクトとしての実物マーカーMK1と、実物マーカーMK1に対応付けられて光学像表示部26,28に表示される設定画像SIMと、第2設定モードのときに光学像表示部26,28に表示される8個のアイコンおよびカーソル画像CSと、が示されている。8個のアイコンは、制御部10の操作部135が受け付けた操作によって、第2設定モードにおける設定モードを変更するためのアイコンである。図17に示す例では、使用者から見て、外景の実物マーカーMK1の位置と、表示された設定画像SIMの立方体の底面の位置と、が重なっていない。換言すると、キャリブレーションの精度がよくない。このような場合に、本実施形態では、第2設定モードにおいて、使用者USは、操作部135を操作することで、実物マーカーMK1と設定画像SIMとのキャリブレーションの結果を補正できる。   FIG. 17 is an explanatory diagram illustrating an example of the visual field VR visually recognized by the user US when the mode is shifted to the second setting mode. In FIG. 17, the user US has a real marker MK1 as a specific object included in the transparent outside scene, a setting image SIM displayed on the optical image display units 26 and 28 in association with the real marker MK1, Eight icons and a cursor image CS displayed on the optical image display units 26 and 28 in the setting mode are shown. The eight icons are icons for changing the setting mode in the second setting mode by an operation received by the operation unit 135 of the control unit 10. In the example shown in FIG. 17, the position of the real marker MK1 in the outside scene does not overlap with the position of the bottom surface of the cube of the displayed setting image SIM as viewed from the user. In other words, calibration accuracy is not good. In such a case, in the present embodiment, in the second setting mode, the user US can correct the calibration result of the real marker MK1 and the setting image SIM by operating the operation unit 135.

操作部135のトラックパッドが所定の操作を受け付けると、パラメーター設定部167は、光学像表示部26,28に表示させたカーソル画像CSの位置を移動させる。カーソル画像CSが8個のアイコンの内のいずれかに重なっている状態で、操作部135の決定ボタンが押下されると、パラメーター設定部167は、カーソル画像CSが重なっていたアイコンと対応付けられている設定モードへと移行する。   When the track pad of the operation unit 135 receives a predetermined operation, the parameter setting unit 167 moves the position of the cursor image CS displayed on the optical image display units 26 and 28. When the determination button of the operation unit 135 is pressed in a state where the cursor image CS overlaps one of the eight icons, the parameter setting unit 167 is associated with the icon on which the cursor image CS is overlapped. Switch to the current setting mode.

アイコンIC1は、選択されると、設定画像SIMの画像を拡大または縮小を実行するモードへと移行するためのアイコンである。アイコンIC1のモードでは、操作部135が所定の操作を受け付けることで、パラメーター設定部167は、上述したカメラパラメーターCPおよび変換パラメーターの一方または双方を補正して、光学像表示部26,28に表示された設定画像SIMの大きさを変更する。本実施形態では、パラメーター設定部167は、カメラパラメーターCPにおける焦点距離F,F,および写像パラメーターにおける焦点距離F,Fの一方または両方を補正して、設定画像SIMの大きさを調整する。使用者USは、アイコンIC1を選択することで、実物マーカーMK1の大きさに合わせるように設定画像SIMの大きさを変更できる。 When the icon IC1 is selected, the icon IC1 is an icon for shifting to a mode in which the image of the setting image SIM is enlarged or reduced. In the mode of the icon IC1, when the operation unit 135 receives a predetermined operation, the parameter setting unit 167 corrects one or both of the camera parameter CP and the conversion parameter described above and displays them on the optical image display units 26 and 28. The size of the set image SIM is changed. In the present embodiment, the parameter setting unit 167, the focal length F x in the camera parameters CP, F y, and focus in the mapping parameter distance F x, by correcting one or both of F y, the size of the setting image SIM adjust. The user US can change the size of the setting image SIM so as to match the size of the real marker MK1 by selecting the icon IC1.

アイコンIC2は、選択されると、設定画像SIMの表示位置を上下に移動させるモードへと移行するためのアイコンである。アイコンIC2のモードでは、操作部135が所定の操作を受け付けることで、パラメーター設定部167は、光学像表示部26,28のそれぞれの変換パラメーターを補正して、光学像表示部26,28が設定画像SIMを表示可能な範囲で上下に移動させる。本実施形態では、パラメーター設定部が変換パラメーターのうち、X軸回りの回転を表すパラメーターRxを調整して、設定画像SIMを上下(すなわちY軸方向)に移動させる。なお、変換パラメーターの表示において、XおよびYは光学像表示部26,28に固定された座標系のX軸およびY軸をそれぞれ表し、さらに上述の通り、X軸はHMD100を装着した場合に使用者USの左右方向を表し、Y軸はその上下方向を表し得る。   When the icon IC2 is selected, the icon IC2 is an icon for shifting to a mode in which the display position of the setting image SIM is moved up and down. In the mode of the icon IC2, when the operation unit 135 receives a predetermined operation, the parameter setting unit 167 corrects the respective conversion parameters of the optical image display units 26 and 28, and the optical image display units 26 and 28 set them. The image SIM is moved up and down within a displayable range. In the present embodiment, the parameter setting unit adjusts the parameter Rx representing rotation around the X axis among the conversion parameters, and moves the setting image SIM up and down (that is, in the Y axis direction). In the conversion parameter display, X and Y represent the X axis and Y axis of the coordinate system fixed to the optical image display units 26 and 28, respectively. Further, as described above, the X axis is used when the HMD 100 is mounted. The left-right direction of the person US can be represented, and the Y-axis can represent the vertical direction.

アイコンIC3は、選択されると、設定画像SIMの表示位置を左右に移動させるモードへと移行するためのアイコンである。アイコンIC3のモードでは、操作部135が所定の操作を受け付けることで、パラメーター設定部167が光学像表示部26、28のそれぞれの変換パラメーターを補正して、光学像表示部26,28が設定画像SIMを表示可能な範囲で左右に移動させる。本実施形態では、パラメーター設定部167が変換パラメーターのうち、Y軸回りの回転を表すパラメーターRを調整して、設定画像SIMを左右(すなわちX軸方向)に移動させる。使用者USは、アイコンIC2およびアイコンIC3を選択することで、実物マーカーMK1に対して、設定画像SIMの位置を合わせるように設定画像SIMの表示位置を変更できる。 The icon IC3 is an icon for shifting to a mode in which the display position of the setting image SIM is moved to the left and right when selected. In the mode of the icon IC3, when the operation unit 135 receives a predetermined operation, the parameter setting unit 167 corrects the respective conversion parameters of the optical image display units 26 and 28, and the optical image display units 26 and 28 set the set image. The SIM is moved left and right within the displayable range. In the present embodiment, the parameter setting unit 167 adjusts the parameter Ry representing the rotation around the Y axis among the conversion parameters, and moves the setting image SIM left and right (that is, in the X axis direction). The user US can change the display position of the setting image SIM so that the position of the setting image SIM is aligned with the real marker MK1 by selecting the icon IC2 and the icon IC3.

アイコンIC4は、選択されると、使用者USに視認させる設定画像SIMの奥行感を調整するためのアイコンである。アイコンIC4のモードでは、操作部135が所定の操作を受け付けることで、パラメーター設定部167は、光学像表示部26、28のそれぞれの写像パラメーターおける表示主点のX成分であるCxを調整して、設定画像SIMの奥行感を変える。奥行感の調整量をΔCxとし、右光学像表示部26の表示主点をCx_ritghとし、左光学像表示部28の表示主点をCy_leftとすると、奥行感の調整後の表示主点は、以下の式(21F)および式(21G)のように表される。

Figure 2017102696
Figure 2017102696
写像パラメーターの表示において、Xは光学像表示部26,28に固定された座標系のX軸を表し、上述の通り、この場合のX軸はHMD100を装着した場合に使用者USの左右方向を表し得る。式(21F)および式(21G)により、左右の光学像表示部26、28に表示される左右の画像領域の中心位置が変わり、これにより、左右の画像領域が互いに近づいたり、離れたりする。この結果、使用者USが両眼で左右の画像領域を観察すると、特定オブジェクトの距離に応じた適切な輻輳角でAR画像(ARオブジェクト)を視認できるようになる。このため、特定オブジェクトとAR画像との間で、奥行感が一致する。 The icon IC4 is an icon for adjusting the sense of depth of the setting image SIM that is visually recognized by the user US when selected. In the mode of the icon IC4, when the operation unit 135 receives a predetermined operation, the parameter setting unit 167 adjusts Cx that is the X component of the display principal point in each of the mapping parameters of the optical image display units 26 and 28. The depth feeling of the setting image SIM is changed. When the depth sense adjustment amount is ΔCx, the display principal point of the right optical image display unit 26 is Cx_right, and the display principal point of the left optical image display unit 28 is Cy_left, the display principal points after the depth sense adjustment are as follows: (21F) and (21G).
Figure 2017102696
Figure 2017102696
In the display of the mapping parameters, X represents the X axis of the coordinate system fixed to the optical image display units 26 and 28. As described above, the X axis in this case indicates the left-right direction of the user US when the HMD 100 is worn. Can be represented. The center positions of the left and right image areas displayed on the left and right optical image display units 26 and 28 change according to the expressions (21F) and (21G), and thereby the left and right image areas approach each other and move away from each other. As a result, when the user US observes the left and right image areas with both eyes, the AR image (AR object) can be viewed with an appropriate convergence angle corresponding to the distance of the specific object. For this reason, the sense of depth matches between the specific object and the AR image.

アイコンIC5は、選択されると、今まで実行してきたパラメーター群の補正を、実行前のパラメーター群の値に戻すためのアイコンである。アイコンIC6は、選択されると、今まで実行してきたパラメーター群の補正を、新たなパラメーター群(カメラパラメーターCP、変換パラメーターおよび写像パラメーター)として更新して記憶するためのアイコンである。   The icon IC5 is an icon for returning the parameter group correction executed so far to the value of the parameter group before execution when selected. The icon IC6 is an icon for updating and storing the correction of the parameter group executed so far as a new parameter group (camera parameter CP, conversion parameter, and mapping parameter) when selected.

アイコンIC7は、選択されると、第2設定モードへと移行する1つ前のモードへと戻るためのアイコンである。換言すると、アイコンIC7が選択されると、表示設定部165は、図9のステップSS13に示す第2設定モードと第1設定モードとのどちらの設定モードへと移行するかの選択画面を光学像表示部26,28に表示させる。   The icon IC7 is an icon for returning to the previous mode for shifting to the second setting mode when selected. In other words, when the icon IC7 is selected, the display setting unit 165 displays an optical image as a selection screen for switching to the setting mode of the second setting mode or the first setting mode shown in Step SS13 of FIG. Displayed on the display units 26 and 28.

アイコンIC8は、選択されると、表示設定部165が光学像表示部26,28に説明文である「ヘルプ」を表示させるためのアイコンである。「ヘルプ」が表示されると、第2設定モードおよびキャリブレーション実行処理におけるキャリブレーションを実行するための操作についての説明文が光学像表示部26,28に表示される。アイコンIC9は、選択されると、第2設定モードを含むキャリブレーション実行処理を終了するためのアイコンである。   When the icon IC8 is selected, the display setting unit 165 is an icon for causing the optical image display units 26 and 28 to display “help” as an explanatory text. When “help” is displayed, an explanatory note about the operation for executing calibration in the second setting mode and the calibration execution process is displayed on the optical image display units 26 and 28. When the icon IC9 is selected, the icon IC9 is an icon for ending the calibration execution process including the second setting mode.

図18は、第2設定モードにおいて設定画像SIMの表示位置が変更されたときに使用者USが視認する視野VRの一例を示す説明図である。この例では、設定画像SIMの向き、大きさ、および奥行感は実物マーカーMK1のそれらに既に合っており、上下左右の表示位置だけを調整することでAR画像の重畳精度を向上させる場合を示している。図18では、第2設定モードにおいて、アイコンIC2およびアイコンIC3が選択された後に操作部135が所定の操作を受け付けて、設定画像SIMの立方体の底面と、実物マーカーMK1との位置が合わさるように設定画像SIMの表示位置が設定された状態が示されている。具体的な操作としては、初めに、アイコンIC2が選択されて、実物マーカーMK1に対して、設定画像SIMの上下方向の表示位置が合わされた後、アイコンIC3が選択されて、実物マーカーMK1に対して、設定画像SIMの水平方向の表示位置が合わされている。この後、アイコンIC5が選択されると、変換パラメーターが更新されて記憶される。   FIG. 18 is an explanatory diagram illustrating an example of the visual field VR visually recognized by the user US when the display position of the setting image SIM is changed in the second setting mode. In this example, the orientation, size, and depth of the setting image SIM already match those of the real marker MK1, and the AR image superimposition accuracy is improved by adjusting only the vertical, horizontal, and horizontal display positions. ing. In FIG. 18, in the second setting mode, the operation unit 135 receives a predetermined operation after the icon IC2 and the icon IC3 are selected, and the bottom surface of the cube of the setting image SIM is aligned with the actual marker MK1. A state in which the display position of the setting image SIM is set is shown. As a specific operation, first, the icon IC2 is selected and the display position of the setting image SIM in the vertical direction is aligned with the real marker MK1, and then the icon IC3 is selected and the real marker MK1 is selected. Thus, the display position of the setting image SIM in the horizontal direction is adjusted. Thereafter, when the icon IC5 is selected, the conversion parameter is updated and stored.

以上説明したように、第1実施形態のHMD100では、カメラ60が特定オブジェクトを含む外景を撮像する。そして、パラメーター設定部167はカメラ60から、光学像表示部26(28)にマーカー画像IMGとして表示されたモデルマーカーの位置および姿勢と、実物マーカーMK1(MK2)のそれらとがほぼ一致するように使用者USに視認させた状態での特定オブジェクトの撮像画像を取得する。パラメーター設定部167は、取得された撮像画像に少なくとも基づいて、パラメーター群を設定する。パラメーター群は、カメラ60のカメラパラメーターCP,カメラ60と右光学像表示部26,左光学像表示部28との間の空間関係を表す3D−3Dのそれぞれの変換パラメーター、および光学像表示部26,28上に任意の3Dモデルを画像として表示するための3D−2Dの写像パラメーターを含む。HMD100は、カメラパラメーターCPを用いて、特定オブジェクトの位置と姿勢を推定する。また、HMD100は、変換パラメーターと写像パラメーターとを用いて、特定オブジェクトに関連付けられたARモデルの位置および姿勢と、特定オブジェクトの位置および姿勢とが、互いに対応、好ましくはほぼ一致する状態で当該ARモデルをAR画像として使用者USに視認させるように、光学像表示部26,28にそれぞれAR画像を表示する。したがって、第1設定モードによるキャリブレーションによって、特定オブジェクトと、当該特定オブジェクトに関連付けられたARモデル(AR画像)とが互いに対応、好適にはほぼ一致するように使用者USに視認させることが可能なHMD100を提供することができる。   As described above, in the HMD 100 of the first embodiment, the camera 60 captures an outside scene including a specific object. Then, the parameter setting unit 167 causes the position and orientation of the model marker displayed as the marker image IMG on the optical image display unit 26 (28) from the camera 60 to substantially match those of the real marker MK1 (MK2). A captured image of the specific object in a state of being visually recognized by the user US is acquired. The parameter setting unit 167 sets a parameter group based at least on the acquired captured image. The parameter group includes the camera parameter CP of the camera 60, 3D-3D conversion parameters representing the spatial relationship between the camera 60 and the right optical image display unit 26, and the left optical image display unit 28, and the optical image display unit 26. , 28 includes 3D-2D mapping parameters for displaying an arbitrary 3D model as an image. The HMD 100 estimates the position and orientation of the specific object using the camera parameter CP. Further, the HMD 100 uses the transformation parameter and the mapping parameter, and the AR model position and orientation associated with the specific object and the position and orientation of the specific object correspond to each other, preferably substantially match with each other. The AR image is displayed on each of the optical image display units 26 and 28 so that the user US can visually recognize the model as the AR image. Therefore, the calibration in the first setting mode allows the user US to visually recognize that the specific object and the AR model (AR image) associated with the specific object correspond to each other and preferably substantially coincide with each other. HMD100 can be provided.

また、第1実施形態のHMD100では、パラメーター設定部167は、第2設定モードにおいて、操作部135が受け付けた操作に応じて、光学像表示部26,28に表示される設定画像SIMの位置、大きさ、および奥行感と、実物マーカーMK1(MK2)の位置、大きさ、および奥行感が互いに対応、好適には一致する状態で当該設定画像SIMを使用者USに視認させるように、カメラパラメーターCPと変換パラメーターと写像パラメーターとの少なくとも1つのパラメーターを設定する。そのため、第1実施形態のHMD100では、操作部135が所定の操作を受け付けることで、特定オブジェクトとARモデル(AR画像)との位置関係を、使用者USが手動でさらに補正できる。これにより、使用者USは、キャリブレーションを容易に行なうことができ、また、より精度の高いキャリブレーションを実行できる。   In the HMD 100 of the first embodiment, the parameter setting unit 167 includes the position of the setting image SIM displayed on the optical image display units 26 and 28 according to the operation received by the operation unit 135 in the second setting mode. Camera parameters so that the user US can visually recognize the setting image SIM in a state where the size and depth sensation and the position, size and depth sensation of the real marker MK1 (MK2) correspond to each other, and preferably coincide with each other. At least one of a CP, a conversion parameter, and a mapping parameter is set. Therefore, in the HMD 100 of the first embodiment, when the operation unit 135 receives a predetermined operation, the user US can further manually correct the positional relationship between the specific object and the AR model (AR image). Thereby, the user US can easily perform calibration, and can execute calibration with higher accuracy.

また、第1実施形態のHMD100では、パラメーター設定部167は、第1設定モードにおいて、カメラ60の撮像画像を用いて、カメラパラメーターCPおよび変換パラメーターの少なくとも1つに関するパラメーターを設定する。また、パラメーター設定部167は、第2設定モードにおいて、操作部135が受け付けた所定の操作に応じて、カメラパラメーターCP、変換パラメーターと、写像パラメーターとの少なくとも1つに関するパラメーターを設定する。そのため、第1実施形態のHMD100では、第1設定モードで設定されたカメラパラメーターCPおよび変換パラメーターに対して、第2設定モードで個別に設定できる。これにより、第1設定モードで調整しきれなかったパラメーターを個別に調整することができ、結果として、特定オブジェクトに、その関連付けられたAR画像を重畳するように表示する際の精度を高めることができる。   In the HMD 100 of the first embodiment, the parameter setting unit 167 sets a parameter related to at least one of the camera parameter CP and the conversion parameter using the captured image of the camera 60 in the first setting mode. The parameter setting unit 167 sets a parameter related to at least one of the camera parameter CP, the conversion parameter, and the mapping parameter in accordance with a predetermined operation received by the operation unit 135 in the second setting mode. Therefore, in the HMD 100 of the first embodiment, the camera parameter CP and the conversion parameter set in the first setting mode can be individually set in the second setting mode. This makes it possible to individually adjust parameters that could not be adjusted in the first setting mode, and as a result, it is possible to improve accuracy when displaying the associated AR image so as to be superimposed on the specific object. it can.

また、第1実施形態のHMD100では、カメラ60が装着帯90に対して向きを変更可能に配置されている。設定画像SIMを表示可能な光学像表示部26,28は、装着帯90に対して、相対位置を変更可能に配置されている。そのため、カメラ60は、光学像表示部26,28に対して、位置および向きが変更可能に配置されており(HMD100を「カメラ可動型HMD」とも呼ぶ)、カメラ60と光学像表示部26,28との位置関係の変化に応じて、キャリブレーションの設定が必要になる。第1実施形態のHMD100では、使用者USは、位置関係の変化に応じて必要とされるキャリブレーションを、第1設定モードと第2設定モードとを実行することで、容易に実行できる。もちろん、カメラと光学像表示部26,28との間の空間関係が固定されたHMD(「カメラ固定型HMD」とも呼ぶ)において、使用者USによるキャリブレーション(第1設定モード)の際に毎回、カメラと光学像表示部との間の空間関係を表す回転と並進をキャリブレーションパラメーターとして可変にし、当該空間関係の最適化を行ってもよい。このようなキャリブレーションは、カメラ固定型HMDにおいても、製造誤差により、各個体に亘る上記空間関係の分散が大きいときに、有益である。   Moreover, in HMD100 of 1st Embodiment, the camera 60 is arrange | positioned so that a direction can be changed with respect to the attachment belt | band | zone 90. FIG. The optical image display units 26 and 28 capable of displaying the setting image SIM are arranged so that the relative position can be changed with respect to the wearing band 90. Therefore, the camera 60 is arranged so that the position and orientation thereof can be changed with respect to the optical image display units 26 and 28 (the HMD 100 is also referred to as “camera movable HMD”). The calibration needs to be set in accordance with the change in the positional relationship with. In the HMD 100 of the first embodiment, the user US can easily execute the calibration required according to the change in the positional relationship by executing the first setting mode and the second setting mode. Of course, in the HMD (also referred to as “camera fixed HMD”) in which the spatial relationship between the camera and the optical image display units 26 and 28 is fixed, every time calibration is performed by the user US (first setting mode). The rotation and translation representing the spatial relationship between the camera and the optical image display unit may be made variable as calibration parameters, and the spatial relationship may be optimized. Such calibration is useful even in the camera-fixed HMD when the dispersion of the spatial relationship among the individuals is large due to manufacturing errors.

また、第1実施形態のHMD100では、パラメーター設定部167が設定したカメラパラメーターCPおよび変換パラメーターに基づいて、表示設定部165は、撮像された特定オブジェクトである実物マーカーMK2または実物マーカーMK1に対応付けて設定画像SIMを表示させる。そのため、第1実施形態のHMDでは、使用者USが、実行されたキャリブレーションの結果を視認でき、追加調整を実行する必要があるかを判定できるので、使用者の利便性が向上する。   In the HMD 100 according to the first embodiment, the display setting unit 165 associates with the real marker MK2 or the real marker MK1 that is the captured specific object based on the camera parameter CP and the conversion parameter set by the parameter setting unit 167. To display the setting image SIM. Therefore, in the HMD of the first embodiment, the user US can visually recognize the result of the calibration that has been performed, and can determine whether or not additional adjustment needs to be performed, so that the convenience for the user is improved.

また、第1実施形態のHMD100では、位置合わせ処理において、マーカー特定部166が、マーカー画像IMGと実物マーカーMK2とが所定の位置関係であり、マーカー画像IMGが表示された右光学像表示部26と実物マーカーMK2との距離が所定値以下であり、使用者USの頭部が静止している場合に、表示設定部165は、カウントダウンを表す文字画像を右光学像表示部26に表示させる。カウントダウンが経過した後に、パラメーター設定部167は、カメラ60に実物マーカーMK2を撮像させて、カメラパラメーターCPおよび変換パラメーターを設定する。そのため、第1実施形態のHMD100では、キャリブレーションの実行に必要な実物マーカーMK2の撮像データを取得するときに、特定のボタンを押したり、音声認識を実行する必要がなく、自動的にカメラ60による撮像が実行される。よって、使用者の操作および音声発生などによる実物マーカーMK2とマーカー画像IMGとの重なり(アライメント)のずれを低減できる。これにより、精度の良いアライメントの撮像データを取得でき、キャリブレーションの精度を向上する。   In the HMD 100 of the first embodiment, in the alignment process, the marker specifying unit 166 has a predetermined positional relationship between the marker image IMG and the real marker MK2, and the right optical image display unit 26 on which the marker image IMG is displayed. The display setting unit 165 causes the right optical image display unit 26 to display a character image representing the countdown when the distance between the real marker MK2 and the real marker MK2 is equal to or less than a predetermined value and the user US's head is stationary. After the countdown has elapsed, the parameter setting unit 167 causes the camera 60 to capture the real marker MK2 and sets the camera parameter CP and the conversion parameter. Therefore, in the HMD 100 of the first embodiment, when acquiring the imaging data of the real marker MK2 necessary for execution of calibration, it is not necessary to press a specific button or perform voice recognition, and the camera 60 is automatically used. Imaging is performed according to the above. Therefore, it is possible to reduce the deviation of the overlap (alignment) between the actual marker MK2 and the marker image IMG due to the user's operation and sound generation. Thereby, it is possible to acquire image data of alignment with high accuracy, and improve the accuracy of calibration.

また、第1実施形態のHMD100では、パラメーター設定部167は、所定の位置関係および距離の所定値として、算出したカメラ60に対する特定オブジェクトの空間関係と、カメラと光学像表示部26、28との間のデフォルトの空間関係と、を用いて、右光学像表示部26または左光学像表示部28に対する特定オブジェクトの仮想の位置と姿勢を算出する。パラメーター設定部167は、特定オブジェクトの上記仮想の位置と姿勢と、マーカー画像IMGとして表示(写像)されているモデルマーカーの光学像表示部26、28に対する仮想の位置と姿勢と、を比較することで両位置・姿勢の回転に関するパラメーターのずれおよび並進に関するパラメーターのずれを算出する。これらのずれとしての差に基づいて、表示設定部165は、カメラ60が外景を撮像するまでのカウントダウンの情報を右光学像表示部26または左光学像表示部28に表示させる。また、表示設定部165は、回転に関するパラメーターの差や並進に関するパラメーターの差に応じて、使用者USに、マーカー画像IMGと特定オブジェクトである実物マーカーMK2との位置合わせの処理を促す文字画像を右光学像表示部26に表示させる。そのため、第1実施形態のHMD100では、使用者USは、マーカー画像IMGと実物マーカーMK2とのずれを視覚情報として認識でき、容易に精度の高いキャリブレーションを実行できる。   In the HMD 100 of the first embodiment, the parameter setting unit 167 uses the predetermined positional relationship and the predetermined value of the distance as the predetermined spatial relationship of the specific object with respect to the camera 60 and the relationship between the camera and the optical image display units 26 and 28. The virtual position and orientation of the specific object with respect to the right optical image display unit 26 or the left optical image display unit 28 are calculated using the default spatial relationship between them. The parameter setting unit 167 compares the virtual position and orientation of the specific object with the virtual position and orientation of the model marker displayed (mapped) as the marker image IMG with respect to the optical image display units 26 and 28. To calculate the parameter deviation for rotation of both positions and postures and the parameter deviation for translation. Based on the difference as these deviations, the display setting unit 165 causes the right optical image display unit 26 or the left optical image display unit 28 to display countdown information until the camera 60 captures an outside scene. In addition, the display setting unit 165 displays a character image that prompts the user US to perform alignment processing between the marker image IMG and the real object marker MK2 in accordance with the difference in parameters related to rotation and the difference in parameters related to translation. The image is displayed on the right optical image display unit 26. Therefore, in the HMD 100 of the first embodiment, the user US can recognize the deviation between the marker image IMG and the real marker MK2 as visual information, and can easily execute a highly accurate calibration.

また、第1実施形態のHMD100では、表示設定部165は、カメラ60が撮像するまでのカウントダウンを表す情報として、特定オブジェクトとしての実物マーカーMK2に対応付けられたマーカー画像IMGの色を変化させた画像を右光学像表示部26に表示させる。そのため、第1実施形態のHMD100では、使用者USにカメラ60が実物マーカーMK2を撮像するタイミングを視覚情報として認識させることができ、使用者USは感覚的にキャリブレーションを実行できる。   Further, in the HMD 100 of the first embodiment, the display setting unit 165 changes the color of the marker image IMG associated with the real marker MK2 as the specific object as information indicating the countdown until the camera 60 captures an image. The image is displayed on the right optical image display unit 26. Therefore, in HMD100 of 1st Embodiment, the user US can make the user US recognize the timing which the camera 60 images the real marker MK2 as visual information, and the user US can perform calibration sensuously.

B.第2実施形態:
第2実施形態では、第1実施形態と比較して、キャリブレーションが実行されるときにカメラ60が撮像する実物マーカーと、実物マーカーを撮像する第1設定モードの一部とが異なる。そのため、第2実施形態では、第1実施形態と比較してことなる処理について説明し、その他の第1実施形態と同じ処理の説明については省略する。
B. Second embodiment:
In the second embodiment, compared to the first embodiment, the real marker captured by the camera 60 when calibration is executed is different from the part of the first setting mode in which the real marker is imaged. Therefore, in the second embodiment, processing that is different from that of the first embodiment will be described, and description of the same processing as that of the other first embodiment will be omitted.

図19は、第2実施形態における制御部10aの裏面を示す正面図である。図19には、制御部10aにおける操作部135が形成された面を表面と定義した場合の裏面が示されている。図19に示すように、制御部10aの裏面には、実物マーカーMK1を小さくした実物マーカーMK3が配置されている。   FIG. 19 is a front view showing the back surface of the control unit 10a in the second embodiment. FIG. 19 shows the back surface when the surface on which the operation unit 135 is formed in the control unit 10a is defined as the front surface. As shown in FIG. 19, a real marker MK3 in which the real marker MK1 is made smaller is disposed on the back surface of the control unit 10a.

第2実施形態の第1設定モードでは、第1実施形態の第1モードと同じように、初めに、表示設定部165が右光学像表示部26にマーカー画像IMGを表示させる(図10のステップS201)。パラメーター設定部167は、マーカー画像IMGと制御部10の裏面に配置された実物マーカーMK3との位置合わせを使用者USに促す(ステップS210)。実物マーカーMK3とマーカー画像IMGとの位置合わせが実行されると、第1実施形態と異なり、表示設定部165は、ステップS201で右光学像表示部26に表示されたマーカー画像IMGと大きさが異なるマーカー画像IMGを右光学像表示部26に表示させる(ステップS202)。パラメーター設定部167は、ステップS201の処理時とは大きさが異なるマーカー画像IMGと実物マーカーMK3との位置合わせを使用者USに促す(ステップS220)。ここで、大きさが異なる2つのマーカー画像IMGは、本実施形態では光学像表示部26,28に対する仮想的な位置(Z軸に沿った距離)が異なる同一のモデルマーカーを写像パラメーターにより2次元に写像することで生成される。第2実施形態のステップS220の処理では、使用する実物マーカーが一つであっても、大きさが異なる2つのマーカー画像IMGに対してアライメントを成立させようとするから、第1実施形態と同様に、使用者USは、マーカー画像IMGが表示された右光学像表示部26と実物マーカーMK3とを、距離を変えてアラインさせる。第1設定モードのステップS203以降の処理については、右光学像表示部26に対する処理と同じであるため、説明を省略する。   In the first setting mode of the second embodiment, as in the first mode of the first embodiment, the display setting unit 165 first displays the marker image IMG on the right optical image display unit 26 (step of FIG. 10). S201). The parameter setting unit 167 prompts the user US to align the marker image IMG with the real marker MK3 disposed on the back surface of the control unit 10 (step S210). When the alignment between the real marker MK3 and the marker image IMG is executed, unlike the first embodiment, the display setting unit 165 has the same size as the marker image IMG displayed on the right optical image display unit 26 in step S201. Different marker images IMG are displayed on the right optical image display unit 26 (step S202). The parameter setting unit 167 prompts the user US to align the marker image IMG and the real marker MK3, which are different in size from those in the process of step S201 (step S220). Here, two marker images IMG having different sizes are two-dimensionally represented by mapping parameters of the same model marker having different virtual positions (distances along the Z axis) with respect to the optical image display units 26 and 28 in the present embodiment. Generated by mapping to. In the process of step S220 of the second embodiment, even if only one real marker is used, alignment is established for two marker images IMG having different sizes. In addition, the user US aligns the right optical image display unit 26 on which the marker image IMG is displayed and the real marker MK3 at different distances. Since the process after step S203 in the first setting mode is the same as the process for the right optical image display unit 26, the description thereof is omitted.

第2実施形態のHMD100aでは、1つの実物マーカーMK3であっても、第1設定モードにおいて右光学像表示部26または左光学像表示部28に表示されるマーカー画像IMGを変化させることで、精度の高いキャリブレーションを実行できる。   In the HMD 100a of the second embodiment, the accuracy can be improved by changing the marker image IMG displayed on the right optical image display unit 26 or the left optical image display unit 28 in the first setting mode even for one real marker MK3. High calibration can be performed.

C.第3実施形態:
第3実施形態では、第1実施形態と比較して、キャリブレーションが実行されるときにカメラ60が撮像する実物マーカーの形状と、実物マーカーに対応するマーカー画像IMGの形状と、が異なる。そのため、第3実施形態では、第1実施形態に対して異なる実物マーカーの形状および実物マーカーの特定について説明し、その他の構成については説明を省略する。
C. Third embodiment:
In the third embodiment, compared to the first embodiment, the shape of the real marker captured by the camera 60 when calibration is executed is different from the shape of the marker image IMG corresponding to the real marker. Therefore, in the third embodiment, the shape of the real marker and the identification of the real marker that are different from those in the first embodiment will be described, and description of other configurations will be omitted.

図20および図21は、第3実施形態の実物マーカーの一例を示す概略図である。図20には、実物マーカーMK4として、階段状に形成された3次元のブロックが示されている。同様に、図21には、実物マーカーMK5として、三角錐を基準として半円筒などのブロックが付加された3次元のブロックが示されている。第3実施形態のマーカー画像記憶部138bは、実物マーカーMK4および実物マーカーMK5に対応する3次元モデルのデータを、その特徴点とともに記憶している。そのため、マーカー特定部166は、マーカー画像記憶部138bに記憶された特徴点と撮像画像における特徴点との対応関係を推定することで、カメラ60に対する実物マーカーMK4または実物マーカーMK5の位置と姿勢を推定できる。特徴点の特定方法としては、ステレオカメラによって特定の位置までの距離を特定して、特定した距離を用いたエッジ検出などであってもよく、公知の技術を適用できる。   20 and 21 are schematic views illustrating an example of a real marker according to the third embodiment. FIG. 20 shows a three-dimensional block formed in a staircase pattern as the real marker MK4. Similarly, FIG. 21 shows a three-dimensional block to which a block such as a semi-cylinder is added with reference to a triangular pyramid as the real marker MK5. The marker image storage unit 138b of the third embodiment stores the data of the three-dimensional model corresponding to the real marker MK4 and the real marker MK5 together with their feature points. Therefore, the marker specifying unit 166 estimates the correspondence between the feature points stored in the marker image storage unit 138b and the feature points in the captured image, thereby determining the position and orientation of the real marker MK4 or the real marker MK5 with respect to the camera 60. Can be estimated. As a method for specifying the feature point, a distance to a specific position may be specified by a stereo camera, and edge detection using the specified distance may be used, and a known technique can be applied.

記憶部には、実物マーカーMK4または実物マーカーMK5の形状と相似な形状を有する3Dモデルマーカーが記憶されている。なお、実施形態1と同様に、モデルマーカーは、仮想の3次元空間内で定義されている。HMD100は、光学像表示部26、28に対して所定の位置と姿勢を有するように設定された当該モデルマーカーを上述の写像パラメーターにより写像し、光学像表示部26、28にマーカー画像IMGとして表示する。以下は、実施形態1と同様に、使用者USにマーカー画像IMGと実物マーカーMK4,MK5とのアライメントを成立させる。   The storage unit stores a 3D model marker having a shape similar to the shape of the real marker MK4 or the real marker MK5. As in the first embodiment, the model marker is defined in a virtual three-dimensional space. The HMD 100 maps the model marker set to have a predetermined position and orientation with respect to the optical image display units 26 and 28 using the above mapping parameters, and displays the model marker on the optical image display units 26 and 28 as a marker image IMG. To do. In the following, as in the first embodiment, the user US establishes alignment between the marker image IMG and the real markers MK4 and MK5.

以上説明したように、第3実施形態のHMD100bでは、2次元モデルよりも特徴点の多い3次元モデルを用いてキャリブレーションが実行されるため、精度の高いキャリブレーションを実行できる。   As described above, in the HMD 100b according to the third embodiment, calibration is performed using a three-dimensional model having more feature points than the two-dimensional model, so that calibration with high accuracy can be performed.

D.変形例:
なお、この発明は上記実施形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様において実施することが可能であり、例えば、次のような変形も可能である。
D. Variations:
In addition, this invention is not limited to the said embodiment, It can implement in a various aspect in the range which does not deviate from the summary, For example, the following deformation | transformation is also possible.

D−1.変形例1:
第1実施形態ないし第3実施形態では、図1ないし図3に示すように、光学像表示部26,28に対するカメラ60の位置や向きが変化するHMD100について説明した。光学像表示部26,28に対するカメラ60の位置が変化しないHMD101についても、第1実施形態ないし第3実施形態で説明したキャリブレーションが有効である。なお、以降では、第1実施形態ないし第3実施形態で説明したHMD100を、「カメラ可動型HMD」とも呼び、カメラ60の位置が固定であるHMD101を「カメラ固定型HMD」とも呼ぶ。たとえば、カメラ固定型HMDの場合であっても、カメラ60と光学像表示部26、28との間の空間関係を表す回転と並進に存在する誤差の分散が、同一仕様のHMDの間で大きい場合には、使用者USがAR画像を表示する前に毎回、上記回転と並進を含む相対関係を調整するようにキャリブレーション処理をしてもよい。
D-1. Modification Example 1:
In the first to third embodiments, the HMD 100 in which the position and orientation of the camera 60 with respect to the optical image display units 26 and 28 change as shown in FIGS. 1 to 3 has been described. The calibration described in the first to third embodiments is also effective for the HMD 101 in which the position of the camera 60 with respect to the optical image display units 26 and 28 does not change. Hereinafter, the HMD 100 described in the first to third embodiments is also referred to as “camera movable HMD”, and the HMD 101 in which the position of the camera 60 is fixed is also referred to as “camera fixed HMD”. For example, even in the case of a camera-fixed HMD, the variance of errors existing in rotation and translation representing the spatial relationship between the camera 60 and the optical image display units 26 and 28 is large between HMDs of the same specification. In some cases, the calibration process may be performed so that the relative relationship including the rotation and the translation is adjusted each time before the user US displays the AR image.

図22は、第1設定モードで設定するパラメーターに関連する要素を示す表である。第1設定モードで変換パラメーターが設定される場合に、光学像表示部26,28から特定オブジェクトまでの距離の選択、いずれのパラメーターを優先的に最適化するかの選択などを設定できる。   FIG. 22 is a table showing elements related to parameters set in the first setting mode. When the conversion parameter is set in the first setting mode, the selection of the distance from the optical image display units 26 and 28 to the specific object, the selection of which parameter is optimized preferentially, and the like can be set.

図22に示すように、「マーカー画像IMGの表示」として、両眼表示と単眼表示との2つの表示が挙げられる。両眼表示は、右光学像表示部26および左光学像表示部28に同時にマーカー画像IMGを表示させて、使用者USにアライメントを実行させる場合を表す。単眼表示は、右光学像表示部26または左光学像表示部28にマーカー画像IMGを表示させて、使用者USに右光学像表示部26と左光学像表示部28とを別々にアライメントを実行させる場合を表す。HMD100であるカメラ可動型HMDおよびHMD101であるカメラ固定型HMDでは、単眼表示を採用している。   As shown in FIG. 22, “display of marker image IMG” includes two displays, a binocular display and a monocular display. The binocular display represents a case in which the marker image IMG is simultaneously displayed on the right optical image display unit 26 and the left optical image display unit 28 to cause the user US to perform alignment. In the monocular display, the marker image IMG is displayed on the right optical image display unit 26 or the left optical image display unit 28, and the right optical image display unit 26 and the left optical image display unit 28 are separately aligned with the user US. This represents the case where The camera movable HMD that is the HMD 100 and the camera fixed HMD that is the HMD 101 employ monocular display.

「実物マーカー、モデルマーカーの構造」とは、マーカー画像IMGの基となるモデルマーカーおよび実物マーカーMK1,MK2,MK3,MK4として、2次元のオブジェクト(図形など)を用いる「2D」と、3次元のオブジェクトを用いる「3D」とが挙げられる。HMD100であるカメラ可動型HMDおよびHMD101であるカメラ固定型HMDでは、第1実施形態に示すように、2次元の実物マーカーMK1,MK2、および2次元のモデルマーカーを写像したマーカー画像IMGを採用している。   “Real marker and structure of model marker” means “2D” using a two-dimensional object (such as a figure) as a model marker and real markers MK1, MK2, MK3, and MK4 as a basis of the marker image IMG, and three-dimensional “3D” using the above object. As shown in the first embodiment, the camera movable HMD that is the HMD100 and the camera fixed HMD that is the HMD101 employ the marker image IMG that maps the two-dimensional real markers MK1 and MK2 and the two-dimensional model marker. ing.

「モデルマーカー(マーカー画像IMG)の位置と姿勢」は、使用者USがアライメントを実施する際に、光学像表示部26、28に表示されるマーカー画像IMGが光学像表示部26、28に対して固定で表示されるか、カスタマイズされるかを示している。以下、詳細に説明する。   “The position and orientation of the model marker (marker image IMG)” indicates that when the user US performs alignment, the marker image IMG displayed on the optical image display units 26 and 28 is compared with the optical image display units 26 and 28. Whether it is fixed or customized. Details will be described below.

本実施形態では、3次元で表わされたモデルマーカーを使用し、そして、光学像表示部26、28から所定距離だけ離れたところにまっすぐに固定されているかのように当該モデルマーカーをマーカー画像IMGとしてレンダリング(描画)する。光学像表示部26、28に対するモデルマーカーの仮想的な位置と姿勢は、既定(固定)である。それは、通常、特定のHMDに対して、以下の条件に基づいて、選択される。
(1)実物マーカーMK1,MK2が、使用者USとカメラ60とによって同時に見られる。たとえば、あるHMDに搭載されたカメラは、眼鏡型の構造体の右脚に位置するかもしれない。したがって、アライメントの距離は、近すぎると、撮像画像に含まれないことがある。
(2)多くのARシナリオが生じる位置と姿勢(特に距離)の場所に、上記既定の位置と姿勢を選択する。なぜなら、AR画像の重畳精度(またはキャリブレーション精度)は、アライメントが実施されたところを含む近傍領域で高く、その領域から外れると低下するからである。
In the present embodiment, a model marker represented in three dimensions is used, and the model marker is displayed as a marker image as if it is fixed straight away from the optical image display units 26 and 28 by a predetermined distance. Render (draw) as IMG. The virtual position and orientation of the model marker with respect to the optical image display units 26 and 28 are predetermined (fixed). It is usually selected for a particular HMD based on the following conditions:
(1) The real markers MK1 and MK2 are simultaneously viewed by the user US and the camera 60. For example, a camera mounted on an HMD may be located on the right leg of a spectacle-type structure. Therefore, if the alignment distance is too close, it may not be included in the captured image.
(2) The predetermined position and posture are selected at positions and postures (particularly distances) where many AR scenarios occur. This is because the superimposition accuracy (or calibration accuracy) of the AR image is high in the vicinity area including the place where the alignment is performed, and decreases when the alignment area deviates from that area.

しかしながら、上述の既定の位置と姿勢、すなわち既定のアライメント姿勢は、他の実施形態においては必ずしも必須ではない。他の実施形態によれば、カメラ60に撮像された実物マーカーMK1,MK2(MK4,MK5)の位置と姿勢をトラッキングし続け、トラッキングされた位置・姿勢と、既存またはデフォルトのパラメーター群と、を用いてモデルマーカーを光学像表示部26、28にマーカー画像IMGとして表示する。そして、トラッキングされた位置・姿勢に応じてモデルマーカー(マーカー画像IMG)のレンダリング(描画)を更新し、アライメントに最良であると使用者USが認めるマーカー画像IMGの位置・姿勢を使用者USに決定させる。たとえば、使用者USは、実物マーカーMK1,MK2がユニークに見え、かつ既存のパラメーター群(既存のキャリブレーション結果)が明白なエラーを呈する位置と姿勢(視野)を見つけるまで、実物マーカーMK1,MK2の回りを動くことができる。そして、使用者USが指定したその時点で、パラメーター設定部167が、新しいトラッキング姿勢を用いた位置・姿勢の更新を停止する。そうすると、モデルマーカー(マーカー画像IMG)は静止して描かれ、そして、使用者USは、マーカー画像IMGと実物マーカーMK1,MK2とが互いに一致して視認することができるように、自らの位置と姿勢へ、変える。このような方法によっても、使用者USは、アライメントを成立させることができる。   However, the above-described predetermined position and posture, that is, the predetermined alignment posture is not necessarily essential in other embodiments. According to another embodiment, the position and orientation of the real markers MK1 and MK2 (MK4 and MK5) imaged by the camera 60 are continuously tracked, and the tracked position and orientation and the existing or default parameter group are The model marker is displayed on the optical image display units 26 and 28 as a marker image IMG. Then, the rendering (drawing) of the model marker (marker image IMG) is updated in accordance with the tracked position / posture, and the position / posture of the marker image IMG that the user US recognizes as the best alignment is given to the user US. Let me decide. For example, the user US finds the actual markers MK1, MK2 until the actual markers MK1, MK2 find a position and posture (field of view) in which the actual markers MK1, MK2 look unique and the existing parameter group (existing calibration result) exhibits an obvious error. Can move around. Then, at the time point designated by the user US, the parameter setting unit 167 stops updating the position / posture using the new tracking posture. Then, the model marker (marker image IMG) is drawn stationary, and the user US can determine the position of the user so that the marker image IMG and the real markers MK1 and MK2 can be visually confirmed in agreement with each other. Change to posture. Also by such a method, the user US can establish alignment.

画像処理部160は、モデルマーカーの表示に用いられるレンダリングエンジンを有し、そのレンダリングエンジンにおけるOpenGLは、「PVM」の行列積を利用しCGを生成する。ここで、Pは写像パラメーターであり、Vは、光学像表示部26、28に対するモデルマーカーの位置と姿勢であり、Mはモデルマーカー(3Dモデル)の内部座標である。使用者USの目視によるアライメントのためにモデルマーカーを写像したマーカー画像をレンダリング(描画)したい場合には、Vは、例えば、第1実施形態のように、[I:0,0,d1]のように既定にし得る。なお、ここで、Iは単位行列であり、光学像表示部26、28の座標系で表わされた回転であり、(0,0,d)のdはアライメントの距離であり、光学像表示部26、28の座標系で表わされた並進である。   The image processing unit 160 has a rendering engine used for displaying the model marker, and OpenGL in the rendering engine generates a CG using a matrix product of “PVM”. Here, P is a mapping parameter, V is the position and orientation of the model marker with respect to the optical image display units 26 and 28, and M is the internal coordinates of the model marker (3D model). When rendering a marker image in which a model marker is mapped for visual alignment of the user US, V is, for example, as in the first embodiment, [I: 0, 0, d1]. Can be the default. Here, I is a unit matrix, which is a rotation expressed in the coordinate system of the optical image display units 26 and 28, d in (0,0, d) is an alignment distance, and an optical image display The translation is represented by the coordinate system of the parts 26 and 28.

カスタマイズアライメントは、固定されたVの使用に代えて、Vとして既存またはデフォルトのパラメーター群を使用することと、使用者USが実物マーカーMK1,MK2の位置・姿勢のトラッキングを固定した時点での当該トラッキングされた位置・姿勢(以下、トラッキングポーズ)を利用することを意味する。

Figure 2017102696
式(21H)において、Tは、カメラ60を介したトラッキングにより得たトラッキング姿勢(カメラ60に対する位置と姿勢)を表し、Hは、現行またはデフォルトのカメラとディスプレイとの間の変換行列(空間関係)を表す。 In the customized alignment, instead of using the fixed V, the existing or default parameter group is used as the V, and when the user US fixes the tracking of the positions and postures of the real markers MK1 and MK2, This means using a tracked position / posture (hereinafter referred to as tracking pose).
Figure 2017102696
In Expression (21H), T represents a tracking posture (position and posture with respect to the camera 60) obtained by tracking via the camera 60, and H represents a transformation matrix (spatial relationship) between the current or default camera and the display. ).

カスタマイズアライメントの利点は、以下のように現れる。
(1)ユーザーの装着具合とARシナリオの距離範囲に依存して、カメラ60と光学像表示部26、28との間の空間関係が大きく変化するカメラ可動型HMDの場合:あるケースでは、本実施形態のキャリブレーション処理が、対応する既定の距離にある大きさの異なる実物マーカーMK1およびMK2のいずれを用いてもうまく実施し得ない可能性がある。なぜなら、カメラ60が実物マーカーMK1,MK2を見ること(補足すること)ができない場合があるからである。実物マーカーMK1,MK2は、上部または下部において、カメラ60の撮像画像から外れ得る。このようなケースでは、使用者USにアライメントの距離を選択するよう促すことが解決策となる。
(2)使用者USが、特定のARシナリオの距離のために、よりよいAR画像の重畳精度を達成することを望む場合、特に、使用者USの関心のある距離が、キャリブレーション範囲内にない場合: 使用者USが大きい距離範囲において精度を求める場合には、ユーザーは、その範囲内においてむしろ複数の距離を選択し、複数回のアライメントを実施することができる。
(3)使用者USが使用者US自身で創作した3Dオブジェクトを実物マーカーとして用いる場合には、使用者USは、アライメント距離を定義(決定)する必要がある。
The advantages of customized alignment appear as follows.
(1) In the case of a camera-movable HMD in which the spatial relationship between the camera 60 and the optical image display units 26 and 28 changes greatly depending on the user's wearing condition and the AR scenario distance range: There is a possibility that the calibration processing of the embodiment may not be successfully performed by using any of the real markers MK1 and MK2 having different sizes at the corresponding predetermined distance. This is because the camera 60 may not be able to see (supplement) the real markers MK1 and MK2. The real markers MK1 and MK2 can deviate from the captured image of the camera 60 in the upper part or the lower part. In such a case, the solution is to prompt the user US to select the alignment distance.
(2) If the user US wants to achieve better AR image overlay accuracy for the distance of a particular AR scenario, in particular the distance of interest of the user US is within the calibration range. If not: If the user US seeks accuracy over a large distance range, the user can select multiple distances within that range and perform multiple alignments.
(3) When the user US uses a 3D object created by the user US as a real marker, the user US needs to define (determine) the alignment distance.

図22に戻り、「調整するパラメーター」は、キャリブレーション処理において調整されるパラメーターを示している。後述するように、HMD100に含まれるカメラ60のカメラパラメーターCPは、必ずしも調整される必要はない。また、カメラ固定型HMDであっても、カメラ60と右光学像表示部26,28との間の空間関係(回転と並進)を表す変換パラメーターを調整することが好ましい場合がある。   Returning to FIG. 22, “parameter to be adjusted” indicates a parameter to be adjusted in the calibration process. As will be described later, the camera parameter CP of the camera 60 included in the HMD 100 is not necessarily adjusted. Even in the case of a camera-fixed HMD, it may be preferable to adjust a conversion parameter that represents a spatial relationship (rotation and translation) between the camera 60 and the right optical image display units 26 and 28.

D−2.変形例2:
光学像表示部26、28、およびカメラ60のファクトリーキャリブレーション(初期キャリブレーション):
例えば、サービスステーションにおいて、カメラ60のカメラパラメーターCP、カメラ60と光学像表示部26、28との間の空間関係(変換パラメーター)、光学像表示部26、28の写像パラメーターの初期値(デフォルト値)が、以下のステップを有するプロセスにより、導出され得る。
1.別途、高解像度な測定用カメラのキャリブレーションをする。
2.別途、HMD100に含まれるカメラ60のキャリブレーションをし、カメラパラメーターCPを導出する。
3.HMD100と測定用カメラとを特別なジグ上にセットアップする。ワールド座標系として平面パターンを設置する。
4.測定用カメラについてジグ上で数か所の位置を定義する。そして、それぞれの位置で、平面パターンに対する測定用カメラの位置と姿勢を推定する。
5.光学像表示部26に、光学像表示部26に対して仮想的な位置と姿勢を有する仮想パターンを写像する。なお、光学像表示部26に対する仮想的な位置と姿勢は、光学像表示部26に対する平面パターンの位置と姿勢と同じである。
6.測定用カメラを定義された複数の位置へ移動させ、それぞれの位置で、光学像表示部26に表示された仮想パターンの画像を撮像する。
7.撮像された画像を用いて写像されている3D位置を再構築する。
8.2D-3Dの対応関係を用いて光学像表示部26の内部パラメーター(写像パラメーター)を推定する。
9.平面パターンに対する2つのカメラ(カメラ60および測定用カメラ)の姿勢を計算し、そしてカメラ60と、光学像表示部26との間の変換パラメーターを解く。
10.4〜9のステップを、光学像表示部28について繰り返す。
D-2. Modification 2:
Factory calibration (initial calibration) of the optical image display units 26 and 28 and the camera 60:
For example, in the service station, the camera parameter CP of the camera 60, the spatial relationship (conversion parameter) between the camera 60 and the optical image display units 26 and 28, and the initial values (default values) of the mapping parameters of the optical image display units 26 and 28. ) Can be derived by a process having the following steps:
1. Separately, a high-resolution measurement camera is calibrated.
2. Separately, the camera 60 included in the HMD 100 is calibrated to derive a camera parameter CP.
3. Set up the HMD 100 and the measuring camera on a special jig. A plane pattern is set as the world coordinate system.
4). Define several positions on the jig for the measuring camera. Then, at each position, the position and orientation of the measurement camera with respect to the planar pattern are estimated.
5). A virtual pattern having a virtual position and orientation with respect to the optical image display unit 26 is mapped onto the optical image display unit 26. Note that the virtual position and orientation with respect to the optical image display unit 26 are the same as the position and orientation of the planar pattern with respect to the optical image display unit 26.
6). The measurement camera is moved to a plurality of defined positions, and an image of a virtual pattern displayed on the optical image display unit 26 is captured at each position.
7). Reconstruct the mapped 3D position using the imaged image.
The internal parameter (mapping parameter) of the optical image display unit 26 is estimated using the correspondence relationship of 8.2D-3D.
9. The attitudes of the two cameras (camera 60 and measurement camera) with respect to the plane pattern are calculated, and the conversion parameters between the camera 60 and the optical image display unit 26 are solved.
Steps 10.4 to 9 are repeated for the optical image display unit 28.

D−3.変形例3:
HMD100のカメラ可動型HMDと、HMD101のカメラ固定型HMDとでは、光学像表示部26,28に対するカメラ60の位置および向きの変化の有無が異なる。そのため、カメラ固定型HMDとカメラ可動型HMDとでは、第1設定モードにおいて、優先的に最適化が実行されるパラメーターを、異なるパラメーターとして変更してもよい。例えば、カメラ可動型HMDに対して、カメラ固定型HMDでは、キャリブレーションによってカメラパラメーターCPを最適化してもよい。
D-3. Modification 3:
The camera movable HMD of the HMD 100 and the camera fixed HMD of the HMD 101 are different in whether the position and orientation of the camera 60 with respect to the optical image display units 26 and 28 are changed. Therefore, in the first setting mode, the parameter for which optimization is preferentially executed may be changed as a different parameter between the camera fixed HMD and the camera movable HMD. For example, in the camera fixed type HMD, the camera parameter CP may be optimized by calibration with respect to the camera movable type HMD.

最適化されるパラメーターとして、カメラパラメーターCPと、変換パラメーターとが挙げられる。カメラ固定型HMDでは、カメラパラメーターCPについて、HMD101の製造時の設計値を固定値として用いた上で、キャリブレーションによって最適化が実行される。最適化されるカメラパラメーターCPとしては、カメラ60の焦点距離およびカメラ60の主点位置(撮像画像の中心位置)である。カメラ固定型HMDでは、最適化される変換パラメーターとして、右光学像表示部26および左光学像表示部28のそれぞれのX,Y,Z軸のそれぞれの回転パラメーターおよび並進パラメーターを最適化する。   The parameters to be optimized include camera parameters CP and conversion parameters. In the camera-fixed HMD, the camera parameter CP is optimized by calibration after using a design value at the time of manufacturing the HMD 101 as a fixed value. The optimized camera parameters CP are the focal length of the camera 60 and the principal point position of the camera 60 (center position of the captured image). In the camera-fixed HMD, the rotation parameters and translation parameters of the X, Y, and Z axes of the right optical image display unit 26 and the left optical image display unit 28 are optimized as conversion parameters to be optimized.

カメラ可動型HMDでは、カメラパラメーターCPについては、必ずしも最適化を行なう必要はない。カメラ可動型HMDでは、光学像表示部26、28に対してカメラ60が可動であるため、カメラパラメーターのずれよりも変換パラメーターのずれがAR画像の表示に大きく影響し得ることから、変換パラメーターを優先的に最適化するためである。   In the camera movable HMD, it is not always necessary to optimize the camera parameter CP. In the camera movable HMD, since the camera 60 is movable with respect to the optical image display units 26 and 28, the shift of the conversion parameter can affect the display of the AR image more greatly than the shift of the camera parameter. This is to optimize with priority.

D−4.変形例4:
第1実施形態では、表示設定部165は、位置合わせを促す文字画像を右光学像表示部26に表示させたが、使用者に位置合わせを促す方法としては、種々変形可能である。例えば、表示設定部165は、「位置がずれています」の音声を、イヤホン32,34を介して出力することで、使用者に位置合わせを促してもよい。また、文字画像についても種々変形可能であり、表示設定部165は、文字画像に代えて、位置ずれを補正する方向を表す矢印の画像を、右光学像表示部26に表示させてもよい。
D-4. Modification 4:
In the first embodiment, the display setting unit 165 displays the character image that prompts the alignment on the right optical image display unit 26. However, the method for prompting the user to perform the alignment can be variously modified. For example, the display setting unit 165 may prompt the user to align the position by outputting the sound “the position is shifted” via the earphones 32 and 34. In addition, the character image can be variously modified, and the display setting unit 165 may cause the right optical image display unit 26 to display an image of an arrow indicating a direction for correcting the displacement, instead of the character image.

他の実施形態では、使用者に撮像までの時間を報知する方法として、種々変形可能である。例えば、表示設定部165は、撮像までの時間を表す数字を音声として、イヤホン32,34を介して出力することで、使用者に撮像までの時間を報知してもよい。また、表示設定部165は、例えば、カウントダウンの際に、「3」という数字のみを右光学像表示部26に表示させることで、使用者の撮像までの時間を報知してもよい。また、表示設定部165は、棒線を右光学像表示部26に表示させて、撮像までの時間の長さを表現するように、時間の経過と共に棒線の長さを減少させてもよい。   In other embodiments, various modifications can be made as a method of notifying the user of the time until imaging. For example, the display setting unit 165 may notify the user of the time until imaging by outputting a number representing the time until imaging as sound through the earphones 32 and 34. Further, for example, the display setting unit 165 may notify the time until the user takes an image by displaying only the number “3” on the right optical image display unit 26 at the time of the countdown. In addition, the display setting unit 165 may display the bar line on the right optical image display unit 26 and reduce the length of the bar line as time passes so as to express the length of time until imaging. .

D−5.変形例5:
第1実施形態では、右光学像表示部26および左光学像表示部28のそれぞれについて、第1設定モードでは、2回のアライメントを実行することで、キャリブレーションが実行されたが、アライメントの回数については、種々変形可能である。アライメントの回数を増やすことで、ヤコビ行列を用いた各パラメーターの最適化において、より精度の高いキャリブレーションを実行するためのパラメーターが設定される。以下では、パラメーターの最適化の一例について説明する。
D-5. Modification 5:
In the first embodiment, each of the right optical image display unit 26 and the left optical image display unit 28 is calibrated by executing alignment twice in the first setting mode. Various modifications can be made. By increasing the number of alignments, parameters for performing calibration with higher accuracy are set in the optimization of each parameter using the Jacobian matrix. Hereinafter, an example of parameter optimization will be described.

アライメントの回数をAとし、実物マーカーMK1,MK2の特徴要素(例えば、円の中心)の数をnとする。カメラ60と画像表示部とのペア(第1実施形態ではカメラ60と右と左のいずれかの光学像表示部26、28とのペア)について調整されるべきパラメーターの数をmとすると、最適化されるべきパラメーターの数はMであり、下記の式(22)を満たす。

Figure 2017102696
The number of alignments is A, and the number of feature elements (for example, the center of a circle) of the real markers MK1 and MK2 is n. Optimal when m is the number of parameters to be adjusted for a pair of the camera 60 and the image display unit (in the first embodiment, the pair of the camera 60 and the right or left optical image display unit 26, 28). The number of parameters to be converted is M, which satisfies the following formula (22).
Figure 2017102696

それぞれの繰り返しについて、最適化の疑似コードは、以下の通りになる。まず、それぞれのアライメントについて、カメラ60と右光学像表示部26とのペアおよびカメラ60と左光学像表示部28とのペアについて、ヤコビ行列Jsを計算する。このヤコビ行列Jsは、2n×M行列として表すことができる。次に、2n×1の残差行列esを計算する。以上をA個のアライメントのそれぞれについて実施する。   For each iteration, the pseudo code for optimization is as follows: First, for each alignment, the Jacobian matrix Js is calculated for the pair of the camera 60 and the right optical image display unit 26 and the pair of the camera 60 and the left optical image display unit 28. This Jacobian matrix Js can be expressed as a 2n × M matrix. Next, a 2n × 1 residual matrix es is calculated. The above is performed for each of the A alignments.

次に、ヤコビ行列Jsを、4n×Mの大きさの行列Jへとマージする。残差行列esを連結して、4n×1の行列eを生成する。行列eの要素は式(12)で表わされ得る。そして、選択されたパラメーターの増加値dpを計算する。

Figure 2017102696
式(23)におけるBは、修正行列であり、式(23)におけるtranspose(J)*Jがうまく調整されていない場合の収束問題を回避するために用いられる。なお、上記式において、「inverse()」はかっこ内の行列の逆行列を意味し、「transpose()」は、かっこ内の行列の転置行列を意味する。次に、パラメーターpについて、式(24)のように更新する。
Figure 2017102696
更新されたパラメーターpが、終了条件を満たす場合には、最適化を終了し、終了条件を満たさない場合には、繰り返し、最適化を行なう。 Next, the Jacobian matrix Js is merged into a matrix J having a size of 4n × M. The residual matrix es is concatenated to generate a 4n × 1 matrix e. The elements of the matrix e can be expressed by equation (12). Then, the increase value dp of the selected parameter is calculated.
Figure 2017102696
B in equation (23) is a correction matrix and is used to avoid convergence problems when transpose (J) * J in equation (23) is not well tuned. In the above equation, “inverse ()” means an inverse matrix of the matrix in parentheses, and “transpose ()” means a transposed matrix of the matrix in parentheses. Next, the parameter p is updated as shown in Expression (24).
Figure 2017102696
If the updated parameter p satisfies the end condition, the optimization is terminated. If the updated parameter p does not satisfy the end condition, the optimization is repeated.

D−6.変形例6:
上記実施形態では、パラメーター設定部167は、カメラパラメーターCPも最適化により導出したが、製造時の設計値からのばらつきが少ない場合には、カメラパラメーターCPについては設計値を設定し、カメラ60と光学像表示部26,28との間の空間関係だけを導出してもよい。この変形例のHMD100では、最適化するパラメーターの数が少なくなる。また、製造上、ばらつきの少ないパラメーターに対して、設計値を代入することで、コスト関数Eをより小さくするパラメーターの最適化を行ないつつ、パラメーターを最適化するための時間を短くできる。
D-6. Modification 6:
In the above embodiment, the parameter setting unit 167 also derives the camera parameter CP by optimization. However, when the variation from the design value at the time of manufacture is small, the parameter setting unit 167 sets a design value for the camera parameter CP, Only the spatial relationship between the optical image display units 26 and 28 may be derived. In the HMD 100 of this modification, the number of parameters to be optimized is reduced. In addition, by substituting design values for parameters with little variation in manufacturing, it is possible to reduce the time for optimizing the parameters while optimizing the parameters that make the cost function E smaller.

上記実施形態では、右光学像表示部26に表示されるマーカーと左光学像表示部28に表示されるマーカーとは、同じマーカー画像IMGであったが、マーカー画像IMGおよび実物マーカーMK1,MK2については、種々変形可能である。例えば、右光学像表示部26と左光学像表示部28とのそれぞれに表示されるマーカーの画像は、異なるマーカーの画像であってもよい。また、マーカー画像IMGおよび実物マーカーMK1,MK2は、導出されるパラメーターの精度に応じて、種々変形可能である。例えば、実物マーカーMK1に含まれる円の数は、10個に限られず、10個よりも多くてよいし、10個よりも少なくてもよい。また、実物マーカーMK1に含まれる複数の特徴点は、円の中心でなくてもよく、単に三角形の重心であってもよい。また、実物マーカーMK1の内部に並行でない複数の直線が形成されて、直線の交点が複数の特徴点として特定されてもよい。また、マーカー画像IMGと実物マーカーMK1,MK2とは、異なるマーカーであってもよい。マーカー画像と実物マーカーとを重ねる場合に、どの部分を重ね合わせるのかが使用者に認識される範囲で、マーカー画像と実物マーカーとについては、種々変形可能である。例えば、矩形状のマーカー画像に対して、正円の実物マーカーの中心をマーカー画像の中心に合わせるような位置合わせであってもよい。   In the above embodiment, the marker displayed on the right optical image display unit 26 and the marker displayed on the left optical image display unit 28 are the same marker image IMG, but the marker image IMG and real markers MK1 and MK2 are the same. Can be variously modified. For example, the marker images displayed on the right optical image display unit 26 and the left optical image display unit 28 may be images of different markers. Further, the marker image IMG and the real markers MK1 and MK2 can be variously modified according to the accuracy of the derived parameters. For example, the number of circles included in the real marker MK1 is not limited to 10 and may be more than 10 or less than 10. Further, the plurality of feature points included in the real marker MK1 may not be the center of the circle, but may simply be the center of gravity of the triangle. Also, a plurality of non-parallel lines may be formed inside the real marker MK1, and intersections of the lines may be specified as a plurality of feature points. Further, the marker image IMG and the real markers MK1 and MK2 may be different markers. When the marker image and the real marker are overlapped, the marker image and the real marker can be variously modified as long as the user can recognize which portion is to be overlapped. For example, the alignment may be such that the center of a real circle marker is aligned with the center of the marker image with respect to the rectangular marker image.

上記実施形態では、カメラ60のカメラパラメーターCPが最適化される場合に、焦点距離(Fx,Fy)と、カメラ主点位置(撮像画像の中心位置)(Cx,Cy)と、が最適化されたが、これらに代えて、またはこれらとともに、カメラ60のカメラパラメーターCPとして歪係数を最適化してもよい。   In the above embodiment, when the camera parameter CP of the camera 60 is optimized, the focal length (Fx, Fy) and the camera principal point position (center position of the captured image) (Cx, Cy) are optimized. However, the distortion coefficient may be optimized as the camera parameter CP of the camera 60 instead of or together with these.

D−7. 変形例7:
第1実施形態において定義された式(15)のコスト関数に、以下の付加的な制約条件を加えてもよい。使用者USの目視によるアライメントは、それぞれの光学像表示部26,27に対して別々に行われることから、そのアライメントエラーは、必ずしも同じではない。このため、左および右の光学像表示部26、28に対するカメラ60の2つの並進のうち、Ty成分の推定が光学像表示部26,28の間で大きく異なることがあり得る。2つのTy成分が大きく異なる場合には、ユーザーが立体視の融合問題を経験する。カメラ60と光学像表示部26、28との間の並進Tyの最大の差が所定有限値であることから、左右のTy差の絶対値の関数として下記式(25)のように定義する関数を式(15)に加えてもよい。式(25)を式(15)に加えた場合には、式(15)は、下記の式(26)のように表される。

Figure 2017102696
Figure 2017102696
ここで、式(26)に含まれる要素は、下記の式(27)ないし式(29)で表される通りである。
Figure 2017102696
Figure 2017102696
Figure 2017102696
上記式(28)および式(29)において、「acceptable difference」は許容されるTy差であり、「maximum difference」は、想定されるTy差の最大値である。
式(15)は以下のようになる。
Figure 2017102696
「acceptable difference」と、「maximum difference」とは経験的にセットされ得る。Ty_leftとTy_rightとの差が大きくなればコスト関数Eは増大する。このため、変数p(特に左右のTy_left、Ty_right)が要求範囲内に収まるように強いられながら、コスト関数Eはグローバルミニマムに近づくことになる。最適化計算においては、新しいロウ(row:行列の横の並び)がヤコビ行列Jに追加され、e行列が最適化の各繰り返しステップで生成される。上記した関数から計算された誤差は、e行列の最後に追加される。ヤコビ行列Jにおける新しいロウは、Ty_leftとTy_rightとを除いて、すべてのパラメーターについてゼロ値を取る。また、これら2つのパラメーターに対応するエントリー(初期値)は、それぞれ1および−1にすればよい。 D-7. Modification 7:
You may add the following additional restrictions to the cost function of Formula (15) defined in 1st Embodiment. Since the visual alignment of the user US is performed separately for each of the optical image display units 26 and 27, the alignment error is not necessarily the same. For this reason, of the two translations of the camera 60 with respect to the left and right optical image display units 26 and 28, the estimation of the Ty component may be greatly different between the optical image display units 26 and 28. If the two Ty components are significantly different, the user will experience a stereoscopic fusion problem. Since the maximum difference in translation Ty between the camera 60 and the optical image display units 26 and 28 is a predetermined finite value, a function defined as the following equation (25) as a function of the absolute value of the left and right Ty differences May be added to equation (15). When Expression (25) is added to Expression (15), Expression (15) is expressed as the following Expression (26).
Figure 2017102696
Figure 2017102696
Here, the elements included in the equation (26) are as represented by the following equations (27) to (29).
Figure 2017102696
Figure 2017102696
Figure 2017102696
In the above equations (28) and (29), “acceptable difference” is an allowable Ty difference, and “maximum difference” is an assumed maximum value of the Ty difference.
Equation (15) is as follows.
Figure 2017102696
The “acceptable difference” and the “maximum difference” can be set empirically. The cost function E increases as the difference between Ty_left and Ty_right increases. For this reason, the cost function E approaches the global minimum while the variable p (particularly the left and right Ty_left, Ty_right) is forced to fall within the required range. In the optimization calculation, a new row (row: horizontal arrangement of matrices) is added to the Jacobian matrix J, and an e matrix is generated at each iteration step of optimization. The error calculated from the above function is added to the end of the e matrix. The new row in Jacobian matrix J takes zero values for all parameters except Ty_left and Ty_right. The entries (initial values) corresponding to these two parameters may be 1 and −1, respectively.

本発明は、上記実施形態や変形例に限られるものではなく、その趣旨を逸脱しない範囲において種々の構成で実現することができる。例えば、発明の概要の欄に記載した各形態中の技術的特徴に対応する実施形態、変形例中の技術的特徴は、上述の課題の一部または全部を解決するために、あるいは、上述の効果の一部または全部を達成するために、適宜、差し替えや、組み合わせを行なうことが可能である。また、その技術的特徴が本明細書中に必須なものとして説明されていなければ、適宜、削除することが可能である。   The present invention is not limited to the above-described embodiments and modifications, and can be realized with various configurations without departing from the spirit of the present invention. For example, the technical features in the embodiments and the modifications corresponding to the technical features in each form described in the summary section of the invention are to solve some or all of the above-described problems, or In order to achieve part or all of the effects, replacement or combination can be performed as appropriate. Further, if the technical feature is not described as essential in the present specification, it can be deleted as appropriate.

CD1,CD2…座標軸、CL1,CL2…対角線、CP…カメラパラメーター、CS…カーソル画像、IMG…マーカー画像、RE…右眼、LE…左眼、MK1,MK1A,MK2,MK3,MK4,MK5…実物マーカー、OA…外部機器、PML…左変換パラメーター、PMR…右変換パラメーター、RP…右眼位置、SIM…設定画像、VR…視野、IC1,IC2,IC3,IC4,IC5,IC6,IC7,IC8,IC9…アイコン、10…制御部、20…画像表示部、21…右保持部、22…右表示駆動部、23…左保持部、24…左表示駆動部、26…右光学像表示部、28…左光学像表示部、32…右イヤホン、34…左イヤホン、40…接続部、46…連結部材、51,52…送信部、53,54…受信部、60…カメラ、90…装着帯、91…装着基部、92…ベルト部、93…連結部、100,101…HMD(頭部装着型表示装置)、121…ROM、122…RAM、130…電源、135…操作部、138…マーカー画像記憶部、140…CPU、150…オペレーティングシステム、160…画像処理部、165…表示設定部、166…マーカー特定部、167…パラメーター設定部、170…音声処理部、180…インターフェイス、190…表示制御部、201…右バックライト制御部、202…左バックライト制御部、211…右LCD制御部、212…左LCD制御部、221…右バックライト、222…左バックライト、241…右LCD、242…左LCD、251…右投写光学系、252…左投写光学系、261…右導光板、262…左導光板 CD1, CD2 ... coordinate axis, CL1, CL2 ... diagonal, CP ... camera parameter, CS ... cursor image, IMG ... marker image, RE ... right eye, LE ... left eye, MK1, MK1A, MK2, MK3, MK4, MK5 ... actual Marker, OA ... external device, PML ... left conversion parameter, PMR ... right conversion parameter, RP ... right eye position, SIM ... setting image, VR ... field of view, IC1, IC2, IC3, IC4, IC5, IC6, IC7, IC8, IC9 ... icon, 10 ... control unit, 20 ... image display unit, 21 ... right holding unit, 22 ... right display driving unit, 23 ... left holding unit, 24 ... left display driving unit, 26 ... right optical image display unit, 28 ... left optical image display unit, 32 ... right earphone, 34 ... left earphone, 40 ... connection unit, 46 ... coupling member, 51, 52 ... transmission unit, 53, 54 ... reception unit, 60 ... La, 90 ... wearing band, 91 ... wearing base, 92 ... belt part, 93 ... coupling part, 100, 101 ... HMD (head-mounted display device), 121 ... ROM, 122 ... RAM, 130 ... power supply, 135 ... Operation unit, 138 ... marker image storage unit, 140 ... CPU, 150 ... operating system, 160 ... image processing unit, 165 ... display setting unit, 166 ... marker specifying unit, 167 ... parameter setting unit, 170 ... audio processing unit, 180 DESCRIPTION OF SYMBOLS ... Interface, 190 ... Display control part, 201 ... Right backlight control part, 202 ... Left backlight control part, 211 ... Right LCD control part, 212 ... Left LCD control part, 221 ... Right backlight, 222 ... Left backlight 241 ... right LCD, 242 ... left LCD, 251 ... right projection optical system, 252 ... left projection optical system, 261 ... right light guide plate, 2 2 ... Hidarishirubekoban

Claims (9)

頭部装着型表示装置であって、
外景からの光を透過可能であって、画像を表示可能な画像表示部と、
前記外景を撮像可能な撮像部と、
前記画像表示部に表示させる画像を設定する画像設定部と、
撮像された外景の中から予め設定された特定オブジェクトを特定するオブジェクト特定部と、
パラメーター設定部と、を備え、
前記画像設定部は、使用者によって前記特定オブジェクトに少なくとも部分的にほぼ一致させて視認されることが可能なマーカー画像を前記画像表示部に表示させ、
前記オブジェクト特定部が撮像された外景の中から前記特定オブジェクトを特定した後、前記パラメーター設定部が使用者の頭部が実質的に静止状態にあると判定する場合に、前記画像設定部は前記外景を撮像するまでの時間を表す情報を使用者に報知し、
前記パラメーター設定部は、前記外景を撮像するまでの時間が経過した場合に、前記撮像部に外景を撮像させる、頭部装着型表示装置。
A head-mounted display device,
An image display unit capable of transmitting light from an outside scene and displaying an image;
An imaging unit capable of imaging the outside scene;
An image setting unit for setting an image to be displayed on the image display unit;
An object specifying unit for specifying a specific object set in advance from the captured outside scene;
A parameter setting unit,
The image setting unit causes the image display unit to display a marker image that can be visually recognized by the user so as to at least partially substantially match the specific object,
When the parameter setting unit determines that the user's head is substantially stationary after specifying the specific object from the outside scene captured by the object specifying unit, the image setting unit Inform the user of information representing the time until the outside scene is imaged,
The parameter setting unit is a head-mounted display device that causes the imaging unit to image an outside scene when a time until imaging the outside scene has elapsed.
請求項1に記載の頭部装着型表示装置であって、
前記オブジェクト特定部が撮像された外景の中から前記特定オブジェクトを特定した後、前記オブジェクト特定部が前記特定オブジェクトの暫定的な位置および姿勢を導出し、
前記パラメーター設定部が、前記導出された暫定的な位置および姿勢と、既定の位置および姿勢と、の差が閾値を下回ると判定する場合に場合であって、前記使用者の前記頭部が実質的に静止状態にあると判定する場合に、前記画像設定部は前記外景を撮像するまでの時間を表す情報を使用者に報知する、頭部装着型表示装置。
The head-mounted display device according to claim 1,
After specifying the specific object from the outside scene captured by the object specifying unit, the object specifying unit derives a provisional position and orientation of the specific object,
In the case where the parameter setting unit determines that a difference between the derived provisional position and posture and a predetermined position and posture is below a threshold value, the user's head is substantially A head-mounted display device in which the image setting unit notifies the user of information indicating a time until the outside scene is imaged when it is determined that the camera is in a stationary state.
請求項2に記載の頭部装着型表示装置であって、
前記パラメーター設定部は、前記静止状態の場合に、前記撮像部に対する前記特定オブジェクトの位置および姿勢を算出し、前記画像表示部と前記撮像部との予め設定された空間関係と前記算出した位置および姿勢とを用いて、前記画像表示部に対する前記特定オブジェクトの前記暫定的な位置および姿勢を算出し、前記画像表示部に表示されているマーカー画像の仮想的な位置および姿勢と前記暫定的な位置および姿勢とのずれが予め設定された所定の差以下の場合に、前記撮像部が外景を撮像するまでの時間を表す情報を使用者に報知する、頭部装着型表示装置。
The head-mounted display device according to claim 2,
The parameter setting unit calculates the position and orientation of the specific object with respect to the imaging unit in the stationary state, and sets a predetermined spatial relationship between the image display unit and the imaging unit and the calculated position and The temporary position and posture of the specific object with respect to the image display unit are calculated using the posture, and the virtual position and posture of the marker image displayed on the image display unit and the temporary position And a head-mounted display device that informs a user of information indicating a time until the imaging unit captures an outside scene when the deviation from the posture is equal to or less than a predetermined difference.
請求項3に記載の頭部装着型表示装置であって、
前記マーカー画像の仮想的な位置および姿勢と前記暫定的な位置および姿勢とのずれは、3次元座標系における回転のずれと、並進のずれと、を含み、
前記回転のずれが予め設定された所定の差よりも大きい場合であって、前記並進のずれが予め設定された所定の差よりも大きい場合と、前記場合以外の場合とで、前記画像表示部が表示を変える、頭部装着型表示装置。
The head-mounted display device according to claim 3,
Deviations between the virtual position and orientation of the marker image and the provisional position and orientation include a rotational deviation and a translational deviation in a three-dimensional coordinate system,
In the case where the rotational deviation is larger than a predetermined difference set in advance, and in the case where the translational deviation is larger than the predetermined difference set in advance and in the case other than the case, the image display unit Is a head-mounted display that changes the display.
請求項4に記載の頭部装着型表示装置であって、
前記画像設定部は、使用者に情報を報知する手段として、前記画像表示部に表示される表示画像を設定する、頭部装着型表示装置。
The head-mounted display device according to claim 4,
The image setting unit is a head-mounted display device that sets a display image displayed on the image display unit as means for notifying a user of information.
請求項5までのいずれか一項に記載の頭部装着型表示装置であって、
前記撮像部が外景を撮像するまでの時間を表す情報は、前記表示画像の色を変化させた画像である、頭部装着型表示装置。
The head-mounted display device according to any one of claims 5 to 5,
The head-mounted display device, wherein the information representing the time until the imaging unit images an outside scene is an image obtained by changing the color of the display image.
請求項1に記載の頭部装着型表示装置であって、
前記外景を撮像するまでの前記時間が経過した場合に前記撮像部が撮像した前記外景の撮像画像に基づいて、前記パラメーター設定部は、前記撮像部と前記画像表示部との間の空間関係を導出する、頭部装着表示装置。
The head-mounted display device according to claim 1,
Based on the captured image of the outside scene captured by the imaging unit when the time until the outside scene is captured, the parameter setting unit determines the spatial relationship between the imaging unit and the image display unit. Derived head mounted display device.
請求項1に記載の頭部装着型表示装置であって、
前記外景を撮像するまでの前記時間が経過した場合に前記撮像部が撮像した前記外景の撮像画像に基づいて、前記パラメーター設定部は、前記撮像部のカメラパラメーターを導出する、頭部装着表示装置。
The head-mounted display device according to claim 1,
The head-mounted display device, wherein the parameter setting unit derives camera parameters of the imaging unit based on a captured image of the outside scene captured by the imaging unit when the time until the outside scene is captured has elapsed. .
外景からの光を透過可能であって、画像を表示可能な画像表示部と、前記外景を撮像可能な撮像部と、を備える頭部装着型表示装置のためのコンピュータープログラムであって、
前記画像表示部に表示させる画像を設定する画像設定機能と、
撮像された外景の中から予め設定された特定オブジェクトを特定するオブジェクト特定機能と、
パラメーター設定機能と、を頭部装着型表示装置に実現させ、
前記画像設定機能は、使用者によって前記特定オブジェクトに少なくとも部分的にほぼ一致させて視認されることが可能なマーカー画像を前記画像表示部に表示させ、
前記オブジェクト特定機能が撮像された外景の中から前記特定オブジェクトを特定した後、前記パラメーター設定機能が使用者の頭部が実質的に静止状態にあると判定する場合に、前記画像設定機能は前記外景を撮像するまでの時間を表す情報を使用者に報知し、
前記パラメーター設定機能は、前記外景を撮像するまでの時間が経過した場合に、前記撮像部に外景を撮像させる、コンピュータープログラム。
A computer program for a head-mounted display device comprising an image display unit capable of transmitting light from an outside scene and capable of displaying an image, and an imaging unit capable of imaging the outside scene,
An image setting function for setting an image to be displayed on the image display unit;
An object specifying function for specifying a preset specific object from the captured outside scene;
Realize the parameter setting function on the head-mounted display device,
The image setting function causes the image display unit to display a marker image that can be visually recognized by the user so as to at least partially substantially match the specific object,
When the parameter setting function determines that the user's head is substantially in a stationary state after the specific object is specified from the outside scene captured by the object specifying function, the image setting function is Inform the user of information representing the time until the outside scene is imaged,
The parameter setting function is a computer program that causes the imaging unit to image an outside scene when a time until the outside scene is captured has elapsed.
JP2015235307A 2015-07-06 2015-12-02 Head-mounted display and computer program Active JP6701694B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP2015235307A JP6701694B2 (en) 2015-12-02 2015-12-02 Head-mounted display and computer program
US15/187,257 US10192361B2 (en) 2015-07-06 2016-06-20 Head-mounted display device and computer program
EP16178033.3A EP3115873B1 (en) 2015-07-06 2016-07-05 Head-mounted display device and computer program
US15/346,261 US10347048B2 (en) 2015-12-02 2016-11-08 Controlling a display of a head-mounted display device
US15/346,112 US10424117B2 (en) 2015-12-02 2016-11-08 Controlling a display of a head-mounted display device
US16/123,904 US10242504B2 (en) 2015-07-06 2018-09-06 Head-mounted display device and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015235307A JP6701694B2 (en) 2015-12-02 2015-12-02 Head-mounted display and computer program

Publications (3)

Publication Number Publication Date
JP2017102696A true JP2017102696A (en) 2017-06-08
JP2017102696A5 JP2017102696A5 (en) 2019-01-10
JP6701694B2 JP6701694B2 (en) 2020-05-27

Family

ID=59017353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015235307A Active JP6701694B2 (en) 2015-07-06 2015-12-02 Head-mounted display and computer program

Country Status (1)

Country Link
JP (1) JP6701694B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101900475B1 (en) * 2017-06-29 2018-11-08 주식회사 맥스트 Calibration method for matching of augmented reality object and head mounted display for executing the method
WO2019130900A1 (en) * 2017-12-26 2019-07-04 ソニー株式会社 Information processing device, information processing method, and program
JP2020113950A (en) * 2019-01-16 2020-07-27 住友重機械工業株式会社 Information processing device, program, and image recognition marker set
CN113448432A (en) * 2020-03-24 2021-09-28 宏达国际电子股份有限公司 Method for managing virtual conference, head-mounted display, and computer-readable storage medium
JP2023511066A (en) * 2020-01-15 2023-03-16 マジック リープ, インコーポレイテッド Deformation Compensation in Head-Mounted Display Systems

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011133650A (en) * 2009-12-24 2011-07-07 Nikon Corp Imaging apparatus
JP2013127783A (en) * 2011-12-12 2013-06-27 Canon Inc Key frame selection for parallel tracking and mapping
WO2013145147A1 (en) * 2012-03-28 2013-10-03 パイオニア株式会社 Head mounted display and display method
JP2015159383A (en) * 2014-02-21 2015-09-03 ソニー株式会社 Wearable equipment, control device, imaging control method and automatic imaging apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011133650A (en) * 2009-12-24 2011-07-07 Nikon Corp Imaging apparatus
JP2013127783A (en) * 2011-12-12 2013-06-27 Canon Inc Key frame selection for parallel tracking and mapping
WO2013145147A1 (en) * 2012-03-28 2013-10-03 パイオニア株式会社 Head mounted display and display method
JP2015159383A (en) * 2014-02-21 2015-09-03 ソニー株式会社 Wearable equipment, control device, imaging control method and automatic imaging apparatus

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101900475B1 (en) * 2017-06-29 2018-11-08 주식회사 맥스트 Calibration method for matching of augmented reality object and head mounted display for executing the method
WO2019004565A1 (en) * 2017-06-29 2019-01-03 주식회사 맥스트 Calibration method for adjusting augmented reality object and head-mounted display for performing same
WO2019130900A1 (en) * 2017-12-26 2019-07-04 ソニー株式会社 Information processing device, information processing method, and program
JP2020113950A (en) * 2019-01-16 2020-07-27 住友重機械工業株式会社 Information processing device, program, and image recognition marker set
JP7292883B2 (en) 2019-01-16 2023-06-19 住友重機械工業株式会社 Information processing device, program, marker set for image recognition
JP2023511066A (en) * 2020-01-15 2023-03-16 マジック リープ, インコーポレイテッド Deformation Compensation in Head-Mounted Display Systems
US11854171B2 (en) 2020-01-15 2023-12-26 Magic Leap, Inc. Compensation for deformation in head mounted display systems
CN113448432A (en) * 2020-03-24 2021-09-28 宏达国际电子股份有限公司 Method for managing virtual conference, head-mounted display, and computer-readable storage medium

Also Published As

Publication number Publication date
JP6701694B2 (en) 2020-05-27

Similar Documents

Publication Publication Date Title
US10242504B2 (en) Head-mounted display device and computer program
JP6852355B2 (en) Program, head-mounted display device
US10424117B2 (en) Controlling a display of a head-mounted display device
US10469836B2 (en) Head-mounted display device and computer program
TWI591378B (en) Calibration method of ost hmd of ar system and non-transient computer readable media
US10269139B2 (en) Computer program, head-mounted display device, and calibration method
US9846968B2 (en) Holographic bird's eye view camera
JP5923603B2 (en) Display device, head mounted display, calibration method, calibration program, and recording medium
JP2017108370A (en) Head-mounted display device and computer program
JP6701694B2 (en) Head-mounted display and computer program
JP2017182274A (en) Information processing device and computer program
WO2019155916A1 (en) Image display device using retinal scan display unit and method therefor
EP4091013A1 (en) Compensation for deformation in head mounted display systems
JP6349660B2 (en) Image display device, image display method, and image display program
JP6509101B2 (en) Image display apparatus, program and method for displaying an object on a spectacle-like optical see-through type binocular display
US10296098B2 (en) Input/output device, input/output program, and input/output method
JP6701693B2 (en) Head-mounted display and computer program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181121

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200204

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: 20200407

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200420

R150 Certificate of patent or registration of utility model

Ref document number: 6701694

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150