JP6217486B2 - Stereo image generating apparatus, stereo image generating method, and stereo image generating program - Google Patents
Stereo image generating apparatus, stereo image generating method, and stereo image generating program Download PDFInfo
- Publication number
- JP6217486B2 JP6217486B2 JP2014061877A JP2014061877A JP6217486B2 JP 6217486 B2 JP6217486 B2 JP 6217486B2 JP 2014061877 A JP2014061877 A JP 2014061877A JP 2014061877 A JP2014061877 A JP 2014061877A JP 6217486 B2 JP6217486 B2 JP 6217486B2
- Authority
- JP
- Japan
- Prior art keywords
- parallax
- parallax adjustment
- depth
- information
- partial
- 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.)
- Active
Links
Landscapes
- Stereoscopic And Panoramic Photography (AREA)
- Processing Or Creating Images (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Description
本発明は、立体画像生成技術に関し、特に立体映像をなす一対の画像を補正する立体画像生成技術に関する。 The present invention relates to a stereoscopic image generation technique, and more particularly to a stereoscopic image generation technique for correcting a pair of images forming a stereoscopic video.
近年、立体画像(3D画像)を表示することができる3D画像表示装置が普及し始めている。テレビジョン放送でも3D映像信号による放送がなされ、3D映像信号を記録再生することができる3D信号記録装置も普及し始めている。放送用やパッケージメディア用の3D映像信号のコンテンツ(以下、「3Dコンテンツ」という)は、通常、2眼カメラで撮影した2視点映像信号である。2視点映像信号によれば、リアルな3D画像を表現することができる。 In recent years, 3D image display devices capable of displaying stereoscopic images (3D images) have begun to spread. Broadcasting using 3D video signals is also performed in television broadcasting, and 3D signal recording apparatuses capable of recording and reproducing 3D video signals are also becoming popular. The content of a 3D video signal for broadcasting or package media (hereinafter referred to as “3D content”) is usually a two-viewpoint video signal captured by a twin-lens camera. According to the two-viewpoint video signal, a realistic 3D image can be expressed.
このような立体画像表示装置においては、観察者が注視している物体が飛び出した点に目の輻輳角を合わせながら、ディスプレイ表面にピントを合わせるという不整合があるため、飛び出し量が大きすぎると目の疲れを誘発する。また、観察者とディスプレイの表示面との距離や観察者の個人差によって、観察者にとって好適な奥行き感が異なる。 In such a stereoscopic image display device, there is a mismatch of focusing on the display surface while adjusting the convergence angle of the eye to the point where the object being watched by the observer has popped out. Induces eye fatigue. Moreover, the depth feeling suitable for the observer varies depending on the distance between the observer and the display surface of the display and the individual differences of the observer.
これらの問題に対して、特許文献1には、入力された画像の一対の画像の視差を、観察者とディスプレイ表面との距離や観察者の個人差によらず、好適な奥行き感の視差に変更して立体画像を表示する技術が開示されている。 With respect to these problems, Patent Document 1 discloses that the parallax between a pair of input images is converted into a parallax with a suitable sense of depth regardless of the distance between the viewer and the display surface or the individual differences of the viewers. A technique for displaying a stereoscopic image by changing it is disclosed.
しかしながら、特許文献1に開示された技術では、視差を調整する方法として各種方法が提案されているが、これらの方法の選択基準が画像の視差自体によらず固定的に決定されるため、映像によっては必ずしも最適な調整方法が選択されるとは限らないという問題があった。 However, in the technique disclosed in Patent Document 1, various methods have been proposed as methods for adjusting parallax. However, since the selection criterion of these methods is fixedly determined regardless of the parallax of the image itself, video In some cases, the optimum adjustment method is not always selected.
本発明はこうした状況に鑑みてなされたものであり、その目的は、視差を適切に調整して観察者にとって好適な立体映像を提供することのできる立体画像生成技術を提供することにある。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide a stereoscopic image generation technique capable of appropriately adjusting parallax and providing a stereoscopic image suitable for an observer.
上記課題を解決するために、本発明のある態様の立体画像生成装置は、立体映像をなす一対の画像の視差情報を取得する視差情報取得部と、前記視差情報にもとづいて立体映像の飛び出しまたは引っ込み度合いを取得する飛び出し/引っ込み度合い取得部と、前記視差情報を調整して視差調整情報を生成する視差調整部と、画像における少なくとも一部の領域の奥行きを深くするための複数の奥行きモデルの少なくとも1つを選択し、その選択された少なくとも1つの奥行きモデルと、前記視差調整部による視差調整情報とを前記飛び出しまたは引っ込み度合いに応じた合成比率で合成する合成部と、合成後の視差調整情報に基づいて前記一対の画像の視差を変更した新たな一対の画像を生成する画像生成部とを備える。 In order to solve the above-described problem, a stereoscopic image generation apparatus according to an aspect of the present invention includes a parallax information acquisition unit that acquires parallax information of a pair of images forming a stereoscopic video, and a projection of a stereoscopic video based on the parallax information. A protrusion / retraction degree acquisition unit that acquires the degree of retraction, a parallax adjustment unit that adjusts the parallax information to generate parallax adjustment information, and a plurality of depth models for deepening at least some of the regions in the image. A combination unit that selects at least one and combines the selected at least one depth model and the parallax adjustment information by the parallax adjustment unit at a combination ratio according to the degree of popping out or retracting, and parallax adjustment after combining An image generation unit that generates a new pair of images in which the parallax of the pair of images is changed based on the information.
本発明の別の態様は、立体画像生成方法である。この方法は、立体映像をなす一対の画像の視差情報を取得するステップと、前記視差情報にもとづいて立体映像の飛び出しまたは引っ込み度合いを取得するステップと、前記視差情報を調整して視差調整情報を生成するステップと、画像における少なくとも一部の領域の奥行きを深くするための複数の奥行きモデルの少なくとも1つを選択し、その選択された少なくとも1つの奥行きモデルと、前記視差調整情報とを前記飛び出しまたは引っ込み度合いに応じた合成比率で合成するステップと、合成後の視差調整情報に基づいて前記一対の画像の視差を変更した新たな一対の画像を生成するステップとを備える。 Another aspect of the present invention is a stereoscopic image generation method. In this method, a step of acquiring parallax information of a pair of images forming a stereoscopic video, a step of acquiring a degree of popping out or retracting a stereoscopic video based on the parallax information, and adjusting the parallax information to obtain parallax adjustment information. Selecting at least one of a plurality of depth models for increasing the depth of at least some of the regions in the image, and popping out the selected at least one depth model and the parallax adjustment information Alternatively, the method includes a step of combining at a combining ratio corresponding to the degree of retraction, and a step of generating a new pair of images in which the parallax of the pair of images is changed based on the combined parallax adjustment information.
なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、記録媒体、コンピュータプログラムなどの間で変換したものもまた、本発明の態様として有効である。 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.
本発明によれば、観察者にとって好適な立体映像を提供することができる。 According to the present invention, it is possible to provide a stereoscopic image suitable for an observer.
[実施の形態1]
図1は、本発明の実施の形態1に係る立体画像生成装置1のブロック図である。立体画像生成装置1には、3D信号記録装置2とステレオ表示装置3とが接続されている。3D信号記録装置2は、3D映像を記録し、保持する。立体画像生成装置1は、3D信号記録装置2から3D映像を読み取る。ステレオ表示装置3は、立体画像生成装置1から左目画像および右目画像を受け取り、立体画像として表示する。
[Embodiment 1]
FIG. 1 is a block diagram of a stereoscopic image generating apparatus 1 according to Embodiment 1 of the present invention. A 3D signal recording device 2 and a stereo display device 3 are connected to the stereoscopic image generating device 1. The 3D signal recording device 2 records and holds 3D video. The stereoscopic image generation device 1 reads 3D video from the 3D signal recording device 2. The stereo display device 3 receives the left eye image and the right eye image from the stereoscopic image generation device 1 and displays them as a stereoscopic image.
立体画像生成装置1は、入力信号取得部11、3D信号デコード部12、3D信号視差検出部13、および画像信号変換部14を備える。 The stereoscopic image generation apparatus 1 includes an input signal acquisition unit 11, a 3D signal decoding unit 12, a 3D signal parallax detection unit 13, and an image signal conversion unit 14.
入力信号取得部11は、3D映像信号送信源である3D信号記録装置2から出力された3D映像信号及び3Dフォーマット識別信号を取得する。入力信号取得部11は、例えば入力端子及び入力インタフェースを含む。3Dフォーマット識別信号とは、3Dコンテンツのフォーマットが、サイド・バイ・サイド方式,トップ・アンド・ボトム方式,ライン・バイ・ライン方式,フィールドシーケンシャル方式等のいずれであるかを示す信号である。 The input signal acquisition unit 11 acquires a 3D video signal and a 3D format identification signal output from the 3D signal recording device 2 that is a 3D video signal transmission source. The input signal acquisition unit 11 includes, for example, an input terminal and an input interface. The 3D format identification signal is a signal indicating whether the 3D content format is a side-by-side format, a top-and-bottom format, a line-by-line format, a field sequential format, or the like.
3D信号の送受信については一例としてHDMI(登録商標)1.4aで規格化されており、本実施の形態では、入力信号取得部11は、HDMI(登録商標)1.4aの規格に基づき3D映像信号及び3Dフォーマット識別信号を3D信号記録装置2から取得する。入力信号取得部11が取得した3D映像信号及び3Dフォーマット識別信号は、3D信号デコード部12に供給される。 As an example, transmission / reception of 3D signals is standardized by HDMI (registered trademark) 1.4a, and in this embodiment, the input signal acquisition unit 11 performs 3D video based on the standard of HDMI (registered trademark) 1.4a. The signal and the 3D format identification signal are acquired from the 3D signal recording device 2. The 3D video signal and 3D format identification signal acquired by the input signal acquisition unit 11 are supplied to the 3D signal decoding unit 12.
3D信号デコード部12は、3D映像信号を、3Dフォーマット識別信号に基づいて左目画像信号と右目画像信号とに分離する。左目画像信号と右目画像信号は、3D信号視差検出部13及び画像信号変換部14に供給される。左目画像信号と右目画像信号とはステレオ画像ペアを構成する。 The 3D signal decoding unit 12 separates the 3D video signal into a left eye image signal and a right eye image signal based on the 3D format identification signal. The left eye image signal and the right eye image signal are supplied to the 3D signal parallax detection unit 13 and the image signal conversion unit 14. The left eye image signal and the right eye image signal form a stereo image pair.
3D信号視差検出部13は、例えば視差算出手法の代表例であるステレオマッチング手法を用いて、ステレオ画像ペアの左目画像信号(または右目画像信号)を基準として左目画像信号と右目画像信号との間の3D信号視差値DPTを画素単位で検出して、ステレオ画像ペアの視差情報を取得する。ステレオマッチング手法とは、一方の撮像画像(基準画像)中にある画素ブロック、即ち、基準画像の一部を構成する小領域毎の画素群に関して、その相関先を他方の撮像画像(比較画像)において特定することで、撮像画像(基準画像)中の画素ブロック毎に視差値を求める手法である(たとえば、特開2003−16427号公報参照)。3D信号視差値DPTの値が正の場合は「飛び出し方向」、負の場合は「引っ込み方向」とする。 The 3D signal parallax detection unit 13 uses, for example, a stereo matching technique, which is a representative example of the parallax calculation technique, and uses the left eye image signal (or right eye image signal) of the stereo image pair as a reference between the left eye image signal and the right eye image signal. The 3D signal parallax value DPT is detected for each pixel, and parallax information of the stereo image pair is acquired. The stereo matching method is a pixel block in one captured image (reference image), that is, a pixel group for each small region constituting a part of the reference image, and the correlation destination is the other captured image (comparison image). In this method, the parallax value is obtained for each pixel block in the captured image (reference image) (see, for example, Japanese Patent Application Laid-Open No. 2003-16427). When the value of the 3D signal parallax value DPT is positive, the “protruding direction” is set, and when the value is negative, the “retracting direction” is set.
ここでは、左目画像信号と右目画像信号から視差を検出したが、立体映像信号に視差情報が含まれている場合は、信号から視差情報を取得してもよい。視差情報を取得する方法は様々な手法を用いることができ、3D信号視差検出部13は視差情報取得部の一例である。 Here, the parallax is detected from the left-eye image signal and the right-eye image signal. However, when the stereoscopic video signal includes parallax information, the parallax information may be acquired from the signal. Various methods can be used as a method of acquiring the parallax information, and the 3D signal parallax detection unit 13 is an example of the parallax information acquisition unit.
ここで3D信号視差値DPTは、左目画像の画素を基準として、対応する右目画像の画素がずれている量を示す左視差値DPT_Lと、右目画像の画素を基準にして、対応する左目画像の画素がずれている量を示す右視差値DPT_Rを含む。 Here, the 3D signal parallax value DPT is based on the left parallax value DPT_L indicating the amount of shift of the corresponding right-eye image pixel with respect to the pixel of the left-eye image, and the corresponding left-eye image pixel with respect to the pixel of the right-eye image. It includes a right parallax value DPT_R indicating the amount of pixel displacement.
3D信号視差値DPT(DPT_LとDPT_Rの少なくともどちらか一方)は、画像信号変換部14へと供給される。 The 3D signal parallax value DPT (at least one of DPT_L and DPT_R) is supplied to the image signal converter 14.
画像信号変換部14は、3D信号デコード部12より出力されたステレオ画像ペアである左目画像信号と右目画像信号との内の少なくとも一方の信号の画素をシフトさせて視差を調整して出力する。画像信号変換部14は、例えば特開2005−151534号公報に記載の疑似立体画像生成装置を用いて、画素をシフトさせる。同公報に記載の疑似立体画像生成装置は、いわゆる「2D3D変換」を行うものであり、2D画像から疑似立体画像を生成する。 The image signal conversion unit 14 adjusts the parallax by shifting the pixel of at least one of the left-eye image signal and the right-eye image signal that are the stereo image pair output from the 3D signal decoding unit 12 and outputs the result. The image signal conversion unit 14 shifts pixels using, for example, a pseudo-stereoscopic image generation device described in Japanese Patent Application Laid-Open No. 2005-151534. The pseudo-stereoscopic image generation apparatus described in the publication performs so-called “2D3D conversion” and generates a pseudo-stereoscopic image from a 2D image.
図2は、画像信号変換部14の構成図である。画像信号変換部14は、ヒストグラム生成部141L、ヒストグラム生成部141R、左目視差調整部143L、右目視差調整部143R、左目シフト画像生成部145L、および右目シフト画像生成部145Rを備える。 FIG. 2 is a configuration diagram of the image signal conversion unit 14. The image signal conversion unit 14 includes a histogram generation unit 141L, a histogram generation unit 141R, a left eye parallax adjustment unit 143L, a right eye parallax adjustment unit 143R, a left eye shift image generation unit 145L, and a right eye shift image generation unit 145R.
ヒストグラム生成部141L、左目視差調整部143L、および左目シフト画像生成部145Lは、左目画像信号と左視差値DPT_Lにもとづいて左目画像信号の画素をシフトさせることで左目画像信号を変換する。ヒストグラム生成部141Lは、左視差値DPT_Lを受け取り、視差値の分布を示すヒストグラムを生成し、飛び出し頻度に関する情報を左目視差調整部143Lに供給する。左目視差調整部143Lは、画素毎の左視差値DPT_Lを受け取り、ヒストグラム生成部141Lから与えられた飛び出し頻度に関する情報にもとづいて、画素毎に左視差値DPT_Lを調整し、左視差調整値DPT_L_adjを左目シフト画像生成部145Lに供給する。左目シフト画像生成部145Lは、左目画像信号を受け取り、左目視差調整部143Lから与えられた左視差調整値DPT_L_adjにもとづいて左目画像をシフトし、シフト後の左目画像信号を出力する。 The histogram generation unit 141L, the left eye parallax adjustment unit 143L, and the left eye shift image generation unit 145L convert the left eye image signal by shifting the pixels of the left eye image signal based on the left eye image signal and the left parallax value DPT_L. The histogram generation unit 141L receives the left parallax value DPT_L, generates a histogram indicating the distribution of the parallax values, and supplies information regarding the pop-up frequency to the left-eye parallax adjustment unit 143L. The left-eye parallax adjustment unit 143L receives the left parallax value DPT_L for each pixel, adjusts the left parallax value DPT_L for each pixel based on the information regarding the pop-out frequency given from the histogram generation unit 141L, and sets the left parallax adjustment value DPT_L_adj. This is supplied to the left eye shift image generation unit 145L. The left eye shift image generation unit 145L receives the left eye image signal, shifts the left eye image based on the left parallax adjustment value DPT_L_adj given from the left eye parallax adjustment unit 143L, and outputs the shifted left eye image signal.
ヒストグラム生成部141R、右目視差調整部143R、および右目シフト画像生成部145Rは、右目画像信号と右視差値DPT_Rにもとづいて右目画像信号の画素をシフトさせることで右目画像信号を変換する。ヒストグラム生成部141Rは、右視差値DPT_Rを受け取り、視差値の分布を示すヒストグラムを生成し、飛び出し頻度に関する情報を右目視差調整部143Rに供給する。右目視差調整部143Rは、画素毎の右視差値DPT_Rを受け取り、ヒストグラム生成部141Rから与えられた飛び出し頻度に関する情報にもとづいて、画素毎に右視差値DPT_Rを調整し、右視差調整値DPT_R_adjを右目シフト画像生成部145Rに供給する。右目シフト画像生成部145Rは、右目画像信号を受け取り、右目視差調整部143Rから与えられた右視差調整値DPT_R_adjにもとづいて右目画像をシフトし、シフト後の右目画像信号を出力する。 The histogram generation unit 141R, the right eye parallax adjustment unit 143R, and the right eye shift image generation unit 145R convert the right eye image signal by shifting the pixels of the right eye image signal based on the right eye image signal and the right parallax value DPT_R. The histogram generation unit 141R receives the right parallax value DPT_R, generates a histogram indicating the distribution of the parallax values, and supplies information regarding the pop-up frequency to the right-eye parallax adjustment unit 143R. The right eye parallax adjustment unit 143R receives the right parallax value DPT_R for each pixel, adjusts the right parallax value DPT_R for each pixel based on the information regarding the pop-out frequency given from the histogram generation unit 141R, and sets the right parallax adjustment value DPT_R_adj. This is supplied to the right eye shift image generation unit 145R. The right eye shift image generation unit 145R receives the right eye image signal, shifts the right eye image based on the right parallax adjustment value DPT_R_adj given from the right eye parallax adjustment unit 143R, and outputs the shifted right eye image signal.
左目画像信号の変換処理と右目画像信号の変換処理は、画像信号と視差値が、左目用であるか右目用であるかの違いを除けば、処理としては同じであるから、以下では、左目、右目を区別せずに処理を説明し、符号についてもL、Rの区別を外して参照する。 The left eye image signal conversion process and the right eye image signal conversion process are the same except for the difference between the image signal and the parallax value for the left eye or the right eye. The processing will be described without distinguishing the right eye, and reference will be made to the reference numerals without distinguishing between L and R.
図3は、ヒストグラム生成部141の構成図である。ヒストグラム生成部141は、選択器群1411、累積カウンタ群1412、および保持レジスタ群1413を含む。 FIG. 3 is a configuration diagram of the histogram generation unit 141. The histogram generation unit 141 includes a selector group 1411, a cumulative counter group 1412, and a holding register group 1413.
入力される各画素の3D信号視差値DPTは選択器群1411に供給される。この選択器群1411は複数の選択器により構成され、3D信号視差値DPTの取り得る範囲を複数のレベル領域に分割し、画素毎に3D信号視差値DPTがいずれのレベル領域に入るものであるかを判定する。 The input 3D signal parallax value DPT of each pixel is supplied to the selector group 1411. This selector group 1411 is composed of a plurality of selectors, and divides the possible range of the 3D signal parallax value DPT into a plurality of level regions, and the 3D signal parallax value DPT enters any level region for each pixel. Determine whether.
本実施の形態では、一例として、3D信号視差値DPTの範囲が−128〜127であるとして、これに128を加算し0〜255の256段階のレベルとし、3D信号視差値DPTのレベルの取り得る範囲を16個のレベル領域に分割する。この16個のレベル領域に対応して、選択器群1411には16個の選択器が設けられる。第1の選択器は、0≦DPT<16の範囲のレベル領域に対応し、第2の選択器は、16≦DPT<32の範囲のレベル領域に対応し、第3の選択器は、32≦DPT<48の範囲のレベル領域に対応し、…、第16の選択器は、240≦DPT<256の範囲のレベル領域に対応する。選択器群1411において、入力された3D信号視差値DPTが属するレベル領域に対応する選択器が「1」を出力し、それ以外の選択器は「0」を出力する。 In the present embodiment, as an example, assuming that the range of the 3D signal parallax value DPT is −128 to 127, 128 is added to this to obtain 256 levels of 0 to 255, and the level of the 3D signal parallax value DPT is obtained. The obtained range is divided into 16 level regions. Corresponding to the 16 level regions, the selector group 1411 is provided with 16 selectors. The first selector corresponds to the level region in the range of 0 ≦ DPT <16, the second selector corresponds to the level region in the range of 16 ≦ DPT <32, and the third selector has 32 Corresponding to the level region in the range of ≦ DPT <48,..., The sixteenth selector corresponds to the level region in the range of 240 ≦ DPT <256. In the selector group 1411, the selector corresponding to the level region to which the input 3D signal parallax value DPT belongs outputs “1”, and the other selectors output “0”.
累積カウンタ群1412は、16個の選択器のそれぞれに対応する16個のカウンタを備える。各カウンタは対応する選択器の出力をカウントする。第iのカウンタは第iの選択器が出力した「1」の回数をカウントする。保持レジスタ群1413は、16個のカウンタのそれぞれに対応する16個のレジスタを備える。各レジスタは対応するカウンタの出力を保持する。各レジスタの値は視差調整部143に出力される。 The cumulative counter group 1412 includes 16 counters corresponding to the 16 selectors. Each counter counts the output of the corresponding selector. The i-th counter counts the number of times “1” output from the i-th selector. The holding register group 1413 includes 16 registers corresponding to the 16 counters. Each register holds the output of the corresponding counter. The value of each register is output to the parallax adjustment unit 143.
例えば、3D信号視差値DPTのレベルが40の画素であれば、第3の選択器から「1」が出力され、その他の選択器からは「0」が出力される。累積カウンタ群1412は16個のカウンタにより構成され、16個の選択器のそれぞれから出力された信号をカウントアップし、カウント値を1だけインクリメントする。このカウント値は、選択器群1411により分割されたレベル領域に含まれる画素の総数を示している。保持レジスタ群1413は、16個のレジスタにより構成され、16個のカウンタのそれぞれから出力されるカウント値を保持する。このように、ヒストグラム生成部141は、分割したレベル領域に含まれる画素数をカウントして、ヒストグラムデータを生成し、視差調整部143に供給する。 For example, if the level of the 3D signal parallax value DPT is 40 pixels, “1” is output from the third selector, and “0” is output from the other selectors. The cumulative counter group 1412 includes 16 counters, counts up the signals output from the 16 selectors, and increments the count value by one. This count value indicates the total number of pixels included in the level region divided by the selector group 1411. The holding register group 1413 includes 16 registers, and holds the count value output from each of the 16 counters. As described above, the histogram generation unit 141 counts the number of pixels included in the divided level region, generates histogram data, and supplies the histogram data to the parallax adjustment unit 143.
図4は、視差調整部143の構成図である。視差調整部143は、飛び出し頻度算出部1431、部分視差調整部1432、全体視差調整部1433、および合成部1434を備える。 FIG. 4 is a configuration diagram of the parallax adjustment unit 143. The parallax adjustment unit 143 includes a pop-up frequency calculation unit 1431, a partial parallax adjustment unit 1432, an overall parallax adjustment unit 1433, and a synthesis unit 1434.
飛び出し頻度算出部1431は、ヒストグラム生成部141からヒストグラムデータを受け取り、飛び出し頻度F_sumを算出し、合成部1434に供給する。 The pop-out frequency calculation unit 1431 receives the histogram data from the histogram generation unit 141, calculates the pop-out frequency F_sum, and supplies it to the synthesis unit 1434.
図5は、飛び出し頻度算出部1431が算出する飛び出し頻度F_sumの一例を説明する図である。 FIG. 5 is a diagram illustrating an example of the pop-out frequency F_sum calculated by the pop-out frequency calculation unit 1431.
図5のグラフは、飛び出し頻度算出部1431に入力される視差値DPTのヒストグラムを示す。横軸は、視差値DPTを引っ込み側から飛び出し側まで16段階に分割したレベル領域Lを示す。縦軸は、各レベル領域にある画素の数(頻度)Hist[L]を示す。Hist[0]〜Hist[7]は、ディスプレイ面より引っ込み方向にある画素の数を示し、Hist[8]〜Hist[15]は、ディスプレイ面より飛び出し方向にある画素の数を示す。Hist[0]は最も奥にある画素の数、Hist[15]は最も手前にある画素の数を表す。 The graph of FIG. 5 shows a histogram of the parallax value DPT input to the pop-out frequency calculation unit 1431. The horizontal axis represents a level region L obtained by dividing the parallax value DPT into 16 steps from the retracting side to the protruding side. The vertical axis represents the number (frequency) Hist [L] of pixels in each level region. Hist [0] to Hist [7] indicate the number of pixels in the retracting direction from the display surface, and Hist [8] to Hist [15] indicate the number of pixels in the protruding direction from the display surface. Hist [0] represents the number of pixels at the back, and Hist [15] represents the number of pixels at the front.
飛び出し頻度算出部1431は、一例として、飛び出し頻度F_sumを式(1)により算出する。
F_sum=Hist[12]+Hist[13]+Hist[14]+Hist[15]
・・・式(1)
As an example, the pop-out frequency calculation unit 1431 calculates the pop-out frequency F_sum using Expression (1).
F_sum = Hist [12] + Hist [13] + Hist [14] + Hist [15]
... Formula (1)
なお、飛び出し頻度F_sumの算出方法は式(1)に限定するものではなく、画像中の画素の飛び出しの度合いを表すものであれば任意の指標を用いることができる。式(1)のように、画像中の飛び出し度合いが閾値以上の画素の総数を指標としてもよいし、ヒストグラムでピークを示すレベル領域に属する画素の数を指標としてもよい。また、本実施の形態では、画像の視差値のヒストグラムを求めて、ヒストグラムから飛び出し頻度を計算したがヒストグラムを用いないで飛び出し度合を求めてもよい。たとえば、ある閾値以上の視差値DPTをもつ画素の数をカウントして、その値を飛び出し度合いを表す指標としてもよい。 Note that the method of calculating the pop-out frequency F_sum is not limited to the expression (1), and any index can be used as long as it represents the degree of pop-out of the pixels in the image. As in Expression (1), the total number of pixels in the image whose degree of pop-up is greater than or equal to the threshold value may be used as an index, or the number of pixels belonging to a level region that shows a peak in the histogram may be used as an index. In this embodiment, a histogram of parallax values of an image is obtained and the pop-out frequency is calculated from the histogram. However, the pop-out degree may be obtained without using the histogram. For example, the number of pixels having a parallax value DPT equal to or greater than a certain threshold value may be counted, and the value may be used as an index representing the degree of popping out.
このようにして算出された飛び出し頻度F_sumは合成部1434に供給される。 The pop-up frequency F_sum calculated in this way is supplied to the synthesis unit 1434.
再び図4を参照する。部分視差調整部1432は、3D信号視差値DPTを受け取り、部分視差調整値DPT_limを求め、合成部1434に供給する。 Refer to FIG. 4 again. The partial parallax adjustment unit 1432 receives the 3D signal parallax value DPT, obtains the partial parallax adjustment value DPT_lim, and supplies the partial parallax adjustment value DPT_lim to the synthesis unit 1434.
図6(a)は、部分視差調整部1432による部分視差調整の一例を説明する図である。 FIG. 6A is a diagram illustrating an example of partial parallax adjustment by the partial parallax adjustment unit 1432.
図6(a)のグラフは、視差値DPTと、調整後の視差値DPT_limとの関係を示す。図6(a)に示した破線は視差調整を行わない場合の視差値であり、実線が視差調整を行った場合の調整後の視差値である。 The graph of FIG. 6A shows the relationship between the parallax value DPT and the adjusted parallax value DPT_lim. The broken line shown in FIG. 6A is the parallax value when the parallax adjustment is not performed, and the solid line is the parallax value after the adjustment when the parallax adjustment is performed.
部分視差調整部1432は、図6(a)に示す部分視差調整特性にもとづいて部分視差調整値を算出する。この計算は式(2)により表される。
DPT_lim(x,y)=LIM (DPT(x,y)≧LIM)
DPT_lim(x,y)=DPT(x,y) (DPT(x,y)<LIM)
・・・式(2)
ここでDPT(x,y)は、水平座標x、垂直座標yの画素の視差値を表し、DPT_lim(x,y)は、水平座標x、垂直座標yの画素の部分視差調整値を表す。
The partial parallax adjustment unit 1432 calculates a partial parallax adjustment value based on the partial parallax adjustment characteristics illustrated in FIG. This calculation is expressed by equation (2).
DPT_lim (x, y) = LIM (DPT (x, y) ≧ LIM)
DPT_lim (x, y) = DPT (x, y) (DPT (x, y) <LIM)
... Formula (2)
Here, DPT (x, y) represents a parallax value of a pixel having horizontal coordinates x and vertical coordinates y, and DPT_lim (x, y) represents a partial parallax adjustment value of a pixel having horizontal coordinates x and vertical coordinates y.
図6(a)の部分視差調整特性の場合、ディスプレイ面より手前に感じられていた画素のうち、視差値が閾値LIMより大きい画素について視差値を閾値LIMで制限される。 In the case of the partial parallax adjustment characteristic shown in FIG. 6A, the parallax value is limited by the threshold value LIM for pixels whose parallax value is larger than the threshold value LIM among the pixels felt in front of the display surface.
再び図4を参照する。全体視差調整部1433は、3D信号視差値DPTを受け取り、全体視差調整値DPT_ofstを求め、合成部1434に供給する。 Refer to FIG. 4 again. The overall parallax adjustment unit 1433 receives the 3D signal parallax value DPT, obtains the overall parallax adjustment value DPT_ofst, and supplies it to the synthesis unit 1434.
図6(b)は、全体視差調整部1433による全体視差調整の一例を説明する図である。 FIG. 6B is a diagram illustrating an example of the overall parallax adjustment by the overall parallax adjustment unit 1433.
図6(b)のグラフは、視差値DPTと、調整後の視差値DPT_ofstとの関係を示す。図6(b)に示した破線は視差調整を行わない場合の視差値であり、実線が視差調整を行った場合の調整後の視差値である。 The graph in FIG. 6B shows the relationship between the parallax value DPT and the adjusted parallax value DPT_ofst. The broken line shown in FIG. 6B is the parallax value when the parallax adjustment is not performed, and the solid line is the parallax value after the adjustment when the parallax adjustment is performed.
全体視差調整部1433は、図6(b)に示す全体視差調整特性にもとづいて全体視差調整値を算出する。この計算は式(3)により表される。
DPT_ofst(x,y)=DPT(x,y)−OFST
・・・式(3)
ここでDPT(x,y)は、水平座標x、垂直座標yの画素の視差値を表し、DPT_ofst(x,y)は、水平座標x、垂直座標yの画素の全体視差調整値を表す。
The overall parallax adjustment unit 1433 calculates an overall parallax adjustment value based on the overall parallax adjustment characteristics illustrated in FIG. This calculation is expressed by equation (3).
DPT_ofst (x, y) = DPT (x, y) −OFST
... Formula (3)
Here, DPT (x, y) represents the parallax value of the pixel with the horizontal coordinate x and the vertical coordinate y, and DPT_ofst (x, y) represents the overall parallax adjustment value of the pixel with the horizontal coordinate x and the vertical coordinate y.
図6(b)の全体視差調整特性の場合、視差値は全体的にオフセット量OFSTだけ小さくなる。視差が小さくなると、ディスプレイ面より手前に感じられていた画素とディスプレイ面より奥に感じられていた画素の両方がより奥に感じられるようになる。つまり、画面全体が奥に引っ込むように感じられる。 In the case of the overall parallax adjustment characteristic in FIG. 6B, the parallax value is reduced by the offset amount OFST as a whole. When the parallax is reduced, both the pixels felt in front of the display surface and the pixels felt in the back of the display surface can be felt in the back. In other words, it feels like the entire screen is retracted.
このようにして算出された部分調整視差値DPT_limと全体視差調整値DPT_ofstは合成部1434に供給される。 The partial adjustment parallax value DPT_lim and the total parallax adjustment value DPT_ofst calculated in this way are supplied to the synthesis unit 1434.
再び図4を参照する。合成部1434は、飛び出し頻度F_sumにもとづいて、部分視差調整値DPT_limと全体視差調整値DPT_ofstを合成する比率を決定し、決定された合成比率で部分視差調整値DPT_limと全体視差調整値DPT_ofstを合成して視差調整値DPT_adjを計算する。合成後の視差調整値DPT_adjは、シフト画像生成部145に供給される。 Refer to FIG. 4 again. The combining unit 1434 determines a ratio for combining the partial parallax adjustment value DPT_lim and the total parallax adjustment value DPT_ofst based on the pop-up frequency F_sum, and combines the partial parallax adjustment value DPT_lim and the total parallax adjustment value DPT_ofst with the determined combining ratio. Then, the parallax adjustment value DPT_adj is calculated. The combined parallax adjustment value DPT_adj is supplied to the shift image generation unit 145.
図7(a)および図7(b)は、合成部1434による部分調整視差値DPT_limと全体視差調整値DPT_ofstの合成を説明する図である。 FIGS. 7A and 7B are diagrams illustrating the synthesis of the partial adjustment parallax value DPT_lim and the total parallax adjustment value DPT_ofst by the synthesis unit 1434. FIG.
図7(a)の横軸は飛び出し頻度F_sumを表しており、縦軸は部分視差調整値DPT_limに乗算する部分視差調整ゲインGlimを表している。飛び出し頻度が大きくなるにつれて部分視差調整ゲインが小さくなるような特性を持たせている。 The horizontal axis in FIG. 7A represents the pop-out frequency F_sum, and the vertical axis represents the partial parallax adjustment gain Glim that is multiplied by the partial parallax adjustment value DPT_lim. The partial parallax adjustment gain is reduced as the pop-out frequency increases.
図7(b)の横軸は飛び出し頻度F_sumを表しており、縦軸は全体視差調整値DPT_ofstに乗算する全体視差調整ゲインGofstを表している。飛び出し頻度が大きくなるにつれて全体視差調整ゲインが大きくなるような特性を持たせている。 In FIG. 7B, the horizontal axis represents the pop-up frequency F_sum, and the vertical axis represents the overall parallax adjustment gain Gofst that is multiplied by the overall parallax adjustment value DPT_ofst. The overall parallax adjustment gain is increased as the pop-out frequency increases.
ここでは、部分視差調整ゲインGlimと全体視差調整ゲインGofstの間には、式(4)の関係が成り立つ。
Glim+Gofst=1.0 ・・・式(4)
Here, the relationship of Expression (4) is established between the partial parallax adjustment gain Glim and the overall parallax adjustment gain Gofst.
Glim + Gofst = 1.0 Formula (4)
図7(a)および図7(b)に示したゲイン特性はあくまでも一実施例であり、ゲイン特性はこれに限定されるものではない。一般には、飛び出し度合いが大きいほど、全体視差調整により視差を抑える度合いが増える一方、部分視差調整により視差を抑える度合いが減るように、全体視差調整と部分視差調整とを合成する比率を決めるのが好適である。 The gain characteristics shown in FIGS. 7A and 7B are merely examples, and the gain characteristics are not limited to this. In general, the greater the degree of popping, the greater the degree of suppression of parallax by overall parallax adjustment, while the ratio of total parallax adjustment and partial parallax adjustment is determined so that the degree of suppression of parallax by partial parallax adjustment decreases. Is preferred.
合成部1434は、飛び出し頻度F_sumが与えられたとき、図7(a)、図7(b)に示したゲイン特性にもとづいて部分視差調整ゲインGlim、全体視差調整ゲインGofstを求め、式(5)、式(6)のように、部分視差調整ゲインGlim、全体視差調整ゲインGofstをそれぞれ部分視差調整の閾値LIM、全体視差調整のオフセット値OFSTに乗算して補正する。
LIM’=255−(255−LIM)×Glim ・・・式(5)
OFST’=OFST×Gofst ・・・式(6)
When the pop-up frequency F_sum is given, the combining unit 1434 obtains the partial parallax adjustment gain Glim and the total parallax adjustment gain Gofst based on the gain characteristics shown in FIGS. ) And Expression (6), the partial parallax adjustment gain Glim and the total parallax adjustment gain Gofst are respectively multiplied by the partial parallax adjustment threshold LIM and the total parallax adjustment offset value OFST for correction.
LIM ′ = 255− (255−LIM) × Glim (5)
OFST ′ = OFST × Gofst (6)
さらに、合成部1434は、式(7)のように補正後の部分視差調整の閾値LIM’を用いて部分視差調整値DPT_lim’(x,y)を求め、式(8)のように補正後の全体視差調整のオフセット値OFST’を用いて全体視差調整値DPT_ofst’(x,y)を求める。
DPT_lim’(x,y)=LIM’ (DPT(x,y)≧LIM’)
DPT_lim’(x,y)=DPT(x,y) (DPT(x,y)<LIM’)
・・・式(7)
DPT_ofst’(x,y)=DPT(x,y)−OFST’
・・・式(8)
Further, the synthesis unit 1434 obtains the partial parallax adjustment value DPT_lim ′ (x, y) using the corrected partial parallax adjustment threshold LIM ′ as in Expression (7), and after correction as in Expression (8). The total parallax adjustment value DPT_ofst ′ (x, y) is obtained using the total parallax adjustment offset value OFST ′.
DPT_lim ′ (x, y) = LIM ′ (DPT (x, y) ≧ LIM ′)
DPT_lim ′ (x, y) = DPT (x, y) (DPT (x, y) <LIM ′)
... Formula (7)
DPT_ofst ′ (x, y) = DPT (x, y) −OFST ′
... Formula (8)
最後に、合成部1434は、式(9)に示すように、式(7)により得られた部分視差調整値DPT_lim’(x,y)と、式(8)により得られた全体視差調整値DPT_ofst’(x,y)とを合成し、最終的な合成後の視差調整値DPT_adjを求める。
DPT_adj(x、y)
=DPT_Lim’(x、y)+DPT_ofst’−DPT(x、y)
=DPT_Lim’(x、y)−OFST’
・・・式(9)
Finally, as shown in Expression (9), the synthesis unit 1434 performs the partial parallax adjustment value DPT_lim ′ (x, y) obtained by Expression (7) and the overall parallax adjustment value obtained by Expression (8). DPT_ofst ′ (x, y) is combined to obtain a final combined parallax adjustment value DPT_adj.
DPT_adj (x, y)
= DPT_Lim '(x, y) + DPT_ofst'-DPT (x, y)
= DPT_Lim ′ (x, y) −OFST ′
... Formula (9)
このように飛び出し頻度F_sumに基づき、部分視差調整と全体視差調整の合成比率が決定される。 In this way, the combination ratio of the partial parallax adjustment and the total parallax adjustment is determined based on the pop-out frequency F_sum.
最終的な視差調整データDPT_adjはシフト画像生成部145に供給される。 The final parallax adjustment data DPT_adj is supplied to the shift image generation unit 145.
シフト画像生成部145は、入力されたステレオ画像ペアのいずれか一方の画像信号(たとえば左目画像信号)の画素を、視差調整部143より出力された視差調整値DPT_adjに基づいてシフトさせることによって、シフトされた画像信号を生成する。視差調整値DPT_adjが、元の視差値DPTと同じであれば、画素はシフトされないが、視差調整値DPT_adjが元の視差値DPTと異なる画素についてはその差分だけ画素がシフトされる。シフト画像の生成方法は、たとえば特開2005−151534号公報に記載されている。 The shift image generation unit 145 shifts the pixels of any one of the input stereo image pairs (for example, the left-eye image signal) based on the parallax adjustment value DPT_adj output from the parallax adjustment unit 143, thereby A shifted image signal is generated. If the parallax adjustment value DPT_adj is the same as the original parallax value DPT, the pixel is not shifted. However, for a pixel whose parallax adjustment value DPT_adj is different from the original parallax value DPT, the pixel is shifted by the difference. A method for generating a shift image is described in, for example, Japanese Patent Application Laid-Open No. 2005-151534.
図8および図9(a)〜図9(d)を参照して本実施の形態のシフト画像生成処理の効果を説明する。 The effect of the shift image generation process of this embodiment will be described with reference to FIGS. 8 and 9A to 9D.
図8は、立体画像生成装置1に入力されるステレオ画像ペアの一例を示す図である。図8には、左目画像ILと右目画像IRが示されている。被写体OB1は飛び出し方向の視差値(DPT値30)を有し、被写体OB2はディスプレイ面にあって視差はなく(DPT値0)、被写体OB3は引っ込み方向の視差値(DPT値−5)を有している。この画像は、被写体OB1が過度の飛び出し方向の視差を有し、観察者の目の負担となっている例である。 FIG. 8 is a diagram illustrating an example of a stereo image pair input to the stereoscopic image generation apparatus 1. FIG. 8 shows a left eye image IL and a right eye image IR. The subject OB1 has a parallax value in the pop-out direction (DPT value 30), the subject OB2 is on the display surface and has no parallax (DPT value 0), and the subject OB3 has a parallax value in the retracting direction (DPT value -5). doing. This image is an example in which the subject OB1 has excessive parallax in the protruding direction and is a burden on the eyes of the observer.
図9(a)〜図9(d)は、立体画像生成装置1によるシフト画像生成処理を説明する図である。 FIG. 9A to FIG. 9D are diagrams illustrating shift image generation processing by the stereoscopic image generation apparatus 1.
図9(a)は、図8に示した入力右目画像IRである。図9(b)は、図6(a)に示した部分視差調整特性を用いて入力右目画像IRに部分視差調整を施した画像である。図9(b)のグレー部分は、飛び出している被写体OB1の画素をシフトさせたことで生じたオクルージョン領域であり、入力された右目画像信号IRには対応する画素が存在しない。オクルージョン領域では、正常に生成することができた周辺部のシフト画素データに基づき画素補間を行うことで画素データを生成するので、入力画像信号の再現が困難となることがある。この例では、オクルージョン領域が大きいため、画質劣化を招く恐れが大きい。 FIG. 9A is the input right-eye image IR shown in FIG. FIG. 9B is an image obtained by performing partial parallax adjustment on the input right-eye image IR using the partial parallax adjustment characteristics illustrated in FIG. The gray portion in FIG. 9B is an occlusion area generated by shifting the pixel of the protruding subject OB1, and there is no corresponding pixel in the input right-eye image signal IR. In the occlusion area, pixel data is generated by performing pixel interpolation based on the peripheral shift pixel data that can be normally generated, and thus it may be difficult to reproduce the input image signal. In this example, since the occlusion area is large, there is a high risk of causing image quality degradation.
図9(c)は、図6(b)に示した全体視差調整特性を用いて入力右目画像IRに全体視差調整を施した画像である。全体視差調整では、オクルージョン領域は発生しないが、全体的に画像をシフトするため、すべての被写体の奥行きが引っ込み方向に変化し、ディスプレイ面より手前にあった被写体OB1だけでなく、ディスプレイ面またはディスプレイ面より奥にあった被写体OB2、OB3までも奥に引っ込むことになる。また、全体を右にシフトすることにより、左端に黒領域が生まれる。 FIG. 9C is an image in which the overall parallax adjustment is performed on the input right-eye image IR using the overall parallax adjustment characteristic illustrated in FIG. In the overall parallax adjustment, an occlusion area does not occur, but since the image is shifted overall, the depth of all subjects changes in the retracting direction, and not only the subject OB1 that is in front of the display surface but also the display surface or display The objects OB2 and OB3 that are in the back of the surface are also retracted in the back. Also, by shifting the whole to the right, a black area is created at the left end.
図9(d)は、本実施の形態のシフト画像生成処理によって飛び出し頻度に応じて部分視差調整特性と全体視差調整特性を合成して生成されるシフト右目画像である。過度の飛び出し方向の視差を有する被写体OB1に関して部分視差調整によるシフトを抑えることでオクルージョン領域が小さくなるとともに、すべての被写体OB1〜OB3に関して全体視差調整によるシフトを抑えることで全体が引っ込み過ぎないようになる。 FIG. 9D is a shifted right-eye image generated by combining the partial parallax adjustment characteristics and the overall parallax adjustment characteristics according to the pop-out frequency by the shift image generation processing of the present embodiment. The occlusion area is reduced by suppressing the shift due to the partial parallax adjustment for the subject OB1 having the parallax in the excessive protruding direction, and the whole is not excessively retracted by suppressing the shift due to the overall parallax adjustment for all the subjects OB1 to OB3. Become.
本実施の形態のシフト画像生成処理では、入力画像の特徴、特にヒストグラム解析に基づき、部分視差調整特性と全体視差調整特性を合成するため、部分視差調整により発生するオクルージョン領域を小さく抑えるとともに、全体視差調整による引っ込み方向にある被写体の移動を小さく抑えることができる。これにより、大きな画質劣化を伴わずに過度な飛び出しを抑制した視差調整を行うことができる。 In the shift image generation processing of the present embodiment, the partial parallax adjustment characteristics and the overall parallax adjustment characteristics are synthesized based on the characteristics of the input image, particularly the histogram analysis. The movement of the subject in the retracting direction due to the parallax adjustment can be suppressed to be small. Accordingly, it is possible to perform parallax adjustment that suppresses excessive pop-up without significant image quality deterioration.
図9(a)〜図9(d)の例では、右目画像を右視差調整値にもとづいて画素シフトする場合を説明したが、左目画像の場合は、左視差調整値にもとづいて同様に画素シフトすることができる。本実施の形態では、画像の中心をずらさないように、左目画像と右目画像のそれぞれについて画素シフトする場合を説明したが、左目画像のみ、あるいは右目画像のみについて画素シフトしてもよい。 In the examples of FIGS. 9A to 9D, the case where the right eye image is pixel-shifted based on the right parallax adjustment value has been described. However, in the case of the left-eye image, the pixel is similarly set based on the left parallax adjustment value. Can be shifted. In the present embodiment, the pixel shift is described for each of the left-eye image and the right-eye image so as not to shift the center of the image. However, the pixel shift may be performed for only the left-eye image or only the right-eye image.
ステレオ表示装置3は、このようにして視差調整されたステレオ画像ペアを用いて立体画像を生成して表示する。ステレオ画像ペアを用いた立体画像の生成方法は、たとえばたとえば特開2005−151534号公報に記載されている。 The stereo display device 3 generates and displays a stereoscopic image using the stereo image pair whose parallax is adjusted in this way. A method for generating a stereoscopic image using a stereo image pair is described in, for example, Japanese Patent Application Laid-Open No. 2005-151534.
[実施の形態1の変形例]
実施の形態1の変形例として、飛び出し頻度の代わりに引っ込み頻度にもとづいてシフト画像を生成してもよい。この場合は、図5のヒストグラムにおいて、引っ込み頻度F_sumを一例として、
F_sum=Hist[0]+Hist[1]+Hist[2]+Hist[3]
のように算出し、引っ込み頻度F_sumにもとづいて部分視差調整と全体視差調整を合成すればよい。
[Modification of Embodiment 1]
As a modification of the first embodiment, a shift image may be generated based on the retraction frequency instead of the pop-out frequency. In this case, in the histogram of FIG. 5, the retraction frequency F_sum is taken as an example.
F_sum = Hist [0] + Hist [1] + Hist [2] + Hist [3]
The partial parallax adjustment and the total parallax adjustment may be combined based on the retraction frequency F_sum.
ただし、この場合、部分視差調整特性は、以下のように、ディスプレイ面より奥に感じられていた画素のうち、視差値が負の閾値−LIMより小さい画素について視差値を閾値−LIMで制限するものになる。
DPT_lim(x,y)=−LIM (DPT(x,y)≦−LIM)
DPT_lim(x,y)=DPT(x,y) (DPT(x,y)>−LIM)
However, in this case, the partial parallax adjustment characteristic restricts the parallax value with the threshold value -LIM for pixels whose parallax value is smaller than the negative threshold value -LIM among the pixels that are felt behind the display surface as follows. Become a thing.
DPT_lim (x, y) = − LIM (DPT (x, y) ≦ −LIM)
DPT_lim (x, y) = DPT (x, y) (DPT (x, y)> − LIM)
また、全体視差調整特性は、以下のように、視差値を全体的にオフセット量OFSTだけ大きくすることで、画面全体が手前に飛び出すように視差値を調整する。
DPT_ofst(x,y)=DPT(x,y)+OFST
Also, the overall parallax adjustment characteristic adjusts the parallax value so that the entire screen pops forward by increasing the parallax value by the offset amount OFST as a whole as follows.
DPT_ofst (x, y) = DPT (x, y) + OFST
以上述べたように、本実施の形態によれば、ステレオ画像ペアから取得された視差情報から飛び出しまたは引っ込みの度合いを検出し、飛び出しまたは引っ込みの度合いに応じて部分視差調整と全体視差調整の合成比率を決定する。これにより画素シフトに起因する画像の歪みを抑えながら、一定値より大きい飛び出し量あるいは引っ込み量を制限することができ、過度の飛び出しまたは引っ込みがある立体映像の視差を調整して、高品位で安全な立体映像を提供できる。 As described above, according to the present embodiment, the degree of popping or retracting is detected from the parallax information acquired from the stereo image pair, and the combination of partial parallax adjustment and overall parallax adjustment is performed according to the degree of popping or retracting. Determine the ratio. This makes it possible to limit the amount of projection or withdrawal that is larger than a certain value while suppressing image distortion caused by pixel shift, and to adjust the parallax of stereoscopic images that have excessive projection or withdrawal, ensuring high quality and safety. 3D images can be provided.
本実施の形態では、複数の視差調整手法の例として、部分視差調整と全体視差調整を挙げて説明したが、視差調整手法としてこれ以外の方法を用いて、2以上の視差調整手法を合成してもよい。たとえば、後述の実施の形態2で説明する基本奥行きモデルの選択にもとづく視差調整手法を組み合わせてもよい。 In this embodiment, partial parallax adjustment and overall parallax adjustment are described as examples of a plurality of parallax adjustment methods, but two or more parallax adjustment methods are synthesized using a method other than this as the parallax adjustment method. May be. For example, a parallax adjustment method based on selection of a basic depth model described in the second embodiment described later may be combined.
[実施の形態2]
本発明の実施の形態2に係る立体画像生成装置1は、画像信号変換部14の視差調整部143の構成と動作が実施の形態1とは異なり、それ以外の構成と動作は同じである。ここでは、実施の形態1と共通する構成と動作については説明を適宜省略し、実施の形態1と異なる構成と動作について説明する。
[Embodiment 2]
The stereoscopic image generation apparatus 1 according to Embodiment 2 of the present invention differs from Embodiment 1 in the configuration and operation of the parallax adjustment unit 143 of the image signal conversion unit 14, and the other configuration and operation are the same. Here, description of the configuration and operation common to Embodiment 1 will be omitted as appropriate, and configuration and operation different from Embodiment 1 will be described.
図10は、実施の形態2の視差調整部143の構成図である。視差調整部143は、飛び出し頻度算出部1431、部分視差調整部1432、複数の基本奥行きモデル1435a、1435b、1435c、および合成部1434を備える。 FIG. 10 is a configuration diagram of the parallax adjustment unit 143 according to the second embodiment. The parallax adjustment unit 143 includes a pop-up frequency calculation unit 1431, a partial parallax adjustment unit 1432, a plurality of basic depth models 1435a, 1435b, 1435c, and a synthesis unit 1434.
飛び出し頻度算出部1431および部分視差調整部1432の構成と動作は実施の形態1と同じであるから説明を省略する。 The configurations and operations of the pop-out frequency calculation unit 1431 and the partial parallax adjustment unit 1432 are the same as those in Embodiment 1, and thus description thereof is omitted.
基本奥行きモデルは、基本となるシーン構造について奥行き値を示す。基本奥行きモデルは、本来複雑な構造である現実の3次元のシーンについて曲面や平面を用いて近似する。ここでは、3つのタイプの基本奥行きモデル1435a、1435b、1435cがあるとして説明するが、基本奥行きモデルの数は任意である。 The basic depth model indicates depth values for the basic scene structure. The basic depth model approximates an actual three-dimensional scene, which is originally a complicated structure, using a curved surface or a plane. Here, it is assumed that there are three types of basic depth models 1435a, 1435b, and 1435c, but the number of basic depth models is arbitrary.
図11(a)〜図11(c)は、3つのタイプの基本奥行きモデル1435a、1435b、1435cの一例を説明する図である。 Fig.11 (a)-FIG.11 (c) are figures explaining an example of three types of basic depth models 1435a, 1435b, and 1435c.
図11(a)に示すタイプ1の基本奥行きモデル1435aは、球状の凹面を有する立体構造によって、画面全体の奥行き値を定義する。画面の周辺部はディスプレイ面に対する奥行きはなく、画面周辺から画面中央に向かって徐々に奥に引っ込み、画面中央では最も遠距離になる。 The basic depth model 1435a of type 1 shown in FIG. 11A defines the depth value of the entire screen by a three-dimensional structure having a spherical concave surface. The periphery of the screen has no depth with respect to the display surface, and gradually retracts from the periphery of the screen toward the center of the screen, and becomes the farthest distance at the center of the screen.
図11(b)に示すタイプ2の基本奥行きモデル1435bは、画面上部の奥行き値を深くするものである。 A basic depth model 1435b of type 2 shown in FIG. 11B increases the depth value at the top of the screen.
図11(c)に示すタイプ3の基本奥行きモデル1435cでは、画面上部を遠景として平面近似し、画面下部については下に行くほど奥行き値を小さくするものである。 In the basic depth model 1435c of type 3 shown in FIG. 11C, the upper portion of the screen is approximated as a distant view, and the depth value is reduced toward the lower portion of the lower portion of the screen.
これらの3つのタイプの基本奥行きモデル1435a、1435b、1435cについては、特開2005−151534号公報に詳しく記載されている。 These three types of basic depth models 1435a, 1435b, and 1435c are described in detail in Japanese Patent Application Laid-Open No. 2005-151534.
部分視差調整部1432により算出された部分調整視差値DPT_limと、3つのタイプの基本奥行きモデル1435a、1435b、1435cとは合成部1434に供給される。 The partial adjustment parallax value DPT_lim calculated by the partial parallax adjustment unit 1432 and the three types of basic depth models 1435a, 1435b, and 1435c are supplied to the synthesis unit 1434.
再び図10を参照する。合成部1434は、飛び出し頻度F_sumにもとづいて、部分視差調整値DPT_limと少なくとも1つのタイプの基本奥行きモデルの奥行き値とを合成する比率を決定し、決定された合成比率で部分視差調整値DPT_limと少なくとも1つのタイプの基本奥行きモデルの奥行き値とを合成して視差調整値DPT_adjを計算する。合成後の視差調整値DPT_adjは、シフト画像生成部145に供給される。 Refer to FIG. 10 again. The combining unit 1434 determines a ratio of combining the partial parallax adjustment value DPT_lim and the depth value of at least one type of basic depth model based on the pop-up frequency F_sum, and the partial parallax adjustment value DPT_lim with the determined combining ratio. The parallax adjustment value DPT_adj is calculated by combining the depth values of at least one type of basic depth model. The combined parallax adjustment value DPT_adj is supplied to the shift image generation unit 145.
図12(a)および図12(b)は、合成部1434による部分調整視差値DPT_limと少なくとも1つのタイプの基本奥行きモデルの奥行き値の合成を説明する図である。 FIGS. 12A and 12B are diagrams for explaining the synthesis of the partial adjustment parallax value DPT_lim and the depth value of at least one type of basic depth model by the synthesis unit 1434.
図12(a)の横軸は飛び出し頻度F_sumを表しており、縦軸は部分視差調整値DPT_limに乗算する部分視差調整ゲインGlimを表している。飛び出し頻度が大きくなるにつれて部分視差調整ゲインが小さくなるような特性を持たせている。 The horizontal axis in FIG. 12A represents the pop-up frequency F_sum, and the vertical axis represents the partial parallax adjustment gain Glim that is multiplied by the partial parallax adjustment value DPT_lim. The partial parallax adjustment gain is reduced as the pop-out frequency increases.
図12(b)は、飛び出し頻度F_sumに応じて、3つのタイプの基本奥行きモデルを選択し、混合する方法を示している。飛び出し頻度が大きくなるほど、画面中央の奥行きを深くするタイプ1の基本奥行きモデルを選択し、飛び出し頻度が小さくなるほど、画面下部の奥行きは調整しないタイプ3の基本奥行きモデルを選択する。飛び出し頻度が中間の値ではタイプ2の基本奥行きモデルを選択するが、飛び出し頻度が大きくなるとタイプ2にタイプ3を混合し、飛び出し頻度が小さくなるとタイプ2にタイプ1を混合する。異なるタイプの基本奥行きモデルの合成方法は、特開2005−151534号公報に記載されている。 FIG. 12B shows a method of selecting and mixing three types of basic depth models according to the pop-up frequency F_sum. As the pop-up frequency increases, the basic depth model of type 1 that increases the depth at the center of the screen is selected. As the pop-out frequency decreases, the basic depth model of type 3 that does not adjust the depth at the bottom of the screen is selected. When the pop-up frequency is intermediate, the type 2 basic depth model is selected, but when the pop-up frequency increases, type 3 is mixed with type 2, and when the pop-out frequency decreases, type 1 is mixed with type 2. A method for synthesizing different types of basic depth models is described in JP-A-2005-151534.
合成部1434は、飛び出し頻度F_sumが与えられたとき、図12(a)に示したゲイン特性にもとづいて部分視差調整ゲインGlimを求め、式(10)のように、部分視差調整ゲインGlimを部分視差調整の閾値LIMに乗算して補正する。
LIM’=255−(255−LIM)×Glim ・・・式(10)
When the pop-up frequency F_sum is given, the synthesizer 1434 obtains the partial parallax adjustment gain Glim based on the gain characteristics shown in FIG. 12A, and obtains the partial parallax adjustment gain Glim as shown in Expression (10). The parallax adjustment threshold LIM is multiplied and corrected.
LIM ′ = 255− (255−LIM) × Glim Expression (10)
さらに、合成部1434は、式(11)のように補正後の部分視差調整の閾値LIM’を用いて部分視差調整値DPT_lim’(x,y)を求める。
DPT_lim’(x,y)=LIM’ (DPT(x,y)≧LIM’)
DPT_lim’(x,y)=DPT(x,y) (DPT(x,y)<LIM’)
・・・式(11)
Further, the combining unit 1434 obtains the partial parallax adjustment value DPT_lim ′ (x, y) using the corrected partial parallax adjustment threshold LIM ′ as in Expression (11).
DPT_lim ′ (x, y) = LIM ′ (DPT (x, y) ≧ LIM ′)
DPT_lim ′ (x, y) = DPT (x, y) (DPT (x, y) <LIM ′)
... Formula (11)
最後に、合成部1434は、式(12)に示すように、式(11)により得られた部分視差調整値DPT_lim’(x,y)と、飛び出し頻度F_sumに応じて選択された少なくとも1つの基本奥行きモデルの奥行き値Basicとを合成し、最終的な合成後の視差調整値DPT_adjを求める。
DPT_adj(x、y)
=DPT_Lim’(x、y)+Basic ・・・式(12)
Finally, as shown in Expression (12), the synthesis unit 1434 has at least one selected according to the partial parallax adjustment value DPT_lim ′ (x, y) obtained by Expression (11) and the pop-up frequency F_sum. The depth value Basic of the basic depth model is synthesized to obtain a final synthesized parallax adjustment value DPT_adj.
DPT_adj (x, y)
= DPT_Lim ′ (x, y) + Basic (12)
このように飛び出し頻度F_sumに基づき、部分視差調整と基本奥行きモデルの合成比率が決定される。 In this way, the combination ratio of the partial parallax adjustment and the basic depth model is determined based on the pop-up frequency F_sum.
最終的な視差調整データDPT_adjはシフト画像生成部145に供給される。シフト画像生成部145の構成と動作は実施の形態1と同じである。 The final parallax adjustment data DPT_adj is supplied to the shift image generation unit 145. The configuration and operation of the shift image generation unit 145 are the same as those in the first embodiment.
図13(a)〜図13(d)は、実施の形態2の立体画像生成装置によるシフト画像生成処理を説明する図である。 FIG. 13A to FIG. 13D are diagrams illustrating shift image generation processing by the stereoscopic image generation apparatus according to the second embodiment.
図13(a)は、図8を参照して実施の形態1で説明した入力右目画像IRである。図13(b)は、実施の形態1と同様の部分視差調整特性を用いて入力右目画像IRに部分視差調整を施した画像である。図13(b)のグレー部分は、飛び出している被写体OB1の画素をシフトさせたことで生じたオクルージョン領域であり、入力された右目画像信号IRには対応する画素が存在しない。オクルージョン領域では、正常に生成することができた周辺部のシフト画素データに基づき画素補間を行うことで画素データを生成するので、入力画像信号の再現が困難となることがある。この例では、オクルージョン領域が大きいため、画質劣化を招く恐れが大きい。 FIG. 13A is the input right-eye image IR described in Embodiment 1 with reference to FIG. FIG. 13B is an image obtained by performing partial parallax adjustment on the input right-eye image IR using the partial parallax adjustment characteristics similar to those in the first embodiment. A gray portion in FIG. 13B is an occlusion area generated by shifting the pixel of the protruding subject OB1, and there is no corresponding pixel in the input right-eye image signal IR. In the occlusion area, pixel data is generated by performing pixel interpolation based on the peripheral shift pixel data that can be normally generated, and thus it may be difficult to reproduce the input image signal. In this example, since the occlusion area is large, there is a high risk of causing image quality degradation.
図13(c)は、飛び出し頻度に応じて選択、混合された基本奥行きモデルを示す。ここでは、タイプ1とタイプ2の基本奥行きモデルを混合することにより、画面全体で穏やかに画素を奥に移動させる。 FIG. 13C shows a basic depth model selected and mixed according to the pop-up frequency. Here, by mixing type 1 and type 2 basic depth models, the pixels are gently moved to the back throughout the screen.
図13(d)は、本実施の形態のシフト画像生成処理によって飛び出し頻度に応じて部分視差調整特性と基本奥行きモデルを合成して生成されるシフト右目画像である。過度の飛び出し方向の視差を有する被写体OB1の部分視差調整によるシフトを抑えることでオクルージョン領域が小さくなるとともに、混合された基本奥行きモデルを用いてすべての被写体OB1〜OB3を穏やかに奥に移動させることで全体が引っ込み過ぎないようになる。 FIG. 13D is a shifted right-eye image generated by combining the partial parallax adjustment characteristics and the basic depth model according to the pop-out frequency by the shift image generation processing of the present embodiment. The occlusion area is reduced by suppressing the shift due to the partial parallax adjustment of the subject OB1 having the parallax in the excessive protruding direction, and all the subjects OB1 to OB3 are gently moved to the back by using the mixed basic depth model. So the whole will not retract too much.
本実施の形態のシフト画像生成処理では、入力画像の特徴、特にヒストグラム解析に基づき、部分視差調整特性と基本奥行きモデルを合成するため、部分視差調整により発生するオクルージョン領域を小さく抑えるとともに、混合された基本奥行きモデルによって被写体の移動を観察者にとって穏やかなものにすることができる。これにより、大きな画質劣化を伴わずに過度な飛び出しを抑制した視差調整を行うことができる。 In the shift image generation processing of the present embodiment, the partial parallax adjustment characteristics and the basic depth model are synthesized based on the characteristics of the input image, particularly the histogram analysis, so that the occlusion area generated by the partial parallax adjustment is suppressed and mixed. The basic depth model can make the movement of the subject gentle for the observer. Accordingly, it is possible to perform parallax adjustment that suppresses excessive pop-up without significant image quality deterioration.
[実施の形態2の変形例]
実施の形態2においても、実施の形態1の変形例と同様に、飛び出し頻度の代わりに引っ込み頻度にもとづいてシフト画像を生成してもよい。この場合、基本奥行きモデルとして、画像における少なくとも一部の領域が飛び出すように奥行き値を定義する曲面を用いる。たとえば球状の凸面を有する立体構造によって画面中央を飛び出させるモデルや、画面上部または下部を飛び出せるモデルなど複数の基本奥行きモデルを用いる。引っ込み頻度に応じて少なくとも一つの基本奥行きモデルを選択し、引っ込み頻度にもとづいて部分視差調整と少なくとも1つの基本奥行きモデルの奥行き値とを合成して視差調整値を求め、合成後の視差調整値にもとづいてシフト画像を生成する。これにより、過度の引っ込みを抑制した立体映像を生成することができる。
[Modification of Embodiment 2]
In the second embodiment, similarly to the modification of the first embodiment, a shift image may be generated based on the retraction frequency instead of the pop-out frequency. In this case, as the basic depth model, a curved surface that defines the depth value so that at least a part of the region in the image pops out is used. For example, a plurality of basic depth models are used such as a model in which the center of the screen pops out by a three-dimensional structure having a spherical convex surface, and a model in which the top or bottom of the screen pops out. At least one basic depth model is selected according to the retraction frequency, and the parallax adjustment value is obtained by combining the partial parallax adjustment and the depth value of at least one basic depth model based on the retraction frequency, and the combined parallax adjustment value A shift image is generated based on the above. Thereby, it is possible to generate a stereoscopic image in which excessive retraction is suppressed.
以上の実施の形態で述べた処理は、ハードウェアを用いた伝送、蓄積、受信装置として実現することができるのは勿論のこと、ROM(リード・オンリ・メモリ)やフラッシュメモリ等に記憶されているファームウェアや、コンピュータ等のソフトウェアによっても実現することができる。そのファームウェアプログラム、ソフトウェアプログラムをコンピュータ等で読み取り可能な記録媒体に記録して提供することも、有線あるいは無線のネットワークを通してサーバから提供することも、地上波あるいは衛星ディジタル放送のデータ放送として提供することも可能である。 The processing described in the above embodiments can be realized as a transmission, storage, and reception device using hardware, as well as stored in a ROM (Read Only Memory), a flash memory, or the like. It can also be realized by existing firmware or software such as a computer. The firmware program and software program can be recorded on a computer-readable recording medium, provided from a server through a wired or wireless network, or provided as a data broadcast of terrestrial or satellite digital broadcasting Is also possible.
以上、本発明を実施の形態をもとに説明した。実施の形態は例示であり、それらの各構成要素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。 The present invention has been described based on the embodiments. The embodiments are exemplifications, 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 within the scope of the present invention. .
1 立体画像生成装置、 2 3D信号記録装置、 3 ステレオ表示装置、 11 入力信号取得部、 12 3D信号デコード部、 13 3D信号視差検出部、 14 画像信号変換部、 141 ヒストグラム生成部、 143 視差調整部、 145 シフト画像生成部、 1411 選択器群、 1412 累積カウンタ群、 1413 保持レジスタ群、1431 飛び出し頻度算出部、 1432 部分視差調整部、 1433 全体視差調整部、 1434 合成部 、1435 基本奥行きモデル。 DESCRIPTION OF SYMBOLS 1 Stereo image production | generation apparatus, 2 3D signal recording device, 3 Stereo display apparatus, 11 Input signal acquisition part, 12 3D signal decoding part, 13 3D signal parallax detection part, 14 Image signal conversion part, 141 Histogram generation part, 143 Parallax adjustment Unit, 145 shift image generation unit, 1411 selector group, 1412 cumulative counter group, 1413 holding register group, 1431 pop-up frequency calculation unit, 1432 partial parallax adjustment unit, 1433 overall parallax adjustment unit, 1434 synthesis unit, 1435 basic depth model.
Claims (3)
前記視差情報にもとづいて立体映像の飛び出しまたは引っ込み度合いを取得する飛び出し/引っ込み度合い取得部と、
前記視差情報を調整して視差調整情報を生成する視差調整部と、
画像における少なくとも一部の領域の奥行きを深くするための複数の奥行きモデルの少なくとも1つを選択し、その選択された少なくとも1つの奥行きモデルの奥行き値と、前記視差調整部による視差調整情報とを前記飛び出しまたは引っ込み度合いに応じた合成比率で合成する合成部と、
合成後の視差調整情報に基づいて前記一対の画像の視差を変更した新たな一対の画像を生成する画像生成部とを備え、
前記視差調整部は、閾値から外れる視差を有する画素の視差を抑える部分視差調整部であり、
前記合成部は、前記飛び出しまたは引っ込み度合いが大きいほど、前記複数の奥行きモデルの内、奥行きをより深くする奥行きモデルが選択される一方、前記部分視差調整部により視差を抑える度合いが減るように、前記複数の奥行きモデルの少なくとも1つの奥行きモデルの奥行き値と前記部分視差調整部による視差調整情報とを合成する合成比率を決定することを特徴とする立体画像生成装置。 A parallax information acquisition unit that acquires parallax information of a pair of images forming a stereoscopic video;
A popping / retracting degree acquisition unit that acquires a popping or retracting degree of a stereoscopic image based on the parallax information;
A parallax adjustment unit that adjusts the parallax information to generate parallax adjustment information;
Selecting at least one of a plurality of depth models for increasing the depth of at least some of the regions in the image, and calculating the depth value of the selected at least one depth model and the parallax adjustment information by the parallax adjustment unit; A synthesizing unit that synthesizes at a synthesis ratio according to the degree of protrusion or retraction;
An image generation unit that generates a new pair of images in which the parallax of the pair of images is changed based on the parallax adjustment information after combining ,
The parallax adjustment unit is a partial parallax adjustment unit that suppresses parallax of pixels having parallax that deviates from a threshold;
As the degree of popping out or retracting is larger, the synthesizing unit selects a depth model that makes the depth deeper from among the plurality of depth models, while reducing the degree of suppressing parallax by the partial parallax adjusting unit, wherein the plurality of stereoscopic image generation apparatus characterized that you determine the synthesis ratio for synthesizing the parallax adjustment information according to the depth value and the partial parallax adjustment of the at least one depth model of depth model.
前記視差情報にもとづいて立体映像の飛び出しまたは引っ込み度合いを取得するステップと、
前記視差情報を調整して視差調整情報を生成するステップと、
画像における少なくとも一部の領域の奥行きを深くするための複数の奥行きモデルの少なくとも1つを選択し、その選択された少なくとも1つの奥行きモデルの奥行き値と、前記視差調整情報とを前記飛び出しまたは引っ込み度合いに応じた合成比率で合成するステップと、
合成後の視差調整情報に基づいて前記一対の画像の視差を変更した新たな一対の画像を生成するステップとを備え、
前記視差調整情報を生成するステップは、閾値から外れる視差を有する画素の視差を抑える部分視差調整ステップであり、
前記合成するステップは、前記飛び出しまたは引っ込み度合いが大きいほど、前記複数の奥行きモデルの内、奥行きをより深くする奥行きモデルが選択される一方、前記部分視差調整ステップにより視差を抑える度合いが減るように、前記複数の奥行きモデルの少なくとも1つの奥行きモデルの奥行き値と前記部分視差調整ステップによる視差調整情報とを合成する合成比率を決定することを特徴とする立体画像生成方法。 Obtaining parallax information of a pair of images forming a stereoscopic video;
Obtaining a degree of projection or withdrawal of a stereoscopic image based on the parallax information;
Adjusting the parallax information to generate parallax adjustment information;
Selecting at least one of a plurality of depth models for increasing the depth of at least a part of the region in the image, and projecting or retracting the depth value of the selected at least one depth model and the parallax adjustment information Synthesizing at a synthesis ratio according to the degree;
Generating a new pair of images in which the parallax of the pair of images is changed based on the parallax adjustment information after combining ,
The step of generating the parallax adjustment information is a partial parallax adjustment step for suppressing parallax of pixels having parallax that deviates from a threshold value,
In the synthesizing step, as the degree of popping out or retracting is larger, a depth model that makes the depth deeper is selected from among the plurality of depth models, while the degree of suppressing parallax by the partial parallax adjustment step is reduced. , the stereoscopic image generation method comprising that you determine the synthesis ratio for synthesizing the parallax adjustment information by the partial parallax adjustment step and the depth value of the at least one depth model of the plurality of depth model.
前記視差情報にもとづいて立体映像の飛び出しまたは引っ込み度合いを取得するステップと、
前記視差情報を調整して視差調整情報を生成するステップと、
画像における少なくとも一部の領域の奥行きを深くするための複数の奥行きモデルの少なくとも1つを選択し、その選択された少なくとも1つの奥行きモデルの奥行き値と、前記視差調整情報とを前記飛び出しまたは引っ込み度合いに応じた合成比率で合成するステップと、
合成後の視差調整情報に基づいて前記一対の画像の視差を変更した新たな一対の画像を生成するステップとをコンピュータに実行させ、
前記視差調整情報を生成するステップは、閾値から外れる視差を有する画素の視差を抑える部分視差調整ステップであり、
前記合成するステップは、前記飛び出しまたは引っ込み度合いが大きいほど、前記複数の奥行きモデルの内、奥行きをより深くする奥行きモデルが選択される一方、前記部分視差調整ステップにより視差を抑える度合いが減るように、前記複数の奥行きモデルの少なくとも1つの奥行きモデルの奥行き値と前記部分視差調整ステップによる視差調整情報とを合成する合成比率を決定することを特徴とする立体画像生成プログラム。 Obtaining parallax information of a pair of images forming a stereoscopic video;
Obtaining a degree of projection or withdrawal of a stereoscopic image based on the parallax information;
Adjusting the parallax information to generate parallax adjustment information;
Selecting at least one of a plurality of depth models for increasing the depth of at least a part of the region in the image, and projecting or retracting the depth value of the selected at least one depth model and the parallax adjustment information Synthesizing at a synthesis ratio according to the degree;
Generating a new pair of images in which the parallax of the pair of images is changed based on the parallax adjustment information after synthesis ,
The step of generating the parallax adjustment information is a partial parallax adjustment step for suppressing parallax of pixels having parallax that deviates from a threshold value,
In the synthesizing step, as the degree of popping out or retracting is larger, a depth model that makes the depth deeper is selected from among the plurality of depth models, while the degree of suppressing parallax by the partial parallax adjustment step is reduced. It said plurality of at least one three-dimensional image generating program which is characterized that you determine the synthesis ratio for synthesizing the parallax adjustment information by the partial parallax adjustment step and the depth value of the depth model of depth model.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014061877A JP6217486B2 (en) | 2014-03-25 | 2014-03-25 | Stereo image generating apparatus, stereo image generating method, and stereo image generating program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014061877A JP6217486B2 (en) | 2014-03-25 | 2014-03-25 | Stereo image generating apparatus, stereo image generating method, and stereo image generating program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2015186100A JP2015186100A (en) | 2015-10-22 |
| JP6217486B2 true JP6217486B2 (en) | 2017-10-25 |
Family
ID=54352188
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014061877A Active JP6217486B2 (en) | 2014-03-25 | 2014-03-25 | Stereo image generating apparatus, stereo image generating method, and stereo image generating program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6217486B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112686937B (en) * | 2020-12-25 | 2024-05-31 | 杭州海康威视数字技术股份有限公司 | A method, device and apparatus for generating a depth image |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011035712A (en) * | 2009-08-03 | 2011-02-17 | Mitsubishi Electric Corp | Image processing device, image processing method and stereoscopic image display device |
| JP5845780B2 (en) * | 2011-09-29 | 2016-01-20 | 株式会社Jvcケンウッド | Stereoscopic image generating apparatus and stereoscopic image generating method |
-
2014
- 2014-03-25 JP JP2014061877A patent/JP6217486B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2015186100A (en) | 2015-10-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103119947B (en) | Method and apparatus for correcting errors in stereo images | |
| JP6094863B2 (en) | Image processing apparatus, image processing method, program, integrated circuit | |
| US9094657B2 (en) | Electronic apparatus and method | |
| US8116557B2 (en) | 3D image processing apparatus and method | |
| US20130051659A1 (en) | Stereoscopic image processing device and stereoscopic image processing method | |
| JP2013527646A5 (en) | ||
| JP6195076B2 (en) | Different viewpoint image generation apparatus and different viewpoint image generation method | |
| JP5755571B2 (en) | Virtual viewpoint image generation device, virtual viewpoint image generation method, control program, recording medium, and stereoscopic display device | |
| US9210396B2 (en) | Stereoscopic image generation apparatus and stereoscopic image generation method | |
| JP5692051B2 (en) | Depth estimation data generation apparatus, generation method and generation program, and pseudo stereoscopic image generation apparatus, generation method and generation program | |
| JP5127973B1 (en) | Video processing device, video processing method, and video display device | |
| JP5627498B2 (en) | Stereo image generating apparatus and method | |
| JP6217486B2 (en) | Stereo image generating apparatus, stereo image generating method, and stereo image generating program | |
| JP6217485B2 (en) | Stereo image generating apparatus, stereo image generating method, and stereo image generating program | |
| JP5845780B2 (en) | Stereoscopic image generating apparatus and stereoscopic image generating method | |
| JP5488482B2 (en) | Depth estimation data generation device, depth estimation data generation program, and pseudo-stereoscopic image display device | |
| JP5459231B2 (en) | Pseudo stereoscopic image generation apparatus, pseudo stereoscopic image generation program, and pseudo stereoscopic image display apparatus | |
| JP5780214B2 (en) | Depth information generation device, depth information generation method, depth information generation program, pseudo stereoscopic image generation device | |
| WO2013128847A1 (en) | Parallax adjustment device, three-dimensional image generator, and parallax adjustment method | |
| JP2013016040A (en) | Depth signal generating device, pseudo-stereoscopic image generating device, depth signal generating method, and pseudo-stereoscopic image generating method | |
| JP2012034339A (en) | Stereoscopic image generating device and method | |
| JP2013017052A (en) | Depth signal generating apparatus, pseudo stereoscopic image generating apparatus, depth signal generating method, and pseudo stereoscopic image generating method | |
| WO2012090813A1 (en) | Video processing device and video processing system | |
| WO2013186881A1 (en) | 3d-image generation method and 3d-image generation system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160425 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170126 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170131 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170316 |
|
| 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: 20170829 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170911 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6217486 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |