JP2005079965A - Representative point information coding method and representative point information decoding method - Google Patents
Representative point information coding method and representative point information decoding method Download PDFInfo
- Publication number
- JP2005079965A JP2005079965A JP2003308640A JP2003308640A JP2005079965A JP 2005079965 A JP2005079965 A JP 2005079965A JP 2003308640 A JP2003308640 A JP 2003308640A JP 2003308640 A JP2003308640 A JP 2003308640A JP 2005079965 A JP2005079965 A JP 2005079965A
- Authority
- JP
- Japan
- Prior art keywords
- representative point
- encoding
- screen
- information
- divided
- 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.)
- Pending
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
本発明は、ディジタル画像データの代表点を表現する際に用いる代表点情報符号化方法および代表点情報復号化方法に関するものである。 The present invention relates to a representative point information encoding method and a representative point information decoding method used for representing representative points of digital image data.
JPEG方式、MPEGビデオ方式に代表される従来の画像符号化方式においては、画面を予め定められた単位に分割し、その分割単位で符号化を行う。例えば、MPEG−1、MPEG−2方式においては、マクロブロックと呼ばれる水平16画素、垂直16画素の単位で動き補償を行い、マクロブロックに含まれるブロックと呼ばれる水平8画素、垂直8画素の単位で離散コサイン変換を行うことにより、符号化を行う。このような方式においては、画面の分割方法が完全に規定されているため、画面をどのように分割したかを示す情報は、符号列中に記述されない。 In a conventional image coding system represented by the JPEG system and the MPEG video system, a screen is divided into predetermined units, and encoding is performed in the divided units. For example, in the MPEG-1 and MPEG-2 systems, motion compensation is performed in units of 16 horizontal pixels and 16 vertical pixels called macroblocks, and in units of 8 horizontal and 8 vertical pixels called blocks included in the macroblock. Encoding is performed by performing discrete cosine transform. In such a method, since the screen dividing method is completely defined, information indicating how the screen is divided is not described in the code string.
近年、画面を任意の形状に分割して符号化する際に、その形状の代表点を符号化する符号化方式が提案されている。
従来方式1(非特許文献1)は、画面内の画素集合をボロノイ図に基づいて分割し、その分割単位で動き補償を行う方式が提案されている。従来方式1では、ボロノイ図の母点情報(画素位置)を符号化して符号列中に記述することにより、分割形状を記述する。ここで、母点情報の符号化方法としては、母点の存在する画素を1、それ以外を0として画面を走査して0、1の系列を得て、その系列中の0の連続長を2のm乗で割り、剰余をmビットの等長符号、商をコンマ符号で符号化する方式が提案されている。またこの際のmの値は、フレーム毎に最適な値を1つずつ符号化する。
In recent years, there has been proposed an encoding method for encoding a representative point of a shape when the screen is divided into an arbitrary shape and encoded.
Conventional method 1 (Non-Patent Document 1) proposes a method of dividing a pixel set in a screen based on a Voronoi diagram and performing motion compensation in the divided unit. In the
従来方式2(非特許文献2)は、動き補償後の残差信号を符号化する際に、予め定められた複数の変換基底を用いて、任意の位置(代表点の画素位置)に一つの変換基底を置く処理を繰り返すことにより符号化する方法である。ここでは、変換基底を置いた代表点とその変換基底の種類を符号列中に記述する。従来方式2では、代表点を符号化する際に、画面をライン順に走査し、最初に存在する代表点の左端からの距離、そして2番目以降に存在する代表点の直前の代表点からの距離、次に代表点が存在するラインへの垂直距離、の3つのパラメータに分類し、それぞれに異なる可変長符号テーブルを用いることにより、符号化する。これらの可変長符号テーブルは、直前の10フレームの符号化結果を用いて、適応的に作成を行う。
しかしながら、前記従来の方法では、画面内では一定のパラメータ(従来方式1においてはmの値、従来方式2においては可変長符号テーブル)を用いるため、画面単位での最適化を図ることは可能であるが、画面内での最適化を図ることはできない。
However, in the conventional method, since a constant parameter (m value in the
本発明は、前記従来の課題を解決するもので、代表点情報を符号化する際に、画面内での符号化効率向上を図ることができる代表点情報符号化方法、およびその代表点情報符号化方法により生成した符号列を復号化する代表点情報復号化方法を提供することを目的とする。 The present invention solves the above-described conventional problem, and, when encoding representative point information, a representative point information encoding method capable of improving the encoding efficiency in the screen, and the representative point information code It is an object of the present invention to provide a representative point information decoding method for decoding a code string generated by a conversion method.
この課題を解決するために、
第1の発明は、画像の代表点の位置情報を符号化する代表点情報符号化方法であって、前記画像を複数の分割画面に分割する画面分割ステップと、前記分割ステップにより分割された分割画面内の代表点の位置情報を分割画面毎に変更可能なパラメータを用いて符号化し符号列を生成する代表点位置符号化ステップとからなることを特徴とする代表点情報符号化方法である。
To solve this challenge,
1st invention is the representative point information encoding method which encodes the positional information on the representative point of an image, Comprising: The screen division | segmentation step which divides | segments the said image into several division | segmentation screens, and the division | segmentation divided | segmented by the said division | segmentation step A representative point information encoding method comprising: a representative point position encoding step of encoding a position of representative point in a screen using a parameter that can be changed for each divided screen to generate a code string.
第2の発明は、画像の代表点の位置情報を符号化する代表点情報符号化方法であって、前記画像を複数の分割画面に分割する画面分割ステップと、前記分割ステップにより分割された分割画面内の代表点の位置情報を分割画面毎に変更可能な可変長符号テーブルを用いて符号化し符号列を生成する代表点位置符号化ステップとからなることを特徴とする代表点情報符号化方法である。 A second invention is a representative point information encoding method for encoding position information of a representative point of an image, the screen dividing step for dividing the image into a plurality of divided screens, and the division divided by the dividing step A representative point information encoding method comprising: a representative point position encoding step that encodes position information of a representative point in a screen using a variable length code table that can be changed for each divided screen and generates a code string. It is.
第3の発明は、画像の代表点の位置情報を復号化する代表点情報復号化方法であって、入力符号列を分割画面毎に異なるパラメータを用いて、分割画面内の代表点の位置情報を得る代表点位置復号化ステップと、前記代表点位置復号化ステップから得られた各分割画面の代表点の位置情報を合成し、全画面の代表点の位置情報を生成する画面合成ステップとからなることを特徴とする代表点情報復号化方法である。 A third invention is a representative point information decoding method for decoding position information of a representative point of an image, wherein the input code string uses different parameters for each divided screen, and the position information of the representative point in the divided screen A representative point position decoding step of obtaining a representative point position information of each divided screen obtained from the representative point position decoding step, and generating a representative point position information of the entire screen This is a representative point information decoding method.
第4の発明は、画像の代表点の位置情報を復号化する代表点情報復号化方法であって、入力符号列を分割画面毎に異なる可変長符号化テーブルを用いて、分割画面内の代表点の位置情報を得る代表点位置復号化ステップと、前記代表点位置復号化ステップから得られた各分割画面の代表点の位置情報を合成し、全画面の代表点の位置情報を生成する画面合成ステップとからなることを特徴とする代表点情報復号化方法である。 A fourth invention is a representative point information decoding method for decoding position information of a representative point of an image, wherein an input code string is represented by a variable length coding table that is different for each divided screen, and a representative in the divided screen is displayed. A screen for generating representative point position information for all screens by combining representative point position decoding step for obtaining point position information and representative point position information of each divided screen obtained from the representative point position decoding step. It is a representative point information decoding method characterized by comprising a synthesis step.
以上の様に、本発明の代表点情報符号化方法は、画面を複数の領域に分割し、分割画面毎に最適なパラメータを用いて代表点情報の符号化を行う。一般に、代表点の配置密度は、画面内で偏りがある。本発明はこのような代表点の配置密度の偏りがあることに着眼したものであり、分割画面毎に最適なパラメータを用いて代表点情報の符号化を行うことにより、1画面で1つのパラメータや固定の可変長符号テーブルを用いて符号化を行う場合と比較して、符号化効率の向上を図ることができる。また、本発明の代表点情報復号化方法は、画面を複数の領域に分割し、分割画面毎代表点位置情報の符号化されて生成された符号列の復号化を行う。この際に、符号列中に記述されたパラメータや可変長符号化テーブルを用いて分割画面の代表点位置情報の復号化を行い、得られた分割画面の代表点位置情報を合成して全画面の代表点位置情報を生成することにより、復号化された代表点位置情報を正しく復号化することができる。そのため、その実用的価値が高い。 As described above, the representative point information encoding method of the present invention divides a screen into a plurality of regions, and encodes representative point information using an optimum parameter for each divided screen. Generally, the arrangement density of representative points is uneven in the screen. The present invention pays attention to such a deviation in the arrangement density of the representative points. By encoding the representative point information using the optimum parameters for each divided screen, one parameter is obtained on one screen. Compared with the case where encoding is performed using a fixed variable length code table, encoding efficiency can be improved. Also, the representative point information decoding method of the present invention divides a screen into a plurality of regions, and decodes a code string generated by encoding representative point position information for each divided screen. At this time, the representative point position information of the divided screen is decoded by using the parameters described in the code string and the variable length coding table, and the representative point position information of the obtained divided screen is synthesized to obtain the entire screen. By generating the representative point position information, the decoded representative point position information can be correctly decoded. Therefore, its practical value is high.
以下、本発明の実施の形態について、図1から図15を用いて説明する。
(実施の形態1)
図1は、本発明の代表点情報符号化方法を用いた代表点情報符号化装置100の構成を示すブロック図である。代表点情報符号化装置100は、画面分割部101、代表点位置符号化部102、制御部103から構成される。また図2は、代表点(×印)の位置の例を示す模式図である。ここで、代表点は画素位置の単位で置かれるものとし、代表点の位置情報は、画面の左上を原点とした、水平方向、垂直方向の位置(原点からの画素数)で示されるものとする。
Hereinafter, embodiments of the present invention will be described with reference to FIGS.
(Embodiment 1)
FIG. 1 is a block diagram showing a configuration of a representative point
代表点情報符号化装置100に入力された代表点情報は、画面分割部101に入力される。画面分割部101では、制御部103により決定された分割方法により、画面を複数の領域に分割する。ここでは例えば、図2に示すように、縦2分割、横2分割の合計4分割するものとする。画面分割部101は、各分割画面に属する代表点情報を代表点位置符号化部102に対して出力する。ここでは例えば、分割画面201、202、203、204の順で各代表点の位置情報を出力するものとする。
The representative point information input to the representative point
代表点位置符号化部102では、代表点の位置情報の符号化を行う。以下では、代表点位置符号化部102の動作について、2つの例を説明する。
The representative point
(1)代表点位置符号化部102の第1の動作例を図3のフローチャートを用いて説明する。まず、S301において、初期設定を行う。ここでは、パラメータmの最小値m_minと最大値m_maxの値を設定し、また符号量を保存する変数Bの値を所定値で初期化する。ここでこの所定値としては、起こりうる最大の符号量以上の値であればよい。ここで、パラメータmの最小値m_minと最大値m_maxは、制御部103から設定されるものとする。
(1) A first operation example of the representative point
その後、S302からS304の処理が、m_minからm_maxの間の値をパラメータmに設定することにより、繰り返し実行される。
S302では、パラメータmを用いて代表点位置を符号化し、そのとき符号量Bを求める。ここでの符号化方法としては、従来方式1と同様の方法を用いることができる。すなわち、代表点の存在する画素を1、それ以外を0として分割画面を走査して0、1の系列を得て、その系列中の0の連続長を2のm乗で割り、剰余をmビットの等長符号、商をコンマ符号で符号化する。また、この際には、分割画面内の代表点数を最初に符号化してもよい。これにより、分割画面の最後の0の連続長を符号化することが不要となる。
Thereafter, the processing from S302 to S304 is repeatedly executed by setting a value between m_min and m_max to the parameter m.
In S302, the representative point position is encoded using the parameter m, and the code amount B is obtained at that time. As the encoding method here, the same method as the
S303では、符号量BがB_minよりも小さいかどうかを判定する。そして、小さければ、S304の処理を行う。
S304では、B_minをBで置き換え、さらにこの際のパラメータmの値をMに保持する。
In S303, it is determined whether the code amount B is smaller than B_min. If it is smaller, the process of S304 is performed.
In S304, B_min is replaced with B, and the value of the parameter m at this time is held in M.
S302からS304の処理が、m_minからm_maxのすべての値に対して終了すると、S305の処理を行う。すなわち、S305の段階においては、Mには、現在の分割画面内の代表点位置情報を最小の符号量で符号化することができるパラメータmの値がMに設定されていることになる。 When the processing from S302 to S304 is completed for all values from m_min to m_max, the processing of S305 is performed. That is, at the stage of S305, M is set to a value of the parameter m that can encode the representative point position information in the current divided screen with the minimum code amount.
S305では、Mの値をパラメータmとして代表点位置を符号化し、符号列を生成する。また、この際には、Mの値を符号列を生成する際に用いたパラメータmの値として、符号列中に記述する。 In S305, the representative point position is encoded using the value of M as the parameter m, and a code string is generated. At this time, the value of M is described in the code string as the value of the parameter m used when generating the code string.
代表点位置符号化部102により、画面分割部101により出力された、すべての分割画面に対する符号列の生成が終了すると、1画面分の代表点情報の符号列の生成が終了したことになる。符号列の形式例を図4(a)に示す。図4(a)に示すように、代表点情報の符号列は、画面サイズの情報と分割画面数Nに続き、各分割画面の符号列がパラメータmの値と共に記述される。また、分割画面数は、縦の分割数、横の分割数を別に記述しても良いし、予め定められた分割数の中から選択しても記述しても良い。
When the generation of code sequences for all divided screens output by the
(2)代表点位置符号化部102の第2の動作例を図7のフローチャートを用いて説明する。まず、S701において、初期設定を行う。ここでは、L種類の可変長符号化テーブルT1〜TLを設定する。可変長符号テーブルの例を図8に示す。図8では、3つ(L=3)の可変長符号テーブルT1、T2、T3を示している。図8に示すように、これらの可変長符号テーブルは、値の変化に対する可変長符号テーブルの符号長の変化の度合いが異なる構成となっている。図8の例においては、可変長符号テーブルT1では、値が大きくなるにつれて符号長が急激に大きくなり、可変長符号テーブルT2、T3となるにつれて、その変化の度合いが小さくなるように構成されている。ここで、可変長符号テーブルは、制御部103から設定されるものとする。
(2) A second operation example of the representative point
その後、S702からS704の処理が、可変長符号テーブルTl(l=1〜L)を順に用いて、L回実行される。
S702では、可変長符号テーブルTlを用いて代表点位置を符号化し、そのとき符号量Bを求める。ここでの符号化方法としては、従来方式2と同様の方法を用いることができる。この符号化方法を図9を用いて説明する。図9は、分割画面701の代表点の配置例を示したものである。水平方向の破線は、走査する方向を示しており、左上から右歩行に走査し、順に下に走査するものとする。×印は代表点を示している。この場合、a1、a2、a3、a4といった順序で代表点を走査する事になる。そして、まず代表点a1の位置を符号化する場合には、左端からの距離(画素数)P1を符号化する。そして、代表点a2、代表点a3については、走査順で直前の代表点(代表点a2に対しては代表点a1、代表点a3に対しては代表点a2)からの距離を符号化する。すなわち、この場合には、距離P2、P2'をそれぞれ符号化することになる。そして、次の行では代表点は存在しないのでスキップし、次の行にある代表点a4の位置を符号化する。この際には、代表点a3が行の最終代表点である事を示す符号(EOL)を符号化した後、ライン間の行数(この場合は2)を符号化する。そして、代表点a1〜a3の位置情報を符号化したのと同様に、代表点a4以降の位置情報の符号化を行う。そして、分割画面内の全代表点を符号化し、その際の発生符号量をBとする。
Thereafter, the processing from S702 to S704 is executed L times using the variable length code table Tl (l = 1 to L) in order.
In S702, the representative point position is encoded using the variable length code table Tl, and the code amount B is obtained at that time. As the encoding method here, a method similar to the
S703では、符号量BがB_minよりも小さいかどうかを判定する。そして、小さければ、S704の処理を行う。
S704では、B_minをBで置き換え、さらにこの際の可変長符号テーブルの番号lの値をL'に保持する。
In S703, it is determined whether the code amount B is smaller than B_min. If it is smaller, the process of S704 is performed.
In S704, B_min is replaced with B, and the value of the
S702からS704の処理が、すべての可変長符号テーブルに対して終了すると、S705の処理を行う。すなわち、S705の段階においては、L'には、現在の分割画面内の代表点位置情報を最小の符号量で符号化することができる可変長符号テーブルの番号がL'に設定されていることになる。 When the processing from S702 to S704 is completed for all the variable length code tables, the processing of S705 is performed. That is, at the stage of S705, the variable length code table number that can encode the representative point position information in the current divided screen with the minimum code amount is set to L ′. become.
S705では、可変長符号テーブルTL'を用いて代表点位置情報を符号化し、符号列を生成する。また、この際には、可変長符号化テーブルの番号L'の値を符号列中に記述する。 In S705, the representative point position information is encoded using the variable-length code table TL ′ to generate a code string. At this time, the value L ′ of the variable length coding table is described in the code string.
代表点位置符号化部102により、画面分割部101により出力された、すべての分割画面に対する符号列の生成が終了すると、1画面分の代表点情報の符号列の生成が終了したことになる。符号列の形式例を図10(a)に示す。図10(a)に示すように、代表点情報の符号列は、画面サイズの情報と分割画面数Nに続き、各分割画面の符号列が可変長符号テーブルの番号lの値と共に記述される。また、分割画面数は、縦の分割数、横の分割数を別に記述しても良いし、予め定められた分割数の中から選択しても記述しても良い。
When the generation of code sequences for all divided screens output by the
以上のように、本発明の代表点情報符号化方法は、画面を複数の領域に分割し、分割画面毎に最適なパラメータを用いて代表点情報の符号化を行う。一般に、代表点の配置密度は、画面内で偏りがある。例えば、従来方式1のような場合には、動きが複雑な部分で代表点の密度が高くなり、動きが均一な部分で代表点の密度が低くなる。また、従来方式2のような場合には、動き補償残差が大きい部分で代表点密度が高くなる。本発明はこのような代表点の配置密度の偏りがあることに着眼したものであり、分割画面毎に最適なパラメータを用いて代表点情報の符号化を行うことにより、1画面で1つのパラメータや固定の可変長符号テーブルを用いて符号化を行う場合と比較して、符号化効率の向上を図ることができる。
As described above, the representative point information encoding method of the present invention divides a screen into a plurality of regions, and encodes representative point information using an optimum parameter for each divided screen. Generally, the arrangement density of representative points is uneven in the screen. For example, in the case of the
なお、本実施の形態においては、画面を図2に示すように4つに分割して符号化する場合を説明したが、分割数は他の値であっても良い。また、水平方向のみに分割したり、垂直方向のみに分割しても良い。 In the present embodiment, the case where the screen is divided into four as shown in FIG. 2 and encoded has been described, but the number of divisions may be another value. Further, it may be divided only in the horizontal direction or only in the vertical direction.
また、本実施の形態においては、画面サイズや分割数Nを符号列中に記述する場合について説明したが、予め定めた画面サイズや分割方法を用いて符号化する場合には、画面サイズや分割数の記述は不要である。この場合の符号列の構成例を図4(b)、図10(b)に示す。 In the present embodiment, the case where the screen size and the number of divisions N are described in the code string has been described. However, when encoding using a predetermined screen size or division method, the screen size or the division number is described. It is not necessary to describe the number. A configuration example of the code string in this case is shown in FIGS. 4B and 10B.
また、本実施の形態の第1の動作例においては、パラメータmの値を符号列に記述する場合について説明したが、このパラメータmを符号化する際に用いる可変長符号帳は、例えば図5(a)に示すような符号帳を用いることができる。ここで、例えばmの最小値が4である場合、1〜3の値は生じないため、符号帳に無駄が生じる。そのため、図5(b)のような符号帳を用いて符号化を行い、その際にmの最小値をmの基準値として符号列中に記述しても良い。この場合の符号列の構成例を図4(c)に示す。またこれは、パラメータmの最大値を基準として、パラメータ値の大きい順に符号を割り振っても良い。 In the first operation example of the present embodiment, the case where the value of the parameter m is described in the code string has been described. The variable length codebook used when encoding the parameter m is, for example, FIG. A codebook as shown in (a) can be used. Here, for example, when the minimum value of m is 4, the values of 1 to 3 do not occur, so the codebook is wasted. For this reason, encoding may be performed using a codebook as shown in FIG. 5B, and the minimum value of m may be described in the code string as the m reference value. A configuration example of the code string in this case is shown in FIG. In addition, codes may be assigned in descending order of the parameter value with reference to the maximum value of the parameter m.
また、本実施の形態の第1の動作例においては、S305で符号量が最小となるパラメータmの値(M)を用いて再び符号化を行う場合について説明したが、これはS302で各パラメータmの値に対して生成した符号列を保持しておき、S305では符号列を生成せずに、Mの値に対応する保持しておいた符号列をそのまま出力しても良い。 Further, in the first operation example of the present embodiment, the case has been described where the encoding is performed again using the value (M) of the parameter m that minimizes the code amount in S305. The code string generated for the value of m may be retained, and the retained code string corresponding to the value of M may be output as it is without generating the code string in S305.
また、本実施の形態の第2の動作例においては、S705で符号量が最小となる可変長符号テーブルの番号lの値(L')を用いて再び符号化を行う場合について説明したが、これはS702で各可変長符号テーブルに対して生成した符号列を保持しておき、S705では符号列を生成せずに、L'の値に対応する保持しておいた符号列をそのまま出力しても良い。
Further, in the second operation example of the present embodiment, the case has been described in which the encoding is performed again using the value (L ′) of the
また、本実施の形態の第1の動作例においては、代表点の位置情報を符号化する際に、代表点の存在する画素を1、それ以外を0として分割画面を走査して0、1の系列を得て、その系列中の0の連続長を2のm乗で割り、剰余をmビットの等長符号、商をコンマ符号で符号化する場合について説明したが、これは所定のパラメータmにより生成される符号列が異なる符号化方法であれば、他の符号化方法であっても構わない。また、パラメータが複数ある場合には、その複数のパラメータを変化させて、符号量が少なくなるパラメータの組み合わせを求め、それら複数のパラメータを符号列中に記述すれば良い。 Further, in the first operation example of the present embodiment, when the position information of the representative point is encoded, the divided screen is scanned by setting the pixel where the representative point exists to 1 and the others to 0, and 0, 1 The sequence of 0 is obtained, the continuous length of 0 in the sequence is divided by 2 to the power of m, the remainder is encoded with an m-bit equal length code, and the quotient is encoded with a comma code. Other encoding methods may be used as long as the code sequences generated by m are different. Further, when there are a plurality of parameters, the plurality of parameters may be changed to obtain a combination of parameters that reduce the code amount, and the plurality of parameters may be described in the code string.
また、本実施の形態の第2の動作例においては、代表点を符号化する際に、画面をライン順に走査し、最初に存在する代表点の左端からの距離、そして2番目以降に存在する代表点の直前の代表点からの距離、次に代表点が存在するラインへの垂直距離、の3つのパラメータ(図9でのP1、P2またはP2'、P3)に分類し、それぞれを同じ可変長符号テーブルを用いることにより符号化する場合について説明したが、これは、それぞれのパラメータ毎に異なる可変長符号テーブルを用いても良い。また、その際には、予め定めておいた可変長符号テーブルセット(3つのパラメータ毎に設定した可変長符号テーブルの集合)の番号を符号列中に記述しても良いし、3つのパラメータ毎に用いた可変長テーブルの番号を符号列中に記述しても良い。 In the second operation example of the present embodiment, when encoding the representative points, the screen is scanned in line order, the distance from the left end of the representative point that exists first, and the second and subsequent ones. The parameters are classified into three parameters (P1, P2 or P2 ′, P3 in FIG. 9) of the distance from the representative point immediately before the representative point, and then the vertical distance to the line where the representative point exists, and each of them is the same variable. Although the case where encoding is performed by using a long code table has been described, a variable length code table that is different for each parameter may be used. In this case, the number of a predetermined variable-length code table set (a set of variable-length code tables set for each of the three parameters) may be described in the code string. The number of the variable length table used in the above may be described in the code string.
また、本実施の形態の第2の動作例においては、図8に示す可変長符号テーブルを用いて代表点情報を符号化する場合について説明したが、異なる特性を有している可変長符号化テーブルを用いるのであれば、他の可変長テーブルを用いても良い。また、図8の可変長テーブルでは、"0"に対して符号が割り当てられているが、代表点の重複等がなければ、このフィールドは不要である。 Further, in the second operation example of the present embodiment, the case where the representative point information is encoded using the variable length code table shown in FIG. 8 has been described. However, variable length encoding having different characteristics has been described. If a table is used, another variable length table may be used. In the variable length table of FIG. 8, a code is assigned to “0”, but this field is unnecessary if there is no overlap of representative points.
(実施の形態2)
図6は、本発明の代表点情報復号化方法を用いた代表点情報復号化装置600の構成を示すブロック図である。代表点情報復号化装置600は、符号列解析部601、代表点位置復号化部602、画面合成部603から構成される。代表点情報復号化装置600には、図4(a)の形式の符号列が入力されるとする。
(Embodiment 2)
FIG. 6 is a block diagram showing a configuration of a representative point
符号列解析部601は、入力された符号列を解析し、まず画面サイズと分割画面数に関する情報を取得する。ここでは、縦方向に2分割、横方向に2分割されて代表点情報が符号化された符号列が入力されるものとする。符号列解析部601は、画面サイズと分割画面数に関する情報を代表点位置復号化部602、画面合成部603に対して出力する。また、各分割画面に対応する符号列を順に代表点位置復号化部602に対して出力する。
The code
代表点位置復号化部602の2つの動作例について説明する。
(1) 第1の動作例では、代表点位置復号化部602は、入力された符号列から、まずパラメータmの値を復号化する。そして、得られたパラメータmを用いて、続く代表点符号列の復号化を行う。今、代表点情報が実施の形態1で説明した方法により符号化されているものとすると、コンマ符号を商として復号化し、またmビット分を剰余として復号化する。この商と剰余とから、0の連続長を求める。符号列解析部601から得られた画面サイズと画面分割数から分割画面の大きさを決定し、そして得られた0の連続長を用いて走査することにより、0、1の系列を生成する。この処理を順に行い、分割画面内の最終画素まで系列を生成すると、分割画面内の復号化処理を終了する。また、分割画面内の代表点数が最初に符号化されている場合には、その数だけの代表点を復号化すると、分割画面内の復号化処理を終了する。この時点では、図2の分割画面201の代表点位置情報が得られたことになる。復号化された分割画面の代表点位置情報は、画面合成部603に対して出力される。
Two operation examples of the representative point
(1) In the first operation example, the representative point
代表点位置復号化部602は、続いて残りの分割画面の代表点位置情報の復号化処理を順に行い、分割画面の代表点位置情報(図2の分割画面202、203、204の代表点位置情報)を画面合成部603に対して出力していく。
Subsequently, the representative point
(2)第2の動作例では、代表点位置復号化部602は、入力された符号列から、まず可変長符号化テーブル番号lの値を復号化する。そして、得られた可変長符号化テーブル番号lの値を用いて、すなわち可変長符号テーブルTlを用いて、続く代表点符号列の復号化を行う。今、代表点情報が実施の形態1で説明した方法により符号化されているものとすると、まず走査ライン上で先頭(最も左側)にある代表点までの距離(図9のP1に相当)を復号化し、その後、ライン上の最終代表点を示す符号(EOL)になるまで、代表点間の距離(図9のP2、P2'に相当)を復号化していく。そして、EOLがあると、次にライン間距離(図9のP3に相当)を復号化する。以後、同様の処理を繰り返し、分割画面内の全代表点の位置情報を復号化する。復号化された分割画面の代表点位置情報は、画面合成部603に対して出力される。
(2) In the second operation example, the representative point
代表点位置復号化部602は、続いて残りの分割画面の代表点位置情報の復号化処理を順に行い、分割画面の代表点位置情報(図2の分割画面202、203、204の代表点位置情報)を画面合成部603に対して出力していく。
Subsequently, the representative point
画面合成部603は、代表点位置復号化部602から入力された、各分割画面の代表点位置情報と、符号列解析部601から入力された画面サイズ、分割画面数とに基づいて、分割画面の代表点位置情報を合成することにより、全画面での代表点位置情報(図2の画面200の代表点位置情報)を生成し出力する。
Based on the representative point position information of each divided screen input from the representative point
以上のように、本発明の代表点情報復号化方法は、画面を複数の領域に分割し、分割画面毎代表点位置情報の符号化されて生成された符号列の復号化を行う。この際に、符号列中に記述されたパラメータや可変長符号テーブル情報を用いて分割画面の代表点位置情報の復号化を行い、得られた分割画面の代表点位置情報を合成して全画面の代表点位置情報を生成することにより、復号化された代表点位置情報を正しく復号化することができる。 As described above, the representative point information decoding method of the present invention divides a screen into a plurality of regions and decodes a code string generated by encoding representative point position information for each divided screen. At this time, the representative point position information of the split screen is decoded using the parameters described in the code string and the variable length code table information, and the representative point position information of the obtained split screen is combined to obtain the entire screen. By generating the representative point position information, the decoded representative point position information can be correctly decoded.
なお、本実施の形態においては、画面が図2に示すように4つに分割して符号化された符号列を復号化する場合を説明したが、分割数は他の値であっても良い。 In the present embodiment, a case has been described in which a code string obtained by decoding a screen divided into four as shown in FIG. 2 is decoded, but the number of divisions may be another value. .
また、本実施の形態においては、画面サイズや分割数Nが符号列中に記述されている場合について説明したが、予め定めた画面サイズや分割方法を用いて符号化されている場合には、その定められた画面サイズや分割数を用いて復号化を行えば良い。 Further, in the present embodiment, the case where the screen size and the number of divisions N are described in the code string has been described, but in the case where encoding is performed using a predetermined screen size and division method, Decoding may be performed using the determined screen size and number of divisions.
(実施の形態3)
さらに、上記各実施の形態で示した代表点情報符号化方法および代表点情報復号化方法を実現するためのプログラムを、フレキシブルディスク等の記録媒体に記録するようにすることにより、上記各実施の形態で示した処理を、独立したコンピュータシステムにおいて簡単に実施することが可能となる。
(Embodiment 3)
Furthermore, by recording the program for realizing the representative point information encoding method and the representative point information decoding method shown in the above embodiments on a recording medium such as a flexible disk, The processing shown in the form can be easily performed in an independent computer system.
図11は、上記各実施の形態の代表点情報符号化方法および代表点情報復号化方法を、フレキシブルディスク等の記録媒体に記録されたプログラムを用いて、コンピュータシステムにより実施する場合の説明図である。 FIG. 11 is an explanatory diagram when the representative point information encoding method and the representative point information decoding method of each of the above embodiments are implemented by a computer system using a program recorded on a recording medium such as a flexible disk. is there.
図11(b)は、フレキシブルディスクの正面からみた外観、断面構造、及びフレキシブルディスクを示し、図11(a)は、記録媒体本体であるフレキシブルディスクの物理フォーマットの例を示している。フレキシブルディスクFDはケースF内に内蔵され、該ディスクの表面には、同心円状に外周からは内周に向かって複数のトラックTrが形成され、各トラックは角度方向に16のセクタSeに分割されている。従って、上記プログラムを格納したフレキシブルディスクでは、上記フレキシブルディスクFD上に割り当てられた領域に、上記プログラムが記録されている。 FIG. 11B shows an external appearance, a cross-sectional structure, and a flexible disk as viewed from the front of the flexible disk, and FIG. 11A shows an example of a physical format of the flexible disk that is a recording medium body. The flexible disk FD is built in the case F, and on the surface of the disk, a plurality of tracks Tr are formed concentrically from the outer periphery toward the inner periphery, and each track is divided into 16 sectors Se in the angular direction. ing. Therefore, in the flexible disk storing the program, the program is recorded in an area allocated on the flexible disk FD.
また、図11(c)は、フレキシブルディスクFDに上記プログラムの記録再生を行うための構成を示す。代表点情報符号化方法および代表点情報復号化方法を実現する上記プログラムをフレキシブルディスクFDに記録する場合は、コンピュータシステムCsから上記プログラムをフレキシブルディスクドライブを介して書き込む。また、フレキシブルディスク内のプログラムにより代表点情報符号化方法および代表点情報復号化方法を実現する上記代表点情報符号化方法および代表点情報復号化方法をコンピュータシステム中に構築する場合は、フレキシブルディスクドライブによりプログラムをフレキシブルディスクから読み出し、コンピュータシステムに転送する。 FIG. 11C shows a configuration for recording and reproducing the program on the flexible disk FD. When the program for realizing the representative point information encoding method and the representative point information decoding method is recorded on the flexible disk FD, the program is written from the computer system Cs via the flexible disk drive. When the representative point information encoding method and the representative point information decoding method for realizing the representative point information encoding method and the representative point information decoding method by a program in the flexible disk are constructed in a computer system, the flexible disk The program is read from the flexible disk by the drive and transferred to the computer system.
なお、上記説明では、記録媒体としてフレキシブルディスクを用いて説明を行ったが、光ディスクを用いても同様に行うことができる。また、記録媒体はこれに限らず、ICカード、ROMカセット等、プログラムを記録できるものであれば同様に実施することができる。 In the above description, a flexible disk is used as the recording medium, but the same can be done using an optical disk. Further, the recording medium is not limited to this, and any recording medium such as an IC card or a ROM cassette capable of recording a program can be similarly implemented.
(実施の形態4)
さらにここで、上記実施の形態で示した代表点情報符号化方法および代表点情報復号化方法の応用例とそれを用いたシステムを説明する。
(Embodiment 4)
Further, application examples of the representative point information encoding method and the representative point information decoding method shown in the above embodiment and a system using the same will be described.
図12は、コンテンツ配信サービスを実現するコンテンツ供給システムex100の全体構成を示すブロック図である。通信サービスの提供エリアを所望の大きさに分割し、各セル内にそれぞれ固定無線局である基地局ex107〜ex110が設置されている。 FIG. 12 is a block diagram showing an overall configuration of a content supply system ex100 that implements a content distribution service. The communication service providing area is divided into desired sizes, and base stations ex107 to ex110, which are fixed radio stations, are installed in each cell.
このコンテンツ供給システムex100は、例えば、インターネットex101にインターネットサービスプロバイダex102および電話網ex104、および基地局ex107〜ex110を介して、コンピュータex111、PDA(personal digital assistant)ex112、カメラex113、携帯電話ex114、カメラ付きの携帯電話ex115などの各機器が接続される。 The content supply system ex100 includes, for example, a computer ex111, a PDA (personal digital assistant) ex112, a camera ex113, a mobile phone ex114, a camera via the Internet ex101, the Internet service provider ex102, the telephone network ex104, and the base stations ex107 to ex110. Each device such as the attached mobile phone ex115 is connected.
しかし、コンテンツ供給システムex100は図12のような組合せに限定されず、いずれかを組み合わせて接続するようにしてもよい。また、固定無線局である基地局ex107〜ex110を介さずに、各機器が電話網ex104に直接接続されてもよい。 However, the content supply system ex100 is not limited to the combination as shown in FIG. 12, and any of the combinations may be connected. Further, each device may be directly connected to the telephone network ex104 without going through the base stations ex107 to ex110 which are fixed wireless stations.
カメラex113はデジタルビデオカメラ等の動画撮影が可能な機器である。また、携帯電話は、PDC(Personal Digital Communications)方式、CDMA(Code Division Multiple Access)方式、W−CDMA(Wideband-Code Division Multiple Access)方式、若しくはGSM(Global System for Mobile Communications)方式の携帯電話機、またはPHS(Personal Handyphone System)等であり、いずれでも構わない。 The camera ex113 is a device capable of shooting a moving image such as a digital video camera. The mobile phone is a PDC (Personal Digital Communications) system, a CDMA (Code Division Multiple Access) system, a W-CDMA (Wideband-Code Division Multiple Access) system, or a GSM (Global System for Mobile Communications) system mobile phone, Alternatively, PHS (Personal Handyphone System) or the like may be used.
また、ストリーミングサーバex103は、カメラex113から基地局ex109、電話網ex104を通じて接続されており、カメラex113を用いてユーザが送信する符号化処理されたデータに基づいたライブ配信等が可能になる。撮影したデータの符号化処理はカメラex113で行っても、データの送信処理をするサーバ等で行ってもよい。また、カメラex116で撮影した動画データはコンピュータex111を介してストリーミングサーバex103に送信されてもよい。カメラex116はデジタルカメラ等の静止画、動画が撮影可能な機器である。この場合、動画データの符号化はカメラex116で行ってもコンピュータex111で行ってもどちらでもよい。また、符号化処理はコンピュータex111やカメラex116が有するLSIex117において処理することになる。なお、画像符号化・復号化用のソフトウェアをコンピュータex111等で読み取り可能な記録媒体である何らかの蓄積メディア(CD−ROM、フレキシブルディスク、ハードディスクなど)に組み込んでもよい。さらに、カメラ付きの携帯電話ex115で動画データを送信してもよい。このときの動画データは携帯電話ex115が有するLSIで符号化処理されたデータである。 In addition, the streaming server ex103 is connected from the camera ex113 through the base station ex109 and the telephone network ex104, and live distribution or the like based on the encoded data transmitted by the user using the camera ex113 becomes possible. The encoded processing of the captured data may be performed by the camera ex113 or may be performed by a server or the like that performs data transmission processing. Further, the moving image data shot by the camera ex116 may be transmitted to the streaming server ex103 via the computer ex111. The camera ex116 is a device that can shoot still images and moving images, such as a digital camera. In this case, the encoding of the moving image data may be performed by the camera ex116 or the computer ex111. The encoding process is performed in the LSI ex117 included in the computer ex111 and the camera ex116. Note that image encoding / decoding software may be incorporated into any storage medium (CD-ROM, flexible disk, hard disk, etc.) that is a recording medium readable by the computer ex111 or the like. Furthermore, you may transmit moving image data with the mobile telephone ex115 with a camera. The moving image data at this time is data encoded by the LSI included in the mobile phone ex115.
このコンテンツ供給システムex100では、ユーザがカメラex113、カメラex116等で撮影しているコンテンツ(例えば、音楽ライブを撮影した映像等)を上記実施の形態同様に符号化処理してストリーミングサーバex103に送信する一方で、ストリーミングサーバex103は要求のあったクライアントに対して上記コンテンツデータをストリーム配信する。クライアントとしては、上記符号化処理されたデータを復号化することが可能な、コンピュータex111、PDAex112、カメラex113、携帯電話ex114等がある。このようにすることでコンテンツ供給システムex100は、符号化されたデータをクライアントにおいて受信して再生することができ、さらにクライアントにおいてリアルタイムで受信して復号化し、再生することにより、個人放送をも実現可能になるシステムである。 In this content supply system ex100, the content (for example, video shot of music live) captured by the user with the camera ex113, camera ex116, etc. is encoded and transmitted to the streaming server ex103 as in the above embodiment. On the other hand, the streaming server ex103 distributes the content data to the requested client. Examples of the client include a computer ex111, a PDA ex112, a camera ex113, a mobile phone ex114, and the like that can decode the encoded data. In this way, the content supply system ex100 can receive and reproduce the encoded data at the client, and also realize personal broadcasting by receiving, decoding, and reproducing in real time at the client. It is a system that becomes possible.
このシステムを構成する各機器の符号化、復号化には上記各実施の形態で示した代表点情報符号化方法あるいは代表点情報復号化方法を用いるようにすればよい。 The representative point information encoding method or the representative point information decoding method described in each of the above embodiments may be used for encoding and decoding of each device constituting this system.
その一例として携帯電話について説明する。
図13は、上記実施の形態で説明した代表点情報符号化方法および代表点情報復号化方法を用いた携帯電話ex115を示す図である。携帯電話ex115は、基地局ex110との間で電波を送受信するためのアンテナex201、CCDカメラ等の映像、静止画を撮ることが可能なカメラ部ex203、カメラ部ex203で撮影した映像、アンテナex201で受信した映像等が復号化されたデータを表示する液晶ディスプレイ等の表示部ex202、操作キーex204群から構成される本体部、音声出力をするためのスピーカ等の音声出力部ex208、音声入力をするためのマイク等の音声入力部ex205、撮影した動画もしくは静止画のデータ、受信したメールのデータ、動画のデータもしくは静止画のデータ等、符号化されたデータまたは復号化されたデータを保存するための記録メディアex207、携帯電話ex115に記録メディアex207を装着可能とするためのスロット部ex206を有している。記録メディアex207はSDカード等のプラスチックケース内に電気的に書換えや消去が可能な不揮発性メモリであるEEPROM(Electrically Erasable and Programmable Read Only Memory)の一種であるフラッシュメモリ素子を格納したものである。
A mobile phone will be described as an example.
FIG. 13 is a diagram showing the mobile phone ex115 using the representative point information encoding method and the representative point information decoding method described in the above embodiment. The cellular phone ex115 includes an antenna ex201 for transmitting and receiving radio waves to and from the base station ex110, a camera such as a CCD camera, a camera unit ex203 capable of taking a still image, a video shot by the camera unit ex203, and an antenna ex201. A display unit ex202 such as a liquid crystal display that displays data obtained by decoding received video and the like, a main body unit composed of a group of operation keys ex204, an audio output unit ex208 such as a speaker for audio output, and audio input To store encoded data or decoded data such as a voice input unit ex205 such as a microphone, captured video or still image data, received mail data, video data or still image data, etc. Recording medium ex207, and slot portion ex20 for enabling recording medium ex207 to be attached to mobile phone ex115 The it has. The recording medium ex207 stores a flash memory element which is a kind of EEPROM (Electrically Erasable and Programmable Read Only Memory) which is a nonvolatile memory that can be electrically rewritten and erased in a plastic case such as an SD card.
さらに、携帯電話ex115について図14を用いて説明する。携帯電話ex115は表示部ex202及び操作キーex204を備えた本体部の各部を統括的に制御するようになされた主制御部ex311に対して、電源回路部ex310、操作入力制御部ex304、画像符号化部ex312、カメラインターフェース部ex303、LCD(Liquid Crystal Display)制御部ex302、画像復号化部ex309、多重分離部ex308、記録再生部ex307、変復調回路部ex306及び音声処理部ex305が同期バスex313を介して互いに接続されている。 Further, the cellular phone ex115 will be described with reference to FIG. The cellular phone ex115 controls the power supply circuit ex310, the operation input control unit ex304, and the image coding for the main control unit ex311 which is configured to control the respective units of the main body unit including the display unit ex202 and the operation key ex204. Unit ex312, camera interface unit ex303, LCD (Liquid Crystal Display) control unit ex302, image decoding unit ex309, demultiplexing unit ex308, recording / reproducing unit ex307, modulation / demodulation circuit unit ex306, and audio processing unit ex305 via a synchronization bus ex313 Are connected to each other.
電源回路部ex310は、ユーザの操作により終話及び電源キーがオン状態にされると、バッテリパックから各部に対して電力を供給することによりカメラ付ディジタル携帯電話ex115を動作可能な状態に起動する。 When the end call and power key are turned on by a user operation, the power supply circuit ex310 activates the camera-equipped digital mobile phone ex115 by supplying power from the battery pack to each unit. .
携帯電話ex115は、CPU、ROM及びRAM等でなる主制御部ex311の制御に基づいて、音声通話モード時に音声入力部ex205で集音した音声信号を音声処理部ex305によってディジタル音声データに変換し、これを変復調回路部ex306でスペクトラム拡散処理し、送受信回路部ex301でディジタルアナログ変換処理及び周波数変換処理を施した後にアンテナex201を介して送信する。また携帯電話機ex115は、音声通話モード時にアンテナex201で受信した受信信号を増幅して周波数変換処理及びアナログディジタル変換処理を施し、変復調回路部ex306でスペクトラム逆拡散処理し、音声処理部ex305によってアナログ音声信号に変換した後、これを音声出力部ex208を介して出力する。 The mobile phone ex115 converts the voice signal collected by the voice input unit ex205 in the voice call mode into digital voice data by the voice processing unit ex305 based on the control of the main control unit ex311 including a CPU, a ROM, a RAM, and the like. The modulation / demodulation circuit unit ex306 performs spread spectrum processing, and the transmission / reception circuit unit ex301 performs digital analog conversion processing and frequency conversion processing, and then transmits the result via the antenna ex201. In addition, the cellular phone ex115 amplifies the received signal received by the antenna ex201 in the voice call mode, performs frequency conversion processing and analog-digital conversion processing, performs spectrum despreading processing by the modulation / demodulation circuit unit ex306, and analog audio by the voice processing unit ex305. After conversion into a signal, this is output via the audio output unit ex208.
さらに、データ通信モード時に電子メールを送信する場合、本体部の操作キーex204の操作によって入力された電子メールのテキストデータは操作入力制御部ex304を介して主制御部ex311に送出される。主制御部ex311は、テキストデータを変復調回路部ex306でスペクトラム拡散処理し、送受信回路部ex301でディジタルアナログ変換処理及び周波数変換処理を施した後にアンテナex201を介して基地局ex110へ送信する。 Further, when an e-mail is transmitted in the data communication mode, text data of the e-mail input by operating the operation key ex204 of the main body is sent to the main control unit ex311 via the operation input control unit ex304. The main control unit ex311 performs spread spectrum processing on the text data in the modulation / demodulation circuit unit ex306, performs digital analog conversion processing and frequency conversion processing in the transmission / reception circuit unit ex301, and then transmits the text data to the base station ex110 via the antenna ex201.
データ通信モード時に画像データを送信する場合、カメラ部ex203で撮像された画像データをカメラインターフェース部ex303を介して画像符号化部ex312に供給する。また、画像データを送信しない場合には、カメラ部ex203で撮像した画像データをカメラインターフェース部ex303及びLCD制御部ex302を介して表示部ex202に直接表示することも可能である。 When transmitting image data in the data communication mode, the image data captured by the camera unit ex203 is supplied to the image encoding unit ex312 via the camera interface unit ex303. When image data is not transmitted, the image data captured by the camera unit ex203 can be directly displayed on the display unit ex202 via the camera interface unit ex303 and the LCD control unit ex302.
画像符号化部ex312は、本願発明で説明した画像符号化装置を備えた構成であり、カメラ部ex203から供給された画像データを上記実施の形態で示した画像符号化装置に用いた符号化方法によって圧縮符号化することにより符号化画像データに変換し、これを多重分離部ex308に送出する。また、このとき同時に携帯電話機ex115は、カメラ部ex203で撮像中に音声入力部ex205で集音した音声を音声処理部ex305を介してディジタルの音声データとして多重分離部ex308に送出する。 The image encoding unit ex312 has a configuration including the image encoding device described in the present invention, and an encoding method using the image data supplied from the camera unit ex203 in the image encoding device described in the above embodiment. The encoded image data is converted into encoded image data by compression encoding, and sent to the demultiplexing unit ex308. At the same time, the cellular phone ex115 sends the sound collected by the audio input unit ex205 during imaging by the camera unit ex203 to the demultiplexing unit ex308 as digital audio data via the audio processing unit ex305.
多重分離部ex308は、画像符号化部ex312から供給された符号化画像データと音声処理部ex305から供給された音声データとを所定の方式で多重化し、その結果得られる多重化データを変復調回路部ex306でスペクトラム拡散処理し、送受信回路部ex301でディジタルアナログ変換処理及び周波数変換処理を施した後にアンテナex201を介して送信する。 The demultiplexing unit ex308 multiplexes the encoded image data supplied from the image encoding unit ex312 and the audio data supplied from the audio processing unit ex305 by a predetermined method, and the multiplexed data obtained as a result is a modulation / demodulation circuit unit A spectrum spread process is performed in ex306, a digital analog conversion process and a frequency conversion process are performed in the transmission / reception circuit unit ex301, and then the signal is transmitted through the antenna ex201.
データ通信モード時にホームページ等にリンクされた動画像ファイルのデータを受信する場合、アンテナex201を介して基地局ex110から受信した受信信号を変復調回路部ex306でスペクトラム逆拡散処理し、その結果得られる多重化データを多重分離部ex308に送出する。 When receiving data of a moving image file linked to a home page or the like in the data communication mode, the received signal received from the base station ex110 via the antenna ex201 is subjected to spectrum despreading processing by the modulation / demodulation circuit unit ex306, and the resulting multiplexing is obtained. Is sent to the demultiplexing unit ex308.
また、アンテナex201を介して受信された多重化データを復号化するには、多重分離部ex308は、多重化データを分離することにより画像データの符号化ビットストリームと音声データの符号化ビットストリームとに分け、同期バスex313を介して当該符号化画像データを画像復号化部ex309に供給すると共に当該音声データを音声処理部ex305に供給する。 In addition, in order to decode the multiplexed data received via the antenna ex201, the demultiplexing unit ex308 separates the multiplexed data to generate an encoded bitstream of image data and an encoded bitstream of audio data. The encoded image data is supplied to the image decoding unit ex309 via the synchronization bus ex313, and the audio data is supplied to the audio processing unit ex305.
次に、画像復号化部ex309は、本願発明で説明した画像復号化装置を備えた構成であり、画像データの符号化ビットストリームを上記実施の形態で示した符号化方法に対応した復号化方法で復号することにより再生動画像データを生成し、これをLCD制御部ex302を介して表示部ex202に供給し、これにより、例えばホームページにリンクされた動画像ファイルに含まれる動画データが表示される。このとき同時に音声処理部ex305は、音声データをアナログ音声信号に変換した後、これを音声出力部ex208に供給し、これにより、例えばホームページにリンクされた動画像ファイルに含まる音声データが再生される。 Next, the image decoding unit ex309 is configured to include the image decoding device described in the present invention, and a decoding method corresponding to the encoding method described in the above embodiment for an encoded bit stream of image data. To generate playback moving image data, which is supplied to the display unit ex202 via the LCD control unit ex302, thereby displaying, for example, moving image data included in the moving image file linked to the homepage . At the same time, the audio processing unit ex305 converts the audio data into an analog audio signal, and then supplies the analog audio signal to the audio output unit ex208. Thus, for example, the audio data included in the moving image file linked to the home page is reproduced. The
なお、上記システムの例に限られず、最近は衛星、地上波によるディジタル放送が話題となっており、図14に示すようにディジタル放送用システムにも上記実施の形態の少なくとも画像符号化装置または画像復号化装置のいずれかを組み込むことができる。具体的には、放送局ex409では映像情報の符号化ビットストリームが電波を介して通信または放送衛星ex410に伝送される。これを受けた放送衛星ex410は、放送用の電波を発信し、この電波を衛星放送受信設備をもつ家庭のアンテナex406で受信し、テレビ(受信機)ex401またはセットトップボックス(STB)ex407などの装置により符号化ビットストリームを復号化してこれを再生する。また、記録媒体であるCDやDVD等の蓄積メディアex402に記録した符号化ビットストリームを読み取り、復号化する再生装置ex403にも上記実施の形態で示した画像復号化装置を実装することが可能である。この場合、再生された映像信号はモニタex404に表示される。また、ケーブルテレビ用のケーブルex405または衛星/地上波放送のアンテナex406に接続されたセットトップボックスex407内に画像復号化装置を実装し、これをテレビのモニタex408で再生する構成も考えられる。このときセットトップボックスではなく、テレビ内に画像復号化装置を組み込んでも良い。また、アンテナex411を有する車ex412で衛星ex410からまたは基地局ex107等から信号を受信し、車ex412が有するカーナビゲーションex413等の表示装置に動画を再生することも可能である。 Note that the present invention is not limited to the above-described system, and recently, digital broadcasting using satellites and terrestrial waves has become a hot topic. As shown in FIG. 14, the digital broadcasting system also includes at least the image encoding device or the image according to the above embodiment. Any of the decoding devices can be incorporated. Specifically, in the broadcasting station ex409, the encoded bit stream of the video information is transmitted to the communication or broadcasting satellite ex410 via radio waves. Receiving this, the broadcasting satellite ex410 transmits a radio wave for broadcasting, and receives the radio wave with a home antenna ex406 having a satellite broadcasting receiving facility, such as a television (receiver) ex401 or a set top box (STB) ex407. The device decodes the encoded bit stream and reproduces it. In addition, the image decoding apparatus described in the above embodiment can also be implemented in a playback apparatus ex403 that reads and decodes an encoded bitstream recorded on a storage medium ex402 such as a CD or DVD that is a recording medium. is there. In this case, the reproduced video signal is displayed on the monitor ex404. Further, a configuration in which an image decoding device is mounted in a set-top box ex407 connected to a cable ex405 for cable television or an antenna ex406 for satellite / terrestrial broadcasting, and this is reproduced on the monitor ex408 of the television is also conceivable. At this time, the image decoding apparatus may be incorporated in the television instead of the set top box. It is also possible to receive a signal from the satellite ex410 or the base station ex107 by the car ex412 having the antenna ex411 and reproduce a moving image on a display device such as the car navigation ex413 that the car ex412 has.
更に、画像信号を上記実施の形態で示した画像符号化装置で符号化し、記録媒体に記録することもできる。具体例としては、DVDディスクex421に画像信号を記録するDVDレコーダや、ハードディスクに記録するディスクレコーダなどのレコーダex420がある。更にSDカードex422に記録することもできる。レコーダex420が上記実施の形態で示した画像復号化装置を備えていれば、DVDディスクex421やSDカードex422に記録した画像信号を再生し、モニタex408で表示することができる。 Further, the image signal can be encoded by the image encoding device shown in the above embodiment and recorded on a recording medium. As a specific example, there is a recorder ex420 such as a DVD recorder that records an image signal on a DVD disk ex421 or a disk recorder that records on a hard disk. Further, it can be recorded on the SD card ex422. If the recorder ex420 includes the image decoding device described in the above embodiment, the image signal recorded on the DVD disc ex421 or the SD card ex422 can be reproduced and displayed on the monitor ex408.
なお、カーナビゲーションex413の構成は例えば図15に示す構成のうち、カメラ部ex203とカメラインターフェース部ex303、画像符号化部ex312を除いた構成が考えられ、同様なことがコンピュータex111やテレビ(受信機)ex401等でも考えられる。 For example, the configuration of the car navigation ex413 in the configuration shown in FIG. 15 excluding the camera unit ex203, the camera interface unit ex303, and the image encoding unit ex312 can be considered, and the same applies to the computer ex111 and the television (receiver). ) Ex401 can also be considered.
また、上記携帯電話ex114等の端末は、符号化器・復号化器を両方持つ送受信型の端末の他に、符号化器のみの送信端末、復号化器のみの受信端末の3通りの実装形式が考えられる。 In addition to the transmission / reception type terminal having both the encoder and the decoder, the terminal such as the mobile phone ex114 has three mounting formats: a transmitting terminal having only an encoder and a receiving terminal having only a decoder. Can be considered.
このように、上記実施の形態で示した代表点情報符号化方法および代表点情報復号化方法を上述したいずれの機器・システムに用いることは可能であり、そうすることで、上記実施の形態で説明した効果を得ることができる。
なお、本発明はかかる上記実施形態に限定されるものではなく、本発明の範囲を逸脱することなく種々の変形または修正が可能である。
As described above, the representative point information encoding method and the representative point information decoding method shown in the above embodiment can be used in any of the above-described devices and systems. The described effect can be obtained.
It should be noted that the present invention is not limited to the above-described embodiment, and various changes and modifications can be made without departing from the scope of the present invention.
本発明にかかる代表点情報符号化方法および代表点情報復号化方法は、符号化効率の向上を図ることができるという効果を有し、画像符号化や画像処理等におけるデータ処理方法等として有用である The representative point information encoding method and the representative point information decoding method according to the present invention have an effect that the encoding efficiency can be improved, and are useful as a data processing method in image encoding and image processing. is there
100 代表点情報符号化装置
101 画面分割部
102 代表点位置符号化部
103 制御部
600 代表点情報復号化装置
601 符号列解析部
602 代表点位置復号化部
603 画面合成部
Cs コンピュータ・システム
FD フレキシブルディスク
FDD フレキシブルディスクドライブ
DESCRIPTION OF
Claims (17)
前記画像を複数の分割画面に分割する画面分割ステップと、
前記分割ステップにより分割された分割画面内の代表点の位置情報を分割画面毎に変更可能なパラメータを用いて符号化し符号列を生成する代表点位置符号化ステップと
からなることを特徴とする代表点情報符号化方法。 A representative point information encoding method for encoding position information of a representative point of an image,
A screen dividing step of dividing the image into a plurality of divided screens;
A representative point position encoding step for generating a code string by encoding the position information of the representative point in the divided screen divided by the dividing step by using a parameter that can be changed for each divided screen. Point information encoding method.
前記代表点位置符号化ステップでは、前記分割画面内の代表点の位置情報を符号化する際に用いた前記パラメータを前記符号列中に記述する
ことを特徴とする代表点情報符号化方法。 A representative point information encoding method according to claim 1, comprising:
In the representative point position encoding step, the parameter used when encoding the position information of the representative point in the divided screen is described in the code string.
前記代表点位置符号化ステップでは、前記分割画面内の代表点の位置情報を符号化する際に用いた前記パラメータの基準値を前記符号列中に記述する
ことを特徴とする代表点情報符号化方法。 A representative point information encoding method according to claim 2, comprising:
In the representative point position encoding step, a reference value of the parameter used when encoding the position information of the representative point in the divided screen is described in the code string. Method.
前記代表点位置符号化ステップでは、前記画面分割ステップによる画面の分割方法を示す情報を前記符号列中に記述する
ことを特徴とする代表点情報符号化方法。 A representative point information encoding method according to claim 1, comprising:
In the representative point position encoding step, information indicating a screen dividing method in the screen dividing step is described in the code string.
前記画像を複数の分割画面に分割する画面分割ステップと、
前記分割ステップにより分割された分割画面内の代表点の位置情報を分割画面毎に変更可能な可変長符号テーブルを用いて符号化し符号列を生成する代表点位置符号化ステップと
からなることを特徴とする代表点情報符号化方法。 A representative point information encoding method for encoding position information of a representative point of an image,
A screen dividing step of dividing the image into a plurality of divided screens;
A representative point position encoding step of generating a code string by encoding the position information of the representative point in the divided screen divided by the dividing step using a variable length code table that can be changed for each divided screen. The representative point information encoding method.
前記代表点位置符号化ステップでは、前記分割画面内の代表点の位置情報を符号化する際に用いた可変長符号テーブルの番号を前記符号列中に記述する
ことを特徴とする代表点情報符号化方法。 A representative point information encoding method according to claim 5,
In the representative point position encoding step, the variable point code table number used when encoding the position information of the representative point in the divided screen is described in the code string. Method.
入力符号列を分割画面毎に異なるパラメータを用いて、分割画面内の代表点の位置情報を得る代表点位置復号化ステップと、
前記代表点位置復号化ステップから得られた各分割画面の代表点の位置情報を合成し、全画面の代表点の位置情報を生成する画面合成ステップと
からなることを特徴とする代表点情報復号化方法。 A representative point information decoding method for decoding position information of a representative point of an image, comprising:
A representative point position decoding step for obtaining position information of a representative point in the divided screen using different parameters for the input code string for each divided screen;
The representative point information decoding comprising: a screen combining step of combining the representative point position information of each divided screen obtained from the representative point position decoding step and generating the representative point position information of the entire screen. Method.
前記代表点位置復号化ステップでは、前記パラメータを前記入力符号列から得る
ことを特徴とする代表点情報復号化方法。 A representative point information decoding method according to claim 7,
In the representative point position decoding step, the parameter is obtained from the input code string.
入力符号列を分割画面毎に異なる可変長符号化テーブルを用いて、分割画面内の代表点の位置情報を得る代表点位置復号化ステップと、
前記代表点位置復号化ステップから得られた各分割画面の代表点の位置情報を合成し、全画面の代表点の位置情報を生成する画面合成ステップと
からなることを特徴とする代表点情報復号化方法。 A representative point information decoding method for decoding position information of a representative point of an image, comprising:
A representative point position decoding step of obtaining position information of representative points in the divided screen by using a variable length coding table in which the input code string is different for each divided screen;
The representative point information decoding comprising: a screen combining step of combining the representative point position information of each divided screen obtained from the representative point position decoding step and generating the representative point position information of the entire screen. Method.
前記代表点位置復号化ステップでは、前記可変長符号化テーブルを示す情報を前記入力符号列から得る
ことを特徴とする代表点情報復号化方法。 The representative point information decoding method according to claim 9, wherein
In the representative point position decoding step, information indicating the variable length coding table is obtained from the input code string.
前記画面合成ステップでは、画面の分割方法を示す情報を符号列から得ることにより、前記分割画面の合成方法を決定する
ことを特徴とする代表点情報復号化方法。 A representative point information decoding method according to any one of claims 7 to 9, comprising:
The representative point information decoding method, wherein in the screen synthesis step, information indicating a screen division method is obtained from a code string, thereby determining the division screen synthesis method.
前記代表点情報符号化方法は、
画像の代表点の位置情報を符号化する代表点情報符号化方法であって、
前記画像を複数の分割画面に分割する画面分割ステップと、
前記分割ステップにより分割された分割画面内の代表点の位置情報を分割画面毎に変更可能なパラメータを用いて符号化し符号列を生成する代表点位置符号化ステップとからなる
ことを特徴とするプログラム。 A program for causing a computer to perform a representative point information encoding method,
The representative point information encoding method includes:
A representative point information encoding method for encoding position information of a representative point of an image,
A screen dividing step of dividing the image into a plurality of divided screens;
A representative point position encoding step for generating a code string by encoding the position information of the representative point in the divided screen divided by the dividing step by using a parameter that can be changed for each divided screen. .
前記代表点情報符号化方法は、
画像の代表点の位置情報を符号化する代表点情報符号化方法であって、
前記画像を複数の分割画面に分割する画面分割ステップと、
前記分割ステップにより分割された分割画面内の代表点の位置情報を分割画面毎に変更可能な可変長符号テーブルを用いて符号化し符号列を生成する代表点位置符号化ステップとからなる
ことを特徴とするプログラム。 A program for causing a computer to perform a representative point information encoding method,
The representative point information encoding method includes:
A representative point information encoding method for encoding position information of a representative point of an image,
A screen dividing step of dividing the image into a plurality of divided screens;
A representative point position encoding step of generating a code string by encoding the position information of the representative point in the divided screen divided by the dividing step using a variable length code table that can be changed for each divided screen. Program.
前記代表点情報復号化方法は、
画像の代表点の位置情報を復号化する代表点情報復号化方法であって、
入力符号列を分割画面毎に異なるパラメータを用いて、分割画面内の代表点の位置情報を得る代表点位置復号化ステップと、
前記代表点位置復号化ステップから得られた各分割画面の代表点の位置情報を合成し、全画面の代表点の位置情報を生成する画面合成ステップとからなる
ことを特徴とするプログラム。 A program for causing a computer to perform a representative point information decoding method,
The representative point information decoding method includes:
A representative point information decoding method for decoding position information of a representative point of an image, comprising:
A representative point position decoding step for obtaining position information of a representative point in the divided screen using different parameters for the input code string for each divided screen;
A program comprising: a screen synthesis step for synthesizing representative point position information of each divided screen obtained from the representative point position decoding step to generate representative point position information for all screens.
前記代表点情報復号化方法は、
画像の代表点の位置情報を復号化する代表点情報復号化方法であって、
入力符号列を分割画面毎に異なる可変長符号化テーブルを用いて、分割画面内の代表点の位置情報を得る代表点位置復号化ステップと、
前記代表点位置復号化ステップから得られた各分割画面の代表点の位置情報を合成し、全画面の代表点の位置情報を生成する画面合成ステップとからなる
ことを特徴とするプログラム。 A program for causing a computer to perform a representative point information decoding method,
The representative point information decoding method includes:
A representative point information decoding method for decoding position information of a representative point of an image, comprising:
A representative point position decoding step of obtaining position information of representative points in the divided screen by using a variable length coding table in which the input code string is different for each divided screen;
A program comprising: a screen synthesis step for synthesizing representative point position information of each divided screen obtained from the representative point position decoding step to generate representative point position information for all screens.
前記データは、画像の代表点の位置情報を符号化して得られるデータであって、
前記符号列は、前記画像を複数の分割画面に分割し、前記分割画面内の代表点の位置情報を分割画面毎に変更可能なパラメータを用いて符号化して得られる符号列である
ことを特徴とする記録媒体。 A recording medium storing data,
The data is data obtained by encoding position information of representative points of an image,
The code sequence is a code sequence obtained by dividing the image into a plurality of divided screens and encoding position information of representative points in the divided screens using parameters that can be changed for each divided screen. A recording medium.
前記データは、画像の代表点の位置情報を符号化して得られるデータであって、
前記符号列は、前記画像を複数の分割画面に分割し、前記分割画面内の代表点の位置情報を分割画面毎に変更可能な可変長符号化テーブルを用いて符号化して得られる符号列である
ことを特徴とする記録媒体。 A recording medium storing data,
The data is data obtained by encoding position information of representative points of an image,
The code string is a code string obtained by dividing the image into a plurality of divided screens and encoding the position information of the representative points in the divided screens using a variable length coding table that can be changed for each divided screen. A recording medium characterized by being.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003308640A JP2005079965A (en) | 2003-09-01 | 2003-09-01 | Representative point information coding method and representative point information decoding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003308640A JP2005079965A (en) | 2003-09-01 | 2003-09-01 | Representative point information coding method and representative point information decoding method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005079965A true JP2005079965A (en) | 2005-03-24 |
Family
ID=34411061
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003308640A Pending JP2005079965A (en) | 2003-09-01 | 2003-09-01 | Representative point information coding method and representative point information decoding method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005079965A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015231125A (en) * | 2014-06-04 | 2015-12-21 | キヤノン株式会社 | Image transmission system, image processing device, image storage device, and control method of them |
US20190182498A1 (en) * | 2016-08-26 | 2019-06-13 | Sharp Kabushiki Kaisha | Image decoding apparatus and image coding apparatus |
-
2003
- 2003-09-01 JP JP2003308640A patent/JP2005079965A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015231125A (en) * | 2014-06-04 | 2015-12-21 | キヤノン株式会社 | Image transmission system, image processing device, image storage device, and control method of them |
US20190182498A1 (en) * | 2016-08-26 | 2019-06-13 | Sharp Kabushiki Kaisha | Image decoding apparatus and image coding apparatus |
US10863186B2 (en) * | 2016-08-26 | 2020-12-08 | Sharp Kabushiki Kaisha | Image decoding apparatus and image coding apparatus |
US11234011B2 (en) | 2016-08-26 | 2022-01-25 | Sharp Kabushiki Kaisha | Image decoding apparatus and image coding apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5208157B2 (en) | Decryption system | |
JP4090862B2 (en) | Variable length encoding method and variable length decoding method | |
JP2004007381A (en) | Variable length encoding method and variable length decoding method | |
JP2011229178A (en) | Moving image encoding method, moving image decoding method, moving image encoder, moving image decoder, program, and integrated circuit | |
JP4313710B2 (en) | Image encoding method and image decoding method | |
JP4091108B1 (en) | Variable length decoding device and image decoding device | |
JP4091107B1 (en) | Variable length coding apparatus and image coding apparatus | |
JP2005079965A (en) | Representative point information coding method and representative point information decoding method | |
JP2005130417A (en) | Conversion encoding method and conversion decoding method | |
JP4091074B2 (en) | Variable length encoding method and variable length decoding method | |
JP2010183582A (en) | Variable length decoding method, variable length decoding apparatus, and program | |
JP2005086384A (en) | Transform coding method and transform decoding method |