JP3857988B2 - Stereoscopic image processing method and apparatus - Google Patents

Stereoscopic image processing method and apparatus Download PDF

Info

Publication number
JP3857988B2
JP3857988B2 JP2003003763A JP2003003763A JP3857988B2 JP 3857988 B2 JP3857988 B2 JP 3857988B2 JP 2003003763 A JP2003003763 A JP 2003003763A JP 2003003763 A JP2003003763 A JP 2003003763A JP 3857988 B2 JP3857988 B2 JP 3857988B2
Authority
JP
Japan
Prior art keywords
parallax
image
stereoscopic
stereoscopic image
display device
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.)
Expired - Fee Related
Application number
JP2003003763A
Other languages
Japanese (ja)
Other versions
JP2004007396A (en
Inventor
健 増谷
五郎 濱岸
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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
Priority to JP2003003763A priority Critical patent/JP3857988B2/en
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to EP11161340A priority patent/EP2387248A3/en
Priority to EP11161329.5A priority patent/EP2357841B1/en
Priority to EP11161315A priority patent/EP2357839A3/en
Priority to CN038071592A priority patent/CN1643939B/en
Priority to EP11161274A priority patent/EP2357835A3/en
Priority to EP03715473A priority patent/EP1489857B1/en
Priority to EP11161284A priority patent/EP2357837A3/en
Priority to EP11161269A priority patent/EP2362670B1/en
Priority to PCT/JP2003/003791 priority patent/WO2003081921A1/en
Priority to EP20110161281 priority patent/EP2357836B1/en
Priority to KR1020047015105A priority patent/KR100812905B1/en
Priority to EP11161295.8A priority patent/EP2357838B1/en
Priority to EP11161320A priority patent/EP2357840A3/en
Priority to EP20110161303 priority patent/EP2381691B1/en
Publication of JP2004007396A publication Critical patent/JP2004007396A/en
Priority to US10/949,528 priority patent/US8369607B2/en
Application granted granted Critical
Publication of JP3857988B2 publication Critical patent/JP3857988B2/en
Priority to US12/976,262 priority patent/US8131064B2/en
Priority to US12/986,453 priority patent/US8254668B2/en
Priority to US12/986,471 priority patent/US8577127B2/en
Priority to US12/986,530 priority patent/US8577128B2/en
Priority to US12/986,509 priority patent/US8417024B2/en
Priority to US12/986,491 priority patent/US8879824B2/en
Priority to US12/986,551 priority patent/US8724886B2/en
Priority to US13/088,752 priority patent/US8472702B2/en
Priority to US13/283,361 priority patent/US8559703B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Processing Or Creating Images (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は立体画像処理技術、特に、視差画像をもとに立体画像を生成または表示する方法および装置に関する。
【0002】
【従来の技術】
近年、ネットワークインフラの未整備が問題視されてきたが、ブロードバンドへの移行期を迎え、むしろ、広い帯域を有効活用するコンテンツの種類や数の少なさが目立ち始めている。映像はいつの時代でも、最も重要な表現手段であったが、いままでの取り組みの多くは表示品質やデータ圧縮率の改善に関するものであり、それらに比べると、表現の可能性自体を広げる技術的な取り組みは、後手にまわっている感がある。
【0003】
そうした中で、立体映像表示(以下、単に立体表示という)は、以前からいろいろ研究され、劇場用途や特殊な表示装置を利用する、ある程度限られた市場で実用化されてきた。今後は、より臨場感の溢れるコンテンツの提供を目指してこの方面の研究開発が加速し、個人ユーザが家庭でも立体表示を楽しむ時代が来るものと思われる。
【0004】
また、立体表示は今後普及が期待されるものであるが、それ故に、現在の表示装置では想像し得なかった表示形態も提案されている。例えば、二次元画像の選択された部分画像を立体にして表示する技術が開示されている(特許文献1参照)。
【0005】
【特許文献1】
特開平11−39507号公報
【0006】
【発明が解決しようとする課題】
そうした流れの中にあって、立体表示には以前よりいくつかの課題が指摘されている。例えば、立体感を創生する原因となる視差の適正化が難しい。もともと、本当に三次元のオブジェクトを映し出しているのではなく、その映像を左右両目に対して画素単位でずらして投じているのであり、その人工的な立体感に自然な感じをもたせるのは容易ではない。
【0007】
また、視差の付けすぎも問題になることがあり、立体映像の観察者(以下、単にユーザともいう)によっては、軽い不快感を訴える場合がある。もちろんこれには、立体表示だけではなく、表示されているシーンと自己の周囲の状況ないし感覚が一致しないなど、種々の要因がある。しかし、経験則からいえば、そうした問題は視差が大きすぎる、換言すれば、立体感が強すぎる場合に観察されやすい。
【0008】
以上は人間の生理上のはなしであるが、それとは別に、立体映像のコンテンツやアプリケーションの普及を阻む技術要因がある。立体視は視差によって実現するが、仮に視差を左右画像の画素のずれ量で表現しても、表示装置のハードウエアの差違により、同じ立体映像が適切に立体視できる場合とそうでない場合がある。遠方を表現する視差が眼間距離を超えてしまうと、理論的に立体視ができない。今日のように、表示装置の解像度やスクリーンサイズがPC(パーソナルコンピュータ)、テレビジョン受像機、携帯機器など多様化する中、いろいろなハードウエアを考えて立体表示のために最適なコンテンツを作るのは難題であり、あるいは、そのための方法論が与えられていないというほうがより正確である。
【0009】
また仮に、その方法論が与えられたとしても、それを一般のプログラマが理解し、コンテンツおよびアプリケーションの作成に利用することを期待するのは難しいであろう。
【0010】
上記文献に開示の技術にあっては、上述の課題を解決する一手法として提案されているが、今後立体表示を普及させる為には、さらなる手法を提案し新たな技術を蓄積するとともに、それら技術を連携させ製品に適用させる必要がある。
【0011】
本発明はこうした背景に鑑みてなされたものであり、その目的は、立体表示の新たな表現手法を提案することにある。別の目的は、表示対象画像や表示装置が変わってもユーザに適切な立体画像を生成または表示することにある。更に別の目的は、立体表示がなされているときに、簡単な操作でその立体感を調整することにある。更に別の目的は、適切な立体表示が可能なコンテンツまたはアプリケーションづくりに際し、プログラマの負担を軽減することにある。更に別の目的は、適切な立体表示を実現する技術をビジネスのモデルとして提供することにある。
【0012】
【課題を解決するための手段】
本発明の基礎をなす発明者の知見は、適正視差をいったん表示装置のハードウエアやユーザと表示装置の距離などの要素(以下、これらを統括的に「ハードウエア」と表現する)から切り離すことにある。すなわち、適正視差の表現を後述のカメラ間隔と光軸交差位置で一般化することにより、いったんハードウエアに依存しない汎用的な形で記述する。「ハードウエアに依存しない」とは、表示装置に固有のハードウエア情報の読み出しが原則的に不要という意味であり、この汎用的な記述がなされれば、あとはその適正視差に基づいて視差画像を生成または調整すれば、所望の立体表示が実現する。
【0013】
適正視差の取得、および画像の立体表示の際にその適正視差を実現する制御をライブラリで提供することにより、一般のプログラマはこのライブラリを呼び出せば複雑な立体視の原理やプログラミングを意識せず適正な立体表示が実現する。
【0014】
本発明のいろいろな態様のうち、第1グループは、ユーザの応答をもとに適正視差を取得する技術を基本とする。この技術は、ユーザによる視差の「初期設定」に利用でき、いちど適正視差が装置内に取得されれば、以降、別の画像の表示の際にもその適正視差が実現される。ただし、この技術は初期設定にとどまらず、ユーザが適宜表示中の画像の視差を調整する「手動調整」にも利用される。以下、第1グループに関する。
【0015】
本発明は、立体画像処理装置に関し、異なる視差に対応する複数の視点画像をもとに表示された立体画像に対するユーザの応答を取得する指示取得部と、取得された応答をもとに、そのユーザに関する適正視差を特定する視差特定部とを含む。
【0016】
指示取得部は、例えばGUI(グラフィカルユーザインタフェイス、以下同様)として提供され、まず視点画像間の視差を変えながら表示する。ユーザは自分が好む立体感になったとき、ボタン操作などによってその旨を入力する。
【0017】
「立体画像」とは立体感をもって表示された画像であり、そのデータの実体は、複数の画像に視差をもたせた「視差画像」である。視差画像は一般に複数の二次元画像の集合である。視差画像を構成する各画像は、それぞれが対応する視点を有する「視点画像」である。つまり、複数の視点画像によって視差画像が構成され、それを表示すると立体画像として表示される。立体画像の表示を単に「立体表示」ともいう。
【0018】
「視差」とは、立体感を生むためのパラメータであり、いろいろな定義が可能だが、一例として視点画像間の同じ点を表す画素のシフト量で表現できる。以下、本明細書では、特に断らない限り、その定義にしたがう。
【0019】
適正視差は範囲指定してもよい。その場合、その範囲の両端を「限界視差」とよぶことにする。「適正視差の特定」は、後述の近置オブジェクトの視差として許容できる最大値で行ってもよい。
【0020】
本発明の立体画像処理装置は更に、特定された適正視差が別の画像の表示の際にも実現されるよう処理を施す視差制御部を含んでもよい。別の画像が三次元データを起点として生成される立体画像であるとき、視差制御部は前記の適正視差にしたがってその立体画像を生成する複数の視点を決定してもよい。より具体的には、複数の視点間の距離とそれらの視点からオブジェクトを見込む光軸の交差位置を決定してもよい。これらの処理の一例は、後述のカメラ配置決定部によってなされる。これらの処理をリアルタイムにすれば、常に最適な立体表示が実現する。
【0021】
視差制御部は、表示の対象となる所定の基本三次元空間について適正視差が実現するよう制御してもよい。この処理の一例は、後述の投影処理部によってなされる。
【0022】
視差制御部は、三次元空間において最も近置されるオブジェクトの座標と最も遠置されるオブジェクトの座標について前記適正視差が実現するよう制御してもよい。この処理の一例は、後述の投影処理部によってなされる。オブジェクトは静的でもよい。
【0023】
「近置」は複数の視点にそれぞれ置かれたカメラの視線、すなわち光軸の交差位置(以下、「光軸交差位置」ともいう)にある面(以下、「光軸交差面」ともいう)より前に立体視されるような視差が付けられている状態を指す。「遠置」は逆に光軸交差面よりうしろに立体視されるような視差が付けられている状態を指す。近置オブジェクトの視差が大きくなるほどユーザに近づいて感知され、遠置オブジェクトの視差が大きくなるほどユーザから遠ざかって見える。すなわち、特に断らないかぎり、視差は近置、遠置で正負が反転せず、ともに非負の値として定義し、光軸交差面において近置視差、遠置視差ともにゼロとする。
【0024】
表示されるオブジェクトや空間のうち、視差のない部分について、光軸交差面は表示装置のスクリーン面に一致する。なぜなら、視差が付けられていない画素は、左右両眼から見込む視線がちょうどスクリーン面内の同じ位置に到達し、すなわち、そこで交差するためである。
【0025】
前記の別の画像がすでに視差が与えられている複数の二次元画像である場合、視差制御部は適正視差にしたがってそれら複数の二次元画像の水平方向のシフト量を定めてもよい。この態様では、立体表示のための入力が三次元データを起点として高い自由度をもって生成されるのではなく、すでに生成されている視差画像であり、視差は固定されている。この場合、もとの三次元空間、あるいは実際に撮影された実空間に戻ってカメラ位置を変更して再描画、あるいは再撮影する処理ができない。そのため、視差画像を構成する視点画像、またはそれらに含まれる画素を水平へシフトして視差を調整する。
【0026】
前記の別の画像はデプス情報が与えられている平面画像(以下これを「デプス情報付画像」ともいう)の場合、視差制御部は適正視差にしたがってそのデプスを調整してもよい。この処理の一例は、後述の第3の立体画像処理装置の二次元画像生成部によってなされる。
【0027】
この立体画像処理装置は、適正視差を記録する視差保持部を更に含み、視差制御部は、所定のタイミング、例えばこの装置の起動時や、この装置が有する立体画像処理機能またはその一部が起動されたときなどにおいて適正視差を読み込み、その値を初期値として処理を施してもよい。すなわち、「起動」はハードウエア的な意味でもソフトウエア的な意味でもよい。この態様によれば、ユーザがいちど適正視差を決めれば、以降、立体感調整のための自動処理が実現する。これは「適正視差の初期設定」とでもよぶ機能である。
【0028】
本発明の別の態様は、立体画像処理方法に関し、異なる視差による複数の立体画像をユーザに表示するステップと、表示された立体画像に対するユーザの応答をもとにそのユーザに関する適正視差を特定するステップとを含む。
【0029】
本発明の更に別の態様も立体画像処理方法に関し、ユーザに依存する適正視差を取得するステップと、取得した適正視差が実現されるよう、表示前に画像に処理を加えるステップとを含む。ここで「取得」は積極的に特定する処理であってもよいし、前記の視差保持部等から読み込む処理であってもよい。
【0030】
これら各ステップを立体表示用ライブラリの機能として実装し、複数のプログラムからこのライブラリの機能を関数として呼出し可能に構成すれば、プログラマがいちいち立体表示装置のハードウエアを考慮してプログラムを記述する必要がなくなり、効果的である。
【0031】
本発明の第2グループは、ユーザの指示をもとに視差を調整する技術を基本とする。この技術は、ユーザによる視差の「手動調整」に利用でき、ユーザは適宜表示中の画像の立体感を変更できる。ただし、この技術は手動調整にとどまらず、ある画像を立体表示する際、前述の適正視差を読み込み、その画像の視差を自動調整する際にも利用できる。第1グループの自動調整との違いは、第2グループの自動調整が二次元の視差画像またはデプス情報付画像に対して作用する点であり、三次元データまで遡って視差を変更する場合は第1グループの技術を利用する。以下、第2グループに関する。
【0032】
本発明のある態様は立体画像処理装置に関し、複数の視点画像から表示された立体画像に対するユーザの指示を取得する指示取得部と、取得された指示にしたがい、前記複数の視点画像間の視差量を変化させる視差制御部とを含む。この処理の一例は後述の図45に示され、「手動調整」の典型例である。ユーザの指示は、例えばボタン操作など、簡単なGUIで提供すれば利便性が高い。
【0033】
本発明の別の態様も立体画像処理装置に関し、複数の視点画像から立体画像を表示するときに生じる第1の視差量を検出する視差量検出部と、第1の視差量が、ユーザの許容視差量である第2の視差量の範囲に入るよう前記複数の視点画像間の視差量を変化させる視差制御部とを含む。これは「自動調整」の典型例であり、第2の視差量として前述の適正視差が利用できる。この処理の一例は、後述の図46に示される。
【0034】
視差量検出部は第1の視差量の最大値を検出し、視差制御部は、その最大値が第2の視差量の最大値を超えないよう複数の視点画像間の視差量を変化させてもよい。視差の付きすぎによる過度な立体感を避けるため、視差量の最大値、すなわち限界視差を守る意図である。ここでいう最大値は、近置側の最大値と考えてもよい。
【0035】
視差量検出部は、複数の視点画像間で対応点マッチングを計算して第1の視差量を検出したり、または複数の視点画像のいずれかのヘッダに予め記録された第1の視差量を検出してもよい。これらの処理の一例は後述の図47に示される。
【0036】
視差制御部は、複数の視点画像の合成位置をシフトすることにより複数の視点画像間の視差量を変化させてもよい。これは図45〜47に共通である。合成位置のシフトは、画素または画像全体を単位とする水平または垂直方向のシフトである。入力がデプス情報付画像の場合、視差制御部は、デプス情報を調整して視差量を変化させてもよい。
【0037】
本発明の別の態様は立体画像処理方法に関し、複数の視点画像をもとに表示された立体画像に対するユーザの指示を取得するステップと、その指示にしたがい、前記複数の視点画像間の視差量を変化させるステップとを含む。
【0038】
本発明の更に別の態様も立体画像処理方法に関し、複数の視点画像から立体画像を表示するときに生じる第1の視差量を検出するステップと、第1の視差量が、ユーザの許容視差量である第2の視差量の範囲に入るよう複数の視点画像間の視差量を変化させるステップとを含む。
【0039】
これら各ステップを立体表示用ライブラリの機能として実装し、複数のプログラムからこのライブラリの機能を関数として呼出し可能に構成してもよい。
【0040】
本発明の第3グループは、画像内位置に基づいて視差を補正する技術を基本とする。この「自動補正」は立体表示に対するユーザの違和感または拒絶感を軽減するよう作用し、第1、第2グループの技術と併用できる。一般に、立体表示の際、画像端部に近いほど複数の視点画像がずれて観察されたり、違和感を産みやすいなど、技術上または生理上の問題点が指摘される。第3グループでは、画像端に近い部分で視差を減らし、またはオブジェクトが近置側から遠置側へ移動するよう視差を調整するなどの処理により、この問題の軽減を図る。以下、第3グループに関する。
【0041】
本発明のある態様は立体画像処理装置に関し、立体画像を表示するための複数の視点画像間の視差を補正する視差制御部と、視差制御部がその処理の際に参照すべき補正マップを保持するマップ保持部とを含み、この補正マップは、視差が視点画像内の位置に基づいて補正されるよう記述されている。補正マップには、視差補正マップ、距離感補正マップなどがある。
【0042】
視差制御部は、例えば複数の視点画像の周辺部において視差を小さくするか、またはオブジェクトがユーザからより遠くに感知されるよう視差を変化させる。視差制御部は、複数の視点画像のいずれかに選択的に処理を施すことによって視差を変化させてもよい。
【0043】
複数の視点画像は三次元データから生成されるもの、すなわち、三次元空間まで戻って視点画像を生成できる場合には、視差制御部は複数の視点画像の生成にあたって、カメラパラメータを制御して視差を変化させてもよい。カメラパラメータとして、左右カメラの間隔、カメラからオブジェクトを見込む角度、または光軸交差位置などがある。
【0044】
同様に、複数の視点画像が三次元データから生成される場合、視差制御部は複数の視点画像の生成にあたって、三次元空間自体を例えばワールド座標系において歪ませることにより視差を変化させてもよい。一方、複数の視点画像がデプス情報付画像から生成される場合、視差制御部はそのデプス情報を操作することによって視差を変化させてもよい。
【0045】
本発明の別の態様は立体画像処理方法に関し、立体画像を表示するための複数の視点画像を取得するステップと、取得された前記複数の視点画像間の視差をそれら視点画像内の位置に基づいて変化させるステップとを含む。これらのステップを立体表示用ライブラリの機能として実装し、複数のプログラムからこのライブラリの機能を関数として呼出し可能に構成してもよい。
【0046】
本発明の第4グループは、第1〜第3グループおよびその関連機能をソフトウエアライブラリとして提供し、プログラマおよびユーザの負担を軽減し、立体画像表示アプリケーションの普及を促進する技術に関する。以下、第4グループに関する。
【0047】
本発明のある態様は立体画像処理方法に関し、立体画像表示に関連する情報をメモリ上に保持し、その保持された情報を複数の異なるプログラム間で共有し、それらのプログラムのいずれかが立体画像を表示する際、保持された情報を参照して出力すべき画像の状態を決定する。画像の状態の例は、視差画像にどの程度の視差が与えられているか、その程度である。
【0048】
「保持された情報」は、立体画像表示装置に入力される画像のフォーマット、視点画像の表示順序、視点画像間の視差量のいずれかの情報を含んでもよい。また、保持された情報の共有に加え、立体画像表示固有の処理を複数のプログラムで共有してもよい。「立体画像表示固有の処理」の一例は、保持された情報を決定するための処理である。別の例は、適正視差を決定するためのグラフィカルユーザインタフェイスに関する処理、適正視差状態の実現を支援する視差調整用画面の表示処理、ユーザの頭位置を検出して追跡する処理、立体表示装置を調整するための画像を表示する処理などである。
【0049】
本発明の別の態様は、立体画像処理装置に関し、立体表示画像の立体感を調整するためのグラフィカルユーザインタフェイスをユーザに提供する立体感調整部と、ユーザによる立体感の調整の結果判明する限界視差を守る形で視差画像を生成する視差制御部とを含む。
【0050】
この装置は更に、立体画像表示を適正化するために参照すべき情報を取得する情報検出部と、取得された情報にしたがって前記視差制御部で生成された視差画像のフォーマットを変換する変換部とを含んでもよい。
【0051】
視差制御部は、三次元データに基づき、カメラパラメータを制御して、限界視差を守りつつ視差画像を生成してもよいし、デプス情報付画像のデプスを制御して視差画像を生成してもよいし、視差のある複数の二次元画像の水平方向のシフト量を定めた後、視差画像を生成してもよい。
【0052】
本発明の第5グループは、以上の立体画像処理技術またはその関連技術を用いたひとつのアプリケーション、またはビジネスモデルに関する。第4グループのソフトウエアライブラリが利用可能である。以下、第5グループに関する。
【0053】
本発明のある態様は立体画像処理方法に関し、視差画像を立体表示するためのユーザの適正視差をいったん立体表示可能な表示装置のハードウエアに依存しない表現形式へ変換し、この表現形式による適正視差を異なる立体表示可能な表示装置間で流通する。
【0054】
本発明の別の態様も立体画像処理方法に関し、立体表示可能な第1の表示装置にてユーザの適正視差を取得するステップと、第1の表示装置にて取得された適正視差を立体表示可能な第2の表示装置に読み込むステップと、第2の表示装置にて適正視差にしたがって視差画像の視差を調整するステップと、第2の表示装置から調整後の視差画像を出力するステップとを含む。例えば、第1の表示装置がユーザの通常利用する装置、第2の表示装置が別の個所に設けられた装置である。また、第1の表示装置のハードウェアに関する情報を第2の表示装置に読み込むステップと、読み込んだ第1の表示装置のハードウェアに関する情報および第2の表示装置のハードウェアに関する情報をもとに、第2の表示装置に読み込まれた適正視差を第2の表示装置に合うように変換するステップとを更に含み、視差画像の視差を調整するステップでは、第2の表示装置に合うように変換された適正視差にしたがって視差が調整されてもよい。
【0055】
また、ハードウェアに関する情報は、表示画面の大きさ、表示装置の最適観察距離、表示装置の画像分離性能のすくなくともいずれかを含んでもよい。
【0056】
本発明の別の態様は、立体画像処理装置に関し、ネットワークを介して接続された立体表示可能な第1の表示装置、立体表示可能な第2の表示装置およびサーバを含み、第1の表示装置は、当該第1の表示装置にて取得されたユーザの適正視差情報をサーバに送信し、サーバは第1の表示装置から受け取った適正視差情報をユーザと関連づけて記録し、ユーザが第2の表示装置にて画像データの出力を要求したとき、当該第2の表示装置はサーバから当該ユーザの適正視差情報を読み出し、読み出した適正視差情報に合わせて視差を調整したのち視差画像を出力する。
【0057】
本発明の第6グループは、立体画像を用いた新たな表現手法を提案する技術を基本とする。
【0058】
本発明のある態様は、立体画像処理装置に関する。この立体画像処理装置は、異なる視差に対応する複数の視点画像をもとに立体画像を表示する立体画像処理装置であって、当該立体画像表示装置を利用して立体画像を表示する際に推奨される視差範囲を取得する推奨視差取得部と、取得した推奨される視差範囲内で前記立体表示画像を表示するよう視差を設定する視差制御部と、を有する。
【0059】
また、立体画像に含まれる所定のオブジェクトの指定をユーザより受け付けるオブジェクト指定部と、指定されたオブジェクトの位置に、複数の視点画像それぞれに関連づけられている光軸交差位置を対応させるとともに、指定されたオブジェクトが、立体画像が表示される表示画面の位置付近に表現するように光軸の交差位置を設定する光軸交差位置設定部と、を更に有してもよい。
【0060】
また、指定されたオブジェクトに対して、そのオブジェクトが光軸交差位置と対応づけられ、かつ、前記のオブジェクトが表示画面の位置付近に表現される旨が記述された光軸対応情報を、前記のオブジェクトと関連づける指定情報付加部と、を更に有してもよい。
【0061】
また、光軸交差位置設定部は、光軸対応情報を取得し、取得した光軸対応情報に記述されているオブジェクトに対して光軸交差位置を対応させるとともに、光軸交差位置が対応づけられたオブジェクトを、前記立体画像が表示される表示画面の位置付近に表現してもよい。
【0062】
また、立体画像を生成する際に用いられる画像データに関連づけられており、立体画像に含まれるオブジェクトに、立体表示すべきオブジェクトが含まれる基本表現空間内に表現すべきか否かの情報が含まれる識別情報を取得する識別情報取得部を、更に有してもよく、視差制御部は、取得した識別情報を、オブジェクトを立体画像に表現する際に反映させてもよい。
【0063】
また、識別情報は、前記オブジェクトを基本表現空間内に表現する際のタイミングに関する情報を含んでもよく、識別情報取得部は、取得したタイミングを、オブジェクトを立体画像に表現する際に反映させてもよい。
【0064】
本発明の別の態様は、立体画像処理方法に関する。この立体画像処理方法は、異なる視差に対応する複数の視点画像をもとに表示される立体画像に含まれる所定のオブジェクトを選択可能とし、オブジェクトが選択された場合、選択されたオブジェクトの位置に、前記の複数の視点画像それぞれに関連づけられている光軸交差位置を対応させるとともに、その光軸交差位置を立体画像が表示される表示画面の位置に略一致させる。この立体画像処理方法によると、表示画面が遠置空間と近置空間の境界に設定でき、オブジェクトが表示画面を越えて観察者に向かってくるような表現が可能となる。
【0065】
また、指定されたオブジェクトは所定の界面を有し、光軸交差位置設定部は、界面上に光軸交差位置を対応づけてもよい。また、立体画像が、三次元データを起点として生成されてもよい。三次元データを起点に立体画像が生成される場合、立体画像に様々な効果を加味することが容易である。例えば、あるオブジェクトが界面、つまり表示画面を越える様に表現する際に、その表示画面を変形させる様な効果を加味できる。
【0066】
本発明の更に別の態様も立体画像処理方法に関する。この立体画像処理方法は、異なる視差に対応する複数の視点画像をもとに生成される立体画像が表示される表示画面付近に、立体画像の一部として、空間と空間を隔てる界面を設定するとともに、その界面を近置空間および遠置空間の境界として立体画像を表現する。また、界面は、物質と物質の境界面であってもよし、薄板であってもよい。薄板としてガラス板や、さらに紙などがある。
【0067】
本発明の更に別の態様は、立体画像処理方法に関する。この立体画像処理方法は、異なる視差に対応する複数の視点画像をもとに生成される立体画像に含まれ、かつ立体表示すべきオブジェクトが含まれる基本表現空間内に表現すべきオブジェクトの移動速度を、近置または遠置方向について変更するステップを含む。
【0068】
本発明の更に別の態様も、立体画像処理方法に関する。この立体画像処理方法は、異なる視差に対応する複数の視点画像をもとに立体画像を生成する際に、立体表示すべきオブジェクトが含まれる基本表現空間内に表現すべきオブジェクトを所定の視差範囲内に収まるように表現しつつ、前記基本表現空間の最前面あるいは最後面の少なくとも一方の面をオブジェクトが存在しない位置に設定する。
【0069】
本発明の更に別の態様も、立体画像処理方法に関する。この立体画像処理方法は、異なる視差に対応する複数の視点画像をもとに立体画像を生成するに際して、立体表示すべきオブジェクトが含まれる基本表現空間内に表現すべきオブジェクトの視差を算出する際、オブジェクトの実際のサイズに替えて、オブジェクトの前方の拡張領域を含むサイズとしてオブジェクトの視差を算出する。また、前方の拡張領域を含む形で、オブジェクトが移動することによって基本表現空間の最前面に位置した後、オブジェクトが更に前方に移動する場合、オブジェクトを前方の拡張領域を移動するように表現してもよい。
【0070】
本発明の更に別の態様も、立体画像処理方法に関する。この立体画像処理方法は、異なる視差に対応する複数の視点画像をもとに立体画像を生成するに際して、立体表示すべきオブジェクトが含まれる基本表現空間内に表現すべきオブジェクトの視差を算出する際、オブジェクトの実際のサイズに替えて、オブジェクトの後方の拡張領域を含むサイズとしてオブジェクトの視差を算出する。また、前方の拡張領域を含む形でオブジェクトが、移動することによって基本表現空間の最後面に位置した後、オブジェクトが更に後方に移動する場合、オブジェクトを、後方の拡張領域を移動するように表現してもよい。
【0071】
本発明の本発明の第7グループは、画像の状態に応じて、設定すべき視差を調整する技術を基本とする。
【0072】
本発明のある態様は、立体画像処理装置に関する。この立体画像処理装置は、三次元データにより立体画像を生成する際に、立体画像内に表現されるオブジェクトの幅と奥行きの比が人間の眼に正しく知覚される範囲の視差よりも、視差が大きくならないように制御する視差制御部を有する。
【0073】
本発明の別の態様も、立体画像処理装置に関する。この立体画像処理装置は、デプス情報が与えられた二次元画像より立体画像を生成する際に、前記立体画像内に表現されるオブジェクトの幅と奥行きの比が人間の眼に正しく知覚される範囲の視差よりも、視差が大きくならないように制御する視差制御部を有する。
【0074】
本発明の更に別の態様も、立体画像処理装置に関する。この立体画像処理装置は、異なる視差に対応する複数の視点画像をもとに表示されるべき立体画像を周波数分析する画像判定部と、周波分析により判明する高周波成分の量に応じて、視差量を調整する視差制御部と、を有する。また、視差制御部は、高周波成分の量が多い場合は、視差量を大きくする調整を行ってもよい。
【0075】
本発明の更に別の態様も、立体画像処理装置に関する。この立体画像処理装置は、異なる視差に対応する複数の視点画像をもとに表示される立体画像の動きを検出する画像判定部と、立体画像の動きの量に応じて、視差量を調整する視差制御部と、有する。また、視差制御部は、前記立体画像の動きの量が少ない場合、視差量を小さくする調整を行ってもよい。
【0076】
本発明のさらに別の態様も立体画像処理装置に関する。この立体画像処理装置は、データにより立体画像を生成する際に、視差画像を生成するために設定されるカメラ配置に関するパラメータが変更される場合、カメラパラメータを前記パラメータの変動に対して予め設けられている閾値に収まるよう制御する。この装置によると、視差が急激に変化して、立体画像の観察者が違和感を感じることを、低減できる。
【0077】
本発明のさらに別の態様も立体画像処理装置に関する。この立体画像処理装置は、デプス情報が与えられた二次元動画像より動画像の立体画像を生成する際に、二次元動画像の進行に伴い発生する、デプス情報に含まれるデプスの最大値もしくは最小値の変動が、予め設けられている閾値に収まるように制御する。この装置によると、視差が急激に変化して、立体画像の観察者が違和感を感じることを、低減できる。
【0078】
本発明の更に別の態様は、立体画像処理方法に関する。この立体画像処理方法は、異なる視差に対応する複数の視点画像をもとに表示される立体画像の適正視差を、シーンを単位として設定する。
【0079】
本発明の更に別の態様は、立体画像処理方法に関する。この立体画像処理方法は、異なる視差に対応する複数の視点画像をもとに表示される立体画像の適正視差を、所定の時間間隔で設定する。
【0080】
本発明の別の態様は、立体画像処理装置に関する。この立体画像処理装置は、立体画像の起点となるオリジナルデータが入力された際に、複数の視点画像を生成するための複数の仮想カメラの配置を設定するカメラ配置設定部と、仮想カメラそれぞれに対応して生成される視点画像に、表示すべきオブジェクトの情報が存在しない領域が発生しているか否かを判定するオブジェクト領域判定部と、表示すべきオブジェクトの情報が存在しない領域が発生している場合、オブジェクトの情報が存在しない領域が無くなるように、仮想カメラの画角、カメラ間隔、および光軸の交差位置の少なくともいずれかを調整するカメラパラメータ調整部と、を有する。
【0081】
なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、記録媒体、コンピュータプログラムなどの間で変換したものもまた、本発明の態様として有効である。
【0082】
【発明の実施の形態】
図1はユーザ10、スクリーン12、立体表示される再生オブジェクト14の位置関係を示す。ユーザ10の眼間距離がE、ユーザ10とスクリーン12の距離がD、表示されたときの再生オブジェクト14の幅がWである。再生オブジェクト14は立体表示されているため、スクリーン12よりも近くに感知される画素、すなわち近置される画素と、スクリーン12よりも遠くに感知される画素、すなわち遠置される画素を有する。視差が付けられていない画素はスクリーン12上でちょうど両目から同じ位置に見えるため、スクリーン12上に感知される。
【0083】
図2は、図1の理想的な表示を生成するための撮影系を示す。二台のカメラ22、24の間隔をEとし、それらから現実のオブジェクト20を見たときの光軸交差位置までの距離(これを光軸交差距離という)をDとし、スクリーン12と同じ幅を見込む画角で、幅が現実にWであるオブジェクト20を撮影すれば、二つのカメラから視差画像が得られる。これを図1のスクリーン12へ表示すれば、図1の理想状態が実現する。
【0084】
図3、図4は、それぞれ図2の位置関係をA倍(A<1)、B倍(B>1)した状態を示す。これらの位置関係で得られた視差画像でも、図1の理想状態が実現する。すなわち、理想的な立体表示の基本は、W:D:Eを一定にすることからはじまる。この関係が視差の付け方の基礎にもなる。
【0085】
図5から図10は、実施の形態においてオブジェクト20の三次元データをもとに立体表示がなされるまでの処理の大筋を示す。
図5はモデル座標系、すなわち、個々の三次元オブジェクト20がもっている座標空間である。この空間で、オブジェクト20をモデリングしたときの座標を与える。通常はオブジェクト20の中心に原点をもってくる。
【0086】
図6はワールド座標系を示す。ワールド空間は、オブジェクト20や床、壁を配置してシーンが形成される広い空間である。図5のモデリングと図6のワールド座標系の確定までを「三次元データの構築」と認識できる。
【0087】
図7はカメラ座標系を示す。ワールド座標系の任意の位置から任意の方向に任意の画角でカメラ22を据えることにより、カメラ座標系への変換が行われる。カメラの位置、方向、画角がカメラパラメータである。立体表示の場合は、二つのカメラについてパラメータを定めるため、カメラ間隔と光軸交差位置も決める。また、二つのカメラの中点を原点にするために、原点移動も行われる。
【0088】
図8、図9は透視座標系を示す。まず図8のように、表示すべき空間を前方投影面30と後方投影面32でクリッピングする。後述するように、実施の形態のひとつの特徴は、近置最大視差点のある面を前方投影面30とし、遠置最大視差点のある面を後方投影面32にすることにある。クリッピングの後、このビューボリュームを図9のように直方体へ変換する。図8と図9の処理を投影処理ともよぶ。
【0089】
図10はスクリーン座標系を示す。立体表示の場合、複数のカメラそれぞれからの画像をそれぞれスクリーンのもっている座標系へ変換し、複数の二次元画像、すなわち視差画像を生成する。
【0090】
図11、図12、図13は、それぞれ一部が異なる立体画像処理装置100の構成を示す。以下、便宜上、それらの立体画像処理装置100をそれぞれ第1、第2、第3の立体画像処理装置100ともよぶ。これらの立体画像処理装置100は、装置内に一体に組み込むことも可能であるが、ここでは図の複雑を避けて3つに分けている。第1の立体画像処理装置100は描画すべきオブジェクトと空間が三次元データの段階から入手できる場合に効果的であり、したがって、主な入力を三次元データとする。第2の立体画像処理装置100はすでに視差が与えられている複数の二次元画像、すなわち既存の視差画像の視差調整に効果的であり、したがって、二次元の視差画像を入力する。第3の立体画像処理装置100はデプス情報付画像のデプス情報を操作して適正視差を実現するものであり、したがって、主に入力をデプス情報付画像とする。これら3通りの入力を総称して「オリジナルデータ」と表記している。
【0091】
第1〜第3の立体画像処理装置100を一体化して実装する場合、それらの前処理部として「画像形式判定部」を設け、三次元データ、視差画像、デプス情報付画像を判定した後、第1〜第3の立体画像処理装置100のうち最適なものを起動する構成としてもよい。
【0092】
第1の立体画像処理装置100は、立体表示に対する立体感を設定するうえで、「初期設定」および「自動調整」の機能をもつ。ユーザは立体表示された画像に対し、自分の適正視差を範囲指定すると、これがシステムで取得され、以降、別の立体画像の表示の際、予めこの適正視差が実現するよう変換処理が施されて表示される。したがって、第1の立体画像処理装置100により、ユーザは原則として一回だけ設定手続を経れば、以降、自分に合った立体表示を楽しむことができる。
【0093】
第1の立体画像処理装置100は更に、画像の周辺部の視差を人工的に緩和する「視差補正」という副機能をもつ。既述のごとく、画像端部に近づくにしたがって複数の視点画像のずれが「二重像」として認識されやすくなる。これはパララックスバリアや表示装置のスクリーンの反りなど機構誤差が主因である。そこで、画像の周辺部で、1)近置視差と遠置視差をともに減らす、2)近置視差を減らし遠置視差はそのままにする、3)近置視差、遠置視差を問わず、全体に遠置視差のほうへシフトする、など、いろいろな方法を実施する。なお、この「視差補正」機能は第3の立体画像処理装置100にも存在するが、入力データの違いにより、処理は異なる。
【0094】
第1の立体画像処理装置100は、立体表示した画像に対するユーザからの応答をもとに立体感を調整する立体感調整部112と、立体感調整部112で特定された適正視差を保存する視差情報保持部120と、視差情報保持部120から適正視差を読みだし、オリジナルデータから適正視差を有する視差画像を生成する視差制御部114と、表示装置のハードウエア情報を取得し、また立体表示の方式を取得する機能を有する情報取得部118と、情報取得部118で取得した情報をもとに、視差制御部114で生成された視差画像の形式を変更するフォーマット変換部116を含む。オリジナルデータを単に三次元データとよぶが、厳密にはワールド座標系で記述されたオブジェクトおよび空間のデータがこれに当たる。
【0095】
情報取得部118で取得する情報の例として、立体表示の視点数、空間分割または時間分割等の立体表示装置の方式、シャッタめがねの利用があるか否か、多眼式の場合における視点画像の並び方、視差画像の中に視差が反転する視点画像の並びがあるか否か、ヘッドトラッキングの結果などがある。なお、ヘッドトラッキングの結果だけは例外的に図示しない経路を経て直接カメラ配置決定部132へ入力され、そこで処理される。
【0096】
以上の構成は、ハードウエア的には、任意のコンピュータのCPU、メモリ、その他のLSIで実現でき、ソフトウエア的にはGUI機能、視差制御機能その他の機能をもつプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者には理解されるところであり、以降の構成についてもその事情は同様である。
【0097】
立体感調整部112は指示取得部122と視差特定部124を有する。指示取得部122は、立体表示された画像に対してユーザが適正視差の範囲を指定したとき、これを取得する。視差特定部124は、その範囲をもとに、ユーザがこの表示装置を用いたときの適正視差を特定する。適正視差は、表示装置のハードウエアに依存しない表現形式で表される。適正視差を実現することにより、ユーザの生理に適合した立体視が可能になる。
【0098】
視差制御部114は、まずカメラパラメータを仮設定するカメラ仮配置部130と、適正視差にしたがって仮設定されたカメラパラメータを修正するカメラ配置決定部132と、カメラパラメータが決まったとき、複数のカメラの中点を原点とすべく原点移動処理を行う原点移動部134と、前述の投影処理を行う投影処理部138と、投影処理後、スクリーン座標系への変換処理を行って視差画像を生成する二次元画像生成部142とを含む。また、必要に応じて画像周辺部の視差を緩和するために空間歪み変換(以下単に歪変換ともいう)を行う歪処理部136がカメラ仮配置部130とカメラ配置決定部132の間に設けられている。歪処理部136は補正マップ保持部140から後述の補正マップを読み出して利用する。
【0099】
なお、立体表示のために表示装置を調整する必要があれば、そのための図示しないGUIを追加してもよい。このGUIで、表示されている視差画像全体を上下左右へ微小シフトして最適表示位置を確定するなどの処理をなしてもよい。
【0100】
図12の第2の立体画像処理装置100は、複数の視差画像を入力とする。これを単に入力画像ともよぶ。第2の立体画像処理装置100は、さきに第1の立体画像処理装置100で取得された適正視差を読み込み、入力画像の視差を調整して適正視差の範囲へ収め、出力する。その意味で、第2の立体画像処理装置100は視差の「自動調整」機能を有する。ただし、それだけでなく、実際に立体表示が行われている際にユーザが立体感を変更したいとき、GUI機能を提供し、ユーザの指示にしたがって視差を変更する「手動調整」機能もあわせもつ。
【0101】
すでに生成済みの視差画像の視差は通常変更できるものではないが、第2の立体画像処理装置100によれば、視差画像を構成する視点画像の合成位置をシフトすることで十分に実用に耐えるレベルで立体感が変更できる。第2の立体画像処理装置100は、入力データが三次元データまで遡れない状況においても良好な立体感調整機能を発揮する。以下、第1の立体画像処理装置100との相違点を中心に述べる。
【0102】
立体感調整部112は手動調整に利用される。指示取得部122は例えばスクリーンで「+n」「−n」などの数値入力を実現し、その値が視差の変更量として視差特定部124で特定される。数値と指示される立体感の関係にはいくとおりか考えられる。例えば、「+n」は立体感を強める指示、「−n」は弱める指示で、nが大きくなるほど立体感に対する変更量が大きいとしてもよい。また、「+n」は全体に近置方向へオブジェクトを移動する指示、「−n」は全体に遠置方向へオブジェクトを移動する指示としてもよい。別の方法として、nの値は指定せず、単に「+」と「−」のボタンのみ表示し、これをクリックするたびに視差が変更される構成としてもよい。
【0103】
第2の立体画像処理装置100は、視差量検出部150と視差制御部152を有する。入力画像が複数の視差画像の場合、視差量検出部150はそれらの視差画像のヘッダ領域を検査し、画素数の形で記述された視差量、特に近置最大視差画素数と遠置最大視差画素数があればこれを取得する。視差量が記述されていなければ、マッチング部158がブロックマッチングなど既知の手法を利用して視差画像間で対応点を検出することにより視差量を特定する。マッチング部158は画像の中央部など重要領域だけに処理を施してもよいし、最も重要な近置最大視差画素数に絞って検出してもよい。検出された視差量は画素数の形で視差制御部152へ送られる。
【0104】
一般に携帯電話の表示画面で立体画像が表示されるような場合、立体感に関する個人差は小さく、時としてユーザは適正視差の入力を煩わしく感じることも想定できる。また、不特定多数のユーザに使用される立体表示装置でも、適正視差の入力は逆に不便であると感じられる可能性がある。このような場合には、適正視差の範囲を、立体画像表示装置の製造者や、立体画像表示装置に表示すべきコンテンツの作成者が決定してもよし、あるいは一般的な指針に従うなど、他の手法で決定してもよい。例えば、立体画像に関連する業界団体や学術団体が策定する指針や規格などを反映させる。その例として、「15インチの表示画面では、最大視差を20mm程度にする」という指針があれば、その指針に従う、または、その指針をベースに補正を行うなどの処理が挙げられる。この場合、立体感調整部112は不要となる。
【0105】
視差制御部152の位置シフト部160は、視点画像間の視差量が適正視差になるよう視差画像を構成する視点画像の合成位置を水平方向へシフトする。シフトは、視点画像のいずれかについて行えばよい。位置シフト部160は別の動作モードも有し、ユーザが立体感調整部112を介して視差の増加または減少を指示したとき、単純にこの指示にしたがって画像合成位置を変更する。すなわち、位置シフト部160は適正視差への自動調整機能と、ユーザによる手動調整機能の二つを有する。
【0106】
視差書込部164は、前述の視差量検出部150のため、または別の用途のために、視差画像を構成する複数の視点画像のいずれかのヘッダ領域に視差量を画素数で書き込む。画像端調整部168は、位置シフト部160によるシフトによって画像端に生じた画素の欠落を埋める。
【0107】
図13の第3の立体画像処理装置100は、デプス情報付画像を入力とする。第3の立体画像処理装置100は、適正視差が実現するようデプスを調整する。また、前述の「視差補正」機能をもつ。視差制御部170の歪処理部174は、補正マップ保持部176に保存された補正マップにしたがい、後述の要領で歪変換を実施する。歪変換後のデプス情報と画像は二次元画像生成部178へ入力され、ここで視差画像が生成される。この二次元画像生成部178は、第1の立体画像処理装置100の二次元画像生成部142とは異なり、ここで適正視差が考慮される。デプス情報付画像も画像としては二次元であるため、二次元画像生成部178は、図示しないが内部に第2の立体画像処理装置100の位置シフト部160に似た機能をもち、デプス情報にしたがって画像内の画素を水平方向にずらし、立体感を生成する。このとき、後述の処理により、適正視差が実現される。
【0108】
以上の構成における各立体画像処理装置100の各部の処理動作とその原理は以下のとおりである。
図14(a)、図14(b)は、第1の立体画像処理装置100の立体感調整部112による適正視差の特定のプロセスにおいてそれぞれ表示された左眼画像200、右眼画像202を示す。それぞれの画像には5個の黒丸が表示されており、上にいくほど近置かつ大きな視差、下へいくほど遠置かつ大きな視差が付けられている。
【0109】
図15はこれら5個の黒丸を表示したとき、ユーザ10に感知される距離感を模式的に示す。ユーザ10はこれら5個の距離感の範囲を「適正」と応答しており、この応答を指示取得部122が取得する。同図では、視差が異なる5個の黒丸が同時に、または順に表示され、許容できる視差であるか否かをユーザ10が入力していく。一方、図16では表示自体は1個の黒丸で行うが、その視差を連続的に変更し、ユーザ10が遠置と近置それぞれの方向において許容する限界にきたとき、応答する。応答は通常のキー操作、マウス操作、音声による入力等、それ自体は既知の技術を利用すればよい。
【0110】
また、視差の決定はより簡易的な方法で行われてもよい。同様に、基本表現空間の設定範囲の決定も簡易的な方法で行われてもよい。図89は、視差および基本表現空間の簡易決定の際に利用するテーブルである。基本表現空間の設定範囲が、近置空間側を多くする設定から、遠置空間側のみの設定までA〜Dの4段階のランクに分かれており、さらに、それぞれ視差が1〜5まで5段階のランクに分かれている。ここでは、例えば、最も強い立体感を好み、最も飛び出だした立体表示を好む場合はランクを5Aとする。そして、必ずしも立体表示を確認しながらランクを決定する必要はなく、ランクを決めるボタンだけが表示されていてもよい。それらの傍らに立体感確認用のボタンがあり、それを押下することで立体感を確認する画像が表示されてもよい。
【0111】
図15、図16のいずれの場合でも、指示取得部122は適正視差を範囲として取得でき、その近置側および遠置側の限界視差が決まる。近置最大視差は、自分に最も近い位置に見える点に許す近さに対応する視差、遠置最大視差は、自分から最も遠い位置に見える点に許す遠さに対応する視差である。ただし、一般にはユーザの生理上の問題から近置最大視差をケアすべきことが多く、以下、近置最大視差のみを限界視差とよぶ場合もある。
【0112】
図17は、立体表示される画像が三次元データから取り出される場合において、実際に2視点の視差を調整する原理を示す。まず、ユーザが決めた限界視差を仮配置されたカメラの見込み角に変換する。同図のごとく、近置と遠置の限界視差は画素数でM、Nとあらわすことができ、カメラの画角θが表示画面の水平画素数Lに相当するので、限界視差画素数の見込み角である、近置最大見込み角φと遠置最大見込み角ψがθ、M、N、Lであらわされる。
tan(φ/2)=Mtan(θ/2)/L
tan(ψ/2)=Ntan(θ/2)/L
次にこの情報を三次元空間内での2視点画像の取り出しに適用する。図18のように、まず基本表現空間T(その奥行きもTと表記)を決める。ここでは、基本表現空間Tはオブジェクトの配置に対する制限から決めるとする。基本表現空間Tの前面である前方投影面30からカメラ配置面、すなわち視点面208までの距離をSとする。TやSはユーザが指定できる。視点は二つあり、これらの光軸交差面210の視点面208からの距離をDとする。光軸交差面210と前方投影面30までの距離をAとする。
【0113】
次に、基本表現空間T内での近置および遠置の限界視差をそれぞれP、Qとすると、
E:S=P:A
E:S+T=Q:T−A
が成立する。Eは視点間距離である。いま、視差の付けられていない画素である点Gは両カメラからの光軸K2が光軸交差面210上で交差する位置にあり、光軸交差面210がスクリーン面の位置となる。近置最大視差Pを生む光線K1は前方投影面30上で交差し、遠置最大視差Qを生む光線K3は後方投影面32上で交差する。
【0114】
PとQは、図19のようにφ、ψを用いて、
P=2(S+A)tan(φ/2)
Q=2(S+A)tan(ψ/2)
で表され、結果として、
E=2(S+A)tan(θ/2)・(SM+SN+TN)/(LT)
A=STM/(SM+SN+TN)
が得られる。いま、SとTは既知であるから、こうしてA及びEが自動的に決まり、したがって光軸交差距離Dとカメラ間距離Eが自動的に決まり、カメラパラメータが確定する。カメラ配置決定部132はこれらのパラメータにしたがってカメラの配置を決定すれば、以降投影処理部138、二次元画像生成部142の処理を各カメラからの画像に対して独立してなすことにより、適正視差をもった視差画像が生成および出力できる。以上のごとく、EとAはハードウエアの情報を含んでおらず、ハードウエアに依存しない表現形式が実現される。
【0115】
以降、別の画像を立体表示する際にもこのAまたはDとEを守るようカメラを配置すれば、自動的に適正視差が実現できる。適正視差の特定から理想的な立体表示までのプロセスは全て自動化できるため、この機能をソフトウエアライブラリとして提供すれば、コンテンツやアプリケーションを作成するプログラマは立体表示のためのプログラミングを意識する必要がない。また、L、M、Nを画素数で表すと、Lは表示範囲を示すので、全画面による表示であるか、画面の一部による表示であるかをLで指示することができる。Lもハードウエアに依存しないパラメータである。
【0116】
図20は4台のカメラ22、24、26、28による4眼式のカメラ配置を示す。正確には、第1のカメラ22と第2のカメラ24の間など、隣接するカメラ間で適正視差になるよう前述のAとEを決めていくべきだが、簡易的な処理としては、より中央に近い第2のカメラ24と第3のカメラ26の間で決めたAおよびEを他のカメラ間に流用してもほぼ同様の効果が得られる。
【0117】
なお、Tはオブジェクトの配置に対する制限としたが、基本的な三次元空間の大きさとしてプログラムにより決められていてもよい。この場合、プログラム全体を通して必ずこの基本表現空間T内にのみオブジェクトを配置することもできるし、効果的な表示のために、ときどき故意にこの空間を飛び出すようにオブジェクトに視差を与えてもよい。
【0118】
別の例として、三次元空間におけるオブジェクトのうち最も近置されるものと最も遠置されるものの座標に対してTを決定してもよく、これを実時間で行えば、必ず基本表現空間Tにオブジェクトが配置できる。オブジェクトをつねに基本表現空間Tに入れることの例外として、「一定時間の位置の平均が基本表現空間T内にあればよい」という緩和条件で運用すれば、短時間の例外を作ることもできる。更に、基本表現空間Tを定めるオブジェクトを静的なものに限ってもよく、この場合、動的なオブジェクトが基本表現空間Tからはみ出す例外的な動作を与えることができる。更に別の例として、すでにオブジェクトを配置した空間を基本表現空間の幅Tのサイズに縮める変換を行ってもよいし、既述の操作と組み合わせてもよい。なお、オブジェクトを故意に基本表現空間から飛び出すように表示する手法は後述する。
【0119】
なお、第1の立体画像処理装置100の立体感調整部112がユーザに表示する画像として、二重像が出やすいものにすれば、限界視差は小さめに定まり、他の画像を表示したときの二重像の出現頻度を低下させることができる。二重像が出やすい画像として、オブジェクトと背景との色や明るさが対照的なものが知られており、限界視差を特定する段階、すなわち初期設定の際にはそうした画像を利用すればよい。
【0120】
図21から図36までは、第1の立体画像処理装置100の歪処理部136による処理とその原理を示す。
図21は第1の立体画像処理装置100の補正マップ保持部140に格納された補正マップの一例を概念的に示す。このマップは直接視差を補正するもので、その全体がそのまま視差画像に対応しており、周辺部にいくにしたがって小視差になる。図22はこの補正マップにしたがって歪処理部136がカメラ配置を決め、それを受けたカメラ配置決定部132によるカメラパラメータの操作の結果生じる視差の変化を示す。二つのカメラの左右視点位置から正面方向を見るときは「通常視差」が付けられ、一方、正面から大きく外れた方向を見るときは「小視差」が付けられる。実際には、周辺にいくにしたがって、カメラ配置決定部132はカメラ間隔を近づけていく。
【0121】
図23はカメラ配置決定部132が歪処理部136の指示にしたがってカメラの配置を変えて視差を変える別の例を示す。ここでは、二つのカメラのうち、左側のカメラのみを移動させながら、画像周辺に向かうにしたがって「通常視差」→「中視差」→「小視差」と視差が変化している。この方法のほうが図22に比べて計算コストが低い。
【0122】
図24は補正マップの別の例を示す。このマップも視差を変更するもので、画像の中央付近は通常視差のまま触れず、それ以外の視差補正領域において視差を徐々に小さくする。図25はカメラ配置決定部132がこのマップにしたがって変化させるカメラ位置を示す。カメラの方向が正面から大きく外れたとき、はじめて左カメラの位置が右カメラへ寄り、「小視差」が付けられている。
【0123】
図26は補正マップの別の例を概念的に示す。このマップは視点からオブジェクトまでの距離感を補正するもので、それを実現するために、カメラ配置決定部132が二つのカメラの光軸交差距離を調整する。画像周辺に行くにしたがって光軸交差距離を小さくすれば、オブジェクトは相対的に遠置方向へ奥まって見えるため、特に近置視差を小さくする意味で目的を達する。光軸交差距離を小さくするために、カメラ配置決定部132はカメラの光軸方向を変えればよく、いずれか一方のカメラの向きを変えればよい。図27は、図26のマップによって二次元画像を生成するときの光軸交差位置、または光軸交差面210の変化を示す。画像周辺ほど光軸交差面210がカメラに寄る。
【0124】
図28は距離感に関する別の補正マップ、図29は図28のマップにしたがってカメラ配置決定部132が歪処理部136の指示にしたがって光軸交差面210を変化させる様子を示す。この例では、画像中央領域では補正をせずにオブジェクトを通常位置に配置し、画像周辺領域でオブジェクトの位置を補正する。その目的のために、図29において画像中央付近では光軸交差面210に変化はなく、ある点を超えてから光軸交差面210がカメラへ寄ってくる。図29では、左カメラだけ向きをかえて対応している。
【0125】
図30(a)〜(f)は歪処理部136による別の歪変換を示す。いままでの例と違い、カメラ位置を変えるのではなく、カメラ座標系で三次元空間自体を直接歪ませる。図30(a)〜(f)において、長方形領域はもとの空間の上面図、斜線領域は変換後の空間の上面図を示す。例えば、図30(a)のもとの空間の点Uは、変換後点Vに移る。これはこの点が遠置方向へ移動されたことを意味する。図30(a)では、空間は周辺部へ向かうほど奥行き方向について矢印の方向に押しつぶされ、近置の場合も遠置の場合も、同図の点Wのごとく、一定の距離感に近い距離感をもたされる。その結果、画像周辺部では距離感が揃い、特別に近置されるオブジェクトもなくなり、二重像の問題を解決するとともに、ユーザの生理に適合しやすい表現となる。
【0126】
図30(b)、図30(c)、図30(d)、図30(e)はいずれも画像周辺部で距離感を一定値に近づける変換の変形例を示し、図30(f)はすべての点を遠置方向へ変換する例を示している。
【0127】
図31は、図30(a)の変換を実現するための原理を示す。直方体空間228は、第1のカメラ22と第2のカメラ24の投影処理が行われる空間を含む。第1のカメラ22のビューボリュームは、そのカメラの画角と前方投影面230および後方投影面232で定まり、第2のカメラ24のそれは、そのカメラの画角と前方投影面234および後方投影面236で定まる。歪処理部136はこの直方体空間228に歪変換を施す。原点は直方体空間228の中心とする。多眼式の場合はカメラが増えるだけで変換原理は同じである。
【0128】
図32は歪変換の一例で、Z方向の縮小変換を採用している。実際には空間内の個々のオブジェクトに対して処理を行う。図33はこの変換を視差補正マップになぞらえて表現したもので、Y軸上が通常視差であり、Xの絶対値が増えるほど視差が小さくなり、X=±Aが視差なしとなる。ここではZ方向のみの縮小変換なので、変換式は以下のとおりである。
【数1】

Figure 0003857988
変換を図34で説明する。まず、X≧0かつZ≧0の範囲を考える。点(X0,Y0,Z0)が縮小処理により点(X0,Y0,Z1)に移動したとき、縮小率Szは、
Figure 0003857988
である。Cの座標は(X0,Y0,0)でDの座標は(X0,Y0,B)である。
Eは直線と平面の交点であり、座標を(X0,Y0,Z2)とすると、Z2は下のように求めることができる。
【0129】
Z=B−X×B/A (平面)
X=X0,Y=Y0 (直線)
Z2=B−X0×B/A
したがって、
Figure 0003857988
Xに対して一般に、
Sz=1−X/A
となる。XとZの他の範囲についても同様の計算を行うと、以下の結果が得られ、変換が検証できる。
【0130】
X≧0のとき、Sz=1−X/A
X<0のとき、Sz=1+X/A
図35は歪変換の別の例を示す。より厳密にはカメラから放射状に撮影が行われることを考慮し、X軸、Y軸方向の縮小処理も組み合わせている。ここでは、二つのカメラの中心をカメラ位置の代表として変換を行う。変換式は以下の通りである。
【数2】
Figure 0003857988
図36はこの変換を検証する。ここでも、X≧0かつZ≧0の範囲を考える。点(X0,Y0,Z0)が縮小処理により点(X1,Y1,Z1)に移動したとき、縮小率Sx、Sy、Szは、
Figure 0003857988
となる。Eは平面と直線の交点なので、前述と同様Sx、Sy、Szを求めることができる。
【0131】
なお、以上のように変換後の空間を平面の集合で表すと、面同士の接線を境に処理が変化し、場合により違和感が生じうる。その場合は曲面で接続するか、曲面だけで空間を構成してもよい。計算は曲面と直線の交点Eを求めるものに変わるだけである。
【0132】
また、以上の例では、縮小率は同一直線CD上では同じとなるが、重み付けを行ってもよい。例えばSx、Sy、Szに、カメラからの距離Lに対する重み付け関数G(L)をかければよい。
【0133】
図37から図40までは、第3の立体画像処理装置100の歪処理部174による処理とその原理を示す。
図37は第3の立体画像処理装置100に入力されたデプス情報付画像のデプスマップを示し、ここではデプスの範囲がK1〜K2の値をもつとする。ここでは近置のデプスを正、遠置のデプスを負で表す。
【0134】
図38は元のデプス範囲240と変換後のデプス範囲242の関係を示す。デプスは画像周辺部に行くにしたがって一定値に近づく。歪処理部174はこの補正にしたがうようデプスマップを変換する。垂直方向に視差をもたせる場合も同様である。この変換もZ方向の縮小のみなので、以下の式で表現できる。
【数3】
Figure 0003857988
なお、SzはXの値により場合分けされ、
X≧0のとき、Sz=1−2X/L
X<0のとき、Sz=1+2X/L
となる。以上の変換により、図39に示す新たな要素をもつ新たなデプスマップが生成される。
【0135】
図40はデプスマップに対する別の歪変換の原理を示す。空間は、より厳密にはユーザ10から放射状に観察されるので、X軸、Y軸方向の縮小処理も組み合わせている。ここでは、眼間中心を観察位置としている。具体的な処理は図36の場合と同じ式になる。なお、もともとのデプスマップはZ値しか持たないが、この計算を行う場合はX値とY値も保持することになる。Z値はX方向あるいはY方向の画素シフト量に変換されるが、X値とY値はそれらに対するオフセット値として保持すればよい。
【0136】
いずれにしても、歪処理部174で変換されたデプスマップともとの画像は二次元画像生成部178へ入力され、ここで適正視差になるよう水平方向にシフトした合成処理が行われる。その詳細は後述する。
【0137】
図41〜図51は、第2の立体画像処理装置100の位置シフト部160、およびその延長と把握できる第3の立体画像処理装置100の二次元画像生成部178の処理を示す。
図41は位置シフト部160による二つの視差画像の合成位置のシフト原理を示す。同図のごとく、初期状態では右眼画像Rと左眼画像Lの位置は一致している。しかし、同図上部のごとく左眼画像Lを相対的に右へシフトすると、近置点の視差は増加し、遠置点の視差は減少する。逆に、同図下部のごとく左眼画像Lを相対的に左へシフトすると、近置点の視差は減少し、遠置点の視差は増加する。
【0138】
以上が視差画像のシフトによる視差調整の本質である。画像のシフトは一方であってもよいし、両方を互いに逆方向にシフトしてもよい。またこの原理から、立体表示方式は、メガネ方式やメガネなし方式を問わず、視差を利用している全ての方式に適用できることが分かる。多視点映像や垂直方向の視差に対しても同様の処理が可能である。
【0139】
図42はシフト処理を画素レベルで示す。左眼画像200と右眼画像202には、ともに第1四角形250と第2四角形252が写っている。第1四角形250には近置視差がついており、その視差量を正数であらわすと、「6画素」となる。これに対し第2四角形252は遠置視差がついており、その視差量を負数であらわすと、「−6画素」となる。ここで、この視差量をそれぞれF2、F1とする。
【0140】
一方、ユーザが保有する表示装置の適正視差がJ1〜J2であることが分かったとする。位置シフト部160は両画像の合成開始位置を互いに(J2−F2)画素シフトさせる。図43はそのシフトの終了後の状態で、いま、F1=−6、F2=6であり、また、J1=−5、J2=4であったとすると、合成開始位置は互いに−2画素、つまり遠置方向に全体がシフトする方向にずらされることになる。最終的な視差量は図43のごとく、E1=−8、E2=4となり、少なくとも近置方向に関して限界視差内に収まる。一般に遠置方向と比較して、近置方向の二重像の方が違和感が強いとされ、かつ被写体は近置方向に配置された状態で撮影されることが多いので、基本的に近置方向の視差を限界内に収めることが望ましい。以下に処理例を示す。
1.近置点が限界視差外で、遠置点が限界視差内の場合は、近置点を限界視差点にシフトする。ただし、遠置点の視差が眼間距離に到達すれば処理をやめる。 2.近置点が限界視差外で、遠置点が限界視差外の場合は、近置点を限界視差点にシフトする。ただし、遠置点の視差が眼間距離に到達すれば処理をやめる。 3.近置点も遠置点も限界視差内の場合は処理しない。
4.近置点が限界視差内で、遠置点が限界視差外の場合は、遠置点を限界視差点にシフトするが、処理の途中で近置点が限界視差点に到達すれば処理をやめる。
【0141】
図44は合成位置のシフトによる画像端の欠落を示す。ここでは左眼画像200と右眼画像202のシフト量が1画素であり、左眼画像200の右端と右眼画像202の左端にそれぞれ1画素幅の欠落部分260が生じる。画像端調整部168はこのとき、図44のように画像端の画素列を複製して水平画素数を補償する。
【0142】
これ以外の方法として、欠落部分260は黒または白など特定の色で表示してもよいし、非表示にしてもよい。更に初期画像のサイズと同じになるように切り出しや付け加え処理を施してもよい。また、予め初期画像のサイズを実際の表示サイズより大きくしておき、欠落部分260が表示に影響しないよう配慮してもよい。
【0143】
図45は第2の立体画像処理装置100による視差の手動調整の流れである。同図のごとく、まず視差画像として左右画像が人手で作成され(S10)、これがネットワークその他のルートで配布される(S12)。これを第2の立体画像処理装置100が受け取り(S14)、この図の例では、まずはそのままシフトなしの通常の状態で画像を合成して表示する(S16)。すなわち、ここでは適正視差がまだ取得されていない場合や位置シフト部160を動作させていない場合を考えている。続いて、立体表示された視差画像に対してユーザが立体感調整部112を介して視差の調整を指示し、これを位置シフト部160が「手動調整モード」で受け、画像合成位置を調整して表示する(S18)。なお、S10とS12は画像クリエータの手続270、S14以降は第2の立体画像処理装置100の手続272である。また、図示しないが、このシフト量をヘッダに記録し、次回から参照して合成すれば、再調整の手間が省ける。
【0144】
図46は第2の立体画像処理装置100による自動調整の流れを示す。画像クリエータの手続270である、左右画像の生成(S30)、画像配布(S32)は図45と同じである。また、第2の立体画像処理装置100の手続272のうち、画像受取(S34)も同様である。次に、視差量検出部150のマッチング部158によって視差画像間に予め付けられている視差、特に最大視差を検出し(S36)、一方、視差情報保持部120から適正視差、特に限界視差を取得する(S38)。この後、位置シフト部160が前述の処理によって限界視差を満たすよう画像の合成位置をシフトし(S40)、視差書込部164、画像端調整部168、フォーマット変換部116による処理を経て立体表示される(S42)。
【0145】
図47は、第2の立体画像処理装置100による更に別の自動調整の流れを示す。画像クリエータの手続270で左右画像の生成(S50)した後、この時点で最大視差を検出して(S52)視差画像のいずれかの視点画像のヘッダへ記録しておく(S54)。この検出は対応点マッチングで実施してもよいが、クリエータが手作業で視差画像を生成したときは、その編集過程で当然に既知であるため、これを記録すればよい。この後、画像を配布する(S56)。
【0146】
一方、第2の立体画像処理装置100の手続272のうち、画像受取(S58)は図46と同様である。次に、視差量検出部150のヘッダ検査部156によって前述の最大視差をヘッダから読み出す(S60)。一方、視差情報保持部120から限界視差を取得し(S62)、以下の処理S64、S66は図46の処理S40、S42とそれぞれ同じである。この方法によれば、最大視差を計算する必要がない。また、画像全体に適切な立体感を実現できる。更に、シフト量はヘッダに記録できるため、原画像自体を損なうおそれがない。なお、図示しないが、図46でも検出された最大視差をヘッダに記録すれば、つぎからは図47の手続にしたがって処理することができる。
【0147】
なお、多眼式でも同様の処理が可能で、それぞれ隣り合う視点画像間の視差量に対して同様の処理を行えばよい。ただし、実際にはそれら複数の視点画像間の視差のうちの最大の視差によって全視点画像間の「最大視差」とみなし、合成位置のシフト量を決めてもよい。
【0148】
ヘッダ情報は多視点画像の少なくともひとつにあればよいとしたが、多視点画像が1枚の画像に合成されている場合はその画像のヘッダを利用すればよい。
【0149】
更に、すでに合成済みの画像が配布される場合もあるが、その場合はいちど逆変換処理で画像を分離し、合成位置シフト量を計算して再合成するか、それと結果が同じになるよう画素の並べ替え処理を行えばよい。
【0150】
図48〜図51は、合成位置のシフトをデプス情報付画像について行う処理を示す。これは第3の立体画像処理装置100の二次元画像生成部178にて行われる。図48、図49はそれぞれデプス情報付画像を構成する平面画像204とデプスマップである。ここでは近置デプスを正、遠置デプスを負で表している。オブジェクトとして第1四角形250、第2四角形252、第3四角形254が存在し、第1四角形250はデプス「4」、第2四角形252は「2」、第3四角形254は「−4」である。第1四角形250は最近置点、第2四角形252は中間近置点、第3四角形254が最遠置点にある。
【0151】
二次元画像生成部178は、もとの平面画像204を基礎として、まず、各画素をデプスマップの値分だけシフトさせる処理を行い、他方の視点画像を生成する。基準を左眼画像とすると、もとの平面画像204はそのまま左眼画像となる。第1四角形250を左に4画素、第2四角形252を左に2画素、第3四角形254を右に4画素シフトし、図50のごとく、右眼画像202が作成される。画像端調整部168は、オブジェクトの移動による画素情報の欠落部分260を視差が「0」である、背景と判断される近接画素によって埋める。
【0152】
続いて二次元画像生成部178は、適正視差を満たすデプスを計算する。デプスの範囲をK1〜K2とし、各画素のデプス値をGxyとすると、デプスマップは図37においてHxyをGxyへ変更した形になる。また、ユーザが保有する表示装置の適正視差がJ1〜J2であることが分かったとする。この場合、そのデプスマップにおいて、各画素のデプス値Gは以下のように変換され、新しいデプス値Fxyが得られる。
【0153】
Fxy=J1+(Gxy−K1)×(J2−J1)/(K2−K1)
前述の例では、K1=−4、K2=4であり、また、J1=−3、J2=2であったとすると、この変換式により、図49のデプスマップは図51のデプスマップへ変換される。すなわち、「4」は「2」へ、「2」は「1」へ、「−4」は「−3」へそれぞれ変換される。K1とK2の間の中間値は、J1とJ2の間に変換される。例えば第2四角形252はGxy=2で、Fxy=0.75となる。Fxyが整数にならない場合は、四捨五入や近置視差が小さくなるような処理を施せばよい。
【0154】
なお、上述の変換式は線形変換の例であるが、更にGxyに対する重み付け関数F(Gxy)をかけたり、その他いろいろな非線形変換も考えられる。また、もとの平面画像204から、オブジェクトを互いに逆方向にシフトして新たに左右画像を生成することもできる。多眼式の場合は同様の処理を複数回行い、多視点画像を生成すればよい。
【0155】
以上が実施の形態に係る立体画像処理装置100の構成および動作である。 立体画像処理装置100は装置として説明したが、これはハードウエアとソフトウエアの組合せでもよく、ソフトウエアのみでも構成できる。その場合、立体画像処理装置100の任意の部分をライブラリ化して各種プログラムから呼びだし可能にすると利便性が高い。プログラマは立体表示の知識が必要となる部分のプログラミングをスキップできる。ユーザにとっては、ソフトウエアやコンテンツによらず、立体表示に関する操作、すなわちGUIが共通になり、設定した情報は他のソフトウエアでも共有できるため再設定の手間が省ける。
【0156】
なお、立体表示に関する処理ではなく、情報を複数のプログラム間で共有するだけでも有用である。各種プログラムはその情報を参照して画像の状態を決定できる。共有される情報の例は、前述の立体画像処理装置100の情報取得部118で取得される情報である。この情報を図示しない記録部または補正マップ保持部140などに保持しておけばよい。
【0157】
図52〜図54は、以上の立体画像処理装置100をライブラリとして利用する一例を示す。図52は立体表示ライブラリ300の用途を示す。立体表示ライブラリ300は複数のプログラムA302、プログラムB304、プログラムC306などから関数を呼び出す形で参照される。パラメータファイル318には前述の情報のほか、ユーザの適正視差などが格納されている。立体表示ライブラリ300はAPI(アプリケーションプログラムインタフェイス)310を介して複数の装置A312、装置B314、装置C316などで利用される。
【0158】
プログラムA302等の例として、ゲーム、いわゆるWeb3Dと呼ばれる三次元アプリケーション、三次元デスクトップ画面、三次元地図、二次元画像である視差画像のビュア、デプス情報付画像などのビュアが考えられる。ゲームの中でも、当然ながら座標の使い方が違うものがあるが、立体表示ライブラリ300はそれにも対応できる。
【0159】
一方、装置A312等の例として、2眼や多眼のパララックスバリア式、シャッタめがね方式、偏光めがね方式など、視差を利用する任意の立体表示装置である。
【0160】
図53は三次元データソフト402に立体表示ライブラリ300が組み込まれた例を示す。三次元データソフト402はプログラム本体404と、そのために適正視差を実現する立体表示ライブラリ300と、撮影指示処理部406を備える。プログラム本体404はユーザインタフェイス410を介してユーザと連絡する。撮影指示処理部406は、ユーザの指示にしたがって、プログラム本体404の動作中の所定の場面を仮想的にカメラ撮影する。撮影された画像は画像記録装置412に記録される。また、立体表示装置408へ出力される。
【0161】
例えば三次元データソフト402がゲームソフトであるとする。その場合、ユーザはゲーム中は立体表示ライブラリ300によって適切な立体感を体験しながらゲームを実行できる。ゲーム中、ユーザが記録に残したい場合、例えば、対戦型戦闘ゲームで完全勝利をおさめたとき、ユーザインタフェイス410を介して撮影指示処理部406へ指示を出し、その場面を記録する。その際、立体表示ライブラリ300を利用し、後に立体表示装置408で再生したときに適正視差となるよう視差画像が生成され、これが画像記録装置412の電子アルバム等へ記録される。なお、記録を視差画像という二次元画像で行うことにより、プログラム本体404の有する三次元データ自体は流出せず、著作権保護の面にも配慮することができる。
【0162】
図54は、図53の三次元データソフト402をネットワーク利用型のシステム430へ組み込んだ例を示す。
ゲーム機432は図示しないネットワークを介し、サーバ436と、ユーザ端末434に接続される。ゲーム機432は、いわゆるアーケードゲーム用で、通信部442、三次元データソフト402およびゲームをローカルに表示する立体表示装置440を備える。三次元データソフト402は図53のものである。三次元データソフト402から立体表示装置440へ表示される視差画像は立体表示装置440について予め最適設定されている。三次元データソフト402による視差の調整は、後述のように通信部442を介してユーザへ画像を送信する際に利用される。ここで利用する表示装置は、視差を調整して立体画像を生成する機能を備えていればよく、必ずしも立体表示ができる装置でなくてもよい。
【0163】
ユーザ端末434は、通信部454、立体画像を見るためのビュアプログラム452および立体画像をローカルに表示する任意のサイズおよびタイプの立体表示装置450を備える。ビュアプログラム452には立体画像処理装置100が実装されている。
【0164】
サーバ436は、通信部460、ゲームに関連してユーザが仮想的に撮影した画像を記録する画像保持部462、およびユーザの適正視差情報、ユーザのメールアドレスその他の個人情報などをユーザと対応づけて記録するユーザ情報保持部464を備える。サーバ436は例えばゲームの公式サイトとして機能し、ゲーム実行中にユーザが気に入った場面や名勝負の動画または静止画を記録する。立体表示は動画、静止画のいずれでも可能である。
【0165】
以上の構成における画像撮影の一例は以下の要領で行われる。ユーザは予めユーザ端末434の立体表示装置450で立体表示を行い、立体画像処理装置100の機能をもとに適正視差を取得し、これを通信部454を介してサーバ436へ通知し、ユーザ情報保持部464へ格納してもらう。この適正視差は、ユーザの保有する立体表示装置450のハードウエアに関係のない汎用的な記述になっている。
【0166】
ユーザは任意のタイミングでゲーム機432によってゲームをする。その間、立体表示装置440には最初に設定されていた視差、またはユーザが手動調整した視差による立体表示がなされる。ゲームのプレイ中、またはリプレイ中、ユーザが画像の記録を希望すると、ゲーム機432の三次元データソフト402に内蔵された立体表示ライブラリ300が、二つの通信部442、460を介してサーバ436のユーザ情報保持部464からこのユーザの適正視差を取得し、それに合わせて視差画像を生成し、再び二つの通信部442、460を介して画像保持部462へ仮想的に撮影された画像に関する視差画像を格納する。ユーザは自宅へ帰ったのち、この視差画像をユーザ端末434へダウンロードすれば、所望の立体感で立体表示ができる。その際も、ビュアプログラム452のもつ立体画像処理装置100により、視差の手動調整は可能である。
【0167】
以上、この応用例によれば、本来、表示装置のハードウエアごと、ユーザごとに設定しなければならない立体感に関するプログラミングが立体画像処理装置100および立体表示ライブラリ300に集約されており、ゲームソフトのプログラマは立体表示に関する複雑な要件を一切気にする必要がない。これはゲームソフトに限らず、立体表示を利用する任意のソフトウエアについても同様であり、立体表示を利用するコンテンツやアプリケーションの開発の制約を解消する。したがって、これらの普及を飛躍的に促進することができる。
【0168】
特に、もともと三次元のCGデータが存在するゲームその他のアプリケーションの場合、従来は的確な立体表示をコーディングすることが困難であることも大きな原因となって、せっかく三次元データをもちながら、それを立体表示に利用しなかったことも多い。実施の形態に係る立体画像処理装置100または立体表示ライブラリ300によれば、そうした弊害を除去でき、立体表示アプリケーションの充実化に寄与することができる。
【0169】
なお、図54ではユーザの適正視差をサーバ436に登録したが、ユーザはその情報を記録したICカードなどを持参してゲーム機432を利用してもよい。このカードに、このゲームに関する得点や気に入った画像を記録してもよい。
【0170】
以上、本発明を実施の形態をもとに説明した。この実施の形態は例示であり、それらの各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。以下、そうした例を挙げる。
【0171】
第1の立体画像処理装置100は、三次元データを入力することにより、高い精度で処理が可能である。しかし、三次元データをいったんデプス情報付画像へ落とし、これに対して第3の立体画像処理装置100を利用して視差画像を生成してもよい。場合により、そのほうが計算コストが低いことがある。同じように複数の視点画像を入力する際も、高精度の対応点マッチングを用いてデプスマップを作ることも可能で、このようにしてデプス情報付画像へ落とし、これに対して第3の立体画像処理装置100を利用して視差画像を生成してもよい。
【0172】
第1の立体画像処理装置100において、カメラ仮配置部130を立体画像処理装置100の構成としたが、これは立体画像処理装置100の前処理であってもよい。カメラの仮配置までは、適正視差に関係なく処理できるためである。同様に、第1、第2、第3の立体画像処理装置100を構成する任意の処理ユニットを立体画像処理装置100の外部へ出すことも可能であり、立体画像処理装置100の構成の自由度の高さは当業者に理解されるところである。
【0173】
実施の形態では、視差の制御を水平方向に行う場合を説明したが、同様の処理は垂直方向についても実施できる。
【0174】
立体表示ライブラリ300や立体画像処理装置100の動作中は、文字データを拡大処理するユニットを設けてもよい。例えば水平2視点による視差画像の場合、ユーザの目に見える画像の水平解像度は1/2になる。その結果、文字の可読性が低下しうるので、水平方向へ2倍に文字を引き延ばす処理が有効である。垂直方向にも視差がある場合、同様に垂直方向へ文字を引き延ばすことも有用である。
【0175】
立体表示ライブラリ300や立体画像処理装置100の動作中は、表示している画像に「3D」などの文字やマークを入れる「動作中表示部」を設けてもよい。その場合、ユーザは視差の調整が可能な画像であるか否かを知ることができる。
【0176】
立体表示/通常表示の切替ユニットを設けてもよい。このユニットはGUIを含み、ユーザが所定のボタンをクリックすると、表示が立体表示から通常の二次元表示に切り替わり、その反対も可能な構成とすれば便利である。
【0177】
情報取得部118は必ずしもユーザ入力により情報を取得するのではなく、プラグアンドプレイなどの機能により自動的に取得できる情報があってもよい。
【0178】
実施の形態では、EとAを導出する方法をとったが、これらを固定し、他のパラメータを導出する方法であってもよく、変数の指定は自由である。
【0179】
立体表示に関して、別の表現手法について提案する。一般的な、平面の画像表示では、「ある界面をオブジェクトが通過する」と行った、特に奥行き方向の表現には現実味という点で限界がある。また、窓の面に実際に空間と空間を隔てる界面があることを観察者に認識させることは困難である。そこで、以下に説明するように立体画像表示装置において立体的に物体を表示することで画面や枠といった実体と、画像内に表現されるオブジェクト上の界面とが一致するように認識させることが可能となり、このような表示により新しい表現方法が生まれる。一般に、表示画面やその周辺の枠は視覚的に認知されるので、これを窓のように利用する表示方法が考えられ、その面に空間と空間の界面や、板状のオブジェクトを配置する指定が必要となる。この場合、図18に示した位置関係では、光軸交差位置Dが指定される。
【0180】
図18に示した撮影系の位置関係では、基本表現空間T内での近置および遠置の限界視差をそれぞれP、Qとすると、
E:S=P:A
E:S+T=Q:T−A
の関係式が得られた。これら関係式を近置、遠置の限界視差それぞれついて解くと、
E=PS/A
E=Q(S+T)/(T−A)
が得られる。これら二つのEのうち小さい方のEを選択することで、適正視差範囲の立体画像が得られる。
【0181】
図55は、三次元データにより構成された画像が表示画面400に表示されている状態を示している。この画像は、水槽410の一つのガラス面401が表示画面400と一致しており、水槽410内を魚301が泳いでいることが表現されている。表示画面400より奥を遠置空間、手前を近置空間となるようが処理がなされれば、魚301は、図56に示すように通常は遠置空間を泳いでいるように表され、そして時折、図57に示すように「魚301が表示画面400を突き破って近置空間に現れる」というような表現ができる。さらに、魚301が表示画面400を通り抜ける際、例えば、「表示画面400の周辺から水しぶきが飛び、魚301が通り抜けると界面が再生される。」という表現もできる。別の表現の例として、例えば「表示画面より手前の近置空間には水がないので、魚301は近置空間でしばらく泳ぐと息苦しくなり、再び界面、つまり表示画面400を突き抜けて遠置空間に戻る。」という表現もできる。
【0182】
なお、必ずしも物体が界面を通過し、その後、物体が通過する際に壊れた界面が再生される必要はなく、界面が壊れたままの状態としたり、物体の衝突にあわせて界面が変形するが通過しないとしたり、更にその際に衝撃のみ伝わる、映像上の効果として例えば電気ショックが加わる、など界面と物体の相互作用に関する様々な表現ができることは明らかである。また、界面は、単ある面でもよいが、ガラスのような板状の物体や紙などの薄い物体を配置してもよい。また、界面は表示画面に完全に一致する必要はなく、その近辺であればよい。以上のような表現効果は、平面的な画像では十分に観察者に状況を伝えることができないのは明らかである。特に立体画像の起点となるオリジナルデータが三次元データであると、上述のような効果を表現するための編集が容易となる。
【0183】
このような、表示すべきオブジェクトが有する界面を表示画面に一致させる表現は、図58に示す手法により生成することができる。つまり、三次元空間に仮想的な水槽410が配置され、その左側方に配置された二つの仮想カメラ430、440から視差を持つ二つの画像が生成される。その際二つの仮想カメラ430、440の光軸交差位置を水槽の一つの面と一致させる。また、このような画像は、図59のように撮影することもできる。実際の水槽410上部に二台の仮想カメラ430、440を配置し水槽410を撮影する。その際、二台のカメラの光軸交差位置を水面に一致させる。
【0184】
図60は、以上の処理を実現するための第4の立体画像処理装置100の構成を示す。この立体画像処理装置100は、図11で示した第1の立体画像処理装置100の立体感調整部112にオブジェクト指定部180が更に設けられた構成である。このオブジェクト指定部180は、ユーザの指定を受けたオブジェクトの界面を表示画面付近に位置させる、もしくは一致させる処理を行う。ここで、ユーザとしては、立体画像の制作者を想定し、上述の処理は立体画像の制作もしくは編集時になされる。なお、ユーザは観察者であってもよい。
【0185】
まず図60に示す立体画像処理装置100に関してその処理手順を説明する。オブジェクト指定部180はマウスなどの所定の入力装置によってユーザから二つの仮想カメラ430、440の光軸交差面に対応させるオブジェクトの指定を受付け、その指定されたオブジェクトを視差制御部114に通知する。視差制御部114、より具体的にはカメラ配置決定部132は、ユーザから指定されたオブジェクトが有する平面を二つの仮想カメラ430、440の光軸交差面になるように調整する。この処理以外の動作は、図11に示した立体画像処理装置100の動作と同一でよい。このようにして決められたオブジェクトには、表示画面付近に表示させることを示す情報が付加される。表示の際には適宜、それを読み出して光軸の交差距離Dを決め、先に述べた処理によりカメラ間距離Eを決める。
【0186】
また、別の表現手法について提案する。表示画面に表示すべきオブジェクトが複数存在する場合、必ずしも全てのオブジェクトを常に適正視差内に収める必要はない。時には、効果的な表示のために、ある条件下で、例えば一定期間だけ、一部のオブジェクトを適正視差の条件から外して表示してもよい。この手法として、静止オブジェクトに対して基本表現空間を決定することを上述したが、より詳しくは、オブジェクト毎に、立体表示すべきオブジェクトが含まれる基本表現空間内に表現すべきオブジェクトであるかを判別する情報(以下、単に「識別情報」ともいう)を持たせればよい。なお、基本表現空間内に表現すべき対象を、「基本表現空間の算出対象」ともいう。そしてこの識別情報をもとに、随時基本表現空間が決定されればよい。
【0187】
識別情報が必要に応じて適宜変更できるように構成されていれば、適正視差から外す条件を柔軟に設定することが可能である。例えば、識別情報に適正視差条件から外す時間の指定が記述されていれば、指定された時間が過ぎれば自動的に適正視差の範囲に戻るようにすることもできる。
【0188】
なお、このように一時的に一部のオブジェクトを、適正視差条件から外して表示画面に表示するため手法を以下に示す。例えば、図11に示した第1の立体画像処理装置100において、カメラ配置決定部132は、適正視差にしたがって仮設定されたカメラパラメータを修正したが、さらにその機能を以下のように拡張すればよい。つまり、カメラ配置決定部132はオブジェクト毎に関連づけられている識別情報を読みとり、その識別情報を反映させる形でカメラパラメータを配置する。
【0189】
さらに別の表現手法について提案する。基本表現空間の前面および背面、つまり近置限界である前方投影面と遠置限界である後方投影面が、あるオブジェクトによって決定されると、オブジェクトに対応した空間の前後の空間を移動する表現ができなくなる。図61は、第4の立体画像処理装置100により表示される画像に関して便宜的に奥行き方向、特に基本表現空間Tについて表している。本図左側に前方投影面310と右側に後方投影面312が設定されており、前方投影面310と後方投影面312との間が基本表現空間Tとなる。基本表現空間Tの範囲内には、静止オブジェクトとして前方投影面310側に家350が、後方投影面312側には木370が表現されている。さらに、それら二つの静止オブジェクトの上方の空間を動的なオブジェクトである鳥330が前方へ移動している。鳥330は、基本表現空間Tの範囲内で移動していれば、その動きを表現できるが、前方投影面310または後方投影面312に達した場合、それ以降は、鳥330が図61の左側に示した鳥330のように前方投影面、あるいは図示しないが後方投影面312に位置するオブジェクトとなり、鳥330が最大視差に固定され、実空間でさらに前方もしくは後方に移動することができない。もし、少しでもオブジェクトを移動しているように表現することができれば、オブジェクトに対する臨場感を保つことが可能となる。
【0190】
上述したように、動的なオブジェクトを基本表現空間Tの対象から外す処理が考えられるが、上述のようにある効果を狙う場合以外は、ユーザは違和感を覚える可能性があり、基本表現空間Tの範囲で表現することが好ましいことも多い。
【0191】
そこで、図62に示すように、オブジェクトが何も存在しない領域を、基本表現空間Tに含ませる。図62は、前方の静止オブジェクトの家350のさらに前方に、何も存在しない空間を基本表現空間Tの一部として設けておき、動的なオブジェクトである鳥330が家350の前方を移動できるようにしたものである。図63はさらに、後方に置かれた静止オブジェクトの木370のさらに後方にも何も存在しない空間を基本表現空間Tの一部として設けたものである。これにより、例えば動的なオブジェクトである鳥330が後方より移動してきて、家350の前面にあたる位置を越えても、鳥330は基本表現空間Tの範囲内に位置しているため、さらに前方に移動しても適正視差で表現され、その移動に関して、ユーザである観察者は違和感を覚えることがない。
【0192】
また、図64に示すように、例えば鳥330をそれ自身だけでなく前後の空間を含める形で、視差を計算する対象として移動オブジェクト390を形成しておく。移動オブジェクト390の最前面が、前方投影面310に達した場合、鳥330だけを移動させる。その場合、例えば鳥330の移動速度を本来の速度より遅くすることで、本来鳥330がすぐに前方投影面310に達してしまい、それ以降の移動が表現できなくなるまでの時間を遅くできる。
【0193】
また、図65に示すように、例えば、移動オブジェクト390が前方投影面310を越えた後は、あらかじめ含めておいた空間の中で鳥330を移動させてもよい。これにより最大視差は移動オブジェクト390で決まり、鳥330は少しづつその最大視差に近づくため、実空間で前に移動し続けることが可能になる。これは、オブジェクト、つまり鳥330の位置によって移動させることを有効にするか無効にするかを判定すれば実現できる。移動速度は、本来想定されている移動速度や、速い速度、遅い速度のいずれに設定されてもよく、移動速度に柔軟性を持たせることで、様々な表現が可能となる。例えば、移動オブジェクト390の端に近付くほど移動速度を遅く変更することで、前後方向に伴い視差量が過度に大きくなるのを防ぎながら前への移動を表現できる。
【0194】
また、もし、他のオブジェクトが更にその前後に出現する場合、最大視差は、今度はそのオブジェクトに依存することになるので、鳥330を移動オブジェクト390内のもとの位置に少しづつ戻す。
【0195】
次に、最大視差を変化させながら急激な視差の変化を防ぐ原理を、先に示した図17および図18をもとに説明する。上述のごとく、
tan(φ/2)=Mtan(θ/2)/L
E:S=P:A
P=2(S+A)tan(φ/2)
の関係が成り立ち、これらの式より、あるカメラ設定において、あるオブジェクトの近置側の視差量は、
M=LEA/(2S(A+S)tan(θ/2))
と表すことができる。ここで、このオブジェクトが前方に移動すると、カメラ設定を変更しなければ、Aが大きくなりSが小さくなるので視差量は大きくなる。
【0196】
ここで、オブジェクトが前方に移動した際に、MがM’に、SがS’、AがA’となったとすると、
M’=LEA’/(2S’(A’+S’)tan(θ/2))
M<M’
と表すことができる。
【0197】
カメラ設定のうち、EとA’を変更し、
M”=LE”A”/(2S’(A”+S’)tan(θ/2))
と変換し、このとき
M<M”<M’
の関係を満たせば、観察者に向かって移動するオブジェクトを立体表示する際に、急激な視差量の変化を防ぐことができる。なお、EまたはA’のいずれかのみを変更してもよい。このとき、M”は、
M”=LE”A’/(2S’(A’+S’)tan(θ/2))
または、
M”=LEA”/(2S’(A”+S’)tan(θ/2))
と表される。
【0198】
オブジェクトの奥に向かう動きに対して、急激な視差量の変化を防ぐには、
M>M”>M’
の関係を満たせばよい。
【0199】
また、遠置側の視差量Nに関しても同様にしても、
N=LE(T−A)/(2(T+S)(A+S)tan(θ/2))
であり、同様に、
N’=LE(T−A’)/(2(T+S’)(A’+S’)tan(θ/2))
N”=LE”(T−A”)/(2(T+S’)(A”+S’)tan(θ/2))
を求める。ここで
N>N”>N’
の関係を満たせば、オブジェクトの観察者に向かう動きに対して、現実の座標上の移動速度は、急激な視差量の変化を防ぐことができ、また、
N<N”<N’
の関係を満たせば、オブジェクトの奥に向かう動きに対して、急激な視差量の変化を防ぐことができる。
【0200】
以上、図61から図65で示したような表現手法を実現する立体画像表示装置100の構成を説明する。この立体画像表示装置100では、図60で示した立体画像表示装置100で実現できる。ただし、カメラ配置決定部132は、適正視差にしたがって仮設定されたカメラパラメータを修正する際に、オリジナルデータから、基本表現空間の算出対象となる範囲に関する情報やオブジェクトの視差量の変更に関する情報を読みとりそれをカメラパラメータに反映させる機能を更に有す。この情報は、オリジナルデータ自身に盛り込まれていてもよいし、例えば、視差情報保持部120に保持されてもよい。
【0201】
実施の形態では、例えば、球が正しく見えるような正しい視差状態に対して、適正視差処理によって視差が大きすぎる状態であると判断されれば、立体画像の視差が小さくなるように処理された。このとき、球が奥行き方向につぶれたような形状に見えるが、一般的にこのような表示に対する違和感は小さい。人は、通常、平面画像を見慣れているため、視差が0の状態と正しい視差の状態との間であれば、人は違和感を覚えないことが多い。
【0202】
逆に、球が正しく見えるような視差状態に対して、適正視差処理で立体画像の視差が小さくなりすぎると判断されれば、視差が大きくなるように処理される。このとき、例えば球は奥行き方向に膨らんだような形状に見え、このような表示に対しては人は違和感を大きく覚えることがある。
【0203】
単体のオブジェクトを立体表示する際などに、上述のような人が違和感を覚える現象が起こりやすく、建物や乗り物など、実生活で眼にする物体の表示では、特に、この視差の違いによる見え方の違和感が明確に認識される傾向がある。そこで、その違和感を低減するためには、視差が大きくなるような処理に対しては、補正を加える必要がある。
【0204】
三次元データにより立体画像が生成される場合は、カメラの配置を変更することで、視差の調整が比較的容易に行うことができる。図66から図71をもとに、視差の補正手順を示す。また、この視差の補正は、上述の第1から第4の立体画像処理装置100により行うことができる。ここでは、図11に示した第1の立体画像処理装置100によって、三次元データにより立体画像が生成されることを想定する。なお、後述する第4、第6の立体画像表示装置100でも上述の補正処理は実現できる。
【0205】
図66は、ある立体画像表示装置100の表示画面400において、観察者が立体画像を観察している様子を示している。表示画面400の画面サイズがL、表示画面400と観察者との距離がd、眼間距離がeである。更に、近置限界視差Mと遠置限界視差Nは立体感調整部112により予め得られており、近置限界視差Mと遠置限界視差Nの間が適正視差となる。ここでは、理解を容易にするために近置限界視差Mのみを表示しており、この値から最大飛び出し量mが定まる。飛び出し量mとは、表示画面400から近置点までの距離を指す。なお、L、M、Nの単位は「画素」であり、他のd、m、e等のパラメータと異なり、本来は所定の変換式を用いて調整する必要があるが、ここでは説明を容易にするため同じ単位系で表している。
【0206】
このとき、球21を表示するために、球21の最近置点と最遠置点とを基準として、視差制御部114のカメラ配置決定部132によってカメラ配置が図67のように決められたとする。二つのカメラ22、24の光軸交差距離がD、それらカメラ間隔がEcである。ただし、パラメータの比較を容易にするために、光軸交差距離におけるカメラの見込み幅が画面サイズLと一致するように座標系の拡大縮小処理がなされている。このとき、例えばカメラ間隔Ecが眼間距離eに等しく、光軸交差距離Dが観察距離dより小さかったとする。すると、この系は、図68のように、図67に示したカメラ位置から観察者が観察すると球21が正しく見える。このような撮影系で生成された画像をもとの立体画像表示装置100で球21を観察すると、図69のように、適正視差範囲全体にわたって奥行き方向に伸びた球21が観察される。
【0207】
この原理を用いて、立体画像に対して補正が必要か否かを判断する手法を以下に示す。図70は、図67に示したカメラ配置で、表示画面400からの距離がAに位置する球の最近置点を撮影する様子を示している。このとき、二つのカメラ22、24のそれぞれと距離Aの位置する点を結んでできる二つの直線によって、距離Aに対応する最大視差Mが求まる。更に、図71は、二つのカメラ22、24とカメラの光軸公差距離をdとしたときに、図70で示した視差Mを得るために必要なカメラ間隔E1を表している。これは、カメラ間隔以外の撮影系のパラメータを全て観察系のパラメータと一致させる変換ということができる。図70および図71には次の関係が成り立つ。
M:A=Ec:D−A
M:A=E1:d−A
Ec=E1(D−A)/(d−A)
E1=Ec(d−A)/(D−A)
そして、このE1が眼間距離eより大きいときに視差が小さくなるような補正が必要と判断される。E1を眼間距離eにすればよいので、次式のようにEcを補正すればよい。
Ec=e(D−A)/(d−A)
【0208】
最遠置点についても同様で、図72、および図73において、球21の最近置点と最遠置点の距離を基本表現空間であるTとすると、
N:T−A=Ec:D+T−A
N:T−A=E2:d+T−A
Ec=E2(D+T−A)/(d+T−A)
E2=Ec(d+T−A)/(D+T−A)
更に、このE2が眼間距離eより大きいときに、補正が必要と判断される。続いて、E2を眼間距離eにすればよいので、次式のようにEcを補正すればよい。
Ec=e(D+T−A)/(d+T−A)
【0209】
最終的には、最近置点、最遠置点からそれぞれ得られた二つのEcのうち、小さい方を選択すれば、近置および遠置のいずれに関しても視差が大きくなりすぎることがなくなる。この選択されたEcをもとの三次元空間の座標系にもどしてカメラを設定する。
【0210】
より、一般的には、
Ec<e(D−A)/(d−A)
Ec<e(D+T−A)/(d+T−A)
の2式を同時に満たすようにカメラ間隔Ecを設定すればよい。これは、図74および図75において、観察距離dの位置に眼間距離eの間隔で置かれた二つのカメラ22、24と、オブジェクトの最近置点とを結ぶ二つの光軸K4上、または上記二つのカメラ22、24と最遠置点を結ぶ二つの光軸K5上に二つのカメラを配置したときの間隔が、カメラ間隔Ecの上限であることを示している。つまり、図74における二つの光軸K4の間隔、もしくは図75における二つの光軸K5の間隔のうち狭い方の光軸の間に含まれるように二つのカメラ22、24を配置すればよい。
【0211】
なお、ここで光軸交差距離を変更せずにカメラ間隔のみで補正を行ったが、光軸交差距離を変更し、オブジェクトの位置を変更してもよいし、カメラ間隔および光軸交差距離の両方を変更してもよい。
【0212】
デプスマップを利用する場合も補正が必要となる。デプスマップ値がその点のずらし量を画素数で表しており、初期値、一般にはオリジナルデータに記述されている値が最適な立体視を実現する状態であるとすれば、適正視差処理で、デプスマップ値の範囲を大きくする必要が生じたときには上記の処理を行わず、デプスマップ値の範囲を小さくする必要が生じたとき、つまり視差を小さくする必要が生じたときのみ、上記処理を行えばよい。
【0213】
また、初期値の視差が小さめに設定されている場合には、最大許容値を画像のヘッダ領域などに保持し、その最大許容値に収まるように適正視差処理を行えばよい。これらの場合、適正距離に関してハードウエア情報が必要となるが、先に示したハードウエア情報に依存しない場合の処理と比べ、より高性能な処理が実現できる。以上の処理は、視差が自動設定される場合だけでなく、手動で設定している場合の処理としても利用できる。
【0214】
また、観察者が違和感を覚える視差の限界は、画像によって異なる。一般に、模様や色の変化が少ない画像で、エッジが目立つような画像は、視差を大きくつけるとクロストークが目立つ。また、エッジの両側の輝度差が大きい画像も、視差を強くつけるとクロストークが目立つ。つまり、立体表示すべき画像、つまり視差画像、さらには視点画像において、高周波成分が少ない場合に、ユーザはその画像を視た際に違和感を覚える傾向がある。そこで、画像をフーリエ変換などでの手法で周波数解析し、その解析の結果得られた周波成分の分布に応じて適正視差に補正を加えるとよい。つまり、高周波成分の量が多い画像に関しては、視差が適正視差よりも大きくなる補正を加える。
【0215】
また、更に動きの少ない画像はクロストークが目立つ。一般に、ファイル名の拡張子を調べることで、ファイルの種類が動画か静止画であるかが分かることが多い。そこで、動画像と判定された場合には、動きベクトルなどの既知の動き検出手法で、動きの状態を検出し、その状態に応じて適正視差量に補正を加えてもよい。つまり、動きの少ない画像には、視差が本来の視差よりも小さくなるような補正を加える。一方、動きの多い画像には、補正を加えない。または、動きを強調したい場合などは視差が本来の視差よりも大きくなるような補正を加えてもよい。なお、適正視差の補正は一例で、予め決められた視差範囲であればどのようなものでも補正ができる。また、デプスマップを補正することもできるし、視差画像の合成位置ずらしの量を補正することもできる。
【0216】
また、これらの分析結果をファイルのヘッダ領域に記録して、立体画像処理装置がそのヘッダを読みとり、次回以降の立体画像の表示の際に利用してもよい。
【0217】
また、高周波成分の量や動き分布は、画像の作成者やユーザによって実際の立体視によりランク付けがなされてもよいし、複数の評価者による立体視でランク付けを行い、その平均値が利用されてもよく、そのランク付けの手法は問わない。
【0218】
また、適正視差は厳密に守られる必要はなく、カメラパラメータの算出は常時行う必要はなく、一定時間ごとやシーンチェンジごと等に行ってもよい。特に、処理能力の低い装置により行われる場合に有効である。例えば、一定時間毎にカメラパラメータを算出する場合、三次元データから立体画像を生成するケースでは第1の立体画像処理装置100において、視差制御部114は内部タイマを利用し一定周期毎にカメラ配置決定部132に対して、カメラパラメータの再算出を指示すればよい。内部タイマは、立体画像処理装置100の演算処理を行うCPUの基準周波数を利用してもよいし、専用タイマを別途設けてもよい。
【0219】
図76は、画像の状態に応じて適正視差を算出することを実現する第5の立体画像処理装置100の構成を示している。ここでは図11に示した第1の立体画像処理装置100において、新たに画像判定部190が設けられている。それ以外の構成および動作は同一なので異なる点を主に説明する。この画像判定部190は、画像の周波数成分を解析し高周波成分の量を求め、その画像に適した視差を視差制御部114に通知する周波数成分検出部192と、オリジナルデータが動画像であればシーンチェンジを検出したり、画像内の動きを検出したりすることでカメラパラメータの算出タイミングを視差制御部114に通知するシーン判定部194を備える。シーンチェンジの検出は、既知の手法を用いて行えばよい。
【0220】
オリジナルデータが動画像であるとき、画像の高周波成分の量により適正視差を調整する処理を常時行うと周波数成分検出部192の処理負荷が大きくなる。その処理負荷に見合う演算処理装置を使用すると立体画像処理装置100のコストアップとなる懸念がある。上述のように適正視差は常時厳密に守られる必要がないので、シーン判定部190の検出結果を基にシーンチェンジなどのように画像が大きく変化するときに画像の周波数成分を分析する構成とすることで、画像判定分190の処理負荷を低減できる。
【0221】
三次元空間において複数の仮想カメラを配置し、それら仮想カメラそれぞれに対応する視差画像を生成するときに、それら視差画像内にオブジェクトの情報が存在しない領域が発生してしまうことがある。以下に、三次元データを起点として立体画像を生成する場合を例に、視差画像内にオブジェクトの情報が存在しない領域が発生する原理を説明するとともに、その解消手法を説明する。図77は、三次元データを作成する制作者により設定される仮カメラ位置S(Xs、Ys、Zs)、画角θ、および第1から第3のオブジェクト700、702、704の関係を示している。
【0222】
仮カメラ位置S(Xs、Ys、Zs)は、複数の仮想カメラをもとにそれぞれの視差画像を生成する際に、それら仮想カメラの中心となる(以下、カメラ群中心位置Sともいう)。第1のオブジェクト700は、背景に当たる。ここで制作者は、画角θ内に第2および第3のオブジェクト702、704が収まるとともに、背景画像である第1のオブジェクト700によって画角θ内にオブジェクトの情報が存在するよう、画角θおよびカメラ群中心位置Sを設定する。
【0223】
つぎに、所定のプログラムにより、図78に示すように所望の視差が得られるよう、さらに近置および遠置の基準である光軸交差位置A(Xa、Ya、Za)が得られるように、二つの仮想カメラ722、724のパラメータ、具体的にはカメラ位置およびそれぞれの光軸が定まる。このとき、画角θが先に定められた値と等しい場合、それら二つの仮想カメラ722、724のカメラ位置では、例えば、背景画像である第1のオブジェクトの大きさによっては、本図で示すようにオブジェクトの情報が存在しない第1および第2のオブジェクトゼロ領域740、742が発生する。
【0224】
第1のオブジェクトゼロ領域740は、角度で表すとα、第2のオブジェクトゼロ領域742は、βであり、これらの角度範囲にはオブジェクト情報が存在しない。従って、図79に示すように、これらαとβが無くなるように画角θを調整すればよい。つまり、αとβの値のうち、大きいほうの値を画角θから減算する。このとき、光軸方向を変更しないようにするために、画角θの左右両方から減算すべき値を減らすため、新しい画角θ1はθ1=θ1―2×αまたはθ1―2×βから定められる。ただし、αやβは、視差画像からは即座に判明しない場合もあるので、少しずつ画角θを調整し、そのたびに視差画像内にオブジェクトの情報が存在しない領域が発生しているか否かを確認してもよい。また、オブジェクトの情報が存在しない領域の有無は、実際には、表示画面の画素に入力すべきデータがあるか否かにより確認すればよい。また、画角θの調整のみで全画素にオブジェクト情報が存在するように調整するに限らず、カメラ間隔Eや光軸交差位置Aを変更してもよい。
【0225】
図80は、画角調整の処理を示すフローチャートである。この画角調整の処理は、図11に示した第1の立体画像表示装置100で実現可能である。まず、立体画像表示装置100に立体画像の起点となるオリジナルデータが入力されると、カメラ仮配置部130は、カメラ群中心位置Sを決定する(S110)。つづいて、カメラ配置決定部132は、そのカメラ群中心位置Sをもとに、カメラ画角θを決定し(S112)、カメラ間隔Eを決定し(S114)、仮想カメラの光軸交差位置Aを決定する(S116)。さらに、カメラ配置決定部132はオリジナルデータに対しカメラ間隔Eおよび光軸交差位置Aに基づき座標変換処理を行い(S118)、表示画面の全画素にオブジェクトの情報が存在するか否かを判定する(S120)。
【0226】
オブジェクトの情報がない画素が存在する場合(S120のN)、画角θを少し狭める補正を行い(S122)、S114の処理に戻り、以降、全画素にオブジェクト情報が存在するようになるまで、S114からS120までの処理を継続する。ただし、画角θの補正のみで全画素にオブジェクト情報が存在するように調整する場合、S114のカメラ間隔Eの決定処理およびS116の光軸交差位置Aの決定処理はスキップする。全画素にオブジェクト情報が存在する場合(S120のY)、この画角調整の処理は終了となる。
【0227】
上記実施の形態では、主に三次元データを起点に生成される立体画像に関して説明した。以下に、実写画像を起点に立体画像を表現する手法に関して説明する。三次元データを起点にする場合と、実写画像を起点にする場合との差異は、実写画像を起点にする場合には、基本表現空間の奥行きTの概念がないことである。これは、適正視差表示が可能な奥行き範囲Tと言い換えることができる。
【0228】
図17および図18に示したように、立体画像を生成するためのカメラ設定に必要なパラメータはカメラ間隔E、光軸交差距離A、画角θ、基本表現空間の前面である前方投影面30からカメラ配置面、すなわち視点面208までの距離S、光軸交差面210の視点面208からの距離D、奥行き範囲Tの6種類である。そしてこれらの間には、以下の関係式が満たされる。
E=2(S+A)tan(θ/2)・(SM+SN+TN)/(LT)
A=STM/(SM+SN+TN)
D=S+A
したがって、6種類のパラメータE、A、θ、S、D、Tのうち、3種類を指定すれば、残りのパラメータを算出できる。一般に、いずれのパラメータを指定するかは自由であるが、先に示した実施の形態では、θ、S、Tを指定し、E、A、Dを算出した。θやSを自動的に変更すると拡大率が変わるため、プログラマや撮影者が意図する表現ができなくなる恐れがあり、これらを自動的に決めることは好ましくないことが多い。Tについても、表現範囲の制限を表すパラメータともいえ、予め決めるのが好ましい。そして、三次元データの場合には、いずれのパラメータを変えるのも手間はほとんど同一である。ところが、実写の場合には異なる。カメラの構造によっては価格が大きく異なるうえに、操作性も変わるため、用途に応じて指定するパラメータを変えることが望ましい。
【0229】
図81は、娯楽施設や写真館などで立体写真を撮影する立体写真撮影装置510と被写体552との関係を示している。この立体写真撮影装置510は、カメラ550と立体画像処理装置100とを含んで構成されている。ここでは、撮影環境が固定される。つまり、カメラ550の位置と被写体552の位置が予め決められており、パラメータとしてθ、S、Tが決まっている。この撮影系は、図18に示した例を、実際のカメラ550に置き換えた状態であり、二つのレンズ522、524が一台のカメラ550に備わり、このカメラ550のみで立体画像の基点となる二つの視差画像を撮影できる。
【0230】
図82は、この処理を行う第6の立体画像処理装置100の構成を示す。この立体画像処理装置100は、図12に示した立体画像処理装置100において、視差検出部150をカメラ制御部151に置き換えたものである。カメラ制御部151は、レンズ間隔調整部153と光軸調整部155を有する。
【0231】
レンズ間隔調整部153は、二つのレンズ522、524の位置を調整することでカメラ間隔E、より詳細に言うとレンズ間隔Eを調整する。また、光軸調整部155は、二つのレンズ522、524それぞれの光軸方向を変更して、Dを調整する。被写体552は、自宅などに保有している立体画像表示装置の適正視差情報を、メモリやカードなどの持ち運び可能な記録媒体や、インターネットなどの通信手段を通じて入力する。情報取得部118が、この適正視差の入力を受け付け、カメラ制御部151に通知する。その通知を受けて、カメラ制御部151はE、A、Dを算出し、レンズ522、524の調整することで、カメラ550は適正な視差で撮影を行う。これは、ライブラリにより、被写体が表示される立体表示装置と立体写真撮影装置510との処理が共通化されていることで実現する。
【0232】
なお、表示の際に被写体を画面上に配置したい場合は、D、Aも決めておき、被写体をDに位置させて撮影すればよく、この場合は、近置と遠置で別々に適正視差の計算を行い、Eが小さくなる方を選択すればよい。また、Tは、被写体が占める範囲より大きくしてもよい。背景がある場合、背景を含めてTを決定するとよい。
【0233】
また、適正視差情報は、必ずしも被写体であるユーザが所有する立体画像表示装置で調べたものである必要はない。例えば、撮影現場で典型的な立体画像表示装置で好みの立体感を選択してもよい。この選択は、立体感調整部112により可能である。あるいは、単に「画面上/遠置/近置」、「立体感:大/中/小」のような項目から選択し、それらに対応して視差情報保持部120に保持されている、予め決められたカメラパラメータが用いられてもよい。また、光軸交差位置の変更は機構構造で変更されてもよいが、解像度の高いCCD(Charge Coupled Device)を用いて、画像として利用する範囲を変えることで実現されてもよい。この処理には位置シフト部160の機能を使えばよい。
【0234】
図83は、人間が入ることができない場所に移動可能なカメラ550が設置され、コントローラ519を使った遠隔操作によりそのカメラ550が操作され、撮影されている映像を立体画像表示装置511で観察している様子を示している。立体画像表示装置511には、図82で示した構成の立体画像表示装置100が組み込まれている。
【0235】
カメラ550には、レンズ間隔Eが自動調整できる機構がついている。またこのカメラ550には光学ズームもしくは電子ズーム機能がついており、これによりθが決まる。ところが、このズーム操作により視差量が変化する。一般に遠くを撮影するほど表示の際に視点間の光軸の成す角度が小さくなるので、そのレンズ間隔Eでは視差が小さくなり立体感が乏しくなる。そこで、レンズ間隔Eやズーム量などのカメラ設定を適切に変更する必要が生じる。ここでは、このような場合にカメラ設定を自動的に制御し、煩雑なカメラ設定を大幅に軽減する。なお、コントローラ519を使用して、カメラ設定を調整してもよい。
【0236】
操作者は、まずコントローラ519を使い光学ズームもしくは電子ズームを操作すると、θが決定される。次に、カメラ550を動かし、撮影したい被写体を立体表示装置511において中央に表示させる。カメラ550はオートフォーカスの機能により被写体に焦点を合わせ、同時に距離を取得する。初期状態では、この距離をDとする。つまり、被写体が表示画面付近に位置して見えるようにカメラ550を自動設定する。Tは手動で範囲を変更でき、操作者は予め前後関係を把握したい物体の奥行き方向の分布を指定しておく。こうして、θ、D、Tが決まる。それによって、先に示した3つの関係式よりE、A、Sが決まり、カメラ550が適切に自動調整される。この例の場合には、Sが後から決まるため、Tが最終的にどの範囲となるかは不確定である。そこで、Tはある程度大きく設定しておくとよい。
【0237】
なお、被写体を画面端に表示したい場合には、一度被写体を中央に表示し、所定のボタンを押して焦点およびDを固定できるようにし、その後カメラ550の向きを変更すればよい。また、焦点やDを手動でに変更できるようにすれば、被写体の奥行き位置を自由に変えることができる。
【0238】
図84は、立体画像撮影装置510による撮影の一例を示す。立体画像撮影装置510は、図82で示した構成を有する。このカメラ550には、予め撮影者が保持する立体画像表示装置の適正視差が、持ち運び可能なメモリなどの記録媒体やインターネットなどの通信手段を通じて入力されている。ここでは、カメラ550として、簡単な構造を有する、比較的低価格で入手可能なカメラを想定する。ここでは、カメラ間隔E、光軸交差距離D、画角θが固定されており、先に示した3つの関係式よりA、S、Tが決まる。これらの値から被写体までの距離の適切な範囲を計算することができるので、被写体までの距離を実時間で測定し、計算された距離が適切であるかどうかをメッセージやランプの色などで撮影者に通知できる。被写体までの距離は、オートフォーカスの距離測定機能など既知の技術で取得すればよい。
【0239】
以上のように、いずれのカメラパラメータを変数または定数とするかの組合せは自由で、用途に合わせて様々な形態がある。また、カメラ550は上記以外にも、顕微鏡、医療用の内視鏡、携帯端末など様々な機器に取り付けられた形態が考えられる。
【0240】
なお、特定の立体表示装置に対して視差を最適化すると、他の立体表示装置で立体視が困難な場合がある。しかし、一般的に装置の性能は向上するものであり、次に購入する立体表示装置に対しては視差が大きすぎると言うことは稀と考えられる。むしろ、撮影装置の設定不備により、立体表示装置の性能に関係なく立体視が困難となる危険を避けるために、上記のような調整を行うことは重要である。なお、ここで、立体表示装置とは、立体視を実現するための立体画像処理装置を備える構成とする。
【0241】
第1から第6の立体画像処理装置100の立体感調整部112で得られる適正視差は、特定の立体画像処理装置100に対してユーザが立体視しながら決めるパラメータであり、その立体画像処理装置100においては、以後その適正視差が守られる。この立体感調整の操作には立体表示装置固有の「画像分離性能」と観察者固有の「生理的限界」という二つの因子が加味されている。「画像分離性能」とは複数の視点画像を分離する性能を表す客観的因子で、この性能が低い立体表示装置はほとんど視差を付けていなくともクロストークが感知されやすく、複数の観察者が調整を行った場合の適正視差の範囲は平均的に狭くなる。逆に、画像分離性能が高ければ大きな視差を付けてもクロストークはほとんど感知されず、適正視差の範囲は平均的に広くなる傾向がある。一方、「生理的限界」は主観的因子で、例えば画像分離性能が非常に高く完全に画像が分離していても、観察者によって不快感を覚えない視差範囲が異なる。これは、同じ立体画像処理装置100における適正視差のばらつきとして現れる。
【0242】
画像分離性能は分離度とも呼ばれ、図85のように最適観察距離で照度計570を水平方向に移動しながら基準画像572の照度を測定する方法で決めることができる。その際、2眼式の場合は例えば左眼画像に全白を表示し、右眼画像に全黒を表示する。画像が完全に分離していれば、右眼画像が見える位置の照度は0になる。それに対して、左眼画像の白の漏れの程度を測定することで、画像分離性能が得られる。本図、右端のグラフは測定結果の例である。また、この測定は、モアレの濃淡を測定することとほとんど等価であるので、図86のようなモアレが観察される距離でモアレ画像を取り込み、その濃淡を解析することでも画像分離性能を測定することができる。
【0243】
メガネ式の立体表示装置などでも、同じように漏れ光を測定することで画像分離性能を測定することができる。また、実際には、左右両方の画像を全黒としたときの測定値をバックグラウンドとして加味して計算してもよい。また、画像分離性能は、多数の観察者によるランク付け評価の平均値で決定することもできる。
【0244】
このように、立体表示装置の画像分離性能については客観的な数値などの判断基準を与えることができるので、例えば、ユーザ保有の図54の立体表示装置450のランクとその立体表示装置450に対するユーザの適正視差が分かれば、他の立体表示装置440のランクにあうよう適正視差を変換することができる。また、立体表示装置には画面サイズ、画素ピッチ、最適観察距離などの固有値となるパラメータもあり、これらパラメータの情報も適正視差の変換には利用する。
【0245】
以下に、適正視差の変換例について、図87および図88を用いてパラメータ毎に順に説明する。ここでは、適正視差は、N/LとM/Lにより保持されているものとする。ここで、Mは近置限界視差、Nは遠置限界視差、Lは画面サイズである。このように比の値で表すことで、立体表示装置間の画素ピッチの違いを無視することができる。そこで、以下に使用する図では、説明を容易にするために画素ピッチが等しいとして説明する。
【0246】
まず、画面サイズの違いに対する変換について説明する。図87に示すように、画面サイズによらず視差の絶対値を変えないように処理するのが好ましい。つまり、前後方向の立体表現範囲を同じにする。図上側に示す状態から下側に示す状態のように、画面サイズがa倍になったとする。このとき、N/LをN/(aL)に変換し、M/LをM/(aL)に変換することで画面サイズが異なる場合でも、適正視差が実現される。本図では最近置点の例を示している。
【0247】
次に、観察距離の違いに対する変換について説明する。図88に示すように、最適観察距離dがb倍になれば、視差の絶対値もb倍にするのが好ましい。つまり、眼が見込む視差の角度を一定に保つ。従って、N/LをbN/Lに変換し、M/LをbM/Lに変換することで最適観察距離が異なる場合でも、適正視差が実現される。本図では、最近置点の例として表している。
【0248】
最後に、画像分離性能の因子を加味することに関して説明する。ここでは、画像分離性能のランクrを0以上の整数であるとし、視差を付けることができないほど性能が悪いものを0とする。そして、第1の立体表示装置の画像分離性能をr0とし、第2の立体表示装置の画像分離性能をr1とすると、c=r1/r0として、N/LをcN/Lに、M/LをcM/Lに変換する。これによって画像分解性が異なる立体表示装置であっても、適正視差が実現される。なお、ここで示した、cを導出するた式は一例であり、他の数式から導出してもよい。
【0249】
以上の処理を全て行うと、結局、N/LはbcN/(aL)に、M/LをbcM/(aL)に変換される。なお、この変換は、水平方向の視差、垂直方向の視差のいずれにも適用できる。なお、以上の適正視差の変換は、図52、図53、および図54で示した構成で実現できる。
【0250】
また、基本表現空間の前面と背面はZバッファを利用して決められてもよい。Zバッファは陰面処理の手法で、カメラから視たオブジェクト群のデプスマップが得られる。このZ値を取り除く最小値と最大値を、最前面、最背面の位置として用いてもよい。処理としては、仮想カメラの位置からZ値を取得する処理が追加される。この処理には、最終の解像度は必要がないので、画素数を減らして処理を行うと処理時間が短くなる。この手法により、隠れている部分が無視されるので適正視差範囲を有効に利用できる。また、オブジェクトが複数であっても扱いやすい。
【0251】
また、視差制御部は114は、三次元データにより立体画像を生成する際に、視差画像を生成するために設定されるカメラ配置に関するパラメータが変更される場合、前記カメラパラメータを前記パラメータの変動に対して予め設けられている閾値に収まるよう制御してもよい。また、視差制御部114は、デプス情報が与えられた二次元動画像より動画像の立体画像を生成する際に、二次元動画像の進行に伴い発生する、デプス情報に含まれるデプスの最大値もしくは最小値の変動が、予め設けられている閾値に収まるように制御してもよい。それら制御の際に利用される閾値は、視差情報保持部120に保持さていればよい。
【0252】
三次元データにより立体画像を生成する際に、視界内に存在するオブジェクトから基本表現空間を決定していると、オブジェクトの急速な移動やフレームイン、フレームアウトによって、基本表現空間の大きさが急激に変わり、カメラ配置に関するパラメータが大きく変動することがある。この変動が予め決められた閾値よりも大きい場合には、閾値を限度として変動を許可してもよい。また、デプス情報が与えられた二次元動画像より立体画像を生成する際にも、デプスの最大値もしくは最小値から視差量の最大値や最小値を決定していると、同様の不都合が考えられる。この変動に対しても閾値を設けるとよい。
【0253】
【発明の効果】
本発明によれば、以下のような効果がある。
1.人の生理に適合しやすい立体画像を生成または表示できる。
2.表示対象画像が変わってもユーザに適切な立体画像を生成または表示できる。
3.簡単な操作で立体表示の立体感を調整できる。
4.適切な立体表示が可能なコンテンツまたはアプリケーションづくりに際し、プログラマの負担を軽減できる。
5.立体表示を最適化しようとするユーザの手間が軽減される。
6.通常、プラグアンドプレイ機能の対象にならない立体感調整やヘッドトラッキング情報を容易に実現でき、後付のパララックスバリアのように、原理上プラグアンドプレイができない装置についても同様である。
【図面の簡単な説明】
【図1】 理想的な立体視ができているユーザ、スクリーン、再生オブジェクト14の位置関係を示す図である。
【図2】 図1の状態を実現する撮影系の例を示す図である。
【図3】 図1の状態を実現する撮影系の別の例を示す図である。
【図4】 図1の状態を実現する撮影系の別の例を示す図である。
【図5】 第1の立体画像処理装置に利用するモデル座標系を示す図である。
【図6】 第1の立体画像処理装置に利用するワールド座標系を示す図である。
【図7】 第1の立体画像処理装置に利用するカメラ座標系を示す図である。
【図8】 第1の立体画像処理装置に利用するビューボリュームを示す図である。
【図9】 図8のボリュームの透視変換後の座標系を示す図である。
【図10】 第1の立体画像処理装置に利用するスクリーン座標系を示す図である。
【図11】 第1の立体画像処理装置の構成図である。
【図12】 第2の立体画像処理装置の構成図である。
【図13】 第3の立体画像処理装置の構成図である。
【図14】 図14(a)、図14(b)は、それぞれ、第1の立体画像処理装置の立体感調整部によって表示される左眼画像と右眼画像を示す図である。
【図15】 第1の立体画像処理装置の立体感調整部によって表示される、異なる視差をもつ複数のオブジェクトを示す図である。
【図16】 第1の立体画像処理装置の立体感調整部によって表示される、視差が変化するオブジェクトを示す図である。
【図17】 適正視差が実現される際のカメラ画角、画像サイズ、視差の関係を示す図である。
【図18】 図17の状態を実現する撮影系の位置関係を示す図である。
【図19】 図17の状態を実現する撮影系の位置関係を示す図である。
【図20】 多視点画像を適正視差で生成する際のカメラ配置を示す図である。
【図21】 第1の立体画像処理装置の歪処理部が利用する視差補正マップを示す図である。
【図22】 図21の視差補正マップにしたがって視差画像を生成する際のカメラ視点を示す図である。
【図23】 図21の視差補正マップにしたがって視差画像を生成する際の別のカメラ視点を示す図である。
【図24】 第1の立体画像処理装置の歪処理部が利用する視差補正マップを示す図である。
【図25】 図24の視差補正マップにしたがって視差画像を生成する際のカメラ視点を示す図である。
【図26】 第1の立体画像処理装置の歪処理部が利用する距離感補正マップを示す図である。
【図27】 図26の距離感補正マップにしたがって視差画像を生成する際のカメラ視点を示す図である。
【図28】 第1の立体画像処理装置の歪処理部が利用する別の距離感補正マップを示す図である。
【図29】 図28の距離感補正マップにしたがって視差画像を生成する際のカメラ視点を示す図である。
【図30】 図30(a)、図30(b)、図30(c)、図30(d)、図30(e)、図30(f)は、いずれも第1の立体画像処理装置の歪処理部が三次元空間に処理を施した結果得られる視差分布の上面図である。
【図31】 第1の立体画像処理装置の歪処理部による処理の原理を示す図である。
【図32】 図31の処理を具体的に示す図である。
【図33】 図31の処理を具体的に示す図である。
【図34】 図31の処理を具体的に示す図である。
【図35】 第1の立体画像処理装置の歪処理部による処理の別の例を示す図である。
【図36】 図35の処理を具体的に示す図である。
【図37】 デプスマップを示す図である。
【図38】 第3の立体画像処理装置の歪処理部による処理の例を示す図である。
【図39】 第3の立体画像処理装置の歪処理部による処理によって生成されたデプスマップを示す図である。
【図40】 第3の立体画像処理装置の歪処理部による処理の別の例を示す図である。
【図41】 第2の立体画像処理装置の二次元画像生成部による処理の例を示す図である。
【図42】 視差画像の例を示す図である。
【図43】 第2の立体画像処理装置の二次元画像生成部によって合成位置がシフトされた視差画像を示す図である。
【図44】 第2の立体画像処理装置の画像端調整部の処理を示す図である。
【図45】 第2の立体画像処理装置の処理を示す図である。
【図46】 第2の立体画像処理装置の別の処理を示す図である。
【図47】 第2の立体画像処理装置の別の処理を示す図である。
【図48】 デプスマップが付加された平面画像を示す図である。
【図49】 デプスマップを示す図である。
【図50】 第2の立体画像処理装置の二次元画像生成部でデプスマップをもとに視差画像を生成する様子を示す図である。
【図51】 第2の立体画像処理装置の二次元画像生成部で補正されたデプスマップを示す図である。
【図52】 実施の形態に係る立体画像処理装置をライブラリ化して利用する様子を示す図である。
【図53】 立体表示ライブラリを三次元データソフトに組み込んだ構成図である。
【図54】 立体表示ライブラリをネットワーク利用型のシステムで利用する様子を示す図である。
【図55】 三次元データにより構成された画像が表示画面に表示されている状態を示す図である。
【図56】 三次元データにより構成された画像が表示画面に表示されている別の状態を示す図である。
【図57】 三次元データにより構成された画像が表示画面に表示されている別の状態を示す図である。
【図58】 表示すべきオブジェクトが有する界面を表示画面に一致させる手法を示す図である。
【図59】 二つの仮想カメラの光軸交差位置を水槽の一つの面と一致させて画像を撮影する別の様子を示す図である。
【図60】 第4の立体画像処理装置の構成図である。
【図61】 第4の立体画像処理装置により表示される画像に関して便宜的基本表現空間Tについて表す図である。
【図62】 オブジェクトが何も存在しない領域を、基本表現空間Tに含ませて表現する図である。
【図63】 オブジェクトが何も存在しない領域を、基本表現空間Tに含ませて表現する図である。
【図64】 視差を計算する対象として、鳥だけでなくその前後の空間を含める形で移動オブジェクトを形成している様子を示す図である。
【図65】 移動オブジェクトが前方投影面を越えた後、あらかじめ含めておいた空間を鳥330移動させる様子を示す図である。
【図66】 表示画面において、観察者が立体画像を観察している様子を示す図である。
【図67】 カメラ配置決定部によって定められるカメラ配置を示す図である。
【図68】 図67のカメラ配置で得られた視差画像を観察者が観察している様子を示す図である。
【図69】 図67のカメラ配置で適正視差が得られた画像を、図66で示した観察者の位置で観察者が表示画面を観察している様子を示す図である。
【図70】 図67に示したカメラ配置で、表示画面からの距離がAに位置する球の最近置点を撮影する様子を示す図である。
【図71】 二つのカメラとカメラの光軸公差距離および、図70で示した視差を得るために必要なカメラ間隔の関係を示す図である。
【図72】 図67に示したカメラ配置で、表示画面からの距離がT−Aに位置する球の最遠置点を撮影する様子を示す図である。
【図73】 二つのカメラとカメラの光軸公差距離および、図72で示した視差を得るために必要なカメラ間隔E1の関係を示す図である。
【図74】 適正視差範囲内に立体画像の視差を設定するために必要とされるカメラパラメータの関係を示す図である。
【図75】 適正視差範囲内に立体画像の視差を設定するために必要とされるカメラパラメータの関係を示す図である。
【図76】 第5の立体画像処理装置の構成図である。
【図77】 三次元データを作成する制作者により設定される仮カメラ位置、画角、および第1から第3のオブジェクトの関係を示す図である。
【図78】 図77で定められた仮カメラ位置をもとに、二つの仮想カメラが配置された状態を示す図である。
【図79】 オブジェクト情報が存在しない領域が発生しないようカメラ配置が調整された状態を示す図である。
【図80】 画角調整の処理を示す図である。
【図81】 娯楽施設や写真館などで立体写真を撮影する立体写真撮影装置と被写体との関係を示す図である。
【図82】 第6の立体画像処理装置の構成を示す図である。
【図83】 遠隔操作によりカメラを操作し、撮影された映像を立体画像表示装置で観察している様子を示す図である。
【図84】 第6の立体画像処理装置を備える立体画像撮影装置による撮影の一例を示す図である。
【図85】 照度計により画像分解性の測定する様子を示す図である。
【図86】 画像分解性の測定に利用するモアレ画像を示す図である。
【図87】 適正視差の変換例を示す図である。
【図88】 適正視差の別の変換例を示す図である。
【図89】 視差および基本表現空間の簡易決定の際に利用するテーブルを示す図である。
【符号の説明】
10 ユーザ、 12 スクリーン、 14 再生オブジェクト、 20 現実のオブジェクト、 22,24,26,28 カメラ、 30 前方投影面、32 後方投影面、 100 立体画像処理装置、 112 立体感調整部、114,152,170 視差制御部、 116 フォーマット変換部、 118 情報取得部、 122 指示取得部、 124 視差特定部、 132 カメラ配置決定部、 136,174 歪処理部、 140,176 補正マップ保持部、 142 二次元画像生成部、 150 視差量検出部、 151 カメラ制御部、 156 ヘッダ検査部、 158 マッチング部、 160 位置シフト部、 164 視差書込部、 168 画像端調整部、 178 二次元画像生成部、 180 オブジェクト指定部、 190 画像判定部、 192 周波数成分検出部、 194 シーン判定部、 210 光軸交差面、 300 立体表示ライブラリ、 400 表示画面、 402 三次元データソフト、 406 撮影指示処理部、 430 ネットワーク利用型のシステム、432 ゲーム機、 434 ユーザ端末、 436 サーバ、 452 ビュアプログラム、 510 立体写真撮影装置。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a stereoscopic image processing technique, and more particularly to a method and apparatus for generating or displaying a stereoscopic image based on a parallax image.
[0002]
[Prior art]
In recent years, the lack of network infrastructure has been regarded as a problem. However, the transition to broadband has started, and rather, the number of types and the number of contents that effectively use a wide band are becoming conspicuous. Video has always been the most important means of expression, but many of the efforts so far have been related to improvements in display quality and data compression ratios. There is a feeling that such efforts are in the back.
[0003]
Under such circumstances, stereoscopic video display (hereinafter simply referred to as “stereoscopic display”) has been studied in various ways, and has been put into practical use in a limited market where theater applications and special display devices are used. In the future, R & D in this direction will accelerate with the aim of providing more realistic content, and the time will come when individual users can enjoy stereoscopic display at home.
[0004]
In addition, stereoscopic display is expected to spread in the future, and therefore, a display form that could not be imagined with current display devices has also been proposed. For example, a technique for displaying a selected partial image of a two-dimensional image as a three-dimensional image is disclosed (see Patent Document 1).
[0005]
[Patent Document 1]
Japanese Patent Laid-Open No. 11-39507
[0006]
[Problems to be solved by the invention]
Under such circumstances, some problems have been pointed out for stereoscopic display. For example, it is difficult to optimize the parallax that causes a three-dimensional effect. Originally, it does not actually project a three-dimensional object, but rather casts the image by shifting it in pixel units with respect to the left and right eyes, and it is not easy to give the artificial three-dimensional effect a natural feeling. Absent.
[0007]
In addition, too much parallax may be a problem, and a viewer of a stereoscopic image (hereinafter also simply referred to as a user) may complain of mild discomfort. Of course, there are various factors such as not only the three-dimensional display but also the situation or sense of surroundings of the scene being displayed is not consistent with the situation. However, empirically, such a problem is easily observed when the parallax is too large, in other words, when the stereoscopic effect is too strong.
[0008]
The above is a human physiological story, but apart from that, there are technical factors that hinder the spread of stereoscopic video content and applications. Although stereoscopic vision is realized by parallax, even if the parallax is expressed by the shift amount of the pixels of the left and right images, the same stereoscopic video may or may not be properly stereoscopically viewed depending on the hardware of the display device. . If the parallax that expresses far away exceeds the interocular distance, stereoscopic viewing is theoretically impossible. Today, as the resolution and screen size of display devices diversify, such as PCs (personal computers), television receivers, and portable devices, the most suitable content for stereoscopic display is created by considering various hardware. Is more difficult, or it is more accurate that no methodology is provided for it.
[0009]
Also, given that methodology, it would be difficult to expect a general programmer to understand it and use it to create content and applications.
[0010]
The technique disclosed in the above document has been proposed as a technique for solving the above-mentioned problems, but in order to spread stereoscopic display in the future, further techniques are proposed and new techniques are accumulated. It is necessary to link technologies and apply them to products.
[0011]
The present invention has been made in view of such a background, and an object thereof is to propose a new expression method for stereoscopic display. Another object is to generate or display a stereoscopic image suitable for the user even if the display target image or the display device changes. Yet another object is to adjust the stereoscopic effect with a simple operation when a stereoscopic display is being made. Yet another object is to reduce the burden on the programmer when creating contents or applications capable of appropriate stereoscopic display. Still another object is to provide a technology for realizing appropriate stereoscopic display as a business model.
[0012]
[Means for Solving the Problems]
The inventor's knowledge that forms the basis of the present invention is that the appropriate parallax is once separated from the hardware of the display device and the elements such as the distance between the user and the display device (hereinafter collectively referred to as “hardware”). It is in. That is, the general parallax expression is once described in a general form that does not depend on hardware by generalizing the expression of the appropriate parallax with the camera interval and the optical axis crossing position described later. “Hardware-independent” means that reading of hardware information specific to the display device is not necessary in principle, and if this general description is made, the parallax image is based on the appropriate parallax. If desired, the desired three-dimensional display is realized.
[0013]
Providing appropriate parallax for the acquisition of appropriate parallax and providing control for realizing the appropriate parallax in the library, so that general programmers can call this library and be aware of the principles and programming of complex stereoscopic vision. 3D display is realized.
[0014]
Of the various aspects of the present invention, the first group is based on a technique for obtaining an appropriate parallax based on a user response. This technique can be used for “initial setting” of parallax by the user, and once the appropriate parallax is acquired in the apparatus, the appropriate parallax is realized even when another image is displayed. However, this technique is not limited to the initial setting, but is also used for “manual adjustment” in which the user appropriately adjusts the parallax of the image being displayed. The following relates to the first group.
[0015]
The present invention relates to a stereoscopic image processing apparatus, an instruction acquisition unit that acquires a user's response to a stereoscopic image displayed based on a plurality of viewpoint images corresponding to different parallaxes, and based on the acquired response, A parallax identifying unit that identifies appropriate parallax for the user.
[0016]
The instruction acquisition unit is provided as, for example, a GUI (graphical user interface, the same applies hereinafter), and first displays while changing the parallax between viewpoint images. When the user feels the stereoscopic effect he likes, the user inputs that effect by operating a button or the like.
[0017]
A “stereoscopic image” is an image displayed with a stereoscopic effect, and the substance of the data is a “parallax image” in which a plurality of images are given parallax. A parallax image is generally a set of a plurality of two-dimensional images. Each image constituting the parallax image is a “viewpoint image” having a corresponding viewpoint. That is, a parallax image is composed of a plurality of viewpoint images, and when it is displayed, it is displayed as a stereoscopic image. The display of a stereoscopic image is also simply referred to as “stereoscopic display”.
[0018]
“Parallax” is a parameter for producing a three-dimensional effect, and various definitions are possible, but as an example, it can be expressed by a shift amount of a pixel representing the same point between viewpoint images. Hereinafter, unless otherwise specified, in this specification, the definition is followed.
[0019]
The range of the appropriate parallax may be specified. In this case, both ends of the range are called “limit parallax”. The “specific parallax specification” may be performed with a maximum value allowable as a parallax of a nearby object described later.
[0020]
The stereoscopic image processing apparatus of the present invention may further include a parallax control unit that performs processing so that the specified appropriate parallax is realized even when another image is displayed. When another image is a stereoscopic image generated from three-dimensional data as a starting point, the parallax control unit may determine a plurality of viewpoints for generating the stereoscopic image according to the appropriate parallax. More specifically, the distance between a plurality of viewpoints and the intersection position of the optical axes for viewing the object from these viewpoints may be determined. An example of these processes is performed by a camera arrangement determination unit described later. If these processes are performed in real time, the optimum stereoscopic display is always realized.
[0021]
The parallax control unit may perform control so that proper parallax is achieved for a predetermined basic three-dimensional space to be displayed. An example of this processing is performed by a projection processing unit described later.
[0022]
The parallax control unit may perform control so that the appropriate parallax is realized with respect to the coordinates of the closest object and the coordinates of the farthest object in the three-dimensional space. An example of this processing is performed by a projection processing unit described later. The object may be static.
[0023]
“Neighboring” is the line of sight of a camera placed at each of a plurality of viewpoints, that is, a plane at an optical axis crossing position (hereinafter also referred to as “optical axis crossing position”) (hereinafter also referred to as “optical axis crossing plane”). It refers to a state in which parallax that is stereoscopically viewed before is added. On the contrary, “distant” refers to a state in which a parallax is provided so as to be stereoscopically viewed from the optical axis crossing plane. The closer the parallax of the near object, the closer to the user is sensed, and the larger the parallax of the far object, the farther away from the user. In other words, unless otherwise specified, the parallax is defined as a non-negative value in which the positive and negative are not reversed in the near and far positions, and both the near and far parallaxes are zero at the optical axis crossing plane.
[0024]
Of the object or space to be displayed, the optical axis crossing plane coincides with the screen surface of the display device for a portion having no parallax. This is because the line of sight seen from both the left and right eyes reaches the same position in the screen plane, that is, intersects the pixels where the parallax is not attached.
[0025]
When the another image is a plurality of two-dimensional images to which parallax has already been given, the parallax control unit may determine the horizontal shift amount of the plurality of two-dimensional images according to the appropriate parallax. In this aspect, the input for stereoscopic display is not generated with a high degree of freedom starting from three-dimensional data, but is already generated parallax images, and the parallax is fixed. In this case, it is not possible to return to the original three-dimensional space or the real space where the image was actually taken and change the camera position to redraw or re-shoot. For this reason, the parallax is adjusted by shifting the viewpoint images constituting the parallax image or the pixels included in the viewpoint images horizontally.
[0026]
When the another image is a planar image to which depth information is given (hereinafter also referred to as “image with depth information”), the parallax control unit may adjust the depth according to the appropriate parallax. An example of this processing is performed by a two-dimensional image generation unit of a third stereoscopic image processing apparatus described later.
[0027]
The stereoscopic image processing apparatus further includes a parallax holding unit that records appropriate parallax, and the parallax control unit is activated at a predetermined timing, for example, when the apparatus is activated, or when the apparatus has a stereoscopic image processing function or a part thereof. For example, the appropriate parallax may be read and processing may be performed using the value as an initial value. That is, “startup” may have a hardware meaning or a software meaning. According to this aspect, once the user determines an appropriate parallax, automatic processing for adjusting the stereoscopic effect is realized thereafter. This is a function called “initial setting of appropriate parallax”.
[0028]
Another aspect of the present invention relates to a method for processing a stereoscopic image, the step of displaying a plurality of stereoscopic images with different parallax to a user, and specifying an appropriate parallax for the user based on a user response to the displayed stereoscopic image Steps.
[0029]
Still another aspect of the present invention also relates to a stereoscopic image processing method, and includes a step of acquiring appropriate parallax that depends on a user, and a step of processing an image before display so that the acquired appropriate parallax is realized. Here, “acquisition” may be a process of positively specifying or a process of reading from the parallax holding unit or the like.
[0030]
If each of these steps is implemented as a function of a 3D display library and the functions of this library can be called as a function from multiple programs, the programmer must write the program in consideration of the 3D display hardware. Is effective.
[0031]
The second group of the present invention is based on a technique for adjusting parallax based on a user instruction. This technique can be used for “manual adjustment” of parallax by the user, and the user can change the stereoscopic effect of the displayed image as appropriate. However, this technique is not limited to manual adjustment, and can also be used to automatically adjust the parallax of the image by reading the above-described appropriate parallax when stereoscopically displaying a certain image. The difference from the automatic adjustment of the first group is that the automatic adjustment of the second group acts on a two-dimensional parallax image or an image with depth information. Use a group of technologies. The following relates to the second group.
[0032]
An aspect of the present invention relates to a stereoscopic image processing apparatus, an instruction acquisition unit that acquires a user instruction for a stereoscopic image displayed from a plurality of viewpoint images, and a parallax amount between the plurality of viewpoint images according to the acquired instruction And a parallax control unit that changes. An example of this processing is shown in FIG. 45 described later, and is a typical example of “manual adjustment”. If the user's instruction is provided by a simple GUI such as button operation, it is highly convenient.
[0033]
Another aspect of the present invention also relates to a stereoscopic image processing device, and relates to a parallax amount detection unit that detects a first parallax amount that occurs when a stereoscopic image is displayed from a plurality of viewpoint images, and the first parallax amount is allowed by a user. A parallax controller that changes the parallax amount between the plurality of viewpoint images so as to fall within a range of a second parallax amount that is a parallax amount. This is a typical example of “automatic adjustment”, and the above-described appropriate parallax can be used as the second parallax amount. An example of this processing is shown in FIG. 46 described later.
[0034]
The parallax amount detection unit detects the maximum value of the first parallax amount, and the parallax control unit changes the parallax amount between the viewpoint images so that the maximum value does not exceed the maximum value of the second parallax amount. Also good. In order to avoid excessive stereoscopic effect due to excessive parallax, the intent is to protect the maximum value of parallax, that is, limit parallax. The maximum value here may be considered as the maximum value on the near side.
[0035]
The parallax amount detection unit calculates the corresponding point matching between the plurality of viewpoint images to detect the first parallax amount, or the first parallax amount recorded in advance in any header of the plurality of viewpoint images. It may be detected. An example of these processes is shown in FIG. 47 described later.
[0036]
The parallax control unit may change the amount of parallax between the plurality of viewpoint images by shifting the synthesis position of the plurality of viewpoint images. This is common to FIGS. The shift of the composition position is a horizontal or vertical shift in units of pixels or the entire image. When the input is an image with depth information, the parallax control unit may change the parallax amount by adjusting the depth information.
[0037]
Another aspect of the present invention relates to a stereoscopic image processing method, a step of obtaining a user instruction for a stereoscopic image displayed based on a plurality of viewpoint images, and a parallax amount between the plurality of viewpoint images according to the instruction Changing.
[0038]
Another aspect of the present invention also relates to a stereoscopic image processing method, the step of detecting a first amount of parallax that occurs when a stereoscopic image is displayed from a plurality of viewpoint images, and the first amount of parallax is an allowable amount of parallax of a user. And changing the amount of parallax between the plurality of viewpoint images so as to fall within the range of the second amount of parallax.
[0039]
These steps may be implemented as functions of a stereoscopic display library, and the functions of this library may be called as functions from a plurality of programs.
[0040]
The third group of the present invention is based on a technique for correcting parallax based on the position in the image. This “automatic correction” acts to reduce the user's uncomfortable feeling or refusal to stereoscopic display, and can be used in combination with the technologies of the first and second groups. In general, at the time of stereoscopic display, technical or physiological problems are pointed out, such as closer to the edge of the image, a plurality of viewpoint images are observed to be shifted and a sense of incongruity is likely to be produced. In the third group, this problem is reduced by reducing the parallax in a portion close to the image edge or adjusting the parallax so that the object moves from the near side to the far side. The following relates to the third group.
[0041]
An aspect of the present invention relates to a stereoscopic image processing apparatus, and maintains a parallax control unit that corrects parallax between a plurality of viewpoint images for displaying a stereoscopic image, and a correction map that the parallax control unit should refer to during the processing. The correction map is described so that the parallax is corrected based on the position in the viewpoint image. Examples of the correction map include a parallax correction map and a distance sense correction map.
[0042]
For example, the parallax control unit reduces the parallax at the peripheral portions of the plurality of viewpoint images, or changes the parallax so that the object is sensed further from the user. The parallax control unit may change the parallax by selectively performing processing on any of the plurality of viewpoint images.
[0043]
When multiple viewpoint images are generated from three-dimensional data, that is, when the viewpoint image can be generated by returning to the three-dimensional space, the parallax control unit controls the camera parameters to generate the parallax when generating the multiple viewpoint images. May be changed. Camera parameters include the distance between the left and right cameras, the angle at which an object is viewed from the camera, or the optical axis crossing position.
[0044]
Similarly, when a plurality of viewpoint images are generated from three-dimensional data, the parallax control unit may change the parallax by distorting the three-dimensional space itself in, for example, the world coordinate system when generating the plurality of viewpoint images. . On the other hand, when a plurality of viewpoint images are generated from an image with depth information, the parallax control unit may change the parallax by manipulating the depth information.
[0045]
Another aspect of the present invention relates to a stereoscopic image processing method, the step of acquiring a plurality of viewpoint images for displaying a stereoscopic image, and the parallax between the acquired viewpoint images based on positions in the viewpoint images. And changing steps. These steps may be implemented as functions of the stereoscopic display library, and the functions of this library may be called as functions from a plurality of programs.
[0046]
The fourth group of the present invention relates to a technology that provides the first to third groups and related functions as a software library, reduces the burden on programmers and users, and promotes the spread of stereoscopic image display applications. The following relates to the fourth group.
[0047]
An aspect of the present invention relates to a stereoscopic image processing method, which stores information related to stereoscopic image display on a memory, shares the stored information among a plurality of different programs, and any of these programs is a stereoscopic image. When displaying the image, the state of the image to be output is determined with reference to the stored information. An example of the state of the image is how much parallax is given to the parallax image.
[0048]
The “held information” may include information on any of the format of an image input to the stereoscopic image display device, the display order of viewpoint images, and the amount of parallax between viewpoint images. In addition to sharing the stored information, a process unique to stereoscopic image display may be shared by a plurality of programs. An example of “stereoscopic image display specific processing” is processing for determining stored information. Another example is a process related to a graphical user interface for determining an appropriate parallax, a display process for a parallax adjustment screen that supports realization of an appropriate parallax state, a process for detecting and tracking a user's head position, and a stereoscopic display device For example, a process of displaying an image for adjusting the image.
[0049]
Another aspect of the present invention relates to a stereoscopic image processing apparatus, and a stereoscopic effect adjusting unit that provides a user with a graphical user interface for adjusting the stereoscopic effect of a stereoscopic display image, and the result of adjusting the stereoscopic effect by the user. And a parallax control unit that generates a parallax image in a form that protects the limit parallax.
[0050]
The apparatus further includes an information detection unit that acquires information to be referred to in order to optimize the stereoscopic image display, and a conversion unit that converts the format of the parallax image generated by the parallax control unit according to the acquired information. May be included.
[0051]
The parallax control unit may control the camera parameters based on the three-dimensional data to generate a parallax image while protecting the limit parallax, or may control the depth of the image with depth information to generate the parallax image. Alternatively, the parallax image may be generated after determining the horizontal shift amounts of the plurality of two-dimensional images having parallax.
[0052]
The fifth group of the present invention relates to one application or business model using the above-described stereoscopic image processing technology or related technology. A fourth group of software libraries is available. The following relates to the fifth group.
[0053]
An aspect of the present invention relates to a stereoscopic image processing method, and a method for stereoscopically displaying a parallax image. User's Once the proper parallax 3D display possible Convert to an expression format that does not depend on the hardware of the display device, and change the appropriate parallax according to this expression format 3D display possible Distributes between display devices.
[0054]
Another aspect of the present invention also relates to a stereoscopic image processing method, 3D display possible Acquiring the user's appropriate parallax on the first display device; and obtaining the appropriate parallax acquired on the first display device. 3D display possible A step of reading into the second display device, a step of adjusting the parallax of the parallax image in accordance with the appropriate parallax in the second display device, and a step of outputting the adjusted parallax image from the second display device are included. For example, the first display device is a device normally used by the user, and the second display device is a device provided at another location. Further, based on the step of reading the information related to the hardware of the first display device into the second display device, the information related to the hardware of the first display device read and the information related to the hardware of the second display device. And a step of converting the appropriate parallax read by the second display device so as to match the second display device, and the step of adjusting the parallax of the parallax image is converted to match the second display device. The parallax may be adjusted according to the appropriate parallax.
[0055]
Further, the hardware-related information may include at least one of the size of the display screen, the optimum observation distance of the display device, and the image separation performance of the display device.
[0056]
Another aspect of the present invention relates to a stereoscopic image processing apparatus connected via a network. 3D display possible A first display device; 3D display possible The first display device includes the second display device and the server, and the first display device transmits the appropriate parallax information of the user acquired by the first display device to the server, and the server receives the appropriate information received from the first display device. When the parallax information is recorded in association with the user and the user requests the second display device to output image data, the second display device reads the appropriate parallax information of the user from the server and reads the appropriate parallax. The parallax image is output after adjusting the parallax according to the information.
[0057]
The sixth group of the present invention is based on a technique for proposing a new expression method using a stereoscopic image.
[0058]
One embodiment of the present invention relates to a stereoscopic image processing apparatus. This stereoscopic image processing apparatus is a stereoscopic image processing apparatus that displays a stereoscopic image based on a plurality of viewpoint images corresponding to different parallaxes, and is recommended when a stereoscopic image is displayed using the stereoscopic image display apparatus. A recommended parallax acquisition unit that acquires the parallax range to be displayed, and a parallax control unit that sets the parallax to display the stereoscopic display image within the acquired recommended parallax range.
[0059]
In addition, an object designating unit that accepts designation of a predetermined object included in the stereoscopic image from the user, and the position of the designated object correspond to the optical axis crossing positions associated with each of the plurality of viewpoint images, and are designated. The object may further include an optical axis crossing position setting unit that sets the crossing position of the optical axes so that the object is expressed near the position of the display screen on which the stereoscopic image is displayed.
[0060]
In addition, for the designated object, the optical axis correspondence information describing that the object is associated with the optical axis crossing position and that the object is represented in the vicinity of the position of the display screen is described above. You may further have the designation | designated information addition part linked | related with an object.
[0061]
The optical axis crossing position setting unit acquires the optical axis correspondence information, associates the optical axis crossing position with the object described in the acquired optical axis correspondence information, and associates the optical axis crossing position with each other. The object may be expressed near the position of the display screen on which the stereoscopic image is displayed.
[0062]
In addition, it is associated with image data used when generating a stereoscopic image, and the object included in the stereoscopic image includes information on whether or not to express in the basic expression space including the object to be stereoscopically displayed. An identification information acquisition unit that acquires identification information may be further included, and the parallax control unit may reflect the acquired identification information when the object is represented in a stereoscopic image.
[0063]
Further, the identification information may include information regarding timing when the object is expressed in the basic expression space, and the identification information acquisition unit may reflect the acquired timing when the object is expressed in the stereoscopic image. Good.
[0064]
Another aspect of the present invention relates to a stereoscopic image processing method. In this stereoscopic image processing method, a predetermined object included in a stereoscopic image displayed based on a plurality of viewpoint images corresponding to different parallaxes can be selected, and when an object is selected, the selected object is positioned at the position of the selected object. The optical axis crossing position associated with each of the plurality of viewpoint images is made to correspond, and the optical axis crossing position is made to substantially coincide with the position of the display screen on which the stereoscopic image is displayed. According to this stereoscopic image processing method, the display screen can be set at the boundary between the far space and the near space, and an expression can be made such that the object moves toward the observer beyond the display screen.
[0065]
The designated object may have a predetermined interface, and the optical axis crossing position setting unit may associate the optical axis crossing position on the interface. In addition, a stereoscopic image may be generated starting from three-dimensional data. When a stereoscopic image is generated starting from three-dimensional data, it is easy to add various effects to the stereoscopic image. For example, when an object is expressed so as to cross the interface, that is, the display screen, an effect of deforming the display screen can be added.
[0066]
Still another embodiment of the present invention also relates to a stereoscopic image processing method. In this stereoscopic image processing method, an interface that separates a space is set as a part of the stereoscopic image in the vicinity of a display screen on which a stereoscopic image generated based on a plurality of viewpoint images corresponding to different parallaxes is displayed. At the same time, a stereoscopic image is expressed using the interface as a boundary between the near space and the far space. The interface may be a boundary surface between substances or a thin plate. Thin plates include glass plates and paper.
[0067]
Still another embodiment of the present invention relates to a stereoscopic image processing method. This stereoscopic image processing method is a moving speed of an object to be expressed in a basic expression space that is included in a stereoscopic image generated based on a plurality of viewpoint images corresponding to different parallaxes and includes an object to be stereoscopically displayed. Changing for the near or far direction.
[0068]
Still another embodiment of the present invention also relates to a stereoscopic image processing method. In this stereoscopic image processing method, when generating a stereoscopic image based on a plurality of viewpoint images corresponding to different parallaxes, an object to be expressed in a basic expression space including an object to be stereoscopically displayed is set to a predetermined parallax range. While expressing so as to fit within, at least one of the forefront surface and the rearmost surface of the basic expression space is set to a position where no object exists.
[0069]
Still another embodiment of the present invention also relates to a stereoscopic image processing method. In this stereoscopic image processing method, when generating a stereoscopic image based on a plurality of viewpoint images corresponding to different parallaxes, when calculating the parallax of the object to be expressed in the basic expression space including the object to be stereoscopically displayed. Instead of the actual size of the object, the parallax of the object is calculated as a size including the extension area in front of the object. In addition, if the object moves further forward after it is positioned in the foreground of the basic expression space by including the front extension area, the object is expressed as moving in the front extension area. May be.
[0070]
Still another embodiment of the present invention also relates to a stereoscopic image processing method. In this stereoscopic image processing method, when generating a stereoscopic image based on a plurality of viewpoint images corresponding to different parallaxes, when calculating the parallax of the object to be expressed in the basic expression space including the object to be stereoscopically displayed. Instead of the actual size of the object, the parallax of the object is calculated as a size including the extension area behind the object. In addition, when an object moves further backward after it is positioned on the last surface of the basic representation space by moving in a form that includes the front extension area, the object is expressed as moving in the rear extension area. May be.
[0071]
The seventh group of the present invention is based on a technique for adjusting the parallax to be set according to the state of the image.
[0072]
One embodiment of the present invention relates to a stereoscopic image processing apparatus. When this stereoscopic image processing apparatus generates a stereoscopic image from three-dimensional data, the parallax is higher than the parallax of the range in which the ratio of the width and depth of the object represented in the stereoscopic image is correctly perceived by human eyes. It has a parallax control unit that controls so as not to increase.
[0073]
Another aspect of the present invention also relates to a stereoscopic image processing apparatus. In this stereoscopic image processing apparatus, when generating a stereoscopic image from a two-dimensional image to which depth information is given, a range in which the ratio of the width and depth of an object represented in the stereoscopic image is correctly perceived by human eyes A parallax control unit that controls the parallax not to be larger than the parallax.
[0074]
Still another embodiment of the present invention also relates to a stereoscopic image processing apparatus. The stereoscopic image processing apparatus includes an image determination unit that performs frequency analysis on a stereoscopic image to be displayed based on a plurality of viewpoint images corresponding to different parallaxes, and a parallax amount according to the amount of high-frequency components that is determined by frequency analysis. A parallax control unit that adjusts In addition, the parallax control unit may perform adjustment to increase the parallax amount when the amount of the high-frequency component is large.
[0075]
Still another embodiment of the present invention also relates to a stereoscopic image processing apparatus. The stereoscopic image processing apparatus adjusts the amount of parallax according to the amount of movement of a stereoscopic image, and an image determination unit that detects the movement of a stereoscopic image displayed based on a plurality of viewpoint images corresponding to different parallaxes. And a parallax control unit. Further, the parallax control unit may perform adjustment to reduce the parallax amount when the amount of movement of the stereoscopic image is small.
[0076]
Still another embodiment of the present invention also relates to a stereoscopic image processing apparatus. In the stereoscopic image processing apparatus, when a parameter related to camera arrangement set for generating a parallax image is changed when generating a stereoscopic image with data, a camera parameter is provided in advance for the variation of the parameter. Control to be within the threshold. According to this apparatus, it is possible to reduce that the parallax changes rapidly and the viewer of the stereoscopic image feels uncomfortable.
[0077]
Still another embodiment of the present invention also relates to a stereoscopic image processing apparatus. This stereoscopic image processing apparatus generates a maximum value of the depth included in the depth information, which is generated along with the progress of the two-dimensional moving image, when generating a stereoscopic image of the moving image from the two-dimensional moving image given the depth information. Control is performed so that the fluctuation of the minimum value falls within a predetermined threshold. According to this apparatus, it is possible to reduce that the parallax changes rapidly and the viewer of the stereoscopic image feels uncomfortable.
[0078]
Still another embodiment of the present invention relates to a stereoscopic image processing method. In this stereoscopic image processing method, an appropriate parallax of a stereoscopic image displayed based on a plurality of viewpoint images corresponding to different parallaxes is set in units of scenes.
[0079]
Still another embodiment of the present invention relates to a stereoscopic image processing method. In this stereoscopic image processing method, an appropriate parallax of a stereoscopic image displayed based on a plurality of viewpoint images corresponding to different parallaxes is set at a predetermined time interval.
[0080]
Another aspect of the present invention relates to a stereoscopic image processing apparatus. The stereoscopic image processing apparatus includes a camera arrangement setting unit that sets an arrangement of a plurality of virtual cameras for generating a plurality of viewpoint images when original data serving as a starting point of a stereoscopic image is input, and a virtual camera. An object area determination unit that determines whether or not an area where there is no object information to be displayed has occurred in the corresponding viewpoint image generated, and an area where no information about the object to be displayed exists. A camera parameter adjustment unit that adjusts at least one of the angle of view of the virtual camera, the camera interval, and the crossing position of the optical axes so that there is no region where no object information exists.
[0081]
It should be noted that any combination of the above-described constituent elements and a conversion of the expression of the present invention between a method, an apparatus, a system, a recording medium, a computer program, etc. are also effective as an aspect of the present invention.
[0082]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows the positional relationship between the user 10, the screen 12, and the playback object 14 displayed in a three-dimensional manner. The distance between eyes of the user 10 is E, the distance between the user 10 and the screen 12 is D, and the width of the reproduction object 14 when displayed is W. Since the playback object 14 is stereoscopically displayed, it has pixels that are sensed closer to the screen 12, that is, pixels that are located closer to each other, and pixels that are sensed farther than the screen 12, that is, pixels that are located farther away. Pixels without parallax appear on the screen 12 at the same position from both eyes, and are thus detected on the screen 12.
[0083]
FIG. 2 shows an imaging system for generating the ideal display of FIG. The distance between the two cameras 22 and 24 is E, and the distance from these to the optical axis crossing position when viewing the real object 20 (this is called the optical axis crossing distance) is D, and the same width as the screen 12 is set. If an object 20 with an actual angle of view and a width of W is actually photographed, parallax images can be obtained from the two cameras. If this is displayed on the screen 12 of FIG. 1, the ideal state of FIG. 1 is realized.
[0084]
FIG. 3 and FIG. 4 show a state where the positional relationship of FIG. 2 is A times (A <1) and B times (B> 1), respectively. The ideal state of FIG. 1 is also realized by the parallax images obtained with these positional relationships. In other words, the basic of ideal stereoscopic display starts from making W: D: E constant. This relationship also serves as a basis for adding parallax.
[0085]
FIGS. 5 to 10 show the outline of processing until stereoscopic display is performed based on the three-dimensional data of the object 20 in the embodiment.
FIG. 5 shows a model coordinate system, that is, a coordinate space that each three-dimensional object 20 has. In this space, coordinates when the object 20 is modeled are given. Usually, the origin is at the center of the object 20.
[0086]
FIG. 6 shows the world coordinate system. The world space is a wide space in which a scene is formed by arranging objects 20, floors, and walls. From the modeling in FIG. 5 to the determination of the world coordinate system in FIG. 6 can be recognized as “construction of three-dimensional data”.
[0087]
FIG. 7 shows the camera coordinate system. Conversion to the camera coordinate system is performed by setting the camera 22 at an arbitrary angle of view from an arbitrary position in the world coordinate system. Camera position, direction, and angle of view are camera parameters. In the case of stereoscopic display, since the parameters are determined for two cameras, the camera interval and the optical axis crossing position are also determined. Also, the origin is moved so that the midpoint between the two cameras is the origin.
[0088]
8 and 9 show a perspective coordinate system. First, as shown in FIG. 8, the space to be displayed is clipped by the front projection plane 30 and the rear projection plane 32. As will be described later, one feature of the embodiment is that the surface having the maximum disparity point is the front projection surface 30 and the surface having the maximum disparity point is the rear projection surface 32. After clipping, this view volume is converted into a rectangular parallelepiped as shown in FIG. The processing in FIGS. 8 and 9 is also referred to as projection processing.
[0089]
FIG. 10 shows the screen coordinate system. In the case of stereoscopic display, images from a plurality of cameras are converted into coordinate systems having screens, and a plurality of two-dimensional images, that is, parallax images are generated.
[0090]
11, 12, and 13 illustrate the configuration of the stereoscopic image processing apparatus 100 that is partially different. Hereinafter, for convenience, the stereoscopic image processing devices 100 are also referred to as first, second, and third stereoscopic image processing devices 100, respectively. These three-dimensional image processing apparatuses 100 can be integrated into the apparatus, but here, they are divided into three parts to avoid the complexity of the figure. The first stereoscopic image processing apparatus 100 is effective when the object and space to be drawn can be obtained from the three-dimensional data stage, and therefore the main input is the three-dimensional data. The second stereoscopic image processing apparatus 100 is effective for the parallax adjustment of a plurality of two-dimensional images to which parallax has already been given, that is, existing parallax images, and therefore inputs a two-dimensional parallax image. The third stereoscopic image processing apparatus 100 operates the depth information of the image with depth information to realize proper parallax, and therefore mainly inputs the image with depth information. These three inputs are collectively referred to as “original data”.
[0091]
In the case where the first to third stereoscopic image processing devices 100 are integrated and mounted, an “image format determination unit” is provided as a preprocessing unit thereof, and after determining three-dimensional data, a parallax image, and an image with depth information, It is good also as a structure which starts the optimal thing among the 1st-3rd three-dimensional image processing apparatuses 100. FIG.
[0092]
The first stereoscopic image processing apparatus 100 has functions of “initial setting” and “automatic adjustment” when setting a stereoscopic effect for stereoscopic display. When the user designates a range of his / her appropriate parallax for a stereoscopically displayed image, this is acquired by the system, and thereafter, when another stereoscopic image is displayed, a conversion process is performed in advance to realize this proper parallax. Is displayed. Therefore, the first stereoscopic image processing apparatus 100 allows the user to enjoy a stereoscopic display that suits him / herself after the setting procedure is performed only once in principle.
[0093]
The first stereoscopic image processing apparatus 100 further has a sub-function called “parallax correction” that artificially relaxes the parallax at the periphery of the image. As described above, as the image edge is approached, a shift between a plurality of viewpoint images is easily recognized as a “double image”. This is mainly due to mechanical errors such as parallax barrier and screen warpage of the display device. Therefore, at the peripheral part of the image, 1) reduce both the near parallax and the far parallax, 2) reduce the near parallax, and leave the far parallax as it is, 3) regardless of the near parallax and the far parallax. Various methods are implemented, such as shifting to a distant parallax. This “parallax correction” function also exists in the third stereoscopic image processing apparatus 100, but the processing differs depending on the difference in input data.
[0094]
The first stereoscopic image processing apparatus 100 includes a stereoscopic effect adjusting unit 112 that adjusts the stereoscopic effect based on a response from the user to a stereoscopically displayed image, and a parallax that stores the appropriate parallax specified by the stereoscopic effect adjusting unit 112. The information holding unit 120, the parallax control unit 114 that reads the appropriate parallax from the parallax information holding unit 120, generates the parallax image having the appropriate parallax from the original data, acquires the hardware information of the display device, and also displays the stereoscopic display An information acquisition unit 118 having a function of acquiring a method and a format conversion unit 116 that changes the format of the parallax image generated by the parallax control unit 114 based on the information acquired by the information acquisition unit 118 are included. Original data is simply called three-dimensional data, but strictly speaking, this is object and space data described in the world coordinate system.
[0095]
Examples of information acquired by the information acquisition unit 118 include the number of viewpoints for stereoscopic display, the method of a stereoscopic display device such as space division or time division, whether or not shutter glasses are used, and the viewpoint image in a multi-view type. There is a method of arrangement, whether there is an arrangement of viewpoint images in which parallax is reversed in the parallax image, a result of head tracking, and the like. Only the result of the head tracking is exceptionally inputted to the camera arrangement determining unit 132 via a route (not shown) and processed there.
[0096]
The above configuration can be realized in hardware by a CPU, memory, or other LSI of an arbitrary computer, and in software, it can be realized by a program having a GUI function, a parallax control function, or other functions. Here, functional blocks realized by the cooperation are depicted. Accordingly, it is understood by those skilled in the art that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof, and the situation is the same for the subsequent configurations.
[0097]
The stereoscopic effect adjusting unit 112 includes an instruction acquiring unit 122 and a parallax specifying unit 124. The instruction acquisition unit 122 acquires the appropriate parallax range for the stereoscopically displayed image when the user specifies the range. Based on the range, the parallax specifying unit 124 specifies an appropriate parallax when the user uses the display device. The appropriate parallax is expressed in an expression format that does not depend on the hardware of the display device. By realizing the appropriate parallax, stereoscopic vision suitable for the user's physiology becomes possible.
[0098]
The parallax control unit 114 includes a camera temporary arrangement unit 130 that temporarily sets camera parameters, a camera arrangement determination unit 132 that corrects camera parameters temporarily set according to appropriate parallax, and a plurality of cameras when camera parameters are determined. An origin moving unit 134 that performs origin movement processing to set the middle point as the origin, a projection processing unit 138 that performs the above-described projection processing, and conversion processing to a screen coordinate system after projection processing to generate a parallax image A two-dimensional image generation unit 142. In addition, a distortion processing unit 136 that performs spatial distortion conversion (hereinafter also simply referred to as distortion conversion) is provided between the camera temporary arrangement unit 130 and the camera arrangement determination unit 132 in order to reduce parallax in the peripheral portion of the image as necessary. ing. The distortion processing unit 136 reads out a correction map described later from the correction map holding unit 140 and uses it.
[0099]
If it is necessary to adjust the display device for stereoscopic display, a GUI (not shown) for that purpose may be added. With this GUI, processing such as determining the optimum display position by slightly shifting the entire displayed parallax image vertically and horizontally may be performed.
[0100]
The second stereoscopic image processing apparatus 100 in FIG. 12 receives a plurality of parallax images. This is also simply called an input image. The second stereoscopic image processing apparatus 100 reads the appropriate parallax previously acquired by the first stereoscopic image processing apparatus 100, adjusts the parallax of the input image, puts it within the range of the appropriate parallax, and outputs it. In that sense, the second stereoscopic image processing apparatus 100 has an “automatic adjustment” function of parallax. However, in addition to this, when the user wants to change the stereoscopic effect when the stereoscopic display is actually performed, a GUI function is provided, and a “manual adjustment” function for changing the parallax according to the user's instruction is also provided.
[0101]
The parallax of the already generated parallax image cannot normally be changed, but according to the second stereoscopic image processing apparatus 100, the level that can be sufficiently put into practical use by shifting the synthesis position of the viewpoint images constituting the parallax image You can change the stereoscopic effect. The second stereoscopic image processing apparatus 100 exhibits a good stereoscopic effect adjustment function even in a situation where input data cannot be traced back to three-dimensional data. Hereinafter, differences from the first stereoscopic image processing apparatus 100 will be mainly described.
[0102]
The stereoscopic effect adjusting unit 112 is used for manual adjustment. The instruction acquisition unit 122 realizes numerical input such as “+ n” and “−n” on a screen, for example, and the value is specified by the parallax specifying unit 124 as a parallax change amount. There are several possible relations between the numerical value and the specified stereoscopic effect. For example, “+ n” is an instruction to increase the stereoscopic effect, and “−n” is an instruction to decrease, and the amount of change to the stereoscopic effect may be larger as n increases. Also, “+ n” may be an instruction to move the object in the near direction, and “−n” may be an instruction to move the object in the far direction. As another method, the value of n may not be specified, and only the “+” and “−” buttons may be displayed, and the parallax may be changed each time the button is clicked.
[0103]
The second stereoscopic image processing apparatus 100 includes a parallax amount detection unit 150 and a parallax control unit 152. When the input image is a plurality of parallax images, the parallax amount detection unit 150 inspects the header area of the parallax images, and the parallax amount described in the form of the number of pixels, particularly the near maximum parallax pixel number and the far maximum parallax. If there is the number of pixels, this is acquired. If the amount of parallax is not described, the matching unit 158 identifies the amount of parallax by detecting a corresponding point between parallax images using a known method such as block matching. The matching unit 158 may perform processing only on an important region such as the center of the image, or may detect by focusing on the most important number of nearby parallax pixels. The detected amount of parallax is sent to the parallax control unit 152 in the form of the number of pixels.
[0104]
In general, when a stereoscopic image is displayed on a display screen of a mobile phone, individual differences regarding the stereoscopic effect are small, and it can be assumed that the user sometimes feels troublesome to input appropriate parallax. In addition, even in a stereoscopic display device used by an unspecified number of users, there is a possibility that the input of appropriate parallax is inconvenient. In such a case, the range of the appropriate parallax may be determined by the manufacturer of the stereoscopic image display device, the creator of the content to be displayed on the stereoscopic image display device, or according to general guidelines, etc. You may decide by the method of. For example, it reflects the guidelines and standards established by industry groups and academic groups related to stereoscopic images. As an example, if there is a guideline of “maximum parallax is about 20 mm on a 15-inch display screen”, processing such as following the guideline or performing correction based on the guideline can be mentioned. In this case, the stereoscopic effect adjusting unit 112 is not necessary.
[0105]
The position shift unit 160 of the parallax control unit 152 shifts the synthesis position of the viewpoint images constituting the parallax image in the horizontal direction so that the parallax amount between the viewpoint images becomes an appropriate parallax. The shift may be performed on any one of the viewpoint images. The position shift unit 160 also has another operation mode. When the user gives an instruction to increase or decrease the parallax via the stereoscopic effect adjusting unit 112, the image shift position is simply changed according to this instruction. That is, the position shift unit 160 has two functions: an automatic adjustment function for appropriate parallax and a manual adjustment function by the user.
[0106]
The parallax writing unit 164 writes the parallax amount by the number of pixels in one of the header areas of the plurality of viewpoint images constituting the parallax image for the above-described parallax amount detection unit 150 or for another use. The image edge adjustment unit 168 fills in the missing pixels generated at the image edge due to the shift by the position shift unit 160.
[0107]
The third stereoscopic image processing apparatus 100 in FIG. 13 receives an image with depth information as an input. The third stereoscopic image processing apparatus 100 adjusts the depth so that proper parallax is realized. In addition, the above-described “parallax correction” function is provided. The distortion processing unit 174 of the parallax control unit 170 performs distortion conversion according to the correction map stored in the correction map holding unit 176 in the manner described later. The depth information and the image after distortion conversion are input to the two-dimensional image generation unit 178, where a parallax image is generated. The two-dimensional image generation unit 178 is different from the two-dimensional image generation unit 142 of the first stereoscopic image processing apparatus 100, and appropriate parallax is considered here. Since the image with depth information is also two-dimensional as an image, the two-dimensional image generation unit 178 has a function similar to that of the position shift unit 160 of the second stereoscopic image processing apparatus 100 inside, although not shown in the figure. Accordingly, the pixels in the image are shifted in the horizontal direction to generate a stereoscopic effect. At this time, an appropriate parallax is realized by a process described later.
[0108]
The processing operation and the principle of each part of each stereoscopic image processing apparatus 100 in the above configuration are as follows.
FIGS. 14A and 14B show the left eye image 200 and the right eye image 202 respectively displayed in the specific parallax specifying process by the stereoscopic effect adjusting unit 112 of the first stereoscopic image processing apparatus 100. . In each image, five black circles are displayed, and a larger parallax is placed closer to the top, and a larger parallax is placed farther down.
[0109]
FIG. 15 schematically shows a sense of distance sensed by the user 10 when these five black circles are displayed. The user 10 responds that the range of these five senses of distance is “appropriate”, and the instruction acquisition unit 122 acquires this response. In the figure, five black circles with different parallaxes are displayed simultaneously or sequentially, and the user 10 inputs whether or not the parallax is acceptable. On the other hand, in FIG. 16, the display itself is performed with a single black circle, but the parallax is continuously changed, and when the user 10 reaches the limit allowed in each of the far and near positions, a response is made. The response may be performed by using a known technique such as normal key operation, mouse operation, voice input, and the like.
[0110]
Further, the determination of the parallax may be performed by a simpler method. Similarly, the setting range of the basic expression space may be determined by a simple method. FIG. 89 is a table used for simple determination of parallax and basic expression space. The setting range of the basic expression space is divided into four ranks A to D, from the setting for increasing the near space side to the setting for only the far space side, and further, the parallax is 5 levels from 1 to 5 respectively. It is divided into ranks. Here, for example, when the user prefers the strongest stereoscopic effect and prefers the most pop-up stereoscopic display, the rank is set to 5A. And it is not always necessary to determine the rank while confirming the stereoscopic display, and only the buttons for determining the rank may be displayed. There is a button for confirming the stereoscopic effect beside them, and an image for confirming the stereoscopic effect may be displayed by pressing the button.
[0111]
In either case of FIGS. 15 and 16, the instruction acquisition unit 122 can acquire the appropriate parallax as a range, and the near parallax and the far parallax limit parallax are determined. The near maximum parallax is a parallax corresponding to the proximity allowed for a point that appears closest to the user, and the far maximum parallax is a parallax corresponding to the distance allowed for a point that appears farthest from the user. However, in general, the near maximum parallax should be taken care of due to a user's physiological problem. Hereinafter, only the near maximum parallax may be referred to as a limit parallax.
[0112]
FIG. 17 shows the principle of actually adjusting the parallax between two viewpoints when a stereoscopically displayed image is taken out from three-dimensional data. First, the critical parallax determined by the user is converted into a prospective angle of the temporarily placed camera. As shown in the figure, the limit parallax between the near and far positions can be expressed as M and N in terms of the number of pixels, and the angle of view θ of the camera corresponds to the number of horizontal pixels L on the display screen. The near maximum prospective angle φ and the far maximum prospective angle ψ, which are angles, are represented by θ, M, N, and L.
tan (φ / 2) = M tan (θ / 2) / L
tan (ψ / 2) = Ntan (θ / 2) / L
Next, this information is applied to the extraction of the two viewpoint images in the three-dimensional space. As shown in FIG. 18, first, a basic expression space T (its depth is also expressed as T) is determined. Here, it is assumed that the basic expression space T is determined from restrictions on the arrangement of objects. Let S be the distance from the front projection plane 30 which is the front surface of the basic expression space T to the camera placement plane, that is, the viewpoint plane 208. T and S can be specified by the user. There are two viewpoints, and D is the distance from the viewpoint plane 208 of these optical axis intersecting planes 210. Let A be the distance between the optical axis crossing plane 210 and the front projection plane 30.
[0113]
Next, when the near parallax and the far parallax in the basic expression space T are P and Q, respectively,
E: S = P: A
E: S + T = Q: TA
Is established. E is the distance between viewpoints. Now, the point G, which is a pixel with no parallax, is at a position where the optical axes K2 from both cameras intersect on the optical axis intersecting surface 210, and the optical axis intersecting surface 210 is the position of the screen surface. The light rays K1 that produce the near maximum parallax P intersect on the front projection plane 30, and the light rays K3 that produce the far maximum disparity Q intersect on the rear projection plane 32.
[0114]
P and Q use φ and ψ as shown in FIG.
P = 2 (S + A) tan (φ / 2)
Q = 2 (S + A) tan (ψ / 2)
As a result,
E = 2 (S + A) tan (θ / 2) · (SM + SN + TN) / (LT)
A = STM / (SM + SN + TN)
Is obtained. Since S and T are already known, A and E are automatically determined in this way. Therefore, the optical axis crossing distance D and the inter-camera distance E are automatically determined, and the camera parameters are determined. If the camera arrangement determining unit 132 determines the arrangement of the cameras according to these parameters, then the projection processing unit 138 and the two-dimensional image generation unit 142 perform the processing independently on the images from the respective cameras. A parallax image having parallax can be generated and output. As described above, E and A do not include hardware information, and an expression format independent of hardware is realized.
[0115]
Thereafter, appropriate parallax can be automatically realized if a camera is arranged so as to protect A or D and E even when another image is stereoscopically displayed. The entire process from specifying the appropriate parallax to ideal 3D display can be automated, so if this function is provided as a software library, programmers who create content and applications do not need to be aware of 3D display programming. . In addition, when L, M, and N are represented by the number of pixels, L indicates a display range, and thus it can be indicated by L whether the display is a full screen or a part of the screen. L is also a parameter independent of hardware.
[0116]
FIG. 20 shows a four-lens camera arrangement with four cameras 22, 24, 26 and 28. To be precise, the above-mentioned A and E should be determined so as to obtain an appropriate parallax between adjacent cameras, such as between the first camera 22 and the second camera 24. Even if A and E determined between the second camera 24 and the third camera 26 close to each other are used between other cameras, substantially the same effect can be obtained.
[0117]
Note that T is a restriction on the arrangement of objects, but may be determined by a program as the size of a basic three-dimensional space. In this case, the object can always be arranged only in the basic expression space T throughout the program, and for effective display, the object may sometimes be given a parallax so as to intentionally jump out of this space.
[0118]
As another example, T may be determined for the coordinates of the closest object and the most distant object in the three-dimensional space. If this is performed in real time, the basic expression space T is always obtained. Objects can be placed in As an exception to always putting an object in the basic expression space T, a short-time exception can be made if it is operated under the relaxed condition that “the average of the positions for a certain period of time only needs to be in the basic expression space T”. Furthermore, the object that defines the basic expression space T may be limited to a static object. In this case, an exceptional operation in which a dynamic object protrudes from the basic expression space T can be given. As yet another example, conversion may be performed in which a space in which objects are already arranged is reduced to the size of the width T of the basic expression space, or may be combined with the operations described above. A method for intentionally displaying an object so as to jump out of the basic expression space will be described later.
[0119]
In addition, if the stereoscopic effect adjustment unit 112 of the first stereoscopic image processing apparatus 100 displays an image that is easy to produce a double image, the marginal parallax is determined to be small, and other images are displayed. The appearance frequency of double images can be reduced. As images that are likely to produce double images, those with contrasting colors and brightness between the object and the background are known, and such images can be used at the stage of identifying the critical parallax, that is, at the initial setting. .
[0120]
FIG. 21 to FIG. 36 show processing by the distortion processing unit 136 of the first stereoscopic image processing apparatus 100 and its principle.
FIG. 21 conceptually shows an example of the correction map stored in the correction map holding unit 140 of the first stereoscopic image processing apparatus 100. This map directly corrects the parallax, and the entire map directly corresponds to the parallax image, and the parallax becomes smaller as it goes to the peripheral part. FIG. 22 shows a change in parallax that occurs as a result of camera parameter manipulation by the camera placement determination unit 132 that has received a camera placement by the distortion processing unit 136 according to this correction map. “Normal parallax” is added when viewing the front direction from the left and right viewpoint positions of the two cameras, while “small parallax” is added when viewing the direction far from the front. Actually, the camera arrangement determining unit 132 decreases the camera interval as it goes to the periphery.
[0121]
FIG. 23 shows another example in which the camera arrangement determining unit 132 changes the parallax by changing the camera arrangement in accordance with an instruction from the distortion processing unit 136. Here, while moving only the left camera of the two cameras, the parallax changes as “normal parallax” → “medium parallax” → “small parallax” toward the periphery of the image. This method has a lower calculation cost than FIG.
[0122]
FIG. 24 shows another example of the correction map. This map also changes the parallax, and the vicinity of the center of the image is not touched with the normal parallax, and the parallax is gradually reduced in the other parallax correction areas. FIG. 25 shows the camera position that the camera placement determination unit 132 changes according to this map. When the camera direction deviates greatly from the front, the position of the left camera is shifted to the right camera for the first time and “small parallax” is added.
[0123]
FIG. 26 conceptually shows another example of the correction map. This map corrects the sense of distance from the viewpoint to the object, and in order to realize this, the camera arrangement determining unit 132 adjusts the optical axis crossing distance of the two cameras. If the optical axis crossing distance is reduced as it goes to the periphery of the image, the object appears to be relatively recessed in the distant direction, so that the object is achieved particularly in the sense of reducing the near parallax. In order to reduce the optical axis crossing distance, the camera arrangement determining unit 132 may change the optical axis direction of the camera, and may change the direction of one of the cameras. FIG. 27 shows the change of the optical axis crossing position or the optical axis crossing surface 210 when a two-dimensional image is generated by the map of FIG. The optical axis crossing surface 210 is closer to the camera as it is closer to the image.
[0124]
FIG. 28 shows another correction map related to the sense of distance, and FIG. 29 shows how the camera arrangement determining unit 132 changes the optical axis crossing plane 210 in accordance with an instruction from the distortion processing unit 136 according to the map of FIG. In this example, the object is placed at the normal position without correction in the center area of the image, and the position of the object is corrected in the peripheral area of the image. For that purpose, in FIG. 29, the optical axis crossing surface 210 does not change near the center of the image, and the optical axis crossing surface 210 approaches the camera after a certain point. In FIG. 29, only the left camera is changed in direction.
[0125]
30A to 30F show another distortion conversion by the distortion processing unit 136. FIG. Unlike the previous examples, instead of changing the camera position, the camera coordinate system directly distorts the 3D space itself. 30A to 30F, the rectangular area is a top view of the original space, and the hatched area is a top view of the space after conversion. For example, the point U in the original space in FIG. This means that this point has been moved away. In FIG. 30 (a), the space is crushed in the direction of the arrow in the depth direction as it goes to the peripheral part, and the distance closer to a certain sense of distance, like the point W in FIG. I feel a sense. As a result, the sense of distance is uniform at the periphery of the image, and there are no objects that are particularly close to the image. This solves the double image problem and makes it easy to adapt to the user's physiology.
[0126]
30 (b), 30 (c), 30 (d), and 30 (e) all show modified examples of conversion that brings the sense of distance close to a constant value at the periphery of the image, and FIG. An example is shown in which all points are converted in the distant direction.
[0127]
FIG. 31 shows the principle for realizing the conversion of FIG. The rectangular parallelepiped space 228 includes a space where the projection processing of the first camera 22 and the second camera 24 is performed. The view volume of the first camera 22 is determined by the angle of view of the camera, the front projection plane 230, and the rear projection plane 232, and that of the second camera 24 is determined by the angle of view of the camera, the front projection plane 234, and the rear projection plane. 236. The distortion processing unit 136 performs distortion conversion on the rectangular parallelepiped space 228. The origin is the center of the rectangular parallelepiped space 228. In the case of the multi-lens type, the conversion principle is the same just by adding more cameras.
[0128]
FIG. 32 shows an example of distortion conversion, which employs reduction conversion in the Z direction. Actually, processing is performed on each object in the space. FIG. 33 expresses this conversion as a parallax correction map. The parallax is normal parallax, the parallax decreases as the absolute value of X increases, and X = ± A indicates no parallax. Here, since the reduction conversion is performed only in the Z direction, the conversion formula is as follows.
[Expression 1]
Figure 0003857988
The conversion will be described with reference to FIG. First, consider the range of X ≧ 0 and Z ≧ 0. When the point (X0, Y0, Z0) is moved to the point (X0, Y0, Z1) by the reduction process, the reduction ratio Sz is
Figure 0003857988
It is. The coordinates of C are (X0, Y0, 0) and the coordinates of D are (X0, Y0, B).
E is the intersection of the straight line and the plane. If the coordinates are (X0, Y0, Z2), Z2 can be obtained as follows.
[0129]
Z = B−X × B / A (plane)
X = X0, Y = Y0 (straight line)
Z2 = B−X0 × B / A
Therefore,
Figure 0003857988
In general for X,
Sz = 1-X / A
It becomes. If the same calculation is performed for other ranges of X and Z, the following results are obtained and the conversion can be verified.
[0130]
When X ≧ 0, Sz = 1−X / A
When X <0, Sz = 1 + X / A
FIG. 35 shows another example of distortion conversion. Strictly speaking, taking into account that radiography is performed from the camera, reduction processing in the X-axis and Y-axis directions is also combined. Here, conversion is performed with the center of the two cameras as the representative of the camera position. The conversion formula is as follows.
[Expression 2]
Figure 0003857988
FIG. 36 verifies this conversion. Again, consider the range of X ≧ 0 and Z ≧ 0. When the point (X0, Y0, Z0) is moved to the point (X1, Y1, Z1) by the reduction process, the reduction ratios Sx, Sy, Sz are
Figure 0003857988
It becomes. Since E is an intersection of a plane and a straight line, Sx, Sy, and Sz can be obtained as described above.
[0131]
If the converted space is represented by a set of planes as described above, the processing changes at the boundary of the tangents between the surfaces, and a sense of incongruity may occur in some cases. In that case, the space may be constituted by a curved surface or a curved surface alone. The calculation is merely changed to one for obtaining the intersection E between the curved surface and the straight line.
[0132]
In the above example, the reduction ratio is the same on the same straight line CD, but weighting may be performed. For example, a weighting function G (L) for the distance L from the camera may be applied to Sx, Sy, and Sz.
[0133]
FIGS. 37 to 40 show processing by the distortion processing unit 174 of the third stereoscopic image processing apparatus 100 and its principle.
FIG. 37 shows a depth map of an image with depth information input to the third stereoscopic image processing apparatus 100. Here, it is assumed that the depth range has values of K1 to K2. Here, the near depth is positive and the far depth is negative.
[0134]
FIG. 38 shows the relationship between the original depth range 240 and the converted depth range 242. The depth approaches a certain value as it goes to the periphery of the image. The distortion processing unit 174 converts the depth map according to this correction. The same applies to the case where parallax is provided in the vertical direction. Since this conversion is also only reduction in the Z direction, it can be expressed by the following equation.
[Equation 3]
Figure 0003857988
Sz is classified according to the value of X.
When X ≧ 0, Sz = 1−2X / L
When X <0, Sz = 1 + 2X / L
It becomes. By the above conversion, a new depth map having new elements shown in FIG. 39 is generated.
[0135]
FIG. 40 shows another distortion transformation principle for the depth map. More strictly speaking, the space is observed from the user 10 in a radial manner, so that the reduction processing in the X-axis and Y-axis directions is also combined. Here, the center between the eyes is the observation position. The specific processing is the same as in the case of FIG. The original depth map has only a Z value, but when this calculation is performed, the X value and the Y value are also held. The Z value is converted into a pixel shift amount in the X direction or the Y direction, but the X value and the Y value may be held as offset values for them.
[0136]
In any case, the original image with the depth map converted by the distortion processing unit 174 is input to the two-dimensional image generation unit 178, where a composition process shifted in the horizontal direction so as to obtain an appropriate parallax is performed. Details thereof will be described later.
[0137]
41 to 51 show the processing of the position shift unit 160 of the second stereoscopic image processing apparatus 100 and the two-dimensional image generation unit 178 of the third stereoscopic image processing apparatus 100 that can be grasped as an extension thereof.
FIG. 41 shows the principle of shifting the combined position of two parallax images by the position shift unit 160. As shown in the figure, the positions of the right eye image R and the left eye image L match in the initial state. However, when the left eye image L is relatively shifted to the right as shown in the upper part of the figure, the parallax at the near point increases and the parallax at the far point decreases. Conversely, when the left eye image L is shifted relatively to the left as shown in the lower part of the figure, the parallax at the near point decreases and the parallax at the far point increases.
[0138]
The above is the essence of parallax adjustment by shifting the parallax image. One image may be shifted, or both may be shifted in opposite directions. From this principle, it can be seen that the stereoscopic display method can be applied to all methods using parallax, regardless of the glasses method or the glassesless method. Similar processing can be performed for multi-view images and vertical parallax.
[0139]
FIG. 42 shows the shift process at the pixel level. The left eye image 200 and the right eye image 202 both include a first square 250 and a second square 252. The first square 250 has a near parallax, and when the parallax amount is expressed as a positive number, it becomes “6 pixels”. On the other hand, the second square 252 has a distant parallax. When the parallax amount is expressed as a negative number, it becomes “−6 pixels”. Here, let this amount of parallax be F2 and F1, respectively.
[0140]
On the other hand, it is assumed that the appropriate parallax of the display device owned by the user is J1 to J2. The position shift unit 160 shifts the synthesis start position of both images by (J2-F2) pixels. FIG. 43 shows a state after the end of the shift. Now, assuming that F1 = −6 and F2 = 6, and J1 = −5 and J2 = 4, the composition start positions are −2 pixels, that is, It is shifted in the direction in which the whole shifts in the distant direction. As shown in FIG. 43, the final amount of parallax is E1 = −8 and E2 = 4, and at least falls within the limit parallax with respect to the close-up direction. In general, the double image in the close-up direction is more uncomfortable compared to the distant direction, and the subject is often photographed in the close-up direction. It is desirable to keep the directional parallax within limits. A processing example is shown below.
1. When the near point is outside the limit parallax and the far point is within the limit parallax, the near point is shifted to the limit parallax point. However, the processing is stopped when the disparity parallax reaches the interocular distance. 2. When the near point is outside the limit parallax and the far point is outside the limit parallax, the near point is shifted to the limit parallax point. However, the processing is stopped when the disparity parallax reaches the interocular distance. 3. If neither the near point nor the far point is within the limit parallax, no processing is performed.
4). If the near point is within the limit parallax and the far point is outside the limit parallax, the far point is shifted to the limit parallax point, but if the near point reaches the limit parallax point during the process, the processing is stopped. .
[0141]
FIG. 44 shows the missing image edge due to the shift of the composite position. Here, the shift amount of the left eye image 200 and the right eye image 202 is one pixel, and a missing portion 260 having a width of one pixel occurs at the right end of the left eye image 200 and the left end of the right eye image 202, respectively. At this time, the image edge adjustment unit 168 compensates the number of horizontal pixels by duplicating the pixel line at the image edge as shown in FIG.
[0142]
As another method, the missing portion 260 may be displayed in a specific color such as black or white, or may be hidden. Further, clipping and adding processing may be performed so as to be the same as the size of the initial image. Also, it may be considered that the size of the initial image is made larger than the actual display size in advance so that the missing portion 260 does not affect the display.
[0143]
FIG. 45 is a flow of manual adjustment of parallax by the second stereoscopic image processing apparatus 100. As shown in the figure, first, left and right images are manually created as parallax images (S10), and distributed through a network or other route (S12). This is received by the second stereoscopic image processing apparatus 100 (S14), and in the example of this figure, first, the images are synthesized and displayed as they are in the normal state without shifting (S16). That is, here, the case where the appropriate parallax has not yet been acquired or the case where the position shift unit 160 is not operated is considered. Subsequently, the user instructs the parallax image displayed stereoscopically via the stereoscopic effect adjustment unit 112 to adjust the parallax, and the position shift unit 160 receives this in the “manual adjustment mode” and adjusts the image synthesis position. Are displayed (S18). S10 and S12 are the procedure 270 for the image creator, and the procedure after S14 is the procedure 272 for the second stereoscopic image processing apparatus 100. Although not shown, if this shift amount is recorded in the header and is synthesized by referring to it from the next time, the labor of readjustment can be saved.
[0144]
FIG. 46 shows a flow of automatic adjustment by the second stereoscopic image processing apparatus 100. The left and right image generation (S30) and image distribution (S32), which are image creator procedures 270, are the same as those in FIG. Also, the image reception (S34) is the same in the procedure 272 of the second stereoscopic image processing apparatus 100. Next, the parallax preliminarily added between the parallax images, particularly the maximum parallax, is detected by the matching unit 158 of the parallax amount detection unit 150 (S36), while appropriate parallax, especially the critical parallax is acquired from the parallax information holding unit 120. (S38). Thereafter, the position shift unit 160 shifts the composite position of the image so as to satisfy the limit parallax by the above-described processing (S40), and the stereoscopic display is performed through the processing by the parallax writing unit 164, the image edge adjustment unit 168, and the format conversion unit 116. (S42).
[0145]
FIG. 47 shows a flow of still another automatic adjustment by the second stereoscopic image processing apparatus 100. After the left and right images are generated in the image creator procedure 270 (S50), the maximum parallax is detected at this time (S52) and recorded in the header of one of the viewpoint images of the parallax image (S54). This detection may be performed by corresponding point matching. However, when the creator manually generates the parallax image, it is naturally known in the editing process, and therefore this may be recorded. Thereafter, the image is distributed (S56).
[0146]
On the other hand, in the procedure 272 of the second stereoscopic image processing apparatus 100, the image reception (S58) is the same as in FIG. Next, the above-described maximum parallax is read from the header by the header inspection unit 156 of the parallax amount detection unit 150 (S60). On the other hand, the limit parallax is acquired from the parallax information holding unit 120 (S62), and the following processes S64 and S66 are the same as the processes S40 and S42 of FIG. According to this method, there is no need to calculate the maximum parallax. In addition, it is possible to realize an appropriate stereoscopic effect for the entire image. Furthermore, since the shift amount can be recorded in the header, there is no possibility of damaging the original image itself. Although not shown, if the maximum parallax detected in FIG. 46 is recorded in the header, it can be processed in accordance with the procedure shown in FIG.
[0147]
Note that the same processing can be performed even in the multi-view method, and the same processing may be performed on the amount of parallax between adjacent viewpoint images. However, in practice, the shift amount of the synthesis position may be determined by regarding the maximum parallax among the parallaxes among the plurality of viewpoint images as the “maximum parallax” between all the viewpoint images.
[0148]
The header information may be in at least one of the multi-viewpoint images. However, when the multi-viewpoint image is combined into one image, the header of the image may be used.
[0149]
In some cases, images that have already been combined may be distributed. In that case, the images are separated by inverse transform processing once, and the combined position shift amount is calculated and recombined, or the result is the same. This sort processing may be performed.
[0150]
48 to 51 show processing for shifting the composite position for the image with depth information. This is performed by the two-dimensional image generation unit 178 of the third stereoscopic image processing apparatus 100. FIG. 48 and FIG. 49 are a plane image 204 and a depth map that constitute an image with depth information, respectively. Here, the near depth is represented as positive and the far depth is represented as negative. There are a first quadrangle 250, a second quadrangle 252 and a third quadrangle 254 as objects, the first quadrangle 250 is depth “4”, the second quadrangle 252 is “2”, and the third quadrangle 254 is “−4”. . The first square 250 is the nearest placement point, the second square 252 is the intermediate near placement point, and the third square 254 is the farthest placement point.
[0151]
Based on the original planar image 204, the two-dimensional image generation unit 178 first performs a process of shifting each pixel by the value of the depth map to generate the other viewpoint image. If the reference is the left eye image, the original planar image 204 becomes the left eye image as it is. The first square 250 is shifted to the left by 4 pixels, the second square 252 is shifted to the left by 2 pixels, and the third square 254 is shifted to the right by 4 pixels, and the right eye image 202 is created as shown in FIG. The image edge adjustment unit 168 fills the pixel information missing portion 260 due to the movement of the object with the neighboring pixels determined to be the background whose parallax is “0”.
[0152]
Subsequently, the two-dimensional image generation unit 178 calculates a depth that satisfies the appropriate parallax. If the depth range is K1 to K2 and the depth value of each pixel is Gxy, the depth map is changed from Hxy to Gxy in FIG. Further, it is assumed that the appropriate parallax of the display device owned by the user is J1 to J2. In this case, in the depth map, the depth value G of each pixel is converted as follows, and a new depth value Fxy is obtained.
[0153]
Fxy = J1 + (Gxy−K1) × (J2−J1) / (K2−K1)
In the above example, if K1 = −4, K2 = 4, and J1 = −3 and J2 = 2, the depth map of FIG. 49 is converted to the depth map of FIG. The That is, “4” is converted to “2”, “2” is converted to “1”, and “−4” is converted to “−3”. Intermediate values between K1 and K2 are converted between J1 and J2. For example, the second square 252 has Gxy = 2 and Fxy = 0.75. When Fxy does not become an integer, rounding off or processing that reduces the near parallax may be performed.
[0154]
Although the above conversion formula is an example of linear conversion, a weighting function F (Gxy) for Gxy is further applied, and various other nonlinear conversions are also conceivable. Also, it is possible to newly generate left and right images from the original planar image 204 by shifting the objects in opposite directions. In the case of a multi-view type, a similar process may be performed a plurality of times to generate a multi-viewpoint image.
[0155]
The above is the configuration and operation of the stereoscopic image processing apparatus 100 according to the embodiment. Although the stereoscopic image processing apparatus 100 has been described as an apparatus, this may be a combination of hardware and software, or may be configured only by software. In that case, it is convenient if an arbitrary part of the stereoscopic image processing apparatus 100 is made into a library and can be called from various programs. The programmer can skip programming that requires knowledge of 3D display. For the user, regardless of the software and contents, the operation related to stereoscopic display, that is, the GUI is common, and the set information can be shared by other software, so that the trouble of resetting can be saved.
[0156]
Note that it is useful not only for the processing related to stereoscopic display but also for sharing information among a plurality of programs. Various programs can determine the state of the image with reference to the information. An example of information to be shared is information acquired by the information acquisition unit 118 of the stereoscopic image processing apparatus 100 described above. This information may be held in a recording unit or correction map holding unit 140 (not shown).
[0157]
52 to 54 show an example in which the above-described stereoscopic image processing apparatus 100 is used as a library. FIG. 52 shows the usage of the stereoscopic display library 300. The stereoscopic display library 300 is referred to by calling functions from a plurality of programs A302, B304, C306, and the like. The parameter file 318 stores the appropriate parallax of the user in addition to the above information. The stereoscopic display library 300 is used by a plurality of apparatuses A 312, B 314, C 316, etc. via an API (Application Program Interface) 310.
[0158]
Examples of the program A302 and the like include a game, a so-called Web3D three-dimensional application, a three-dimensional desktop screen, a three-dimensional map, a two-dimensional image parallax image viewer, and a depth information-added viewer. Of course, some of the games use different coordinates, but the 3D display library 300 can handle this.
[0159]
On the other hand, as an example of the device A312 or the like, any stereoscopic display device using parallax, such as a binocular or multi-lens parallax barrier method, a shutter glasses method, or a polarized glasses method.
[0160]
FIG. 53 shows an example in which the stereoscopic display library 300 is incorporated in the three-dimensional data software 402. The three-dimensional data software 402 includes a program main body 404, a stereoscopic display library 300 for realizing appropriate parallax therefor, and a photographing instruction processing unit 406. The program body 404 communicates with the user via the user interface 410. The photographing instruction processing unit 406 virtually photographs a predetermined scene during the operation of the program body 404 in accordance with a user instruction. The captured image is recorded in the image recording device 412. Also output to the stereoscopic display device 408.
[0161]
For example, assume that the three-dimensional data software 402 is game software. In that case, the user can execute the game while experiencing an appropriate stereoscopic effect by the stereoscopic display library 300 during the game. If the user wants to keep a record during the game, for example, when the player wins a complete battle game, an instruction is given to the shooting instruction processing unit 406 via the user interface 410 and the scene is recorded. At this time, using the stereoscopic display library 300, a parallax image is generated so as to have an appropriate parallax when played back later on the stereoscopic display device 408, and this is recorded in an electronic album or the like of the image recording device 412. Note that recording is performed with a two-dimensional image called a parallax image, so that the three-dimensional data itself of the program body 404 does not flow out, and it is possible to consider copyright protection.
[0162]
FIG. 54 shows an example in which the three-dimensional data software 402 of FIG. 53 is incorporated into a network-based system 430.
The game machine 432 is connected to the server 436 and the user terminal 434 via a network (not shown). The game machine 432 is for an arcade game, and includes a communication unit 442, three-dimensional data software 402, and a stereoscopic display device 440 that locally displays the game. The three-dimensional data software 402 is the one shown in FIG. The parallax image displayed on the stereoscopic display device 440 from the three-dimensional data software 402 is optimally set in advance for the stereoscopic display device 440. The parallax adjustment by the three-dimensional data software 402 is used when an image is transmitted to the user via the communication unit 442 as described later. The display device used here only needs to have a function of adjusting a parallax and generating a stereoscopic image, and does not necessarily have to be a device capable of stereoscopic display.
[0163]
The user terminal 434 includes a communication unit 454, a viewer program 452 for viewing a stereoscopic image, and a stereoscopic display device 450 of any size and type for locally displaying the stereoscopic image. The viewer program 452 includes the stereoscopic image processing apparatus 100.
[0164]
The server 436 associates the communication unit 460, an image holding unit 462 that records images virtually taken by the user in connection with the game, the user's appropriate parallax information, the user's email address, and other personal information with the user. A user information holding unit 464 for recording. The server 436 functions as an official game site, for example, and records a scene that the user likes during the game, a moving image or a still image of a famous game. The stereoscopic display can be either a moving image or a still image.
[0165]
An example of image capturing in the above configuration is performed as follows. The user performs stereoscopic display on the stereoscopic display device 450 of the user terminal 434 in advance, acquires appropriate parallax based on the function of the stereoscopic image processing device 100, notifies the server 436 of this via the communication unit 454, and transmits user information. It is stored in the holding unit 464. This appropriate parallax is a general-purpose description not related to the hardware of the stereoscopic display device 450 owned by the user.
[0166]
The user plays a game with the game machine 432 at an arbitrary timing. In the meantime, the stereoscopic display device 440 performs stereoscopic display using the parallax initially set or the parallax manually adjusted by the user. When the user wishes to record an image during game play or replay, the 3D display library 300 built in the 3D data software 402 of the game machine 432 is stored in the server 436 via the two communication units 442 and 460. A parallax image related to an image virtually acquired by the image holding unit 462 via the two communication units 442 and 460 is acquired again by acquiring the appropriate parallax of the user from the user information holding unit 464 and generating a parallax image accordingly. Is stored. If the user returns to the home and then downloads the parallax image to the user terminal 434, the stereoscopic display can be performed with a desired stereoscopic effect. Even in this case, the parallax can be manually adjusted by the stereoscopic image processing apparatus 100 included in the viewer program 452.
[0167]
As described above, according to this application example, the programming related to the stereoscopic effect that must be set for each hardware of the display device and for each user is concentrated in the stereoscopic image processing device 100 and the stereoscopic display library 300. Programmers don't have to worry about any complex requirements for stereoscopic display. This applies not only to game software but also to arbitrary software that uses stereoscopic display, and it eliminates restrictions on the development of content and applications that use stereoscopic display. Therefore, the spread of these can be dramatically promoted.
[0168]
Especially for games and other applications that originally have 3D CG data, it has been difficult to code accurate 3D displays. In many cases, it was not used for stereoscopic display. According to the stereoscopic image processing apparatus 100 or the stereoscopic display library 300 according to the embodiment, such adverse effects can be removed, and the stereoscopic display application can be enhanced.
[0169]
In FIG. 54, the user's appropriate parallax is registered in the server 436, but the user may bring an IC card or the like on which the information is recorded to use the game machine 432. You may record the score about this game and the picture you like on this card.
[0170]
The present invention has been described based on the embodiments. This embodiment is an exemplification, and it will be understood by those skilled in the art that various modifications can be made to combinations of the respective constituent elements and processing processes, and such modifications are also within the scope of the present invention. is there. Here are some examples.
[0171]
The first stereoscopic image processing apparatus 100 can perform processing with high accuracy by inputting three-dimensional data. However, it is also possible to drop the three-dimensional data into an image with depth information and generate a parallax image using the third stereoscopic image processing apparatus 100. In some cases, it may be less computationally expensive. Similarly, when inputting a plurality of viewpoint images, it is also possible to create a depth map by using matching point matching with high accuracy. A parallax image may be generated using the image processing apparatus 100.
[0172]
In the first stereoscopic image processing apparatus 100, the temporary camera arrangement unit 130 is configured as the stereoscopic image processing apparatus 100, but this may be preprocessing of the stereoscopic image processing apparatus 100. This is because processing up to the temporary placement of the camera can be performed regardless of the appropriate parallax. Similarly, arbitrary processing units constituting the first, second, and third stereoscopic image processing apparatuses 100 can be taken out of the stereoscopic image processing apparatus 100, and the degree of freedom of the configuration of the stereoscopic image processing apparatus 100 is allowed. Will be understood by those skilled in the art.
[0173]
In the embodiment, the case where the parallax control is performed in the horizontal direction has been described, but the same processing can also be performed in the vertical direction.
[0174]
During the operation of the stereoscopic display library 300 and the stereoscopic image processing apparatus 100, a unit for enlarging the character data may be provided. For example, in the case of a parallax image with two horizontal viewpoints, the horizontal resolution of an image visible to the user is halved. As a result, the readability of the characters can be reduced, and therefore a process of extending the characters twice in the horizontal direction is effective. When there is parallax in the vertical direction, it is also useful to extend the character in the vertical direction as well.
[0175]
During the operation of the stereoscopic display library 300 and the stereoscopic image processing apparatus 100, an “in-operation display unit” that puts characters and marks such as “3D” in a displayed image may be provided. In this case, the user can know whether or not the image can adjust the parallax.
[0176]
A stereoscopic display / normal display switching unit may be provided. This unit includes a GUI. When the user clicks a predetermined button, the display is switched from the stereoscopic display to the normal two-dimensional display and vice versa.
[0177]
The information acquisition unit 118 does not necessarily acquire information by user input, but may include information that can be automatically acquired by a function such as plug and play.
[0178]
In the embodiment, a method of deriving E and A is used. However, a method of deriving other parameters by fixing these may be used, and designation of variables is free.
[0179]
We propose another expression method for 3D display. In general planar image display, there is a limit in terms of reality in the expression in the depth direction, in particular, where “an object passes through a certain interface”. In addition, it is difficult for the observer to recognize that there is an interface that actually separates the space on the surface of the window. Therefore, as described below, the stereoscopic image display device can display an object in a three-dimensional manner so that an entity such as a screen or a frame matches the interface on the object represented in the image. Thus, a new expression method is born by such a display. In general, the display screen and its surrounding frame are visually recognized, so a display method that uses this like a window can be considered, and it is possible to specify the interface between space and space or a plate-like object on that surface. Is required. In this case, the optical axis crossing position D is designated in the positional relationship shown in FIG.
[0180]
In the positional relationship of the imaging system shown in FIG. 18, when the near parallax and the far parallax in the basic expression space T are P and Q, respectively,
E: S = P: A
E: S + T = Q: TA
The following relational expression was obtained. Solving these relational expressions for the near parallax and the far parallax,
E = PS / A
E = Q (S + T) / (TA)
Is obtained. By selecting the smaller E of these two Es, a stereoscopic image with an appropriate parallax range can be obtained.
[0181]
FIG. 55 shows a state in which an image composed of three-dimensional data is displayed on the display screen 400. In this image, one glass surface 401 of the aquarium 410 coincides with the display screen 400, and it is expressed that the fish 301 is swimming in the aquarium 410. If the processing is performed so that the far space from the display screen 400 becomes the far space and the near space is the near space, the fish 301 is normally represented as swimming in the far space as shown in FIG. Occasionally, as shown in FIG. 57, an expression such as “fish 301 breaks through display screen 400 and appears in the near space” can be made. Further, when the fish 301 passes through the display screen 400, for example, it can be expressed as “spray splashes from the periphery of the display screen 400 and the interface is regenerated when the fish 301 passes through”. As an example of another expression, for example, “There is no water in the near space in front of the display screen, so the fish 301 becomes suffocating when swimming in the near space for a while, and again penetrates the interface, that is, the display screen 400, and the far space. You can also say "Return to."
[0182]
It is not always necessary to regenerate the broken interface when the object passes through the interface, and then the interface remains broken or the interface is deformed in accordance with the collision of the object. It is clear that various expressions relating to the interaction between the interface and the object can be made, such as not passing, further transmitting only the shock at that time, and applying an electric shock as an effect on the image. Further, the interface may be a single surface, but a plate-like object such as glass or a thin object such as paper may be disposed. Further, the interface does not have to be completely coincident with the display screen, and may be in the vicinity thereof. It is clear that the above-described expression effect cannot sufficiently convey the situation to the observer with a flat image. In particular, when the original data serving as the starting point of the stereoscopic image is three-dimensional data, editing for expressing the effects as described above is facilitated.
[0183]
Such an expression for matching the interface of the object to be displayed with the display screen can be generated by the method shown in FIG. That is, the virtual water tank 410 is arranged in the three-dimensional space, and two images having parallax are generated from the two virtual cameras 430 and 440 arranged on the left side thereof. At that time, the optical axis crossing positions of the two virtual cameras 430 and 440 are made to coincide with one surface of the aquarium. Such an image can also be taken as shown in FIG. Two virtual cameras 430 and 440 are arranged above the actual water tank 410 to photograph the water tank 410. At that time, the optical axis crossing positions of the two cameras are made to coincide with the water surface.
[0184]
FIG. 60 shows a configuration of the fourth stereoscopic image processing apparatus 100 for realizing the above processing. The stereoscopic image processing apparatus 100 has a configuration in which an object specifying unit 180 is further provided in the stereoscopic effect adjusting unit 112 of the first stereoscopic image processing apparatus 100 shown in FIG. The object designating unit 180 performs processing for positioning or matching the interface of the object designated by the user near the display screen. Here, the user is assumed to be a producer of a stereoscopic image, and the above-described processing is performed at the time of producing or editing a stereoscopic image. Note that the user may be an observer.
[0185]
First, the processing procedure for the stereoscopic image processing apparatus 100 shown in FIG. 60 will be described. The object designation unit 180 receives designation of an object corresponding to the optical axis crossing planes of the two virtual cameras 430 and 440 from a user by a predetermined input device such as a mouse and notifies the parallax control unit 114 of the designated object. The parallax control unit 114, more specifically, the camera arrangement determination unit 132 adjusts the plane of the object designated by the user so that it becomes the optical axis intersection plane of the two virtual cameras 430 and 440. Operations other than this processing may be the same as the operations of the stereoscopic image processing apparatus 100 shown in FIG. Information indicating that the object is displayed in the vicinity of the display screen is added to the object thus determined. At the time of display, it is read out as appropriate to determine the optical axis crossing distance D, and the inter-camera distance E is determined by the processing described above.
[0186]
In addition, we propose another expression method. When there are a plurality of objects to be displayed on the display screen, it is not always necessary to keep all the objects within the appropriate parallax. Sometimes, for effective display, some objects may be displayed under certain conditions, for example, for a certain period, excluding the appropriate parallax conditions. As described above, the basic expression space is determined for the static object as the method. More specifically, for each object, whether the object should be expressed in the basic expression space including the object to be stereoscopically displayed is determined. Information to be discriminated (hereinafter also simply referred to as “identification information”) may be provided. The object to be expressed in the basic expression space is also referred to as “basic expression space calculation object”. Based on this identification information, the basic expression space may be determined as needed.
[0187]
If the identification information is configured so that it can be changed as needed, it is possible to flexibly set conditions for removing from the appropriate parallax. For example, if the identification information describes the specification of the time to be removed from the appropriate parallax condition, it is possible to automatically return to the appropriate parallax range after the specified time has passed.
[0188]
A method for temporarily removing some objects from the appropriate parallax condition and displaying them on the display screen will be described below. For example, in the first stereoscopic image processing apparatus 100 shown in FIG. 11, the camera placement determination unit 132 corrects the temporarily set camera parameter according to the appropriate parallax, but if the function is further expanded as follows. Good. That is, the camera arrangement determining unit 132 reads identification information associated with each object, and arranges camera parameters in a manner that reflects the identification information.
[0189]
In addition, another expression method is proposed. When the front and back of the basic expression space, that is, the front projection plane that is the near limit and the rear projection plane that is the limit limit are determined by an object, an expression that moves in the space before and after the space corresponding to the object become unable. FIG. 61 shows the depth direction, particularly the basic expression space T, for the sake of convenience regarding the image displayed by the fourth stereoscopic image processing apparatus 100. A front projection plane 310 is set on the left side of the drawing, and a rear projection plane 312 is set on the right side. A basic expression space T is defined between the front projection plane 310 and the rear projection plane 312. Within the basic expression space T, a house 350 is represented as a stationary object on the front projection plane 310 side, and a tree 370 is represented on the rear projection plane 312 side. Furthermore, a bird 330, which is a dynamic object, moves forward in the space above these two stationary objects. If the bird 330 moves within the range of the basic expression space T, its movement can be expressed. However, when the bird 330 reaches the front projection plane 310 or the rear projection plane 312, the bird 330 thereafter moves to the left side of FIG. The object is located on the front projection plane, or the rear projection plane 312 (not shown), like the bird 330 shown in FIG. 5, and the bird 330 is fixed at the maximum parallax and cannot move further forward or backward in the real space. If the object can be expressed as if it is moving as much as possible, it is possible to maintain a sense of reality for the object.
[0190]
As described above, a process of removing a dynamic object from the target of the basic expression space T can be considered. However, the user may feel uncomfortable except for aiming at an effect as described above, and the basic expression space T It is often preferable to express in the range of.
[0191]
Therefore, as shown in FIG. 62, a region where no object exists is included in the basic expression space T. In FIG. 62, a space where nothing exists is provided as a part of the basic expression space T further in front of the stationary object house 350 in the front, and the bird 330 that is a dynamic object can move in front of the house 350. It is what I did. FIG. 63 further provides a space where nothing exists behind the still object tree 370 placed behind as a part of the basic expression space T. FIG. Thereby, for example, even if the bird 330 which is a dynamic object moves from behind and exceeds the position corresponding to the front surface of the house 350, the bird 330 is located within the range of the basic expression space T. Even if it moves, it is expressed with an appropriate parallax, and the observer who is the user does not feel uncomfortable regarding the movement.
[0192]
Also, as shown in FIG. 64, for example, a moving object 390 is formed as a target for calculating parallax in a form that includes not only the bird 330 but also the front and back spaces. When the forefront surface of the moving object 390 reaches the front projection plane 310, only the bird 330 is moved. In that case, for example, by lowering the moving speed of the bird 330 than the original speed, the time until the bird 330 reaches the front projection surface 310 immediately and the subsequent movement cannot be expressed can be delayed.
[0193]
As shown in FIG. 65, for example, after the moving object 390 exceeds the front projection plane 310, the bird 330 may be moved in a previously included space. As a result, the maximum parallax is determined by the moving object 390, and the bird 330 gradually approaches the maximum parallax, so that it can continue to move forward in the real space. This can be realized by determining whether to enable or disable moving according to the position of the object, that is, the bird 330. The moving speed may be set to any of the originally assumed moving speed, a fast speed, and a slow speed, and various expressions are possible by giving the moving speed flexibility. For example, moving closer to the end of the moving object 390 can change the moving speed slower, thereby expressing forward movement while preventing the parallax amount from becoming excessively large in the front-rear direction.
[0194]
Also, if another object appears before or after that, the maximum parallax will now depend on that object, so the bird 330 is returned to its original position in the moving object 390 little by little.
[0195]
Next, the principle of preventing a sudden change in parallax while changing the maximum parallax will be described with reference to FIGS. 17 and 18 described above. As mentioned above,
tan (φ / 2) = M tan (θ / 2) / L
E: S = P: A
P = 2 (S + A) tan (φ / 2)
From these equations, the parallax amount on the near side of an object is
M = LEA / (2S (A + S) tan (θ / 2))
It can be expressed as. Here, when the object moves forward, if the camera setting is not changed, A increases and S decreases, so that the amount of parallax increases.
[0196]
Here, when the object moves forward, M becomes M ′, S becomes S ′, and A becomes A ′.
M ′ = LEA ′ / (2S ′ (A ′ + S ′) tan (θ / 2))
M <M '
It can be expressed as.
[0197]
Change E and A 'in the camera settings,
M ″ = LE ″ A ″ / (2S ′ (A ″ + S ′) tan (θ / 2))
And convert this time
M <M "<M '
If the above relationship is satisfied, a sudden change in the amount of parallax can be prevented when stereoscopically displaying an object moving toward the observer. Only one of E and A ′ may be changed. At this time, M ″ is
M ″ = LE ″ A ′ / (2S ′ (A ′ + S ′) tan (θ / 2))
Or
M ″ = LEA ″ / (2S ′ (A ″ + S ′) tan (θ / 2))
It is expressed.
[0198]
To prevent a sudden change in the amount of parallax when moving toward the back of the object,
M> M "> M '
Satisfy this relationship.
[0199]
Also, the same applies to the disparity amount N on the far side.
N = LE (TA) / (2 (T + S) (A + S) tan (θ / 2))
And, similarly,
N ′ = LE (TA ′) / (2 (T + S ′) (A ′ + S ′) tan (θ / 2))
N ″ = LE ″ (TA −) ″ / (2 (T + S ′) (A ″ + S ′) tan (θ / 2))
Ask for. here
N> N "> N '
If the above relationship is satisfied, the movement speed on the actual coordinates against the movement of the object toward the observer can prevent a sudden change in the amount of parallax,
N <N "<N '
If this relationship is satisfied, a sudden change in the amount of parallax can be prevented with respect to the movement toward the back of the object.
[0200]
The configuration of the stereoscopic image display apparatus 100 that realizes the expression method as shown in FIGS. 61 to 65 will be described above. This stereoscopic image display apparatus 100 can be realized by the stereoscopic image display apparatus 100 shown in FIG. However, when correcting the camera parameters temporarily set according to the appropriate parallax, the camera arrangement determining unit 132 obtains information regarding the range to be calculated in the basic expression space and information regarding the change in the parallax amount of the object from the original data. It has a function to read and reflect it in camera parameters. This information may be included in the original data itself, or may be held in the parallax information holding unit 120, for example.
[0201]
In the embodiment, for example, when it is determined that the parallax is too large by the appropriate parallax processing with respect to a correct parallax state in which the sphere looks correct, the parallax of the stereoscopic image is processed to be small. At this time, the sphere looks like a shape collapsed in the depth direction, but generally the discomfort for such display is small. Since a person is usually accustomed to seeing a flat image, if the parallax is between 0 and a correct parallax, the person often does not feel discomfort.
[0202]
On the other hand, if it is determined that the parallax of the stereoscopic image is too small by the appropriate parallax processing for a parallax state in which the sphere looks correct, the parallax is processed to increase. At this time, for example, the sphere looks like a shape that swells in the depth direction, and a person may feel a sense of discomfort greatly for such a display.
[0203]
When a single object is displayed in 3D, the above-mentioned phenomenon is likely to make the person feel uncomfortable. This is especially true when displaying objects that are viewed in real life, such as buildings and vehicles. Tend to be clearly recognized. Therefore, in order to reduce the sense of incongruity, it is necessary to add correction to a process that increases the parallax.
[0204]
When a three-dimensional image is generated from three-dimensional data, the parallax can be adjusted relatively easily by changing the arrangement of the cameras. A procedure for correcting parallax will be described based on FIGS. 66 to 71. Further, the correction of the parallax can be performed by the first to fourth stereoscopic image processing apparatuses 100 described above. Here, it is assumed that a stereoscopic image is generated from the three-dimensional data by the first stereoscopic image processing apparatus 100 shown in FIG. It should be noted that the above-described correction processing can also be realized by fourth and sixth stereoscopic image display devices 100 described later.
[0205]
FIG. 66 shows a state where an observer observes a stereoscopic image on a display screen 400 of a certain stereoscopic image display apparatus 100. The screen size of the display screen 400 is L, the distance between the display screen 400 and the observer is d, and the interocular distance is e. Further, the near limit parallax M and the far limit parallax N are obtained in advance by the stereoscopic effect adjusting unit 112, and the distance between the near limit parallax M and the far limit parallax N is an appropriate parallax. Here, only the near limit parallax M is displayed for easy understanding, and the maximum pop-out amount m is determined from this value. The pop-out amount m refers to the distance from the display screen 400 to the near point. Note that the units of L, M, and N are “pixels”, and unlike other parameters such as d, m, and e, it is necessary to make adjustments using a predetermined conversion formula. It is expressed in the same unit system.
[0206]
At this time, in order to display the sphere 21, it is assumed that the camera arrangement is determined by the camera arrangement determination unit 132 of the parallax control unit 114 as shown in FIG. 67 with reference to the nearest and farthest placement points of the sphere 21. . The distance between the optical axes of the two cameras 22 and 24 is D, and the distance between the cameras is Ec. However, in order to facilitate parameter comparison, the coordinate system is enlarged or reduced so that the expected width of the camera at the optical axis crossing distance matches the screen size L. At this time, for example, the camera interval Ec is equal to the interocular distance e, and the optical axis crossing distance D is smaller than the observation distance d. Then, in this system, as shown in FIG. 68, when the observer observes from the camera position shown in FIG. When the sphere 21 is observed by the stereoscopic image display device 100 based on an image generated by such a photographing system, the sphere 21 extending in the depth direction over the entire appropriate parallax range is observed as shown in FIG.
[0207]
A method for determining whether or not a three-dimensional image needs to be corrected using this principle will be described below. FIG. 70 shows a state in which the nearest placement point of a sphere whose distance from the display screen 400 is A is captured in the camera arrangement shown in FIG. At this time, the maximum parallax M corresponding to the distance A is obtained by two straight lines formed by connecting each of the two cameras 22 and 24 and the point where the distance A is located. Further, FIG. 71 shows the camera interval E1 necessary for obtaining the parallax M shown in FIG. 70, where d is the optical axis tolerance distance between the two cameras 22 and 24 and the cameras. This can be said to be a conversion in which all imaging system parameters other than the camera interval coincide with the observation system parameters. 70 and 71 hold the following relationship.
M: A = Ec: DA
M: A = E1: d−A
Ec = E1 (DA) / (dA)
E1 = Ec (d−A) / (DA)
Then, it is determined that correction is necessary so that the parallax becomes small when E1 is larger than the interocular distance e. Since E1 may be set to the interocular distance e, Ec may be corrected as in the following equation.
Ec = e (DA) / (dA)
[0208]
The same applies to the farthest placement point. In FIGS. 72 and 73, when the distance between the nearest placement point and the farthest placement point of the sphere 21 is T, which is the basic expression space,
N: TA = Ec: D + TA
N: TA = E2: d + TA
Ec = E2 (D + TA) / (d + TA)
E2 = Ec (d + TA) / (D + TA)
Further, when E2 is larger than the interocular distance e, it is determined that correction is necessary. Subsequently, since E2 may be set to the interocular distance e, Ec may be corrected as in the following equation.
Ec = e (D + TA) / (d + TA)
[0209]
Eventually, if the smaller one of the two Ec obtained from the nearest placement point and the farthest placement point is selected, the parallax does not become too large for both the near placement and the far placement. The camera is set by returning the selected Ec to the original coordinate system of the three-dimensional space.
[0210]
More generally,
Ec <e (DA) / (dA)
Ec <e (D + TA) / (d + TA)
The camera interval Ec may be set so as to satisfy the two equations. 74 and 75, on the two optical axes K4 connecting the two cameras 22 and 24 placed at the observation distance d at the distance of the interocular distance e and the closest point of the object, or The interval when the two cameras are arranged on the two optical axes K5 connecting the two cameras 22 and 24 and the farthest position is the upper limit of the camera interval Ec. That is, the two cameras 22 and 24 may be arranged so as to be included between the two optical axes K4 in FIG. 74 or the narrower one of the two optical axes K5 in FIG.
[0211]
Here, the correction is performed only by the camera interval without changing the optical axis crossing distance, but the optical axis crossing distance may be changed to change the position of the object, or the camera interval and the optical axis crossing distance may be changed. Both may be changed.
[0212]
Correction is also required when using a depth map. If the depth map value represents the shift amount of the point by the number of pixels, and the initial value, generally the value described in the original data is in a state that realizes optimal stereoscopic vision, the appropriate parallax processing, The above processing is not performed when it is necessary to increase the depth map value range, and the above processing is performed only when it is necessary to reduce the depth map value range, that is, when it is necessary to reduce the parallax. Just do it.
[0213]
If the initial value of the parallax is set to be small, the maximum allowable value may be held in the header area of the image and the appropriate parallax processing may be performed so as to be within the maximum allowable value. In these cases, hardware information regarding the appropriate distance is required, but higher-performance processing can be realized as compared with the processing that does not depend on the hardware information described above. The above processing can be used not only when the parallax is automatically set, but also when the parallax is set manually.
[0214]
In addition, the limit of parallax that an observer feels uncomfortable varies depending on the image. In general, in an image with little change in pattern or color and an edge that is conspicuous, crosstalk becomes conspicuous when the parallax is increased. Also, an image with a large luminance difference on both sides of the edge is conspicuous if cross parallax is increased. That is, when an image to be stereoscopically displayed, that is, a parallax image, or a viewpoint image has few high-frequency components, the user tends to feel uncomfortable when viewing the image. Therefore, it is preferable to frequency-analyze the image by a technique such as Fourier transform and correct the appropriate parallax according to the distribution of the frequency components obtained as a result of the analysis. That is, for an image with a large amount of high-frequency components, correction is performed so that the parallax is larger than the appropriate parallax.
[0215]
Furthermore, crosstalk is conspicuous in images with less movement. In general, it is often possible to know whether a file type is a moving image or a still image by examining the extension of the file name. Therefore, when it is determined as a moving image, the motion state may be detected by a known motion detection method such as a motion vector, and the appropriate amount of parallax may be corrected according to the state. That is, correction is performed on an image with little motion so that the parallax is smaller than the original parallax. On the other hand, no correction is applied to an image with much movement. Alternatively, when it is desired to emphasize the motion, correction may be made so that the parallax is larger than the original parallax. Note that the correction of the appropriate parallax is an example, and any parallax range determined in advance can be corrected. In addition, the depth map can be corrected, and the amount of shift of the synthesis position of the parallax image can be corrected.
[0216]
Further, these analysis results may be recorded in the header area of the file, and the stereoscopic image processing apparatus may read the header and use it when displaying the stereoscopic image from the next time.
[0217]
In addition, the amount of high-frequency components and the motion distribution may be ranked by actual stereoscopic vision by the creator or user of the image, or may be ranked by stereoscopic vision by a plurality of evaluators, and the average value is used. The ranking method may be used.
[0218]
In addition, it is not necessary to strictly observe the appropriate parallax, and it is not always necessary to calculate the camera parameter, and the parallax may be performed at regular time intervals or scene changes. This is particularly effective when performed by an apparatus having a low processing capacity. For example, when calculating camera parameters at regular intervals, in the case of generating a stereoscopic image from 3D data, in the first stereoscopic image processing apparatus 100, the parallax control unit 114 uses an internal timer to arrange the cameras at regular intervals. The determination unit 132 may be instructed to recalculate the camera parameters. As the internal timer, a reference frequency of a CPU that performs arithmetic processing of the stereoscopic image processing apparatus 100 may be used, or a dedicated timer may be separately provided.
[0219]
FIG. 76 shows a configuration of the fifth stereoscopic image processing apparatus 100 that realizes calculating an appropriate parallax according to the state of an image. Here, in the first stereoscopic image processing apparatus 100 shown in FIG. 11, an image determination unit 190 is newly provided. Since other configurations and operations are the same, differences will be mainly described. The image determination unit 190 analyzes the frequency component of the image to determine the amount of the high frequency component, and notifies the parallax control unit 114 of the parallax suitable for the image. If the original data is a moving image, the image determination unit 190 A scene determination unit 194 that notifies the parallax control unit 114 of the calculation timing of the camera parameters by detecting a scene change or detecting a motion in the image. The scene change may be detected using a known method.
[0220]
When the original data is a moving image, the processing load of the frequency component detection unit 192 increases when the process of adjusting the appropriate parallax is always performed according to the amount of the high frequency component of the image. There is a concern that the cost of the stereoscopic image processing apparatus 100 may increase if an arithmetic processing apparatus that matches the processing load is used. As described above, since the appropriate parallax does not need to be strictly strictly observed, the frequency component of the image is analyzed when the image changes greatly, such as a scene change, based on the detection result of the scene determination unit 190. As a result, the processing load of the image determination portion 190 can be reduced.
[0221]
When a plurality of virtual cameras are arranged in a three-dimensional space and a parallax image corresponding to each of the virtual cameras is generated, a region where no object information exists in the parallax images may occur. In the following, the principle of generating a region in which no object information exists in a parallax image will be described, and a method for solving it will be described, taking as an example the case where a stereoscopic image is generated starting from three-dimensional data. FIG. 77 shows the relationship between the temporary camera position S (Xs, Ys, Zs), the angle of view θ, and the first to third objects 700, 702, and 704 set by the producer who creates the three-dimensional data. Yes.
[0222]
The temporary camera position S (Xs, Ys, Zs) becomes the center of the virtual cameras when the respective parallax images are generated based on the plurality of virtual cameras (hereinafter also referred to as the camera group center position S). The first object 700 hits the background. Here, the creator views the angle of view so that the second and third objects 702 and 704 fall within the angle of view θ and the object information exists within the angle of view θ of the first object 700 that is the background image. θ and the camera group center position S are set.
[0223]
Next, with a predetermined program, the optical axis crossing position A (Xa, Ya, Za), which is the reference for the near and far positions, is obtained so that the desired parallax can be obtained as shown in FIG. Parameters of the two virtual cameras 722 and 724, specifically, camera positions and respective optical axes are determined. At this time, when the angle of view θ is equal to the previously determined value, at the camera positions of the two virtual cameras 722 and 724, for example, depending on the size of the first object that is the background image, as shown in FIG. Thus, the first and second object zero areas 740 and 742 in which no object information exists are generated.
[0224]
The first object zero area 740 is α in terms of angle, and the second object zero area 742 is β, and there is no object information in these angle ranges. Therefore, as shown in FIG. 79, the angle of view θ may be adjusted so that α and β are eliminated. That is, the larger value of α and β is subtracted from the angle of view θ. At this time, in order not to change the optical axis direction, the new field angle θ1 is determined from θ1 = θ1-2 × α or θ1-2 × β in order to reduce the value to be subtracted from both the left and right of the field angle θ. It is done. However, since α and β may not be immediately determined from the parallax image, the angle of view θ is adjusted little by little, and each time there is an area in which no object information exists in the parallax image. May be confirmed. In addition, the presence or absence of an area where no object information exists may actually be confirmed by whether or not there is data to be input to the pixels on the display screen. Further, the adjustment is not limited so that the object information exists in all the pixels only by adjusting the angle of view θ, but the camera interval E and the optical axis crossing position A may be changed.
[0225]
FIG. 80 is a flowchart showing a view angle adjustment process. This angle of view adjustment process can be realized by the first stereoscopic image display apparatus 100 shown in FIG. First, when original data serving as a starting point of a stereoscopic image is input to the stereoscopic image display apparatus 100, the temporary camera placement unit 130 determines the camera group center position S (S110). Subsequently, the camera arrangement determining unit 132 determines the camera angle of view θ based on the camera group center position S (S112), determines the camera interval E (S114), and the optical axis crossing position A of the virtual camera. Is determined (S116). Further, the camera arrangement determining unit 132 performs coordinate conversion processing on the original data based on the camera interval E and the optical axis crossing position A (S118), and determines whether or not the object information exists in all the pixels on the display screen. (S120).
[0226]
If there is a pixel with no object information (N in S120), correction is performed to slightly narrow the angle of view θ (S122), the process returns to S114, and thereafter, until the object information is present in all pixels, The processing from S114 to S120 is continued. However, when the adjustment is performed so that the object information exists in all the pixels only by correcting the angle of view θ, the determination process of the camera interval E in S114 and the determination process of the optical axis crossing position A in S116 are skipped. If object information exists for all pixels (Y in S120), this angle-of-view adjustment processing ends.
[0227]
In the above-described embodiment, the stereoscopic image generated mainly from the three-dimensional data has been described. Hereinafter, a method for expressing a stereoscopic image from a real image will be described. The difference between the case where the three-dimensional data is the starting point and the case where the three-dimensional data is the starting point is that there is no concept of the depth T of the basic expression space when the three-dimensional data is the starting point. This can be paraphrased as the depth range T in which proper parallax display is possible.
[0228]
As shown in FIGS. 17 and 18, parameters necessary for camera setting for generating a stereoscopic image are the camera interval E, the optical axis crossing distance A, the angle of view θ, and the front projection plane 30 which is the front of the basic expression space. There are six types: a distance S from the camera placement plane, that is, the viewpoint plane 208, a distance D of the optical axis crossing plane 210 from the viewpoint plane 208, and a depth range T. Between these, the following relational expression is satisfied.
E = 2 (S + A) tan (θ / 2) · (SM + SN + TN) / (LT)
A = STM / (SM + SN + TN)
D = S + A
Therefore, if three types are designated among the six types of parameters E, A, θ, S, D, and T, the remaining parameters can be calculated. In general, any parameter can be specified freely, but in the embodiment described above, θ, S, and T are specified, and E, A, and D are calculated. If θ and S are automatically changed, the enlargement ratio changes, and there is a risk that the expression intended by the programmer or the photographer may not be achieved. It is often not preferable to automatically determine these. T can also be a parameter representing the limitation of the expression range, and is preferably determined in advance. In the case of three-dimensional data, it is almost the same as changing any parameter. However, it differs in the case of live-action. Depending on the structure of the camera, the price varies greatly and the operability also changes, so it is desirable to change the parameters to be specified according to the application.
[0229]
FIG. 81 shows a relationship between a stereoscopic photograph photographing apparatus 510 that takes a stereoscopic photograph at an amusement facility, a photo studio, and the like and a subject 552. The stereoscopic photography apparatus 510 includes a camera 550 and a stereoscopic image processing apparatus 100. Here, the shooting environment is fixed. That is, the position of the camera 550 and the position of the subject 552 are determined in advance, and θ, S, and T are determined as parameters. This imaging system is a state in which the example shown in FIG. 18 is replaced with an actual camera 550. Two cameras 522 and 524 are provided in one camera 550, and only the camera 550 becomes a base point of a stereoscopic image. Two parallax images can be taken.
[0230]
FIG. 82 shows the configuration of the sixth stereoscopic image processing apparatus 100 that performs this processing. This stereoscopic image processing apparatus 100 is obtained by replacing the parallax detection unit 150 with a camera control unit 151 in the stereoscopic image processing apparatus 100 shown in FIG. The camera control unit 151 includes a lens interval adjustment unit 153 and an optical axis adjustment unit 155.
[0231]
The lens interval adjusting unit 153 adjusts the position of the two lenses 522 and 524 to adjust the camera interval E, more specifically, the lens interval E. Further, the optical axis adjustment unit 155 adjusts D by changing the optical axis directions of the two lenses 522 and 524. The subject 552 inputs appropriate parallax information of a stereoscopic image display device held at home or the like through a portable recording medium such as a memory or a card, or communication means such as the Internet. The information acquisition unit 118 receives the input of the appropriate parallax and notifies the camera control unit 151 of the input. In response to the notification, the camera control unit 151 calculates E, A, and D, and adjusts the lenses 522 and 524 so that the camera 550 captures an image with appropriate parallax. This is realized by sharing the processing of the stereoscopic display device on which the subject is displayed and the stereoscopic photography device 510 by the library.
[0232]
If you want to place the subject on the screen during display, you can also determine D and A and shoot the subject with the subject positioned at D. In this case, separate the appropriate parallax for near and far positions. It is sufficient to select the one where E becomes smaller. T may be larger than the range occupied by the subject. If there is a background, T may be determined including the background.
[0233]
In addition, the appropriate parallax information does not necessarily have to be checked with a stereoscopic image display device owned by the user who is the subject. For example, a desired stereoscopic effect may be selected with a typical stereoscopic image display device at the shooting site. This selection can be made by the stereoscopic effect adjusting unit 112. Alternatively, it is simply selected from items such as “on screen / distant / close” and “three-dimensionality: large / medium / small” and correspondingly held in the disparity information holding unit 120 in advance. Camera parameters provided may be used. The change of the optical axis crossing position may be changed by the mechanism structure, but may be realized by changing a range used as an image by using a high-resolution CCD (Charge Coupled Device). The function of the position shift unit 160 may be used for this processing.
[0234]
83, a camera 550 that can be moved to a place where a human cannot enter is installed, the camera 550 is operated by a remote operation using a controller 519, and a captured image is observed by a stereoscopic image display device 511. It shows how it is. The stereoscopic image display device 511 incorporates the stereoscopic image display device 100 having the configuration shown in FIG.
[0235]
The camera 550 has a mechanism capable of automatically adjusting the lens interval E. The camera 550 has an optical zoom function or an electronic zoom function, which determines θ. However, the amount of parallax changes by this zoom operation. In general, the farther the image is taken, the smaller the angle formed by the optical axes between the viewpoints at the time of display. Therefore, at the lens interval E, the parallax becomes small and the stereoscopic effect becomes poor. Therefore, it is necessary to appropriately change camera settings such as the lens interval E and the zoom amount. Here, camera settings are automatically controlled in such a case, and complicated camera settings are greatly reduced. Note that the controller 519 may be used to adjust camera settings.
[0236]
When the operator first operates the optical zoom or the electronic zoom using the controller 519, θ is determined. Next, the camera 550 is moved to display the subject to be photographed in the center of the stereoscopic display device 511. The camera 550 focuses on the subject by the autofocus function and simultaneously acquires the distance. In the initial state, this distance is D. That is, the camera 550 is automatically set so that the subject appears to be positioned near the display screen. The range of T can be changed manually, and the operator designates the distribution in the depth direction of the object whose context is to be grasped in advance. Thus, θ, D, and T are determined. Thereby, E, A, and S are determined from the three relational expressions shown above, and the camera 550 is automatically adjusted appropriately. In this example, since S is determined later, it is uncertain which range T will eventually become. Therefore, T should be set large to some extent.
[0237]
If it is desired to display the subject at the edge of the screen, the subject is once displayed in the center, a predetermined button is pressed so that the focus and D can be fixed, and then the orientation of the camera 550 is changed. If the focus and D can be changed manually, the depth position of the subject can be freely changed.
[0238]
FIG. 84 shows an example of shooting by the stereoscopic image shooting device 510. The stereoscopic image capturing apparatus 510 has the configuration shown in FIG. The appropriate parallax of the stereoscopic image display device held by the photographer in advance is input to the camera 550 through a recording medium such as a portable memory or a communication means such as the Internet. Here, a camera having a simple structure and available at a relatively low price is assumed as the camera 550. Here, the camera interval E, the optical axis crossing distance D, and the angle of view θ are fixed, and A, S, and T are determined from the three relational expressions shown above. The appropriate range of the distance to the subject can be calculated from these values, so the distance to the subject is measured in real time, and whether the calculated distance is appropriate is photographed with a message, lamp color, etc. Can be notified. The distance to the subject may be acquired by a known technique such as an autofocus distance measurement function.
[0239]
As described above, the combination of which camera parameter is used as a variable or constant is free, and there are various forms according to the application. In addition to the above, the camera 550 may be attached to various devices such as a microscope, a medical endoscope, and a portable terminal.
[0240]
Note that if the parallax is optimized for a specific stereoscopic display device, stereoscopic viewing may be difficult with other stereoscopic display devices. However, in general, the performance of the device is improved, and it is rare that the parallax is too large for the next stereoscopic display device to be purchased. Rather, it is important to perform the adjustment described above in order to avoid a risk that stereoscopic viewing becomes difficult regardless of the performance of the stereoscopic display device due to inadequate setting of the photographing device. Here, the stereoscopic display device includes a stereoscopic image processing device for realizing stereoscopic viewing.
[0241]
The appropriate parallax obtained by the stereoscopic effect adjusting unit 112 of the first to sixth stereoscopic image processing apparatuses 100 is a parameter determined by the user while stereoscopically viewing the specific stereoscopic image processing apparatus 100, and the stereoscopic image processing apparatus In 100, the appropriate parallax is maintained thereafter. This stereoscopic effect adjustment operation takes into account two factors, “image separation performance” unique to the stereoscopic display device and “physiological limit” unique to the observer. “Image separation performance” is an objective factor that represents the ability to separate multiple viewpoint images. Stereoscopic display devices with low performance can easily detect crosstalk even with little parallax, and can be adjusted by multiple observers. The range of the appropriate parallax when performing is narrowed on average. On the contrary, if the image separation performance is high, even if a large parallax is applied, the crosstalk is hardly sensed, and the range of the appropriate parallax tends to be wide on average. On the other hand, the “physiological limit” is a subjective factor. For example, even if the image separation performance is very high and the images are completely separated, the parallax range in which the viewer does not feel discomfort varies. This appears as a variation in appropriate parallax in the same stereoscopic image processing apparatus 100.
[0242]
The image separation performance is also called the degree of separation, and can be determined by a method of measuring the illuminance of the reference image 572 while moving the illuminometer 570 in the horizontal direction at the optimum observation distance as shown in FIG. At that time, in the case of the two-lens type, for example, all white is displayed in the left eye image and all black is displayed in the right eye image. If the images are completely separated, the illuminance at the position where the right eye image can be seen is zero. In contrast, image separation performance can be obtained by measuring the degree of white leakage of the left eye image. This graph and the graph on the right end are examples of measurement results. Since this measurement is almost equivalent to measuring the density of moire, the image separation performance is also measured by capturing a moire image at a distance where the moire is observed as shown in FIG. 86 and analyzing the density. be able to.
[0243]
Even in a glasses-type stereoscopic display device or the like, image separation performance can be measured by measuring leakage light in the same manner. In practice, the calculation may be performed by taking the measurement value when the left and right images are all black into consideration as the background. Further, the image separation performance can be determined by an average value of ranking evaluation by a large number of observers.
[0244]
As described above, the image separation performance of the stereoscopic display device can be provided with a judgment criterion such as an objective numerical value. For example, the rank of the stereoscopic display device 450 in FIG. If the appropriate parallax is known, the appropriate parallax can be converted to match the rank of the other stereoscopic display device 440. In addition, the stereoscopic display device includes parameters that are eigenvalues such as a screen size, a pixel pitch, and an optimum observation distance, and information on these parameters is also used for conversion of appropriate parallax.
[0245]
Hereinafter, an example of appropriate parallax conversion will be described in order for each parameter with reference to FIGS. 87 and 88. Here, it is assumed that the appropriate parallax is held by N / L and M / L. Here, M is the near limit parallax, N is the far limit parallax, and L is the screen size. By expressing the ratio value in this way, the difference in pixel pitch between the stereoscopic display devices can be ignored. Therefore, in the drawings used below, it is assumed that the pixel pitches are equal for ease of explanation.
[0246]
First, conversion for differences in screen size will be described. As shown in FIG. 87, it is preferable to perform processing so as not to change the absolute value of the parallax regardless of the screen size. That is, the stereoscopic expression range in the front-rear direction is made the same. Assume that the screen size has increased a times, as in the state shown in the lower side from the state shown in the upper side of the figure. At this time, even when the screen size is different by converting N / L to N / (aL) and M / L to M / (aL), appropriate parallax is realized. In this figure, an example of the nearest placement point is shown.
[0247]
Next, conversion for differences in observation distance will be described. As shown in FIG. 88, when the optimum observation distance d is b times, it is preferable that the absolute value of the parallax is also b times. That is, the angle of parallax that the eye sees is kept constant. Therefore, even when the optimum observation distance is different by converting N / L to bN / L and M / L to bM / L, appropriate parallax is realized. In this figure, it represents as an example of the nearest placement point.
[0248]
Finally, a description will be given of taking into consideration factors of image separation performance. Here, it is assumed that the rank r of the image separation performance is an integer equal to or greater than 0, and 0 is such that the performance is so bad that parallax cannot be added. When the image separation performance of the first stereoscopic display device is r0 and the image separation performance of the second stereoscopic display device is r1, c / r1 / r0 is set, N / L is set to cN / L, and M / L Is converted to cM / L. As a result, appropriate parallax can be realized even in a stereoscopic display device having different image resolution. Note that the formula for deriving c shown here is an example, and may be derived from other formulas.
[0249]
When all the above processes are performed, N / L is eventually converted to bcN / (aL) and M / L is converted to bcM / (aL). This conversion can be applied to both horizontal parallax and vertical parallax. Note that the above-described conversion of appropriate parallax can be realized by the configurations shown in FIGS. 52, 53, and 54.
[0250]
Further, the front and back surfaces of the basic expression space may be determined using a Z buffer. The Z buffer is a hidden surface processing technique, and a depth map of an object group viewed from the camera can be obtained. You may use the minimum value and maximum value which remove this Z value as a position of the forefront and back. As processing, processing for obtaining a Z value from the position of the virtual camera is added. Since this process does not require the final resolution, the processing time is shortened by reducing the number of pixels. By this method, the hidden portion is ignored, so that the appropriate parallax range can be used effectively. Also, it is easy to handle even if there are multiple objects.
[0251]
Further, the parallax control unit 114, when generating a stereoscopic image from three-dimensional data, changes the camera parameter to the variation of the parameter when a parameter related to camera arrangement set to generate the parallax image is changed. On the other hand, control may be performed so as to be within a predetermined threshold. Further, the parallax control unit 114 generates the maximum depth value included in the depth information that is generated as the two-dimensional moving image progresses when generating a stereoscopic image of the moving image from the two-dimensional moving image to which the depth information is given. Or you may control so that the fluctuation | variation of a minimum value may be settled in the threshold value provided previously. The threshold value used for these controls may be held in the parallax information holding unit 120.
[0252]
When generating a 3D image from 3D data, if the basic representation space is determined from the objects that exist in the field of view, the size of the basic representation space increases rapidly due to the rapid movement, frame-in, and frame-out of the object. Instead, the parameters related to camera placement may fluctuate greatly. When this variation is larger than a predetermined threshold value, the variation may be permitted up to the threshold value. In addition, when generating a stereoscopic image from a two-dimensional moving image to which depth information is given, if the maximum or minimum value of the parallax amount is determined from the maximum or minimum value of the depth, the same inconvenience can be considered. It is done. A threshold value may be provided for this variation.
[0253]
【The invention's effect】
The present invention has the following effects.
1. It is possible to generate or display a stereoscopic image that is easily adapted to human physiology.
2. Even if the display target image changes, a stereoscopic image appropriate for the user can be generated or displayed.
3. The stereoscopic effect of the 3D display can be adjusted with a simple operation.
4). It is possible to reduce the burden on the programmer when creating contents or applications capable of appropriate stereoscopic display.
5). The user's effort to optimize the stereoscopic display is reduced.
6). The same applies to devices that cannot easily be plug-and-played in principle, such as a parallax barrier attached later, that can easily realize stereoscopic adjustment and head tracking information that are not subject to the plug-and-play function.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a positional relationship among a user, a screen, and a playback object 14 that are ideally viewed stereoscopically.
FIG. 2 is a diagram illustrating an example of an imaging system that realizes the state of FIG. 1;
FIG. 3 is a diagram illustrating another example of an imaging system that realizes the state of FIG. 1;
4 is a diagram illustrating another example of an imaging system that realizes the state of FIG. 1; FIG.
FIG. 5 is a diagram illustrating a model coordinate system used in the first stereoscopic image processing apparatus.
FIG. 6 is a diagram showing a world coordinate system used for the first stereoscopic image processing apparatus.
FIG. 7 is a diagram illustrating a camera coordinate system used for the first stereoscopic image processing apparatus.
FIG. 8 is a diagram showing a view volume used for the first stereoscopic image processing apparatus.
9 is a diagram showing a coordinate system after perspective transformation of the volume of FIG. 8; FIG.
FIG. 10 is a diagram illustrating a screen coordinate system used in the first stereoscopic image processing apparatus.
FIG. 11 is a configuration diagram of a first stereoscopic image processing apparatus.
FIG. 12 is a configuration diagram of a second stereoscopic image processing apparatus.
FIG. 13 is a configuration diagram of a third stereoscopic image processing apparatus.
FIGS. 14A and 14B are diagrams illustrating a left-eye image and a right-eye image displayed by the stereoscopic effect adjustment unit of the first stereoscopic image processing apparatus, respectively.
FIG. 15 is a diagram illustrating a plurality of objects having different parallaxes displayed by the stereoscopic effect adjusting unit of the first stereoscopic image processing apparatus.
FIG. 16 is a diagram illustrating an object whose parallax changes, which is displayed by the stereoscopic effect adjusting unit of the first stereoscopic image processing apparatus.
FIG. 17 is a diagram illustrating a relationship between a camera angle of view, an image size, and parallax when appropriate parallax is realized.
18 is a diagram illustrating a positional relationship of the imaging system that realizes the state of FIG. 17;
FIG. 19 is a diagram illustrating a positional relationship of an imaging system that realizes the state of FIG. 17;
FIG. 20 is a diagram illustrating a camera arrangement when a multi-viewpoint image is generated with appropriate parallax.
FIG. 21 is a diagram illustrating a parallax correction map used by the distortion processing unit of the first stereoscopic image processing apparatus.
22 is a diagram showing a camera viewpoint when generating a parallax image in accordance with the parallax correction map of FIG. 21. FIG.
FIG. 23 is a diagram showing another camera viewpoint when generating a parallax image in accordance with the parallax correction map of FIG.
FIG. 24 is a diagram illustrating a parallax correction map used by the distortion processing unit of the first stereoscopic image processing apparatus.
FIG. 25 is a diagram showing a camera viewpoint when generating a parallax image according to the parallax correction map of FIG. 24;
FIG. 26 is a diagram illustrating a sense of distance correction map used by the distortion processing unit of the first stereoscopic image processing apparatus.
FIG. 27 is a diagram showing a camera viewpoint when generating a parallax image according to the sense of distance correction map of FIG.
FIG. 28 is a diagram showing another sense of distance correction map used by the distortion processing unit of the first stereoscopic image processing apparatus.
29 is a diagram illustrating a camera viewpoint when generating a parallax image according to the sense of distance correction map of FIG.
30 (a), FIG. 30 (b), FIG. 30 (c), FIG. 30 (d), FIG. 30 (e), and FIG. 30 (f) are all first stereoscopic image processing apparatuses. It is a top view of the parallax distribution obtained as a result of processing the distortion processing unit in the three-dimensional space.
FIG. 31 is a diagram illustrating a principle of processing by a distortion processing unit of the first stereoscopic image processing apparatus.
32 is a diagram specifically illustrating the process of FIG. 31. FIG.
FIG. 33 is a diagram specifically showing the processing of FIG. 31;
34 is a diagram specifically illustrating the processing of FIG. 31. FIG.
FIG. 35 is a diagram illustrating another example of processing by the distortion processing unit of the first stereoscopic image processing apparatus.
36 is a diagram specifically illustrating the processing of FIG. 35. FIG.
FIG. 37 is a diagram showing a depth map.
FIG. 38 is a diagram illustrating an example of processing by a distortion processing unit of the third stereoscopic image processing apparatus.
FIG. 39 is a diagram illustrating a depth map generated by processing by the distortion processing unit of the third stereoscopic image processing apparatus.
FIG. 40 is a diagram illustrating another example of processing by the distortion processing unit of the third stereoscopic image processing apparatus.
FIG. 41 is a diagram illustrating an example of processing by a two-dimensional image generation unit of the second stereoscopic image processing apparatus.
FIG. 42 is a diagram illustrating an example of a parallax image.
FIG. 43 is a diagram illustrating a parallax image in which the synthesis position is shifted by the two-dimensional image generation unit of the second stereoscopic image processing apparatus.
FIG. 44 is a diagram illustrating processing of an image edge adjustment unit of the second stereoscopic image processing apparatus.
FIG. 45 is a diagram illustrating processing of the second stereoscopic image processing apparatus.
FIG. 46 is a diagram illustrating another process of the second stereoscopic image processing apparatus.
FIG. 47 is a diagram illustrating another process of the second stereoscopic image processing apparatus.
FIG. 48 is a diagram illustrating a planar image to which a depth map is added.
FIG. 49 is a diagram showing a depth map.
FIG. 50 is a diagram illustrating a state in which a parallax image is generated based on a depth map by a two-dimensional image generation unit of a second stereoscopic image processing apparatus.
FIG. 51 is a diagram illustrating a depth map corrected by the two-dimensional image generation unit of the second stereoscopic image processing apparatus.
FIG. 52 is a diagram illustrating a manner in which the stereoscopic image processing apparatus according to the embodiment is used as a library.
FIG. 53 is a configuration diagram in which a stereoscopic display library is incorporated into three-dimensional data software.
FIG. 54 is a diagram illustrating a manner in which a stereoscopic display library is used in a network-based system.
FIG. 55 is a diagram showing a state in which an image composed of three-dimensional data is displayed on the display screen.
FIG. 56 is a diagram showing another state in which an image composed of three-dimensional data is displayed on the display screen.
FIG. 57 is a diagram showing another state in which an image composed of three-dimensional data is displayed on the display screen.
FIG. 58 is a diagram showing a method for matching the interface of an object to be displayed with the display screen.
FIG. 59 is a diagram showing another state in which an image is taken with the optical axis crossing positions of two virtual cameras aligned with one surface of the aquarium.
FIG. 60 is a block diagram of a fourth stereoscopic image processing apparatus.
FIG. 61 is a diagram illustrating a convenient basic expression space T regarding an image displayed by the fourth stereoscopic image processing apparatus.
FIG. 62 is a diagram representing a region where no object exists by including it in the basic representation space T.
FIG. 63 is a diagram representing a region where no object exists by including it in the basic representation space T.
FIG. 64 is a diagram illustrating a state in which a moving object is formed so as to include not only a bird but also a space before and after it as a target for calculating parallax;
FIG. 65 is a diagram illustrating a state in which a bird 330 is moved in a previously included space after the moving object has passed the front projection plane.
FIG. 66 is a diagram showing a state where an observer observes a stereoscopic image on the display screen.
FIG. 67 is a diagram illustrating a camera arrangement determined by a camera arrangement determining unit.
68 is a diagram illustrating a state in which an observer observes a parallax image obtained with the camera arrangement in FIG. 67. FIG.
69 is a diagram illustrating a state in which an observer observes a display screen of an image in which appropriate parallax is obtained with the camera arrangement of FIG. 67 at the position of the observer illustrated in FIG. 66.
70 is a diagram showing a state in which the nearest point of a sphere located at a distance A from the display screen is photographed with the camera arrangement shown in FIG. 67. FIG.
71 is a diagram illustrating a relationship between an optical axis tolerance distance between two cameras and the cameras, and a camera interval necessary for obtaining the parallax illustrated in FIG. 70. FIG.
72 is a diagram showing a state where the farthest point of a sphere located at a distance T-A from the display screen is photographed with the camera arrangement shown in FIG. 67. FIG.
73 is a diagram showing a relationship between an optical axis tolerance distance between two cameras and the cameras and a camera interval E1 necessary for obtaining the parallax shown in FIG. 72. FIG.
[Fig. 74] Fig. 74 is a diagram illustrating a relationship between camera parameters required for setting the parallax of a stereoscopic image within an appropriate parallax range.
FIG. 75 is a diagram illustrating a relationship of camera parameters required for setting the parallax of a stereoscopic image within an appropriate parallax range.
FIG. 76 is a block diagram of a fifth stereoscopic image processing apparatus.
77 is a diagram illustrating a relationship between a temporary camera position, an angle of view, and first to third objects set by a producer who creates three-dimensional data. FIG.
78 is a diagram showing a state in which two virtual cameras are arranged based on the temporary camera position determined in FIG. 77. FIG.
FIG. 79 is a diagram illustrating a state in which the camera arrangement is adjusted so that an area where no object information exists does not occur.
FIG. 80 is a diagram illustrating a view angle adjustment process.
FIG. 81 is a diagram illustrating a relationship between a subject and a stereoscopic photography device that takes a stereoscopic photograph at an amusement facility or a photo studio.
FIG. 82 is a diagram illustrating a configuration of a sixth stereoscopic image processing apparatus.
[Fig. 83] Fig. 83 is a diagram illustrating a state in which the camera is operated by remote control and a captured image is observed with the stereoscopic image display device.
[Fig. 84] Fig. 84 is a diagram illustrating an example of shooting by a stereoscopic image capturing device including a sixth stereoscopic image processing device.
FIG. 85 is a diagram showing a state in which image resolution is measured with an illuminometer.
FIG. 86 is a diagram showing a moire image used for measurement of image resolution.
[Fig. 87] Fig. 87 is a diagram illustrating a conversion example of appropriate parallax.
[Fig. 88] Fig. 88 is a diagram illustrating another conversion example of appropriate parallax.
FIG. 89 is a diagram illustrating a table used for simple determination of parallax and a basic expression space.
[Explanation of symbols]
10 users, 12 screens, 14 playback objects, 20 real objects, 22, 24, 26, 28 cameras, 30 front projection planes, 32 rear projection planes, 100 stereoscopic image processing devices, 112 stereoscopic effect adjustment units, 114, 152, 170 Parallax Control Unit, 116 Format Conversion Unit, 118 Information Acquisition Unit, 122 Instruction Acquisition Unit, 124 Parallax Identification Unit, 132 Camera Placement Determination Unit, 136,174 Distortion Processing Unit, 140,176 Correction Map Holding Unit, 142 Two-dimensional Image Generation unit, 150 parallax amount detection unit, 151 camera control unit, 156 header inspection unit, 158 matching unit, 160 position shift unit, 164 parallax writing unit, 168 image edge adjustment unit, 178 two-dimensional image generation unit, 180 object designation , 190 image determination unit, 192 frequency component detection unit, 94 scene determination unit, 210 optical axis crossing plane, 300 stereoscopic display library, 400 display screen, 402 three-dimensional data software, 406 shooting instruction processing unit, 430 network-based system, 432 game machine, 434 user terminal, 436 server, 452 viewer program, 510 stereoscopic photography device.

Claims (6)

立体表示可能な第1の表示装置にてユーザの適正視差を取得するステップと、
前記第1の表示装置にて取得された前記適正視差を立体表示可能な第2の表示装置に読み込むステップと、
第2の表示装置にて前記適正視差にしたがって視差画像の視差を調整するステップと、
第2の表示装置から調整後の視差画像を出力するステップと、
を含むことを特徴とする立体画像処理方法。
Acquiring a user's appropriate parallax on a first display device capable of stereoscopic display;
Reading the appropriate parallax acquired by the first display device into a second display device capable of stereoscopic display;
Adjusting the parallax of the parallax image according to the appropriate parallax on the second display device;
Outputting the adjusted parallax image from the second display device;
A stereoscopic image processing method comprising:
前記第1の表示装置のハードウェアに関する情報を前記第2の表示装置に読み込むステップと、
読み込んだ前記第1の表示装置のハードウェアに関する情報および前記第2の表示装置のハードウェアに関する情報をもとに、前記第2の表示装置に読み込まれた前記適正視差を前記第2の表示装置に合うように変換するステップと、
を更に含み、前記視差画像の視差を調整するステップでは、前記第2の表示装置に合うように変換された適正視差にしたがって視差が調整されることを特徴とする請求項1に記載の立体画像処理方法。
Reading information about hardware of the first display device into the second display device;
Based on the read information about the hardware of the first display device and the information about the hardware of the second display device, the second display device uses the appropriate parallax read by the second display device as the second display device. Converting to fit
The stereoscopic image according to claim 1, further comprising: adjusting the parallax of the parallax image, wherein the parallax is adjusted according to an appropriate parallax converted to fit the second display device. Processing method.
前記ハードウェアに関する情報は、表示画面の大きさを含むことを特徴とする請求項2に記載の立体画像処理方法。  The stereoscopic image processing method according to claim 2, wherein the information about the hardware includes a size of a display screen. 前記ハードウェアに関する情報は、前記表示装置の最適観察距離を含むことを特徴とする請求項2または3に記載の立体画像表示方法。  The stereoscopic image display method according to claim 2, wherein the information about the hardware includes an optimum observation distance of the display device. 前記ハードウェアに関する情報は、前記表示装置の画像分離性能に関する情報を含むことを特徴とする請求項2から4のいずれかに記載の立体画像表示方法。  5. The stereoscopic image display method according to claim 2, wherein the information related to the hardware includes information related to an image separation performance of the display device. ネットワークを介して接続された立体表示可能な第1の表示装置、立体表示可能な第2の表示装置およびサーバを含み、
前記第1の表示装置は、当該第1の表示装置にて取得されたユーザの適正視差情報を前記サーバに送信し、
前記サーバは前記第1の表示装置から受け取った適正視差情報を前記ユーザと関連づけて記録し、
前記ユーザが前記第2の表示装置にて画像データの出力を要求したとき、当該第2の表示装置は前記サーバから当該ユーザの適正視差情報を読み出し、読み出した適正視差情報に合わせて視差を調整したのち視差画像を出力することを特徴とする立体画像処理装置。
Including a first display device capable of stereoscopic display, a second display device capable of stereoscopic display, and a server connected via a network;
The first display device transmits appropriate parallax information of the user acquired by the first display device to the server,
The server records the appropriate parallax information received from the first display device in association with the user,
When the user requests the second display device to output image data, the second display device reads the appropriate parallax information of the user from the server and adjusts the parallax according to the read appropriate parallax information. A stereoscopic image processing apparatus that outputs a parallax image after that.
JP2003003763A 2002-03-27 2003-01-09 Stereoscopic image processing method and apparatus Expired - Fee Related JP3857988B2 (en)

Priority Applications (25)

Application Number Priority Date Filing Date Title
JP2003003763A JP3857988B2 (en) 2002-03-27 2003-01-09 Stereoscopic image processing method and apparatus
EP11161295.8A EP2357838B1 (en) 2002-03-27 2003-03-27 Method and apparatus for processing three-dimensional images
EP11161320A EP2357840A3 (en) 2002-03-27 2003-03-27 Method and apparatus for processing three-dimensional images
CN038071592A CN1643939B (en) 2002-03-27 2003-03-27 Method and apparatus for processing three-dimensional images
EP11161329.5A EP2357841B1 (en) 2002-03-27 2003-03-27 Method and apparatus for processing three-dimensional images
EP03715473A EP1489857B1 (en) 2002-03-27 2003-03-27 3-dimensional image processing method and device
EP11161284A EP2357837A3 (en) 2002-03-27 2003-03-27 Method and apparatus for processing three-dimensional images
EP11161269A EP2362670B1 (en) 2002-03-27 2003-03-27 Method and apparatus for processing three-dimensional images
PCT/JP2003/003791 WO2003081921A1 (en) 2002-03-27 2003-03-27 3-dimensional image processing method and device
EP20110161281 EP2357836B1 (en) 2002-03-27 2003-03-27 Method and apparatus for processing three-dimensional images
KR1020047015105A KR100812905B1 (en) 2002-03-27 2003-03-27 3-dimensional image processing method and device
EP11161274A EP2357835A3 (en) 2002-03-27 2003-03-27 Method and apparatus for processing three-dimensional images
EP11161340A EP2387248A3 (en) 2002-03-27 2003-03-27 Method and apparatus for processing three-dimensional images
EP20110161303 EP2381691B1 (en) 2002-03-27 2003-03-27 Method and apparatus for processing three-dimensional images
EP11161315A EP2357839A3 (en) 2002-03-27 2003-03-27 Method and apparatus for processing three-dimensional images
US10/949,528 US8369607B2 (en) 2002-03-27 2004-09-27 Method and apparatus for processing three-dimensional images
US12/976,262 US8131064B2 (en) 2002-03-27 2010-12-22 Method and apparatus for processing three-dimensional images
US12/986,530 US8577128B2 (en) 2002-03-27 2011-01-07 Method and apparatus for processing three-dimensional images
US12/986,491 US8879824B2 (en) 2002-03-27 2011-01-07 Method and apparatus for processing three-dimensional images
US12/986,453 US8254668B2 (en) 2002-03-27 2011-01-07 Method and apparatus for processing three-dimensional images
US12/986,471 US8577127B2 (en) 2002-03-27 2011-01-07 Method and apparatus for processing three-dimensional images
US12/986,551 US8724886B2 (en) 2002-03-27 2011-01-07 Method and apparatus for processing three-dimensional images
US12/986,509 US8417024B2 (en) 2002-03-27 2011-01-07 Method and apparatus for processing three-dimensional images
US13/088,752 US8472702B2 (en) 2002-03-27 2011-04-18 Method and apparatus for processing three-dimensional images
US13/283,361 US8559703B2 (en) 2002-03-27 2011-10-27 Method and apparatus for processing three-dimensional images

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002087494 2002-03-27
JP2003003763A JP3857988B2 (en) 2002-03-27 2003-01-09 Stereoscopic image processing method and apparatus

Publications (2)

Publication Number Publication Date
JP2004007396A JP2004007396A (en) 2004-01-08
JP3857988B2 true JP3857988B2 (en) 2006-12-13

Family

ID=30446075

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003003763A Expired - Fee Related JP3857988B2 (en) 2002-03-27 2003-01-09 Stereoscopic image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP3857988B2 (en)

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005295004A (en) * 2004-03-31 2005-10-20 Sanyo Electric Co Ltd Stereoscopic image processing method and apparatus thereof
WO2006128066A2 (en) 2005-05-26 2006-11-30 Real D Ghost-compensation for improved stereoscopic projection
WO2007072270A1 (en) * 2005-12-19 2007-06-28 Koninklijke Philips Electronics N.V. 3d image display method and apparatus
JP4608563B2 (en) 2008-03-26 2011-01-12 富士フイルム株式会社 Stereoscopic image display apparatus and method, and program
US20110169818A1 (en) * 2010-01-13 2011-07-14 Sharp Laboratories Of America, Inc. Reducing viewing discomfort
WO2011111349A1 (en) * 2010-03-10 2011-09-15 パナソニック株式会社 3d video display device and parallax adjustment method
JP2011223481A (en) * 2010-04-14 2011-11-04 Sony Corp Data structure, image processor, image processing method, and program
JPWO2011135857A1 (en) * 2010-04-28 2013-07-18 パナソニック株式会社 Image converter
WO2011162037A1 (en) * 2010-06-25 2011-12-29 富士フイルム株式会社 Stereoscopic image playback device, stereoscopic image playback system, and stereoscopic image playback method
JP5302285B2 (en) 2010-10-28 2013-10-02 シャープ株式会社 Stereoscopic video output device, stereoscopic video output method, stereoscopic video output program, computer-readable recording medium, and stereoscopic video display device
JP5010022B2 (en) * 2010-10-28 2012-08-29 シャープ株式会社 Stereoscopic video output device, stereoscopic video output method, stereoscopic video output program, computer-readable recording medium, and stereoscopic video display device
JP5512821B2 (en) * 2010-11-02 2014-06-04 シャープ株式会社 Stereoscopic image display device and display adjustment method thereof
WO2012060182A1 (en) 2010-11-05 2012-05-10 富士フイルム株式会社 Image processing device, image processing program, image processing method, and storage medium
WO2012066627A1 (en) * 2010-11-16 2012-05-24 リーダー電子株式会社 Method and apparatus for generating stereovision image
WO2012093580A1 (en) * 2011-01-07 2012-07-12 コニカミノルタホールディングス株式会社 Image processing device, image processing method, and program
JP5689707B2 (en) 2011-02-15 2015-03-25 任天堂株式会社 Display control program, display control device, display control system, and display control method
JP5757790B2 (en) * 2011-06-03 2015-07-29 任天堂株式会社 Information processing program, information processing apparatus, information processing system, and information processing method
JP5738077B2 (en) 2011-06-03 2015-06-17 任天堂株式会社 Display control program, display device, display system, and display control method
US9022864B2 (en) 2011-06-03 2015-05-05 Nintendo Co., Ltd. Apparatus and method for controlling objects on a stereoscopic display
JP5337218B2 (en) 2011-09-22 2013-11-06 株式会社東芝 Stereo image conversion device, stereo image output device, and stereo image conversion method
WO2013046833A1 (en) 2011-09-30 2013-04-04 富士フイルム株式会社 Image display device, disparity adjustment display method therefor, and image capturing device
CN104041026B (en) * 2011-12-19 2016-06-08 富士胶片株式会社 Image take-off equipment, method and program and recording medium thereof
JP7294776B2 (en) * 2018-06-04 2023-06-20 オリンパス株式会社 Endoscope processor, display setting method, display setting program and endoscope system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0568268A (en) * 1991-03-04 1993-03-19 Sharp Corp Device and method for generating stereoscopic visual image
JP3157384B2 (en) * 1994-06-20 2001-04-16 三洋電機株式会社 3D image device
JP3579162B2 (en) * 1995-06-29 2004-10-20 松下電器産業株式会社 3D CG image generation device
JP2848291B2 (en) * 1995-08-24 1999-01-20 松下電器産業株式会社 3D TV device
JPH09271043A (en) * 1996-03-29 1997-10-14 Olympus Optical Co Ltd Stereoscopic image display device
JPH10150608A (en) * 1996-11-19 1998-06-02 Sanyo Electric Co Ltd User-side terminal of digital broadcasting system

Also Published As

Publication number Publication date
JP2004007396A (en) 2004-01-08

Similar Documents

Publication Publication Date Title
JP3749227B2 (en) Stereoscopic image processing method and apparatus
JP3857988B2 (en) Stereoscopic image processing method and apparatus
KR100812905B1 (en) 3-dimensional image processing method and device
JP2004221700A (en) Stereoscopic image processing method and apparatus
US8724886B2 (en) Method and apparatus for processing three-dimensional images
JP2003284093A (en) Stereoscopic image processing method and apparatus therefor
JP4118146B2 (en) Stereoscopic image processing device
JP2004221699A (en) Stereoscopic image processing method and apparatus
JP2003284095A (en) Stereoscopic image processing method and apparatus therefor
JP3702243B2 (en) Stereoscopic image processing method and apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050802

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050929

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060214

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060417

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060623

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060915

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100922

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100922

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110922

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110922

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120922

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130922

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees