JP4810465B2 - Image encoding apparatus, image decoding apparatus, image encoding method, image decoding method, imaging apparatus, imaging apparatus control method, and program - Google Patents
Image encoding apparatus, image decoding apparatus, image encoding method, image decoding method, imaging apparatus, imaging apparatus control method, and program Download PDFInfo
- Publication number
- JP4810465B2 JP4810465B2 JP2007045961A JP2007045961A JP4810465B2 JP 4810465 B2 JP4810465 B2 JP 4810465B2 JP 2007045961 A JP2007045961 A JP 2007045961A JP 2007045961 A JP2007045961 A JP 2007045961A JP 4810465 B2 JP4810465 B2 JP 4810465B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- encoding
- motion compensation
- camera
- encoded data
- 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
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
本発明は、三次元画像の画像符号化装置、画像復号化装置、画像符号化方法、画像復号化方法、撮像装置、撮像装置の制御方法及びプログラムに関する。 The present invention relates to an image encoding device, an image decoding device, an image encoding method, an image decoding method, an imaging device, an imaging device control method, and a program.
近時、デジタルカメラやデジタルビデオ等の普及に伴い、三次元動画の符号化処理についての技術が種々提案されている。 In recent years, with the spread of digital cameras and digital videos, various techniques for encoding 3D moving images have been proposed.
例えば特許文献1には、三次元ボリュームデータの動き補償予測に関して、奥行き階層に対する相関等を利用したり、適応的な動き補償を行うことで、演算量を削減することが開示されている。
For example,
特許文献2には、輻輳点を固定する立体撮像装置において、電子ズームの倍率によって、輻輳点がずれることによって発生する問題を解決することが開示されている。
特許文献3には、三次元画像を対象にしたDVDビデオ規格において、奥行き情報をオプション領域に記憶することで、汎用のDVDで二次元及び三次元の画像が利用可能になることが開示されている。 Patent Document 3 discloses that, in the DVD video standard for 3D images, 2D and 3D images can be used on a general-purpose DVD by storing depth information in an optional area. Yes.
特許文献4には、MPEG−4で定義されているMACを利用して、立体ビデオ画像を符号化、復号化することが開示されている。 Patent Document 4 discloses that a stereoscopic video image is encoded and decoded using a MAC defined in MPEG-4.
特許文献5には、動き補償予測において、縦方向処理を行い、さらに、MPEGの横方向処理又はH.261の横方向処理のいずれかを切り替えて行うことが開示されている。
In
特許文献6には、立体画像ビデオカメラで、左右及び正面の3台のビデオカメラで、正面を基準にして左右画像を比較して左右画像の動きを予測し、予測ベクトルの方向に参照画像をシフトすることが開示されている。 In Patent Document 6, a stereoscopic video camera uses three video cameras, left, right, and front, to compare the left and right images based on the front, predict the movement of the left and right images, and set the reference image in the direction of the prediction vector. Shifting is disclosed.
特許文献7には、右目画像及び左目画像の視差に基づく方向を考慮して、対応部分を求めるためのサーチ範囲を決定することが開示されている。
上述した特許文献1〜7を含め、従来の三次元画像の符号化処理は、複数の画像をそれぞれ独立して符号化するようにしている。この場合、従来から用いられている二次元画像の符号化方式やシステムをそのまま利用できるため、容易に実現させることができるという利点がある。
In the conventional 3D image encoding process including
しかしながら、このような複数の画像をそれぞれ独立に符号化する方法は、複数の画像の相関が高いことを考慮していないため、以下のような問題がある。 However, such a method of independently encoding a plurality of images does not take into account that the correlation between the plurality of images is high, and thus has the following problems.
(1)符号化された後のデータ量が二次元画像の2倍の容量になる。 (1) The amount of data after encoding becomes twice the capacity of a two-dimensional image.
(2)動きベクトルの探索に要する処理量、時間が二次元画像の場合よりも大幅に増大する。 (2) The processing amount and time required for motion vector search are significantly increased as compared to the case of a two-dimensional image.
(3)消費電力も増加する。 (3) Power consumption also increases.
(4)復号化に要する処理量、時間も符号化と同様に大幅に増大する。 (4) The amount of processing and time required for decoding increase significantly as with encoding.
本発明はこのような課題を考慮してなされたものであり、三次元画像やマルチ画像の符号化処理、復号化処理に適用した場合において、動き補償予測にかかる処理量、時間を削減することができ、符号化処理、復号化処理の高速化、消費電力の低減化、並びに符号化後のデータ量の削減を図ることができる画像符号化装置、画像復号化装置、画像符号化方法、画像復号化方法、撮像装置、撮像装置の制御方法及びプログラムを提供することを目的とする。 The present invention has been made in consideration of such problems, and reduces the amount of processing and time required for motion compensation prediction when applied to encoding and decoding processing of 3D images and multi-images. Image encoding apparatus, image decoding apparatus, image encoding method, and image encoding apparatus, image decoding apparatus, image encoding method, image encoding apparatus, image decoding apparatus, image encoding method, and image encoding apparatus It is an object to provide a decoding method, an imaging apparatus, an imaging apparatus control method, and a program.
第1の本発明に係る画像符号化装置は、視差画像の一方である第1画像を符号化処理して第1符号化データとして出力する第1符号化処理手段と、視差画像の他方である第2画像を符号化処理して第2符号化データとして出力する第2符号化処理手段とを有し、前記第1符号化処理手段は、前記第1画像の動き補償予測を行う第1動き補償手段を有し、前記第2符号化処理手段は、前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部と、前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定手段と、設定された前記探索範囲について前記第1画像と重複する部分を探索する探索手段と、探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成手段と、前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償手段とを有することを特徴とする。
An image encoding device according to a first aspect of the present invention is a first encoding processing unit that encodes a first image that is one of parallax images and outputs the first image as first encoded data, and the other of the parallax images. Second encoding processing means for encoding the second image and outputting it as second encoded data, wherein the first encoding processing means performs first motion-compensated prediction of the first image. has a compensation unit, said second encoding means, based on the storage unit for displacement information of the second image is stored for the first image, wherein the deviation information stored in the storage unit, the Search range setting means for setting a search range for searching for a portion overlapping the first image in the second image, and search means for searching for a portion overlapping the first image for the set search range And a portion overlapping the searched first image A code information generating unit that generates code information in which the first image and the second image are associated with each other, and a second motion that performs motion compensation prediction on a portion of the second image that does not overlap with the first image. Compensating means .
これにより、三次元画像やマルチ画像の符号化処理に適用した場合において、動き補償予測にかかる処理量、時間を削減することができ、符号化処理の高速化、消費電力の低減化、並びに符号化後のデータ量の削減を図ることができる。 This makes it possible to reduce the amount of processing and time required for motion compensation prediction when applied to 3D image and multi-image encoding processing, speeding up encoding processing, reducing power consumption, and encoding. The amount of data after conversion can be reduced.
そして、第1の本発明において、被写体を撮像して前記第1画像を得る第1カメラと前記被写体を撮像して前記第2画像を得る第2カメラとの輻輳角、並びに前記第1カメラの光軸と前記第2カメラの光軸の間隔のうち、少なくとも一方に基づいて、前記ずれ情報を設定して前記記憶部に記憶する手段を有するようにしてもよい。この場合、光軸の間隔や、輻輳角に応じて、動きベクトルの探索範囲を変更できるため、被写体や撮影目的の画像に応じた最適な符号化処理を行うことができる。 In the first aspect of the present invention, the convergence angle between the first camera that captures the subject and obtains the first image and the second camera that captures the subject and obtains the second image, and the first camera You may make it have a means to set the shift | offset | difference information based on at least one among the space | intervals of an optical axis and the optical axis of the said 2nd camera, and memorize | store in the said memory | storage part. In this case, since the search range of the motion vector can be changed according to the optical axis interval and the convergence angle, it is possible to perform optimum encoding processing according to the subject and the image to be captured.
また、第1の本発明において、前記探索手段は、前記探索範囲設定手段にて設定された前記探索範囲に含まれる複数のマクロブロックと、前記第1画像に含まれる複数のマクロブロックとをそれぞれ順番に比較する比較手段を有し、前記コード情報生成手段は、前記比較手段からの比較結果が一致又はほぼ一致することを示す場合に、前記第2画像の複数のマクロブロックのうち、前記比較結果の対象となっているマクロブロックと、該マクロブロックと比較した前記第1画像のマクロブロックとを関連付けた前記コード情報を出力するようにしてもよい。この場合、動きベクトルの探索処理の簡略化、処理時間の削減、並びに符号化後のデータ量の削減を図ることができる。 In the first aspect of the present invention, the search means includes a plurality of macroblocks included in the search range set by the search range setting means and a plurality of macroblocks included in the first image, respectively. A comparison means for comparing in order, wherein the code information generation means indicates the comparison among the plurality of macroblocks of the second image when the comparison result from the comparison means indicates that they match or substantially match. and macro block that is to be the result of interest, the code information may be Unishi by you output that associates the macro block of the first image as compared to the macro-block. In this case, the motion vector search process can be simplified, the processing time can be reduced, and the amount of data after encoding can be reduced.
また、第1の本発明において、前記第1画像に関するマクロブロック単位の奥行き情報に基づいて、マクロブロック単位のずれ情報を設定して前記記憶部に記憶する手段を有し、前記探索手段は、前記記憶部に記憶された前記マクロブロック単位のずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するようにしてもよい。この場合、マクロブロックの距離情報に応じて動きベクトルの探索範囲を変更することができるため、被写体や撮影目的の画像に応じた最適な符号化処理を行うことができる。
Further, in the first aspect of the present invention, there is provided means for setting deviation information in units of macroblocks based on depth information in units of macroblocks relating to the first image and storing the information in the storage unit , A portion of the second image that overlaps the first image may be searched for based on the macroblock unit shift information stored in the storage unit . In this case, since the search range of the motion vector can be changed according to the macroblock distance information, it is possible to perform optimum encoding processing according to the subject and the image to be captured.
また、第1の本発明において、前記探索手段は、前記探索範囲設定手段にて設定された前記探索範囲に含まれるマクロブロックと、前記第1画像に含まれるマクロブロックとを比較する比較手段を有し、前記コード情報生成手段は、前記比較手段からの比較結果が一致又はほぼ一致することを示す場合に、前記第2画像の複数のマクロブロックのうち、前記比較結果の対象となっているマクロブロックと、該マクロブロックと比較した前記第1画像のマクロブロックとを関連付けた前記コード情報を出力するようにしてもよい。この場合、動きベクトルの探索処理の簡略化、処理時間の削減、並びに符号化後のデータ量の削減を図ることができる。 In the first aspect of the present invention, the search means includes comparison means for comparing the macroblocks included in the search range set by the search range setting means with the macroblocks included in the first image. And the code information generation means is a target of the comparison result among a plurality of macroblocks of the second image when the comparison result from the comparison means indicates that the comparison results match or substantially match. macroblock, the code information may be Unishi by you output that associates the macro block of the first image as compared to the macro-block. In this case, the motion vector search process can be simplified, the processing time can be reduced, and the amount of data after encoding can be reduced.
次に、第2の本発明に係る画像復号化装置は、第1の本発明に係る画像符号化装置から出力された符号化データを復号化処理する画像復号化装置であって、前記画像符号化装置からの第1符号化データを復号して前記第1画像に復元する第1復号化処理手段と、前記画像符号化装置からの前記第1画像と前記第2画像とを関連付けしたコード情報を含む前記第2符号化データを復号して前記第2画像に復元する第2復号化処理手段とを有し、前記第1復号化処理手段は、前記第1符号化データの復号化データの動き補償予測を行う第3動き補償手段を有し、前記第2復号化処理手段は、前記第2符号化データの復号データに含まれる復号された前記コード情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を復元する重複部分復元手段と、前記第2符号化データの復号データのうち、前記第1画像と重複しない部分に対して動き補償予測を行う第4動き補償手段とを有することを特徴とする。 Next, an image decoding apparatus according to the second aspect of the present invention is an image decoding apparatus for decoding encoded data output from the image encoding apparatus according to the first aspect of the present invention, wherein the image code Code information in which the first decoding processing means for decoding the first encoded data from the encoding device and restoring the first image, and the first image and the second image from the image encoding device are associated with each other Second decoding processing means for decoding the second encoded data including and restoring the second image, wherein the first decoding processing means includes decoding data of the first encoded data. Third motion compensation means for performing motion compensation prediction, wherein the second decoding processing means is configured to generate a second image based on the decoded code information included in the decoded data of the second encoded data. among overlapping portion to restore the parts common to those in the first Ima And restoring means, among the decoded data of the second encoded data, and having a fourth motion compensation means for performing motion compensated prediction with respect to the portion that does not overlap with the first image.
これにより、三次元画像やマルチ画像の復号化処理に適用した場合において、画像の復元にかかる処理量、時間を削減することができ、復号化処理の高速化、消費電力の低減化を図ることができる。 As a result, when applied to decoding processing of 3D images and multi-images, the processing amount and time required for image restoration can be reduced, and the decoding processing speed can be increased and the power consumption can be reduced. Can do.
そして、第2の本発明において、前記重複部分復元手段は、前記コード情報において関連付けされた前記第2画像のマクロブロックに対応する第1画像のマクロブロックによって、前記第1画像と重複する部分を復元するようにしてもよい。この場合、画像の復元処理の簡略化、処理時間の削減を図ることができる。 A portion in the second invention, the overlapping portion restoring means, by the macro blocks of the first image corresponding to the macro block of the associated said second image in said code information, which overlaps with the first Ima May be restored. In this case, the image restoration process can be simplified and the processing time can be reduced.
次に、第3の本発明に係る撮像装置は、被写体を撮像して視差画像の一方である第1画像を得る第1カメラと、前記被写体を撮像して前記視差画像の他方である第2画像を得る第2カメラと、前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部と、前記第1カメラと前記第2カメラの輻輳角、並びに前記第1カメラの光軸と前記第2カメラの光軸の間隔のうち、少なくとも一方に基づいて、前記第1画像に対する前記第2画像のずれ情報を設定して前記記憶部に記憶する手段と、前記第1画像を符号化処理して第1符号化データとして出力する第1符号化処理手段と、前記第2画像を符号化処理して第2符号化データとして出力する第2符号化処理手段とを有し、前記第1符号化処理手段は、前記第1画像の動き補償予測を行う第1動き補償手段を有し、前記第2符号化処理手段は、前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定手段と、設定された前記探索範囲について前記第1画像と重複する部分を探索する探索手段と、探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成手段と、前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償手段とを有することを特徴とする。
Next, an imaging apparatus according to a third aspect of the present invention includes a first camera that captures a subject and obtains a first image that is one of parallax images, and a second camera that captures the subject and is the other of the parallax images . A second camera that obtains an image; a storage unit that stores deviation information of the second image with respect to the first image; a convergence angle between the first camera and the second camera; and an optical axis of the first camera. of spacing of the optical axis of the second camera, on the basis of at least one, coding means for storing in the storage unit sets the deviation information of the second image to the first image, the first image A first encoding processing unit that processes and outputs the first encoded data; and a second encoding processing unit that encodes the second image and outputs the second encoded data. 1 coding processing means, the line motion compensated prediction of the first image Has a first motion compensation unit, said second encoding means, based on the deviation information stored in the storage unit, of said second image, searching for the parts common to those in the first image Search range setting means for setting a search range for search, search means for searching for a portion that overlaps the first image with respect to the set search range, and a portion that overlaps with the searched first image Code information generating means for generating code information associating one image with the second image, and second motion compensating means for performing motion compensation prediction on a portion of the second image that does not overlap with the first image. It is characterized by having.
次に、第4の本発明に係る撮像装置は、被写体を撮像して視差画像の一方である第1画像を得る第1カメラと、前記被写体を撮像して前記視差画像の他方である第2画像を得る第2カメラと、前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部と、前記第1画像に関するマクロブロック単位の奥行き情報に基づいて、マクロブロック単位のずれ情報を設定して前記記憶部に記憶する手段と、視差画像の一方である第1画像を符号化処理して第1符号化データとして出力する第1符号化処理手段と、視差画像の他方である第2画像を符号化処理して第2符号化データとして出力する第2符号化処理手段とを有し、前記第1符号化処理手段は、前記第1画像の動き補償予測を行う第1動き補償手段を有し、前記第2符号化処理手段は、前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定手段と、設定された前記探索範囲について前記第1画像と重複する部分を探索する探索手段と、探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成手段と、前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償手段とを有することを特徴とする。
Next, an imaging apparatus according to a fourth aspect of the present invention includes a first camera that captures a subject and obtains a first image that is one of parallax images, and a second camera that captures the subject and is the other of the parallax images . Based on the second camera that obtains the image, the storage unit that stores the shift information of the second image with respect to the first image, and the depth information of the macro block unit related to the first image, the shift information of the macro block unit is obtained. Means for setting and storing in the storage unit, first encoding processing means for encoding the first image as one of the parallax images and outputting the first encoded data as data, and first as the other of the parallax images Second encoding processing means for encoding two images and outputting them as second encoded data, wherein the first encoding processing means performs first motion compensation prediction for motion compensation prediction of the first image. and means, said second encoding means A search range setting means for setting a search range for searching for a portion of the second image that overlaps the first image based on the deviation information stored in the storage unit; Search means for searching for a portion that overlaps the first image with respect to a search range, and a code that generates code information that associates the first image with the second image for the portion that overlaps the searched first image It has an information production | generation means and the 2nd motion compensation means which performs motion compensation prediction about the part which does not overlap with the said 1st image among said 2nd images .
これら第3及び第4の本発明においては、三次元画像やマルチ画像の符号化処理に適用した場合において、動き補償予測にかかる処理量、時間を削減することができ、符号化処理の高速化、消費電力の低減化、並びに符号化後のデータ量の削減を図ることができる。 In the third and fourth aspects of the present invention, when applied to the encoding process of a three-dimensional image or a multi-image, the processing amount and time required for motion compensation prediction can be reduced, and the encoding process can be speeded up. Thus, it is possible to reduce power consumption and reduce the amount of data after encoding.
次に、第5の本発明に係る画像符号化方法は、視差画像の一方である第1画像に対する前記視差画像の他方である第2画像のずれ情報が記憶された記憶部を有する画像符号化装置にて使用され、前記第1画像を符号化処理して第1符号化データとして出力する第1符号化処理ステップと、前記第2画像を符号化処理して第2符号化データとして出力する第2符号化処理ステップとを有し、前記第1符号化処理ステップは、前記第1画像の動き補償予測を行う第1動き補償ステップを有し、前記第2符号化処理ステップは、前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定ステップと、設定された前記探索範囲について前記第1画像と重複する部分を探索する探索ステップと、探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成ステップと、前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償ステップとを有することを特徴とする。
Next, an image encoding method according to a fifth aspect of the present invention is an image encoding method including a storage unit that stores shift information of a second image that is the other of the parallax images with respect to the first image that is one of the parallax images. A first encoding processing step for encoding the first image and outputting it as first encoded data; and encoding the second image and outputting it as second encoded data. A second encoding processing step, wherein the first encoding processing step includes a first motion compensation step for performing motion compensation prediction of the first image , and the second encoding processing step includes the storage A search range setting step for setting a search range for searching for a portion of the second image that overlaps the first image based on the shift information stored in the section, and the set search range Overlapping with the first image A search step for searching for a portion to be searched, a code information generation step for generating code information associating the first image with the second image for a portion overlapping with the searched first image, and the second image And a second motion compensation step for performing motion compensation prediction on a portion that does not overlap with the first image .
そして、第5の本発明において、さらに、被写体を撮像して前記第1画像を得る第1カメラと前記被写体を撮像して前記第2画像を得る第2カメラとの輻輳角、並びに前記第1カメラの光軸と前記第2カメラの光軸の間隔のうち、少なくとも一方に基づいて、前記ずれ情報を設定して前記記憶部に記憶するステップを有するようにしてもよい。 In the fifth aspect of the present invention, the convergence angle between the first camera that captures the subject and obtains the first image and the second camera that captures the subject and obtains the second image, and the first You may make it have the step which sets and memorize | stores the said shift | offset | difference information based on at least one among the space | intervals of the optical axis of a camera, and the optical axis of a said 2nd camera.
この場合、前記探索ステップは、前記探索範囲設定ステップにて設定された前記探索範囲に含まれる複数のマクロブロックと、前記第1画像に含まれる複数のマクロブロックとをそれぞれ順番に比較する比較ステップを有し、前記コード情報生成ステップは、前記比較ステップからの比較結果が一致又はほぼ一致することを示す場合に、前記第2画像の複数のマクロブロックのうち、前記比較結果の対象となっているマクロブロックと、該マクロブロックと比較した前記第1画像のマクロブロックとを関連付けたコード情報を出力するようにしてもよい。 In this case, the search step compares each of the plurality of macroblocks included in the search range set in the search range setting step and the plurality of macroblocks included in the first image in order. And the code information generation step is a target of the comparison result among a plurality of macroblocks of the second image when the comparison result from the comparison step indicates that the comparison result is identical or substantially coincides. and macroblocks are may be due Unishi you output the code information associated with the macroblock of the first image as compared to the macro-block.
また、第5の本発明において、さらに、前記第1画像に関するマクロブロック単位の奥行き情報に基づいて、マクロブロック単位のずれ情報を設定して前記記憶部に記憶するステップを有し、前記探索ステップは、前記記憶部に記憶された前記マクロブロック単位のずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するようにしてもよい。
Further, in the fifth aspect of the present invention, the searching step further includes the step of setting deviation information in units of macroblocks based on depth information in units of macroblocks relating to the first image and storing the information in the storage unit. May search for a portion of the second image that overlaps the first image, based on the deviation information in units of macroblocks stored in the storage unit .
この場合、前記探索ステップは、前記探索範囲設定ステップにて設定された前記探索範囲に含まれるマクロブロックと、前記第1画像に含まれるマクロブロックとを比較する比較ステップを有し、前記コード情報生成ステップは、前記比較ステップからの比較結果が一致又はほぼ一致することを示す場合に、前記第2画像の複数のマクロブロックのうち、前記比較結果の対象となっているマクロブロックと、該マクロブロックと比較した前記第1画像のマクロブロックとを関連付けたコード情報を出力するようにしてもよい。 In this case, the search step includes a comparison step of comparing the macroblock included in the search range set in the search range setting step with the macroblock included in the first image, and the code information The generating step indicates that, when the comparison result from the comparison step matches or substantially matches, the macro block that is the target of the comparison result among the plurality of macro blocks of the second image, and the macro it you output the code information associated with the macroblock of the first image as compared with the block may be Unishi.
次に、第6の本発明に係る画像復号化方法は、第5の本発明に係る画像符号化方法を使用した画像符号化装置から出力された符号化データを復号化処理する画像復号化装置にて使用され、前記画像符号化装置からの第1符号化データを復号して前記第1画像に復元する第1復号化処理ステップと、前記画像符号化装置からの前記第1画像と前記第2画像とを関連付けしたコード情報を含む前記第2符号化データを復号して前記第2画像に復元する第2復号化処理ステップとを有し、前記第1復号化処理ステップは、前記第1符号化データの復号化データの動き補償予測を行う第3動き補償ステップを有し、前記第2復号化処理ステップは、前記第2符号化データの復号データに含まれる復号された前記コード情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を復元する重複部分復元ステップと、前記第2符号化データの復号データのうち、前記第1画像と重複しない部分に対して動き補償予測を行う第4動き補償ステップとを有することを特徴とする。 Next, an image decoding method according to a sixth aspect of the present invention is an image decoding device that decodes encoded data output from an image encoding device using the image encoding method according to the fifth aspect of the present invention. A first decoding processing step for decoding the first encoded data from the image encoding device to restore the first image, the first image from the image encoding device, and the first A second decoding processing step of decoding the second encoded data including code information associated with two images and restoring the second image, and the first decoding processing step includes: A third motion compensation step for performing motion compensation prediction of the decoded data of the encoded data, wherein the second decoding processing step includes the decoded code information included in the decoded data of the second encoded data. Based on the second image Chi, the overlapping portion restoration step of restoring a portion that overlaps with the first Ima, among the decoded data of the second encoded data, a fourth performing motion compensated prediction with respect to the first image does not overlap with the portion And a motion compensation step.
前記重複部分復元ステップは、前記コード情報において関連付けされた前記第2画像のマクロブロックに対応する第1画像のマクロブロックによって、前記第1画像と重複する部分を復元するようにしてもよい。 The overlapping portion restoration step, the macro-block of the first image corresponding to the macro block of the associated said second image in said code information, may be to restore the parts common to those in the first Ima.
次に、第7の本発明に係る撮像装置の制御方法は、被写体を撮像して視差画像の一方である第1画像を得る第1カメラと、前記被写体を撮像して前記視差画像の他方である第2画像を得る第2カメラと、前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部とを有する撮像装置の制御方法において、前記第1カメラと前記第2カメラの輻輳角、並びに前記第1カメラの光軸と前記第2カメラの光軸の間隔のうち、少なくとも一方に基づいて、前記第1画像に対する前記第2画像のずれ情報を設定して前記記憶部に記憶するステップと、前記第1画像を符号化処理して第1符号化データとして出力する第1符号化処理ステップと、前記第2画像を符号化処理して第2符号化データとして出力する第2符号化処理ステップとを有し、前記第1符号化処理ステップは、前記第1画像の動き補償予測を行う第1動き補償ステップを有し、前記第2符号化処理ステップは、前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定ステップと、設定された前記探索範囲について前記第1画像と重複する部分を探索する探索ステップと、探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成ステップと、前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償ステップとを有することを特徴とする。
Next, the control method of the imaging apparatus according to a seventh aspect of the present invention includes a first camera for obtaining the first image is one of a parallax image by imaging a subject, the other parallax image by imaging the object In a control method of an imaging apparatus, comprising: a second camera that obtains a second image; and a storage unit that stores shift information of the second image with respect to the first image. Congestion between the first camera and the second camera corner, as well as of the distance between the optical axis of the first camera of the optical axis and the second camera, on the basis of at least one, stored in said storage unit by setting the deviation information of the second image to the first image A first encoding processing step for encoding the first image and outputting it as first encoded data, and a second encoding step for encoding the second image and outputting it as second encoded data. An encoding process step, Serial first encoding processing step includes a first motion compensation step of performing motion compensation prediction of the first image, the second encoding processing step, based on said deviation information stored in the storage unit A search range setting step for setting a search range for searching for a portion overlapping with the first image in the second image, and searching for a portion overlapping with the first image for the set search range. A search step; a code information generation step for generating code information in which the first image and the second image are associated with each other in a portion overlapping with the searched first image; and And a second motion compensation step for performing motion compensation prediction for a portion that does not overlap with one image .
次に、第8の本発明に係る撮像装置の制御方法は、被写体を撮像して視差画像の一方である第1画像を得る第1カメラと、前記被写体を撮像して前記視差画像の他方である第2画像を得る第2カメラと、前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部とを有する撮像装置の制御方法において、前記第1画像に関するマクロブロック単位の奥行き情報に基づいて、マクロブロック単位のずれ情報を設定して前記記憶部に記憶するステップと、前記第1画像を符号化処理して第1符号化データとして出力する第1符号化処理ステップと、視差画像の他方である第2画像を符号化処理して第2符号化データとして出力する第2符号化処理ステップとを有し、前記第1符号化処理ステップは、前記第1画像の動き補償予測を行う第1動き補償ステップを有し、前記第2符号化処理ステップは、前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定ステップと、設定された前記探索範囲について前記第1画像と重複する部分を探索する探索ステップと、探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成ステップと、前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償ステップとを有することを特徴とする。 Next, according to an eighth aspect of the present invention, there is provided a method for controlling an imaging apparatus, comprising: a first camera that captures a subject to obtain a first image that is one of parallax images; In a control method of an imaging apparatus including a second camera that obtains a second image and a storage unit that stores shift information of the second image with respect to the first image, depth information in units of macroblocks regarding the first image A step of setting deviation information in units of macroblocks and storing the information in the storage unit, a first encoding processing step of encoding the first image and outputting the first encoded data, and disparity A second encoding processing step that encodes a second image that is the other of the images and outputs the second encoded data as second encoded data, wherein the first encoding processing step includes motion compensated prediction of the first image Do the first A motion compensation step, the second encoding processing step, based on the stored the displacement information in the storage unit, of said second image, for searching for a partial overlapping with the first image A search range setting step for setting a search range; a search step for searching for a portion that overlaps the first image with respect to the set search range; and a portion that overlaps the searched first image for the first image A code information generation step for generating code information that associates the second image with the second image, and a second motion compensation step for performing motion compensation prediction on a portion of the second image that does not overlap with the first image. It is characterized by.
次に、第9の本発明に係るプログラムは、視差画像の一方である第1画像に対する前記視差画像の他方である第2画像のずれ情報が記憶された記憶部を有するコンピュータを具備した画像符号化装置を、視差画像の一方である第1画像を符号化処理して第1符号化データとして出力する第1符号化処理手段、視差画像の他方である第2画像を符号化処理して第2符号化データとして出力する第2符号化処理手段、として機能させるためのプログラムであって、前記第1符号化処理手段は、前記第1画像の動き補償予測を行う第1動き補償手段を有し、前記第2符号化処理手段は、前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定手段と、設定された前記探索範囲について前記第1画像と重複する部分を探索する探索手段と、探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成手段と、前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償手段とを有することを特徴とする。
Next, a program according to a ninth aspect of the present invention is an image code including a computer having a storage unit in which deviation information of the second image that is the other of the parallax images with respect to the first image that is one of the parallax images is stored. the apparatus, first encoding means for outputting a first image which is one of the parallax image as the first encoded data by encoding processing, the second image which is the other of the parallax image by performing encoding processing first A program for functioning as a second encoding processing unit that outputs two encoded data, wherein the first encoding processing unit includes a first motion compensation unit that performs motion compensation prediction of the first image. Then, the second encoding processing means sets a search range for searching for a portion overlapping the first image in the second image based on the shift information stored in the storage unit. Search range setting means; Code information that associates the first image and the second image with respect to a portion that overlaps the searched first image and a search unit that searches for a portion that overlaps the first image with respect to the determined search range Code information generating means, and second motion compensation means for performing motion compensation prediction on a portion of the second image that does not overlap with the first image .
次に、第10の本発明に係るプログラムは、第9の本発明に係る画像符号化装置から出力された符号化データを復号化処理するコンピュータを具備した画像復号化装置を、前記画像符号化装置からの第1符号化データを復号して前記第1画像に復元する第1復号化処理手段、前記画像符号化装置からの前記第1画像と前記第2画像とを関連付けしたコード情報を含む前記第2符号化データを復号して前記第2画像に復元する第2復号化処理手段、として機能させるためのプログラムであって、前記第1復号化処理手段は、前記第1符号化データの復号化データの動き補償予測を行う第3動き補償手段を有し、前記第2復号化処理手段は、前記第2符号化データの復号データに含まれる復号された前記コード情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を復元する重複部分復元手段と、前記第2符号化データの復号データのうち、前記第1画像と重複しない部分に対して動き補償予測を行う第4動き補償手段とを有することを特徴とする。 Next, a program according to a tenth aspect of the present invention provides an image decoding apparatus including a computer that performs decoding processing on encoded data output from the image encoding apparatus according to the ninth aspect of the present invention. A first decoding processing means for decoding the first encoded data from the device and restoring the first image; and code information relating the first image and the second image from the image encoding device A program for functioning as second decoding processing means for decoding the second encoded data and restoring the second image, wherein the first decoding processing means 3rd motion compensation means for performing motion compensation prediction of decoded data, and the second decoding processing means is based on the decoded code information included in the decoded data of the second encoded data, Second image The a overlapping portion restoring means for restoring the portions overlapping with the first Ima, the second of the decoded data of the encoded data, a fourth motion for motion compensated prediction with respect to the portion that does not overlap with the first image Compensating means.
次に、第11の本発明に係るプログラムは、被写体を撮像して視差画像の一方である第1画像を得る第1カメラと、前記被写体を撮像して前記視差画像の他方である第2画像を得る第2カメラと、前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部とを有する撮像装置を、前記第1カメラと前記第2カメラの輻輳角、並びに前記第1カメラの光軸と前記第2カメラの光軸の間隔のうち、少なくとも一方に基づいて、前記第1画像に対する前記第2画像のずれ情報を設定して前記記憶部に記憶する手段、前記第1画像を符号化処理して第1符号化データとして出力する第1符号化処理手段、前記第2画像を符号化処理して第2符号化データとして出力する第2符号化処理手段、として機能させるためのプログラムであって、前記第1符号化処理手段は、前記第1画像の動き補償予測を行う第1動き補償手段を有し、前記第2符号化処理手段は、前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定手段と、設定された前記探索範囲について前記第1画像と重複する部分を探索する探索手段と、探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成手段と、前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償手段とを有することを特徴とする。
Next, a program according to an eleventh aspect of the present invention includes a first camera that captures a subject and obtains a first image that is one of parallax images, and a second image that captures the subject and is the other of the parallax images. An imaging apparatus having a second camera for obtaining the first image, and a storage unit storing information on a shift of the second image with respect to the first image, a convergence angle of the first camera and the second camera, and the first camera of the optical axis and distance of the optical axis of the second camera, on the basis of at least one, means for storing in the storage unit sets the deviation information of the second image to the first image, the first image Are encoded and processed as first encoded data, and the second image is encoded and processed as second encoded data that is output as second encoded data. The
次に、第12の本発明に係るプログラムは、被写体を撮像して視差画像の一方である第1画像を得る第1カメラと、前記被写体を撮像して前記視差画像の他方である第2画像を得る第2カメラと、前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部とを有する撮像装置を、前記第1画像に関するマクロブロック単位の奥行き情報に基づいて、マクロブロック単位のずれ情報を設定して前記記憶部に記憶する手段、視差画像の一方である第1画像を符号化処理して第1符号化データとして出力する第1符号化処理手段、視差画像の他方である第2画像を符号化処理して第2符号化データとして出力する第2符号化処理手段、として機能させるためのプログラムであって、前記第1符号化処理手段は、前記第1画像の動き補償予測を行う第1動き補償手段を有し、前記第2符号化処理手段は、前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定手段と、設定された前記探索範囲について前記第1画像と重複する部分を探索する探索手段と、探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成手段と、前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償手段とを有することを特徴とする。
Next, a program according to a twelfth aspect of the present invention includes a first camera that captures a subject and obtains a first image that is one of parallax images, and a second image that captures the subject and is the other of the parallax images. An image pickup apparatus having a second camera for obtaining the first image and a storage unit in which shift information of the second image with respect to the first image is stored is based on macroblock unit depth information about the first image. Means for setting the shift information and storing it in the storage unit, the first encoding processing means for encoding the first image that is one of the parallax images and outputting it as the first encoded data, and the other of the parallax images A program for causing a second image to function as second encoding processing means that encodes a second image and outputs it as second encoded data, wherein the first encoding processing means moves the first image Compensation prediction Has a first motion compensation means for performing the second encoding means, based on the deviation information stored in the storage unit, of said second image, searching for a partial overlapping with the first image Search range setting means for setting a search range to search, search means for searching for a portion that overlaps the first image for the set search range, and a portion that overlaps the searched first image, Code information generating means for generating code information associating the first image with the second image, and second motion compensating means for performing motion compensation prediction on a portion of the second image that does not overlap with the first image; It is characterized by having .
以上説明したように、本発明に係る画像符号化装置、画像復号化装置、画像符号化方法、画像復号化方法、撮像装置、撮像装置の制御方法及びプログラムによれば、三次元画像やマルチ画像の符号化処理、復号化処理に適用した場合において、動き補償予測にかかる処理量、時間を削減することができ、符号化処理、復号化処理の高速化、消費電力の低減化、並びに符号化後のデータ量の削減を図ることができる。 As described above, according to the image encoding device, the image decoding device, the image encoding method, the image decoding method, the image decoding method, the image capturing device control method, and the program according to the present invention, a three-dimensional image or multi-image When applied to the encoding process and decoding process, the processing amount and time required for motion compensation prediction can be reduced, the encoding process, the speed of the decoding process, the reduction in power consumption, and the encoding The amount of data can be reduced later.
以下、本発明に係る画像符号化装置、画像復号化装置、画像符号化方法、画像復号化方法、撮像装置、撮像装置の制御方法及びプログラムの実施の形態例を図1〜図24を参照しながら説明する。 Embodiments of an image encoding device, an image decoding device, an image encoding method, an image decoding method, an imaging device, an imaging device control method, and a program according to the present invention will be described below with reference to FIGS. While explaining.
先ず、第1の実施の形態に係る画像符号化装置(以下、第1符号化装置10Aと記す)は、図1に示すように、被写体を撮像して被写体の動画を得る2つのカメラ(第1カメラ12及び第2カメラ14)と、第1カメラ12から出力される動画を符号化処理して例えば記録媒体16に記録する第1符号化処理系18と、第2カメラ14から出力される動画を符号化処理して例えば記録媒体16に記録する第2符号化処理系20とを有する。
First, as shown in FIG. 1, an image encoding device according to the first embodiment (hereinafter referred to as a
第1符号化処理系18は、第1カメラ12から出力される動画をフレーム単位に保持する第1バッファメモリ22と、第1バッファメモリ22に保持された画像(第1画像)を符号化処理する第1符号化回路24と、第1画像の動き補償予測を行う第1動き補償回路26と、第1画像の圧縮符号化データを一時的に保持する第2バッファメモリ28とを有する。
The first
図2に示すように、第1符号化回路24は、第1バッファメモリ22からの第1画像に対して離散コサイン変換を行う第1DCT器30と、第1DCT器30からのデータを所定ビットに量子化する第1量子化器32と、量子化されたデータを可変長符号化して第2バッファメモリ28に格納する第1可変長符号化器34と、第2バッファメモリ28から送信されてきた発生符号量データと目標となる符号量との間の誤差符号量を検出して第1量子化器32にフィードバックする第1符号量制御器36とを有する。また、第1符号化回路24は、フレーム内予測符号化の際にオンとなる第1スイッチ38と、順方向予測や双方向予測の際に、第1バッファメモリ22からの第1画像と第1動き補償回路26からの出力データとの減算データを得る第1減算器40を有する。
As shown in FIG. 2, the
第1動き補償回路26は、第1逆量子化器42と、第1逆DCT器44と、第1加算器46と、第1画像メモリ48と、第2スイッチ50と、第1動き補償予測器52とを有する。離散コサイン変換及び量子化処理された第1画像あるいは差分データが第1逆量子化器42及び第1逆DCT器44を介して復元され、第1画像メモリ48に格納される。特に、復元された差分データは、第2スイッチ50を介して第1動き補償予測器52からのデータが第1加算器46にて加算されるようになっている。
The first
従って、例えば図3に示すように、n−1フレーム、nフレーム及びn+1フレームの各第1画像54a〜54cを考えたとき、先ず、n−1フレームの第1画像54aが符号化されて第2バッファメモリ28に書き込まれると共に、復元されたn−1フレームの第1画像54aが第1画像メモリ48に書き込まれ、さらに、第1バッファメモリ22にnフレームの第1画像54bが蓄積される。
Therefore, for example, as shown in FIG. 3, when considering the
そして、第1動き補償予測器52において、今回のnフレームの第1画像54bと第1画像メモリ48に蓄積されたn−1フレームの第1画像54aとの間でマクロブロック毎のパターンマッチング処理が行われ、この結果得られた動きベクトルだけシフトされたn−1フレームの第1画像が参照画像54arとして第1減算器40及び第1加算器46にそれぞれ供給される。
Then, in the first
第1減算器40からは、nフレームの第1画像54bとn−1フレームの参照画像54ar(動き補償予測されたn−1フレームの第1画像)との差分データが出力される。参照画像54arは、例えば図3に示すように、ボールの画像56がnフレームの第1画像54bと同じ位置になるように破線で示す位置にシフトされた画像となる。従って、第1減算器40から出力される差分データは、動き補償予測しない場合と比して大幅にデータ量が削減されたデータとなる。そして、差分データは、第1DCT器30、第1量子化器32、第1可変長符号化器34を経ることによって符号化される。このとき、第1動き補償予測器52により得られた動きベクトルも第1可変長符号化器34に送られて可変長符号化される。符号化されたデータは第2バッファメモリ28に蓄積され、所定の転送レートで読み出されて外部に出力され、記録媒体16に記録されることになる。
The
上述の例は、順方向予測を主体に説明したが、MPEG(Motion Picture Experts Group)にて規定されているように、双方向予測も行われる。 In the above example, forward prediction has been mainly described, but bi-directional prediction is also performed as defined in MPEG (Motion Picture Experts Group).
その一方で、差分データは第1逆量子化器42、第1逆DCT器44を経て復元され、さらに、この復元された差分データと、第1動き補償予測器52から第2スイッチ50を介して供給された参照画像54ar(動き補償済みのn−1フレームの第1画像)とが第1加算器46にて加算されてnフレームの第1画像54bとして第1画像メモリ48に蓄積される。
On the other hand, the difference data is restored through the
その後、上述した一連の処理と同様に、第1動き補償予測器52において、今回のn+1フレームの第1画像54cと第1画像メモリ48に蓄積されたnフレームの第1画像54bとの間でマクロブロック毎のパターンマッチング処理が行われ、この結果得られた動きベクトルだけシフトされたnフレームの第1画像が参照画像54brとして第1減算器40及び第1加算器46にそれぞれ供給される。
Thereafter, similarly to the series of processes described above, in the first
第1減算器40からは、n+1フレームの第1画像54cと参照画像54br(動き補償予測されたnフレームの第1画像)との差分データが出力される。参照画像54brは、例えば図3に示すように、ボールの画像56がn+1フレームの第1画像54cと同じ位置になるように破線で示す位置にシフトされた画像となる。
The
差分データは、第1DCT器30、第1量子化器32、第1可変長符号化器34を経ることによって符号化され、また、第1動き補償予測器52により得られた動きベクトルも第1可変長符号化器34に送られて可変長符号化される。符号化されたデータは第2バッファメモリ28に蓄積される。
The difference data is encoded by passing through the
また、差分データは第1逆量子化器42、第1DCT器44を経て復元され、さらに、この復元された差分データと、第1動き補償予測器52から第2スイッチ50を介して供給された参照画像54br(動き補償済みのnフレームの第1画像)とが第1加算器46にて加算されてn+1フレームの第1画像54cとして第1画像メモリ48に蓄積される。
The difference data is restored through the
上述した処理が繰り返されて、第1カメラ12からの動画が符号化されて第2バッファメモリ28に蓄積されたデータは、所定の転送レートで読み出されて外部に出力され、例えば外部の記録媒体16に記録されることになる。
The above-described processing is repeated, and the moving image from the
一方、図1に示すように、第2符号化処理系20は、上述した第1符号化処理系18と同様に、第2カメラ14から出力される動画をフレーム単位に保持する第3バッファメモリ58と、第3バッファメモリ58に保持された画像(第2画像)を符号化処理する第2符号化回路60と、第2画像の動き補償予測を行う第2動き補償回路62と、第2画像の圧縮符号化データを一時的に保持する第4バッファメモリ64とを有する。
On the other hand, as shown in FIG. 1, the second
図4に示すように、第2符号化回路60は、上述した第1符号化回路24と同様に、第3バッファメモリ58からの第2画像に対して離散コサイン変換を行う第2DCT器66と、第2DCT器66からのデータを所定ビットに量子化する第2量子化器68と、量子化されたデータを可変長符号化して第4バッファメモリ64に格納する第2可変長符号化器70と、第4バッファメモリ64から送信されてきた発生符号量データと目標となる符号量との間の誤差符号量を検出して第2量子化器68にフィードバックする第2符号量制御器72とを有する。また、第2符号化回路60は、フレーム内予測符号化の際にオンとなる第3スイッチ74と、順方向予測や双方向予測の際に、第3バッファメモリ58からの第2画像と第2動き補償回路62からの出力データとの減算データを得る第2減算器76を有する。
As shown in FIG. 4, the
第2動き補償回路62は、上述した第1動き補償回路26と同様に、第2逆量子化器78と、第2逆DCT器80と、第2加算器82と、第2画像メモリ84と、第4スイッチ86と、第2動き補償予測器88とを有する。離散コサイン変換及び量子化処理された第2画像あるいは差分データが第2逆量子化器78及び第2逆DCT器80を介して復元され、第2画像メモリ84に格納される。特に、復元された差分データは、第4スイッチ86を介して第2動き補償予測器88からのデータが第2加算器82にて加算されるようになっている。
Similar to the first
さらに、この第2符号化処理系20は、図1に示すように、第1画像に対する第2画像のずれ情報(ずれ方向及びずれ量)が記憶された記憶部90と、第2動き補償回路62での第2画像の動きベクトルの探索範囲を、記憶部90に記憶されたずれ情報に基づいて変更する探索範囲変更回路92とを有する。ずれ方向は、複数のカメラの設置方向(水平方向、垂直方向)を示し、ずれ量は、例えば1つのカメラから被写体までの距離に基づいたずれ量を示す。
Further, as shown in FIG. 1, the second
ここで、探索範囲変更回路92の機能について図5〜図7を参照しながら説明する。
Here, the function of the search
先ず、図5に示すように、第1カメラ12にて撮像して得られる第1画像54に含まれる被写体の画像と、第2カメラ14にて撮像して得られる第2画像94に含まれる被写体の画像との間には、被写体までの距離に起因するずれ96が存在する。例えば第1カメラ12と第2カメラ14とが水平方向に沿って併設されていれば、図5に示すように、水平方向にずれ96が生じ、第1カメラ12と第2カメラ14とが垂直方向に沿って併設されていれば、図6に示すように、垂直方向にずれ96が生じる。4つのカメラをマトリクス状に配設した場合は、図7に示すように、水平方向のずれ96と垂直方向のずれ96が生じることになる。簡単のために、ここでは、図5に示すように、一般的な使用形態である2つのカメラ(第1カメラ12及び第2カメラ14)を水平方向に併設した場合を主体に説明する。
First, as shown in FIG. 5, the image of the subject included in the
上述のように、第1画像54と第2画像94との間に水平方向にずれ96が存在する場合、第1画像54のうち、重複部分98に対応する被写体の画像と、第2画像94のうち、重複部分98に対応する被写体の画像は、ほぼ一致したものとなる。この特性を利用して、第2動き補償予測器88での第2画像94に対するマクロブロック単位の動きベクトルの探索範囲を、記憶部90に記憶されたずれ情報に基づいて変更すれば、第1画像54に対する動き補償予測と同じ処理になる。
As described above, when there is a
通常、第2画像94の左端からマクロブロック単位の動きベクトルの探索が行われるが、本実施の形態では、図5に示すように、第2画像94の左端からずれ96分だけシフトした位置からマクロブロック単位の動きベクトルの探索を行う。しかも、第1画像54に対する動き補償予測が既に終了していれば、そのデータを利用することで、第2画像94に対する符号化に係る処理時間、符号化データの量も大幅に削減することができる。
Normally, a search for a motion vector in units of macroblocks is performed from the left end of the
従って、上述した探索範囲変更回路92から、記憶部90に記憶されたずれ情報に基づいて、第1画像54からマクロブロック単位に読み出すための順序を示す情報(第1読出順序情報)と、第2画像94からマクロブロック単位に読み出すための順序を示す情報(第2読出順序情報)とが出力されるようにすれば、第1読出順序情報に基づいて読み出された第1画像54のマクロブロックと、第2読出順序情報に基づいて読み出された第2画像94のマクロブロックとを比較することが可能となり、上述したように、複数のカメラの設置位置に拘わらず、第1画像54と第2画像94とがほぼ一致する部分を容易に検出することができる。
Therefore, based on the shift information stored in the
そこで、図4に示すように、第2動き補償回路62には、上述した各種回路に加えて、第1抽出回路100と、第2抽出回路102と、比較回路104と、コード情報作成回路106と、コード情報転送回路108と、圧縮処理テーブル作成回路110と、第3抽出回路112とが設けられている。
Therefore, as shown in FIG. 4, in addition to the various circuits described above, the second
第1抽出回路100は、探索範囲変更回路92からの第1読出順序情報に基づいて、第1バッファメモリ22の第1画像54からマクロブロック単位にデータを読み出す。
The
第2抽出回路102は、探索範囲変更回路92からの第2読出順序情報に基づいて、第3バッファメモリ58の第2画像94からマクロブロック単位にデータを読み出す。
The
比較回路104は、第1抽出回路100によって読み出された第1画像54のマクロブロックと、第2抽出回路102によって読み出された第2画像94のマクロブロックとを比較する。1つの例で示すと、例えば第1画像54の左端を基準とした1行1列に関するマクロブロックと、第2画像94のずれ96分だけシフトした位置を基準とした1行1列に関するマクロブロックとが比較される。同様に、第1画像54の左端を基準とした1行2列についてのマクロブロックと、第2画像94のずれ96分だけシフトした位置を基準とした1行2列に関するマクロブロックとが比較される。
The
コード情報作成回路106は、図8に示すコード情報114を作成する。このコード情報114は、先頭にコード情報114の開始を示すデータコード(開始コード116)と、終端にコード情報114の最終を示すデータコード(終端コード118)が配置され、開始コード116と終端コード118との間に複数のアドレスコード120が配置されたフォーマット構成となっている。
The code
そして、図4に示すように、コード情報作成回路106は、探索範囲変更回路92からの探索開始信号に基づいて開始コード116を生成してコード情報114の先頭に配置する。その後、第1抽出回路100によって読み出された第1画像54のマクロブロックと、第2抽出回路102によって読み出された第2画像94のマクロブロックとが比較回路104で比較されて、該比較回路104からの比較結果が一致又はほぼ一致することを示す場合に、比較対象の第1画像54のマクロブロックのアドレスと第2画像94のマクロブロックのアドレスとを含むアドレスコード120(図8参照)を生成して開始コード116の次に配置する。
Then, as shown in FIG. 4, the code
同様に、第1抽出回路100によって順次読み出される第1画像54のマクロブロックと、第2抽出回路102によって順次読み出される第2画像94のマクロブロックとがそれぞれ比較回路104にて比較され、比較結果が一致又はほぼ一致することを示す場合に、それぞれ比較対象の第1画像54のマクロブロックのアドレスと第2画像94のマクロブロックのアドレスとを含むアドレスコード120が生成されて順次配置される。
Similarly, the macro block of the
そして、コード情報作成回路106は、探索範囲変更回路92からの探索終了信号に基づいて終端コード118を生成してコード情報114の終端に配置する。これらの一連の処理によってコード情報114が作成される。
Then, the code
コード情報114が作成されると、コード情報作成回路から転送指示信号が出力されてコード情報転送回路108に供給される。
When the
コード情報転送回路108は、コード情報作成回路106からの転送指示信号が供給された時点で、コード情報114を第2可変長符号化器70に転送する。これによって、コード情報114は可変長符号化され、その後、第4バッファメモリ64に格納される。
The code
一方、圧縮処理テーブル作成回路110は、作成されたコード情報114に登録された第2画像94のマクロブロックのアドレスに基づいて、該コード情報114に登録されていない第2画像94のマクロブロックのアドレスが配列された圧縮処理テーブル122を作成する。つまり、この圧縮処理テーブル122に配列されたアドレスは、第2画像94のうち、重複部分98(例えば図5参照)から外れたマクロブロックのアドレス又は第1画像と一致(又はほぼ一致)しなかったマクロブロックのアドレスを示すものであり、通常の動き補償予測が必要なマクロブロックのアドレスを示す。
On the other hand, based on the address of the macroblock of the
第3抽出回路112は、第3バッファメモリ58に格納された第2画像94のうち、圧縮処理テーブル122に格納されたアドレスに対応したマクロブロックを読み出して第2符号化回路60に供給する。
The
従って、例えばn−1フレーム及びnフレームの各第2画像94を考えたとき、先ず、n−1フレームの第2画像94のうち、圧縮処理テーブル122に格納されたアドレスに対応したマクロブロック群(以下、部分画像と記す)が符号化されて第4バッファメモリ64に書き込まれると共に、復元されたn−1フレームの部分画像が第2画像メモリ84に書き込まれ、さらに、第3バッファメモリ58にnフレームの第2画像94が蓄積される。
Therefore, for example, when considering each
そして、第2動き補償予測器88において、今回のnフレームの第2画像94のうち、圧縮処理テーブル122に格納されたアドレスに対応したマクロブロック群(nフレームの部分画像)と、第2画像メモリ84に蓄積されたn−1フレームの部分画像との間でマクロブロック毎のパターンマッチング処理が行われ、この結果得られた動きベクトルだけシフトされたn−1フレームの部分画像が参照画像として第2減算器76及び第2加算器82にそれぞれ供給される。
Then, in the second motion compensation predictor 88, among the
第2減算器76からは、nフレームの部分画像と動き補償予測されたn−1フレームの部分画像(参照画像)との差分データが出力される。差分データは、第2DCT器66、第2量子化器68、第2可変長符号化器70を経ることによって圧縮符号化される。このとき、第2動き補償予測器88により得られた動きベクトルも第2可変長符号化器70に送られて可変長符号化される。圧縮符号化されたデータは第4バッファメモリ64に蓄積される。上述の例は、順方向予測を主体に説明したが、MPEGにて規定されているように、双方向予測も行われる。
The
第4バッファメモリ64に蓄積された圧縮符号化されたデータ(コード情報114を含む)は、所定の転送レートで読み出されて外部に出力され、例えば外部の記録媒体16に記録されることになる。
The compression-encoded data (including code information 114) stored in the
このように、第2動き補償回路62の第2動き補償予測器88は、第2画像94の全てについて動きベクトルを探索するのではなく、第2画像94のうち、圧縮処理テーブル122に配列されたアドレスに対応するマクロブロックについての動きベクトルを探索する。そのため、第2画像94に対する圧縮符号化に係る処理時間を大幅に短縮させることができる。しかも、コード情報114をテキストデータにて構成することができるため、符号化データの量も大幅に削減することができる。
As described above, the second motion compensation predictor 88 of the second
次に、第1符号化装置10Aの基本的な処理動作について図9を参照しながら説明する。
Next, a basic processing operation of the
図9に示すように、先ず、ステップS1において、第2符号化処理系20の探索範囲変更回路92は、記憶部90からずれ情報を読み出す。
As shown in FIG. 9, first, in step S <b> 1, the search
その後、ステップS2において、探索範囲変更回路92は、読み出したずれ情報に基づいて、第2画像94の動きベクトルの探索範囲を設定する。
Thereafter, in step S2, the search
そして、ステップS3において、第1符号化処理系18は、第1画像54の圧縮符号化を行い、圧縮符号化された第1画像54を第2バッファメモリ28を介して記録媒体16に保存する。
In step S <b> 3, the first
一方、ステップS4において、コード情報作成回路106は、コード情報114を作成する。すなわち、変更された探索範囲のうち、第1画像54と一致又はほぼ一致する部分を抽出し、抽出した部分のアドレス情報等に基づいてコード情報114を作成する。
On the other hand, in step S4, the code
その後、ステップS5において、第2符号化処理系20は、作成されたコード情報114を符号化し、符号化されたコード情報114を第4バッファメモリ64を介して記録媒体16に保存する。
Thereafter, in step S <b> 5, the second
その後、ステップS6において、第2符号化処理系20は、第2画像94のうち、残りの部分画像の圧縮符号化を行い、圧縮符号化された部分画像を第4バッファメモリ64を介して記録媒体16に保存する。
Thereafter, in step S <b> 6, the second
そして、撮影が終了するまで、ステップS1〜6の処理を繰り返す(ステップS7)。 Then, the processes in steps S1 to 6 are repeated until the photographing is completed (step S7).
図9の例では、第1符号化処理系18での圧縮符号化処理をステップS3に示し、第2符号化処理系20での圧縮符号化処理をステップS4〜ステップS6に示したが、第1符号化処理系18での圧縮符号化処理と第2符号化処理系20での圧縮符号化処理はマルチタスク方式にて行われるようになっている。
In the example of FIG. 9, the compression coding process in the first
次に、図9に示す基本的動作の具体的な処理動作の一例について図10〜図12を参照しながら説明する。 Next, an example of a specific processing operation of the basic operation shown in FIG. 9 will be described with reference to FIGS.
先ず、第1符号化処理系18の処理動作について図10を参照しながら説明する。
First, the processing operation of the first
図10のステップS101において、第1符号化処理系18は、フレームの計数を行うカウンタmに初期値「1」を格納する。
In step S101 in FIG. 10, the first
その後、ステップS102において、第1符号化処理系18は、mフレーム目の第1画像54を第1バッファメモリ22に格納する。
Thereafter, in step S <b> 102, the first
次いで、ステップS103において、第1符号化処理系18の第1符号化回路24は、mフレーム目の第1画像54をフレーム内予測符号化して第2バッファメモリ28に格納する。このとき、第1動き補償回路26は、mフレームの符号化された第1画像54を復号化してmフレーム目の第1画像54として第1画像メモリ48に記録する。
Next, in step S <b> 103, the
その後、ステップS104において、第1符号化処理系18は、m+1フレーム目の第1画像54を第1バッファメモリ22に格納する。
Thereafter, in step S104, the first
その後、ステップS105において、第1動き補償回路26は、mフレーム目の第1画像54の動き補償予測を行う。これによって、順方向予測による差分データ及び双方向予測による差分データが第1符号化回路24によって圧縮符号化されて第2バッファメモリ28に格納される。
Thereafter, in step S105, the first
その後、ステップS106において、mフレーム目の第1画像54の圧縮符号化データ(動き補償予測データを含む)は、第2バッファメモリ28から所定の転送レートで読み出されて、例えば外部の記録媒体16に記録される。
Thereafter, in step S106, the compression encoded data (including motion compensation prediction data) of the
その後、ステップS107において、第1符号化処理系18は、カウンタmの値を+1更新する。
Thereafter, in step S107, the first
次いで、ステップS108において、第1符号化処理系18は、撮影終了であるかどうかを判別する。この判別は、例えば撮影の終了を示す割り込み信号等の入力があったかどうかで行われる。
Next, in step S108, the first
終了要求がなければ、前記ステップS103に戻り、該ステップS103以降の処理を繰り返す。 If there is no end request, the process returns to step S103, and the processes after step S103 are repeated.
そして、前記ステップS108において、終了要求であると判別された場合、この第1符号化処理系18での処理が終了する。
If it is determined in step S108 that the request is an end request, the processing in the first
次に、第2符号化処理系20の処理動作について図11及び図12を参照しながら説明する。
Next, the processing operation of the second
図11のステップS201において、第2符号化処理系20は、フレームの計数を行うカウンタnに初期値「1」を格納する。
In step S201 of FIG. 11, the second
その後、ステップS202において、第2符号化処理系20は、nフレーム目の第2画像94を第3バッファメモリ58に格納する。
Thereafter, in step S202, the second
その後、ステップS203において、探索範囲変更回路92は、記憶部90からずれ情報を読み出す。
Thereafter, in step S <b> 203, the search
その後、ステップS204において、探索範囲変更回路92は、読み出したずれ情報に基づいて、第2画像94の動きベクトルの探索範囲を設定する。具体的には、第1画像54からのマクロブロック単位の第1読出順序と、第2画像94からのマクロブロック単位の第2読出順序を設定する。
Thereafter, in step S204, the search
その後、ステップS205において、コード情報作成回路106は、コード情報114の開始コード116を生成してワークメモリに格納する。
Thereafter, in step S205, the code
その後、ステップS206において、nフレーム目の第1画像54から第1読出順序に基づいてマクロブロックを読み出す。
Thereafter, in step S206, the macroblock is read from the
次いで、ステップS207において、nフレーム目の第2画像94から第2読出順序に基づいてマクロブロックを読み出す。
Next, in step S207, the macroblock is read from the
そして、ステップS208において、ステップS206で読み出されたマクロブロックと、ステップS207で読み出されたマクロブロックとを比較し、比較結果が一致又はほぼ一致していた場合に、ステップS209において、これらマクロブロックに関するアドレスが記録されたアドレスコード120を生成してワークメモリに格納する。
In step S208, the macro block read in step S206 is compared with the macro block read in step S207. If the comparison results match or substantially match, these macro blocks are checked in step S209. An
次のステップS210において、コード情報作成回路106は、コード情報114の生成処理を終了するか否かを判別する。この判別は、第1読出順序及び第2読出順序の終了に基づいて探索範囲変更回路92から出力される探索終了信号の入力があったかどうかで行われる。
In the next step S210 , the code
コード情報114の生成処理が終了でないと判別された場合は、前記ステップS206以降の処理を繰り返して、アドレスコード120の生成、格納を行う。
If it is determined that the generation process of the
そして、コード情報114の生成処理が終了した場合は、次のステップS211に進み、終端コード118をワークメモリに格納する。この段階で、nフレーム目のコード情報114の作成が完了することとなる。
When the generation process of the
その後、図12のステップS212において、コード情報転送回路108は、ワークメモリに記録されたnフレーム目のコード情報114を第2可変長符号化器70に転送する。これによって、コード情報114は可変長符号化され、その後、第4バッファメモリ64に格納される。
Thereafter, in step S <b> 212 of FIG. 12, the code
その後、ステップS213において、nフレーム目のコード情報114の圧縮符号化データは、第4バッファメモリ64から所定の転送レートで読み出されて、例えば外部の記録媒体16に記録される。
Thereafter, in step S213, the compression encoded data of the
その後、図12のステップS214において、圧縮処理テーブル作成回路110は、作成されたコード情報114に登録された第2画像94のマクロブロックのアドレスに基づいて、該コード情報114に登録されていない第2画像94のマクロブロックのアドレスが配列された圧縮処理テーブル122を作成する。
After that, in step S214 of FIG. 12, the compression processing
その後、ステップS215において、第3抽出回路112は、第3バッファメモリ58に格納されたnフレーム目の第2画像94のうち、圧縮処理テーブル122に格納されたアドレスに対応したマクロブロック(nフレーム目の部分画像)を読み出して第2符号化回路60に供給する。第2符号化回路60は、nフレーム目の部分画像をフレーム内予測符号化して第4バッファメモリ64に格納する。このとき、第2動き補償回路62は、nフレーム目の符号化された部分画像を復号化してnフレーム目の部分画像として第2画像メモリ84に記録する。
Thereafter, in step S215, the
その後、ステップS216において、第2符号化処理系20は、n+1フレーム目の第2画像94を第3バッファメモリ58に格納する。
Thereafter, in step S216, the second
その後、ステップS217において、第2動き補償回路62は、nフレーム目の部分画像の動き補償予測を行う。これによって、順方向予測による差分データ及び双方向予測による差分データが第2符号化回路60によって圧縮符号化されて第4バッファメモリ64に格納される。
Thereafter, in step S217, the second
そして、ステップS218において、nフレーム目の部分画像の圧縮符号化データ(動き補償予測データを含む)は、第4バッファメモリ64から所定の転送レートで読み出されて、例えば外部の記録媒体16に記録される。
In step S218, the compression encoded data (including motion compensated prediction data) of the nth partial image is read from the
その後、ステップS219において、第2符号化処理系20は、カウンタnの値を+1更新する。
Thereafter, in step S219, the second
次いで、ステップS220において、第2符号化処理系20は、撮影終了であるかどうかを判別する。この判別は、例えば撮影の終了を示す割り込み信号等の入力があったかどうかで行われる。
Next, in step S220, the second
終了要求がなければ、図11の前記ステップS205に戻り、該ステップS205以降の処理を繰り返す。 If there is no end request, the process returns to step S205 in FIG. 11 to repeat the processes after step S205.
そして、前記ステップS220において、終了要求であると判別された場合、この第2符号化処理系20での処理が終了する。
If it is determined in step S220 that the request is an end request, the processing in the second
図10に示す第1符号化処理系18の処理と、図11及び図12に示す第2符号化処理系20の処理は、マルチタスク方式にて行われるようになっており、カウンタmの値及びカウンタnの値もほぼ同期して更新されるようになっている。
The processing of the first
次に、本実施の形態に係る復号化装置124について図13を参照しながら説明する。
Next,
この復号化装置124は、図13に示すように、例えば記録媒体16から読み出された第1カメラ12についての動画の符号化データを復号化処理する第1復号化処理系126と、例えば記録媒体16から読み出された第2カメラ14についての動画の符号化データを復号化処理する第2復号化処理系128とを有する。
As shown in FIG. 13, the
第1復号化処理系126は、記録媒体16から供給された第1カメラ12についての動画の符号化データをフレーム単位に保持する第5バッファメモリ130と、第5バッファメモリ130に保持されたデータ(第1画像54の符号化データ)を復号化処理する第1復号化回路132と、第1画像54の符号化データ(特に、順方向予測の差分データや双方向予測の差分データ)の動き補償予測を行う第3動き補償回路134と、伸長復号化された第1画像54を一時的に保持する第6バッファメモリ136とを有する。
The first
第1復号化回路132は、図14に示すように、第5バッファメモリ130からの第1画像54の符号化データを可変長復号化する第1可変長復号化器138と、可変長復号化されたデータを逆量子化処理する逆量子化器140と、逆量子化処理されたデータに対して逆離散コサイン変換を行う逆DCT器142とを有する。さらに、第1復号化回路132は、逆離散コサイン変換されたデータが順方向予測の差分データや双方向予測の差分データである場合に、第3動き補償回路134からの出力データとの加算データを得る第3加算器144を有する。また、第1可変長復号化器138は、可変長復号化されたデータに動きベクトルが含まれていれば、この動きベクトルを第3動き補償回路134に送信する。
As shown in FIG. 14, the
第3動き補償回路134は、第3画像メモリ146と、第3動き補償予測器148とを有する。第3画像メモリ146には、逆離散コサイン変換された第1画像54(復元された例えばnフレームの第1画像54)が格納される。特に、順方向予測の差分データや双方向予測の差分データを復元する際には、第3画像メモリ146に格納された第1画像54の一部が動きベクトルに基づいてシフトされて第3加算器144に供給され、これにより、n+1フレーム目の第1画像54が復元されることになる。
The third
第1復号化回路132における各種回路での処理が順次行われることによって、第1カメラ12についての符号化データが復元されて第6バッファメモリ136に一時的に保持され、該第6バッファメモリ136から所定の転送レートで読み出されることによって第1カメラ12にて撮影された動画として再生出力されることになる。
By sequentially performing processing in various circuits in the
一方、第2復号化処理系128は、図13に示すように、記録媒体16から供給された第2カメラ14についての動画の符号化データ(第2画像94のコード情報114と部分画像の符号化データ)をフレーム単位に保持する第7バッファメモリ150と、該第7バッファメモリ150に保持されたデータ(1つのフレームのコード情報114と部分画像の符号化データ)を復号化処理する第2復号化回路152と、部分画像の符号化データ(特に、順方向予測の差分データや双方向予測の差分データ)の動き補償予測を行う第4動き補償回路154と、コード情報処理回路156と、第2復号化回路152からの復元データとコード情報処理回路156からの復元データとを合成して第2画像94に復元する合成回路158と、復元された第2画像94を一時的に保持する第8バッファメモリ160とを有する。
On the other hand, as shown in FIG. 13, the second
第2復号化回路152は、図15に示すように、第7バッファメモリ150からのコード情報114と部分画像の符号化データを可変長復号化する第2可変長復号化器162と、可変長復号化されたデータのうち、部分画像の可変長復号化データを逆量子化処理する第2逆量子化器164と、逆量子化処理されたデータに対して逆離散コサイン変換を行う第2逆DCT器166とを有する。さらに、第2復号化回路152は、逆離散コサイン変換されたデータが順方向予測の差分データや双方向予測の差分データである場合に、第4動き補償回路154からの出力データとの加算データを得る第4加算器168を有する。
As shown in FIG. 15, the
特に、第2可変長復号化器162は、可変長復号化されたデータに動きベクトルが含まれていれば、この動きベクトルを第4動き補償回路154に送信する。また、可変長復号化されたデータにコード情報114が含まれていれば、このコード情報114をコード情報処理回路156に送信する。
In particular, the second
第4動き補償回路154は、第4画像メモリ170と、第4動き補償予測器172とを有する。第4画像メモリ170には、逆離散コサイン変換された部分画像(復元された例えばnフレームの部分画像)が格納される。特に、順方向予測の差分データや双方向予測の差分データを復元する際には、第4画像メモリ170に格納された部分画像の一部が動きベクトルに基づいてシフトされて第4加算器168に供給され、これにより、n+1フレーム目の部分画像が復元されることになる。
The fourth
そして、第2復号化回路152からの部分画像の復元データと、コード情報処理回路156からの復元データとが合成回路158にて合成されて第2画像94の復元データとして出力されることになる。第2復号化回路152及びコード情報処理回路156での処理が順次行われることによって、第2カメラ14についての符号化データが復元されて第8バッファメモリ160に一時的に保持され、該第8バッファメモリ160から所定の転送レートで読み出されることによって第2カメラ14にて撮影された動画として再生出力されることになる。
Then, the partial image restoration data from the
コード情報処理回路156は、第2可変長復号化器162から送信されたコード情報114を一時保持する第9バッファメモリ174と、コード情報114からアドレスコードを順番に読み出すコード読出回路176と、第1復号化処理系126の第6バッファメモリ136に格納された第1画像54のうち、読み出されたアドレスコードに登録されている第1画像54のマクロブロックアドレスに対応するマクロブロックを読み出すマクロブロック読出回路178と、読み出されたマクロブロックを、第10バッファメモリ180(第2画像94が記録される容量を有する)のうち、アドレスコードに登録されている第2画像94のマクロブロックアドレスに対応するアドレスに書き込むマクロブロック書込回路182と、コード読出回路176からの読出終了信号に基づいて、第10バッファメモリ180に格納されているデータを合成回路158に転送するデータ転送回路184とを有する。
The code
合成回路158は、第2復号化回路152からの部分画像の復元データと、コード情報処理回路156から転送されるデータを合成して第2画像94に復元する。
The combining
このように、第4動き補償回路154の第4動き補償予測器172は、第2画像94の全てについてそれぞれ対応する動きベクトルを反映させて復元するのではなく、第2画像94のうち、圧縮処理テーブル122に配列されたアドレスに対応するマクロブロック群(部分画像)だけを復元する。そのため、第2画像94を復元するための伸長復号化に係る処理時間を大幅に短縮させることができると共に、復号化するためのデータの量も大幅に削減することができる。
As described above, the fourth
次に、復号化装置124の基本的な処理動作について図16を参照しながら説明する。
Next, a basic processing operation of the
図16に示すように、先ず、ステップS301において、第1復号化処理系126は、第1画像54の伸長復号化を行い、伸長復号化された第1画像54を再生出力する。
As shown in FIG. 16, first, in step S301, the first
その後、ステップS302において、第2復号化処理系128は、第2画像94の符号化データに含まれているコード情報114を読み出してコード情報処理回路156に送信する。
Thereafter, in step S302, the second
その後、ステップS303において、コード情報処理回路156は、コード情報114に含まれるアドレスコードに基づいて、第1復号化回路132にて復元された第1画像54を利用して第2画像94の一部を復元する。
Thereafter, in step S303, the code
その後、ステップS304において、第2復号化回路152及び第4動き補償回路154は、第2画像94の部分画像の伸長復号化を行う。
Thereafter, in step S304, the
その後、ステップS305において、合成回路158は、コード情報114に基づいて復元された第2画像94の一部と、第2復号化回路152及び第4動き補償回路154によって復元された部分画像とを合成することにより、第2画像94に復元し、該第2画像94を再生出力する。
After that, in step S305, the
そして、画像データが終了するまで、ステップS301〜S305の処理を繰り返す(ステップS306)。 Then, the processes in steps S301 to S305 are repeated until the image data is completed (step S306).
次に、第2の実施の形態に係る符号化装置(以下、第2符号化装置10Bと記す)について図17及び図18を参照しながら説明する。
Next, an encoding apparatus according to the second embodiment (hereinafter referred to as
この第2符号化装置10Bは、図17に示すように、上述した第1符号化装置10Aとほぼ同様の構成を有するが、第1カメラ12と第2カメラ14との輻輳角や第1カメラ12の光軸と第2カメラ14の光軸の間隔を検出する光学系情報検出回路186と、該光学系情報検出回路186にて検出された間隔や輻輳角の少なくとも一方に基づいて、ずれ情報を設定して記憶部90に記憶する第1ずれ情報設定回路188を有する点で異なる。
As shown in FIG. 17, the
光学系情報検出回路186は、第1カメラ12と第2カメラ14との輻輳角や第1カメラ12の光軸と第2カメラ14の光軸の間隔を検出する各種センサにて構成してもよいし、第1カメラ12及び第2カメラ14の駆動機構への駆動制御信号の属性(電流値や電圧値等)に基づいて演算にて求める演算回路にて構成するようにしてもよい。
The optical system
第1ずれ情報設定回路188は、第1カメラ12の光軸と第2カメラ14の光軸との間隔が大きいほど、ずれ量を大きく設定し、第1カメラ12と第2カメラ14との輻輳角が小さいほど、ずれ量を大きく設定する。
The first deviation
また、第1ずれ情報設定回路188において、第1カメラ12の光軸と第2カメラ14の光軸との間隔と、第1カメラ12と第2カメラ14との輻輳角の両方でずれ量を設定する場合は、これら間隔及び輻輳角とずれ量との対応関係を予め求め、情報テーブルとして、メモリ(ROMやフラッシュメモリ等)に保持しておき、今回検出された間隔と輻輳角に対応するずれ量を情報テーブルから読み出して設定するようにしてもよい。
Further, in the first deviation
ここで、第2符号化装置10Bの基本的な処理動作について図18を参照しながら説明する。
Here, a basic processing operation of the
図18に示すように、先ず、ステップS401において、光学系情報検出回路186は、第1カメラ12の光軸と第2カメラ14の光軸の間隔や、第1カメラ12と第2カメラ14との輻輳角を検出する。
As shown in FIG. 18, first, in step S401, the optical system
その後、ステップS402において、第1ずれ情報設定回路188は、光学系情報検出回路186にて検出された間隔や輻輳角の少なくとも一方に基づいて、ずれ情報を設定して記憶部90に記憶する。
Thereafter, in step S <b> 402, the first deviation
その後、ステップS403において、第2符号化処理系20の探索範囲変更回路92は、記憶部90からずれ情報を読み出す。
Thereafter, in step S <b> 403, the search
その後、ステップS404において、探索範囲変更回路92は、読み出したずれ情報に基づいて、第2画像94の動きベクトルの探索範囲を設定する。
Thereafter, in step S404, the search
一方、ステップS405において、第1符号化処理系18は、第1画像54の圧縮符号化を行い、圧縮符号化された第1画像54を第2バッファメモリ28を介して記録媒体16に保存する。
On the other hand, in step S <b> 405, the first
他方、ステップS406において、コード情報作成回路106は、コード情報114を作成する。すなわち、変更された探索範囲のうち、第1画像54と一致又はほぼ一致する部分を抽出し、抽出した部分のアドレス情報等に基づいてコード情報114を作成する。
On the other hand, in step S406, the code
その後、ステップS407において、第2符号化処理系20は、作成されたコード情報114を符号化し、符号化されたコード情報114を第4バッファメモリ64を介して記録媒体16に保存する。
Thereafter, in step S407, the second
その後、ステップS408において、第2符号化処理系20は、第2画像94のうち、残りの部分画像の圧縮符号化を行い、圧縮符号化された部分画像を第4バッファメモリ64を介して記録媒体16に保存する。
Thereafter, in step S408, the second
そして、撮影が終了するまで、ステップS405〜ステップS408の処理を繰り返す(ステップS409)。 Then, the processing from step S405 to step S408 is repeated until shooting is completed (step S409).
この第2符号化装置10Bにおいては、第1カメラ12の光軸と第2カメラ14の光軸との間隔や輻輳角に基づいてずれ情報を設定するようにしたので、ハードウェアを主体に構成することができ、コンピュータプログラムの複雑化を回避することができる。
In the
図18の例では、撮影開始の段階で、光学系情報の検出結果に基づく探索範囲の設定を行い(ステップS401〜S404)、その後、撮影終了まで第1符号化処理系18での圧縮符号化処理(ステップS405)と第2符号化処理系20での圧縮符号化処理(ステップS406〜S408)を行うようにしたが、前記探索範囲の設定と、第1符号化処理系18での圧縮符号化処理と、第2符号化処理系20での圧縮符号化処理とをマルチタスク方式にて行うようにしてもよい。この場合、被写体の変化に応じてずれ情報を設定することができ、その分、第2符号化処理系での符号化にかかる時間を短縮させることができると共に、復号化装置での復号化にかかる時間も短縮させることができる。
In the example of FIG. 18, the search range is set based on the detection result of the optical system information at the start of shooting (steps S401 to S404), and then the compression coding in the first
次に、第3の実施の形態に係る符号化装置(以下、第3符号化装置10Cと記す)について図19及び図20を参照しながら説明する。 Next, an encoding apparatus according to a third embodiment (hereinafter referred to as a third encoding apparatus 10C) will be described with reference to FIGS.
この第3符号化装置10Cは、図19に示すように、上述した第1符号化装置10Aとほぼ同様の構成を有するが、被写体までの距離(奥行き)を測定する測距回路190と、測距回路190からの距離データに基づいてずれ情報を設定して記憶部90に記憶する第2ずれ情報設定回路192を有する点で異なる。
As shown in FIG. 19, the third encoding device 10C has substantially the same configuration as the
測距回路190は、赤外線等の光を被写体に照射し、反射して戻ってくるまでの時間を計測する等の方法により、被写体までの距離(奥行き)を測定する回路である。
The
第2ずれ情報設定回路192は、奥行きが大きいほど第1画像54と第2画像94のずれ量が小さくなるように設定する。また、第2ずれ情報設定回路192は、奥行きと、第1カメラ12と第2カメラ14の配置や間隔(光軸間の間隔)とに基づいてずれ量を設定するようにしてもよい。この場合、予め情報テーブルを作成して、該情報テーブルに基づいてずれ量を設定してもよいし、ずれ量を演算によって求めるようにしてもよい。
The second shift
測距回路190による被写体までの距離の検出は、撮影開始と共に1回だけ行うようにしてもよいし、1フレーム期間ごとに行うようにしてもよい。あるいは数フレーム期間ごとに行うようにしてもよい。この場合、第2ずれ情報設定回路192は、測距回路190での距離の検出タイミングに合わせて、撮影開始と共に1回だけずれ情報を設定してもよいし、1フレーム期間ごとに、あるいは数フレーム期間ごとにずれ情報を設定し直してもよい。また、測距回路190からの距離データは、マクロブロックごとの距離データ(マクロブロック単位の距離画像)でもよいし、画素ごとの距離データ(画素単位の距離画像)でもよい。この場合、距離画像の中央部分における距離データの平均値や最も近い距離データに基づいてずれ量を設定するようにしてもよい。
Detection of the distance to the subject by the
ここで、第3符号化装置10Cの基本的な処理動作について図20を参照しながら説明する。 Here, a basic processing operation of the third encoding device 10C will be described with reference to FIG.
図20に示すように、先ず、ステップS501において、測距回路190は、1フレーム単位あるいは数フレーム単位に、被写体までの距離(奥行き)を測定する。
As shown in FIG. 20, first, in step S501, the
その後、ステップS502において、第2ずれ情報設定回路192は、測距回路190からの距離データに基づいてずれ情報を設定して記憶部90に記憶する。
Thereafter, in step S <b> 502, the second deviation
その後、ステップS503において、第2符号化処理系20の探索範囲変更回路92は、記憶部90からずれ情報を読み出す。
Thereafter, in step S503, the search
その後、ステップS504において、探索範囲変更回路92は、読み出したずれ情報に基づいて、第2画像94の動きベクトルの探索範囲を設定する。
Thereafter, in step S504, the search
そして、ステップS505において、第1符号化処理系18は、第1画像54の圧縮符号化を行い、圧縮符号化された第1画像54を第2バッファメモリ28を介して記録媒体16に保存する。
In step S505, the first
一方、ステップS506において、コード情報作成回路106は、コード情報114を作成する。すなわち、変更された探索範囲のうち、第1画像54と一致又はほぼ一致する部分を抽出し、抽出した部分のアドレス情報等に基づいてコード情報114を作成する。
On the other hand, in step S506, the code
その後、ステップS507において、第2符号化処理系20は、作成されたコード情報114を符号化し、符号化されたコード情報114を第4バッファメモリ64を介して記録媒体16に保存する。
Thereafter, in step S507, the second
その後、ステップS508において、第2符号化処理系20は、第2画像94のうち、残りの部分画像の圧縮符号化を行い、圧縮符号化された部分画像を第4バッファメモリ64を介して記録媒体16に保存する。
Thereafter, in step S508, the second
そして、撮影が終了するまで、ステップS501〜ステップS508の処理を繰り返す。 Then, the processing from step S501 to step S508 is repeated until shooting is completed.
この第3符号化装置10Cにおいては、測距回路190からの距離データに基づいて1フレームごと、あるいは数フレームごとにずれ量を設定するようにしたので、被写体の変化に応じてずれ情報を設定することができ、第2符号化処理系での符号化にかかる時間を短縮させることができると共に、復号化装置での復号化にかかる時間も短縮させることができる。
In the third encoding apparatus 10C, the shift amount is set for each frame or every several frames based on the distance data from the
図20の例では、被写体までの距離に基づく探索範囲の設定をステップS501〜S504に示し、第1符号化処理系18での圧縮符号化処理をステップS505に示し、第2符号化処理系20での圧縮符号化処理をステップS506〜ステップS508に示したが、被写体までの距離に基づく探索範囲の設定と、第1符号化処理系18での圧縮符号化処理と、第2符号化処理系20での圧縮符号化処理をマルチタスク方式にて行うようにしてもよい。
In the example of FIG. 20, the setting of the search range based on the distance to the subject is shown in steps S501 to S504, the compression encoding process in the first
次に、上述した第2符号化装置10B又は第3符号化装置10Cの機能及び復号化装置124の機能を備えたデジタルカメラ200について図21を参照しながら説明する。
Next, the
本実施の形態に係るデジタルカメラ200は、図21に示すように、第1カメラ12と、第2カメラ14と、第1測光/測距用CPU202と、第2測光/測距用CPU204と、第1絞り制御回路206と、第2絞り制御回路208と、第1ストロボ/ライト装置210と、第2ストロボ/ライト装置212と、第1充電/発光制御回路214と、第2充電/発光制御回路216と、第1YC処理回路218と、第2YC処理回路220と、EEPROM222と、操作パネル224と、二次元/三次元モードフラグ226と、電源回路228とを有する。
As shown in FIG. 21, the
さらに、このデジタルカメラ200は、カメラ間隔/輻輳角処理回路230と、第1記憶回路232と、測距処理回路234と、第2記憶回路236と、画像記録処理回路238と、画像表示処理回路240と、第1圧縮伸長回路242と、第1ワークメモリ244と、第2圧縮伸長回路246と、第2ワークメモリ248とを有する。
Further, the
これら各種回路は、メインCPU250により、システムバス252や各種制御バスを通じて制御されるようになっている。
These various circuits are controlled by the
第1カメラ12は、レンズやフォーカス制御機構、絞り制御機構等を有する第1光学系254と、該第1光学系254を通して入射された被写体の画像を撮像する第1CCD撮像素子256と、該第1CCD撮像素子256に対して撮像のための複数のタイミングパルスを供給する第1タイミング発生器258と、第1CCD撮像素子256からの撮像信号をデジタル変換する第1A/D変換器260と、該第1A/D変換器260からのデジタルデータにホワイトバランスやγ補正をかける第1補正回路262と、該第1補正回路262にて補正された撮像データを例えば1フレーム単位に保持する第11バッファメモリ264とを有する。
The
第2カメラ14は、レンズやフォーカス制御機構、絞り制御機構等を有する第2光学系266と、該第2光学系266を通して入射された被写体の画像を撮像する第2CCD撮像素子268と、該第2CCD撮像素子268に対して撮像のための複数のタイミングパルスを供給する第2タイミング発生器270と、第2CCD撮像素子268からの撮像信号をデジタル変換する第2A/D変換器272と、該第2A/D変換器272からのデジタルデータにホワイトバランスやγ補正をかける第2補正回路274と、該第2補正回路274にて補正された撮像データを例えば1フレーム単位に保持する第12バッファメモリ276とを有する。
The
第1測光/測距用CPU202は、メインCPU250からの制御信号に基づいて第1絞り制御回路206、第1光学系254のフォーカシング、第1充電/発光制御回路214を制御し、第2測光/測距用CPU204は、メインCPU250からの制御信号に基づいて第2絞り制御回路208、第2光学系266のフォーカシング、第2充電/発光制御回路216を制御する。
The first photometry / ranging
第1絞り制御回路206は、第1測光/測距用CPU202からの制御信号に基づいて第1光学系254のレンズの絞りを制御し、第2絞り制御回路206は、第2測光/測距用CPU202からの制御信号に基づいて第2光学系266のレンズの絞りを制御する。
The first
第1充電/発光制御回路214は、第1測光/測距用CPU202からの制御信号に基づいて第1ストロボ/ライト装置210の充電、発光を制御し、第2充電/発光制御回路216は、第2測光/測距用CPU204からの制御信号に基づいて第2ストロボ/ライト装置212の充電、発光を制御する。
The first charging / light
第1YC処理回路218は、第11バッファメモリ264から撮像データを読み出し、YC画像データ(Y:輝度信号、C:色差信号)に変換して再度第11バッファメモリ264に格納するという処理を行い、第2YC処理回路220は、第12バッファメモリ276から撮像データを読み出し、該撮像データをYC画像データ(Y:輝度信号、C:色差信号)に変換して再度第12バッファメモリ276に格納するという処理を行う。
The first
EEPROM222は、起動時に動作するプログラムや各種プログラムの動作において必要なパラメータが記憶されている。
The
操作パネル224は、少なくとも動画用レリーズ278と、静止画用レリーズ280と、操作ガイダンス用LCD部(液晶表示部282)と、光学系を制御するための操作部284と、モードダイヤルや十字キー、電源スイッチ等の各種スイッチ286と、二次元/三次元切替スイッチ288とを有する。
The
二次元/三次元モードフラグ226は、二次元画像の撮影が可能か、三次元画像の撮影が可能かを示すフラグであって、二次元/三次元切替スイッチ288に基づいて設定される。
The two-dimensional / three-
カメラ間隔/輻輳角処理回路230は、第1カメラ検出回路290と、第2カメラ検出回路292と、カメラ制御回路294と、第1カメラ駆動回路296と、第2カメラ駆動回路298とを有する。
The camera interval / convergence
第1カメラ検出回路290は、第1カメラ12の設置位置及び第1カメラ12の設置角度を検出し、第2カメラ検出回路292は、第2カメラ14の設置位置及び第2カメラ14の設置角度を検出する。
The first
第1カメラ駆動回路296は、カメラ制御回路294からの制御信号に基づいて第1カメラ12を駆動し、第2カメラ駆動回路298は、カメラ制御回路294からの制御信号に基づいて第2カメラ14を駆動する。
The first
カメラ制御回路294は、第1カメラ検出回路290からの検出情報とメインCPU250からの位置情報(第1カメラ12の光軸と第2カメラ14の光軸との間隔と、第1カメラ12と第2カメラ14の輻輳角)とに基づいて第1カメラ駆動回路296を駆動制御することにより、第1カメラ12の設置位置と設置角度をフィードバック制御する。同様に、第2カメラ検出回路292からの検出情報とメインCPU250からの位置情報とに基づいて第2カメラ駆動回路298を駆動制御することにより、第2カメラ14の設置位置と設置角度をフィードバック制御する。メインCPU250からの位置情報は、第1記憶回路232に記憶される。
The
測距処理回路234は、第1測距用発光素子300と、第2測距用発光素子302と、第1測距用撮像素子304と、第2測距用撮像素子306と、これら各素子を制御するための測距用制御回路308と、第1測距用撮像素子304からの撮像信号をデジタル変換する第3A/D変換器310と、第2測距用撮像素子306からの撮像信号をデジタル変換する第4A/D変換器312と、第3A/D変換器310からの撮像データと第4A/D変換器312からの撮像データに基づいて被写体までの距離情報を演算する距離演算回路314とを有する。距離演算回路314にて得られた距離情報は第2記憶回路236に記憶される。
The ranging
第1測距用発光素子300及び第2測距用発光素子302からそれぞれ赤外線を出射し、被写体で反射した赤外線を第1測距用撮像素子304及び第2測距用撮像素子306にて受光するように構成する。そして、赤外線の出射時点から反射した赤外線の受光時点までの時間を計測することで、被写体の距離を求めることができる。
Infrared rays are emitted from the first distance measuring
画像記録処理回路238は、符号化データを一時保存するための第13バッファメモリ316と、第1コントローラ318と、インターフェース320と、メモリカード322とを有する。
The image
第1コントローラ318は、第1圧縮伸長回路242からの符号化データや第2圧縮伸長回路246からの符号化データを第13バッファメモリ316に所定の転送レートで書き込んだり、第13バッファメモリ316に保存されている符号化データを所定の転送レートで読み出してシステムバス252に転送したり、インターフェース320を介してメモリカード322に転送する。
The first controller 318 writes the encoded data from the first compression /
画像表示処理回路240は、復号化データを一時保存するための第14バッファメモリ324と、第2コントローラ326と、画像データ変換回路328と、表示用駆動回路330と、液晶表示装置332とを有する。
The image
第2コントローラ326は、第1圧縮伸長回路242や第2圧縮伸長回路246からの各復号化データを第14バッファメモリ324に所定の転送レートで書き込んだり、第14バッファメモリ324に保存されている復号化データを所定の転送レートで読み出して画像データ変換回路328に転送する。
The
画像データ変換回路328は、第14バッファメモリ324を介して転送された復号化データ(YC画像データ)をRGB画像データに変換する。RGB画像データは、表示用駆動回路330を介して液晶表示装置332に送られ、これにより、液晶表示装置332には、被写体の二次元画像又は三次元画像が表示されることになる。
The image data conversion circuit 328 converts the decoded data (YC image data) transferred via the
なお、二次元画像と三次元画像の切り替えは、上述した二次元/三次元切替スイッチ288を用いた例を示したが、液晶表示装置332あるいは操作ガイダンス用の液晶表示部282に表示されるメニュー画面への入力によって切り替えるようにしてもよい。
In addition, although the example using the 2D /
第1カメラ12の光軸と第2カメラ14の光軸の間隔や輻輳角の調整は、メニュー画面から選択し、操作パネル224の十字キーや専用キーの入力操作によってカメラ制御回路294を制御し、第1カメラ駆動回路296及び第2カメラ駆動回路298を駆動して調整を行うようにしてもよい。もちろん、手動で調整を行うようにしてもよい。
The adjustment of the distance between the optical axis of the
第1カメラ12の光軸と第2カメラ14の光軸の間隔や輻輳角は、専用のセンサで検出するようにしてもよいし、基準位置からの光センサを使ったパルス数や、ステッピングモータに送ったパルス数で検出するようにしてもよい。
The distance between the optical axis of the
第1測距用撮像素子304及び第2測距用撮像素子306は、フォトダイオードが二次元配列されたタイプのものでもよいし、ライン状に配列したタイプのもの、単一のフォトダイオードを具備したタイプのものでもよい。
The first ranging
上述の例では、距離検出のための回路を2系統設けるようにしたが、1系統でもよい。 In the above example, two systems for distance detection are provided, but one system may be used.
また、上述の例では、CPUの負荷を軽減するために、メインCPU250と、第1測光/測距用CPU202と、第2測光/測距用CPU204とを設けるようにしたが、メインCPU250だけで制御するようにしてもよい。
In the above example, the
動画、静止画の切り替え撮影は、動画用レリーズ278と静止画用レリーズ280を選択操作することで実現できるが、レリーズを1個で構成し、動画、静止画のモード選択を専用の切替スイッチや、メニュー画面への入力操作による切り替えでもよい。
Switching between moving images and still images can be realized by selecting and operating the
デジタルカメラ200は、被写体の三次元画像の撮影のほかに、被写体の二次元画像の撮影も行うことができる仕様となっている。また、動画、静止画、音声の記録再生も可能な構成となっている。
The
また、液晶表示装置332の代わりに、有機EL(エレクトロ・ルミネッセンス)等を用いてもよい。
Further, instead of the liquid
次に、本実施の形態に係るデジタルカメラ200の処理動作、特に、第2符号化装置10Bに基づく圧縮符号化処理を含めた第1処理動作について図22を参照しながら説明する。なお、第2符号化装置10Bに基づく圧縮符号化処理は、図17の構成要素も参照しながら説明する。
Next, the processing operation of the
先ず、図22のステップS601において、メインCPU250は、三次元モードであるか否かを判別する。この判別は、三次元/二次元モードフラグ226の内容に基づいて行われる。三次元モードであれば次のステップS602に進み、二次元モードであれば、二次元モードの処理へ制御を移す。
First, in step S601 in FIG. 22, the
ステップS602において、メインCPU250は、動画モードであるか否かを判別する。この判別は、動画用レリーズ278が操作されたかどうかで行われる。動画モードであれば次のステップS603に進み、静止画モードであれば、静止画モードの処理へ制御を移す。
In step S602, the
ステップS603において、メインCPU250は、光学系のための撮影条件を設定する。この設定は、例えばEEPROM222に登録されている撮影条件に関する各種パラメータに基づいて第1カメラ12及び第2カメラ14の絞りや輻輳角等を設定する。
In step S603, the
ステップS604において、メインCPU250は、撮影開始の操作入力を待つ。操作入力があった段階で、メインCPU250は、第2符号化装置10Bの圧縮符号化処理に準じた処理を行う。
In step S604, the
すなわち、ステップS605において、メインCPU250は、第1記憶回路232から第1カメラ12の光軸と第2カメラ14の光軸の間隔や、第1カメラ12と第2カメラ14との輻輳角を読み出す。
That is, in step S605, the
その後、ステップS606において、メインCPU250は、読み出した間隔や輻輳角の少なくとも一方に基づいて、ずれ情報を設定して第1ワークメモリ244に記録する。
Thereafter, in step S606, the
その後、ステップS607において、第2圧縮伸長回路246における第2符号化処理系20の探索範囲変更回路92は、第1ワークメモリ244からずれ情報を読み出す。
Thereafter, in step S <b> 607, the search
その後、ステップS608において、探索範囲変更回路92は、読み出したずれ情報に基づいて、第2画像94の動きベクトルの探索範囲を設定する。
Thereafter, in step S608, the search
一方、ステップS609において、第1圧縮伸長回路242における第1符号化処理系18は、第1画像54の圧縮符号化を行い、圧縮符号化された第1画像54を画像記録処理回路238に転送する。画像記録処理回路238は、第1圧縮伸長回路242から転送された第1画像54の圧縮符号化データを第13バッファメモリ316を介してメモリカード322に保存する。
On the other hand, in step S609, the first
他方、ステップS610において、第2圧縮伸長回路246におけるコード情報作成回路106は、コード情報114を作成する。すなわち、変更された探索範囲のうち、第1画像54と一致又はほぼ一致する部分を抽出し、抽出した部分のアドレス情報等に基づいてコード情報114を作成する。
On the other hand, in step S610, the code
その後、ステップS611において、第2圧縮伸長回路246における第2符号化処理系20は、作成されたコード情報114を符号化し、符号化されたコード情報114を画像記録処理回路238に転送する。画像記録処理回路238は、第2圧縮伸長回路246から転送されたコード情報114の圧縮符号化データを第13バッファメモリ316を介してメモリカード322に保存する。
Thereafter, in step S611, the second
その後、ステップS612において、第2圧縮伸長回路246における第2符号化処理系20は、第2画像94のうち、残りの部分画像の圧縮符号化を行い、圧縮符号化された部分画像を画像記録処理回路238に転送する。画像記録処理回路238は、第2圧縮伸長回路246から転送された部分画像の圧縮符号化データを第13バッファメモリ316を介してメモリカード322に保存する。
Thereafter, in step S612, the second
そして、次のステップS613において、メインCPU250は、撮影終了か否かを判別する。この判別は、撮影終了を示す操作入力があったかどうかで行われる。
In the next step S613, the
撮影終了でなければ、ステップS609に戻り、該ステップS609以降の処理を繰り返す。 If the photographing is not finished, the process returns to step S609, and the processes after step S609 are repeated.
撮影終了であれば、ステップS614に進み、メインCPU250は、今回の動画の管理データをメモリカード322に保存する。
If the shooting is finished, the process proceeds to step S614, and the
ステップS614での処理が終了した段階で、この第1処理動作が終了する。 When the process in step S614 ends, the first processing operation ends.
次に、本実施の形態に係るデジタルカメラ200の処理動作、特に、第3符号化装置10Cに基づく圧縮符号化処理を含めた第2処理動作について図23を参照しながら説明する。なお、第3符号化装置10Cに基づく圧縮符号化処理は、図19の構成要素も参照しながら説明する。
Next, the processing operation of the
先ず、図23のステップS701において、メインCPU250は、三次元モードであるか否かを判別する。この判別は、三次元/二次元モードフラグ226の内容に基づいて行われる。三次元モードであれば次のステップS702に進み、二次元モードであれば、二次元モードの処理へ制御を移す。
First, in step S701 in FIG. 23, the
ステップS702において、メインCPU250は、動画モードであるか否かを判別する。この判別は、動画用レリーズ278が操作されたかどうかで行われる。動画モードであれば次のステップS703に進み、静止画モードであれば、静止画モードの処理へ制御を移す。
In step S702, the
ステップS703において、メインCPU250は、光学系のための撮影条件を設定する。この設定は、例えばEEPROM222に登録されている撮影条件に関する各種パラメータに基づいて第1カメラ12及び第2カメラ14の絞りや輻輳角等を設定する。
In step S703, the
ステップS704において、メインCPU250は、撮影開始の操作入力を待つ。操作入力があった段階で、メインCPU250は、第3符号化装置10Cの圧縮符号化処理に準じた処理を行う。
In step S704, the
すなわち、ステップS705において、メインCPU250は、第2記憶回路236から被写体までの距離データを読み出す。
That is, in step S705, the
その後、ステップS706において、メインCPU250は、読み出した被写体までの距離データに基づいて、ずれ情報を設定して第1ワークメモリ244に記録する。
Thereafter, in step S706, the
その後、ステップS707において、第2圧縮伸長回路246における第2符号化処理系20の探索範囲変更回路92は、記憶部90からずれ情報を読み出す。
Thereafter, in step S <b> 707, the search
その後、ステップS708において、探索範囲変更回路92は、読み出したずれ情報に基づいて、第2画像94の動きベクトルの探索範囲を設定する。
Thereafter, in step S708, the search
一方、ステップS709において、第1圧縮伸長回路242における第1符号化処理系18は、第1画像54の圧縮符号化を行い、圧縮符号化された第1画像54を画像記録処理回路238に転送する。画像記録処理回路238は、第1圧縮伸長回路242から転送された第1画像54の圧縮符号化データを第13バッファメモリ316を介してメモリカード322に保存する。
On the other hand, in
他方、ステップS710において、第2圧縮伸長回路246におけるコード情報作成回路106は、コード情報114を作成する。すなわち、変更された探索範囲のうち、第1画像54と一致又はほぼ一致する部分を抽出し、抽出した部分のアドレス情報等に基づいてコード情報114を作成する。
On the other hand, in step S710, the code
その後、ステップS711において、第2圧縮伸長回路246における第2符号化処理系20は、作成されたコード情報114を符号化し、符号化されたコード情報114を画像記録処理回路238に転送する。画像記録処理回路238は、第2圧縮伸長回路246から転送されたコード情報114の圧縮符号化データを第13バッファメモリ316を介してメモリカード322に保存する。
Thereafter, in step S711, the second
その後、ステップS712において、第2圧縮伸長回路246における第2符号化処理系20は、第2画像94のうち、残りの部分画像の圧縮符号化を行い、圧縮符号化された部分画像を画像記録処理回路238に転送する。画像記録処理回路238は、第2圧縮伸長回路246から転送された部分画像の圧縮符号化データを第13バッファメモリ316を介してメモリカード322に保存する。
Thereafter, in step S712, the second
そして、次のステップS713において、メインCPU250は、撮影終了か否かを判別する。この判別は、撮影終了を示す操作入力があったかどうかで行われる。
In the next step S713, the
撮影終了でなければ、ステップS705に戻り、該ステップS705以降の処理を繰り返す。 If the photographing is not finished, the process returns to step S705, and the processes after step S705 are repeated.
撮影終了であれば、ステップS714に進み、メインCPU250は、今回の動画の管理データをメモリカード322に保存する。
If the shooting is finished, the process proceeds to step S714, and the
ステップS714での処理が終了した段階で、この第2処理動作が終了する。 When the processing in step S714 is completed, the second processing operation ends.
次に、本実施の形態に係るデジタルカメラ200の処理動作、特に、復号化装置124に基づく伸長復号化処理を含めた第3処理動作について図24を参照しながら説明する。なお、復号化装置124に基づく圧縮復号化処理は、図13の構成要素も参照しながら説明する。
Next, the processing operation of the
先ず、図24のステップS801において、メインCPU250は、画像の選択完了を待つ。この画像の選択においては、圧縮符号化してメモリカード322に記録した複数の動画のサムネイル画像を液晶表示装置332に表示し、操作者がそのうちの1つの画像を選択する等によって行われる。画像が選択された段階で、ステップS802に進み、メインCPU250は、選択した画像に関する管理情報(記録媒体のIDコードや格納アドレス等)を例えばEEPROM222から読み出す。
First, in step S801 in FIG. 24, the
その後、ステップS803において、三次元モードであるか否かを判別する。この判別は、三次元/二次元モードフラグ226の内容に基づいて行われる。三次元モードであれば次のステップS804に進み、二次元モードであれば、二次元モードの処理へ制御を移す。
Thereafter, in step S803, it is determined whether or not the mode is the three-dimensional mode. This determination is made based on the contents of the three-dimensional / two-
ステップS804において、メインCPU250は、動画モードであるか否かを判別する。この判別は、動画用レリーズ278が操作されたかどうかで行われる。動画モードであれば次のステップS805に進み、静止画モードであれば、静止画モードの処理へ制御を移す。
In step S804, the
ステップS805以降から、メインCPU250は、復号化装置124の伸長復号化処理に準じた処理を行う。
From step S805, the
すなわち、ステップS805において、第1圧縮伸長回路242における第1復号化処理系126は、第1画像54の伸長復号化を行い、伸長復号化された第1画像54を画像表示処理回路240に転送する。画像表示処理回路240は、第1圧縮伸長回路242から転送された第1画像54の復元データを画像データ変換回路328及び表示用駆動回路330を介して液晶表示装置332に出力することによって、該液晶表示装置332の画面に第1画像54を表示する。
That is, in step S805, the first
その後、ステップS806において、第2圧縮伸長回路246における第2復号化処理系128は、第2画像94の符号化データに含まれているコード情報114を読み出してコード情報処理回路156に送信する。
Thereafter, in step S806, the second
その後、ステップS807において、コード情報処理回路156は、コード情報114に含まれるアドレスコードに基づいて、第1復号化回路132にて復元された第1画像54を利用して第2画像94の一部を復元する。
Thereafter, in step S 807, the code
その後、ステップS808において、第2圧縮伸長回路246における第2復号化回路152及び第4動き補償回路154は、第2画像94の部分画像の伸長復号化を行う。
Thereafter, in step S808, the
その後、ステップS809において、第2圧縮伸長回路246における合成回路158は、コード情報114に基づいて復元された第2画像94の一部と、第2復号化回路152及び第4動き補償回路154によって復元された部分画像とを合成することにより、第2画像94に復元し、該第2画像94を画像表示処理回路240に転送する。画像表示処理回路240は、第2圧縮伸長回路246から転送された第2画像94の復元データを画像データ変換回路328及び表示用駆動回路330を介して液晶表示装置332に出力することによって、該液晶表示装置332の画面に第2画像94を表示する。
Thereafter, in step S809, the synthesizing
そして、次のステップS810において、メインCPU250は、再生終了か否かを判別する。この判別は、再生終了を示す操作入力があったかどうかで行われる。
In the next step S810, the
再生終了でなければ、ステップS811に進み、メインCPU250は、現在再生中の画像データが終了(EOD:End of Data)であるか否かを判別する。画像データが終了でなければ、ステップS805に戻り、該ステップS805以降の処理を繰り返す。
If the reproduction is not finished, the process proceeds to step S811, and the
再生終了あるいは画像データが終了した段階で、次のステップS812に進み、液晶表示装置332へのサムネイル画像の表示等の再生終了処理を行って、この第3処理動作が終了する。
When the reproduction is completed or the image data is completed, the process proceeds to the next step S812, where reproduction completion processing such as displaying a thumbnail image on the liquid
本実施の形態に係るデジタルカメラにおいては、符号化処理、復号化処理の高速化、消費電力の低減化、並びに符号化後のデータ量の削減を図ることができる第2符号化装置、第3符号化装置、復号化装置と同様の機能を持たせるようにしたので、デジタルカメラで処理される三次元画像やマルチ画像の符号化処理、復号化処理の高速化、消費電力の低減化、並びに符号化後のデータ量の削減を図ることができる。 In the digital camera according to the present embodiment, the second encoding device and the third encoding device can increase the speed of encoding processing, decoding processing, reduce power consumption, and reduce the amount of data after encoding. Since it has the same function as the encoding device and the decoding device, the encoding process of the three-dimensional image or multi-image processed by the digital camera, the speed of the decoding process, the reduction of power consumption, and The amount of data after encoding can be reduced.
なお、本発明に係る画像符号化装置、画像復号化装置、画像符号化方法、画像復号化方法、撮像装置、撮像装置の制御方法及びプログラムは、上述の実施の形態に限らず、本発明の要旨を逸脱することなく、種々の構成を採り得ることはもちろんである。 Note that the image encoding device, the image decoding device, the image encoding method, the image decoding method, the imaging device, the control method for the imaging device, and the program according to the present invention are not limited to the above-described embodiments, and It goes without saying that various configurations can be adopted without departing from the gist.
10A〜10C…第1符号化装置〜第3符号化装置
12…第1カメラ 14…第2カメラ
16…記録媒体 18…第1符号化処理系
20…第2符号化処理系 24…第1符号化回路
26…第1動き補償回路 52…第1動き補償予測器
54、54a〜54c…第1画像 60…第2符号化回路
62…第2動き補償回路 88…第2動き補償予測器
90…記憶部 92…探索範囲変更回路
94…第2画像 96…ずれ
100…第1抽出回路 102…第2抽出回路
104…比較回路 106…コード情報作成回路
108…コード情報転送回路 110…圧縮処理テーブル作成回路
112…第3抽出回路 114…コード情報
124…復号化装置 126…第1復号化処理系
128…第2復号化処理系 132…第1復号化回路
134…第3動き補償回路 148…第3動き補償予測器
152…第2復号化回路 154…第4動き補償回路
156…コード情報処理回路 158…合成回路
172…第4動き補償予測器 186…光学系情報検出回路
188…第1ずれ情報設定回路 190…測距回路
192…第2ずれ情報設定回路 200…デジタルカメラ
230…カメラ間隔/輻輳角処理回路 234…測距処理回路
238…画像記録処理回路 240…画像表示処理回路
242…第1圧縮伸長回路 246…第2圧縮伸長回路
250…メインCPU 322…メモリカード
332…液晶表示装置
10A to 10C... 1st encoding device to
Claims (22)
視差画像の他方である第2画像を符号化処理して第2符号化データとして出力する第2符号化処理手段とを有し、
前記第1符号化処理手段は、前記第1画像の動き補償予測を行う第1動き補償手段を有し、
前記第2符号化処理手段は、
前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部と、
前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定手段と、
設定された前記探索範囲について前記第1画像と重複する部分を探索する探索手段と、
探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成手段と、
前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償手段とを有することを特徴とする画像符号化装置。 First encoding processing means for encoding a first image which is one of parallax images and outputting the first image as first encoded data;
Second encoding processing means for encoding a second image that is the other of the parallax images and outputting the second image as second encoded data;
The first encoding processing means includes first motion compensation means for performing motion compensation prediction of the first image,
The second encoding processing means includes
A storage unit that stores shift information of the second image with respect to the first image;
Search range setting means for setting a search range for searching for a portion of the second image that overlaps the first image based on the shift information stored in the storage unit;
Search means for searching for a portion overlapping the first image for the set search range;
Code information generating means for generating code information associating the first image and the second image with respect to a portion overlapping the searched first image;
An image coding apparatus comprising: a second motion compensation unit configured to perform motion compensation prediction on a portion of the second image that does not overlap with the first image.
被写体を撮像して前記第1画像を得る第1カメラと前記被写体を撮像して前記第2画像を得る第2カメラとの輻輳角、並びに前記第1カメラの光軸と前記第2カメラの光軸の間隔のうち、少なくとも一方に基づいて、前記ずれ情報を設定して前記記憶部に記憶する手段を有することを特徴とする画像符号化装置。 The image encoding device according to claim 1,
The convergence angle between the first camera that captures the subject and obtains the first image and the second camera that captures the subject and obtains the second image, and the optical axis of the first camera and the light of the second camera An image encoding apparatus comprising: means for setting the deviation information based on at least one of the axis intervals and storing the information in the storage unit.
前記探索手段は、
前記探索範囲設定手段にて設定された前記探索範囲に含まれる複数のマクロブロックと、前記第1画像に含まれる複数のマクロブロックとをそれぞれ順番に比較する比較手段を有し、
前記コード情報生成手段は、
前記比較手段からの比較結果が一致又はほぼ一致することを示す場合に、前記第2画像の複数のマクロブロックのうち、前記比較結果の対象となっているマクロブロックと、該マクロブロックと比較した前記第1画像のマクロブロックとを関連付けた前記コード情報を出力することを特徴とする画像符号化装置。 The image encoding device according to claim 1 or 2,
The search means includes
Comparing means for sequentially comparing a plurality of macroblocks included in the search range set by the search range setting means and a plurality of macroblocks included in the first image,
The code information generating means includes
When the comparison result from the comparison means indicates that the comparison results match or substantially match, a comparison is made between the macroblock that is the target of the comparison result among the plurality of macroblocks of the second image. the image coding apparatus according to claim and Turkey to output the code information associated with the macroblock of the first image.
前記第1画像に関するマクロブロック単位の奥行き情報に基づいて、マクロブロック単位のずれ情報を設定して前記記憶部に記憶する手段を有し、
前記探索手段は、前記記憶部に記憶された前記マクロブロック単位のずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索することを特徴とする画像符号化装置。 The image encoding device according to claim 1,
Based on the depth information of the macroblock unit related to the first image, there is means for setting the shift information of the macroblock unit and storing it in the storage unit,
The image search apparatus characterized in that the search means searches for a portion of the second image that overlaps the first image based on the deviation information in units of macroblocks stored in the storage unit. .
前記探索手段は、
前記探索範囲設定手段にて設定された前記探索範囲に含まれるマクロブロックと、前記第1画像に含まれるマクロブロックとを比較する比較手段を有し、
前記コード情報生成手段は、
前記比較手段からの比較結果が一致又はほぼ一致することを示す場合に、前記第2画像の複数のマクロブロックのうち、前記比較結果の対象となっているマクロブロックと、該マクロブロックと比較した前記第1画像のマクロブロックとを関連付けた前記コード情報を出力することを特徴とする画像符号化装置。 The image encoding device according to claim 1 or 4,
The search means includes
Comparing means for comparing macroblocks included in the search range set by the search range setting means with macroblocks included in the first image ;
The code information generating means includes
When the comparison result from the comparison means indicates that the comparison results match or substantially match, a comparison is made between the macroblock that is the target of the comparison result among the plurality of macroblocks of the second image. the image coding apparatus according to claim and Turkey to output the code information associated with the macroblock of the first image.
前記画像符号化装置からの第1符号化データを復号して前記第1画像に復元する第1復号化処理手段と、
前記画像符号化装置からの前記第1画像と前記第2画像とを関連付けしたコード情報を含む前記第2符号化データを復号して前記第2画像に復元する第2復号化処理手段とを有し、
前記第1復号化処理手段は、前記第1符号化データの復号化データの動き補償予測を行う第3動き補償手段を有し、
前記第2復号化処理手段は、
前記第2符号化データの復号データに含まれる復号された前記コード情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を復元する重複部分復元手段と、
前記第2符号化データの復号データのうち、前記第1画像と重複しない部分に対して動き補償予測を行う第4動き補償手段とを有することを特徴とする画像復号化装置。 An image decoding device for decoding encoded data output from the image encoding device according to claim 1,
First decoding processing means for decoding first encoded data from the image encoding device and restoring the first encoded data;
A second decoding processing unit that decodes the second encoded data including code information that associates the first image with the second image from the image encoding device and restores the second encoded data to the second image; And
The first decoding processing means includes third motion compensation means for performing motion compensation prediction of decoded data of the first encoded data,
The second decoding processing means includes
Based on the code information decoded included in the decoded data of the second encoded data, among the second image, and the overlapping portion restoring means for restoring the parts common to those in the first Ima,
An image decoding apparatus comprising: fourth motion compensation means for performing motion compensation prediction on a portion of the decoded data of the second encoded data that does not overlap with the first image.
前記重複部分復元手段は、
前記コード情報において関連付けされた前記第2画像のマクロブロックに対応する第1画像のマクロブロックによって、前記第1画像と重複する部分を復元することを特徴とする画像復号化装置。 The image decoding device according to claim 6, wherein
The overlapping part restoring means includes:
Picture decoding apparatus by the macro block of the associated a first image corresponding to the macro blocks of the second image, characterized in that to restore the parts common to those in the first Ima in the code information.
前記被写体を撮像して前記視差画像の他方である第2画像を得る第2カメラと、
前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部と、
前記第1カメラと前記第2カメラの輻輳角、並びに前記第1カメラの光軸と前記第2カメラの光軸の間隔のうち、少なくとも一方に基づいて、前記第1画像に対する前記第2画像のずれ情報を設定して前記記憶部に記憶する手段と、
前記第1画像を符号化処理して第1符号化データとして出力する第1符号化処理手段と、
前記第2画像を符号化処理して第2符号化データとして出力する第2符号化処理手段とを有し、
前記第1符号化処理手段は、前記第1画像の動き補償予測を行う第1動き補償手段を有し、
前記第2符号化処理手段は、
前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定手段と、
設定された前記探索範囲について前記第1画像と重複する部分を探索する探索手段と、
探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成手段と、
前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償手段とを有することを特徴とする撮像装置。 A first camera that captures a subject and obtains a first image that is one of parallax images;
A second camera that images the subject and obtains a second image that is the other of the parallax images;
A storage unit that stores shift information of the second image with respect to the first image;
Based on at least one of the convergence angle of the first camera and the second camera and the distance between the optical axis of the first camera and the optical axis of the second camera, the second image relative to the first image Means for setting deviation information and storing it in the storage unit;
First encoding processing means for encoding the first image and outputting it as first encoded data;
A second encoding processing means for encoding the second image and outputting it as second encoded data;
The first encoding processing means includes first motion compensation means for performing motion compensation prediction of the first image,
The second encoding processing means includes
Search range setting means for setting a search range for searching for a portion of the second image that overlaps the first image based on the shift information stored in the storage unit;
Search means for searching for a portion overlapping the first image for the set search range;
Code information generating means for generating code information associating the first image and the second image with respect to a portion overlapping the searched first image;
An imaging apparatus comprising: a second motion compensation unit configured to perform motion compensation prediction on a portion of the second image that does not overlap with the first image.
前記被写体を撮像して前記視差画像の他方である第2画像を得る第2カメラと、
前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部と、
前記第1画像に関するマクロブロック単位の奥行き情報に基づいて、マクロブロック単位のずれ情報を設定して前記記憶部に記憶する手段と、
視差画像の一方である第1画像を符号化処理して第1符号化データとして出力する第1符号化処理手段と、
視差画像の他方である第2画像を符号化処理して第2符号化データとして出力する第2符号化処理手段とを有し、
前記第1符号化処理手段は、前記第1画像の動き補償予測を行う第1動き補償手段を有し、
前記第2符号化処理手段は、
前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定手段と、
設定された前記探索範囲について前記第1画像と重複する部分を探索する探索手段と、
探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成手段と、
前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償手段とを有することを特徴とする撮像装置。 A first camera that captures a subject and obtains a first image that is one of parallax images;
A second camera that images the subject and obtains a second image that is the other of the parallax images;
A storage unit that stores shift information of the second image with respect to the first image;
Means for setting deviation information in units of macroblocks based on depth information in units of macroblocks relating to the first image and storing the information in the storage unit;
First encoding processing means for encoding a first image which is one of parallax images and outputting the first image as first encoded data;
Second encoding processing means for encoding a second image that is the other of the parallax images and outputting the second image as second encoded data;
The first encoding processing means includes first motion compensation means for performing motion compensation prediction of the first image,
The second encoding processing means includes
Search range setting means for setting a search range for searching for a portion of the second image that overlaps the first image based on the shift information stored in the storage unit;
Search means for searching for a portion overlapping the first image for the set search range;
Code information generating means for generating code information associating the first image and the second image with respect to a portion overlapping the searched first image;
An imaging apparatus comprising: a second motion compensation unit configured to perform motion compensation prediction on a portion of the second image that does not overlap with the first image.
前記第1画像を符号化処理して第1符号化データとして出力する第1符号化処理ステップと、
前記第2画像を符号化処理して第2符号化データとして出力する第2符号化処理ステップとを有し、
前記第1符号化処理ステップは、前記第1画像の動き補償予測を行う第1動き補償ステップを有し、
前記第2符号化処理ステップは、
前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定ステップと、
設定された前記探索範囲について前記第1画像と重複する部分を探索する探索ステップと、
探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成ステップと、
前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償ステップとを有することを特徴とする画像符号化方法。 Used in an image encoding device having a storage unit in which shift information of a second image that is the other of the parallax images with respect to the first image that is one of the parallax images is stored;
A first encoding processing step of encoding the first image and outputting it as first encoded data;
A second encoding process step of encoding the second image and outputting as second encoded data;
The first encoding processing step includes a first motion compensation step for performing motion compensation prediction of the first image,
The second encoding processing step includes:
A search range setting step for setting a search range for searching for a portion overlapping the first image in the second image based on the shift information stored in the storage unit;
A search step for searching for a portion overlapping the first image with respect to the set search range;
A code information generating step for generating code information in which the first image and the second image are associated with each other for a portion overlapping with the searched first image;
An image coding method comprising: a second motion compensation step of performing motion compensation prediction on a portion of the second image that does not overlap with the first image.
さらに、
被写体を撮像して前記第1画像を得る第1カメラと前記被写体を撮像して前記第2画像を得る第2カメラとの輻輳角、並びに前記第1カメラの光軸と前記第2カメラの光軸の間隔のうち、少なくとも一方に基づいて、前記ずれ情報を設定して前記記憶部に記憶するステップを有することを特徴とする画像符号化方法。 The image encoding method according to claim 10, wherein
further,
The convergence angle between the first camera that captures the subject and obtains the first image and the second camera that captures the subject and obtains the second image, and the optical axis of the first camera and the light of the second camera An image encoding method comprising: setting the deviation information based on at least one of the axis intervals and storing the deviation information in the storage unit.
前記探索ステップは、
前記探索範囲設定ステップにて設定された前記探索範囲に含まれる複数のマクロブロックと、前記第1画像に含まれる複数のマクロブロックとをそれぞれ順番に比較する比較ステップを有し、
前記コード情報生成ステップは、
前記比較ステップからの比較結果が一致又はほぼ一致することを示す場合に、前記第2画像の複数のマクロブロックのうち、前記比較結果の対象となっているマクロブロックと、該マクロブロックと比較した前記第1画像のマクロブロックとを関連付けたコード情報を出力することを特徴とする画像符号化方法。 The image encoding method according to claim 10 or 11,
The searching step includes
A comparison step of sequentially comparing a plurality of macroblocks included in the search range set in the search range setting step and a plurality of macroblocks included in the first image ;
The code information generation step includes
When the comparison result from the comparison step indicates that the comparison results match or substantially match, a comparison is made with the macroblock that is the target of the comparison result among the plurality of macroblocks of the second image. image coding method characterized by the Turkey to output the code information associated with the macroblock of the first image.
さらに、
前記第1画像に関するマクロブロック単位の奥行き情報に基づいて、マクロブロック単位のずれ情報を設定して前記記憶部に記憶するステップを有し、
前記探索ステップは、前記記憶部に記憶された前記マクロブロック単位のずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索することを特徴とする画像符号化方法。 The image encoding method according to claim 10, wherein
further,
Based on the depth information in units of macroblocks related to the first image, the step of setting and storing in the storage unit shift information in units of macroblocks,
The searching step searches for a portion of the second image that overlaps the first image based on the macroblock unit shift information stored in the storage unit. .
前記探索ステップは、
前記探索範囲設定ステップにて設定された前記探索範囲に含まれるマクロブロックと、前記第1画像に含まれるマクロブロックとを比較する比較ステップを有し、
前記コード情報生成ステップは、
前記比較ステップからの比較結果が一致又はほぼ一致することを示す場合に、前記第2画像の複数のマクロブロックのうち、前記比較結果の対象となっているマクロブロックと、該マクロブロックと比較した前記第1画像のマクロブロックとを関連付けたコード情報を出力することを特徴とする画像符号化方法。 The image encoding method according to claim 10 or 13,
The searching step includes
A comparison step of comparing a macroblock included in the search range set in the search range setting step with a macroblock included in the first image;
The code information generation step includes
When the comparison result from the comparison step indicates that the comparison results match or substantially match, a comparison is made with the macroblock that is the target of the comparison result among the plurality of macroblocks of the second image. image coding method characterized by the Turkey to output the code information associated with the macroblock of the first image.
前記画像符号化装置からの第1符号化データを復号して前記第1画像に復元する第1復号化処理ステップと、
前記画像符号化装置からの前記第1画像と前記第2画像とを関連付けしたコード情報を含む前記第2符号化データを復号して前記第2画像に復元する第2復号化処理ステップとを有し、
前記第1復号化処理ステップは、前記第1符号化データの復号化データの動き補償予測を行う第3動き補償ステップを有し、
前記第2復号化処理ステップは、
前記第2符号化データの復号データに含まれる復号された前記コード情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を復元する重複部分復元ステップと、
前記第2符号化データの復号データのうち、前記第1画像と重複しない部分に対して動き補償予測を行う第4動き補償ステップとを有することを特徴とする画像復号化方法。 It is used in an image decoding apparatus that decodes encoded data output from an image encoding apparatus using the image encoding method according to claim 10,
A first decoding processing step of decoding the first encoded data from the image encoding device to restore the first image;
And a second decoding processing step of decoding the second encoded data including code information in which the first image and the second image from the image encoding device are associated with each other and restoring the second image. And
The first decoding processing step includes a third motion compensation step for performing motion compensation prediction of decoded data of the first encoded data,
The second decoding processing step includes
On the basis of said code information decoded included in the decoded data of the second encoded data, among the second image, and the overlapping portion restoration step of restoring a portion that overlaps with the first Ima,
An image decoding method comprising: a fourth motion compensation step of performing motion compensation prediction on a portion of the decoded data of the second encoded data that does not overlap with the first image.
前記重複部分復元ステップは、
前記コード情報において関連付けされた前記第2画像のマクロブロックに対応する第1画像のマクロブロックによって、前記第1画像と重複する部分を復元することを特徴とする画像復号化方法。 The image decoding method according to claim 15, wherein
The overlapping part restoration step includes:
First by the macro block of the picture, the image decoding method characterized by restoring the parts common to those in the first stroke image corresponding to the macro block of the associated said second image in said code information.
前記被写体を撮像して前記視差画像の他方である第2画像を得る第2カメラと、
前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部とを有する撮像装置の制御方法において、
前記第1カメラと前記第2カメラの輻輳角、並びに前記第1カメラの光軸と前記第2カメラの光軸の間隔のうち、少なくとも一方に基づいて、前記第1画像に対する前記第2画像のずれ情報を設定して前記記憶部に記憶するステップと、
前記第1画像を符号化処理して第1符号化データとして出力する第1符号化処理ステップと、
前記第2画像を符号化処理して第2符号化データとして出力する第2符号化処理ステップとを有し、
前記第1符号化処理ステップは、前記第1画像の動き補償予測を行う第1動き補償ステップを有し、
前記第2符号化処理ステップは、
前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定ステップと、
設定された前記探索範囲について前記第1画像と重複する部分を探索する探索ステップと、
探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成ステップと、
前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償ステップとを有することを特徴とする撮像装置の制御方法。 A first camera that captures a subject and obtains a first image that is one of parallax images;
A second camera that images the subject and obtains a second image that is the other of the parallax images;
In a control method for an imaging apparatus, comprising: a storage unit in which shift information of the second image with respect to the first image is stored.
Based on at least one of the convergence angle of the first camera and the second camera and the distance between the optical axis of the first camera and the optical axis of the second camera, the second image relative to the first image Setting deviation information and storing it in the storage unit;
A first encoding processing step of encoding the first image and outputting it as first encoded data;
A second encoding process step of encoding the second image and outputting as second encoded data;
The first encoding processing step includes a first motion compensation step for performing motion compensation prediction of the first image,
The second encoding processing step includes:
A search range setting step for setting a search range for searching for a portion overlapping the first image in the second image based on the shift information stored in the storage unit;
A search step for searching for a portion overlapping the first image with respect to the set search range;
A code information generating step for generating code information in which the first image and the second image are associated with each other for a portion overlapping with the searched first image;
A control method for an imaging apparatus, comprising: a second motion compensation step of performing motion compensation prediction on a portion of the second image that does not overlap with the first image.
前記被写体を撮像して前記視差画像の他方である第2画像を得る第2カメラと、
前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部とを有する撮像装置の制御方法において、
前記第1画像に関するマクロブロック単位の奥行き情報に基づいて、マクロブロック単位のずれ情報を設定して前記記憶部に記憶するステップと、
前記第1画像を符号化処理して第1符号化データとして出力する第1符号化処理ステップと、
視差画像の他方である第2画像を符号化処理して第2符号化データとして出力する第2符号化処理ステップとを有し、
前記第1符号化処理ステップは、前記第1画像の動き補償予測を行う第1動き補償ステップを有し、
前記第2符号化処理ステップは、
前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定ステップと、
設定された前記探索範囲について前記第1画像と重複する部分を探索する探索ステップと、
探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成ステップと、
前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償ステップとを有することを特徴とする撮像装置の制御方法。 A first camera that captures a subject and obtains a first image that is one of parallax images;
A second camera that images the subject and obtains a second image that is the other of the parallax images;
In a control method for an imaging apparatus, comprising: a storage unit in which shift information of the second image with respect to the first image is stored.
Based on the macroblock unit depth information related to the first image, setting macroblock unit shift information and storing it in the storage unit;
A first encoding processing step of encoding the first image and outputting it as first encoded data;
A second encoding processing step that encodes the second image that is the other of the parallax images and outputs the second image as second encoded data;
The first encoding processing step includes a first motion compensation step for performing motion compensation prediction of the first image,
The second encoding processing step includes:
A search range setting step for setting a search range for searching for a portion overlapping the first image in the second image based on the shift information stored in the storage unit;
A search step for searching for a portion overlapping the first image with respect to the set search range;
A code information generating step for generating code information in which the first image and the second image are associated with each other for a portion overlapping with the searched first image;
A control method for an imaging apparatus, comprising: a second motion compensation step of performing motion compensation prediction on a portion of the second image that does not overlap with the first image.
視差画像の一方である第1画像を符号化処理して第1符号化データとして出力する第1符号化処理手段、
視差画像の他方である第2画像を符号化処理して第2符号化データとして出力する第2符号化処理手段、
として機能させるためのプログラムであって、
前記第1符号化処理手段は、前記第1画像の動き補償予測を行う第1動き補償手段を有し、
前記第2符号化処理手段は、
前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定手段と、
設定された前記探索範囲について前記第1画像と重複する部分を探索する探索手段と、
探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成手段と、
前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償手段とを有することを特徴とするプログラム。 An image encoding device including a computer having a storage unit in which shift information of a second image that is the other of the parallax images with respect to the first image that is one of the parallax images is stored
A first encoding processing unit that encodes a first image that is one of parallax images and outputs the first image as first encoded data;
A second encoding processing unit that encodes a second image that is the other of the parallax images and outputs the second image as second encoded data;
Is a program for functioning as
The first encoding processing means includes first motion compensation means for performing motion compensation prediction of the first image,
The second encoding processing means includes
Search range setting means for setting a search range for searching for a portion of the second image that overlaps the first image based on the shift information stored in the storage unit;
Search means for searching for a portion overlapping the first image for the set search range;
Code information generating means for generating code information associating the first image and the second image with respect to a portion overlapping the searched first image;
A program comprising: second motion compensation means for performing motion compensation prediction on a portion of the second image that does not overlap with the first image.
前記画像符号化装置からの第1符号化データを復号して前記第1画像に復元する第1復号化処理手段、
前記画像符号化装置からの前記第1画像と前記第2画像とを関連付けしたコード情報を含む前記第2符号化データを復号して前記第2画像に復元する第2復号化処理手段、
として機能させるためのプログラムであって、
前記第1復号化処理手段は、前記第1符号化データの復号化データの動き補償予測を行う第3動き補償手段を有し、
前記第2復号化処理手段は、
前記第2符号化データの復号データに含まれる復号された前記コード情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を復元する重複部分復元手段と、
前記第2符号化データの復号データのうち、前記第1画像と重複しない部分に対して動き補償予測を行う第4動き補償手段とを有することを特徴とするプログラム。 An image decoding device comprising a computer for decoding encoded data output from the image encoding device according to claim 19.
First decoding processing means for decoding the first encoded data from the image encoding device to restore the first image;
Second decoding processing means for decoding the second encoded data including code information relating the first image and the second image from the image encoding device and restoring the second encoded data to the second image;
Is a program for functioning as
The first decoding processing means includes third motion compensation means for performing motion compensation prediction of decoded data of the first encoded data,
The second decoding processing means includes
Based on the code information decoded included in the decoded data of the second encoded data, among the second image, and the overlapping portion restoring means for restoring the parts common to those in the first Ima,
A program comprising: fourth motion compensation means for performing motion compensation prediction on a portion of the decoded data of the second encoded data that does not overlap with the first image.
前記被写体を撮像して前記視差画像の他方である第2画像を得る第2カメラと、
前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部とを有する撮像装置を、
前記第1カメラと前記第2カメラの輻輳角、並びに前記第1カメラの光軸と前記第2カメラの光軸の間隔のうち、少なくとも一方に基づいて、前記第1画像に対する前記第2画像のずれ情報を設定して前記記憶部に記憶する手段、
前記第1画像を符号化処理して第1符号化データとして出力する第1符号化処理手段、
前記第2画像を符号化処理して第2符号化データとして出力する第2符号化処理手段、
として機能させるためのプログラムであって、
前記第1符号化処理手段は、前記第1画像の動き補償予測を行う第1動き補償手段を有し、
前記第2符号化処理手段は、
前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定手段と、
設定された前記探索範囲について前記第1画像と重複する部分を探索する探索手段と、
探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成手段と、
前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償手段とを有することを特徴とするプログラム。 A first camera that captures a subject and obtains a first image that is one of parallax images;
A second camera that images the subject and obtains a second image that is the other of the parallax images;
An image pickup apparatus having a storage unit in which shift information of the second image with respect to the first image is stored;
Based on at least one of the convergence angle of the first camera and the second camera and the distance between the optical axis of the first camera and the optical axis of the second camera, the second image relative to the first image Means for setting deviation information and storing it in the storage unit;
First encoding processing means for encoding the first image and outputting it as first encoded data;
Second encoding processing means for encoding the second image and outputting it as second encoded data;
Is a program for functioning as
The first encoding processing means includes first motion compensation means for performing motion compensation prediction of the first image,
The second encoding processing means includes
Search range setting means for setting a search range for searching for a portion of the second image that overlaps the first image based on the shift information stored in the storage unit;
Search means for searching for a portion overlapping the first image for the set search range;
Code information generating means for generating code information associating the first image and the second image with respect to a portion overlapping the searched first image;
A program comprising: second motion compensation means for performing motion compensation prediction on a portion of the second image that does not overlap with the first image.
前記被写体を撮像して前記視差画像の他方である第2画像を得る第2カメラと、
前記第1画像に対する前記第2画像のずれ情報が記憶された記憶部とを有する撮像装置を、
前記第1画像に関するマクロブロック単位の奥行き情報に基づいて、マクロブロック単位のずれ情報を設定して前記記憶部に記憶する手段、
視差画像の一方である第1画像を符号化処理して第1符号化データとして出力する第1符号化処理手段、
視差画像の他方である第2画像を符号化処理して第2符号化データとして出力する第2符号化処理手段、
として機能させるためのプログラムであって、
前記第1符号化処理手段は、前記第1画像の動き補償予測を行う第1動き補償手段を有し、
前記第2符号化処理手段は、
前記記憶部に記憶された前記ずれ情報に基づいて、前記第2画像のうち、前記第1画像と重複する部分を探索するための探索範囲を設定する探索範囲設定手段と、
設定された前記探索範囲について前記第1画像と重複する部分を探索する探索手段と、
探索された前記第1画像と重複する部分について、前記第1画像と前記第2画像とを関連付けしたコード情報を生成するコード情報生成手段と、
前記第2画像のうち、前記第1画像と重複しない部分について動き補償予測を行う第2動き補償手段とを有することを特徴とするプログラム。 A first camera that captures a subject and obtains a first image that is one of parallax images;
A second camera that images the subject and obtains a second image that is the other of the parallax images;
An image pickup apparatus having a storage unit in which shift information of the second image with respect to the first image is stored;
Means for setting macroblock unit shift information based on the macroblock unit depth information relating to the first image and storing the information in the storage unit;
A first encoding processing unit that encodes a first image that is one of parallax images and outputs the first image as first encoded data;
A second encoding processing unit that encodes a second image that is the other of the parallax images and outputs the second image as second encoded data;
Is a program for functioning as
The first encoding processing means includes first motion compensation means for performing motion compensation prediction of the first image,
The second encoding processing means includes
Search range setting means for setting a search range for searching for a portion of the second image that overlaps the first image based on the shift information stored in the storage unit;
Search means for searching for a portion overlapping the first image for the set search range;
Code information generating means for generating code information associating the first image and the second image with respect to a portion overlapping the searched first image;
A program comprising: second motion compensation means for performing motion compensation prediction on a portion of the second image that does not overlap with the first image.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007045961A JP4810465B2 (en) | 2007-02-26 | 2007-02-26 | Image encoding apparatus, image decoding apparatus, image encoding method, image decoding method, imaging apparatus, imaging apparatus control method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007045961A JP4810465B2 (en) | 2007-02-26 | 2007-02-26 | Image encoding apparatus, image decoding apparatus, image encoding method, image decoding method, imaging apparatus, imaging apparatus control method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008211502A JP2008211502A (en) | 2008-09-11 |
| JP4810465B2 true JP4810465B2 (en) | 2011-11-09 |
Family
ID=39787435
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007045961A Expired - Fee Related JP4810465B2 (en) | 2007-02-26 | 2007-02-26 | Image encoding apparatus, image decoding apparatus, image encoding method, image decoding method, imaging apparatus, imaging apparatus control method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4810465B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013183200A (en) * | 2012-02-29 | 2013-09-12 | Oki Electric Ind Co Ltd | Motion compensation control apparatus, motion compensation control program, and encoder |
| JP2014120917A (en) * | 2012-12-17 | 2014-06-30 | Fujitsu Ltd | Moving image encoder, moving image encoding method and moving image encoding program |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0715748A (en) * | 1993-06-24 | 1995-01-17 | Canon Inc | Image recording / reproducing device |
| JP3157384B2 (en) * | 1994-06-20 | 2001-04-16 | 三洋電機株式会社 | 3D image device |
| JP2000165909A (en) * | 1998-11-26 | 2000-06-16 | Sanyo Electric Co Ltd | Method and device for image compressing processing |
-
2007
- 2007-02-26 JP JP2007045961A patent/JP4810465B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008211502A (en) | 2008-09-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3863510B2 (en) | Motion vector encoding / decoding method and apparatus | |
| US7697036B2 (en) | Digital camera for capturing both still images and moving pictures | |
| KR101027353B1 (en) | Electronic video image stabilization | |
| JP5830548B2 (en) | Multi-view video encoding method and apparatus, and decoding method and apparatus thereof | |
| RU2444856C2 (en) | Method of encoding video signal and method of decoding, apparatus for realising said methods and data media storing programmes for realising said methods | |
| JP4095664B2 (en) | Video encoding device | |
| JP2012257198A (en) | Stereoscopic image encoding apparatus, method therefor, and image pickup apparatus having stereoscopic image encoding apparatus | |
| US7075985B2 (en) | Methods and systems for efficient video compression by recording various state signals of video cameras | |
| WO2014010224A1 (en) | Video compression device, video decoding device, image compression device, image decoding device, imaging device, and program | |
| US20070025443A1 (en) | Moving picture coding apparatus, method and program | |
| JP4810465B2 (en) | Image encoding apparatus, image decoding apparatus, image encoding method, image decoding method, imaging apparatus, imaging apparatus control method, and program | |
| JP6021153B2 (en) | Method and apparatus for decoding video images | |
| US10356419B2 (en) | Encoding device and encoding method | |
| JP2009164865A (en) | Video encoding method, decoding method, encoding device, decoding device, program thereof, and computer-readable recording medium | |
| JP5974691B2 (en) | MOVING IMAGE COMPRESSION DEVICE, IMAGING DEVICE, AND PROGRAM | |
| JP4670663B2 (en) | Image generating apparatus and image generating program | |
| JP2004180345A (en) | Captured image recording device | |
| JPH09261530A (en) | Video recorder | |
| JP7759260B2 (en) | Encoding device and method | |
| JP2002300600A (en) | Stereoscopic image encoding device and stereoscopic image decoding device | |
| JP2000165909A (en) | Method and device for image compressing processing | |
| JP2008011079A (en) | Moving picture encoding apparatus, moving picture decoding apparatus, and moving picture transmission system | |
| JP5974692B2 (en) | Moving picture decoding apparatus and program | |
| JP5053944B2 (en) | Imaging device | |
| JP4834535B2 (en) | Imaging device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090908 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110107 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110118 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110322 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110412 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110613 |
|
| 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: 20110726 |
|
| 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: 20110822 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140826 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |