JP4200718B2 - Image processing apparatus and method, recording medium, and program - Google Patents
Image processing apparatus and method, recording medium, and program Download PDFInfo
- Publication number
- JP4200718B2 JP4200718B2 JP2002261541A JP2002261541A JP4200718B2 JP 4200718 B2 JP4200718 B2 JP 4200718B2 JP 2002261541 A JP2002261541 A JP 2002261541A JP 2002261541 A JP2002261541 A JP 2002261541A JP 4200718 B2 JP4200718 B2 JP 4200718B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- mirror
- stereoscopic
- image data
- stereoscopic image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Image Analysis (AREA)
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、画像処理装置および方法、記録媒体、並びにプログラムに関し、例えば、左眼用の画像と右眼用の画像を元にして立体視画像を生成する場合に用いて好適な画像処理装置および方法、記録媒体、並びにプログラムに関する。
【0002】
【従来の技術】
従来、人の左右の眼がそれぞれ取得する網膜像の空間的ずれ(両眼視差)を利用して、2次元の画像を立体的に視認させる方法(以下、立体視の方法と記述する)が数多く知られている。
【0003】
立体視の方法としては、特殊なメガネを利用するアナグリフ方式、カラーアナグリフ方式、偏光フィルタ方式、時分割立体テレビジョン方式等と、特殊なメガネを利用しないレンチキュラ方式等が知られている(いずれについても、例えば、非特許文献1参照)。
【0004】
アナグリフ方式は、例えば、左眼用の画像(以下、L画像と記述する)を赤色モノトーン画像に変換し、右眼用の画像(以下、R画像と記述する)を青色モノトーン画像に変換して、赤色モノトーン画像と青色モノトーン画像を重ね合わせる。そして、その画像を、左側に赤色フィルタ、右側に青色フィルタが配置されたメガネ(以下、赤青メガネと記述する)を用いて見る方法である。アナグリフ方式は、比較的容易で安価に実施できることが、画像全体がモノトーンとなってしまう。
【0005】
カラーアナグリフ方式は、アナグリフ方式の短所を補うものであり、L画像とR画像を重ね合わせたとき、それぞれの画像において対応する箇所がずれる部分(すなわち、視差が大きい部分)については、アナグリフ方式と同様に、例えば、L画像を赤色モノトーン画像に変換し、R画像を青色モノトーン画像に変換して重ね合わせる。それぞれの画像の対応する箇所がずれない部分(すなわち、視差が小さい部分)については、本来の色の状態で重ね合わせる。そして、その画像を、赤青メガネを用いて見る方法である。
【0006】
カラーアナグリフ方式では、画像全体のうち、視差が少ない部分については、本来の色を再現することができる。なお、カラーアナグリフ方式には、視差が少ない部分に用いる色の違いにより、複数のバリエーションが存在する。以下、視差が小さい部分に本来の色を用いる方式を、第1のカラーアナグリフ方式と記述する。また、視差が小さい部分に本来の色を用いない方式を、第2のカラーアナグリフ方式と記述する。
【0007】
偏光フィルタ方式は、例えば、垂直方向の直線偏光によって投影されたL画像と、水平方向の直線偏光によって投影されたR画像を重ね合わせる。そして、その画像を、左側に垂直方向の直線偏光フィルタ、右側に水平方向の直線偏光フィルタが配置された偏光フィルタメガネを用いて見る方法である。偏光フィルタ方式は、色の再現性がよく、解像度が高いことが長所であるが、偏光フィルタを利用することにより画像が暗くなってしまう短所がある。
【0008】
時分割立体テレビジョン方式は、テレビジョン受像機に、L画像とR画像を、フィールド周期毎に交互に表示するようにし、その映像を、テレビジョン受像機のフィールド周期に同期して左眼側と右眼側を交互に開閉する液晶シャッタメガネを用いて見る方法である。時分割立体テレビジョン方式は、液晶シャッタメガネの開閉動作を高い精度で制御することが重要となる。
【0009】
レンチキュラ方式は、画面を縦方向のストライプ状の領域に区分し、各ストライプ上の領域に交互に、L画像とR画像を表示し、その映像を、レンチキュラスクリーンと称されるレンズで覆う方法である。
【0010】
ところで、上述したさまざまな立体視の方法を実現するためには、L画像とR画像を取得する必要がある。L画像とR画像を取得するためには、同一の被写体を、カメラの位置を人の両眼の間隔だけ移動して2回撮影する方法が最も容易である。
【0011】
また、1回の撮影でL画像とR画像を取得する方法として、例えば、図1に示すように、ミラーなどから構成される光学アダプタ11を、カメラ1の撮影レンズ3の外側に取り付ける方法が知られている(例えば、特許文献1参照)。
【0012】
図2は、光学アダプタ11の構造を模式的に表している。単一の採光窓から入射される右眼用の光学像は、ミラー21によってミラー22に向けて反射され、ミラー22によって撮影レンズ3に向けて反射された後、撮影レンズ3によって集光される。単一の採光窓から入射される左眼用の光学像は、ミラー21,22によって反射されることなく、撮影レンズ3によって集光される。
【0013】
光学アダプタ11を介して入射された光学像は、図3に示すように、左眼用の領域および右眼用の領域からなる画像(以下、視差画像と記述する)として撮影される。この左眼用の領域がL画像として利用され、右眼用の領域がR画像として利用される。
【0014】
【非特許文献1】
泉武博監修、NHK放送技術研究所編「3次元映像の基礎」オーム出版、平成7年6月5日発行
【特許文献1】
特開平11−46373号公報
【0015】
【発明が解決しようとする課題】
ところで、光学アダプタ11を用いて視差画像を撮影し、その左眼用の領域をL画像として、右眼用の領域をR画像として利用する場合、L画像とR画像のうち、一方の画像が他方の画像よりもミラーによって反射される分だけ、輝度、彩度、解像度等が低下するような画質の劣化が生じてしまう課題があった。
【0016】
輝度については、例えば、ミラーの反射率が0.9であるとすれば、ミラーに2回反射されるミラー画像の輝度は、スルー画像の輝度を1とした場合、0.81(=0.9×0.9)に低下していることになる。
【0017】
したがって、このような一方の画像が他方の画像よりも劣化しているL画像およびR画像を元にして立体視を実現した場合、立体的に視覚できる画像も画質が劣化したものとなってしまう課題があった。
【0018】
本発明はこのような状況に鑑みてなされたものであり、光学アダプタを用いて得られるL画像とR画像の画質を統一できるようにすることを目的とする。
【0019】
【課題を解決するための手段】
本発明の画像処理装置は、ミラー画像の中心部の画素の輝度信号と一致するように、ミラー画像の周辺部の輝度信号を、予め実施した実験結果に基づいて生成されている対応表または関数に基づいて補正する輝度補正手段と、スルー画像の輝度信号と一致するように、輝度補正手段により補正されたミラー画像の輝度信号を調整する処理、または、スルー画像の色差信号と一致するように、輝度補正手段により補正されたミラー画像の色差信号を調整する処理のうちの少なくとも一方の処理を、スルー画像に基づいて実行する調整手段と、立体視画像の奇数ラインについてはミラー画像およびスルー画像のうちの一方の画像データを用い、立体視画像の偶数ラインについてはミラー画像およびスルー画像のうちの他方の画像データを用いて、立体視画像を表示するための画像データを生成する生成手段とを含む。
【0020】
前記生成手段は、さらに、ユーザの置換操作に対応して、立体視画像の奇数ラインについては他方の画像データを用い、立体視画像の偶数ラインについては一方の画像データを用いて、立体視画像を表示するための画像データを生成することができる。
【0021】
本発明の画像処理装置は、ミラー画像中のエッジを強調するエッジ強調手段をさらに含むことができる。
【0022】
本発明の画像処理装置は、ミラー画像およびスルー画像をそれぞれトリミングして、左眼用の画像および右眼用の画像を生成するトリミング手段をさらに含むことができる。
【0023】
前記生成手段は、立体視画像の奇数ラインについては左眼用の画像および右眼用の画像のうちの一方の画像データを用い、立体視画像の偶数ラインについては左眼用の画像および右眼用の画像のうちの他方の画像データを用いて、立体視画像の画像データを生成することができる。
【0024】
ユーザの移動操作に対応して、左眼用の画像と右眼用の画像の上下方向の位置を移動する移動手段をさらに含み、前記生成手段は、立体視画像の奇数ラインについては、移動手段により移動された左眼用の画像および右眼用の画像のうちの一方の画像データを用い、立体視画像の偶数ラインについては、移動手段により移動された左眼用の画像および右眼用の画像のうちの他方の画像データを用いて、立体視画像の画像データを生成することができる。
【0025】
本発明の画像処理方法は、輝度補正手段が、ミラー画像の中心部の画素の輝度信号と一致するように、ミラー画像の周辺部の輝度信号を、予め実施した実験結果に基づいて生成されている対応表または関数に基づいて補正し、調整手段が、スルー画像の輝度信号と一致するように、輝度補正手段により補正されたミラー画像の輝度信号を調整する処理、または、スルー画像の色差信号と一致するように、輝度補正手段により補正されたミラー画像の色差信号を調整する処理のうちの少なくとも一方の処理を、スルー画像に基づいて実行し、生成手段が、立体視画像の奇数ラインについてはミラー画像およびスルー画像のうちの一方の画像データを用い、立体視画像の偶数ラインについてはミラー画像およびスルー画像のうちの他方の画像データを用いて、立体視画像を表示するための画像データを生成するステップを含む。
【0026】
本発明の記録媒体は、輝度補正手段が、ミラー画像の中心部の画素の輝度信号と一致するように、ミラー画像の周辺部の輝度信号を、予め実施した実験結果に基づいて生成されている対応表または関数に基づいて補正し、調整手段が、スルー画像の輝度信号と一致するように、輝度補正手段により補正されたミラー画像の輝度信号を調整する処理、または、スルー画像の色差信号と一致するように、輝度補正手段により補正されたミラー画像の色差信号を調整する処理のうちの少なくとも一方の処理を、スルー画像に基づいて実行し、生成手段が、立体視画像の奇数ラインについてはミラー画像およびスルー画像のうちの一方の画像データを用い、立体視画像の偶数ラインについてはミラー画像およびスルー画像のうちの他方の画像データを用いて、立体視画像を表示するための画像データを生成するステップを含む処理を実行させるためのプログラムを記録する。
【0027】
本発明のプログラムは、輝度補正手段が、ミラー画像の中心部の画素の輝度信号と一致するように、ミラー画像の周辺部の輝度信号を、予め実施した実験結果に基づいて生成されている対応表または関数に基づいて補正し、調整手段が、スルー画像の輝度信号と一致するように、輝度補正手段により補正されたミラー画像の輝度信号を調整する処理、または、スルー画像の色差信号と一致するように、輝度補正手段により補正されたミラー画像の色差信号を調整する処理のうちの少なくとも一方の処理を、スルー画像に基づいて実行し、生成手段が、立体視画像の奇数ラインについてはミラー画像およびスルー画像のうちの一方の画像データを用い、立体視画像の偶数ラインについてはミラー画像およびスルー画像のうちの他方の画像データを用いて、立体視画像を表示するための画像データを生成するステップを含む処理をコンピュータに実行させる。
【0028】
本発明の画像処理装置および方法、並びにプログラムにおいては、ミラー画像の中心部の画素の輝度信号と一致するように、ミラー画像の周辺部の輝度信号が、予め実施した実験結果に基づいて生成されている対応表または関数に基づいて補正され、スルー画像の輝度信号と一致するように、補正されたミラー画像の輝度信号を調整する処理、または、スルー画像の色差信号と一致するように、補正されたミラー画像の色差信号を調整する処理のうちの少なくとも一方の処理が、スルー画像に基づいて実行される。そして、立体視画像の奇数ラインについてはミラー画像およびスルー画像のうちの一方の画像データが用いられ、立体視画像の偶数ラインについてはミラー画像およびスルー画像のうちの他方の画像データが用いられ、立体視画像を表示するための画像データが生成される。
【0029】
【発明の実施の形態】
図4は、本発明を適用した立体視システムの構成例を示している。この立体視システムは、主に、立体視画像を生成するパーソナルコンピュータ(PC)31、表示された立体視画像を見るときにユーザが使用するフィルタメガネ41、およびパーソナルコンピュータ31の表示部57の表示面外側に配置するライン偏光43から構成される。
【0030】
パーソナルコンピュータ31は、図1に示されたように、光学アダプタ11が装着された状態のカメラ(ディジタルスチルカメラ)1によって撮影された視差画像、光学アダプタ11が装着されていない状態で撮影された画像などを取り込み、視差画像または連続的に撮影された2枚の画像からなる画像対を元にして立体視画像を生成して表示する。なお、ディジタルスチルカメラ1からパーソナルコンピュータ31に取り込まれる視差画像等の画像データには、撮影された日時、撮影された順序を示すシリアルなファイル番号、連写モードで撮影されたか否かを示す連写モードフラグなどの属性情報が付与されている。
【0031】
フィルタメガネ41は、パーソナルコンピュータ31に接続された支持棒42により、パーソナルコンピュータ31のキーボード付近の上方空間に位置するように支持されている。フィルタメガネ41の左側の枠には、垂直方向の直線偏光フィルタが配置されている。また、右側の枠には、水平方向の直線偏光フィルタが配置されている。
【0032】
パーソナルコンピュータ31の表示部57の表示面外側に配置するライン偏光板43は、水平方向の偶数ラインに垂直方向の直線偏光フィルタが、水平方向の奇数ラインに水平方向の直線偏光フィルタが配置されている。
【0033】
フィルタメガネ41、支持棒42、およびライン偏光板43は、例えば、図1の光学アダプタ11、並びに画像処理プログラム65(図10を参照して後述する)などとセットにされて販売される。
【0034】
次に、パーソナルコンピュータ31によって立体視画像が生成される過程の概要について、図5乃至図8を参照して説明する。
【0035】
図5は、光学アダプタ11が装着されたディジタルスチルカメラ1によって撮影された視差画像を示している。同図において、視差画像の右眼用の領域は、ミラーによって反射されているものであり、左眼用の領域は、ミラーによって反射されていないものであるとする。そこで、以下においては、視差画像の右眼用の領域をミラー画像、左眼用の領域をスルー画像と記述する。
【0036】
上述したように、ミラー画像は、スルー画像に比較して、画質(輝度、彩度、解像度等)が劣化している。特に、ミラー画像の周辺部(上辺部、下辺部、および左辺部)は、中心部に比較して輝度が低下している。また、ミラー画像は、本来、矩形である画像が台形に歪んだものとなる。そこで、始めにミラー画像の画質が補正され(詳細については、図14を参照して後述する)、画像の形状の歪みが補正される。次に、図6に示すように、ミラー画像およびスルー画像がそれぞれトリミングされて、R画像およびL画像が生成される。
【0037】
次に、図7に示すように、次式(1)に従って、L画像とR画像が合成されて、図8に示すような立体視画像が生成される。
偶数ライン
1×(L画像の画素)+0×(R画像の画素)=(立体視画像の画素)
奇数ライン
0×(L画像の画素)+1×(R画像の画素)=(立体視画像の画素)・・・(1)
【0038】
以上で、立体視画像が生成される過程の概要についての説明を終了する。生成された立体視画像は、表示部57に表示される。図9に示すように、ユーザは、表示部57に表示された立体視画像を、フィルタメガネ41およびライン偏光板43を介して見ることになる。したがって、ユーザの左眼は、立体視画像の偶数ライン、すなわち、1ライン置きのL画像を見ることになり、ユーザの右眼は、立体視画像の奇数ライン、すなわち、1ライン置きのR画像を見ることになる。よって、ユーザは、立体視画像を立体的に視認することが可能となる。
【0039】
次に、図10は、画像処理プログラム65を実行することにより、立体視画像を生成する処理等を実行するパーソナルコンピュータ31の構成例を示している。
【0040】
パーソナルコンピュータ31は、CPU(Central Processing Unit)51を内蔵している。CPU51には、バス54を介して、入出力インタフェース55が接続されている。バス54には、ROM(Read Only Memory)52およびRAM(Random Access Memory)53が接続されている。
【0041】
入出力インタフェース55には、ユーザが操作コマンドを入力するキーボード、マウスなどの入力デバイスよりなる操作入力部56、GUI(Graphical User Interface)や生成される立体視画像等を表示するLCD(Liquid Crystal Display)等よりなる表示部57、各種のプログラムやデータを格納するハードディスクドライブなどよりなる記憶部58、およびインタネット等のネットワークを介してデータを通信する通信部59が接続されている。また、入出力インタフェース55には、磁気ディスク61、光ディスク62、光磁気ディスク63、および半導体メモリ64などの記録媒体に対してデータを読み書きするドライブ60が接続されている。
【0042】
CPU51は、ROM52に記憶されているプログラム、または磁気ディスク61乃至半導体メモリ64から読み出されて記憶部65に記憶され、記憶部65からRAM53にロードされたプログラムに従って各種の処理を実行する。RAM53にはまた、CPU51が各種の処理を実行する上において必要なデータなども適宜記憶される。
【0043】
このパーソナルコンピュータに立体視画像を生成する処理等を実行させる画像処理プログラム65は、磁気ディスク61(フレキシブルディスクを含む)、光ディスク62(CD-ROM(Compact Disc-Read Only Memory)、DVD(Digital Versatile Disc)を含む)、光磁気ディスク63(MD(Mini Disc)を含む)、もしくは半導体メモリ64に格納された状態でパーソナルコンピュータ31に供給され、ドライブ60によって読み出されて記憶部58に内蔵されるハードディスクドライブにインストールされている。記憶部58にインストールされている画像処理プログラム65は、操作入力部56に入力されるユーザからのコマンドに対応するCPU51の指令によって、記憶部58からRAM53にロードされて実行される。
【0044】
図11は、CPU51が画像処理プログラムを実行することによって実現される機能ブロックの構成例示している。
【0045】
GUIブロック71は、GUIに対するユーザの操作に対応して、画像管理部72乃至表示制御部76を制御する。画像管理ブロック72は、GUIブロック71からの制御に従い、ディジタルカメラ1から取り込まれて記憶部58等に記憶されている視差画像などの画像データを、画像処理プログラム65が取り扱うデータとして管理する。また、画像管理ブロック72は、視差画像に付加されている属性情報に、サムネイル画像(縮小画像)の画像データ、トリミングされる領域の位置を示す情報、画質が補正されるときの設定値を示す情報、上下方向の位置が調整されるときの調整値を示す情報等を追加する。
【0046】
画像取得ブロック73は、GUIブロック71からの制御に従い、画像管理ブロック72によって管理されている視差画像などの画像データを取得し、ベース画像選択ブロック74に出力する。ベース画像選択ブロック74は、ユーザの操作に対応するGUIブロック71からの制御に従い、画像処理ブロック73から入力される画像のうち、ユーザによって選択された視差画像または画像対を立体視画像生成ブロック75に出力する。また、ベース画像選択ブロック74は、ユーザの操作に対応するGUIブロック71からの制御に従い、画像処理ブロック73から入力される画像のうち、立体視画像の元とすることができる画像対を選択して、立体視画像生成ブロック75に出力する。
【0047】
立体視画像生成ブロック75は、GUIブロック71からの制御に従い、ベース画像選択ブロック74から入力される視差画像または画像対を元に、立体視画像を生成して表示制御ブロック76に出力する。表示制御ブロック76は、GUIブロック71からの制御に従い、GUIおよび生成される立体視画像の表示を制御する。
【0048】
次に、視差画像を元にして立体視画像を生成する立体視画像生成処理について説明するが、その前に、画像処理プログラム65に対応するウィンドウと当該ウィンドウ上のGUIについて、図12および図13を参照して説明する。
【0049】
図12は、画像処理プログラム65が起動されたときに表示されるウィンドウ101の表示例を示している。ウィンドウ101には、処理の対象とする画像のサムネイルなどが表示されるメインエリア102、および「立体視」ボタン104乃至「エンド」ボタン107が設けられている。
【0050】
「画像取得」ボタン103は、立体視画像の元とする視差画像および画像対を選択するためのサムネイルをメインエリア102に表示させるときに押下される。「立体視画像」ボタン104は、選択された立体視画像(または画像対)を元にして立体視画像の生成を開始させるときに押下される。「LR置換」ボタン105は、立体視画像の元となるL画像とR画像を置換させるときに押下される。「印刷」ボタン106は、生成された立体視画像などをプリントアウトするときに押下される。「エンド」ボタン107は、画像処理プログラムを終了させるときに押下される。
【0051】
図13は、「画像取得」ボタン103が押下されたときのウィンドウ101の表示例を示している。メインエリア102には、ディジタルカメラ1から取り込まれた視差画像、通常の画像(連続的に撮影された画像対含む)などのサムネイル画像が表示される。メインエリア102の上側には、「視差画像選択」ボタン111、「画像対選択」ボタン112、および「画像対自動選択」ボタン113が設けられる。
【0052】
「視差画像選択」ボタン111は、メインエリア102に表示されているサムネイル画像のうち、視差画像に対応するものを選択するときに押下される。すなわち、ユーザは、「視差画像選択」ボタン111を押下した後、視差画像に対応するサムネイルを1つだけ選択することができる。
【0053】
「画像対選択」ボタン112は、メインエリア102に表示されているサムネイル画像のうち、立体視画像の元とする画像対に対応するものを選択するときに押下される。すなわち、ユーザは、「画像対選択」ボタン112を押下した後、画像対に対応するサムネイルを2つ選択することができる。
【0054】
「画像対自動選択」ボタン113は、メインエリア102に表示されているサムネイル画像のうち、立体視画像の元とする画像対を自動的に選択させるときに押下される。
【0055】
次に、視差画像を元にして立体視画像を生成する立体視画像生成処理について、図14のフローチャートを参照して説明する。この立体視画像生成処理は、図13に示されたメインエリア102のサムネイルのうち、視差画像に対応するものがユーザによって選択された後、「立体視画像」ボタン104が押下されたときに開始される。
【0056】
ステップS1において、ベース画像選択ブロック74は、画像処理ブロック73から入力される画像データのうち、GUIブロック71からの制御に従い、ユーザが選択する視差画像の画像データを立体視画像生成ブロック75に出力する。
【0057】
ステップS2において、立体視画像生成ブロック75は、ミラー画像の周辺部の輝度を、実験結果に基づくルックアップテーブル(または関数)を用いて補正する。この補正に関する情報は、画像管理ブロック72に出力され、画像管理ブロック72により、視差画像の属性情報に追加される。
【0058】
ここで、実験とは、画像処理プログラム65の開発者側によって実施されたものである。具体的には、光学アダプタ11を装着した状態のディジタルカメラ1で画角の全体を占める白壁等を撮影し、得られた視差画像のうちのミラー画像について、中心部と周辺部の画素の輝度を比較する。そして、その比較結果に基づき、周辺部の画素の輝度が、中心部の画素の輝度と一致するように、例えば、周辺部の座標を入力とし、当該座標に対する補正値を出力するようなルックアップテーブル(関数でもよい)を生成する。または、周辺部の輝度を入力とし、当該輝度に対する補正値を出力するようなルックアップテーブルを生成する。そして、生成したルックアップテーブルを画像処理プログラム65に組み込むようにすればよい。画像処理プログラム65には、ディジタルカメラ1の機種に対応して複数のルックアップテーブルを組み込むようにしてもよい。
【0059】
なお、ステップS2において、スルー画像の輝度も修正するようにしてもよい。
【0060】
また、ステップS2において、立体視画像生成ブロック75は、台形に歪んでいるミラー画像の形状を補正する。なお、このミラー画像の形状の補正については、本出願人が特開2002−34054号として既に提案済であるので、その説明は省略する。
【0061】
ステップS3において、立体視画像生成ブロック75は、補正済のミラー画像とスルー画像との全体的な輝度を比較して、その比較結果に基づいて、ミラー画像の輝度を補正する。具体的には、ミラー画像とスルー画像のそれぞれにおいて、所定の複数(例えば、4点)のサンプリング点の輝度を加算し、ミラー画像における輝度の加算値と、スルー画像の輝度の加算値を比較して、その差がなくなるように、ミラー画像を補正する。この補正に関する情報も、画像管理ブロック72に出力され、画像管理ブロック72により、視差画像の属性情報に追加される。
【0062】
例えば、ミラー画像における4サンプリング点の輝度の加算値が350であり、スルー画像の4サンプリング点の輝度の加算値が500である場合、その差150をサンプリング点の数で除算した値(150/4)を、ミラー画像の全ての画素の輝度に加算する。
【0063】
また、ステップS3において、立体視画像生成ブロック75は、ミラー画像とスルー画像の全体的な彩度が一致するように、ミラー画像の色差を補正する。この補正に関する情報も、画像管理ブロック72に出力され、画像管理ブロック72により、視差画像の属性情報に追加される。
【0064】
ステップS4において、立体視画像生成ブロック75は、ミラー画像に対し、所定のエッジ強調処理を施して、画像の全体的なぼけを補正する。ステップS5において、立体視画像生成ブロック75は、ユーザの操作に対応するGUIブロック71からの制御に従い、ミラー画像とスルー画像をそれぞれトリミングして、それぞれを、L画像とR画像に設定する。このトリミング位置に関する情報は、画像管理ブロック72に出力され、画像管理ブロック72により、視差画像の属性情報に追加される。
【0065】
ステップS6において、立体視画像生成ブロック75は、ユーザの操作に対応するGUIブロック71からの制御に従い、L画像とR画像の上下方向の位置を調整する。なお、L画像とR画像の上下方向の位置を調整する過程の情報は、表示制御ブロック76に出力されて、その調整の様子がメインエリア102に表示される(詳細は図16のフローチャートを参照して後述する)。
【0066】
ステップS7において、立体視画像生成ブロック75は、ステップS6の処理で上下方向の位置が調整されたL画像およびR画像を、式(1)に従って合成し、立体視画像を生成する。生成された立体視画像は、メインエリア102に表示される。また、生成された立体視画像の画像データは、画像管理ブロック72により、元となった視差画像に対応付けて記憶される。
【0067】
なお、ユーザからの所定の操作により、生成された立体視画像を表示部57の全体を占めるように表示させることも可能である。以上で、立体視画像生成処理の説明を終了する。
【0068】
ところで、画像処理プログラム65によれば、2枚の画像からなる画像対を元にしても、立体視画像を生成することができる。この画像対は、図13に示された「画像対選択」ボタン112を押下して、メインエリア102に表示されているサムネイル画像のうちの2つを選択することにより、ユーザが任意に選択することができる。
【0069】
画像対が選択された後、「立体視画像」ボタン104が押下された場合、画像対の一方がL画像とされ、他方がR画像とされて、上述したステップS6以降の処理が開始されて、立体視画像が生成される。生成された立体視画像の画像データは、画像管理ブロック72により、元となった画像対に対応付けて記憶される。
【0070】
なお、立体視画像の元とする画像対を自動的に選択させることもできる。画像対を自動的に選択する処理について、図15のフローチャートを参照して説明する。この画像対自動選択処理は、図13に示された「画像対自動選択」113が押下されたときに開始される。また、この画像対自動選択処理は、画像処理ブロック73からベース画像選択ブロック74に入力される画像が1つずつ処理対象とされて実行される。
【0071】
ステップS11において、ベース画像選択ブロック74は、処理対象の画像が連写モードで撮影されたものであるか否かを、属性情報に含まれる連写フラグを参照して判定する。処理対象の画像が連写モードで撮影されたものではないと判定された場合、処理はステップS12に進む。
【0072】
ステップS12において、ベース画像選択ブロック74は、処理対象の画像と、1枚後に撮影された画像との撮影日時の差が所定の閾値(例えば、数秒)以内であるか否かを判定する。撮影日時の差が所定の閾値以内であると判定された場合、処理はステップS13に進む。
【0073】
ステップS13において、ベース画像選択ブロック74は、処理対象の画像と、1枚後に撮影された画像との類似度を算出し、類似度が所定の閾値以内であるか否かを判定する。ここで、2枚の画像の類似度としては、例えば、それぞれから所定の1ライン分の画素を抽出し、対応する画素同士の差分の総和を算出するようにする。
【0074】
処理対象の画像と1枚後に撮影された画像との類似度が所定の閾値以内であると判定された場合、処理対象の画像と1枚後に撮影された画像とは、同一の被写体を連続して撮影したものであると判断できるので、処理対象の画像と1枚後に撮影された画像とを画像対に設定する。
【0075】
画像対に設定された2枚の画像のサムネイルは、画像対に設定されたことをユーザに通知するために、メインエリア102において、例えば、単一の太枠で囲まれる。また、画像対の情報は、画像管理ブロック72に出力され、画像対のそれぞれの画像データの付加情報に、画像対の相手を示す情報(シリアル番号等)が追加される。あるいは、画像対をなす2つの画像データとそれぞれの属性情報を新たなフォルダを生成して記憶するようにしてもよい。
【0076】
なお、ステップS11において、処理対象の画像が連写モードで撮影されたものであると判定された場合、ステップS12はスキップされ、処理はステップS13に進む。
【0077】
ステップS12において、処理対象の画像と、1枚後に撮影された画像との撮影日時の差が所定の閾値以内ではないと判定された場合、この2枚の画像は、立体視画像の元とする画像対に適していないので、画像対自動選択処理は終了される。
【0078】
ステップS13において、処理対象の画像と、1枚後に撮影された画像との類似度が所定の閾値以内ではないと判定された場合にも、この2枚の画像は、立体視画像の元とする画像対に適していないので、画像対自動選択処理は終了される。以上で、画像対自動選択処理の説明を終了する。
【0079】
この画像対自動選択処理が、画像処理ブロック73からベース画像選択ブロック74に入力される全ての画像を処理対象として実行された後に、複数の画像対が設定されている場合、ユーザは設定された複数の画像対のうち、1つの画像対を選択することができる。画像対がユーザによって選択された後、「立体視画像」ボタン104が押下された場合、上述したステップS6以降の処理が開始されて、立体視画像が生成される。生成された立体視画像の画像データは、画像管理ブロック72により、元となった画像対に対応付けて記憶される。
【0080】
ただし、画像対を元にして立体視画像を生成した場合、画像対の一方をL画像とし、他方をR画像とする設定が適切ではなかった場合(逆であった場合)、立体的に視認することはできない。このとき、ユーザが「LR置換」ボタン105を押下すれば、L画像とR画像が置換されて、立体的に視認できる立体視画像が再生成される。
【0081】
また、「LR置換」ボタン105を押下して立体視画像を再生成させることは、表示された立体視画像に対して、ライン偏光板43が1ライン分だけ上下方向にずれて設置されている場合にも有効に作用する。
【0082】
次に、図14のステップS6の処理、すなわち、L画像とR画像の上下方向の位置を調整する処理の詳細について、図16のフローチャートおよび図17を参照して説明する。
【0083】
ステップS21において、立体視画像生成ブロック75は、ステップS6の処理で設定したL画像およびR画像のサムネイル画像を、画像管理ブロック72から取得する。ステップS22において、立体視画像生成ブロック75は、L画像のサムネイル画像とR画像のサムネイル画像の同じ座標の画素を50%ずつ加算して合成画像を生成する。
【0084】
このとき、ウィンドウ101の表示は、例えば、図17に示すようなものとなる。すなわち、メインエリア102には、L画像が表示されたL画像表示エリア121、R画像が表示されたR画像表示エリア122、および合成画像が表示された合成画像表示エリア123が設けられる。
【0085】
メインエリア102の上方には、L画像に対するR画像の相対的な位置を上方に移動させて合成画像を再生成させるときに操作させる「R画像上方移動」ボタン124、L画像に対するR画像の相対的な位置を下方に移動させ合成画像を再生成させるときに操作される「R画像下方移動」ボタン125、およびL画像に対するR画像の相対的な位置の調整が終了したとき操作される「位置調整終了」ボタン126が設けられる。
【0086】
図14に戻る。ステップS23において、GUIブロック71は、「R画像上方移動」ボタン124または「R画像下方移動」ボタン125が押下されたか否かを判定する。「R画像上方移動」ボタン124または「R画像下方移動」ボタン125が押下されたと判定された場合、処理はステップS24に進む。ステップS24において、立体視画像生成ブロック75は、ユーザの操作に従うGUIブロック71からの制御に基づき、L画像に対するR画像の相対的な位置を上方または下方に移動させて、合成画像を再生成する。
【0087】
このとき、合成画像表示エリア123の表示は、再生成された合成画像に更新される。なお、ステップS23において、「R画像上方移動」ボタン124および「R画像下方移動」ボタン125が押下されていない判定された場合、ステップS24はスキップされ、処理はステップS25に進む。
【0088】
ステップS25において、GUIブロック71は、「位置調整終了」ボタン126が押下されたか否かを判定する。「位置調整終了」ボタン126が押下されていないと判定された場合、ステップS23に戻り、それ以降の処理が繰り返される。
【0089】
従って、ユーザは、合成画像表示エリア123に表示される合成画像を見ながら、「R画像上方移動」ボタン124または「R画像下方移動」ボタン125を押下することにより、L画像とR画像の上下方向の位置を調整することができる。なお、再生成されて表示される合成画像は、データ量の少ない縮小された画像であるので、この再生成の処理は速やかに実行される。
【0090】
ステップS25において、「位置調整終了」ボタン126が押下されたと判定された場合、処理はステップS26に進む。ステップS26において、立体視画像生成ブロック75は、L画像とR画像の上下方向の位置の調整値を画像管理ブロック72に出力する。画像管理ブロック72は、この上下方向の位置の調整値を、視差画像の属性情報に追加する。なお、画像対がL画像とR画像とされている場合、この上下方向の位置の調整値は、画像対の両方の属性情報に追加される。この後、処理は、上述した図14のステップS7に戻ることとなる。
【0091】
以上で、L画像とR画像の上下方向の位置を調整する処理の説明を終了する。
【0092】
なお、上述した説明においては、「R画像上方移動」ボタン124または「R画像下方移動」ボタン125を押下することにより、L画像に対するR画像の相対的な位置を上方または下方に移動させるようにしたが、例えば、合成画像表示エリア123に表示されている合成画像を、マウス(操作入力部56)を用いて、上方または下方にドラッグアンドドロップすることにより、L画像に対するR画像の相対的な位置を上方または下方に移動させるようにしてもよい。
【0093】
次に、図18は、立体視画像が生成されたときのウィンドウ101の表示例を示している。メインエリア102には、生成された立体視画像が表示される。メインエリア102の上側には、メインエリア102の表示を、立体視画像から、立体視画像の元となったL画像およびR画像を用いて従来の立体視の方法によって立体的に視認することができる画像に変換させるときに押下される「アナグリフ」ボタン131乃至「液晶シャッタメガネ」135が設けられている。また、メインエリア102の左側には、生成された立体視画像に任意の文字、記号などを書き込むときに押下される「テキスト入力」ボタン136が追加して設けられている。
【0094】
「アナグリフ」ボタン131は、立体視画像の元となったL画像およびR画像を用いてアナグリフ方式の画像(以下、アナグリフ画像と記述する)を生成させるときに押下される。「カラーアナグリフ1」ボタン132は、立体視画像の元となったL画像およびR画像を用いて第1のカラーアナグリフ方式の画像(以下、第1のカラーアナグリフ画像と記述する)を生成させるときに押下される。「カラーアナグリフ2」ボタン133は、立体視画像の元となったL画像およびR画像を用いて第2のカラーアナグリフ方式の画像(以下、第2のカラーアナグリフ画像と記述する)を生成させるときに押下される。これらの場合、ユーザは、赤青メガネを用いて画像を見る必要がある。
【0095】
「レンチキュラ」ボタン134は、立体視画像の元となったL画像およびR画像を用いてレンチキュラ方式の画像(以下、第1のレンチキュラ画像と記述する)を生成させるときに押下される。この場合、ユーザは、レンチキュラスクリーンを介して画像を見る必要がある。
【0096】
「液晶シャッタメガネ」ボタン135は、立体視画像の元となったL画像およびR画像を時分割立体テレビジョン方式で表示させるときに押下される。この場合、ユーザは、表示部57のフィールド周期に同期して左眼側と右眼側を交互に開閉する液晶シャッタメガネを用いて画像を見る必要がある。
【0097】
次に、メインエリア102に表示されている立体視画像を、ユーザの操作に対応して変換する処理について、図19のフローチャートを参照して説明する。
【0098】
この立体視画像変換処理は、立体視画像が生成され、図18に示されたようなウィンドウ101が表示されたときに開始される。
【0099】
ステップS31において、GUIブロック71は、「LR置換」ボタン105が押下されたか否かを判定する。「LR置換」ボタン105が押下されたと判定された場合、処理はステップS32に進む。ステップS32において、立体視画像生成ブロック75は、GUIブロック71からの制御に従い、現在生成されている立体視画像の元となったL画像とR画像を置換して、立体視画像を再生成する。表示制御ブロック76は、再生成された立体視画像を、メインエリア102に表示させる。この後、処理はステップS43に進む。
【0100】
ステップS31において、「LR置換」ボタン105が押下されていないと判定された場合、処理はステップS33に進む。ステップS33において、GUIブロック71は、「アナグリフ」ボタン131が押下されたか否かを判定する。「アナグリフ」ボタン131が押下されたと判定された場合、処理はステップS34に進む。ステップS34において、立体視画像生成ブロック75は、GUIブロック71からの制御に従い、現在生成されている立体視画像の元となったL画像とR画像を用い、アナグリフ画像を生成する。表示制御ブロック76は、生成されたアナグリフ画像をメインエリア102に表示させる。この後、処理はステップS45に進む。
【0101】
ステップS33において、「アナグリフ」ボタン131が押下されていないと判定された場合、処理はステップS35に進む。ステップS35において、GUIブロック71は、「カラーアナグリフ1」ボタン132が押下されたか否かを判定する。「カラーアナグリフ1」ボタン132が押下されたと判定された場合、処理はステップS36に進む。ステップS36において、立体視画像生成ブロック75は、GUIブロック71からの制御に従い、現在生成されている立体視画像の元となったL画像とR画像を用い、第1のカラーアナグリフ画像を生成する。表示制御ブロック76は、生成された第1のカラーアナグリフ画像をメインエリア102に表示させる。この後、処理はステップS45に進む。
【0102】
ステップS35において、「カラーアナグリフ1」ボタン132が押下されていないと判定された場合、処理はステップS37に進む。ステップS37において、GUIブロック71は、「カラーアナグリフ2」ボタン133が押下されたか否かを判定する。「カラーアナグリフ2」ボタン133が押下されたと判定された場合、処理はステップS38に進む。ステップS38において、立体視画像生成ブロック75は、GUIブロック71からの制御に従い、現在生成されている立体視画像の元となったL画像とR画像を用い、第2のカラーアナグリフ画像を生成する。表示制御ブロック76は、生成された第2のカラーアナグリフ画像をメインエリア102に表示させる。この後、処理はステップS45に進む。
【0103】
ステップS37において、「カラーアナグリフ2」ボタン133が押下されていないと判定された場合、処理はステップS39に進む。ステップS39において、GUIブロック71は、「レンチキュラ」ボタン134が押下されたか否かを判定する。「レンチキュラ」ボタン134が押下されたと判定された場合、処理はステップS40に進む。ステップS40において、立体視画像生成ブロック75は、GUIブロック71からの制御に従い、現在生成されている立体視画像の元となったL画像とR画像を用い、レンチキュラ画像を生成する。表示制御ブロック76は、生成されたレンチキュラ画像をメインエリア102に表示させる。この後、処理はステップS45に進む。
【0104】
ステップS39において、「レンチキュラ」ボタン134が押下されていないと判定された場合、処理はステップS41に進む。ステップS41において、GUIブロック71は、「液晶シャッタメガネ」ボタン135が押下されたか否かを判定する。「液晶シャッタメガネ」ボタン135が押下されたと判定された場合、処理はステップS42に進む。ステップS42において、立体視画像生成ブロック75は、GUIブロック71からの制御に従い、現在生成されている立体視画像の元となったL画像とR画像を表示制御ブロック76に供給する。表示制御ブロック76は、GUIブロック71からの制御に従い、L画像とR画像を、表示部57のフィールド周期に同期して交互にメインエリア102に表示させる。この後、処理はステップS43に進む。
【0105】
ステップS43において、GUIブロック71は、何らかのボタンが押下されるまで待機する。何らかのボタンが押下されたと判定された場合、処理はステップS44に進む。ステップS44において、GUIブロック71は、「エンド」ボタン107が押下されたか否かを判定する。「エンド」ボタン107が押下されたと判定された場合、立体視画像変換処理は終了され、さらに、実行されている画像処理プログラム65も終了される。
【0106】
ステップS44において、「エンド」ボタン107が押下されてないと判定された場合、ステップS31に戻り、それ以降の処理が繰り返される。
【0107】
ステップS34,S36,S38、またはS40の処理の後に実行されるステップS45において、GUIブロック71は、何らかのボタンが押下されるまで待機する。何らかのボタンが押下されたと判定された場合、処理はステップS46に進む。ステップS46において、GUIブロック71は、「印刷」ボタン106が押下されたか否かを判定する。「印刷」ボタン106が押下されたと判定された場合、処理はステップS47に進む。ステップS47において、表示制御ブロック76は、GUIブロック71からの制御に従い、メインエリア102に表示されているアナグリフ画像、第1のカラーアナグリフ画像、第2のアナグリフ画像、またはレンチキュラ画像の画像データをプリンタ(不図示)に出力して印刷させる。
【0108】
印刷されたアナグリフ画像、第1のカラーアナグリフ画像、または第2のアナグリフ画像は、赤青メガネを用いることにより、立体的に視認することができる。印刷されたレンチキュラ画像は、レンチキュラパネルを介することにより、立体的に視認することができる。以上で、立体視画像変換処理の説明を終了する。
【0109】
次に、図20は、「テキスト入力」ボタン136が押下されたときのウィンドウ101の表示例を示している。メインエリア102の上側には、メインエリア102に表示されている立体視画像に重畳して、任意の文字、記号等を表示させるためのテキスト入力エリア141が設けられている。テキスト入力エリア141に入力される文字等は、立体的に視認されるように立体視画像に重畳される。ユーザは、マウス(操作入力部56)を用いてドラッグアンドドロップすることにより、テキスト入力エリア141を任意の位置に移動することができる。
【0110】
メインエリア102の上側には、テキスト入力エリア141に入力された文字等の立体視したときの遠近感を近づけるときに押下される「近く」ボタン142、およびテキスト入力エリア141に入力される文字等の立体視したときの遠近感を遠ざけるときに押下される「遠く」ボタン143が設けられている。
【0111】
ここで、テキスト入力処理について、図21のフローチャートを参照して説明する。このテキスト入力処理は、「テキスト入力」ボタン136が押下されたときに開始される。
【0112】
ステップS51において、表示制御ブロック76は、メインエリア102に表示されている立体視画像に重畳して、テキスト入力エリア141を表示する。ユーザがテキスト入力エリア141に任意の文字等を入力すると、立体視画像生成ブロック75は、入力された文字等が所定の遠近感で立体的に視認されるように、立体視画像に文字等を重畳する。
【0113】
ステップS52において、GUIブロック71は、「近く」ボタン142が押下されたか否かを判定する。「近く」ボタン142が押下されたと判定された場合、処理はステップS53に進む。ステップS53において、立体視画像生成ブロック75は、GUIブロック71からの制御に従い、入力された文字等の遠近感がより近くで立体的に視認されるように、立体視画像に文字等を重畳する。なお、ステップS52において、「近く」ボタン142が押下されていないと判定された場合、ステップS53の処理はスキップされる。
【0114】
ステップS54において、GUIブロック71は、「遠く」ボタン143が押下されたか否かを判定する。「遠く」ボタン143が押下されたと判定された場合、処理はステップS55に進む。ステップS55において、立体視画像生成ブロック75は、GUIブロック71からの制御に従い、入力された文字等の遠近感がより遠くで立体的に視認されるように、立体視画像等に文字等を重畳する。なお、ステップS54において、「遠く」ボタン143が押下されていないと判定された場合、ステップS55の処理はスキップされる。
【0115】
ステップS56において、GUIブロック71は、「テキスト入力」ボタン13642が再び押下されたか否かを判定する。「テキスト入力」ボタン136が再び押下されていないと判定された場合、ステップS52に戻り、それ以降の処理が繰り返される。
【0116】
ステップS56において、「テキスト入力」ボタン13642が再び押下されたと判定された場合、処理はステップS57に進む。ステップS57において、立体視画像生成ブロック75は、入力された文字等のテキスト情報、文字等の立体視画像上の座標情報、文字等の立体視における遠近の情報を画像管理ブロック72に出力する。画像管理ブロック72は、立体視画像の画像データに対応付けて記録する。以上で、テキスト入力処理の説明を終了する。
【0117】
なお、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に従って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。
【0118】
また、本明細書において、システムとは、複数の装置により構成される装置全体を表すものである。
【0119】
【発明の効果】
以上のように、本発明によれば、光学アダプタを用いて得られた立体視画像の元となるL画像とR画像の画質を統一することが可能となる。
【図面の簡単な説明】
【図1】光学アダプタをカメラに取り付けた状態を示す図である。
【図2】図1の光学アダプタの構成例を示す図である。
【図3】光学アダプタ取り付けた状態のカメラによって撮影される視差画像を示す図である。
【図4】本発明を適用した立体視システムの構成例を示す図である。
【図5】ミラー画像とスルー画像から構成される視差画像を示す図である。
【図6】ミラー画像とスルー画像からトリミングされるL画像とR画像を示す図である。
【図7】L画像とR画像を合成して立体視画像生成する処理を説明するための図である。
【図8】立体視画像を示す図である。
【図9】立体視画像を立体的に視認する概要を説明するための図である。
【図10】図4のパーソナルコンピュータの構成例を示すブロック図である。
【図11】図10のCPUが画像処理プログラムを実行すること実現する機能ブロックの構成例を示す図である。
【図12】画像処理プログラムに対応するウィンドウの表示例を示す図である。
【図13】図12の「画像取得」ボタンが押下されたときのウィンドウの表示例を示す図である。
【図14】立体視画像生成処理を説明するフローチャートである。
【図15】画像対自動選択処理を説明するフローチャートである。
【図16】L画像とR画像の上下方向の位置調整処理を説明するフローチャートである。
【図17】L画像とR画像の上下方向の位置調整処理におけるウィンドウの表示例を示す図である。
【図18】立体視画像が生成されたときのウィンドウの表示例を示す図である。
【図19】立体視画像変換処理を説明するフローチャートである。
【図20】図18の「テキスト入力」ボタンが押下されたときのウィンドウの表示例を示す図である。
【図21】テキスト入力処理を説明するフローチャートである。
【符号の説明】
1 ディジタルスチルカメラ, 11 光学アダプタ, 31 パーソナルコンピュータ, 41 フィルタメガネ, 43 ライン偏光板, 51 CPU,61 磁気ディスク, 62 光ディスク, 63 光磁気ディスク, 64半導体メモリ, 65 画像処理プログラム, 71 GUIブロック, 72画像管理ブロック, 73 画像取得ブロック, 74 ベース画像選択ブロック, 75 立体視画像生成ブロック, 76 表示制御ブロック[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image processing apparatus and method, a recording medium, and a program. For example, an image processing apparatus suitable for use in generating a stereoscopic image based on an image for the left eye and an image for the right eye, and The present invention relates to a method, a recording medium, and a program.
[0002]
[Prior art]
Conventionally, there has been a method of viewing a two-dimensional image stereoscopically (hereinafter referred to as a stereoscopic viewing method) using a spatial shift (binocular parallax) between retinal images acquired by the left and right eyes of a person. Many are known.
[0003]
As a method of stereoscopic viewing, an anaglyph method using special glasses, a color anaglyph method, a polarizing filter method, a time-division stereoscopic television method, and a lenticular method that does not use special glasses are known. For example, see Non-Patent Document 1).
[0004]
In the anaglyph method, for example, a left-eye image (hereinafter referred to as an L image) is converted into a red monotone image, and a right-eye image (hereinafter referred to as an R image) is converted into a blue monotone image. The red monotone image and the blue monotone image are superimposed. Then, the image is viewed using glasses (hereinafter referred to as red-blue glasses) in which a red filter is arranged on the left side and a blue filter is arranged on the right side. The anaglyph method can be implemented relatively easily and inexpensively, but the entire image becomes monotone.
[0005]
The color anaglyph method compensates for the shortcomings of the anaglyph method. When the L image and the R image are overlapped, the portion where the corresponding portion is shifted in each image (that is, the portion where the parallax is large) is the same as the anaglyph method. Similarly, for example, the L image is converted into a red monotone image, and the R image is converted into a blue monotone image and superimposed. The portions where the corresponding portions of each image do not shift (that is, portions where the parallax is small) are superimposed in the original color state. Then, the image is viewed using red / blue glasses.
[0006]
In the color anaglyph method, the original color can be reproduced for a portion having a small parallax in the entire image. Note that there are a plurality of variations in the color anaglyph method due to the difference in color used for a portion with little parallax. Hereinafter, a method of using an original color in a portion where the parallax is small is described as a first color anaglyph method. In addition, a method that does not use the original color in a portion where the parallax is small is described as a second color anaglyph method.
[0007]
In the polarization filter method, for example, an L image projected by vertical linearly polarized light and an R image projected by horizontal linearly polarized light are superimposed. The image is viewed using polarizing filter glasses in which a vertical linear polarizing filter is arranged on the left side and a horizontal linear polarizing filter is arranged on the right side. The polarizing filter method is advantageous in that the color reproducibility is good and the resolution is high, but there is a disadvantage that the image becomes dark by using the polarizing filter.
[0008]
In the time-division stereoscopic television system, an L image and an R image are alternately displayed on a television receiver for each field period, and the video is displayed on the left eye side in synchronization with the field period of the television receiver. This is a method of viewing using liquid crystal shutter glasses that alternately open and close the right eye side. In the time division stereoscopic television system, it is important to control the opening / closing operation of the liquid crystal shutter glasses with high accuracy.
[0009]
The lenticular method is a method in which a screen is divided into vertical stripe regions, L images and R images are alternately displayed on the regions on each stripe, and the images are covered with a lens called a lenticular screen. is there.
[0010]
By the way, in order to realize the various stereoscopic viewing methods described above, it is necessary to acquire an L image and an R image. In order to acquire the L image and the R image, the easiest method is to capture the same subject twice by moving the camera position by the distance between both eyes of the person.
[0011]
Further, as a method for acquiring the L image and the R image by one shooting, for example, as shown in FIG. It is known (see, for example, Patent Document 1).
[0012]
FIG. 2 schematically shows the structure of the
[0013]
As shown in FIG. 3, the optical image incident through the
[0014]
[Non-Patent Document 1]
Directed by Takehiro Izumi, edited by NHK Science and Technology Research Laboratories, “Basics of 3D Video”, published by Ohm Publishing, June 5, 1995 [Patent Document 1]
Japanese Patent Laid-Open No. 11-46373 [0015]
[Problems to be solved by the invention]
By the way, when a parallax image is captured using the
[0016]
As for the luminance, for example, if the reflectance of the mirror is 0.9, the luminance of the mirror image reflected twice by the mirror is 0.81 (= 0. 9 × 0.9).
[0017]
Therefore, when the stereoscopic view is realized based on the L image and the R image in which one of the images is deteriorated compared to the other image, the image that can be viewed stereoscopically also has a deteriorated image quality. There was a problem.
[0018]
The present invention has been made in view of such a situation, and an object thereof is to make it possible to unify the image quality of an L image and an R image obtained using an optical adapter.
[0019]
[Means for Solving the Problems]
The image processing apparatus of the present invention is to match the luminance signal of the pixels of the center portion of the mirror image correspondence table or function the luminance signal of the peripheral portion of the mirror image is generated based on an experiment carried out in advance results The luminance correction means for correcting based on the luminance signal, and the process for adjusting the luminance signal of the mirror image corrected by the luminance correction means so as to match the luminance signal of the through image, or to match the color difference signal of the through image Adjusting means for executing at least one of the processes for adjusting the color difference signal of the mirror image corrected by the luminance correcting means based on the through image; and for the odd lines of the stereoscopic image, the mirror image and the through image using one image data among, for even lines of the stereoscopic image by using the other image data of the mirrors images and the through image, Including a generating means for generating image data for displaying the body vision image.
[0020]
The generation unit further uses the other image data for the odd-numbered lines of the stereoscopic image and uses one image data for the even-numbered lines of the stereoscopic image in response to the user's replacement operation. The image data for displaying can be generated .
[0021]
The image processing apparatus of the present invention can further include edge enhancement means for enhancing edges in the mirror image.
[0022]
The image processing apparatus of the present invention can further include trimming means for trimming the mirror image and the through image, respectively, to generate an image for the left eye and an image for the right eye.
[0023]
The generating unit uses one image data of an image for the left eye and an image for the right eye for the odd lines of the stereoscopic image, and uses the image for the left eye and the right eye for the even lines of the stereoscopic image. using the other image data among the image of use, it is possible that generates an image data of a stereoscopic image.
[0024]
In response to the movement operation of the user, the image processing apparatus further includes a moving unit that moves the vertical positions of the left-eye image and the right-eye image, and the generation unit moves the odd-numbered line of the stereoscopic image. The left-eye image and the right-eye image moved by the moving means are used for one line of the left-eye image and the right-eye image moved by the moving means. The image data of the stereoscopic image can be generated using the other image data of the images .
[0025]
According to the image processing method of the present invention, the luminance correction means generates the luminance signal of the peripheral part of the mirror image based on the results of experiments performed in advance so that the luminance signal matches the luminance signal of the pixel at the central part of the mirror image. Correction based on the correspondence table or function, and the adjustment unit adjusts the luminance signal of the mirror image corrected by the luminance correction unit so that it matches the luminance signal of the through image, or the color difference signal of the through image The at least one of the processes for adjusting the color difference signal of the mirror image corrected by the luminance correction unit is executed based on the through image, and the generation unit performs the odd-numbered line of the stereoscopic image. the other image data of the one of the reference image data, the mirror image and the through image for the even lines of the stereoscopic images in the mirror image and the through image Using, including the step that generates image data for displaying a stereoscopic image.
[0026]
Recording medium of the present invention, the luminance correcting means, to match the luminance signal of the pixels of the center portion of the mirror image, the luminance signal of the peripheral portion of the mirror image, is generated on the basis of an experiment carried out in advance results Correction based on the correspondence table or function, and the adjustment unit adjusts the luminance signal of the mirror image corrected by the luminance correction unit so that it matches the luminance signal of the through image, or the color difference signal of the through image The at least one of the processes for adjusting the color difference signal of the mirror image corrected by the luminance correction unit is executed based on the through image, and the generation unit performs the odd-numbered line of the stereoscopic image. using one image data of one of the mirror image and the through image, the other image data of the mirrors images and through image for the even lines of the stereoscopic image There are, that records a program for causing a step that generates image data for displaying a stereoscopic image to execute including processing.
[0027]
According to the program of the present invention, the luminance signal in the peripheral part of the mirror image is generated based on the results of experiments performed in advance so that the luminance correction unit matches the luminance signal of the pixel in the central part of the mirror image . Correction based on the table or function, and the adjustment unit adjusts the luminance signal of the mirror image corrected by the luminance correction unit so that it matches the luminance signal of the through image, or matches the color difference signal of the through image As described above, at least one of the processes for adjusting the color difference signal of the mirror image corrected by the luminance correction unit is executed based on the through image, and the generation unit performs mirror processing for odd lines of the stereoscopic image. using one image data among the image and the through image, the other image data of the mirrors images and through image for the even lines of the stereoscopic image Used, Ru to execute the process including the step that generates image data for displaying a stereoscopic image on the computer.
[0028]
An image processing apparatus and method of the present invention, and the program, so as to match the luminance signal of the pixels of the center portion of the mirror image, the luminance signal of the peripheral portion of the mirror image is generated on the basis of an experiment carried out in advance results Processing to adjust the brightness signal of the corrected mirror image so that it matches the brightness signal of the through image , or is corrected based on the corresponding correspondence table or function, or corrected to match the color difference signal of the through image At least one of the processes for adjusting the color difference signal of the mirror image is executed based on the through image . And, for odd lines of the stereoscopic image, one image data of the mirror image and the through image is used, and for the even lines of the stereoscopic image, the other image data of the mirror image and the through image is used, Image data for displaying a stereoscopic image is generated.
[0029]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 4 shows a configuration example of a stereoscopic system to which the present invention is applied. The stereoscopic system mainly includes a personal computer (PC) 31 that generates a stereoscopic image, filter glasses 41 that a user uses when viewing the displayed stereoscopic image, and display on the
[0030]
As shown in FIG. 1, the
[0031]
The filter glasses 41 are supported by a support bar 42 connected to the
[0032]
The
[0033]
The filter glasses 41, the support rod 42, and the
[0034]
Next, an outline of a process of generating a stereoscopic image by the
[0035]
FIG. 5 shows a parallax image taken by the digital
[0036]
As described above, the mirror image has degraded image quality (luminance, saturation, resolution, etc.) compared to the through image. In particular, the brightness of the peripheral part (upper side part, lower side part, and left side part) of the mirror image is lower than that of the central part. In addition, the mirror image is a rectangular image distorted into a trapezoid. Therefore, first, the image quality of the mirror image is corrected (details will be described later with reference to FIG. 14), and the distortion of the shape of the image is corrected. Next, as shown in FIG. 6, the mirror image and the through image are respectively trimmed to generate an R image and an L image.
[0037]
Next, as shown in FIG. 7, the L image and the R image are synthesized according to the following expression (1) to generate a stereoscopic image as shown in FIG.
Even
Odd line 0 × (L image pixel) + 1 × (R image pixel) = (stereoscopic image pixel) (1)
[0038]
This is the end of the description of the outline of the process of generating a stereoscopic image. The generated stereoscopic image is displayed on the
[0039]
Next, FIG. 10 shows a configuration example of the
[0040]
The
[0041]
The input /
[0042]
The
[0043]
An
[0044]
FIG. 11 illustrates a configuration example of functional blocks realized by the
[0045]
The
[0046]
The
[0047]
The stereoscopic
[0048]
Next, a stereoscopic image generation process for generating a stereoscopic image based on a parallax image will be described. Before that, a window corresponding to the
[0049]
FIG. 12 shows a display example of the
[0050]
The “image acquisition”
[0051]
FIG. 13 shows a display example of the
[0052]
A “parallax image selection”
[0053]
The “select image pair”
[0054]
An “image pair automatic selection”
[0055]
Next, stereoscopic image generation processing for generating a stereoscopic image based on a parallax image will be described with reference to the flowchart of FIG. This stereoscopic image generation processing is started when the “stereoscopic image”
[0056]
In step S <b> 1, the base
[0057]
In step S2, the stereoscopic
[0058]
Here, the experiment is performed by the developer of the
[0059]
In step S2, the brightness of the through image may be corrected.
[0060]
In step S2, the stereoscopic
[0061]
In step S3, the stereoscopic
[0062]
For example, when the added value of the luminance at the four sampling points in the mirror image is 350 and the added value of the luminance at the four sampling points in the through image is 500, a value obtained by dividing the difference 150 by the number of sampling points (150 / 4) is added to the luminance of all the pixels of the mirror image.
[0063]
In step S3, the stereoscopic
[0064]
In step S4, the stereoscopic
[0065]
In step S6, the stereoscopic
[0066]
In step S <b> 7, the stereoscopic
[0067]
The generated stereoscopic image can be displayed so as to occupy the
[0068]
By the way, according to the
[0069]
When the “stereoscopic image”
[0070]
It is also possible to automatically select an image pair as a source of a stereoscopic image. Processing for automatically selecting an image pair will be described with reference to the flowchart of FIG. This image pair automatic selection processing is started when the “image pair automatic selection” 113 shown in FIG. 13 is pressed. In addition, this image pair automatic selection processing is executed with images input from the
[0071]
In step S11, the base
[0072]
In step S <b> 12, the base
[0073]
In step S <b> 13, the base
[0074]
When it is determined that the degree of similarity between the image to be processed and the image taken after the first image is within a predetermined threshold, the image to be processed and the image taken after the first image are the same subject. Therefore, the image to be processed and the image photographed one after are set as an image pair.
[0075]
The thumbnails of the two images set as the image pair are surrounded by, for example, a single thick frame in the
[0076]
If it is determined in step S11 that the image to be processed has been taken in the continuous shooting mode, step S12 is skipped and the process proceeds to step S13.
[0077]
If it is determined in step S12 that the difference in shooting date and time between the image to be processed and the image taken one after is not within a predetermined threshold, these two images are used as the source of the stereoscopic image. Since it is not suitable for an image pair, the image pair automatic selection process is terminated.
[0078]
Even in the case where it is determined in step S13 that the similarity between the image to be processed and the image taken one after is not within a predetermined threshold, these two images are used as the source of the stereoscopic image. Since it is not suitable for an image pair, the image pair automatic selection process is terminated. This is the end of the description of the image pair automatic selection process.
[0079]
After this image pair automatic selection processing is executed for all the images input from the
[0080]
However, when a stereoscopic image is generated based on the image pair, if the setting of one of the image pair as an L image and the other as an R image is not appropriate (in the opposite case), it is viewed stereoscopically. I can't do it. At this time, if the user presses the “LR replacement”
[0081]
In addition, when the “LR replacement”
[0082]
Next, details of the process in step S6 of FIG. 14, that is, the process of adjusting the vertical position of the L image and the R image will be described with reference to the flowchart of FIG. 16 and FIG.
[0083]
In step S <b> 21, the stereoscopic
[0084]
At this time, the display of the
[0085]
Above the
[0086]
Returning to FIG. In step S <b> 23, the
[0087]
At this time, the display of the composite
[0088]
In step S <b> 25, the
[0089]
Accordingly, the user presses the “R image upward movement”
[0090]
If it is determined in step S25 that the “position adjustment end”
[0091]
Above, description of the process which adjusts the position of the up-down direction of L image and R image is complete | finished.
[0092]
In the above description, the relative position of the R image with respect to the L image is moved upward or downward by pressing the “R image upward movement”
[0093]
Next, FIG. 18 shows a display example of the
[0094]
The “anaglyph”
[0095]
The “lenticular”
[0096]
The “liquid crystal shutter glasses”
[0097]
Next, processing for converting a stereoscopic image displayed in the
[0098]
This stereoscopic image conversion process is started when a stereoscopic image is generated and the
[0099]
In step S31, the
[0100]
If it is determined in step S31 that the “LR replacement”
[0101]
If it is determined in step S33 that the “anaglyph”
[0102]
If it is determined in step S35 that the “
[0103]
If it is determined in step S37 that the “color anaglyph 2”
[0104]
If it is determined in step S39 that the “lenticular”
[0105]
In step S43, the
[0106]
If it is determined in step S44 that the “END”
[0107]
In step S45 executed after the processing of step S34, S36, S38, or S40, the
[0108]
The printed anaglyph image, first color anaglyph image, or second anaglyph image can be viewed three-dimensionally by using red and blue glasses. The printed lenticular image can be viewed three-dimensionally through the lenticular panel. This is the end of the description of the stereoscopic image conversion process.
[0109]
Next, FIG. 20 shows a display example of the
[0110]
On the upper side of the
[0111]
Here, the text input process will be described with reference to the flowchart of FIG. This text input process is started when the “text input”
[0112]
In step S <b> 51, the
[0113]
In step S52, the
[0114]
In step S54, the
[0115]
In step S56, the
[0116]
If it is determined in step S56 that the “text input” button 13642 has been pressed again, the process proceeds to step S57. In step S <b> 57, the stereoscopic
[0117]
In the present specification, the step of describing the program recorded in the recording medium is not limited to the processing performed in time series according to the described order, but is not necessarily performed in time series, either in parallel or individually. The process to be executed is also included.
[0118]
Further, in this specification, the system represents the entire apparatus constituted by a plurality of apparatuses.
[0119]
【The invention's effect】
As described above, according to the present invention, it is possible to unify the image quality of the L image and the R image that are the basis of the stereoscopic image obtained by using the optical adapter.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a state where an optical adapter is attached to a camera.
FIG. 2 is a diagram illustrating a configuration example of the optical adapter in FIG.
FIG. 3 is a diagram illustrating a parallax image captured by a camera with an optical adapter attached.
FIG. 4 is a diagram illustrating a configuration example of a stereoscopic vision system to which the present invention is applied.
FIG. 5 is a diagram illustrating a parallax image composed of a mirror image and a through image.
FIG. 6 is a diagram illustrating an L image and an R image trimmed from a mirror image and a through image.
FIG. 7 is a diagram for explaining a process of generating a stereoscopic image by combining an L image and an R image.
FIG. 8 is a diagram illustrating a stereoscopic image.
FIG. 9 is a diagram for explaining an overview of stereoscopically viewing a stereoscopic image.
10 is a block diagram illustrating a configuration example of the personal computer in FIG. 4;
11 is a diagram illustrating a configuration example of functional blocks that are realized by the CPU in FIG. 10 executing an image processing program.
FIG. 12 is a diagram illustrating a display example of a window corresponding to an image processing program.
13 is a diagram showing a display example of a window when the “image acquisition” button in FIG. 12 is pressed.
FIG. 14 is a flowchart illustrating a stereoscopic image generation process.
FIG. 15 is a flowchart illustrating an image pair automatic selection process.
FIG. 16 is a flowchart illustrating position adjustment processing in the vertical direction of an L image and an R image.
FIG. 17 is a diagram illustrating a display example of a window in the vertical position adjustment process for an L image and an R image.
FIG. 18 is a diagram illustrating a display example of a window when a stereoscopic image is generated.
FIG. 19 is a flowchart illustrating a stereoscopic image conversion process.
FIG. 20 is a diagram showing a display example of a window when the “text input” button in FIG. 18 is pressed.
FIG. 21 is a flowchart illustrating text input processing.
[Explanation of symbols]
DESCRIPTION OF
Claims (9)
前記ミラー画像の中心部の画素の輝度信号と一致するように、前記ミラー画像の周辺部の輝度信号を、予め実施した実験結果に基づいて生成されている対応表または関数に基づいて補正する輝度補正手段と、
前記スルー画像の輝度信号と一致するように、前記輝度補正手段により補正された前記ミラー画像の輝度信号を調整する処理、または、前記スルー画像の色差信号と一致するように、前記輝度補正手段により補正された前記ミラー画像の色差信号を調整する処理のうちの少なくとも一方の処理を、前記スルー画像に基づいて実行する調整手段と、
前記立体視画像の奇数ラインについては前記ミラー画像および前記スルー画像のうちの一方の画像データを用い、前記立体視画像の偶数ラインについては前記ミラー画像および前記スルー画像のうちの他方の画像データを用いて、前記立体視画像を表示するための画像データを生成する生成手段と
を含む画像処理装置。An image that generates image data for displaying a stereoscopic image based on a mirror image obtained through a mirror and a through image obtained without going through the mirror, which are simultaneously photographed using an optical adapter. In the processing device,
To match the luminance signal of the pixels of the center portion of the mirror image, the luminance signal of the peripheral portion of the mirror image is corrected based on the correspondence table or function is generated based on an experiment carried out in advance results luminance Correction means;
The process of adjusting the luminance signal of the mirror image corrected by the luminance correction unit so as to match the luminance signal of the through image, or the luminance correction unit so as to match the color difference signal of the through image Adjusting means for executing at least one of the processes for adjusting the color difference signal of the corrected mirror image based on the through image;
For the odd lines of the stereoscopic image using one image data of one of the mirror image and the through image, the even lines of the stereoscopic image and the other image data of the mirror image and the through image used, generating means and the including image processing apparatus for generating image data for displaying the stereoscopic image.
請求項1に記載の画像処理装置。The generation means further uses the other image data for odd lines of the stereoscopic image and uses the one image data for even lines of the stereoscopic image in response to a user's replacement operation. Generating image data for displaying the stereoscopic image
The image processing apparatus according to 請 Motomeko 1.
さらに含む請求項1に記載の画像処理装置。The image processing apparatus according to 請 Motomeko 1, further comprising emphasizing edge enhancement means edges in the mirror image.
さらに含む請求項1に記載の画像処理装置。It trimmed the mirror image and the through image, respectively, the image processing apparatus according to 請 Motomeko 1 further comprising a trimming means for generating an image for image and the right eye for the left eye.
請求項4に記載の画像処理装置。The generating means uses one image data of the left-eye image and the right-eye image for the odd-numbered lines of the stereoscopic image, and the left-eye for the even-numbered lines of the stereoscopic image. The image data of the stereoscopic image is generated using the other image data of the image for the right eye and the image for the right eye
The image processing apparatus according to 請 Motomeko 4.
前記生成手段は、前記立体視画像の奇数ラインについては、前記移動手段により移動された前記左眼用の画像および前記右眼用の画像のうちの一方の画像データを用い、前記立体視画像の偶数ラインについては、前記移動手段により移動された前記左眼用の画像および前記右眼用の画像のうちの他方の画像データを用いて、前記立体視画像の画像データを生成する
請求項5に記載の画像処理装置。 In response to a user's movement operation, the image processing apparatus further includes moving means for moving the vertical position of the left-eye image and the right-eye image,
The generation unit uses one of the left-eye image and the right-eye image moved by the moving unit for odd lines of the stereoscopic image, and uses the image data of the stereoscopic image. For even lines, the image data of the stereoscopic image is generated using the other image data of the left-eye image and the right-eye image moved by the moving means.
The image processing apparatus according to claim 5 .
輝度補正手段と、
調整手段と、
生成手段と
を含み、
前記輝度補正手段が、前記ミラー画像の中心部の画素の輝度信号と一致するように、前記ミラー画像の周辺部の輝度信号を、予め実施した実験結果に基づいて生成されている対応表または関数に基づいて補正し、
前記調整手段が、前記スルー画像の輝度信号と一致するように、前記輝度補正手段により補正された前記ミラー画像の輝度信号を調整する処理、または、前記スルー画像の色差信号と一致するように、前記輝度補正手段により補正された前記ミラー画像の色差信号を調整する処理のうちの少なくとも一方の処理を、前記スルー画像に基づいて実行し、
前記生成手段が、前記立体視画像の奇数ラインについては前記ミラー画像および前記スルー画像のうちの一方の画像データを用い、前記立体視画像の偶数ラインについては前記ミラー画像および前記スルー画像のうちの他方の画像データを用いて、前記立体視画像を表示するための画像データを生成する
ステップを含む画像処理方法。An image that generates image data for displaying a stereoscopic image based on a mirror image obtained through a mirror and a through image obtained without going through the mirror, which are simultaneously photographed using an optical adapter. processing apparatus,
Brightness correction means;
Adjusting means;
Generation means and
Including
It said brightness correcting means, to match the luminance signal of the pixels of the center portion of the mirror image, the luminance signal of the peripheral portion of the mirror image, the corresponding table or function is generated based on an experiment carried out in advance results corrected on the basis of,
The adjustment unit adjusts the luminance signal of the mirror image corrected by the luminance correction unit so as to match the luminance signal of the through image, or matches the color difference signal of the through image, Executing at least one of the processes of adjusting the color difference signal of the mirror image corrected by the brightness correction unit based on the through image;
The generating means uses one image data of the mirror image and the through image for odd lines of the stereoscopic image and uses the image data of the mirror image and the through image for even lines of the stereoscopic image. using the other image data, that generates image data for displaying the stereoscopic image
Including image processing method of the step.
輝度補正手段と、
調整手段と、
生成手段と
を含み、
前記輝度補正手段が、前記ミラー画像の中心部の画素の輝度信号と一致するように、前記ミラー画像の周辺部の輝度信号を、予め実施した実験結果に基づいて生成されている対応表または関数に基づいて補正し、
前記調整手段が、前記スルー画像の輝度信号と一致するように、前記輝度補正手段により補正された前記ミラー画像の輝度信号を調整する処理、または、前記スルー画像の色差信号と一致するように、前記輝度補正手段により補正された前記ミラー画像の色差信号を調整する処理のうちの少なくとも一方の処理を、前記スルー画像に基づいて実行し、
前記生成手段が、前記立体視画像の奇数ラインについては前記ミラー画像および前記スルー画像のうちの一方の画像データを用い、前記立体視画像の偶数ラインについては前記ミラー画像および前記スルー画像のうちの他方の画像データを用いて、前記立体視画像を表示するための画像データを生成する
ステップを含む処理を実行させるためのプログラムを記録したコンピュータが読み取り可能な記録媒体。 Image to generate image data for displaying a stereoscopic image based on the captured, a through image obtained without going through the mirror image obtained via the mirror, and the mirror simultaneously with the optical adapter The computer of the processing device
Brightness correction means;
Adjusting means;
Generation means and
Including
It said brightness correcting means, to match the luminance signal of the pixels of the center portion of the mirror image, the luminance signal of the peripheral portion of the mirror image, the corresponding table or function is generated based on an experiment carried out in advance results corrected on the basis of,
The adjustment unit adjusts the luminance signal of the mirror image corrected by the luminance correction unit so as to match the luminance signal of the through image, or matches the color difference signal of the through image, Executing at least one of the processes of adjusting the color difference signal of the mirror image corrected by the brightness correction unit based on the through image;
The generation means uses one of the mirror image and the through image for odd lines of the stereoscopic image, and uses the image data of the mirror image and the through image for even lines of the stereoscopic image. using the other image data, that generates image data for displaying the stereoscopic image
Recorded computer-readable record medium storing a program for executing a process including steps.
輝度補正手段と、
調整手段と、
生成手段と
を含み、
前記輝度補正手段が、前記ミラー画像の中心部の画素の輝度信号と一致するように、前記ミラー画像の周辺部の輝度信号を、予め実施した実験結果に基づいて生成されている対応表または関数に基づいて補正し、
前記調整手段が、前記スルー画像の輝度信号と一致するように、前記輝度補正手段により補正された前記ミラー画像の輝度信号を調整する処理、または、前記スルー画像の色差信号と一致するように、前記輝度補正手段により補正された前記ミラー画像の色差信号を調整する処理のうちの少なくとも一方の処理を、前記スルー画像に基づいて実行し、
前記生成手段が、前記立体視画像の奇数ラインについては前記ミラー画像および前記スルー画像のうちの一方の画像データを用い、前記立体視画像の偶数ラインについては前記ミラー画像および前記スルー画像のうちの他方の画像データを用いて、前記立体視画像を表示するための画像データを生成する
ステップを含む処理を実行させるためのプログラム。 Image to generate image data for displaying a stereoscopic image based on the captured, a through image obtained without going through the mirror image obtained via the mirror, and the mirror simultaneously with the optical adapter The computer of the processing device
Brightness correction means;
Adjusting means;
Generation means and
Including
It said brightness correcting means, to match the luminance signal of the pixels of the center portion of the mirror image, the luminance signal of the peripheral portion of the mirror image, the corresponding table or function is generated based on an experiment carried out in advance results corrected on the basis of,
The adjustment unit adjusts the luminance signal of the mirror image corrected by the luminance correction unit so as to match the luminance signal of the through image, or matches the color difference signal of the through image, Executing at least one of the processes of adjusting the color difference signal of the mirror image corrected by the brightness correction unit based on the through image;
The generation means uses one of the mirror image and the through image for odd lines of the stereoscopic image, and uses the image data of the mirror image and the through image for even lines of the stereoscopic image. using the other image data, that generates image data for displaying the stereoscopic image
Because of program processing by the execution includes the step.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002261541A JP4200718B2 (en) | 2002-09-06 | 2002-09-06 | Image processing apparatus and method, recording medium, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002261541A JP4200718B2 (en) | 2002-09-06 | 2002-09-06 | Image processing apparatus and method, recording medium, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004102513A JP2004102513A (en) | 2004-04-02 |
| JP4200718B2 true JP4200718B2 (en) | 2008-12-24 |
Family
ID=32261887
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002261541A Expired - Fee Related JP4200718B2 (en) | 2002-09-06 | 2002-09-06 | Image processing apparatus and method, recording medium, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4200718B2 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4914278B2 (en) | 2007-04-16 | 2012-04-11 | 富士フイルム株式会社 | Image processing apparatus, method, and program |
| KR101518722B1 (en) * | 2008-08-18 | 2015-05-15 | 삼성테크윈 주식회사 | Image enhancement processing method and apparatus for distortion correction by air particle like fog |
| EP2506587A2 (en) * | 2011-03-31 | 2012-10-03 | Fujifilm Corporation | Stereoscopic display apparatus |
| JP6485655B2 (en) | 2017-03-27 | 2019-03-20 | 日本電気株式会社 | Face authentication device, face authentication method, and face authentication program |
| JP7300962B2 (en) * | 2019-10-16 | 2023-06-30 | キヤノン株式会社 | Image processing device, image processing method, imaging device, program, and storage medium |
-
2002
- 2002-09-06 JP JP2002261541A patent/JP4200718B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004102513A (en) | 2004-04-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4072674B2 (en) | Image processing apparatus and method, recording medium, and program | |
| US8791989B2 (en) | Image processing apparatus, image processing method, recording method, and recording medium | |
| JP3978392B2 (en) | 3D image signal generation circuit and 3D image display device | |
| JP5266126B2 (en) | Image display apparatus and method, and program | |
| US20120154547A1 (en) | Imaging device, control method thereof, and program | |
| JP2004129186A (en) | Stereoscopic image data processing device, stereoscopic image data processing program, and recording medium | |
| US20130162764A1 (en) | Image processing apparatus, image processing method, and non-transitory computer-readable medium | |
| CN103037235A (en) | Imaging apparatus and method for controlling same | |
| JPWO2012002020A1 (en) | Reproduction apparatus, compound eye imaging apparatus, reproduction method, and program | |
| JP4129786B2 (en) | Image processing apparatus and method, recording medium, and program | |
| KR20150003576A (en) | Apparatus and method for generating or reproducing three-dimensional image | |
| JPWO2011158573A1 (en) | Stereoscopic image display control apparatus and operation control method thereof | |
| JP2009077276A (en) | IMAGE GENERATION METHOD, STEREOVISION PRINTED MATERIAL, STEREOVISION PRINTED PRODUCTION METHOD AND PROGRAM | |
| JP4200718B2 (en) | Image processing apparatus and method, recording medium, and program | |
| CN104041026B (en) | Image output device, method, program and recording medium thereof | |
| JP4165158B2 (en) | Image processing apparatus and method, recording medium, and program | |
| US20130093857A1 (en) | Stereoscopic image display device, stereoscopic imaging device, and methods | |
| JP4200717B2 (en) | Image processing apparatus and method, recording medium, and program | |
| CN103385005A (en) | Three-dimensional image processing apparatus and three-dimensional image processing method | |
| JP4129787B2 (en) | Image processing apparatus and method, recording medium, and program | |
| JP4668602B2 (en) | Stereoscopic image generation apparatus and method, and program | |
| JP2011044828A (en) | Stereoscopic image generator, stereoscopic image printing device, and stereoscopic image generation method | |
| JP2011082698A (en) | Image generation device, image generation method, and program | |
| KR20020055868A (en) | System for producing and displaying three dimensional image and method for the same | |
| JP2006270160A (en) | Image data processing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050810 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080417 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080513 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080704 |
|
| 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: 20080916 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080929 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111017 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121017 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131017 Year of fee payment: 5 |
|
| LAPS | Cancellation because of no payment of annual fees |