JPH1093981A - Image encoder and image encoding method, image decoder and image decoding method, transmitting method and recording medium - Google Patents

Image encoder and image encoding method, image decoder and image decoding method, transmitting method and recording medium

Info

Publication number
JPH1093981A
JPH1093981A JP20853597A JP20853597A JPH1093981A JP H1093981 A JPH1093981 A JP H1093981A JP 20853597 A JP20853597 A JP 20853597A JP 20853597 A JP20853597 A JP 20853597A JP H1093981 A JPH1093981 A JP H1093981A
Authority
JP
Japan
Prior art keywords
image
layer
data
prediction
hierarchy
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.)
Granted
Application number
JP20853597A
Other languages
Japanese (ja)
Other versions
JP3912629B2 (en
Inventor
Tetsujiro Kondo
哲二郎 近藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP20853597A priority Critical patent/JP3912629B2/en
Publication of JPH1093981A publication Critical patent/JPH1093981A/en
Application granted granted Critical
Publication of JP3912629B2 publication Critical patent/JP3912629B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • 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

PROBLEM TO BE SOLVED: To obtain a decoded image of high image quality from data of the lowest hierarchy that is acquired in hierarchical encoding. SOLUTION: Images of the 2nd and the 3rd hierarchies are formed by successively thinning an image of the 1st hierarchy which is the original image in thinning circuits 11 and 12. Then, the image of the 2nd hierarchy is corrected in the optimum correction data calculating part 13, a predictive value of the image of the 1st hierarchy is predicted from corrected data that is acquired from the result, and correction data of the image of the 2nd hierarchy that makes the predictive error of the predictive value equal to or lower than a prescribed value is sought. Similarly, in the optimum correction data calculating circuit 14, correction data of the image of the 3rd hierarchy is sought.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、画像符号化装置お
よび画像符号化方法、画像復号化装置および画像復号化
方法、伝送方法、並びに記録媒体に関する。特に、画像
を、画素数の異なる複数の階層に分割する階層符号化を
行う画像符号化装置および画像符号化方法、画像復号化
装置および画像復号化方法、伝送方法、並びに記録媒体
に関する。
The present invention relates to an image encoding device and an image encoding method, an image decoding device and an image decoding method, a transmission method, and a recording medium. In particular, the present invention relates to an image encoding device and an image encoding method for performing hierarchical encoding for dividing an image into a plurality of layers having different numbers of pixels, an image decoding device and an image decoding method, a transmission method, and a recording medium.

【0002】[0002]

【従来の技術】元の画像(原画像)を、第1階層(最上
位階層)の画像として、その画素数を順次少なくした
(解像度を順次低くした)第2階層の画像、第3階層の
画像、・・・を形成する符号化(以下、適宜、階層符号
化という)が提案されている。
2. Description of the Related Art An original image (original image) is used as an image of a first hierarchy (highest hierarchy), an image of a second hierarchy in which the number of pixels is sequentially reduced (resolution is sequentially reduced), and an image of a third hierarchy. Encoding for forming images,... (Hereinafter referred to as hierarchical encoding as appropriate) has been proposed.

【0003】階層符号化によれば、複数の階層の画像
を、送信側から受信側に送信し、受信側では、その複数
の階層の画像それぞれに対応してモニタにより、各階層
の画像を表示することができる。
According to the hierarchical coding, a plurality of hierarchical images are transmitted from a transmitting side to a receiving side, and the receiving side displays the images of each hierarchical level on a monitor corresponding to each of the plurality of hierarchical levels. can do.

【0004】さらに、階層符号化においては、例えば、
最下位階層の画像(最も画素数の少ない画像)について
のデータには、他の階層の画像よりも強力な誤り訂正処
理などが施されるようになされており、これにより、最
下位階層以外の階層の画像について訂正することができ
ない誤りが生じた場合に、最悪でも、最下位階層の画像
についてのデータだけは、受信側において、正常なもの
を得ることができるようになされている。その結果、受
信側では、最下位階層の画像についてのデータから、よ
り上位階層の画像を、例えば補間処理などにより得るこ
とができ、従って、階層符号化によれば、誤りに対する
ロバスト性を向上させることができる。
Further, in hierarchical coding, for example,
Data about the lowest hierarchical image (the image with the least number of pixels) is subjected to a stronger error correction process than the other hierarchical images. When an error that cannot be corrected for a hierarchical image occurs, at worst, only the data for the lowest hierarchical image can be obtained on the receiving side in a normal manner. As a result, on the receiving side, a higher-layer image can be obtained from the data of the lowest-layer image by, for example, an interpolation process. Therefore, according to the hierarchical coding, robustness against errors is improved. be able to.

【0005】図47は、以上のような階層符号化を行
う、従来の画像符号化装置の一例の構成を示している。
符号化すべき画像データは、第1階層(最上位階層)の
データとして、間引き回路11および信号処理回路50
1に供給されるようになされている。
FIG. 47 shows the configuration of an example of a conventional image encoding apparatus that performs the above-described hierarchical encoding.
The image data to be encoded is the data of the first hierarchy (the highest hierarchy) as the thinning circuit 11 and the signal processing circuit 50.
1.

【0006】間引き回路11では、第1階層の画像デー
タの画素数が間引かれることにより、1つ下位の第2階
層の画像データが形成され、間引き回路12および信号
処理回路501に供給される。間引き回路12では、第
2階層の画像データの画素数が間引かれることにより、
さらに1つ下位の第3階層の画像データが形成され、信
号処理回路501に供給される。
In the thinning circuit 11, the number of pixels of the image data of the first hierarchy is thinned to form the image data of the second hierarchy one level lower and supplied to the thinning circuit 12 and the signal processing circuit 501. . In the thinning circuit 12, the number of pixels of the image data of the second hierarchy is thinned,
Further, image data of the third hierarchy lower by one level is formed and supplied to the signal processing circuit 501.

【0007】信号処理回路501では、第1階層乃至第
3階層の画像データに対して、例えば誤り訂正処理その
他の必要な信号処理が施され、その後、多重化されて、
符号化データとして出力される。なお、信号処理回路5
01においては、最下位階層である第3階層の画像デー
タに対しては、他の階層のデータより強力な誤り訂正が
施されるようになされている。
The signal processing circuit 501 performs, for example, error correction processing and other necessary signal processing on the image data of the first to third layers, and thereafter multiplexes the image data.
Output as encoded data. Note that the signal processing circuit 5
In No. 01, image data of the third hierarchy, which is the lowest hierarchy, is subjected to stronger error correction than data of other hierarchies.

【0008】図48は、図47の画像符号化装置から出
力される符号化データを階層復号化する、従来の画像復
号化装置の一例の構成を示している。
FIG. 48 shows a configuration of an example of a conventional image decoding apparatus for hierarchically decoding encoded data output from the image encoding apparatus of FIG.

【0009】信号処理回路601においては、符号化デ
ータが、第1階層乃至第3階層の画像データに分離さ
れ、さらに、誤り訂正処理その他が施されて出力され
る。第1階層の画像データは、第1階層の復号画像とし
てそのまま出力される。また、第2階層の画像データ
は、補間回路602に供給される。補間回路602は、
第2階層の画像データに対して補間処理を施すことによ
り、1つ上位の第1階層の画像データと同一の画素数の
画像データを生成し、第1階層の復号画像として出力す
る。
In the signal processing circuit 601, the encoded data is separated into image data of the first to third layers, further subjected to error correction processing and the like, and output. The image data of the first layer is directly output as a decoded image of the first layer. Further, the image data of the second hierarchy is supplied to the interpolation circuit 602. The interpolation circuit 602
By performing interpolation processing on the image data of the second hierarchy, image data having the same number of pixels as the image data of the first hierarchy one level higher is generated, and is output as a decoded image of the first hierarchy.

【0010】第3階層の画像データは、補間回路603
に供給される。補間回路603は、第3階層の画像デー
タに対して補間処理を施すことにより、1つ上位の第2
階層の画像データと同一の画素数の画像データ、即ち、
第2階層の復号画像を生成し、補間回路604に出力す
る。補間回路604は、補間回路603の出力に対し
て、補間回路602における場合と同様の補間処理を施
すことにより、さらに1つ上位の第1階層の画像データ
と同一の画素数の画像データを生成し、第1階層の復号
画像として出力する。
[0010] The image data of the third hierarchy is supplied to an interpolation circuit 603.
Supplied to The interpolation circuit 603 performs an interpolation process on the image data of the third hierarchy, thereby obtaining the next higher second image data.
Image data having the same number of pixels as the image data of the hierarchy, that is,
A decoded image of the second layer is generated and output to the interpolation circuit 604. The interpolation circuit 604 performs the same interpolation processing on the output of the interpolation circuit 603 as in the case of the interpolation circuit 602, thereby generating image data having the same number of pixels as the image data of the next higher-level first hierarchy. Then, the decoded image is output as a first-layer decoded image.

【0011】従って、画像復号化装置においては、第1
階層の画像データを何らかの原因で得ることができなく
ても、第2階層の画像データから、第1階層の復号画像
を得ることができる。また、同様に、第1階層および第
2階層の画像データを何らかの原因で得ることができな
くても、第3階層の画像データから、第1階層や第2階
層の復号画像を得ることができる。
Therefore, in the image decoding apparatus, the first
Even if the image data of the hierarchy cannot be obtained for some reason, the decoded image of the first hierarchy can be obtained from the image data of the second hierarchy. Similarly, even if image data of the first and second layers cannot be obtained for some reason, decoded images of the first and second layers can be obtained from image data of the third layer. .

【0012】[0012]

【発明が解決しようとする課題】しかしながら、最下位
階層である第3階層の画像データだけから得られる、上
位階層の復号画像は、その画質が著しく劣化したものと
なる。
However, the decoded image of the upper layer obtained only from the image data of the third layer, which is the lowest layer, has a significantly deteriorated image quality.

【0013】本発明は、このような状況に鑑みてなされ
たものであり、最下位階層の符号化データだけからで
も、高画質の復号画像を得ることができるようにするも
のである。
The present invention has been made in view of such a situation, and it is an object of the present invention to obtain a high-quality decoded image only from encoded data of the lowest hierarchy.

【0014】[0014]

【課題を解決するための手段】請求項1に記載の画像符
号化装置は、第1の階層の画像データよりも画素数の少
ない第2の階層の画像データを形成する形成手段と、第
2の階層の画像データを補正し、補正データを出力する
補正手段と、補正データから、第1の階層の画像データ
の予測値を予測する予測手段と、第1の階層の画像デー
タに対する、その予測値の予測誤差を算出する算出手段
と、予測誤差に基づいて、補正手段が出力する補正デー
タの適正さを判定する判定手段と、判定手段による判定
結果に対応して、補正データを、第2階層の画像データ
として出力する出力手段とを備えることを特徴とする。
According to the first aspect of the present invention, there is provided an image coding apparatus, comprising: a second layer image data having a smaller number of pixels than the first layer image data; Correction means for correcting the image data of the first hierarchy, outputting correction data, prediction means for predicting the predicted value of the image data of the first hierarchy from the correction data, and prediction for the image data of the first hierarchy Calculating means for calculating a prediction error of the value, determining means for determining the appropriateness of the correction data output by the correcting means based on the prediction error, and correcting the correction data in accordance with the determination result by the determining means. Output means for outputting as hierarchical image data.

【0015】請求項11に記載の画像符号化方法は、第
1の階層の画像データよりも画素数の少ない第2の階層
の画像データを形成し、第2の階層の画像データを補正
して、補正データを出力し、補正データから、第1の階
層の画像データの予測値を予測し、第1の階層の画像デ
ータに対する、その予測値の予測誤差を算出し、第1の
階層についての予測誤差に基づいて、補正データの適正
さを判定することを繰り返し、適正となった補正データ
を、第2の階層の画像データとすることを特徴とする。
According to the image encoding method of the present invention, the image data of the second layer having a smaller number of pixels than the image data of the first layer is formed, and the image data of the second layer is corrected. , Outputting correction data, predicting a prediction value of the image data of the first layer from the correction data, calculating a prediction error of the prediction value with respect to the image data of the first layer, and calculating a prediction error of the first layer. The determination of the correctness of the correction data based on the prediction error is repeated, and the corrected correction data is used as the image data of the second hierarchy.

【0016】請求項12に記載の画像復号化装置および
請求項18に記載の画像復号化方法、請求項19に記載
の伝送方法、並びに請求項20に記載の記録媒体は、符
号化データが、第1の階層の画像データよりも画素数の
少ない第2の階層の画像データを形成し、第2の階層の
画像データを補正して、補正データを出力し、補正デー
タから、第1の階層の画像データの予測値を予測し、第
1の階層の画像データに対する、その予測値の予測誤差
を算出し、第1の階層についての予測誤差に基づいて、
補正データの適正さを判定することを繰り返し、適正と
なった補正データを、第2の階層の画像データとして含
むことを特徴とする。
According to a twelfth aspect of the present invention, there is provided an image decoding apparatus, an image decoding method according to the eighteenth aspect, a transmission method according to the nineteenth aspect, and a recording medium according to the twentieth aspect, wherein encoded data is Forming image data of a second layer having a smaller number of pixels than image data of the first layer, correcting the image data of the second layer, outputting correction data, and converting the corrected data to the first layer Of the image data of the first hierarchy, the prediction error of the prediction value for the image data of the first hierarchy is calculated, and based on the prediction error of the first hierarchy,
The determination of the correctness of the correction data is repeated, and the corrected correction data is included as the image data of the second hierarchy.

【0017】請求項21に記載の画像符号化装置は、第
1の階層の画像を構成する画素を、その性質に応じて所
定のクラスに分類する分類手段と、クラスごとに、所定
のマッピング係数を記憶しているマッピング係数記憶手
段と、第1の階層の画像の中の、注目している注目画素
と、その注目画素のクラスに対応するマッピング係数と
を用いて所定の演算を行うことにより、第1の階層の画
像データの画素数を少なくした第2の階層の画像データ
を算出する演算手段とを備えることを特徴とする。
According to a twenty-first aspect of the present invention, there is provided an image coding apparatus, comprising: a classifying means for classifying pixels constituting an image of a first hierarchy into a predetermined class according to its properties; and a predetermined mapping coefficient for each class. By performing a predetermined calculation using a mapping coefficient storage unit that stores a target pixel in a first layer image and a mapping coefficient corresponding to the class of the target pixel. Computing means for calculating image data of the second layer in which the number of pixels of the image data of the first layer is reduced.

【0018】請求項28に記載の画像符号化方法は、第
1の階層の画像を構成する画素を、その性質に応じて所
定のクラスに分類し、クラスごとに、所定のマッピング
係数を記憶しているマッピング係数記憶手段から、第1
の階層の画像の中の、注目している注目画素に対応する
クラスのマッピング係数を読み出し、そのマッピング係
数と注目画素とを用いて所定の演算を行うことにより、
第1の階層の画像データの画素数を少なくした第2の階
層の画像データを算出することを特徴とする。
According to the image coding method of the present invention, the pixels constituting the image of the first hierarchy are classified into predetermined classes according to their properties, and a predetermined mapping coefficient is stored for each class. From the stored mapping coefficient storage means,
By reading a mapping coefficient of a class corresponding to a target pixel of interest in the image of the hierarchy of, and performing a predetermined operation using the mapping coefficient and the target pixel,
It is characterized in that image data of a second hierarchy in which the number of pixels of the image data of the first hierarchy is reduced is calculated.

【0019】請求項29に記載の画像復号化装置および
請求項35に記載の画像復号化方法、請求項36に記載
の伝送方法、並びに請求項37に記載の記録媒体は、符
号化データが、第1の階層の画像を構成する画素を、そ
の性質に応じて所定のクラスのうちのいずれかに分類
し、クラスごとに、所定のマッピング係数を記憶してい
るマッピング係数記憶手段から、第1の階層の画像の中
の、注目している注目画素に対応するクラスのマッピン
グ係数を読み出し、そのマッピング係数と注目画素とを
用いて所定の演算を行うことにより得られる、第1の階
層の画像の画素数を少なくした第2の階層の画像を含む
ことを特徴とする。
An image decoding apparatus according to claim 29, an image decoding method according to claim 35, a transmission method according to claim 36, and a recording medium according to claim 37, wherein the encoded data is The pixels constituting the image of the first hierarchy are classified into any one of predetermined classes according to their properties, and the mapping coefficient storage means storing the predetermined mapping coefficients for each class is used for the first class. A first layer image obtained by reading a mapping coefficient of a class corresponding to a target pixel of interest in an image of the first layer, and performing a predetermined operation using the mapping coefficient and the target pixel. Is characterized by including an image of the second hierarchy in which the number of pixels is reduced.

【0020】請求項1に記載の画像符号化装置において
は、形成手段は、第1の階層の画像データよりも画素数
の少ない第2の階層の画像データを形成し、補正手段
は、第2の階層の画像データを補正して、補正データを
出力するようになされている。予測手段は、補正データ
から、第1の階層の画像データの予測値を予測し、算出
手段は、第1の階層の画像データに対する、その予測値
の予測誤差を算出するようになされている。判定手段
は、予測誤差に基づいて、補正手段が出力する補正デー
タの適正さを判定し、出力手段は、判定手段による判定
結果に対応して、補正データを、第2階層の画像データ
として出力するようになされている。
In the image encoding apparatus according to the first aspect, the forming means forms the image data of the second layer having a smaller number of pixels than the image data of the first layer, and the correcting means forms the image data of the second layer. Is corrected and the corrected data is output. The prediction means predicts a predicted value of the image data of the first hierarchy from the correction data, and the calculation means calculates a prediction error of the predicted value with respect to the image data of the first hierarchy. The determining means determines the appropriateness of the correction data output by the correcting means based on the prediction error, and the output means outputs the correction data as second-layer image data in accordance with the determination result by the determining means. It has been made to be.

【0021】請求項11に記載の画像符号化方法におい
ては、第1の階層の画像データよりも画素数の少ない第
2の階層の画像データを形成し、第2の階層の画像デー
タを補正して、補正データを出力し、補正データから、
第1の階層の画像データの予測値を予測し、第1の階層
の画像データに対する、その予測値の予測誤差を算出
し、第1の階層についての予測誤差に基づいて、補正デ
ータの適正さを判定することを繰り返し、適正となった
補正データを、第2の階層の画像データとするようにな
されている。
In the image coding method according to the eleventh aspect, image data of a second layer having a smaller number of pixels than image data of the first layer is formed, and the image data of the second layer is corrected. Output the correction data, and from the correction data,
The prediction value of the image data of the first layer is predicted, the prediction error of the prediction value for the image data of the first layer is calculated, and the appropriateness of the correction data is determined based on the prediction error of the first layer. Is repeated, and the corrected data that becomes appropriate is used as the image data of the second hierarchy.

【0022】請求項12に記載の画像復号化装置および
請求項18に記載の画像復号化方法、請求項19に記載
の伝送方法、並びに請求項20に記載の記録媒体におい
ては、符号化データが、第1の階層の画像データよりも
画素数の少ない第2の階層の画像データを形成し、第2
の階層の画像データを補正して、補正データを出力し、
補正データから、第1の階層の画像データの予測値を予
測し、第1の階層の画像データに対する、その予測値の
予測誤差を算出し、第1の階層についての予測誤差に基
づいて、補正データの適正さを判定することを繰り返
し、適正となった補正データを、第2の階層の画像デー
タとして含んでいる。
In the image decoding device according to the twelfth aspect, the image decoding method according to the eighteenth aspect, the transmission method according to the nineteenth aspect, and the recording medium according to the twentieth aspect, the encoded data is Forming image data of a second layer having a smaller number of pixels than image data of the first layer,
The image data of the hierarchy of is corrected, the correction data is output,
From the correction data, a prediction value of the image data of the first layer is predicted, a prediction error of the prediction value for the image data of the first layer is calculated, and correction is performed based on the prediction error of the first layer. The determination of the appropriateness of the data is repeated, and the corrected data that has become appropriate is included as the image data of the second hierarchy.

【0023】請求項21に記載の画像符号化装置におい
ては、分類手段は、第1の階層の画像を構成する画素
を、その性質に応じて所定のクラスに分類し、マッピン
グ係数記憶手段は、クラスごとに、所定のマッピング係
数を記憶している。演算手段は、第1の階層の画像の中
の、注目している注目画素と、その注目画素のクラスに
対応するマッピング係数とを用いて所定の演算を行うこ
とにより、第1の階層の画像データの画素数を少なくし
た第2の階層の画像データを算出するようになされてい
る。
In the image coding apparatus according to the twenty-first aspect, the classification means classifies the pixels constituting the image of the first hierarchy into a predetermined class according to their properties, and the mapping coefficient storage means comprises: A predetermined mapping coefficient is stored for each class. The calculating means performs a predetermined calculation using the focused pixel of interest in the first hierarchical image and a mapping coefficient corresponding to the class of the focused pixel, thereby obtaining the first hierarchical image. The image data of the second hierarchy in which the number of pixels of the data is reduced is calculated.

【0024】請求項28に記載の画像符号化方法におい
ては、第1の階層の画像を構成する画素を、その性質に
応じて所定のクラスに分類し、クラスごとに、所定のマ
ッピング係数を記憶しているマッピング係数記憶手段か
ら、第1の階層の画像の中の、注目している注目画素に
対応するクラスのマッピング係数を読み出し、そのマッ
ピング係数と注目画素とを用いて所定の演算を行うこと
により、第1の階層の画像データの画素数を少なくした
第2の階層の画像データを算出するようになされてい
る。
In the image coding method according to the present invention, the pixels constituting the image of the first hierarchy are classified into predetermined classes according to their properties, and a predetermined mapping coefficient is stored for each class. A mapping coefficient of a class corresponding to a target pixel of interest in an image of the first layer is read from a mapping coefficient storage unit that performs the operation, and a predetermined operation is performed using the mapping coefficient and the target pixel. Thus, the image data of the second hierarchy in which the number of pixels of the image data of the first hierarchy is reduced is calculated.

【0025】請求項29に記載の画像復号化装置および
請求項35に記載の画像復号化方法、請求項36に記載
の伝送方法、並びに請求項37に記載の記録媒体におい
ては、符号化データが、第1の階層の画像を構成する画
素を、その性質に応じて所定のクラスのうちのいずれか
に分類し、クラスごとに、所定のマッピング係数を記憶
しているマッピング係数記憶手段から、第1の階層の画
像の中の、注目している注目画素に対応するクラスのマ
ッピング係数を読み出し、そのマッピング係数と注目画
素とを用いて所定の演算を行うことにより得られる、第
1の階層の画像の画素数を少なくした第2の階層の画像
を含んでいる。
In the image decoding device according to the present invention, the image decoding method according to the present invention, the transmission method according to the present invention, and the recording medium according to the present invention, the encoded data is The pixels constituting the image of the first hierarchy are classified into any one of predetermined classes according to their properties, and the mapping coefficient storage means storing the predetermined mapping coefficient for each class, The mapping coefficient of the class corresponding to the target pixel of interest in the image of the first layer is read out, and a predetermined operation is performed using the mapping coefficient and the pixel of interest, and the first layer is obtained. It contains an image of the second hierarchy in which the number of pixels of the image is reduced.

【0026】[0026]

【発明の実施の形態】以下に、本発明の実施の形態を説
明するが、その前に、特許請求の範囲に記載の発明の各
手段と以下の実施の形態との対応関係を明らかにするた
めに、各手段の後の括弧内に、対応する実施の形態(但
し、一例)を付加して、本発明の特徴を記述すると、次
のようになる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below, but before that, the correspondence between each means of the invention described in the claims and the following embodiments will be clarified. For this reason, the features of the present invention are described as follows by adding the corresponding embodiment (however, an example) in parentheses after each means.

【0027】即ち、請求項1に記載の画像符号化装置
は、階層符号化を行う画像符号化装置であって、第1の
階層の画像データよりも画素数の少ない第2の階層の画
像データを形成する形成手段(例えば、図2に示す間引
き回路11や12など)と、第2の階層の画像データを
補正し、補正データを出力する補正手段(例えば、図5
に示す補正部21など)と、補正データから、第1の階
層の画像データの予測値を予測する予測手段(例えば、
図5に示すローカルデコード部22など)と、第1の階
層の画像データに対する、その予測値の予測誤差を算出
する算出手段(例えば、図5に示す誤差算出部23な
ど)と、予測誤差に基づいて、補正手段が出力する補正
データの適正さを判定する判定手段(例えば、図5に示
す判定部24など)と、判定手段による判定結果に対応
して、補正データを、第2階層の画像データとして出力
する出力手段(例えば、図5に示す判定部24など)と
を備えることを特徴とする。
That is, an image coding apparatus according to claim 1 is an image coding apparatus for performing hierarchical coding, wherein image data of a second layer having a smaller number of pixels than image data of the first layer. (For example, the thinning circuits 11 and 12 shown in FIG. 2) and a correction unit (for example, FIG. 5) which corrects image data of the second layer and outputs correction data.
And a prediction unit (for example, a prediction unit that predicts a predicted value of the image data of the first layer from the correction data).
A local decoding unit 22 shown in FIG. 5), a calculating unit (for example, an error calculating unit 23 shown in FIG. 5) for calculating a prediction error of a prediction value of the image data of the first hierarchy, A determination unit (for example, the determination unit 24 shown in FIG. 5) that determines the appropriateness of the correction data output by the correction unit based on the correction data, and stores the correction data in the second hierarchy in accordance with the determination result by the determination unit. An output unit (for example, the determination unit 24 shown in FIG. 5) for outputting the image data is provided.

【0028】請求項2に記載の画像符号化装置は、予測
手段が、補正データを、その性質に応じて所定のクラス
に分類する分類手段(例えば、図9に示すクラス分類回
路45など)と、クラスに対応して、予測値を求める予
測値演算手段(例えば、図9に示す適応処理回路46な
ど)とを有することを特徴とする。
According to a second aspect of the present invention, in the image coding apparatus, the predicting means includes a classifying means (for example, a class classifying circuit 45 shown in FIG. 9) for classifying the correction data into a predetermined class according to the nature of the correction data. , A prediction value calculation means (for example, an adaptive processing circuit 46 shown in FIG. 9) for obtaining a prediction value corresponding to each class.

【0029】請求項3に記載の画像符号化装置は、予測
手段が、補正データとの線形結合により予測値を算出す
るための予測係数を求める予測係数演算手段(例えば、
図9に示す適応処理回路46など)と、予測係数および
補正データから、予測値を求める予測値演算手段(例え
ば、図9に示す適応処理回路46など)とを有すること
を特徴とする。
According to a third aspect of the present invention, in the image encoding apparatus, the prediction means calculates a prediction coefficient for calculating a prediction value by linear combination with the correction data.
It is characterized by having an adaptive processing circuit 46 shown in FIG. 9) and predicted value calculating means for obtaining a predicted value from a prediction coefficient and correction data (for example, the adaptive processing circuit 46 shown in FIG. 9).

【0030】請求項4に記載の画像符号化装置は、予測
手段が、補正データを、その性質に応じて所定のクラス
に分類する分類手段(例えば、図9に示すクラス分類回
路45など)と、補正データとの線形結合により予測値
を算出するための予測係数を、クラスごとに求める予測
係数演算手段(例えば、図9に示す適応処理回路46な
ど)と、補正データのクラスについて得られた予測係数
と、その補正データとから、予測値を求める予測値演算
手段(例えば、図9に示す適応処理回路46など)とを
有することを特徴とする。
According to a fourth aspect of the present invention, in the image coding apparatus, the predicting means includes a classifying means (for example, a class classifying circuit 45 shown in FIG. 9) for classifying the correction data into a predetermined class according to the property thereof. The prediction coefficient calculation means (for example, the adaptive processing circuit 46 shown in FIG. 9) for obtaining a prediction coefficient for calculating a prediction value by a linear combination with the correction data for each class and the correction data class are obtained. It is characterized by having prediction value calculation means (for example, an adaptive processing circuit 46 shown in FIG. 9) for obtaining a prediction value from a prediction coefficient and its correction data.

【0031】請求項6に記載の画像符号化装置は、予測
手段が、補正データとの線形結合により予測値を算出す
るための予測係数を、所定のクラスごとに記憶している
予測係数記憶手段(例えば、図22に示す予測係数RO
M88など)と、補正データを、その性質に応じて所定
のクラスのいずれかに分類する分類手段(例えば、図2
2に示すクラス分類回路45など)と、補正データのク
ラスについての予測係数と、その補正データとから、予
測値を求める予測値演算手段(例えば、図22に示す予
測回路89など)とを有することを特徴とする。
According to a sixth aspect of the present invention, in the image coding apparatus, the prediction means stores a prediction coefficient for calculating a prediction value by a linear combination with the correction data for each predetermined class. (For example, the prediction coefficient RO shown in FIG.
M88 and the like, and a classifying means (for example, FIG. 2) for classifying the correction data into one of predetermined classes according to its properties.
2) and prediction value calculating means (for example, a prediction circuit 89 shown in FIG. 22) for obtaining a prediction value from a prediction coefficient for a class of correction data and the correction data. It is characterized by the following.

【0032】請求項9に記載の画像符号化装置は、補正
手段が、第2の階層の画像データを補正するための補正
値を記憶している記憶手段(例えば、図7に示す補正値
ROM33など)を有し、その補正値を用いて、第2の
階層の画像データを補正することを特徴とする。
According to a ninth aspect of the present invention, in the image encoding apparatus, the correcting means stores a correction value for correcting the image data of the second hierarchy (for example, the correction value ROM 33 shown in FIG. 7). And the like, and the image data of the second hierarchy is corrected using the correction value.

【0033】請求項12に記載の画像復号化装置は、階
層符号化により得られた符号化データを復号化する画像
復号化装置であって、符号化データを受信する受信手段
(例えば、図18に示す信号処理回路71など)と、符
号化データを復号化する復号化手段(例えば、図18に
示す予測部72や73など)とを備え、符号化データ
が、第1の階層の画像データよりも画素数の少ない第2
の階層の画像データを形成し、第2の階層の画像データ
を補正して、補正データを出力し、補正データから、第
1の階層の画像データの予測値を予測し、第1の階層の
画像データに対する、その予測値の予測誤差を算出し、
第1の階層についての予測誤差に基づいて、補正データ
の適正さを判定することを繰り返し、適正となった補正
データを、第2の階層の画像データとして含むことを特
徴とする。
An image decoding apparatus according to a twelfth aspect of the present invention is an image decoding apparatus for decoding encoded data obtained by hierarchical encoding, and a receiving means for receiving the encoded data (for example, FIG. 18). And a decoding unit (for example, a prediction unit 72 or 73 shown in FIG. 18) that decodes the encoded data, and the encoded data is the image data of the first layer. Second with fewer pixels than
Forming the image data of the first layer, correcting the image data of the second layer, outputting the corrected data, predicting the predicted value of the image data of the first layer from the corrected data, Calculate the prediction error of the prediction value for the image data,
The determination of the correctness of the correction data based on the prediction error for the first layer is repeated, and the corrected data that has become appropriate is included as image data of the second layer.

【0034】請求項13に記載の画像復号化装置は、復
号化手段が、第2の階層の画像データを、その性質に応
じて所定のクラスに分類する分類手段(例えば、図19
に示すクラス分類回路85など)と、クラスに対応し
て、第1の階層の画像データの予測値を求める予測値演
算手段(例えば、図19に示す予測回路86など)とを
有することを特徴とする。
According to a thirteenth aspect of the present invention, in the image decoding apparatus, the decoding means classifies the image data of the second hierarchy into a predetermined class according to the property thereof (for example, FIG. 19).
And a prediction value calculating means (for example, a prediction circuit 86 shown in FIG. 19) for obtaining a predicted value of the image data of the first layer corresponding to the class. And

【0035】請求項14に記載の画像復号化装置は、符
号化データが、第2の階層の画像データとの線形結合に
より予測値を算出するための予測係数も含んでおり、復
号化手段が、予測係数および第2の階層の画像データか
ら、第1の階層の画像データの予測値を求める予測値演
算手段(例えば、図19に示す予測回路86など)を有
することを特徴とする。
According to a fourteenth aspect of the present invention, in the image decoding apparatus, the encoded data also includes a prediction coefficient for calculating a prediction value by a linear combination with the image data of the second hierarchy. , And a prediction value calculating means (for example, a prediction circuit 86 shown in FIG. 19) for calculating a prediction value of the image data of the first layer from the prediction coefficients and the image data of the second layer.

【0036】請求項15に記載の画像復号化装置は、符
号化データが、第2の階層の画像データとの線形結合に
より予測値を算出するための、所定のクラスごとの予測
係数も含んでおり、復号化手段が、第2の階層の画像デ
ータを、その性質に応じて所定のクラスに分類する分類
手段(例えば、図19に示すクラス分類回路85など)
と、第2の階層の画像データのクラスについての予測係
数と、その第2の階層の画像データとから、第1の階層
の画像データの予測値を求める予測値演算手段(例え
ば、図19に示す予測回路86など)とを有することを
特徴とする。
According to a fifteenth aspect of the present invention, the coded data includes a prediction coefficient for each predetermined class for calculating a predicted value by a linear combination with the image data of the second hierarchy. A decoding unit that classifies the image data of the second hierarchy into a predetermined class according to the property (for example, a class classification circuit 85 shown in FIG. 19);
And a prediction coefficient for the class of the image data of the second layer and the image data of the second layer, a predicted value calculating means for obtaining a predicted value of the image data of the first layer (for example, FIG. Prediction circuit 86).

【0037】請求項16に記載の画像復号化装置は、復
号化手段が、第2の階層の画像データとの線形結合によ
り予測値を算出するための予測係数を、所定のクラスご
とに記憶している予測係数記憶手段(例えば、図31に
示す予測係数ROM87など)と、第2の階層の画像デ
ータを、その性質に応じて所定のクラスのうちのいずれ
かに分類する分類手段(例えば、図31に示すクラス分
類回路85など)と、第2の階層の画像データのクラス
についての予測係数を予測係数記憶手段から読み出し、
その予測係数と第2の階層の画像データとから、第1の
階層の画像データの予測値を求める予測値演算手段(例
えば、図31に示す予測回路86など)とを有すること
を特徴とする。
According to a sixteenth aspect of the present invention, in the image decoding apparatus, the decoding means stores a prediction coefficient for calculating a prediction value by a linear combination with the image data of the second hierarchy for each predetermined class. Prediction coefficient storage means (for example, a prediction coefficient ROM 87 shown in FIG. 31), and a classification means (for example, for classifying image data of the second hierarchy into one of predetermined classes according to the property thereof). A classifying circuit 85 shown in FIG. 31) and a prediction coefficient for the class of the image data of the second layer are read out from the prediction coefficient storage means,
A prediction value calculating means (for example, a prediction circuit 86 shown in FIG. 31) for calculating a prediction value of the image data of the first hierarchy from the prediction coefficient and the image data of the second hierarchy is characterized. .

【0038】請求項21に記載の画像符号化装置は、画
像を階層符号化する画像符号化装置であって、第1の階
層の画像を構成する画素を、その性質に応じて所定のク
ラスに分類する分類手段(例えば、図34に示すクラス
分類回路113など)と、クラスごとに、所定のマッピ
ング係数を記憶しているマッピング係数記憶手段(例え
ば、図34に示すマッピング係数メモリ114など)
と、第1の階層の画像の中の、注目している注目画素
と、その注目画素のクラスに対応するマッピング係数と
を用いて所定の演算を行うことにより、第1の階層の画
像データの画素数を少なくした第2の階層の画像データ
を算出する演算手段(例えば、図34に示す演算回路1
16など)とを備えることを特徴とする。
An image coding apparatus according to a twenty-first aspect is an image coding apparatus for hierarchically encoding an image, wherein pixels constituting an image of a first hierarchical level are classified into a predetermined class according to their properties. Classification means for classifying (for example, class classification circuit 113 shown in FIG. 34) and mapping coefficient storage means for storing predetermined mapping coefficients for each class (for example, mapping coefficient memory 114 shown in FIG. 34)
By performing a predetermined operation using a target pixel of interest in the image of the first layer and a mapping coefficient corresponding to the class of the pixel of interest, the image data of the first layer is obtained. A calculating means for calculating the image data of the second hierarchy in which the number of pixels is reduced (for example, the calculating circuit 1 shown in FIG. 34)
16 etc.).

【0039】請求項28に記載の画像符号化方法は、画
像を階層符号化する画像符号化方法であって、第1の階
層の画像を構成する画素を、その性質に応じて所定のク
ラスに分類し、クラスごとに、所定のマッピング係数を
記憶しているマッピング係数記憶手段(例えば、図34
に示すマッピング係数メモリ114など)から、第1の
階層の画像の中の、注目している注目画素に対応するク
ラスのマッピング係数を読み出し、そのマッピング係数
と注目画素とを用いて所定の演算を行うことにより、第
1の階層の画像データの画素数を少なくした第2の階層
の画像データを算出することを特徴とする。
An image encoding method according to claim 28 is an image encoding method for hierarchically encoding an image, wherein pixels constituting an image of a first hierarchical level are classified into a predetermined class according to their properties. A mapping coefficient storage unit that classifies and stores predetermined mapping coefficients for each class (for example, FIG. 34)
From the mapping coefficient memory 114 shown in FIG. 1), the mapping coefficient of the class corresponding to the target pixel of interest in the image of the first hierarchy is read, and a predetermined operation is performed using the mapping coefficient and the target pixel. By performing the calculation, the image data of the second layer in which the number of pixels of the image data of the first layer is reduced is calculated.

【0040】請求項29に記載の画像復号化装置は、階
層符号化により得られた符号化データを復号化する画像
復号化装置であって、符号化データを受信する受信手段
(例えば、図18に示す信号処理回路71など)と、符
号化データを復号化する復号化手段(例えば、図18に
示す予測部72や73など)とを備え、符号化データ
が、第1の階層の画像を構成する画素を、その性質に応
じて第1のクラスのうちのいずれかに分類し、第1のク
ラスごとに、所定のマッピング係数を記憶しているマッ
ピング係数記憶手段(例えば、図34に示すマッピング
係数メモリ114など)から、第1の階層の画像の中
の、注目している注目画素に対応する第1のクラスのマ
ッピング係数を読み出し、そのマッピング係数と注目画
素とを用いて所定の演算を行うことにより得られる、第
1の階層の画像の画素数を少なくした第2の階層の画像
を含むことを特徴とする。
An image decoding apparatus according to a twenty-ninth aspect is an image decoding apparatus for decoding encoded data obtained by hierarchical encoding, wherein the receiving means (for example, FIG. 18) receives encoded data. And a decoding unit (for example, a prediction unit 72 or 73 shown in FIG. 18) for decoding the encoded data, and the encoded data is used to convert the image of the first layer. The constituent pixels are classified into one of the first classes according to their properties, and a mapping coefficient storage unit (for example, shown in FIG. 34) that stores a predetermined mapping coefficient for each first class. From the mapping coefficient memory 114), a first class mapping coefficient corresponding to the target pixel of interest in the image of the first layer is read, and a predetermined function is performed using the mapping coefficient and the target pixel. Obtained by performing, characterized in that it comprises an image of the second hierarchy with a reduced number of pixels of the image of the first hierarchy.

【0041】請求項30に記載の画像復号化装置は、復
号化手段は、第2の階層の画像データとの線形結合によ
り第1の階層の画像データの予測値を算出するための予
測係数を、第2のクラスごとに記憶している予測係数記
憶手段(例えば、図31に示す予測係数ROM87な
ど)と、第2の階層の画像データを、その性質に応じて
第2のクラスのうちのいずれかに分類する分類手段(例
えば、図31に示すクラス分類回路85など)と、第2
の階層の画像データの第2のクラスについての予測係数
を、予測係数記憶手段から読み出し、その予測係数と第
2の階層の画像データとから、第1の階層の画像の予測
値を求める予測値演算手段(例えば、図31に示す予測
回路86など)とを有することを特徴とする。
According to a thirtieth aspect of the present invention, in the image decoding apparatus, the decoding means calculates a prediction coefficient for calculating a prediction value of the first layer image data by linear combination with the second layer image data. The prediction coefficient storage means (for example, the prediction coefficient ROM 87 shown in FIG. 31) for each of the second classes and the image data of the second hierarchy are stored in the second class in accordance with the properties thereof. Classification means (for example, a class classification circuit 85 shown in FIG. 31) for classifying the
A prediction coefficient for a second class of image data of the second layer from the prediction coefficient storage means, and a prediction value for obtaining a prediction value of an image of the first layer from the prediction coefficient and the image data of the second layer And a calculating means (for example, the prediction circuit 86 shown in FIG. 31).

【0042】請求項35に記載の画像復号化方法は、階
層符号化により得られた符号化データを復号化する画像
復号化方法であって、符号化データが、第1の階層の画
像を構成する画素を、その性質に応じて所定のクラスに
分類し、所定のクラスごとに、所定のマッピング係数を
記憶しているマッピング係数記憶手段(例えば、図34
に示すマッピング係数メモリ114など)から、第1の
階層の画像の中の、注目している注目画素に対応するク
ラスのマッピング係数を読み出し、そのマッピング係数
と注目画素とを用いて所定の演算を行うことにより得ら
れる、第1の階層の画像の画素数を少なくした第2の階
層の画像を含むことを特徴とする。
An image decoding method according to a thirty-fifth aspect of the present invention is an image decoding method for decoding coded data obtained by hierarchical coding, wherein the coded data forms an image of a first hierarchy. The pixels to be classified are classified into predetermined classes according to their properties, and mapping coefficient storage means (for example, FIG. 34) storing predetermined mapping coefficients for each predetermined class.
From the mapping coefficient memory 114 shown in FIG. 1), the mapping coefficient of the class corresponding to the target pixel of interest in the image of the first hierarchy is read, and a predetermined operation is performed using the mapping coefficient and the target pixel. It is characterized by including an image of the second layer obtained by performing the operation, in which the number of pixels of the image of the first layer is reduced.

【0043】請求項36に記載の伝送方法は、階層符号
化により得られた符号化データを伝送する伝送方法であ
って、符号化データが、第1の階層の画像を構成する画
素を、その性質に応じて所定のクラスに分類し、所定の
クラスごとに、所定のマッピング係数を記憶しているマ
ッピング係数記憶手段(例えば、図34に示すマッピン
グ係数メモリ114など)から、第1の階層の画像の中
の、注目している注目画素に対応するクラスのマッピン
グ係数を読み出し、そのマッピング係数と注目画素とを
用いて所定の演算を行うことにより得られる、第1の階
層の画像の画素数を少なくした第2の階層の画像を含む
ことを特徴とする。
A transmission method according to a thirty-sixth aspect is a transmission method for transmitting coded data obtained by hierarchical coding, wherein the coded data replaces pixels constituting an image of a first layer with the pixels. The data is classified into predetermined classes according to the properties, and for each predetermined class, a mapping coefficient storage unit (for example, a mapping coefficient memory 114 shown in FIG. 34) that stores a predetermined mapping coefficient stores the first class. The number of pixels of the first layer image obtained by reading a mapping coefficient of a class corresponding to a target pixel of interest in the image and performing a predetermined operation using the mapping coefficient and the target pixel. The image is characterized by including an image of the second hierarchy in which the number of images is reduced.

【0044】請求項37に記載の記録媒体は、階層符号
化により得られた符号化データが記録されている記録媒
体であって、符号化データが、第1の階層の画像を構成
する画素を、その性質に応じて所定のクラスに分類し、
所定のクラスごとに、所定のマッピング係数を記憶して
いるマッピング係数記憶手段(例えば、図34に示すマ
ッピング係数メモリ114など)から、第1の階層の画
像の中の、注目している注目画素に対応するクラスのマ
ッピング係数を読み出し、そのマッピング係数と注目画
素とを用いて所定の演算を行うことにより得られる、第
1の階層の画像の画素数を少なくした第2の階層の画像
を含むことを特徴とする。
A recording medium according to a thirty-seventh aspect of the present invention is a recording medium on which encoded data obtained by hierarchical encoding is recorded, wherein the encoded data includes pixels constituting an image of a first hierarchy. , Classified into predetermined classes according to their properties,
From a mapping coefficient storage unit (for example, mapping coefficient memory 114 shown in FIG. 34) that stores a predetermined mapping coefficient for each predetermined class, a target pixel of interest in the image of the first layer And a second layer image obtained by reading a mapping coefficient of a class corresponding to the first layer and performing a predetermined operation using the mapping coefficient and the pixel of interest and having a reduced number of pixels of the first layer image. It is characterized by the following.

【0045】なお、勿論この記載は、各手段を上記した
ものに限定することを意味するものではない。
Of course, this description does not mean that each means is limited to those described above.

【0046】図1は、本発明を適用した画像処理システ
ム(システムとは、複数の装置が論理的に集合したもの
をいい、各構成の装置が同一筐体中にあるか否かは問わ
ない)の一実施の形態の構成を示している。
FIG. 1 shows an image processing system to which the present invention is applied (a system refers to a system in which a plurality of devices are logically assembled, and it does not matter whether the devices of each configuration are in the same housing or not. 1) shows the configuration of an embodiment.

【0047】送信装置1には、ディジタル化された画像
データが供給されるようになされている。送信装置1
は、入力された画像データを階層符号化し、その結果得
られる符号化データを、例えば、光ディスクや、光磁気
ディスク、磁気テープ、相変化ディスクその他でなる記
録媒体2に記録し、または、例えば、地上波や、衛星回
線、電話回線、CATV網、インターネットその他の伝
送路3を介して伝送する。
The transmitting apparatus 1 is supplied with digitized image data. Transmission device 1
Is to hierarchically encode the input image data and record the resulting encoded data on a recording medium 2 such as an optical disk, a magneto-optical disk, a magnetic tape, a phase change disk, or The signal is transmitted via a terrestrial wave, a satellite line, a telephone line, a CATV network, the Internet or another transmission path 3.

【0048】受信装置4では、記録媒体2に記録された
符号化データが再生され、または、伝送路3を介して伝
送されてくる符号化データが受信され、その符号化デー
タが階層復号化される。そして、その結果得られる復号
画像が、図示せぬディスプレイに供給されて表示され
る。
In the receiving device 4, the encoded data recorded on the recording medium 2 is reproduced, or the encoded data transmitted via the transmission path 3 is received, and the encoded data is hierarchically decoded. You. Then, the decoded image obtained as a result is supplied to a display (not shown) and displayed.

【0049】なお、以上のような画像処理システムは、
例えば、光ディスク装置や、光磁気ディスク装置、磁気
テープ装置その他の、画像の記録/再生を行う装置や、
あるいはまた、例えば、テレビ電話装置や、テレビジョ
ン放送システム、CATVシステムその他の、画像の伝
送を行う装置などに適用される。また、送信装置1が出
力する符号化データのデータ量が少ないため、図1の画
像処理システムは、伝送レートの低い、例えば、携帯電
話機その他の、移動に便利な携帯端末などにも適用可能
である。
The image processing system described above is
For example, an optical disk device, a magneto-optical disk device, a magnetic tape device, and other devices for recording / reproducing images,
Alternatively, the present invention is applied to, for example, a videophone device, a television broadcasting system, a CATV system, and other devices that transmit images. Further, since the data amount of the encoded data output from the transmission device 1 is small, the image processing system in FIG. 1 can be applied to a low transmission rate, for example, a mobile phone or other portable terminal that is convenient for movement. is there.

【0050】図2は、送信装置1の構成例を示してい
る。
FIG. 2 shows an example of the configuration of the transmitting device 1.

【0051】符号化すべきディジタル画像データ、即
ち、第1階層(最上位階層)の画像データは、第1階層
の符号化データとして、そのまま信号処理回路15に供
給される他、間引き回路11および最適補正データ算出
回路13に供給される。間引き回路11では、第1階層
の画像データの画素数が間引かれることにより、1つ下
位の第2階層の画像データが形成される。即ち、間引き
回路11では、例えば、図3に示すように、第1階層の
画像データ(同図において、○印で示す部分)が1/9
に単純に間引かれ(横方向および縦方向とも1/3に間
引かれ)、これにより第2階層の画像データ(同図にお
いて△印で示す部分)が形成される。この第2階層の画
像データは、間引き回路12および最適補正データ算出
回路13に供給される。
The digital image data to be encoded, that is, the image data of the first hierarchy (highest hierarchy) is supplied to the signal processing circuit 15 as it is as the encoded data of the first hierarchy, and the thinning circuit 11 and the optimal The correction data is supplied to the correction data calculation circuit 13. In the thinning circuit 11, the number of pixels of the image data of the first hierarchy is thinned to form the image data of the second hierarchy one level lower. That is, in the thinning circuit 11, for example, as shown in FIG.
Is simply thinned out (thin in both the horizontal and vertical directions), thereby forming the image data of the second hierarchy (the portion indicated by the triangle in the figure). The image data of the second hierarchy is supplied to the thinning circuit 12 and the optimum correction data calculation circuit 13.

【0052】間引き回路12では、第2階層の画像デー
タの画素数が間引かれることにより、さらに1つ下位の
第3階層の画像データが形成される。即ち、間引き回路
12では、例えば、間引き回路11における場合と同様
に、第2階層の画像データが1/9に単純に間引かれ、
これにより、図3において×印で示す第3階層の画像デ
ータが形成される。この第3階層の画像データは、最適
補正データ算出回路14に供給される。
In the thinning circuit 12, the number of pixels of the image data of the second hierarchy is thinned out to form the image data of the third hierarchy which is lower by one. That is, in the thinning circuit 12, for example, similarly to the case of the thinning circuit 11, the image data of the second hierarchy is simply thinned to 1/9,
Thereby, the image data of the third hierarchy indicated by the mark x in FIG. 3 is formed. The image data of the third hierarchy is supplied to the optimum correction data calculation circuit 14.

【0053】以上のようにして、間引き回路11および
12では、図4に示すように、第1階層の画像データ
(原画像)から、第2階層および第3階層の画像データ
が形成される。
As described above, in the thinning circuits 11 and 12, as shown in FIG. 4, the second layer and the third layer image data are formed from the first layer image data (original image).

【0054】最適補正データ算出回路13では、第2階
層の画像データから、第1階層の階層の復号画像を得る
のに最適な最適補正データ(以下、適宜、第2階層の最
適補正データという)が算出され、第2階層の符号化デ
ータとして信号処理回路15に出力される。最適補正デ
ータ算出回路14においては、最適補正データ算出回路
14が出力する最適補正データを得るのに最適な最適補
正データ(以下、適宜、第3階層の最適補正データとい
う)が算出され、第3階層の符号化データとして信号処
理回路15に供給される。
In the optimum correction data calculation circuit 13, optimum correction data optimal for obtaining a decoded image of the first layer from the image data of the second layer (hereinafter, appropriately referred to as optimum correction data of the second layer). Is calculated and output to the signal processing circuit 15 as encoded data of the second hierarchy. The optimum correction data calculation circuit 14 calculates the optimum correction data (hereinafter, appropriately referred to as the third-layer optimum correction data) suitable for obtaining the optimum correction data output from the optimum correction data calculation circuit 14, The encoded data of the hierarchy is supplied to the signal processing circuit 15.

【0055】ここで、第3階層の最適補正データは、第
2階層の最適補正データを得るのに最適なものであり、
また、第2階層の最適補正データは、第1階層の復号画
像を得るのに最適なものであるから、第3階層の最適補
正データも、第2階層の最適補正データと同様に、第1
階層の復号画像を得るのに最適なものということができ
る。
Here, the optimal correction data of the third hierarchy is optimal for obtaining the optimal correction data of the second hierarchy.
Further, since the second-layer optimal correction data is optimal for obtaining the first-layer decoded image, the third-layer optimal correction data is the same as the second-layer optimal correction data.
It can be said that this is optimal for obtaining a hierarchically decoded image.

【0056】信号処理回路15では、第2階層の符号化
データに含まれる、後述する予測係数(第1階層の予測
係数)が取り出され、第3階層の符号化データの中に含
められる。そして、信号処理回路15では、第1階層乃
至第3階層の符号化データに対して、例えば誤り訂正処
理その他の必要な信号処理が施され、その後、多重化さ
れて、最終的な符号化データとして出力される。なお、
信号処理回路15においては、最下位階層である第3階
層の符号化データに対しては、他の階層の符号化データ
より強力な誤り訂正が施されるようになされている。
The signal processing circuit 15 takes out a prediction coefficient (first-layer prediction coefficient), which will be described later, included in the second-layer encoded data, and includes it in the third-layer encoded data. Then, the signal processing circuit 15 performs, for example, error correction processing and other necessary signal processing on the encoded data of the first to third layers, and then multiplexes the final encoded data. Is output as In addition,
In the signal processing circuit 15, the coded data of the third hierarchy, which is the lowest hierarchy, is subjected to stronger error correction than the coded data of the other hierarchies.

【0057】以上のようにして信号処理回路13から出
力された符号化データが、記録媒体2に記録され、また
は伝送路3を介して伝送される。
The encoded data output from the signal processing circuit 13 as described above is recorded on the recording medium 2 or transmitted via the transmission path 3.

【0058】なお、以上においては、間引き回路11お
よび12において、同一の割合で間引きが行われるもの
としたが、間引き回路11と12で行われる間引きの割
合は、同一である必要はない。
In the above description, the thinning circuits 11 and 12 perform thinning at the same rate. However, the thinning rates performed by the thinning circuits 11 and 12 need not be the same.

【0059】次に、図5は、図2の最適補正データ算出
回路13の構成例を示している。なお、最適補正データ
算出回路14も、最適補正データ算出回路13と同様に
構成されるため、その説明は省略する。
FIG. 5 shows an example of the configuration of the optimum correction data calculation circuit 13 shown in FIG. Note that the optimum correction data calculation circuit 14 is configured similarly to the optimum correction data calculation circuit 13, and a description thereof will be omitted.

【0060】間引き回路11からの第2階層の画像デー
タは、補正部21に供給されるようになされており、ま
た、第1階層の画像データは、ローカルデコード部22
に供給されるようになされている。さらに、第1階層の
画像データは、誤差算出部23にも供給されるようにな
されている。
The second layer image data from the thinning circuit 11 is supplied to the correction unit 21, and the first layer image data is supplied to the local decoding unit 22.
To be supplied. Further, the image data of the first hierarchy is also supplied to the error calculator 23.

【0061】補正部21は、第2階層の画像データを、
判定部24からの制御にしたがって補正するようになさ
れている。補正部21における補正の結果得られる補正
データは、ローカルデコード部22および判定部24に
供給するようになされている。
The correction unit 21 converts the image data of the second hierarchy into
The correction is performed according to the control from the determination unit 24. The correction data obtained as a result of the correction in the correction unit 21 is supplied to the local decoding unit 22 and the determination unit 24.

【0062】ローカルデコード部22は、補正部21か
らの補正データ、即ち、第2階層の画像データの補正結
果に基づいて、その1つ上位の第1階層の予測値を予測
し、誤差算出部23に供給するようになされている。
The local decoding unit 22 predicts a predicted value of the first hierarchy one level higher by one based on the correction data from the correction unit 21, ie, the correction result of the image data of the second hierarchy, and calculates an error. 23.

【0063】なお、ローカルデコード部22は、後述す
るように、補正データとの線形結合によって得られる第
1階層の予測値を算出するためのクラスごとの予測係数
を、補正データと第1階層の画像データ(原画像)とを
用いて求める処理を行い、そのクラスごとの予測係数に
基づいて、第1階層の予測値を求める適応処理を行うよ
うになされており、このとき得られたクラスごとの予測
係数は、判定部24に供給されるようにもなされてい
る。
As will be described later, the local decoding unit 22 calculates a prediction coefficient for each class for calculating a prediction value of the first hierarchy obtained by linear combination with the correction data, and outputs the correction data and the first hierarchy of the first hierarchy. A process is performed using image data (original image), and an adaptive process is performed to obtain a first-layer predicted value based on a prediction coefficient for each class. Are also supplied to the determination unit 24.

【0064】誤差算出部23は、そこに入力される、第
1階層の画像データ(原画像)に対する、ローカルデコ
ード部22からの予測値の予測誤差を算出するようにな
されている。この予測誤差は、誤差情報として、判定部
24に供給されるようになされている。
The error calculator 23 calculates a prediction error of a predicted value from the local decoder 22 with respect to the first-layer image data (original image) input thereto. This prediction error is supplied to the determination unit 24 as error information.

【0065】判定部24は、誤差算出部23からの誤差
情報に基づいて、補正部21が出力した補正データを、
元の画像(ここでは、第1階層の画像)の階層符号化結
果とすることの適正さを判定するようになされている。
そして、判定部24は、補正部21が出力した補正デー
タを、元の画像の階層符号化結果とすることが適正でな
いと判定した場合には、補正部21を制御し、さらに、
第2階層の画像データを補正させ、その結果得られる新
たな補正データを出力させるようになされている。ま
た、判定部24は、補正部21が出力した補正データ
を、元の画像の階層符号化結果とすることが適正である
と判定した場合には、補正部21から供給された補正デ
ータを、最適な補正データ(第2階層の最適補正デー
タ)として多重化部25に供給するとともに、ローカル
デコード部22から供給されたクラスごとの予測係数も
多重化部25に供給するようになされている。
The determination section 24 converts the correction data output from the correction section 21 based on the error information from the error calculation section 23 into
It is determined whether or not the original image (here, the image of the first layer) is to be a layer coding result.
When the determining unit 24 determines that the correction data output from the correcting unit 21 is not appropriate as the result of the hierarchical coding of the original image, the determining unit 24 controls the correcting unit 21 and further performs
The image data of the second hierarchy is corrected, and new correction data obtained as a result is output. When the determining unit 24 determines that the correction data output from the correcting unit 21 is appropriate as the hierarchical encoding result of the original image, the determining unit 24 determines the correction data supplied from the correcting unit 21 as: The correction coefficient is supplied to the multiplexing unit 25 as the optimum correction data (the second-layer optimum correction data), and the prediction coefficient for each class supplied from the local decoding unit 22 is also supplied to the multiplexing unit 25.

【0066】多重化部25は、判定部24からの最適補
正データと、クラスごとの予測係数とを多重化し、その
多重化結果を、第2階層の符号化データとして出力する
ようになされている。
The multiplexing unit 25 multiplexes the optimum correction data from the judging unit 24 and the prediction coefficient for each class, and outputs the multiplexed result as coded data of the second hierarchy. .

【0067】次に、図6のフローチャートを参照して、
その動作について説明する。補正部21に対して、第2
階層の画像データが供給されると、補正部21は、ステ
ップS1において、最初は、補正を行わずに、そのまま
第2階層の画像データを、ローカルデコード部22およ
び判定部24に出力する。ローカルデコード部22で
は、ステップS2において、補正部21からの補正デー
タ(最初は、上述したように、第2階層の画像データそ
のもの)がローカルデコードされる。
Next, referring to the flowchart of FIG.
The operation will be described. For the correction unit 21, the second
When the image data of the hierarchy is supplied, the correction unit 21 outputs the image data of the second hierarchy to the local decoding unit 22 and the determination unit 24 without performing any correction at first in step S1. In step S2, the local decoding unit 22 locally decodes the correction data from the correction unit 21 (initially, the second-layer image data itself as described above).

【0068】即ち、ステップS2では、補正部21から
の補正データとの線形結合によって得られる1つ上位の
第1階層の予測値を算出するためのクラスごとの予測係
数を、補正データと第1階層の画像データとを用いて求
める処理が行われる。さらに、そのクラスごとの予測係
数に基づいて、第1階層の画像の予測値が求められ、誤
差算出部23に供給される。
That is, in step S 2, a prediction coefficient for each class for calculating a prediction value of the first hierarchy one level higher by linear combination with the correction data from the correction unit 21 is calculated by using the correction data and the first data. Processing for obtaining the image data is performed using the image data of the hierarchy. Further, a predicted value of the image of the first layer is obtained based on the prediction coefficient for each class, and is supplied to the error calculating unit 23.

【0069】誤差算出部23は、ローカルデコード部2
2から、第1階層の予測値を受信すると、ステップS3
において、第1階層の画像データに対する、ローカルデ
コード部22からの予測値の予測誤差を算出し、誤差情
報として、判定部24に供給する。判定部24は、誤差
算出部23から誤差情報を受信すると、ステップS4に
おいて、その誤差情報に基づいて、補正部21が出力し
た補正データを、第1階層の画像の階層符号化結果とす
ることの適正さを判定する。
The error calculating section 23 is a local decoding section 2
When the predicted value of the first layer is received from Step 2, Step S3
In, the prediction error of the prediction value from the local decoding unit 22 with respect to the image data of the first hierarchy is calculated and supplied to the determination unit 24 as error information. Upon receiving the error information from the error calculation unit 23, the determination unit 24 uses the correction data output by the correction unit 21 as a layer coding result of the first layer image based on the error information in step S4. Is determined.

【0070】即ち、ステップS4においては、例えば、
誤差情報が所定の閾値ε以下であるかどうかが判定され
る。ステップS4において、誤差情報が所定の閾値ε以
下でないと判定された場合、補正部21が出力した補正
データを、第2階層の画像とするのは適正でないと認識
され、ステップS5に進み、判定部24は、補正部21
を制御し、これにより、第2階層の画像データを補正さ
せる。補正部21は、判定部24の制御にしたがって、
補正量(後述する補正値△)を変えて、第2階層の画像
データを補正し、その結果得られる補正データを、ロー
カルデコード部22および判定部24に出力する。そし
て、ステップS2に戻り、以下、同様の処理が繰り返さ
れる。
That is, in step S4, for example,
It is determined whether the error information is equal to or less than a predetermined threshold ε. If it is determined in step S4 that the error information is not smaller than or equal to the predetermined threshold value ε, it is recognized that it is not appropriate to use the correction data output by the correction unit 21 as an image of the second hierarchy, and the process proceeds to step S5. The unit 24 includes the correction unit 21
To thereby correct the image data of the second layer. The correction unit 21 operates according to the control of the determination unit 24.
The image data of the second layer is corrected by changing the correction amount (correction value す る described later), and the resulting correction data is output to the local decoding unit 22 and the determination unit 24. Then, the process returns to step S2, and thereafter, the same processing is repeated.

【0071】一方、ステップS4において、誤差情報が
所定の閾値ε以下であると判定された場合、補正部21
が出力した補正データを、第2階層の画像とするのは適
正であると認識され、判定部24は、所定の閾値ε以下
の誤差情報が得られたときの補正データを、最適補正デ
ータとして、クラスごとの予測係数とともに、多重化部
25に出力する。多重化部25では、ステップS6にお
いて、判定部24からの最適補正データとクラスごとの
予測係数とが多重化され、その多重化結果が、第2階層
の符号化データとして出力されて、処理を終了する。
On the other hand, if it is determined in step S4 that the error information is equal to or smaller than the predetermined threshold ε,
It is recognized that it is proper to use the correction data output by the second layer as an image of the second hierarchy, and the determination unit 24 sets the correction data obtained when error information equal to or smaller than a predetermined threshold ε is obtained as the optimum correction data. , Together with the prediction coefficients for each class. In step S6, the multiplexing unit 25 multiplexes the optimal correction data from the determination unit 24 and the prediction coefficient for each class, and outputs the multiplexed result as coded data of the second hierarchy. finish.

【0072】以上のように、誤差情報が所定の閾値ε以
下となったときにおける補正データを、第2階層の画像
データとするようにしたので、受信装置4側において
は、その補正データ(最適補正データ)に基づいて、元
の画像(第1階層の画像)とほぼ同一の画像を得ること
が可能となる。
As described above, the correction data when the error information becomes equal to or less than the predetermined threshold value ε is used as the image data of the second hierarchy. Based on the (correction data), it is possible to obtain an image substantially the same as the original image (the image of the first hierarchy).

【0073】なお、最適補正データ算出回路13におい
ては、補正データとの線形結合によって得られる1つ上
位の第1階層の予測値を算出するためのクラスごとの予
測係数を求める処理が、上述したように、第1階層の画
像データを用いて行われるが、最適補正データ算出回路
14では、その処理は、最適補正データ算出回路13が
出力する最適補正データを用いて行われる。但し、最適
補正データ算出回路14には、間引き回路11が出力す
る第2階層の画像をそのまま用いて、適応処理(予測係
数に基づいて予測値を求める処理)を行わせるようにす
ることも可能である。
In the optimum correction data calculation circuit 13, the process of obtaining the prediction coefficient for each class for calculating the prediction value of the first hierarchy one level higher by linear combination with the correction data has been described above. As described above, the processing is performed using the image data of the first hierarchy. In the optimum correction data calculation circuit 14, the processing is performed using the optimum correction data output from the optimum correction data calculation circuit 13. However, the optimal correction data calculation circuit 14 may perform an adaptive process (a process of obtaining a predicted value based on a prediction coefficient) using the second layer image output from the thinning circuit 11 as it is. It is.

【0074】次に、図7は、図5の補正部21の構成例
を示している。
FIG. 7 shows an example of the configuration of the correction unit 21 shown in FIG.

【0075】第2階層の画像データは、補正回路32に
供給されるようになされており、補正回路32は、判定
部24(図5)からの制御信号にしたがって、補正値R
OM33にアドレスを与え、これにより、補正値△を読
み出すようになされている。そして、補正回路32は、
第2階層の画像データに対して、補正値ROM33から
の補正値△を、例えば加算することで、補正データを生
成し、ローカルデコード部22および判定部24に供給
するようになされている。補正値ROM33は、第2階
層の画像データを補正するための、各種の補正値△の組
合せ(例えば、1フレーム分の第2階層の画像データを
補正するための補正値の組合せなど)を記憶しており、
補正回路32から供給されるアドレスに対応する補正値
△の組合せを読み出して、補正回路32に供給するよう
になされている。
The image data of the second hierarchy is supplied to the correction circuit 32. The correction circuit 32 corrects the correction value R in accordance with the control signal from the determination section 24 (FIG. 5).
An address is given to the OM 33, whereby the correction value △ is read. Then, the correction circuit 32
The correction data is generated by adding, for example, a correction value 画像 from the correction value ROM 33 to the image data of the second hierarchy, and is supplied to the local decoding unit 22 and the determination unit 24. The correction value ROM 33 stores a combination of various correction values △ for correcting the image data of the second hierarchy (for example, a combination of correction values for correcting the image data of the second hierarchy for one frame). And
The combination of the correction value △ corresponding to the address supplied from the correction circuit 32 is read and supplied to the correction circuit 32.

【0076】次に、図8を参照して、図7の補正部21
の処理について説明する。
Next, referring to FIG. 8, the correction unit 21 shown in FIG.
Will be described.

【0077】例えば、1フレーム分などの第2階層の画
像データが、補正回路32に供給されると、補正回路3
2は、ステップS11において、その第2階層の画像デ
ータを受信し、ステップS12において、判定部24
(図5)から制御信号を受信したかどうかを判定する。
ステップS12において、制御信号を受信していないと
判定された場合、ステップS13およびS14をスキッ
プして、ステップS15に進み、補正回路32は、第2
階層の画像データを、そのまま補正データとして、ロー
カルデコード部22および判定部24に出力し、ステッ
プS12に戻る。
For example, when the image data of the second hierarchy such as one frame is supplied to the correction circuit 32, the correction circuit 3
2 receives the image data of the second hierarchy in step S11, and determines in step S12
It is determined whether a control signal has been received from (FIG. 5).
If it is determined in step S12 that the control signal has not been received, steps S13 and S14 are skipped, the process proceeds to step S15, and the correction circuit 32
The hierarchical image data is directly output as correction data to the local decoding unit 22 and the determination unit 24, and the process returns to step S12.

【0078】即ち、判定部24は、上述したように、誤
差情報に基づいて、補正部21(補正回路32)を制御
するようになされており、補正回路32において第2階
層の画像データが受信された直後は、まだ、誤差情報が
得られないため(誤差情報が、誤差算出部23から出力
されないため)、判定部24からは制御信号は出力され
ない。このため、第2階層の画像データを受信した直後
は、補正回路32は、その第2階層の画像データを補正
せず(0を加算する補正をして)、そのまま補正データ
として、ローカルデコード部22および判定部24に出
力する。
That is, as described above, the determination section 24 controls the correction section 21 (correction circuit 32) based on the error information, and the correction circuit 32 receives the image data of the second hierarchy. Immediately after the determination, no error information is obtained yet (because the error information is not output from the error calculation unit 23), and thus no control signal is output from the determination unit 24. For this reason, immediately after receiving the image data of the second hierarchy, the correction circuit 32 does not correct the image data of the second hierarchy (corrects by adding 0), but directly uses the local decoding unit as the correction data. 22 and the determination unit 24.

【0079】一方、ステップS12において、判定部2
4からの制御信号を受信したと判定された場合、ステッ
プS13において、補正回路32は、その制御信号にし
たがったアドレスを、補正値ROM33に出力する。こ
れにより、ステップS13では、補正値ROM33か
ら、そのアドレスに記憶されている、1フレーム分の第
2階層の画像データを補正するための補正値△の組合せ
(集合)が読み出され、補正回路32に供給される。補
正回路32は、補正値ROM33から補正値△の組合せ
を受信すると、ステップS14において、1フレームの
第2階層の画像データそれぞれに、対応する補正値△を
加算し、これにより、第2階層の画像データを補正した
補正データを算出する。その後は、ステップS15に進
み、補正データが、補正回路32からローカルデコード
部22および判定部24に出力され、ステップS12に
戻る。
On the other hand, in step S12, the judgment unit 2
If it is determined that the control signal from the control signal 4 has been received, the correction circuit 32 outputs an address according to the control signal to the correction value ROM 33 in step S13. As a result, in step S13, a combination (set) of the correction values 補正 for correcting the one-frame image data of the second hierarchy stored at the address is read from the correction value ROM 33, and the correction circuit 32. Upon receiving the combination of the correction values か ら from the correction value ROM 33, the correction circuit 32 adds the corresponding correction value △ to each of the image data of the second layer of one frame in step S14, and thereby, Correction data obtained by correcting the image data is calculated. Thereafter, the process proceeds to step S15, in which the correction data is output from the correction circuit 32 to the local decoding unit 22 and the determination unit 24, and returns to step S12.

【0080】以上のようにして、補正部21は、判定部
24の制御にしたがって、第2階層の画像データを、種
々の値に補正した補正データを出力することを繰り返
す。
As described above, under the control of the determination unit 24, the correction unit 21 repeatedly outputs the correction data obtained by correcting the image data of the second hierarchy to various values.

【0081】なお、判定部24は、1フレームの画像に
ついての符号化を終了すると、その旨を表す制御信号
を、補正部21に供給するようになされている。補正部
21では、ステップS12において、1フレームの画像
についての符号化が終了した旨の制御信号を、判定部2
4から受信したかどうかも判定されるようになされてお
り、受信したと判定された場合は、そのフレームに対す
る処理を終了する。そして、次のフレームが供給される
のを待って、ステップS11に戻り、再び、ステップS
11からの処理を繰り返す。
When the coding of one frame image is completed, the judging section 24 supplies a control signal indicating this to the correcting section 21. In step S12, the correction unit 21 outputs a control signal indicating that encoding of one frame of image has been completed to the determination unit 2
It is also determined whether or not the frame has been received. If it is determined that the frame has been received, the processing for that frame is terminated. Then, after waiting for the next frame to be supplied, the process returns to step S11, and again returns to step S11.
The processing from step 11 is repeated.

【0082】次に、図9は、図5のローカルデコード部
22の構成例を示している。
FIG. 9 shows an example of the configuration of the local decoding unit 22 shown in FIG.

【0083】補正部21からの補正データは、クラス分
類用ブロック化回路41および予測値計算用ブロック化
回路42に供給されるようになされている。クラス分類
用ブロック化回路41は、補正データを、その性質に応
じて所定のクラスに分類するための単位である、注目し
ている補正データ(注目補正データ)を中心としたクラ
ス分類用ブロックにブロック化するようになされてい
る。
The correction data from the correction unit 21 is supplied to a class classification blocking circuit 41 and a predicted value calculation blocking circuit 42. The class classification blocking circuit 41 is a unit for classifying the correction data into a predetermined class according to the property thereof, and converts the correction data into a class classification block centering on the correction data of interest (correction data of interest). It is made to block.

【0084】即ち、いま、例えば、図10において、○
印で示す画素が第1階層の画像を構成するものとすると
ともに、●印で示す画素が第2階層の画像(補正デー
タ)を構成するものとして、上からi番目で、左からj
番目の補正データ(または画素)をXijと表すとする
と、クラス分類用ブロック化回路41は、注目画素(注
目補正データ)Xijの左上、上、右上、左、右、左下、
下、右下に隣接する8つの画素X(i-1)(j-1)
(i-1)j,X(i-1)(j+1),Xi(j-1),Xi(j+1),X
(i-1)(j- 1),X(i-1)j,X(i+1)(j+1)に、自身を含め、
合計9画素(9の補正データ)で構成されるクラス分類
用ブロックを構成するようになされている。このクラス
分類用ブロックは、クラス分類適応処理回路43に供給
されるようになされている。
That is, for example, in FIG.
It is assumed that the pixel indicated by the mark constitutes the image of the first layer, and the pixel indicated by the mark ● constitutes the image (correction data) of the second layer, i-th from the top and j from the left.
Assuming that the second correction data (or pixel) is represented as X ij , the classifying blocking circuit 41 calculates the upper left, upper, upper right, left, right, lower left, and lower left of the pixel of interest (correction data of interest) X ij
The eight pixels X (i-1) (j-1) adjacent to the lower right and lower right
X (i-1) j , X (i-1) (j + 1) , Xi (j-1) , Xi (j + 1) , X
(i-1) (j- 1) , X (i-1) j , X (i + 1) (j + 1)
A class classification block composed of a total of 9 pixels (9 correction data) is configured. The classification block is supplied to the classification adaptive processing circuit 43.

【0085】なお、この場合、クラス分類用ブロック
は、3×3画素でなる正方形状のブロックで構成される
こととなるが、クラス分類用ブロックの形状は、正方形
である必要はなく、その他、例えば、長方形や、十文字
形、その他の任意な形とすることが可能である。また、
クラス分類用ブロックを構成する画素数も、3×3(横
×縦)の9画素に限定されるものではない。
In this case, the class classification block is constituted by a square block composed of 3 × 3 pixels. However, the shape of the class classification block does not need to be a square. For example, the shape can be a rectangle, a cross, or any other shape. Also,
The number of pixels constituting the class classification block is not limited to 3 × 3 (horizontal × vertical) nine pixels.

【0086】予測値計算用ブロック化回路42は、補正
データを、第1階層の画像の予測値を計算するための単
位である、注目補正データを中心とした予測値計算用ブ
ロックにブロック化するようになされている。即ち、い
ま、図10において、補正データXij(図中、●印で示
す部分)を中心とする、元の画像(ここでは、第1階層
の画像)における3×3の9画素の画素値を、その最も
左から右方向、かつ上から下方向に、Yij(1),Yij
(2),Yij(3),Yij(4),Yij(5),Y
ij(6),Yij(7),Yij(8),Yij(9)と表す
とすると、画素Yij(1)乃至Yij(9)の予測値の計
算のために、予測値計算用ブロック化回路42は、例え
ば、画素Xijを中心とする5×5の25画素X
(i-2)(j-2),X(i-2)( j- 1),X(i-2)j,X(i-2)(j+1)
(i-2)(j+2),X(i-1)(j-2),X(i-1)(j-1)
(i-1)j,X(i-1)(j+1),X(i-1)(j+2),Xi(j-2),X
i(j-1),Xij,Xi(j+1),Xi(j+2),X(i+1)(j-2),X
(i+1)(j-1),X(i+1)j,X(i+1)(j+1),X(i+1)( j+ 2)
(i+2)(j-2),X(i+2)(j-1),X(i+2)j
(i+2)(j+1),X(i+2)(j+2)で構成される正方形状の予
測値計算用ブロック(画素Xijを注目画素(注目補正デ
ータ)とする予測値計算用ブロック)を構成するように
なされている。
The prediction value calculation blocking circuit 42 blocks the correction data into a prediction value calculation block centering on the target correction data, which is a unit for calculating the prediction value of the image of the first hierarchy. It has been made like that. That is, in FIG. 10, the pixel values of 9 pixels of 3 × 3 in the original image (here, the image of the first hierarchy) centered on the correction data X ij (the portion indicated by a mark in the figure). From the left to right and from top to bottom, Y ij (1), Y ij
(2), Y ij (3), Y ij (4), Y ij (5), Y
ij (6), Y ij ( 7), Y ij (8), when the expressed and Y ij (9), for the calculation of the predicted value of the pixel Y ij (1) through Y ij (9), the predicted value The calculation blocking circuit 42 is, for example, a 5 × 5 25 pixel X centered on the pixel X ij.
(i-2) (j-2) , X (i-2) ( j- 1) , X (i-2) j , X (i-2) (j + 1) ,
X (i-2) (j + 2) , X (i-1) (j-2) , X (i-1) (j-1) ,
X (i-1) j , X (i-1) (j + 1) , X (i-1) (j + 2) , Xi (j-2) , X
i (j-1) , Xij , Xi (j + 1) , Xi (j + 2) , X (i + 1) (j-2) , X
(i + 1) (j-1) , X (i + 1) j , X (i + 1) (j + 1) , X (i + 1) ( j + 2) ,
X (i + 2) (j-2) , X (i + 2) (j-1) , X (i + 2) j ,
A square-shaped prediction value calculation block composed of X (i + 2) (j + 1) and X (i + 2) (j + 2) ( a prediction using pixel X ij as a target pixel (target correction data)) (Value calculation block).

【0087】具体的には、例えば、図10において四角
形で囲む、第1階層の画像における画素Y33(1)乃至
33(9)の9画素の予測値の計算のためには、補正デ
ータX11,X12,X13,X14,X15,X21,X22
23,X24,X25,X31,X32,X33,X34,X35,X
41,X42,X43,X44,X45,X51,X52,X53
54,X55により、予測値計算用ブロックが構成され
る。
Specifically, for example, in order to calculate the predicted values of the nine pixels Y 33 (1) to Y 33 (9) in the image of the first layer, which is surrounded by a rectangle in FIG. X 11, X 12, X 13 , X 14, X 15, X 21, X 22,
X 23, X 24, X 25 , X 31, X 32, X 33, X 34, X 35, X
41 , X42 , X43 , X44 , X45 , X51 , X52 , X53 ,
X 54 and X 55 constitute a prediction value calculation block.

【0088】予測値計算用ブロック化回路42において
得られた予測値計算用ブロックは、クラス分類適応処理
回路43に供給されるようになされている。
The prediction value calculation block obtained in the prediction value calculation block circuit 42 is supplied to the class classification adaptive processing circuit 43.

【0089】なお、予測値計算用ブロックについても、
クラス分類用ブロックにおける場合と同様に、その画素
数および形状は、上述したものに限定されるものではな
い。但し、予測値計算用ブロックを構成する画素数は、
クラス分類用ブロックを構成する画素数よりも多くする
のが望ましい。
Note that the predicted value calculation block is also
As in the case of the class classification block, the number and shape of the pixels are not limited to those described above. However, the number of pixels constituting the predicted value calculation block is
It is desirable that the number of pixels is larger than the number of pixels constituting the class classification block.

【0090】また、上述のようなブロック化を行う場合
において(ブロック化以外の処理についても同様)、画
像の画枠付近では、対応する画素が存在しないことがあ
るが、この場合には、例えば、画枠を構成する画素と同
一の画素が、その外側に存在するものとして処理を行
う。
In the case of performing the above-described blocking (the same applies to processing other than blocking), there is a case where there is no corresponding pixel near the image frame of the image. In this case, for example, The processing is performed assuming that the same pixel as the pixel forming the image frame exists outside the pixel.

【0091】クラス分類適応処理回路43は、ADRC
(Adaptive Dynamic Range Coding)処理回路、クラス
分類回路45、および適応処理回路46で構成され、ク
ラス分類適応処理を行うようになされている。
The class classification adaptive processing circuit 43 uses the ADRC
(Adaptive Dynamic Range Coding) is configured by a processing circuit, a class classification circuit 45, and an adaptive processing circuit 46, and performs class classification adaptive processing.

【0092】クラス分類適応処理とは、入力信号を、そ
の特徴に基づいて幾つかのクラスに分類し、各クラスの
入力信号に、そのクラスに適切な適応処理を施すもの
で、大きく、クラス分類処理と適応処理とに分かれてい
る。
The class classification adaptive process is a process of classifying an input signal into several classes based on the characteristics thereof and performing an appropriate adaptive process on the input signal of each class for the class. It is divided into processing and adaptive processing.

【0093】ここで、クラス分類処理および適応処理に
ついて簡単に説明する。
Here, the classification process and the adaptation process will be briefly described.

【0094】まず、クラス分類処理について説明する。First, the class classification processing will be described.

【0095】いま、例えば、図11(A)に示すよう
に、ある注目画素と、それに隣接する3つの画素によ
り、2×2画素でなるブロック(クラス分類用ブロッ
ク)を構成し、また、各画素は、1ビットで表現される
(0または1のうちのいずれかのレベルをとる)ものと
する。この場合、2×2の4画素のブロックは、各画素
のレベル分布により、図11(B)に示すように、16
(=(214)パターンに分類することができる。即
ち、ブロックを構成する注目画素をパターン分けするこ
とができ、このようなパターン分けが、クラス分類処理
であり、クラス分類回路45において行われる。
Now, for example, as shown in FIG. 11A, a block of 2 × 2 pixels (class classification block) is formed by a certain pixel of interest and three adjacent pixels. A pixel is represented by one bit (takes any level of 0 or 1). In this case, as shown in FIG. 11B, a 2 × 2 block of four pixels is divided into 16 blocks according to the level distribution of each pixel.
(= (2 1 ) 4 ) patterns. That is, the pixel of interest constituting the block can be classified into patterns. Such pattern classification is a class classification process, and is performed in the class classification circuit 45.

【0096】なお、クラス分類処理は、画像(ブロック
内の画像)のアクティビティ(画像の複雑さ)(変化の
激しさ)などをも考慮して行うようにすることが可能で
ある。
The class classification process can be performed in consideration of the activity (complexity of the image) (the degree of change) of the image (the image in the block).

【0097】ここで、通常、各画素には、例えば8ビッ
ト程度が割り当てられる。また、本実施の形態において
は、上述したように、クラス分類用ブロックは、3×3
の9画素で構成される。従って、このようなクラス分類
用ブロックを対象にクラス分類処理を行ったのでは、
(289という膨大な数のクラスに分類されることにな
る。$そこで、本実施の形態においては、ADRC処理
回路44において、クラス分類用ブロックに対して、A
DRC処理が施されるようになされており、これによ
り、クラス分類用ブロックを構成する画素のビット数を
小さくすることで、クラス数を削減するようになされて
いる。
Here, usually, for example, about 8 bits are assigned to each pixel. Further, in the present embodiment, as described above, the class classification block is 3 × 3
And 9 pixels. Therefore, if the classification processing is performed on such a classification block,
(2 8 ) It will be classified into a huge number of classes of 9 . Therefore, in the present embodiment, in the ADRC processing circuit 44, A
The DRC process is performed, whereby the number of classes is reduced by reducing the number of bits of pixels constituting the class classification block.

【0098】即ち、例えば、いま、説明を簡単にするた
め、図12(A)に示すように、直線上に並んだ4画素
で構成されるブロックを考えると、ADRC処理におい
ては、その画素値の最大値MAXと最小値MINが検出
される。そして、DR=MAX−MINを、ブロックの
局所的なダイナミックレンジとし、このダイナミックレ
ンジDRに基づいて、ブロックを構成する画素の画素値
がKビットに再量子化される。
That is, for simplicity, for example, as shown in FIG. 12A, a block composed of four pixels arranged on a straight line is considered. Are detected as the maximum value MAX and the minimum value MIN. Then, DR = MAX−MIN is set as a local dynamic range of the block, and based on the dynamic range DR, the pixel values of the pixels forming the block are requantized to K bits.

【0099】即ち、ブロック内の各画素値から、最小値
MINを減算し、その減算値をDR/2Kで除算する。
そして、その結果得られる除算値に対応するコード(A
DRCコード)に変換される。具体的には、例えば、K
=2とした場合、図12(B)に示すように、除算値
が、ダイナミックレンジDRを4(=22)等分して得
られるいずれの範囲に属するかが判定され、除算値が、
最も下のレベルの範囲、下から2番目のレベルの範囲、
下から3番目のレベルの範囲、または最も上のレベルの
範囲に属する場合には、それぞれ、例えば、00B,0
1B,10B、または11Bなどの2ビットにコード化
される(Bは2進数であることを表す)。そして、復号
側においては、ADRCコード00B,01B,10
B、または11Bは、ダイナミックレンジDRを4等分
して得られる最も下のレベルの範囲の中心値L00、下か
ら2番目のレベルの範囲の中心値L01、下から3番目の
レベルの範囲の中心値L10、または最も上のレベルの範
囲の中心値L11に変換され、その値に、最小値MINが
加算されることで復号が行われる。
[0099] That is, from each pixel value in the block, subtracts the minimum value MIN, dividing the subtracted value by DR / 2 K.
Then, the code (A) corresponding to the resulting division value
DRC code). Specifically, for example, K
In the case where = 2, as shown in FIG. 12 (B), it is determined whether the divided value belongs to any range obtained by equally dividing the dynamic range DR by 4 (= 2 2 ).
The range of the lowest level, the range of the second lowest level,
In the case of belonging to the range of the third level from the bottom or the range of the top level, for example, 00B, 0
It is encoded into two bits such as 1B, 10B, or 11B (B represents a binary number). Then, on the decoding side, the ADRC codes 00B, 01B, 10
B or 11B is the center value L 00 of the range of the lowest level obtained by dividing the dynamic range DR into four, the center value L 01 of the range of the second level from the bottom, and the center value L 01 of the third level from the bottom. The conversion is performed to the center value L 10 of the range or the center value L 11 of the range of the highest level, and the minimum value MIN is added to the value to perform decoding.

【0100】ここで、このようなADRC処理はノンエ
ッジマッチングと呼ばれる。
Here, such ADRC processing is called non-edge matching.

【0101】なお、ADRC処理については、本件出願
人が先に出願した、例えば、特開平3−53778号公
報などに、その詳細が開示されている。
The details of the ADRC processing are disclosed in, for example, Japanese Patent Application Laid-Open No. 3-53778 filed earlier by the present applicant.

【0102】ブロックを構成する画素に割り当てられて
いるビット数より少ないビット数で再量子化を行うAD
RC処理を施すことにより、上述したように、クラス数
を削減することができ、このようなADRC処理が、A
DRC処理回路44において行われるようになされてい
る。
AD for performing requantization with a smaller number of bits than the number of bits allocated to the pixels constituting the block
As described above, the number of classes can be reduced by performing the RC processing.
The processing is performed in the DRC processing circuit 44.

【0103】なお、本実施の形態では、クラス分類回路
45において、ADRC処理回路44から出力されるA
DRCコードに基づいて、クラス分類処理が行われる
が、クラス分類処理は、その他、例えば、DPCM(予
測符号化)や、BTC(BlockTruncation Coding)、V
Q(ベクトル量子化)、DCT(離散コサイン変換)、
アダマール変換などを施したデータを対象に行うように
することも可能である。
In the present embodiment, in the class classification circuit 45, A is output from the ADRC processing circuit 44.
The class classification process is performed based on the DRC code. The class classification process includes, for example, DPCM (Predictive Coding), BTC (Block Truncation Coding), and VTC.
Q (vector quantization), DCT (discrete cosine transform),
It is also possible to perform processing on data that has been subjected to Hadamard transformation or the like.

【0104】次に、適応処理について説明する。Next, the adaptive processing will be described.

【0105】例えば、いま、第1階層の画像の画素値y
の予測値E[y]を、その周辺の幾つかの画素の画素値
(ここでは、第2階層の画像データを補正した補正デー
タ)(以下、適宜、学習データという)x1,x2,・・
・と、所定の予測係数w1,w2,・・・の線形結合によ
り規定される線形1次結合モデルにより求めることを考
える。この場合、予測値E[y]は、次式で表すことが
できる。
For example, now, the pixel value y of the image of the first layer
Of the predicted values E [y] of the pixels are corrected by the pixel values of some pixels around the pixels (here, correction data obtained by correcting the image data of the second layer) (hereinafter, appropriately referred to as learning data) x 1 , x 2 ,・ ・
.. And a linear first-order combination model defined by a linear combination of predetermined prediction coefficients w 1 , w 2 ,... In this case, the predicted value E [y] can be expressed by the following equation.

【0106】 E[y]=w11+w22+・・・・・・(1)E [y] = w 1 x 1 + w 2 x 2 +... (1)

【0107】そこで、一般化するために、予測係数wの
集合でなる行列W、学習データの集合でなる行列X、お
よび予測値E[y]の集合でなる行列Y’を、
For generalization, a matrix W composed of a set of prediction coefficients w, a matrix X composed of a set of learning data, and a matrix Y ′ composed of a set of predicted values E [y]

【数1】 で定義すると、次のような観測方程式が成立する。(Equation 1) Defines the following observation equation.

【0108】XW=Y’・・・(2)XW = Y '(2)

【0109】そして、この観測方程式に最小自乗法を適
用して、第1階層の画像の画素値yに近い予測値E
[y]を求めることを考える。この場合、第1階層の画
像の画素値(以下、適宜、教師データという)yの集合
でなる行列Y、および第1階層の画像の画素値yに対す
る予測値E[y]の残差eの集合でなる行列Eを、
Then, the least square method is applied to this observation equation, and a prediction value E close to the pixel value y of the image of the first hierarchy is obtained.
Consider finding [y]. In this case, a matrix Y composed of a set of pixel values y of the image of the first hierarchy (hereinafter, appropriately referred to as teacher data) and a residual e of the predicted value E [y] with respect to the pixel value y of the image of the first hierarchy A matrix E consisting of a set is

【数2】 で定義すると、式(2)から、次のような残差方程式が
成立する。
(Equation 2) From equation (2), the following residual equation is established.

【0110】XW=Y+E・・・(3)XW = Y + E (3)

【0111】この場合、第1階層の画像の画素値yに近
い予測値E[y]を求めるための第1階層の予測係数w
iは、自乗誤差
In this case, the first-layer prediction coefficient w for obtaining the predicted value E [y] close to the pixel value y of the first-layer image
i is the squared error

【数3】 を最小にすることで求めることができる。(Equation 3) Can be obtained by minimizing.

【0112】従って、上述の自乗誤差を予測係数wi
微分したものが0になる場合、即ち、次式を満たす予測
係数wiが、第1階層の画像の画素値yに近い予測値E
[y]を求めるため最適値ということになる。
Therefore, when the above-mentioned square error is differentiated by the prediction coefficient w i , the result becomes 0, that is, the prediction coefficient w i that satisfies the following equation is the prediction value E near the pixel value y of the image of the first layer
This is an optimum value for obtaining [y].

【0113】[0113]

【数4】 ・・・(4)(Equation 4) ... (4)

【0114】そこで、まず、式(3)を、第1階層の予
測係数wiで微分することにより、次式が成立する。
Then, first, the following equation is established by differentiating equation (3) with the prediction coefficient w i of the first hierarchy.

【0115】[0115]

【数5】 ・・・(5)(Equation 5) ... (5)

【0116】式(4)および(5)より、式(6)が得
られる。
From equations (4) and (5), equation (6) is obtained.

【0117】[0117]

【数6】 ・・・(6)(Equation 6) ... (6)

【0118】さらに、式(3)の残差方程式における学
習データx、予測係数w、教師データy、および残差e
の関係を考慮すると、式(6)から、次のような正規方
程式を得ることができる。
Further, the learning data x, the prediction coefficient w, the teacher data y, and the residual e in the residual equation of the equation (3) are obtained.
In consideration of the relationship, the following normal equation can be obtained from Expression (6).

【0119】[0119]

【数7】 ・・・(7)(Equation 7) ... (7)

【0120】式(7)の正規方程式は、求めるべき予測
係数wの数と同じ数だけたてることができ、従って、式
(7)を解くことで、最適な予測係数wを求めることが
できる。なお、式(7)を解くにあたっては、例えば、
掃き出し法(Gauss-Jordanの消去法)などを適用するこ
とが可能である。
The normal equation of the equation (7) can be set by the same number as the number of the prediction coefficients w to be obtained. Therefore, by solving the equation (7), the optimum prediction coefficient w can be obtained. . In solving equation (7), for example,
A sweeping method (Gauss-Jordan elimination method) or the like can be applied.

【0121】以上のようにして、クラスごとに最適な第
1階層の予測係数wを求め、さらに、その予測係数wを
用い、式(1)により、第1階層の画像の画素値yに近
い予測値E[y]を求めるのが適応処理であり、この適
応処理が、適応処理回路46において行われるようにな
されている。
As described above, the optimal first-layer prediction coefficient w is obtained for each class, and further, using the prediction coefficient w, the equation (1) is used to approximate the pixel value y of the first-layer image. The adaptive processing is to obtain the predicted value E [y], and the adaptive processing is performed in the adaptive processing circuit 46.

【0122】なお、適応処理は、間引かれた画像(ここ
では、第2階層の画像)には含まれていない、元の画像
(ここでは、第1階層の画像)に含まれる成分が再現さ
れる点で、補間処理とは異なる。即ち、適応処理では、
式(1)だけを見る限りは、いわゆる補間フィルタを用
いての補間処理と同一であるが、その補間フィルタのタ
ップ係数に相当する予測係数wが、教師データyを用い
ての、いわば学習により求められるため、元の画像に含
まれる成分を再現することができる。このことから、適
応処理は、いわば画像の創造作用がある処理ということ
ができる。
In the adaptive processing, the components contained in the original image (here, the first layer image) which are not included in the thinned image (here, the second layer image) are reproduced. Is different from the interpolation processing. That is, in the adaptive processing,
As far as looking only at equation (1), the interpolation processing is the same as that using a so-called interpolation filter, but a prediction coefficient w corresponding to a tap coefficient of the interpolation filter is obtained by learning using teacher data y, so to speak. Since it is obtained, the components contained in the original image can be reproduced. From this, it can be said that the adaptive processing has a so-called image creation action.

【0123】次に、図13のフローチャートを参照し
て、図9のローカルデコード部22の処理について説明
する。
Next, the processing of the local decoding unit 22 in FIG. 9 will be described with reference to the flowchart in FIG.

【0124】ローカルデコード部22においては、まず
最初に、ステップS21において、補正部21からの補
正データがブロック化される。即ち、クラス分類用ブロ
ック化回路41において、補正データが、注目補正デー
タを中心とする3×3画素のクラス分類用ブロックにブ
ロック化され、クラス分類適応処理回路43に供給され
るとともに、予測値計算用ブロック化回路42におい
て、補正データが、注目補正データを中心とする5×5
画素の予測値計算用ブロックにブロック化され、クラス
分類適応処理回路43に供給される。
In the local decoding unit 22, first, in step S21, the correction data from the correction unit 21 is divided into blocks. That is, in the class classification blocking circuit 41, the correction data is divided into 3 × 3 pixel class classification blocks centered on the target correction data, supplied to the class classification adaptive processing circuit 43, and In the calculation blocking circuit 42, the correction data is 5 × 5 centered on the target correction data.
The block is divided into prediction value calculation blocks for pixels and supplied to the classification adaptive processing circuit 43.

【0125】クラス分類適応処理回路43には、上述し
たように、クラス分類用ブロックおよび予測値計算用ブ
ロックの他、第1階層の画像データが供給されるように
なされており、クラス分類用ブロックはADRC処理部
44に、予測値計算用ブロックおよび第1階層の画像デ
ータは適応処理回路46に供給されるようになされてい
る。
As described above, the class classification adaptive processing circuit 43 is supplied with the first class image data in addition to the class classification block and the predicted value calculation block. Is supplied to the ADRC processing unit 44, and the prediction value calculation block and the image data of the first hierarchy are supplied to the adaptive processing circuit 46.

【0126】ADRC処理回路44は、クラス分類用ブ
ロックを受信すると、ステップS22において、そのク
ラス分類用ブロックに対して、例えば、1ビットのAD
RC(1ビットで再量子化を行うADRC)処理を施
し、これにより、補正データを、1ビットに変換(符号
化)して、クラス分類回路45に出力する。クラス分類
回路45は、ステップS23において、ADRC処理が
施されたクラス分類用ブロックに対して、クラス分類処
理を施す。即ち、クラス分類用ブロックを構成する各画
素のレベル分布の状態を検出し、そのクラス分類用ブロ
ックが属するクラス(そのクラス分類用ブロックを構成
する注目補正データのクラス)を判定する。このクラス
の判定結果は、クラス情報として、適応処理回路46に
供給される。
When the ADRC processing circuit 44 receives the class classification block, in step S22, the ADRC processing circuit 44 applies, for example, 1-bit AD to the class classification block.
An RC (ADRC for performing requantization with one bit) process is performed, whereby the correction data is converted (coded) to one bit and output to the class classification circuit 45. In step S23, the class classification circuit 45 performs a class classification process on the class classification block on which the ADRC process has been performed. That is, the state of the level distribution of each pixel constituting the classifying block is detected, and the class to which the classifying block belongs (the class of the target correction data constituting the classifying block) is determined. The result of this class determination is supplied to the adaptive processing circuit 46 as class information.

【0127】なお、本実施の形態においては、1ビット
のADRC処理が施された3×3の9画素で構成される
クラス分類用ブロックに対して、クラス分類処理が施さ
れるので、各クラス分類用ブロックは、512(=(2
19)のクラスのうちのいずれかに分類されることにな
る。
In the present embodiment, the class classification processing is performed on the class classification block composed of 3 × 3 9 pixels that have been subjected to the 1-bit ADRC processing. The classification block is 512 (= (2
1 ) It will be classified into one of the classes of 9 ).

【0128】そして、ステップS24に進み、適応処理
回路46において、クラス分類回路45からのクラス情
報に基づいて、各クラスごとに適応処理が施され、これ
により、第1階層のクラスごとの予測係数および1フレ
ーム分の予測値が算出される。
Then, the process proceeds to a step S 24, wherein the adaptive processing circuit 46 performs an adaptive process for each class based on the class information from the class classification circuit 45, thereby obtaining a prediction coefficient for each class of the first hierarchy. And a predicted value for one frame is calculated.

【0129】即ち、本実施の形態においては、クラスご
との25×9個の予測係数が、1フレームの補正データ
と第1階層の画像データとから算出される。そして、例
えば、ある1つの補正データに注目した場合に、その注
目補正データに対応する、第1階層の画像の画素と、そ
の画素の周りに隣接する8個の画素の、合計9個の画素
についての予測値が、注目補正データを中心とする5×
5画素でなる予測値計算用ブロックを用いて、適応処理
が行われることにより算出される。
That is, in the present embodiment, 25 × 9 prediction coefficients for each class are calculated from the correction data of one frame and the image data of the first hierarchy. Then, for example, when attention is paid to one piece of correction data, a total of nine pixels of the pixel of the first layer image corresponding to the attention correction data and eight pixels adjacent around the pixel are provided. Is 5 ×, centered on the correction data of interest.
It is calculated by performing adaptive processing using a prediction value calculation block composed of five pixels.

【0130】具体的には、例えば、いま、図10に示し
た補正データX33を中心とする3×3の補正データ
22,X23,X24,X32,X33,X34,X42,X43,X
44でなるクラス分類用ブロック(補正データX33を注目
補正データとして構成されたクラス分類用ブロック)に
ついてのクラス情報Cが、クラス分類回路45から出力
され、また、そのクラス分類用ブロックに対応する予測
値計算用ブロックとして、補正データX33を中心とする
5×5画素の補正データX11,X12,X13,X14
15,X21,X22,X23,X24,X25,X31,X32,X
33,X34,X35,X41,X42,X43,X44,X45
51,X52,X53,X54,X55でなる予測値計算用ブロ
ック(補正データX33を注目補正データとする予測値計
算用ブロック)が、予測値計算用ブロック化回路42か
ら出力されたものとすると、まず、その予測値計算用ブ
ロックを構成する補正データを、学習データとするとと
もに、第1階層の画像における、補正データX33を中心
とする3×3画素(図10において四角形で囲んである
部分)の画素値Y33(1)乃至Y33(9)を、教師デー
タとして、式(7)に示した正規方程式がたてられる。
More specifically, for example, 3 × 3 correction data X 22 , X 23 , X 24 , X 32 , X 33 , X 34 , and X 34 centered on the correction data X 33 shown in FIG. 42 , X 43 , X
Class information C on the class classification block 44 (a class classification block in which the correction data X 33 is configured as the target correction data) is output from the class classification circuit 45, and corresponds to the class classification block. As prediction value calculation blocks, correction data X 11 , X 12 , X 13 , X 14 , and 5 × 5 pixels centered on the correction data X 33 .
X 15, X 21, X 22 , X 23, X 24, X 25, X 31, X 32, X
33 , X34 , X35 , X41 , X42 , X43 , X44 , X45 ,
A prediction value calculation block consisting of X 51 , X 52 , X 53 , X 54 , and X 55 (a prediction value calculation block using the correction data X 33 as target correction data) is output from the prediction value calculation blocking circuit 42. When those, first, the correction data for constituting the predicted values calculating block, with the learning data, in the image of the first hierarchy, the 3 × 3 pixels (Fig. 10 around the correction data X 33 Using the pixel values Y 33 (1) to Y 33 (9) of the rectangle (portion surrounded by a rectangle) as teacher data, a normal equation shown in Expression (7) is established.

【0131】さらに、例えば、1フレームの中の、同一
のクラス情報Cにクラス分類されるクラス分類用ブロッ
クに対応する、他の予測値計算用ブロックについても同
様にして、正規方程式がたてられ、画素値Y33(k)
(ここでは、k=1,2,・・・,9)の予測値E[Y
33(k)]を求めるための予測係数w1(k)乃至w25
(k)(本実施の形態では、1つの予測値を求めるのに
学習データが25個用いられるので、それに対応して、
予測係数wも25個必要となる)を算出することができ
るだけの数の正規方程式が得られると(従って、そのよ
うな数の正規方程式が得られるまでは、ステップS24
では、正規方程式をたてる処理までが行われる)、その
正規方程式を解くことで、クラス情報Cについて、画素
値Y33(k)の予測値E[Y33(k)]を求めるのに最
適な予測係数w1(k)乃至w25(k)が算出される。
Further, for example, a normal equation is similarly set for another predicted value calculation block corresponding to a class classification block classified into the same class information C in one frame. , Pixel value Y 33 (k)
(Here, k = 1, 2,..., 9) predicted value E [Y
33 (k)] to obtain prediction coefficients w 1 (k) to w 25
(K) (In the present embodiment, 25 pieces of learning data are used to obtain one prediction value.
When the number of normal equations sufficient to calculate 25 prediction coefficients w is obtained (therefore, until such a number of normal equations are obtained, step S24 is performed).
Then, the process of establishing a normal equation is performed.) By solving the normal equation, the class information C is most suitable for obtaining the predicted value E [Y 33 (k)] of the pixel value Y 33 (k). Various prediction coefficients w 1 (k) to w 25 (k) are calculated.

【0132】この処理は、各クラスごとに行われ、これ
により、各クラスごとに25×9個の予測係数が算出さ
れる。そして、クラス情報Cに対応する予測係数と、予
測地形算用ブロックとを用い、式(1)に対応する次式
にしたがって、予測値E[Y33(k)]が求められる。
This process is performed for each class, whereby 25 × 9 prediction coefficients are calculated for each class. Then, using the prediction coefficient corresponding to the class information C and the predicted terrain calculation block, a predicted value E [Y 33 (k)] is obtained according to the following equation corresponding to equation (1).

【0133】 E[Y33(k)]=w1(k)X11+w2(k)X12+w3(k)X13 +w4(k)X14+w5(k)X15+w6(k)X21 +w7(k)X22+w8(k)X23+w9(k)X24 +w10(k)X25+w11(k)X31 +w12(k)X32+w13(k)X33 +w14(k)X34+w15(k)X35 +w16(k)X41+w17(k)X42 +w18(k)X43+w19(k)X44 +w20(k)X45+w21(k)X51 +w22(k)X52+w23(k)X53 +w24(k)X54+w25(k)X55 ・・・(8)E [Y 33 (k)] = w 1 (k) X 11 + w 2 (k) X 12 + w 3 (k) X 13 + w 4 (k) X 14 + w 5 (k) X 15 + w 6 ( k) X 21 + w 7 ( k) X 22 + w 8 (k) X 23 + w 9 (k) X 24 + w 10 (k) X 25 + w 11 (k) X 31 + w 12 (k) X 32 + w 13 (k ) X 33 + w 14 (k) X 34 + w 15 (k) X 35 + w 16 (k) X 41 + w 17 (k) X 42 + w 18 (k) X 43 + w 19 (k) X 44 + w 20 (k) X 45 + w 21 (k) X 51 + w 22 (k) X 52 + w 23 (k) X 53 + w 24 (k) X 54 + w 25 (k) X 55 (8)

【0134】ステップS24では、以上のようにして、
25×9の予測係数が、クラスごとに求められ、さら
に、そのクラスごとの予測係数を用いて、注目補正デー
タを中心とする3×3の原画像の画素の予測値が求めら
れる。
In step S24, as described above,
A 25 × 9 prediction coefficient is obtained for each class, and a prediction value of a 3 × 3 original image pixel centering on the target correction data is obtained using the prediction coefficient for each class.

【0135】その後、ステップS25に進み、クラスご
との25×9の予測係数は判定部24に供給され、3×
3画素単位で求められた1フレーム分の予測値は誤差算
出部23に供給される。そして、ステップS21に戻
り、以下同様の処理が、例えば、上述したように1フレ
ーム単位で繰り返される。
Thereafter, the flow advances to step S25, where the 25 × 9 prediction coefficients for each class are supplied to the judgment section 24,
The prediction value for one frame obtained in units of three pixels is supplied to the error calculation unit 23. Then, the process returns to step S21, and the same process is repeated for each frame as described above, for example.

【0136】次に、図14は、図5の誤差算出部23の
構成例を示している。
Next, FIG. 14 shows an example of the configuration of the error calculator 23 in FIG.

【0137】ブロック化回路51には、元の画像デー
タ、即ち、ここでは第1階層の画像データが供給される
ようになされており、そこでは、ブロック化回路51
は、その画像データを、ローカルデコード部22から出
力される第1階層の予測値に対応する9個単位でブロッ
ク化し、その結果得られる3×3画素のブロックを、自
乗誤差算出回路52に出力するようになされている。自
乗誤差算出部52には、上述したように、ブロック化回
路51からブロックが供給される他、ローカルデコード
部22から第1階層の予測値が、9個単位(3×3画素
のブロック単位)で供給されるようになされており、自
乗誤差算出回路52は、第1階層の画像に対する、その
予測値の予測誤差としての自乗誤差を算出し、積算部5
5に供給するようになされている。
The original image data, that is, the image data of the first hierarchy here, is supplied to the blocking circuit 51.
Divides the image data into blocks each of which corresponds to a first-layer prediction value output from the local decoding unit 22 and outputs the resulting 3 × 3 pixel block to the square error calculation circuit 52. It has been made to be. As described above, the square error calculating unit 52 is supplied with the blocks from the blocking circuit 51, and receives the predicted values of the first hierarchy from the local decoding unit 22 in units of nine (3 × 3 pixel block units). The square error calculation circuit 52 calculates a square error as a prediction error of a prediction value of the image of the first hierarchy, and calculates the square error.
5.

【0138】即ち、自乗誤差算出回路は52は、演算器
53および54で構成されている。演算器53は、ブロ
ック化回路51からのブロック化された画像データそれ
ぞれから、対応する予測値を減算し、その減算値を、演
算器54に供給するようになされている。演算器54
は、演算器53の出力(第1階層の画像データとその予
測値との差分)を自乗し、積算部55に供給するように
なされている。
That is, the square error calculation circuit 52 is composed of arithmetic units 53 and 54. The computing unit 53 subtracts a corresponding predicted value from each of the blocked image data from the blocking circuit 51 and supplies the subtracted value to the computing unit 54. Arithmetic unit 54
Is configured to square the output of the arithmetic unit 53 (the difference between the image data of the first hierarchy and its predicted value) and supply it to the integrating unit 55.

【0139】積算部55は、自乗誤差算出回路52から
自乗誤差を受信すると、メモリ56の記憶値を読み出
し、その記憶値と自乗誤差とを加算して、再び、メモリ
56に供給して記憶させることを繰り返すことで、自乗
誤差の積算値(誤差分散)を求めるようになされてい
る。さらに、積算部55は、所定量(例えば、1フレー
ム分など)についての自乗誤差の積算が終了すると、そ
の積算値を、メモリ56から読み出し、誤差情報とし
て、判定部24に供給するようになされている。メモリ
56は、1フレームについての処理が終了するごとに、
その記憶値をクリアしながら、積算部55の出力値を記
憶するようになされている。
When receiving the squared error from the squared error calculating circuit 52, the integrating section 55 reads the stored value of the memory 56, adds the stored value and the squared error, and supplies the stored value to the memory 56 again for storage. By repeating this, the integrated value (error variance) of the square error is obtained. Further, when the integration of the square error for a predetermined amount (for example, for one frame) is completed, the integrating unit 55 reads out the integrated value from the memory 56 and supplies the integrated value to the determining unit 24 as error information. ing. Each time the processing for one frame is completed, the memory 56
The output value of the integrating unit 55 is stored while clearing the stored value.

【0140】次に、その動作について、図15のフロー
チャートを参照して説明する。誤差算出部23では、ま
ず最初に、ステップS31において、メモリ56の記憶
値が、例えば0にクリアされ、ステップS32に進み、
ブロック化回路51において、第1階層の画像データ
が、上述したようにブロック化され、その結果得られる
ブロックが、自乗誤差算出回路52に供給される。自乗
誤差算出回路52では、ステップS33において、ブロ
ック化回路51から供給されるブロックを構成する、第
1階層の画像の画像データと、ローカルデコード部22
から供給される第1階層の予測値との自乗誤差が算出さ
れる。
Next, the operation will be described with reference to the flowchart of FIG. In the error calculator 23, first, in step S31, the stored value of the memory 56 is cleared to, for example, 0, and the process proceeds to step S32.
In the blocking circuit 51, the image data of the first hierarchy is blocked as described above, and the resulting block is supplied to the square error calculation circuit 52. In the square error calculation circuit 52, in step S33, the image data of the image of the first hierarchy, which constitutes the block supplied from the blocking circuit 51, and the local decoding unit 22
Is calculated with respect to the first-layer prediction value supplied from.

【0141】即ち、ステップS33では、演算器53に
おいて、ブロック化回路51より供給されたブロック化
された第1階層の画像データそれぞれから、対応する予
測値が減算され、演算器54に供給される。さらに、ス
テップS33では、演算器54において、演算器53の
出力が自乗され、積算部55に供給される。
That is, in step S 33, the corresponding predicted value is subtracted from each of the blocked first-layer image data supplied from the blocking circuit 51 in the computing unit 53 and supplied to the computing unit 54. . Further, in step S33, the output of the arithmetic unit 53 is squared in the arithmetic unit 54 and supplied to the integrating unit 55.

【0142】積算部55は、自乗誤差算出回路52から
自乗誤差を受信すると、ステップS34において、メモ
リ56の記憶値を読み出し、その記憶値と自乗誤差とを
加算することで、自乗誤差の積算値を求める。積算部5
5において算出された自乗誤差の積算値は、メモリ56
に供給され、前回の記憶値に上書きされることで記憶さ
れる。
Upon receiving the squared error from the squared error calculation circuit 52, the integrating unit 55 reads the stored value of the memory 56 in step S34 and adds the stored value and the squared error to obtain the integrated value of the squared error. Ask for. Accumulator 5
5 is stored in the memory 56
And is stored by overwriting the previous stored value.

【0143】そして、積算部55では、ステップS35
において、所定量としての、例えば、1フレーム分につ
いての自乗誤差の積算が終了したかどうかが判定され
る。ステップS35において、1フレーム分についての
自乗誤差の積算が終了していないと判定された場合、ス
テップS32に戻り、再び、ステップS32からの処理
を繰り返す。また、ステップS35において、1フレー
ム分についての自乗誤差の積算が終了したと判定された
場合、ステップS36に進み、積算部55は、メモリ5
6に記憶された1フレーム分についての自乗誤差の積算
値を読み出し、誤差情報として、判定部24に出力す
る。そして、ステップS31に戻り、再び、ステップS
31からの処理を繰り返す。
Then, in the integrating section 55, step S35
In, it is determined whether or not the integration of the square error for a predetermined amount, for example, for one frame is completed. If it is determined in step S35 that the integration of the square error for one frame has not been completed, the process returns to step S32, and the processing from step S32 is repeated again. If it is determined in step S35 that the integration of the square error for one frame has been completed, the process proceeds to step S36, where the integration unit 55
Then, the integrated value of the squared error for one frame stored in 6 is read out and output to the determination unit 24 as error information. Then, the process returns to step S31, and again returns to step S31.
The processing from 31 is repeated.

【0144】従って、誤差算出部23では、第1階層の
画像データをYij(k)とするとともに、ローカルデコ
ード部22において補正データから生成された第1階層
の予測値をE[Yij(k)]とするとき、次式にしたが
った演算が行われることで、誤差情報Qが算出される。
Accordingly, the error calculating section 23 sets the image data of the first hierarchy to Y ij (k), and sets the predicted value of the first hierarchy generated from the correction data in the local decoding section 22 to E [Y ij (k). k)], the error information Q is calculated by performing the calculation according to the following equation.

【0145】 Q=Σ(Yij(k)−E[Yij(k)])2 但し、Σは、1フレーム分についてのサメーションを意
味する。
Q = {(Y ij (k) −E [Y ij (k)]) 2 Here, Σ means summation for one frame.

【0146】次に、図16は、図5の判定部24の構成
例を示している。
Next, FIG. 16 shows an example of the configuration of the determination section 24 of FIG.

【0147】予測係数メモリ61は、ローカルデコード
部22から供給される予測係数を記憶するようになされ
ている。補正データメモリ62は、補正部21から供給
される補正データを記憶するようになされている。
The prediction coefficient memory 61 stores prediction coefficients supplied from the local decoding unit 22. The correction data memory 62 stores the correction data supplied from the correction unit 21.

【0148】なお、補正データメモリ62は、補正部2
1において、第2階層の画像データが新たに補正され、
これにより、新たな補正データが供給された場合には、
既に記憶している補正データ(前回の補正データ)に代
えて、新たな補正データを記憶するようになされてい
る。また、このように補正データが、新たなものに更新
された後、ローカルデコード部22からは、その新たな
補正データに対応する、新たなクラスごとの予測係数の
セットが出力されるが、予測係数メモリ61において
も、このように新たなクラスごとの予測係数が供給され
た場合には、既に記憶しているクラスごとの予測係数
(前回のクラスごとの予測係数)に代えて、その新たな
クラスごとの予測係数を記憶するようになされている。
It should be noted that the correction data memory 62 stores the correction unit 2
In 1, the image data of the second layer is newly corrected,
As a result, when new correction data is supplied,
New correction data is stored in place of the correction data already stored (previous correction data). After the correction data is updated to a new one, the local decoding unit 22 outputs a new set of prediction coefficients for each class corresponding to the new correction data. When a new prediction coefficient for each class is thus supplied to the coefficient memory 61 as well, the new prediction coefficient for each class (the previous prediction coefficient for each class) is replaced with the new prediction coefficient. The prediction coefficients for each class are stored.

【0149】誤差情報メモリ63は、誤差算出部23か
ら供給される誤差情報を記憶するようになされている。
なお、誤差情報メモリ63は、誤差算出部23から、今
回供給された誤差情報の他に、前回供給された誤差情報
も記憶するようになされている(新たな誤差情報が供給
されても、さらに新たな誤差情報が供給されるまでは、
既に記憶している誤差情報を保持するようになされてい
る)。また、誤差情報メモリ63は、新たなフレームに
ついての処理が開始されるごとにクリアされるようにな
されている。
The error information memory 63 stores the error information supplied from the error calculator 23.
The error information memory 63 stores the error information supplied last time in addition to the error information supplied this time from the error calculation unit 23 (even if new error information is supplied, Until new error information is provided,
The error information already stored is retained). Further, the error information memory 63 is cleared each time a process for a new frame is started.

【0150】比較回路64は、誤差情報メモリ63に記
憶された今回の誤差情報と、所定の閾値εとを比較し、
さらに、必要に応じて、今回の誤差情報と前回の誤差情
報との比較も行うようになされている。比較回路64に
おける比較結果は、制御回路65に供給されるようにな
されている。
The comparison circuit 64 compares the current error information stored in the error information memory 63 with a predetermined threshold value ε.
Further, if necessary, the current error information is compared with the previous error information. The comparison result in the comparison circuit 64 is supplied to the control circuit 65.

【0151】制御回路65は、比較回路64における比
較結果に基づいて、補正データメモリ62に記憶された
補正データを、画像の符号化結果とすることの適正(最
適)さを判定し、最適でないと認識(判定)した場合に
は、新たな補正データの出力を要求する制御信号を、補
正部21(図5)に供給するようになされている。ま
た、制御回路65は、補正データメモリ62に記憶され
た補正データを、画像の符号化結果とすることが最適で
あると認識した場合には、予測係数メモリ61に記憶さ
れているクラスごとの予測係数を読み出し、多重化部2
5に出力するとともに、補正データメモリ62に記憶さ
れている補正データを読み出し、最適補正データとし
て、やはり多重化部25に供給するようになされてい
る。さらに、この場合、制御回路65は、1フレームの
画像についての符号化を終了した旨を表す制御信号を、
補正部21に出力し、これにより、上述したように、補
正部21に、次のフレームについての処理を開始させる
ようになされている。
The control circuit 65 determines, based on the comparison result of the comparison circuit 64, whether the correction data stored in the correction data memory 62 is appropriate (optimal) as the image encoding result, and is not optimal. When it is recognized (determined), a control signal requesting the output of new correction data is supplied to the correction unit 21 (FIG. 5). When the control circuit 65 recognizes that it is optimal to use the correction data stored in the correction data memory 62 as the image encoding result, the control circuit 65 stores the correction data for each class stored in the prediction coefficient memory 61. The prediction coefficient is read out, and the multiplexing unit 2
5, the correction data stored in the correction data memory 62 is read out, and is also supplied to the multiplexing unit 25 as optimal correction data. Further, in this case, the control circuit 65 outputs a control signal indicating that encoding of the image of one frame has been completed,
This is output to the correction unit 21, thereby causing the correction unit 21 to start processing for the next frame, as described above.

【0152】次に、図17を参照して、判定部24の動
作について説明する。判定部24では、まず最初に、ス
テップS41において、誤差算出部23から誤差情報を
受信したかどうかが、比較回路64によって判定され、
誤差情報を受信していないと判定された場合、ステップ
S41に戻る。また、ステップS41において、誤差情
報を受信したと判定された場合、即ち、誤差情報メモリ
63に誤差情報が記憶された場合、ステップS42に進
み、比較回路64において、誤差情報メモリ63に、い
ま記憶された誤差情報(今回の誤差情報)と、所定の閾
値εとが比較され、いずれが大きいかが判定される。
Next, the operation of the determination section 24 will be described with reference to FIG. In the determination unit 24, first, in step S41, the comparison circuit 64 determines whether or not error information has been received from the error calculation unit 23.
If it is determined that the error information has not been received, the process returns to step S41. If it is determined in step S41 that the error information has been received, that is, if the error information has been stored in the error information memory 63, the process proceeds to step S42, where the comparison circuit 64 stores the error information in the error information memory 63. The obtained error information (current error information) is compared with a predetermined threshold value ε to determine which is larger.

【0153】ステップS42において、今回の誤差情報
が、所定の閾値ε以上であると判定された場合、比較回
路64において、誤差情報メモリ63に記憶されている
前回の誤差情報が読み出される。そして、比較回路64
は、ステップS43において、前回の誤差情報と、今回
の誤差情報とを比較し、いずれが大きいかを判定する。
If it is determined in step S42 that the current error information is equal to or larger than the predetermined threshold ε, the comparison circuit 64 reads the previous error information stored in the error information memory 63. Then, the comparison circuit 64
In step S43, the previous error information is compared with the current error information to determine which is larger.

【0154】ここで、1フレームについての処理が開始
され、最初に誤差情報が供給されたときには、誤差情報
メモリ63には、前回の誤差情報は記憶されていないの
で、この場合には、判定部24においては、ステップS
43以降の処理は行われず、制御回路65において、所
定の初期アドレスを出力するように、補正回路32(図
7)を制御する制御信号が出力されるようになされてい
る。
Here, when the processing for one frame is started and error information is first supplied, the error information memory 63 does not store the previous error information. In step 24, step S
The processing after 43 is not performed, and the control circuit 65 outputs a control signal for controlling the correction circuit 32 (FIG. 7) so as to output a predetermined initial address.

【0155】ステップS43において、今回の誤差情報
が、前回の誤差情報以下であると判定された場合、即
ち、第2階層の画像データの補正を行うことにより誤差
情報が減少した場合、ステップS44に進み、制御回路
65は、補正値△を、前回と同様に変化させるように指
示する制御信号を、補正回路32に出力し、ステップS
41に戻る。また、ステップS43において、今回の誤
差情報が、前回の誤差情報より大きいと判定された場
合、即ち、第2階層の画像データの補正を行うことによ
り誤差情報が増加した場合、ステップS45に進み、制
御回路65は、補正値△を、前回と逆に変化させるよう
に指示する制御信号を、補正回路32に出力し、ステッ
プS41に戻る。
If it is determined in step S43 that the current error information is equal to or less than the previous error information, that is, if the error information is reduced by correcting the image data of the second hierarchy, the process proceeds to step S44. Then, the control circuit 65 outputs to the correction circuit 32 a control signal for instructing the correction value △ to be changed in the same manner as the previous time, and
Return to 41. If it is determined in step S43 that the current error information is larger than the previous error information, that is, if the error information is increased by correcting the image data of the second hierarchy, the process proceeds to step S45. The control circuit 65 outputs to the correction circuit 32 a control signal for instructing the correction value △ to be changed in the reverse of the previous time, and returns to step S41.

【0156】なお、減少し続けていた誤差情報が、ある
タイミングで上昇するようになったときは、制御回路6
5は、補正値△を、いままでの場合の、例えば1/2の
大きさで、前回と逆に変化させるように指示する制御信
号を出力するようになされている。
When the error information, which has been decreasing, starts to rise at a certain timing, the control circuit 6
Reference numeral 5 denotes a control signal for instructing the correction value で to be changed, for example, by half the size of the previous case, in the opposite manner to the previous time.

【0157】そして、ステップS41乃至S45の処理
を繰り返すことにより、誤差情報が減少し、これによ
り、ステップS42において、今回の誤差情報が、所定
の閾値εより小さいと判定された場合、ステップS46
に進み、制御回路65は、予測係数メモリ61に記憶さ
れているクラスごとの予測係数を読み出すとともに、補
正データメモリ62に記憶されている1フレーム分の補
正データを、最適補正データとして読み出し、多重化部
25に供給して、処理を終了する。
By repeating the processing of steps S41 to S45, the error information decreases. As a result, if it is determined in step S42 that the current error information is smaller than the predetermined threshold value ε, the process proceeds to step S46.
The control circuit 65 reads the prediction coefficient for each class stored in the prediction coefficient memory 61, reads the correction data for one frame stored in the correction data memory 62 as optimal correction data, and multiplexes the data. And the process is terminated.

【0158】その後は、次のフレームについての誤差情
報が供給されるのを待って、再び、図17に示すフロー
チャートにしたがった処理を繰り返す。
After that, after the error information for the next frame is supplied, the processing according to the flowchart shown in FIG. 17 is repeated.

【0159】なお、補正回路32には、第2階層の画像
データの補正は、1フレームすべてのデータについて行
わせるようにすることもできるし、その一部のデータに
ついてだけ行わせるようにすることもできる。一部のデ
ータについてだけ補正を行う場合においては、制御回路
65に、例えば、誤差情報に対する影響の強い画素を検
出させ、そのような画素についてのデータだけを補正す
るようにすることができる。誤差情報に対する影響の強
い画素は、例えば、次のようにして検出することができ
る。即ち、まず最初に、第2階層の画像データをそのま
ま用いて処理を行うことにより、その誤差情報を得る。
そして、第2階層の画像データを、1画素ずつ、同一の
補正値△だけ補正するような処理を行わせる制御信号
を、制御回路65から補正回路32に出力し、その結果
得られる誤差情報を、第2階層の画像データをそのまま
用いた場合に得られる誤差情報と比較し、その差が、所
定値以上となる画素を、誤差情報に対する影響の強い画
素として検出すれば良い。
It is to be noted that the correction circuit 32 can correct the image data of the second layer for all data of one frame or only for a part of the data. Can also. In a case where correction is performed only on a part of the data, the control circuit 65 may be made to detect, for example, a pixel having a strong influence on the error information, and only the data on such a pixel may be corrected. Pixels having a strong influence on error information can be detected, for example, as follows. That is, first, the error information is obtained by performing processing using the image data of the second hierarchy as it is.
Then, a control signal for causing the image data of the second hierarchy to be corrected by the same correction value △ pixel by pixel is output from the control circuit 65 to the correction circuit 32, and the resulting error information is output. It is sufficient to compare the error information obtained when the image data of the second hierarchy is used as it is, and detect a pixel whose difference is equal to or more than a predetermined value as a pixel having a strong influence on the error information.

【0160】以上のように、誤差情報を所定の閾値εよ
り小さくする(以下にする)まで、第2階層の画像デー
タの補正が繰り返され、誤差情報が所定の閾値εより小
さくなったときにおける補正データが、画像の符号化結
果として出力されるので、受信装置4(図1)において
は、間引き後の画像を構成する画素の画素値を、元の画
像を復元するのに最も適当な値にした補正データ(最適
補正データ)から、原画像と同一(ほぼ同一)の復号画
像を得ることが可能となる。
As described above, the correction of the image data of the second hierarchy is repeated until the error information is made smaller than the predetermined threshold ε (below), and when the error information becomes smaller than the predetermined threshold ε. Since the correction data is output as a result of encoding the image, the receiving device 4 (FIG. 1) sets the pixel values of the pixels constituting the decimated image to the most appropriate values for restoring the original image. From the corrected data (optimized correction data), it is possible to obtain the same (almost the same) decoded image as the original image.

【0161】また、画像は、間引き処理により圧縮され
る他、ADRC処理およびクラス分類適応処理などによ
っても圧縮されるため、非常に高圧縮率の符号化データ
を得ることができる。なお、送信装置1における、以上
のような符号化処理は、間引きによる圧縮処理と、クラ
ス分類適応処理とを、いわば有機的に統合して用いるこ
とにより、高能率圧縮を実現するものであり、このこと
から統合符号化処理ということができる。
Further, since the image is compressed not only by the thinning process but also by the ADRC process, the class classification adaptive process, etc., it is possible to obtain encoded data with a very high compression ratio. The above-described encoding processing in the transmission device 1 realizes high-efficiency compression by using the compression processing by thinning and the classification adaptive processing in an organically integrated manner. From this, it can be said that it is an integrated coding process.

【0162】次に、図18は、図1の受信装置4の構成
例を示している。
Next, FIG. 18 shows a configuration example of the receiving apparatus 4 of FIG.

【0163】信号処理回路71には、記録媒体2に記録
された符号化データが再生され、または伝送路3を介し
て伝送されてくる符号化データが受信されて供給され
る。信号処理回路71においては、そこに供給される符
号化データが受信され、第1階層乃至第3階層の符号化
データに分離されて、誤り訂正処理その他が施される。
さらに、信号処理部71は、第3階層の符号化データの
中から、第1階層の予測係数をコピーし、第2階層の符
号化データの中に含め、その後、第1階層乃至第3階層
の符号化データを出力する。
The encoded data recorded on the recording medium 2 is reproduced, or the encoded data transmitted via the transmission path 3 is received and supplied to the signal processing circuit 71. The signal processing circuit 71 receives the encoded data supplied thereto, separates the encoded data into the first to third layers of encoded data, and performs error correction processing and the like.
Further, the signal processing unit 71 copies the prediction coefficient of the first layer from the coded data of the third layer, and includes it in the coded data of the second layer. Is output.

【0164】第1階層の符号化データは、そのまま第1
階層の復号画像として出力される。また、第2階層また
は第3階層の符号化データは、予測部72または73に
それぞれ出力される。
The coded data of the first hierarchy is directly stored in the first layer.
It is output as a hierarchically decoded image. The encoded data of the second or third layer is output to the prediction unit 72 or 73, respectively.

【0165】予測部72では、第2階層の符号化データ
に基づいて、第1階層の画像の予測値が求められ、第1
階層の復号画像として出力される。また、予測部72で
は、第3階層の符号化データに基づいて、やはり、第1
階層の予測値が求められて出力される。
In the prediction section 72, a predicted value of the image of the first layer is obtained based on the encoded data of the second layer.
It is output as a hierarchically decoded image. In addition, the prediction unit 72 also calculates the first layer based on the encoded data of the third layer.
The predicted value of the hierarchy is obtained and output.

【0166】次に、図19は、予測部72の構成例を示
している。
Next, FIG. 19 shows an example of the configuration of the prediction section 72.

【0167】信号処理回路71(図18)からの第2階
層の符号化データは、分離部81に供給され、そこで、
第2階層の最適補正データと、第1階層のクラスごとの
予測係数とに分離され、デコード部80に供給される。
The coded data of the second hierarchy from the signal processing circuit 71 (FIG. 18) is supplied to a separating section 81, where
The optimal correction data of the second hierarchy and the prediction coefficients for each class of the first hierarchy are separated and supplied to the decoding unit 80.

【0168】デコード部80は、クラス分類用ブロック
化回路82、予測値計算用ブロック化回路83、ADR
C処理回路84、クラス分類回路85、および予測回路
86で構成されており、分離部81からの第2階層の最
適補正データは、クラス分類用ブロック化回路82およ
び予測値計算用ブロック化回路83に入力され、また、
第1階層のクラスごとの予測係数は、予測回路86に入
力される。そして、予測回路86では、その第1階層の
クラスごとの予測係数が、その内蔵するメモリ86Aに
記憶される。
The decoding unit 80 includes a class classification blocking circuit 82, a predicted value calculation blocking circuit 83, an ADR
It comprises a C processing circuit 84, a class classification circuit 85, and a prediction circuit 86. The optimum correction data of the second hierarchy from the separation unit 81 is divided into a class classification block circuit 82 and a predicted value calculation block circuit 83. Is entered into
The prediction coefficient for each class of the first hierarchy is input to the prediction circuit 86. Then, in the prediction circuit 86, the prediction coefficient for each class of the first hierarchy is stored in the built-in memory 86A.

【0169】クラス分類用ブロック化回路82、予測値
計算用ブロック化回路83、ADRC処理回路84、ま
たはクラス分類回路85は、図9におけるクラス分類用
ブロック化回路41、予測値計算用ブロック化回路4
2、ADRC処理回路44、またはクラス分類回路45
それぞれと同様に構成されており、従って、これらのブ
ロックにおいては、図9における場合と同様の処理が行
われ、これにより、予測値計算用ブロック化回路83か
らは第2階層の最適補正データで構成される予測値計算
用ブロックが出力され、また、クラス分類回路85から
はクラス情報が出力される。これらの予測値計算用ブロ
ックおよびクラス情報は、予測回路86に供給される。
The classifying blocking circuit 82, the predicted value calculating blocking circuit 83, the ADRC processing circuit 84, or the class classifying circuit 85 are the class classifying blocking circuit 41, the predicted value calculating blocking circuit in FIG. 4
2. ADRC processing circuit 44 or class classification circuit 45
Therefore, in these blocks, the same processing as in the case of FIG. 9 is performed, whereby the predicted value calculation blocking circuit 83 outputs the optimum correction data of the second hierarchy. The constructed prediction value calculation block is output, and the class classification circuit 85 outputs class information. These prediction value calculation block and class information are supplied to the prediction circuit 86.

【0170】予測回路86では、クラス分類回路85か
ら供給されるクラス情報に対応した25×9の予測係数
が、メモリ86Aから読み出され、その25×9の予測
係数と、予測値計算用ブロック化回路83から供給され
る5×5画素の予測値計算用ブロックを構成する最適補
正データとを用い、式(1)にしたがって、第1階層の
予測値が、3×3画素単位で算出されていく。そして、
1フレーム分の予測値が求められると、これが、第1階
層の復号画像として出力される。
In the prediction circuit 86, a 25 × 9 prediction coefficient corresponding to the class information supplied from the class classification circuit 85 is read from the memory 86A, and the 25 × 9 prediction coefficient and the prediction value calculation block are read out. Using the optimal correction data constituting the prediction value calculation block of 5 × 5 pixels supplied from the conversion circuit 83, the prediction value of the first hierarchy is calculated in 3 × 3 pixel units according to the equation (1). To go. And
When a prediction value for one frame is obtained, this is output as a first-layer decoded image.

【0171】第2階層の最適補正データは、上述したよ
うにそれにより予測を行うことで得られる第1階層の予
測値と、第1階層の画像との誤差とを閾値ε以下とする
ものであり、従って、第2階層の最適補正データによれ
ば、解像度の高い第1階層の復号画像を得ることが可能
となる。
The optimum correction data of the second hierarchy is such that the error between the predicted value of the first hierarchy obtained by performing the prediction and the image of the first hierarchy is equal to or smaller than the threshold ε as described above. Therefore, according to the optimum correction data of the second layer, it is possible to obtain a decoded image of the first layer having a high resolution.

【0172】次に、図20は、図18の予測部73の構
成例を示している。
Next, FIG. 20 shows an example of the configuration of the prediction unit 73 in FIG.

【0173】信号処理回路71(図18)からの第3階
層の符号化データは、分離部81に供給され、そこで、
第3階層の最適補正データ、第2階層のクラスごとの予
測係数、および第1階層のクラスごとの予測係数に分離
される。第3階層の最適補正データと第2階層のクラス
ごとの予測係数は、デコード部222に供給され、第1
階層のクラスごとの予測係数はデコード部223に供給
される。
The coded data of the third hierarchy from the signal processing circuit 71 (FIG. 18) is supplied to a separating section 81, where
The data is separated into the optimum correction data of the third hierarchy, the prediction coefficient of each class of the second hierarchy, and the prediction coefficient of each class of the first hierarchy. The optimal correction data of the third hierarchy and the prediction coefficients of each class of the second hierarchy are supplied to the decoding unit 222,
The prediction coefficient for each class in the hierarchy is supplied to the decoding unit 223.

【0174】デコード部222は、図19のデコード部
80と同様に構成されるものであり、従って、デコード
部222では、第3階層の最適補正データと第2階層の
クラスごとの予測係数とから、上述した場合と同様にし
て、第2階層の画像の予測値が算出され、そのような予
測値で構成される第2階層の1フレーム分の復号画像
(予測値)が、デコード部223に供給される。デコー
ド部223も、デコード部80と同様に構成されるもの
であり、従って、第2階層の予測値と第1階層のクラス
ごとの予測係数とから、第1階層の予測値が算出され、
そのような予測値で構成される1フレーム分の画像が、
第1階層の復号画像(予測値)として出力される。
The decoding section 222 has the same configuration as that of the decoding section 80 in FIG. 19. Therefore, the decoding section 222 determines the optimum correction data of the third hierarchy and the prediction coefficient for each class of the second hierarchy. In the same manner as described above, the predicted value of the image of the second layer is calculated, and the decoded image (predicted value) for one frame of the second layer composed of such predicted values is sent to the decoding unit 223. Supplied. The decoding unit 223 is also configured in the same manner as the decoding unit 80. Therefore, the prediction value of the first layer is calculated from the prediction value of the second layer and the prediction coefficient of each class of the first layer,
One frame of image composed of such predicted values is
It is output as a decoded image (prediction value) of the first layer.

【0175】第2階層のクラスごとの予測係数は、図2
の最適補正データ算出回路14において、第2階層の最
適補正データとして最適なものが得られるように算出さ
れたものであり、また、第2階層の最適補正データによ
れば、上述したように解像度の高い第1階層の復号画像
を得ることができるから、第3階層の符号化データによ
っても、解像度の高い第1階層の復号画像を得ることが
できる。
The prediction coefficient for each class in the second hierarchy is shown in FIG.
The optimum correction data calculation circuit 14 calculates the optimum correction data as the second-layer optimum correction data, and according to the second-layer optimum correction data, as described above, Therefore, it is possible to obtain a first-layer decoded image having a high resolution even with the third-layer encoded data.

【0176】以上から、第1階層および第2階層の符号
化データの一部またはすべてが、何らかの理由で失われ
ても、最下位階層である第3階層の符号化データ、即
ち、第3階層の最適補正データ並びに第1階層および第
2階層のクラスごとの予測係数により、解像度の高い復
号画像を得ることが可能となる。
As described above, even if some or all of the encoded data of the first and second layers are lost for some reason, the encoded data of the third layer, which is the lowest layer, ie, the third layer , And a prediction coefficient for each class of the first layer and the second layer, it is possible to obtain a high-resolution decoded image.

【0177】また、受信側が、第2および第3階層の符
号化データ(第2階層および第3階層の最適補正データ
並びに第1および第2階層のクラスごとの予測係数)し
か受信できないものであっても、高解像度の復号画像
(第1階層の画像)を得ることができる。さらに、第3
階層の符号化データしか受信することができない受信装
置であっても、やはり、高解像度の復号画像を得ること
ができる。
The receiving side can receive only the coded data of the second and third layers (the optimal correction data of the second and third layers and the prediction coefficients for each class of the first and second layers). However, a high-resolution decoded image (first-layer image) can be obtained. In addition, the third
Even if the receiving apparatus can only receive the encoded data of the hierarchy, it is still possible to obtain a high-resolution decoded image.

【0178】なお、上述の場合においては、第2階層の
符号化データの中に、第2階層の最適補正データを含め
るようにしたが、第2階層の符号化データの中には、第
2階層の最適補正データではなく、第2階層の画像デー
タそのものを含めるようにすることが可能である。
In the above-described case, the second-layer encoded data includes the second-layer optimal correction data. However, the second-layer encoded data includes the second-layer optimal data. It is possible to include the image data itself of the second hierarchy instead of the optimum correction data of the hierarchy.

【0179】また、信号処理回路15から出力される符
号化データには、第1階層乃至第3階層の符号化データ
を含めるようにしたが、上述したように、第3階層の符
号化データ(第3階層の最適補正データ並びに第1階層
および第2階層のクラスごとの予測係数)だけから、高
画質の復号画像を得ることができるので、信号処理回路
15から出力される符号化データには、第3階層の符号
化データだけを含めるようにすることが可能である。
Further, the encoded data output from the signal processing circuit 15 includes the encoded data of the first to third layers. However, as described above, the encoded data of the third layer ( Since a high-quality decoded image can be obtained only from the third-layer optimal correction data and the prediction coefficients for each of the first and second classes, the encoded data output from the signal processing circuit 15 , Only the encoded data of the third layer can be included.

【0180】さらに、図2においては、最適補正データ
算出回路14に、最適補正データ算出回路13が出力す
る第2階層の最適補正データを供給し、その第2階層の
最適補正データを得るために最適なクラスごとの予測係
数を求めるようにしたが、最適補正データ算出回路14
には、第2階層の最適補正データの代わりに、第2階層
の画像データそのものを供給し、第2階層の画像データ
を得るのに最適なクラスごとの予測係数を求めるように
することも可能である。
Further, in FIG. 2, the optimum correction data calculating circuit 14 is supplied with the optimum correction data of the second hierarchy output from the optimum correction data calculating circuit 13 to obtain the optimum correction data of the second hierarchy. Although the optimal prediction coefficient for each class is determined, the optimal correction data calculation circuit 14
It is also possible to supply the second-layer image data itself instead of the second-layer optimal correction data, and to obtain the prediction coefficient for each class that is optimal for obtaining the second-layer image data. It is.

【0181】ところで、上述の場合においては、図9の
ローカルデコード部22において第1階層のクラスごと
の予測係数(最適補正データ算出回路14を構成するロ
ーカルデコード部22においては第2階層のクラスごと
の予測係数)を求め、それを用いて、第1階層の予測値
を算出するようにしたが、予測値は、クラスごとの予測
係数を求めずに(あらかじめ学習により求めておいた予
測係数を用いて)算出するようにすることが可能であ
る。
In the above case, the local decoding unit 22 shown in FIG. 9 uses the prediction coefficients for each class of the first hierarchy (the local decoding unit 22 constituting the optimum correction data calculation circuit 14 uses the prediction coefficients for each class of the second hierarchy). Was calculated, and the prediction value of the first layer was calculated using the prediction coefficient. However, the prediction value was calculated without calculating the prediction coefficient for each class (the prediction coefficient obtained in advance by learning). (Using).

【0182】即ち、図21は、図2の最適補正データ算
出回路13(14)の第2の構成例を示している。な
お、図中、図5における場合と対応する部分について
は、同一の符号を付してある。即ち、この最適補正デー
タ算出回路13は、ローカルデコード部22に代えて、
ローカルデコード部1022が設けられている他は、図
5における場合と同様に構成されている。
That is, FIG. 21 shows a second configuration example of the optimum correction data calculation circuit 13 (14) in FIG. In the figure, the same reference numerals are given to portions corresponding to the case in FIG. That is, the optimum correction data calculation circuit 13 replaces the local decode unit 22 with
The configuration is the same as that in FIG. 5 except that a local decoding unit 1022 is provided.

【0183】但し、図5においては、ローカルデコード
部22に原画像データ(最適補正データ算出回路13に
おいては第1階層の画像、最適補正データ算出回路14
においては第2階層の最適補正データ)が供給されるよ
うになされていたが、図21においては、ローカルデコ
ード部1022には、原画像データが供給されないよう
になっている。
In FIG. 5, however, the original image data (the first hierarchical image in the optimal correction data calculation circuit 13 and the optimal correction data
In FIG. 21, the optimal correction data of the second hierarchy is supplied, but in FIG. 21, the original image data is not supplied to the local decoding unit 1022.

【0184】図22は、図21のローカルデコード部1
022の構成例を示している。なお、図中、図9におけ
る場合と対応する部分については、同一の符号を付して
ある。即ち、ローカルデコード部1022は、適応処理
回路46に代えて、予測係数ROM88および予測回路
89が設けられている他は、図9におけるローカルデコ
ード部22と同様に構成されている。
FIG. 22 is a block diagram of the local decoding unit 1 shown in FIG.
022 shows a configuration example. Note that, in the figure, portions corresponding to those in FIG. 9 are denoted by the same reference numerals. That is, the local decoding unit 1022 is configured similarly to the local decoding unit 22 in FIG. 9 except that a prediction coefficient ROM 88 and a prediction circuit 89 are provided instead of the adaptive processing circuit 46.

【0185】予測係数ROM88は、あらかじめ学習
(後述する)を行うことにより求められたクラスごとの
25×9個の予測係数を記憶しており、クラス分類回路
45が出力するクラス情報を受信し、そのクラス情報に
対応するアドレスに記憶されている予測係数を読み出し
て、予測回路89に供給する。
The prediction coefficient ROM 88 stores 25 × 9 prediction coefficients for each class obtained by performing learning (described later) in advance, receives the class information output from the class classification circuit 45, The prediction coefficient stored at the address corresponding to the class information is read and supplied to the prediction circuit 89.

【0186】予測回路89では、予測値計算用ブロック
化回路42からの5×5画素の予測値計算用ブロック
と、予測係数ROM88からの25×9の予測係数とを
用いて、式(1)(具体的には、例えば、式(8))に
示した線形1次式が計算され、これにより、元の画像の
予測値が、3×3画素単位で算出される。
The prediction circuit 89 uses the 5 × 5 pixel prediction value calculation block from the prediction value calculation blocking circuit 42 and the 25 × 9 prediction coefficient from the prediction coefficient ROM 88 to obtain the equation (1). (Specifically, for example, the linear linear expression shown in Expression (8) is calculated, and thereby, the predicted value of the original image is calculated in 3 × 3 pixel units.

【0187】従って、図22のクラス分類適応処理回路
43によれば、元の画像(原画像)を用いずに、その予
測値が算出される。このため、上述したように、ローカ
ルデコード部1022には、原画像(第1階層の画像ま
たは第2階層の最適補正データ)が供給されないように
なっている(供給する必要がないので、供給されな
い)。
Therefore, according to the classification adaptive processing circuit 43 of FIG. 22, the predicted value is calculated without using the original image (original image). For this reason, as described above, the original image (the image of the first hierarchy or the optimal correction data of the second hierarchy) is not supplied to the local decoding unit 1022 (there is no need to supply the original image, so the local decoding unit 1022 is not supplied) ).

【0188】次に、図23のフローチャートを参照し
て、図22のローカルデコード部1022の処理につい
てさらに説明する。
Next, the processing of the local decoding unit 1022 in FIG. 22 will be further described with reference to the flowchart in FIG.

【0189】ローカルデコード部1022においては、
まず最初に、ステップS1021乃至S1023におい
て、図13のステップS21乃至S23における場合と
それぞれ同様の処理が行われ、これにより、クラス分類
回路45からは、クラス情報が出力され、予測値計算用
ブロック化回路42からは、予測値計算用ブロックが出
力される。このクラス情報または予測値計算用ブロック
は、予測係数ROM88または予測回路89にそれぞれ
供給される。
In the local decoding section 1022,
First, in steps S1021 to S1023, the same processes as those in steps S21 to S23 of FIG. 13 are performed, whereby the class information is output from the class classification circuit 45, and the prediction value calculation block is formed. The circuit 42 outputs a prediction value calculation block. The class information or the predicted value calculation block is supplied to the prediction coefficient ROM 88 or the prediction circuit 89, respectively.

【0190】予測係数ROM88は、クラス情報を受信
すると、ステップS1024において、そのクラス情報
に対応する25×9の予測係数を、記憶しているクラス
ごとの予測係数の中から読み出し、予測回路89に供給
する。
Upon receiving the class information, the prediction coefficient ROM 88 reads out a 25 × 9 prediction coefficient corresponding to the class information from the stored prediction coefficients for each class and sends it to the prediction circuit 89 in step S1024. Supply.

【0191】予測回路89には、予測係数ROM88か
ら25×9の予測係数が供給される他、上述したよう
に、予測値計算用ブロック化回路42から5×5画素の
予測値計算用ブロックも供給される。そして、予測回路
89では、ステップS1025において、予測係数RO
M88からの25×9の予測係数と、予測値計算用ブロ
ック化回路42からの5×5画素の予測値計算用ブロッ
クとを用いて適応処理が行われることにより、即ち、具
体的には、式(1)(または式(8))にしたがった演
算が行われることにより、注目補正データ(ここでは、
予測値計算用ブロックの中心にある画素)を中心とする
3×3の原画像の画素の予測値が求められる。
The prediction circuit 89 is supplied with 25 × 9 prediction coefficients from the prediction coefficient ROM 88 and, as described above, also receives a prediction value calculation block of 5 × 5 pixels from the prediction value calculation blocking circuit. Supplied. Then, in the prediction circuit 89, in step S1025, the prediction coefficient RO
The adaptive processing is performed using the 25 × 9 prediction coefficient from M88 and the 5 × 5 pixel prediction value calculation block from the prediction value calculation blocking circuit 42, that is, specifically, By performing the calculation according to Expression (1) (or Expression (8)), the correction data of interest (here,
The predicted value of the pixel of the 3 × 3 original image centered on the pixel at the center of the predicted value calculation block) is obtained.

【0192】その後、例えば、1フレーム分の予測値が
求められると、ステップS1026に進み、予測係数R
OM88に記憶されたクラスごとの25×9の予測係数
が読み出され、判定部24に供給されるとともに、ステ
ップS1025で求められた予測値が誤差算出部23に
供給される。そして、ステップS1021に戻り、以下
同様の処理が、例えば、1フレーム単位で繰り返され
る。
Thereafter, for example, when a predicted value for one frame is obtained, the process proceeds to step S1026, where the prediction coefficient R
The 25 × 9 prediction coefficient for each class stored in the OM 88 is read and supplied to the determination unit 24, and the prediction value obtained in step S1025 is supplied to the error calculation unit 23. Then, the process returns to step S1021, and thereafter, the same processing is repeated, for example, in units of one frame.

【0193】なお、この実施の形態では、クラスごとの
予測係数は、予測係数ROM88に記憶されたものが使
用され、従って、その値は変化しないから、ステップS
1025において、クラスごとの予測係数を、判定部2
4に一度供給した後は、基本的に、再度供給する必要は
ない。
In this embodiment, as the prediction coefficient for each class, the one stored in the prediction coefficient ROM 88 is used, and the value does not change.
In 1025, the prediction coefficient for each class is determined by the determination unit 2
After once being supplied to 4, there is basically no need to supply again.

【0194】また、最適補正データ算出回路13および
14が、図21に示したように構成される場合において
も、受信装置4は、図18に示したように構成すること
で、原画像とほぼ同一の復号画像を得ることができる。
Also, even when the optimum correction data calculating circuits 13 and 14 are configured as shown in FIG. 21, the receiving device 4 is configured as shown in FIG. The same decoded image can be obtained.

【0195】次に、図24は、図22の予測係数ROM
88に記憶されているクラスごとの予測係数を得るため
の学習を行う画像処理装置の構成例を示している。
Next, FIG. 24 shows the prediction coefficient ROM of FIG.
9 shows a configuration example of an image processing apparatus that performs learning to obtain a prediction coefficient for each class stored in 88.

【0196】学習用ブロック化回路91および教師用ブ
ロック化回路92には、あらゆる画像に適用可能な予測
係数を得るための学習用の画像データ(学習用画像)が
供給されるようになされている。なお、第1階層のクラ
スごとの予測係数を得る場合には、学習用画像として、
第1階層の画像データが、また、第2階層のクラスごと
の予測係数を得る場合には、学習用画像として、第2階
層の画像データが、学習用ブロック化回路91および教
師用ブロック化回路92に供給される。
The learning blocking circuit 91 and the teacher blocking circuit 92 are supplied with learning image data (learning images) for obtaining prediction coefficients applicable to any image. . When a prediction coefficient for each class of the first hierarchy is obtained, as a learning image,
When the image data of the first hierarchy obtains the prediction coefficient for each class of the second hierarchy, the image data of the second hierarchy is used as the learning image by the learning blocking circuit 91 and the teacher blocking circuit. 92.

【0197】学習用ブロック化回路91は、入力される
画像データから、例えば、図10に●印で示した位置関
係の注目画素を中心とする25画素(5×5画素)を抽
出し、この25画素で構成されるブロックを、学習用ブ
ロックとして、ADRC処理93および学習データメモ
リ96に供給する。
The learning blocking circuit 91 extracts from the input image data, for example, 25 pixels (5 × 5 pixels) centered on the pixel of interest having the positional relationship indicated by a circle in FIG. The block composed of 25 pixels is supplied to the ADRC processing 93 and the learning data memory 96 as a learning block.

【0198】また、教師用ブロック化回路92では、入
力される画像データから、例えば、注目画素を中心とす
る3×3の9画素で構成されるブロックが生成され、こ
の9画素で構成されるブロックが、教師用ブロックとし
て、教師データメモリ98に供給される。
In the teacher blocking circuit 92, for example, a block composed of 3 × 3 9 pixels centered on the pixel of interest is generated from the input image data, and the block is composed of the 9 pixels. The blocks are supplied to the teacher data memory 98 as teacher blocks.

【0199】なお、学習用ブロック化回路91におい
て、例えば、図10に●印で示した位置関係の25画素
で構成される学習用ブロックが生成されるとき、教師用
ブロック化回路92では、同図に四角形で囲んで示す3
×3画素の教師用ブロックが生成されるようになされて
いる。この場合、注目画素は、画素X33である。
When the learning block forming circuit 91 generates, for example, a learning block composed of 25 pixels having a positional relationship indicated by a circle in FIG. 3 shown in the figure with a square
A teacher block of × 3 pixels is generated. In this case, the pixel of interest is the pixel X 33.

【0200】ADRC処理回路93は、学習用ブロック
を構成する25画素から、その中心の9画素(3×3画
素)を抽出し、この9画素でなるブロックに対して、図
22のADRC処理回路44における場合と同様に、1
ビットのADRC処理を施す。ADRC処理の施され
た、3×3画素のブロックは、クラス分類回路94に供
給される。クラス分類回路94では、図22のクラス分
類回路45における場合と同様に、ADRC処理回路9
3からのブロックがクラス分類処理され、それにより得
られるクラス情報が、スイッチ95の端子aを介して、
学習データメモリ96および教師データメモリ98に供
給される。
The ADRC processing circuit 93 extracts the central nine pixels (3 × 3 pixels) from the 25 pixels constituting the learning block, and applies the ADRC processing circuit shown in FIG. As in 44, 1
A bit ADRC process is performed. The block of 3 × 3 pixels on which the ADRC process has been performed is supplied to the class classification circuit 94. In the class classification circuit 94, as in the case of the class classification circuit 45 of FIG.
3 is subjected to the class classification processing, and the obtained class information is obtained through the terminal a of the switch 95.
The learning data memory 96 and the teacher data memory 98 are supplied.

【0201】学習データメモリ96または教師データメ
モリ98では、そこに供給されるクラス情報に対応する
アドレスに、学習用ブロック化回路91からの学習用ブ
ロックまたは教師用ブロック化回路92からの教師用ブ
ロックが、それぞれ記憶される。
In the learning data memory 96 or the teacher data memory 98, the learning block from the learning blocking circuit 91 or the teacher block from the teacher blocking circuit 92 is added to the address corresponding to the class information supplied thereto. Are respectively stored.

【0202】従って、学習データメモリ96において、
例えば、図10に●印で示した5×5画素でなるブロッ
クが学習用ブロックとして、あるアドレスに記憶された
とすると、教師データメモリ98においては、そのアド
レスと同一のアドレスに、同図において、四角形で囲ん
で示す3×3画素のブロックが、教師用ブロックとして
記憶される。
Therefore, in the learning data memory 96,
For example, if a block composed of 5 × 5 pixels indicated by a mark in FIG. 10 is stored as a learning block at a certain address, in the teacher data memory 98, the same address as that address is used. A block of 3 × 3 pixels surrounded by a rectangle is stored as a teacher block.

【0203】以下、同様の処理が、あらかじめ用意され
たすべての学習用の画像について繰り返され、これによ
り、学習用ブロックと、図22のローカルデコード部1
022において、その学習用ブロックを構成する25画
素と同一の位置関係を有する25の補正データで構成さ
れる予測値計算用ブロックを用いて予測値が求められる
9画素で構成される教師用ブロックとが、学習用データ
メモリ96と、教師用データメモリ98とにおいて、同
一のアドレスに記憶される。
Thereafter, the same processing is repeated for all learning images prepared in advance, whereby the learning block and the local decoding unit 1 shown in FIG.
022, a teacher block composed of 9 pixels for which a predicted value is obtained using a predicted value calculation block composed of 25 correction data having the same positional relationship as the 25 pixels constituting the learning block; Are stored at the same address in the learning data memory 96 and the teacher data memory 98.

【0204】なお、学習用データメモリ96と教師用デ
ータメモリ98においては、同一アドレスに複数の情報
を記憶することができるようになされており、これによ
り、同一アドレスには、複数の学習用ブロックと教師用
ブロックを記憶することができるようになされている。
In the learning data memory 96 and the teacher data memory 98, a plurality of pieces of information can be stored at the same address, whereby a plurality of learning blocks can be stored at the same address. And a teacher block can be stored.

【0205】学習用画像すべてについての学習用ブロッ
クと教師用ブロックとが、学習データメモリ96と教師
データメモリ98に記憶されると、端子aを選択してい
たスイッチ95が、端子bに切り替わり、これにより、
カウンタ97の出力が、アドレスとして、学習データメ
モリ96および教師データメモリ98に供給される。カ
ウンタ97は、所定のクロックをカウントし、そのカウ
ント値を出力しており、学習データメモリ96または教
師データメモリ98では、そのカウント値に対応するア
ドレスに記憶された学習用ブロックまたは教師用ブロッ
クが読み出され、演算回路99に供給される。
When the learning block and the teacher block for all the learning images are stored in the learning data memory 96 and the teacher data memory 98, the switch 95 which has selected the terminal a is switched to the terminal b. This allows
The output of the counter 97 is supplied to the learning data memory 96 and the teacher data memory 98 as an address. The counter 97 counts a predetermined clock and outputs the count value. In the learning data memory 96 or the teacher data memory 98, a learning block or a teacher block stored at an address corresponding to the count value is stored. The data is read out and supplied to the arithmetic circuit 99.

【0206】従って、演算回路99には、カウンタ97
のカウント値に対応するクラスの学習用ブロックのセッ
トと、教師用ブロックのセットとが供給される。
Therefore, the arithmetic circuit 99 includes the counter 97
, A set of learning blocks of a class corresponding to the count value and a set of teacher blocks are supplied.

【0207】演算回路99は、あるクラスについての学
習用ブロックのセットと、教師用ブロックのセットとを
受信すると、それらを用いて、最小自乗法により、誤差
を最小とする予測係数を算出する。
Upon receiving the set of learning blocks and the set of teacher blocks for a certain class, the arithmetic circuit 99 calculates a prediction coefficient that minimizes an error by using the least squares method.

【0208】即ち、例えば、いま、学習用ブロックを構
成する画素の画素値を、x1,x2,x3,・・・とし、
求めるべき予測係数をw1,w2,w3,・・・とすると
き、これらの線形1次結合により、教師用ブロックを構
成する、ある画素の画素値yを求めるには、予測係数w
1,w2,w3,・・・は、次式を満たす必要がある。
That is, for example, assume that the pixel values of the pixels constituting the learning block are x 1 , x 2 , x 3 ,.
When the prediction coefficients to be obtained are w 1 , w 2 , w 3 ,..., A linear primary combination of these is used to obtain the pixel value y of a certain pixel forming the teacher block.
1, w 2, w 3, ··· , it is necessary to satisfy the following equation.

【0209】y=w11+w22+w33+・・・Y = w 1 x 1 + w 2 x 2 + w 3 x 3 +...

【0210】そこで、演算回路99では、同一クラスの
学習用ブロックと、対応する教師用ブロックとから、真
値yに対する、予測値w11+w22+w33+・・・
の自乗誤差を最小とする予測係数w1,w2,w3,・・
・が、上述した式(7)に示す正規方程式をたてて解く
ことにより求められる。以上の処理が、クラスごとに行
われることで、各クラスごとに、25×9個の予測係数
が算出される。
Therefore, in the arithmetic circuit 99, the prediction value w 1 x 1 + w 2 x 2 + w 3 x 3 +... With respect to the true value y is obtained from the learning block of the same class and the corresponding teacher block.
Prediction coefficients w 1 , w 2 , w 3 , which minimize the square error of
Is obtained by setting up and solving the normal equation shown in the above equation (7). The above processing is performed for each class, so that 25 × 9 prediction coefficients are calculated for each class.

【0211】演算回路99において求められた、クラス
ごとの予測係数は、メモリ100に供給される。メモリ
100には、演算回路99からの予測係数の他、カウン
タ97からカウント値が供給されており、これにより、
メモリ100においては、演算回路99からの予測係数
が、カウンタ97からのカウント値に対応するアドレス
に記憶される。
The prediction coefficients for each class obtained in the arithmetic circuit 99 are supplied to the memory 100. The memory 100 is supplied with the count value from the counter 97 in addition to the prediction coefficient from the arithmetic circuit 99,
In the memory 100, the prediction coefficient from the arithmetic circuit 99 is stored at an address corresponding to the count value from the counter 97.

【0212】以上のようにして、メモリ100には、各
クラスに対応するアドレスに、そのクラスのブロックの
3×3画素を予測するのに最適な25×9個の予測係数
が記憶される。
As described above, the memory 100 stores, at the address corresponding to each class, 25 × 9 prediction coefficients optimal for predicting 3 × 3 pixels of the block of the class.

【0213】図22の予測係数ROM88には、以上の
ようにしてメモリ100に記憶されたクラスごとの予測
係数が記憶されている。
The prediction coefficient ROM 88 of FIG. 22 stores the prediction coefficients for each class stored in the memory 100 as described above.

【0214】次に、図25は、図2の最適補正データ算
出回路13(14)の第3の構成例を示している。な
お、図中、図5における場合と対応する部分について
は、同一の符号を付してある。即ち、この送信装置1
は、ローカルデコード部22または判定部24に代え
て、ローカルデコード部2022または判定部2024
がそれぞれ設けられているとともに、多重化部25が設
けられていない他は、図5における場合と同様に構成さ
れている。
FIG. 25 shows a third configuration example of the optimum correction data calculation circuit 13 (14) of FIG. In the figure, the same reference numerals are given to portions corresponding to the case in FIG. That is, the transmission device 1
Is replaced with the local decoding unit 2022 or the determining unit 2024 instead of the local decoding unit 22 or the determining unit 24.
Are provided, and the configuration is the same as that in FIG. 5 except that the multiplexing unit 25 is not provided.

【0215】但し、この場合も、図22における場合と
同様に、ローカルデコード部2022には、原画像デー
タ(第1階層の画像データまたは第2階層の最適補正デ
ータ)が供給されないようになっている。さらに、図2
5の実施の形態では、ローカルデコード部2022は、
予測係数を判定部2024に出力しないようになってい
る。
However, in this case, as in the case of FIG. 22, original image data (image data of the first hierarchy or optimal correction data of the second hierarchy) is not supplied to the local decoding unit 2022. I have. Further, FIG.
In the fifth embodiment, the local decoding unit 2022
The prediction coefficient is not output to the determination unit 2024.

【0216】次に、図26のフローチャートを参照し
て、その動作について説明する。
Next, the operation will be described with reference to the flowchart of FIG.

【0217】圧縮部21に対して、画像データ(第2階
層の画像データまたは第3階層の画像データ)が供給さ
れると、圧縮部21は、ステップS1001において、
その画像データを間引くことにより圧縮し、最初は、補
正を行わずに、ローカルデコード部2022および判定
部2024に出力する。ローカルデコード部2022で
は、ステップS1002において、圧縮部21からの補
正データ(最初は、上述したように、画像データを、単
純に間引いた圧縮データそのもの)がローカルデコード
される。
When the image data (the image data of the second hierarchy or the image data of the third hierarchy) is supplied to the compression unit 21, the compression unit 21 proceeds to step S1001.
The image data is compressed by thinning it out, and is initially output to the local decoding unit 2022 and the determination unit 2024 without correction. In step S1002, the local decoding unit 2022 locally decodes the correction data from the compression unit 21 (initially, as described above, the compressed data itself obtained by simply thinning out the image data).

【0218】即ち、ステップS1002では、圧縮部2
1からの補正データが、例えば、図22に示したローカ
ルデコード部1022における場合と同様にして、ロー
カルデコードされ、これにより、原画像の予測値が算出
される。この予測値は、誤差算出部23に供給される。
That is, in step S1002, the compression unit 2
The correction data from 1 is locally decoded, for example, in the same manner as in the case of the local decoding unit 1022 shown in FIG. 22, whereby the predicted value of the original image is calculated. This predicted value is supplied to the error calculator 23.

【0219】誤差算出部23では、ステップS1003
において、図6のステップS3における場合と同様にし
て、予測誤差が算出され、誤差情報として、判定部20
24に供給される。判定部2024は、誤差算出部23
から誤差情報を受信すると、ステップS1004におい
て、図6のステップS4における場合と同様に、誤差算
出部23からの誤差情報が所定の閾値ε以下であるかど
うかを判定する。ステップS1004において、誤差情
報が所定の閾値ε以下でないと判定された場合、ステッ
プS1005に進み、判定部2024は、圧縮部21を
制御し、これにより、第2階層の画像データを補正させ
る。そして、圧縮部21において、第2階層の画像デー
タが補正され、新たな補正データが出力されるのを待っ
て、ステップS1002に戻る。
[0219] In the error calculating section 23, step S1003 is executed.
, A prediction error is calculated in the same manner as in step S3 of FIG.
24. The determination unit 2024 determines whether the error
In step S1004, it is determined whether or not the error information from the error calculator 23 is equal to or less than a predetermined threshold ε, as in step S4 of FIG. If it is determined in step S1004 that the error information is not smaller than or equal to the predetermined threshold ε, the process proceeds to step S1005, and the determination unit 2024 controls the compression unit 21 to thereby correct the image data of the second hierarchy. Then, the compression unit 21 corrects the image data of the second hierarchy and waits for new correction data to be output, and then returns to step S1002.

【0220】一方、ステップS1004において、誤差
情報が所定の閾値ε以下であると判定された場合、判定
部2024は、所定の閾値ε以下の誤差情報が得られた
ときの補正データを、最適補正データとして、信号処理
回路15(図2)に出力し、処理を終了する。
On the other hand, if it is determined in step S1004 that the error information is equal to or smaller than the predetermined threshold value ε, the determination unit 2024 determines that the correction data obtained when the error information is equal to or smaller than the predetermined threshold value ε The data is output to the signal processing circuit 15 (FIG. 2), and the process ends.

【0221】従って、ここでは、クラスごとの予測係数
は出力されない。
Therefore, here, the prediction coefficient for each class is not output.

【0222】次に、図27は、図25のローカルデコー
ド部2022の構成例を示している。なお、図中、図2
2における場合と対応する部分については、同一の符号
を付してある。即ち、ローカルデコード部2022は、
基本的に図22におけるローカルデコード部1022と
同様に構成されている。
Next, FIG. 27 shows a configuration example of the local decoding unit 2022 of FIG. Note that in FIG.
The same reference numerals are given to the portions corresponding to the case in FIG. That is, the local decoding unit 2022
The configuration is basically the same as that of the local decoding unit 1022 in FIG.

【0223】但し、図22においては、予測係数ROM
88がそこに記憶されているクラスごとの予測係数を、
判定部24に供給するようになっていたが、図27で
は、予測係数ROM88は、クラスごとの予測係数を、
判定部2024に供給しないようになっている。
However, in FIG. 22, the prediction coefficient ROM
88 represents the prediction coefficient for each class stored therein,
27, the prediction coefficient ROM 88 stores the prediction coefficient for each class in FIG.
It is not supplied to the determination unit 2024.

【0224】次に、図28のフローチャートを参照し
て、その動作について説明する。
Next, the operation will be described with reference to the flowchart in FIG.

【0225】ローカルデコード部2022では、ステッ
プS2021乃至S2025において、図23のステッ
プS1021乃至1025における場合とそれぞれ同様
の処理が行われる。そして、ステップS2026におい
て、ステップS2025で求められた予測値のみが、誤
差算出部23に供給され、ステップS2021に戻り、
以下、同様の処理が、例えば、1フレーム単位で繰り返
される。即ち、上述したように、ここでは、クラスごと
の予測係数は出力されない。
In the local decoding unit 2022, in steps S2021 to S2025, the same processing as in steps S1021 to 1025 in FIG. 23 is performed. Then, in step S2026, only the predicted value obtained in step S2025 is supplied to the error calculation unit 23, and the process returns to step S2021.
Hereinafter, the same processing is repeated for each frame, for example. That is, as described above, the prediction coefficient for each class is not output here.

【0226】次に、図29は、図25の判定部2024
の構成例を示している。なお、図中、図16における場
合と対応する部分については、同一の符号を付してあ
る。即ち、上述したように、ローカルデコード部202
2からは予測係数が供給されないため、判定部2024
には、その予測係数を記憶するための予測係数メモリ6
1が設けられておらず、そのことを除けば、基本的に、
図16の判定部24と同様に構成されている。
Next, FIG. 29 is a block diagram showing the determination unit 2024 of FIG.
Is shown. Note that, in the figure, parts corresponding to those in FIG. 16 are denoted by the same reference numerals. That is, as described above, the local decoding unit 202
Since no prediction coefficient is supplied from No. 2, the judgment unit 2024
Has a prediction coefficient memory 6 for storing the prediction coefficient.
1 is not provided, except for that, basically,
The configuration is the same as that of the determination unit 24 in FIG.

【0227】次に、図30のフローチャートを参照し
て、その動作について説明する。
Next, the operation will be described with reference to the flowchart of FIG.

【0228】判定部2024では、ステップS2041
乃至2045において、図17のステップS41乃至S
45における場合とそれぞれ同様の処理が行われ、これ
により、誤差情報が減少するように、圧縮部21が制御
される。
In the judgment section 2024, step S2041 is executed.
In steps S41 to S45 in FIG.
Processing similar to that in the case of 45 is performed, whereby the compression unit 21 is controlled so that error information decreases.

【0229】そして、ステップS2041乃至S204
5の処理を繰り返すことにより、誤差情報が減少し、こ
れにより、ステップS2042において、今回の誤差情
報が、所定の閾値εより小さいと判定された場合、ステ
ップS2046に進み、制御回路65は、補正データメ
モリ62に記憶されている1フレームの補正データを、
最適補正データとして読み出し、信号処理回路15に供
給して、処理を終了する。即ち、ローカルデコード部2
022からは予測係数は供給されないので、ステップS
2046では、補正データだけが出力される。
Then, steps S2041 to S204
By repeating the process of step 5, the error information decreases. If it is determined in step S2042 that the current error information is smaller than the predetermined threshold ε, the process proceeds to step S2046, where the control circuit 65 The correction data of one frame stored in the data memory 62 is
The data is read out as the optimum correction data, supplied to the signal processing circuit 15, and the processing ends. That is, the local decoding unit 2
022, no prediction coefficient is supplied, so that step S
At 2046, only the correction data is output.

【0230】その後は、次のフレームについての誤差情
報が供給されるのを待って、再び、同様の処理を繰り返
す。
[0230] Thereafter, after the error information for the next frame is supplied, the same processing is repeated again.

【0231】次に、図31は、最適補正データ算出回路
13および14が図25に示したように構成される場合
の図18の受信装置4における予測部72の構成例を示
している。なお、図中、図19における場合と対応する
部分については、同一の符号を付してある。即ち、図3
1の予測部72は、クラス分類回路85と予測回路86
との間に予測係数ROM87が新たに設けられ、予測回
路86がメモリ86Aを内蔵しておらず、かつ分離部8
1が設けられていない他は、図19における場合と基本
的に同様に構成されている。
Next, FIG. 31 shows an example of the configuration of the prediction section 72 in the receiving apparatus 4 of FIG. 18 when the optimum correction data calculation circuits 13 and 14 are configured as shown in FIG. In the figure, parts corresponding to those in FIG. 19 are denoted by the same reference numerals. That is, FIG.
1 prediction unit 72 includes a class classification circuit 85 and a prediction circuit 86
, A prediction coefficient ROM 87 is newly provided, the prediction circuit 86 does not include the memory 86A, and the separation unit 8
The configuration is basically the same as that in FIG. 19 except that 1 is not provided.

【0232】最適補正データ算出回路13(14)が図
25に示したように構成される場合、上述したことか
ら、第2階層の符号化データには、第2階層のクラスご
との予測係数は含まれておらず、第2階層の符号化デー
タは、基本的に、第2階層の最適補正データだけで構成
される。このため、信号処理回路71(図18)からの
第2階層の符号化データとしての第2階層の最適補正デ
ータは、クラス分類用ブロック化回路82および予測値
計算用ブロック化回路83に、直接供給される(分離部
81(図19)を介さずに供給される)。
When the optimum correction data calculation circuit 13 (14) is configured as shown in FIG. 25, as described above, the prediction coefficient for each class of the second hierarchy is included in the encoded data of the second hierarchy. Not included, the coded data of the second layer is basically composed of only the optimum correction data of the second layer. Therefore, the second-layer optimal correction data as the second-layer encoded data from the signal processing circuit 71 (FIG. 18) is directly sent to the class-classifying blocking circuit 82 and the predicted value calculating blocking circuit 83. (Supplied without passing through the separation unit 81 (FIG. 19)).

【0233】クラス分類用ブロック化回路82、予測値
計算用ブロック化回路83,ADRC処理回路84、ま
たはクラス分類回路85では、図9におけるクラス分類
用ブロック化回路41、予測値計算用ブロック化回路4
2,ADRC処理回路44、またはクラス分類回路45
それぞれと同様の処理が行われ、これにより、予測値計
算用ブロック化回路83からは5×5画素の予測値計算
用ブロックが出力され、また、クラス分類回路85から
はクラス情報が出力される。予測値計算用ブロックは予
測回路86に供給され、クラス情報は予測係数ROM8
7に供給される。
The classifying blocking circuit 82, the predicted value calculating blocking circuit 83, the ADRC processing circuit 84, or the class classifying circuit 85 includes the class classifying blocking circuit 41 and the predicted value calculating block circuit shown in FIG. 4
2. ADRC processing circuit 44 or class classification circuit 45
The same processing as that described above is performed, whereby the prediction value calculation block of 5 × 5 pixels is output from the prediction value calculation blocking circuit 83, and the class information is output from the class classification circuit 85. . The prediction value calculation block is supplied to the prediction circuit 86, and the class information is stored in the prediction coefficient ROM 8.
7 is supplied.

【0234】予測係数ROM87には、図27の予測係
数ROM88に記憶されているクラスごとの予測係数と
同一のものが記憶されており、クラス分類回路85から
クラス情報が供給されると、そのクラス情報に対応した
25×9の予測係数が読み出され、予測回路86に供給
される。
In the prediction coefficient ROM 87, the same prediction coefficients as those stored in the prediction coefficient ROM 88 of FIG. 27 are stored. A 25 × 9 prediction coefficient corresponding to the information is read and supplied to the prediction circuit 86.

【0235】予測回路86は、予測係数ROM87から
の25×9の予測係数と、予測値計算用ブロック化回路
83から供給される5×5画素の予測値計算用ブロック
を構成する補正データとを用い、式(1)にしたがっ
て、原画像の3×3画素の予測値を算出し、そのような
予測値で構成される1フレームの画像を、復号画像とし
て出力する。
The prediction circuit 86 stores the 25 × 9 prediction coefficients from the prediction coefficient ROM 87 and the correction data constituting the prediction value calculation block of 5 × 5 pixels supplied from the prediction value calculation blocking circuit 83. Using the equation (1), a predicted value of 3 × 3 pixels of the original image is calculated, and an image of one frame including such predicted values is output as a decoded image.

【0236】次に、図32は、最適補正データ算出回路
13および14が図25に示したように構成される場合
の図18の受信装置4における予測部73の構成例を示
している。
Next, FIG. 32 shows an example of the configuration of the prediction section 73 in the receiving apparatus 4 of FIG. 18 when the optimum correction data calculation circuits 13 and 14 are configured as shown in FIG.

【0237】この場合、予測部73は、デコード部12
22および1223で構成される。
In this case, the prediction unit 73
22 and 1223.

【0238】最適補正データ算出回路13(14)が図
25に示したように構成される場合、上述したことか
ら、第3階層の符号化データにも、第1および第2階層
のクラスごとの予測係数は含まれておらず、従って、第
3階層の符号化データは、基本的に、第3階層の最適補
正データだけで構成される。このような第3階層の符号
化データとしての第3階層の最適補正データが、信号処
理回路71からデコード部1222に供給される。
When the optimum correction data calculation circuit 13 (14) is configured as shown in FIG. 25, as described above, the encoded data of the third layer is also included in the encoded data of the first and second layers for each class. No prediction coefficient is included, so the encoded data of the third hierarchy is basically composed of only the optimal correction data of the third hierarchy. The third-layer optimal correction data as such third-layer encoded data is supplied from the signal processing circuit 71 to the decoding unit 1222.

【0239】デコード部1222は、図31の予測部7
2と同様に構成されるものであり、従って、デコード部
1222では、第3階層の最適補正データから、上述し
た場合と同様にして、第2階層の画像の予測値が算出さ
れ、そのような予測値で構成される第2階層の1フレー
ム分の復号画像(予測値)が、デコード部1223に供
給される。デコード部1223も、図31の予測部72
と同様に構成されるものであり、従って、第2階層の予
測値から、第1階層の予測値が算出され、そのような予
測値で構成される1フレーム分の画像が、第1階層の復
号画像(予測値)として出力される。
[0239] The decoding section 1222 is provided by the prediction section 7 shown in FIG.
Therefore, the decoding unit 1222 calculates the predicted value of the image of the second layer from the optimal correction data of the third layer in the same manner as described above, and A decoded image (predicted value) for one frame of the second layer composed of the predicted value is supplied to the decoding unit 1223. The decoding unit 1223 also includes the prediction unit 72 in FIG.
Therefore, the prediction value of the first hierarchy is calculated from the prediction value of the second hierarchy, and the image of one frame composed of such prediction values is converted into the image of the first hierarchy. It is output as a decoded image (predicted value).

【0240】なお、デコード部1222と1223は、
基本的には、上述したように、いずれも予測部72と同
様に構成されるが、予測係数ROM87には、デコード
部1222においては第2階層の画像を学習用画像とし
て用いて学習したクラスごとの予測係数が、デコード部
1223においては第1階層の画像を学習用画像として
用いて学習したクラスごとの予測係数が、それぞれ記憶
されている。
Note that the decoding units 1222 and 1223
Basically, as described above, each of them is configured in the same manner as the prediction unit 72. However, the prediction coefficient ROM 87 stores in the decoding unit 1222 each class learned using the second layer image as a learning image. The prediction coefficient of each class is stored in the decoding unit 1223, and the prediction coefficient of each class learned using the image of the first hierarchy as the learning image is stored.

【0241】最適補正データ算出回路13および14が
図25に示したように構成されるとともに、受信装置4
の予測部72または73がそれぞれ図31または図32
に示したように構成される場合、クラスごとの25×9
の予測係数を送受信せずに済むので、その分だけ、伝送
容量または記録容量を低減することができる。
The optimum correction data calculation circuits 13 and 14 are configured as shown in FIG.
Of FIG. 31 or FIG. 32 respectively.
25x9 for each class when configured as shown in
Since it is not necessary to transmit and receive the prediction coefficient, the transmission capacity or the recording capacity can be reduced accordingly.

【0242】なお、予測係数ROM87(図31)や8
8(図22、図27)には、各クラスに対応するアドレ
スに、予測係数を記憶させるのではなく、教師用ブロッ
クを構成する画素値の平均値などを記憶させるようにす
ることが可能である。この場合、クラス情報が与えられ
ると、そのクラスに対応する画素値が出力されることに
なり、図22のローカルデコード部1022や、図27
のローカルデコード部2022においては、予測値計算
用ブロック化回路42および予測回路89を設けずに済
むようになる。また、図31の予測部72においても、
予測値計算用ブロック化回路83および予測回路86を
設けずに済むようになる。さらに、この場合、図22に
おいては、予測係数を伝送する必要がない。
The prediction coefficient ROM 87 (FIG. 31) and 8
In FIG. 8 (FIGS. 22 and 27), it is possible to store the average value of the pixel values constituting the teacher block, instead of storing the prediction coefficient at the address corresponding to each class. is there. In this case, when the class information is given, the pixel value corresponding to the class is output, and the local decoding unit 1022 in FIG.
In the local decoding unit 2022, the prediction value calculation blocking circuit 42 and the prediction circuit 89 need not be provided. Also, in the prediction unit 72 of FIG.
This eliminates the need to provide the prediction value calculation blocking circuit 83 and the prediction circuit 86. Further, in this case, it is not necessary to transmit the prediction coefficients in FIG.

【0243】また、最適補正データ算出回路13および
14を図25に示したように構成する場合においては、
上述したように、図2に示した送信装置1において、最
適補正データ算出回路13には第1階層の画像データを
供給する必要はなく、また、最適補正データ算出回路1
4にも、最適補正データ算出回路13から出力される第
2階層の最適補正データを供給する必要はない。そし
て、この場合、クラスごとの予測係数は求められないの
で、信号処理回路15が出力する符号化データには、上
述したように、クラスごとの予測係数は含められない。
When the optimum correction data calculating circuits 13 and 14 are configured as shown in FIG. 25,
As described above, in the transmission device 1 shown in FIG. 2, it is not necessary to supply the first-level image data to the optimum correction data calculation circuit 13 and the optimum correction data calculation circuit 13
4 does not need to supply the second-layer optimum correction data output from the optimum correction data calculation circuit 13. In this case, since the prediction coefficient for each class is not obtained, the encoded data output from the signal processing circuit 15 does not include the prediction coefficient for each class as described above.

【0244】従って、この場合、図31または図32に
示した予測部72または73は、分離部81(図19)
または221(図20)を設けずに構成することができ
る。
Therefore, in this case, the prediction unit 72 or 73 shown in FIG.
Alternatively, it can be configured without the 221 (FIG. 20).

【0245】ここで、以下、適宜、図9で説明したよう
に、予測係数を逐次求めて予測値を得る方式を逐次方式
と、また、図22や図27で説明したように、予測係数
を、あらかじめ予測係数ROM88に記憶させておき、
これを用いて予測値を得る方式を、ROM方式という。
Hereafter, as described with reference to FIG. 9, a method of sequentially obtaining prediction coefficients to obtain a predicted value will be referred to as a sequential method, and as described with reference to FIG. 22 and FIG. Stored in the prediction coefficient ROM 88 in advance,
A method of obtaining a predicted value by using this is called a ROM method.

【0246】次に、図33は、図1の送信装置1の他の
構成例を示している。なお、図中、図2における場合と
対応する部分については、同一の符号を付してある。
Next, FIG. 33 shows another configuration example of the transmitting apparatus 1 of FIG. Note that, in the figure, parts corresponding to those in FIG. 2 are denoted by the same reference numerals.

【0247】即ち、この実施の形態においては、最適補
正データ算出回路101には、第1階層の画像データの
みが供給されるようになされており、そこでは、第1階
層の画像データから第2階層の最適補正データが算出さ
れ、第2階層の符号化データとして、信号処理回路15
に供給されるようになされている。また、最適補正デー
タ算出回路102には、間引き回路11が出力する第2
階層の画像データのみが供給されるようになされてお
り、そこでは、第2階層の画像データから第3階層の最
適補正データが算出され、第3階層の符号化データとし
て、信号処理回路15に供給されるようになされてい
る。
That is, in this embodiment, only the first-layer image data is supplied to the optimum correction data calculation circuit 101, where the first-layer image data is converted to the second-layer image data. The optimum correction data of the hierarchy is calculated, and the signal processing circuit 15
To be supplied. In addition, the optimal correction data calculation circuit 102 outputs the second
Only the image data of the hierarchy is supplied, where the optimum correction data of the third hierarchy is calculated from the image data of the second hierarchy, and the encoded data of the third hierarchy is sent to the signal processing circuit 15 as the encoded data of the third hierarchy. It is made to be supplied.

【0248】次に、図34は、図33の最適補正データ
算出回路101の構成例を示している。なお、最適補正
データ算出回路102も、最適補正データ算出回路10
1と同様に構成されるため、その説明は省略する。
Next, FIG. 34 shows a configuration example of the optimum correction data calculation circuit 101 of FIG. Note that the optimum correction data calculation circuit 102 is also the optimum correction data calculation circuit 10.
1, the description is omitted.

【0249】ブロック化回路111には、第1階層の画
像データ(最適補正データ算出回路102における場合
には、第2階層の画像データ)が入力されるようになさ
れており、ブロック化回路111は、第1階層の画像デ
ータを、その性質に応じて所定のクラスに分類するため
の単位である、注目画素を中心とするクラス分類用ブロ
ックにブロック化し、ADRC処理回路112および遅
延回路115に供給するようになされている。
The first layer image data (the second layer image data in the case of the optimum correction data calculation circuit 102) is input to the blocking circuit 111. , Which is a unit for classifying the image data of the first hierarchy into a predetermined class according to its property, is divided into a class classification block centering on a pixel of interest and supplied to the ADRC processing circuit 112 and the delay circuit 115 It has been made to be.

【0250】ADRC処理回路112は、ブロック化回
路111からのブロック(クラス分類用ブロック)に対
してADRC処理を施し、その結果得られるADRCコ
ードで構成されるブロックを、クラス分類回路113に
供給するようになされている。
The ADRC processing circuit 112 performs ADRC processing on the block (class classification block) from the blocking circuit 111, and supplies the resulting block composed of the ADRC code to the class classification circuit 113. It has been made like that.

【0251】クラス分類回路113は、ADRC処理回
路112からのブロックを、その性質に応じて所定のク
ラスに分類するクラス分類処理を行い、そのブロック
(そのブロックを構成する注目画素)がいずれのクラス
に属するかを、クラス情報として、マッピング係数メモ
リ114に供給するようになされている。
The class classification circuit 113 performs a class classification process of classifying the block from the ADRC processing circuit 112 into a predetermined class according to its property, and determines whether the block (the target pixel constituting the block) Is supplied to the mapping coefficient memory 114 as class information.

【0252】マッピング係数メモリ114は、後述する
ような学習(マッピング係数学習)により得られるマッ
ピング係数を、クラス情報ごとに記憶しており、クラス
分類回路113から供給されるクラス情報をアドレスと
して、そのアドレスに記憶されているマッピング係数を
読み出し、演算回路116に供給するようになされてい
る。
The mapping coefficient memory 114 stores mapping coefficients obtained by learning (mapping coefficient learning) described below for each class information, and uses the class information supplied from the class classification circuit 113 as an address. The mapping coefficient stored in the address is read and supplied to the arithmetic circuit 116.

【0253】遅延回路115は、ブロック化回路111
から供給されるブロックを、そのブロックのクラス情報
に対応するマッピング係数が、マッピング係数メモリ1
14から読み出されるまで遅延し、演算回路116に供
給するようになされている。
The delay circuit 115 includes a blocking circuit 111
Is stored in the mapping coefficient memory 1 in a mapping coefficient corresponding to the class information of the block.
The data is delayed until the data is read from the memory 14, and is supplied to the arithmetic circuit 116.

【0254】演算回路116は、遅延回路115から供
給されるブロックを構成する画素の画素値と、マッピン
グ係数メモリ114から供給される、そのブロックのク
ラスに対応するマッピング係数とを用いて所定の演算を
行うことにより、画像を、その画素数を間引いて(少な
くして)符号化した符号化データ(第1階層の画像の画
素数を少なくした第2階層の最適補正データ)を算出す
るようになされている。即ち、演算回路116は、ブロ
ック化回路111が出力するブロックを構成する各画素
の画素値をy1,y2,・・・とするとともに、マッピン
グ係数メモリ114が出力する、そのブロックのクラス
に対応するマッピング係数をk1,k2,・・・とすると
き、それらを引数とする所定の関数値f(y1,y2,・
・・,k1,k2,・・・)を演算し、その関数値f(y
1,y2,・・・,k1,k2,・・・)を、ブロック化回
路111が出力するブロック(クラス分類用ブロック)
を構成する画素のうちの、例えば中心の画素の画素値と
して出力するようになされている。
The arithmetic circuit 116 performs a predetermined arithmetic operation using the pixel values of the pixels constituting the block supplied from the delay circuit 115 and the mapping coefficients supplied from the mapping coefficient memory 114 and corresponding to the class of the block. Is performed so as to calculate encoded data (the second-layer optimal correction data in which the number of pixels of the first-layer image is reduced) by encoding the image by thinning out (reducing) the number of pixels. It has been done. That is, the arithmetic circuit 116 sets the pixel values of each pixel constituting the block output by the blocking circuit 111 to y 1 , y 2 ,... When the corresponding mapping coefficients are k 1 , k 2 ,..., Predetermined function values f (y 1 , y 2 ,.
.., k 1 , k 2 ,...), And the function value f (y
1, y 2, ···, k 1, k 2, ···) , and block output from the blocking circuit 111 (classification block)
Is output, for example, as the pixel value of the center pixel among the pixels constituting

【0255】従って、ブロック化回路111が出力する
クラス分類用ブロックを構成する画素数をN画素とする
と、演算回路16は、画像データを1/Nに間引き、こ
れを、符号化データとして出力するようになされてい
る。
Therefore, assuming that the number of pixels constituting the class classification block output from the blocking circuit 111 is N pixels, the arithmetic circuit 16 thins out the image data to 1 / N and outputs this as coded data. It has been made like that.

【0256】なお、演算回路116が出力する符号化デ
ータは、N画素で構成されるブロックの中心の画素を抽
出して出力するような、いわば単純な間引き処理により
得られるものではなく、上述したように、そのブロック
を構成するN画素により規定される関数値f(y1
2,・・・,k1,k2,・・・)であるが、この関数
値f(y1,y2,・・・,k1,k2,・・・)は、見方
を変えれば、単純な間引き処理により得られる、ブロッ
クの中心の画素の画素値を、その周辺の画素値に基づい
て、元の画像を得るのに最適な値に補正したものと考え
ることができる。そこで、マッピング係数と、ブロック
を構成する画素との演算の結果得られるデータも、以
下、適宜、最適補正データという。
The encoded data output from the arithmetic circuit 116 is not obtained by a so-called simple thinning-out process in which the center pixel of a block composed of N pixels is extracted and output. As described above, the function value f (y 1 ,
y 2 ,..., k 1 , k 2 ,...), and the function value f (y 1 , y 2 ,..., k 1 , k 2 ,. In other words, it can be considered that the pixel value of the pixel at the center of the block, which is obtained by a simple thinning-out process, is corrected to an optimal value for obtaining the original image based on the pixel values of the surrounding pixels. Therefore, the data obtained as a result of the operation of the mapping coefficients and the pixels constituting the block is hereinafter also referred to as optimal correction data as appropriate.

【0257】また、演算回路116における演算処理
は、ブロック化回路111が出力するクラス分類用ブロ
ックを構成する各画素の画素値を、関数値f(y1
2,・・・,k1,k2,・・・)にマッピング(写
像)する処理とも考えることができる。そこで、そのよ
うな処理に用いられる係数k1,k2,・・・をマッピン
グ係数と呼んでいる。
In the arithmetic processing in the arithmetic circuit 116, the pixel value of each pixel constituting the class classification block output from the blocking circuit 111 is converted into a function value f (y 1 ,
y 2 ,..., k 1 , k 2 ,...). Therefore, the coefficients k 1 , k 2 ,... Used for such processing are called mapping coefficients.

【0258】次に、図35のフローチャートを参照し
て、その動作について説明する。
Next, the operation will be described with reference to the flowchart in FIG.

【0259】ブロック化回路111には、例えば、1フ
レーム単位で、第1階層の画像データが供給されるよう
になされており、ブロック化回路111では、ステップ
S101において、1フレームの第1階層の画像が、ク
ラス分類用ブロックにブロック化される。即ち、ブロッ
ク化回路111は、例えば、図10に四角形で囲んで示
すように、第1階層の画像データを、注目画素を中心と
する3×3(横×縦)の9画素でなるクラス分類用ブロ
ックに分割し、ADRC処理回路112および遅延回路
115に、順次供給する。
For example, the first layer image data is supplied to the blocking circuit 111 in units of one frame, and the blocking circuit 111 determines in step S101 that the first layer image data of one frame is in the first layer. The image is blocked into classifying blocks. That is, the blocking circuit 111 classifies the image data of the first hierarchy into a class of 9 pixels of 3 × 3 (horizontal × vertical) centering on the pixel of interest as shown by a rectangle in FIG. , And is sequentially supplied to the ADRC processing circuit 112 and the delay circuit 115.

【0260】なお、この場合、クラス分類用ブロック
は、3×3画素でなる正方形状のブロックで構成される
こととなるが、クラス分類用ブロックの形状は、正方形
である必要はなく、その他、例えば、長方形や、十文字
形、その他の任意な形とすることが可能である。また、
クラス分類用ブロックを構成する画素数も、3×3の9
画素に限定されるものではない。さらに、クラス分類用
ブロックは、隣接する画素どうしで構成するのではな
く、離れた画素どうしで構成するようにすることも可能
である。但し、その形状および画素数は、後述する学習
(マッピング係数学習)時における場合のものと一致し
ている必要がある。
In this case, the class classification block is formed of a square block composed of 3 × 3 pixels. However, the shape of the class classification block does not need to be a square. For example, the shape can be a rectangle, a cross, or any other shape. Also,
The number of pixels constituting the class classification block is also 3 × 3 = 9.
It is not limited to pixels. In addition, the class classification block may be configured not with adjacent pixels but with separated pixels. However, the shape and the number of pixels need to match those at the time of learning (mapping coefficient learning) described later.

【0261】ADRC処理回路112は、ブロック化回
路111からクラス分類用ブロックを受信すると、ステ
ップS102において、そのブロックに対して、例え
ば、1ビットのADRC処理を施し、これにより、1ビ
ットで表現される画素で構成されるブロックとする。A
DRC処理の施されたクラス分類用ブロックは、クラス
分類回路113に供給される。
When the ADRC processing circuit 112 receives the class classification block from the blocking circuit 111, the ADRC processing circuit 112 performs, for example, 1-bit ADRC processing on the block in step S102, whereby the block is represented by 1 bit. Block composed of pixels. A
The classification block subjected to the DRC processing is supplied to the classification circuit 113.

【0262】クラス分類回路113では、ステップS1
03において、ADRC処理回路112からのクラス分
類用ブロックがクラス分類され、その結果得られるクラ
ス情報が、マッピング係数メモリ114に、アドレスと
して供給される。これにより、ステップS104におい
て、マッピング係数メモリ114からは、クラス分類回
路113より供給されたクラス情報に対応するマッピン
グ係数が読み出され、演算回路116に供給される。
In the classifying circuit 113, step S1
At 03, the class classification block from the ADRC processing circuit 112 is classified, and the resulting class information is supplied to the mapping coefficient memory 114 as an address. Thereby, in step S104, the mapping coefficient corresponding to the class information supplied from the class classification circuit 113 is read from the mapping coefficient memory 114 and supplied to the arithmetic circuit 116.

【0263】一方、遅延回路115では、ブロック化回
路111からのクラス分類用ブロックが遅延され、その
ブロックのクラス情報に対応するマッピング係数が、マ
ッピング係数メモリ114から読み出されるのを待っ
て、演算器116に供給される。演算器116では、ス
テップS105において、遅延回路115からのクラス
分類用ブロックを構成する各画素の画素値と、マッピン
グ係数メモリ114からのマッピング係数を用いて、上
述した関数値f(・)(この関数fのかっこ内の・は、
画素値y1,y2,・・・と、マッピング係数k1,k2
・・・の集合を表すものとする)が演算されることによ
り、クラス分類用ブロックを構成する中心の画素(中心
画素)の画素値を最適なものに補正した最適補正データ
が算出される。この最適補正データは、ステップS10
6において、第2階層の符号化データとして、信号処理
回路15(図33)に出力される。
On the other hand, the delay circuit 115 delays the class classification block from the blocking circuit 111 and waits until the mapping coefficient corresponding to the class information of the block is read from the mapping coefficient memory 114. 116. In step S 105, the computing unit 116 uses the pixel value of each pixel constituting the class classification block from the delay circuit 115 and the mapping coefficient from the mapping coefficient memory 114 to obtain the function value f (·) (this The parentheses in the function f
Pixel values y 1 , y 2 ,... And mapping coefficients k 1 , k 2 ,.
.. Are calculated, thereby calculating optimal correction data in which the pixel value of the central pixel (central pixel) constituting the class classification block is corrected to an optimal value. This optimum correction data is stored in step S10.
At 6, it is output to the signal processing circuit 15 (FIG. 33) as encoded data of the second hierarchy.

【0264】そして、ステップS107に進み、1フレ
ーム分の第1階層の画像データについての処理が終了し
たかどうかが判定される。ステップS107において、
1フレーム分の第1階層の画像データについての処理
が、まだ終了していないと判定された場合、ステップS
102に戻り、次のクラス分類用ブロックを対象に、ス
テップS102以下の処理が繰り返される。また、ステ
ップS107において、1フレーム分の第1階層の画像
データについての処理が終了したと判定された場合、ス
テップS101に戻り、次のフレームを対象に、ステッ
プS101以下の処理が繰り返される。
Then, the flow advances to step S107 to determine whether the processing for the image data of the first hierarchy for one frame has been completed. In step S107,
If it is determined that the processing for the image data of the first layer for one frame has not been completed yet, step S
Returning to step 102, the processing from step S102 is repeated for the next block for class classification. If it is determined in step S107 that the processing on the first layer of image data for one frame has been completed, the process returns to step S101, and the processing from step S101 onward is repeated for the next frame.

【0265】次に、図36は、図34のマッピング係数
メモリ114に記憶されているマッピング係数を算出す
るための学習(マッピング係数学習)処理を行う画像処
理装置の構成例を示している。
Next, FIG. 36 shows an example of the configuration of an image processing apparatus for performing a learning process (mapping coefficient learning) for calculating the mapping coefficients stored in the mapping coefficient memory 114 of FIG.

【0266】メモリ121には、学習に適した第1階層
の画像データ(以下、適宜、学習用画像という)が1フ
レーム以上記憶されている。なお、最適補正データ算出
回路102(図33)を構成するマッピング係数メモリ
114に記憶させるマッピング係数を算出する場合に
は、メモリ121には、第2階層の画像データが記憶さ
れる。
The memory 121 stores one or more frames of first-layer image data suitable for learning (hereinafter, appropriately referred to as learning images). When calculating a mapping coefficient to be stored in the mapping coefficient memory 114 constituting the optimum correction data calculating circuit 102 (FIG. 33), the memory 121 stores the image data of the second hierarchy.

【0267】ブロック化回路122は、メモリ121に
記憶されている画像データを読み出し、図34のブロッ
ク化回路111から出力されるクラス分類用ブロックと
同一のブロックを構成して、ADRC処理回路123お
よび演算回路126に供給するようになされている。
The blocking circuit 122 reads out the image data stored in the memory 121 and forms the same block as the class classification block output from the blocking circuit 111 in FIG. It is supplied to the arithmetic circuit 126.

【0268】ADRC処理回路123またはクラス分類
回路124は、図34のADRC処理回路112または
クラス分類回路113における場合とそれぞれ同様の処
理を行うようになされている。従って、クラス分類回路
124からは、ブロック化回路122が出力するブロッ
クのクラス情報が出力されるようになされている。そし
て、このクラス情報は、マッピング係数メモリ131
に、アドレスとして供給されるようになされている。
The ADRC processing circuit 123 or the class classification circuit 124 performs the same processing as in the case of the ADRC processing circuit 112 or the class classification circuit 113 in FIG. Therefore, the class classification circuit 124 outputs the class information of the block output by the blocking circuit 122. The class information is stored in the mapping coefficient memory 131.
Is supplied as an address.

【0269】演算器126は、ブロック化回路122か
ら供給されるブロックを構成する画素と、マッピング係
数メモリ131から供給されるマッピング係数とを用い
て、図34の演算回路116における場合と同一の演算
を行い、その結果得られる補正データ(関数値f
(・))を、ローカルデコード部127に供給するよう
になされている。
The arithmetic unit 126 uses the pixels constituting the block supplied from the blocking circuit 122 and the mapping coefficients supplied from the mapping coefficient memory 131 to perform the same operation as in the arithmetic circuit 116 of FIG. Is performed, and the resulting correction data (function value f
(•)) is supplied to the local decoding unit 127.

【0270】ローカルデコード部127は、演算回路1
26から供給される補正データに基づいて、元の学習用
画像の予測値(ブロック化回路122が出力するブロッ
クを構成する画素の画素値の予測値)を、上述したRO
M方式または逐次方式により予測し(算出し)、誤差算
出部128に供給するようになされている。なお、予測
値を、逐次方式により求める場合においては、ローカル
デコード部127には、クラスごとの予測係数を求める
ために、メモリ121に記憶された学習用の画像が供給
される(ここでは、例えば、ROM方式によることとし
ているため、学習用の画像はローカルデコード部127
に供給されていない)。
[0270] The local decoding unit 127 is
26, the predicted value of the original learning image (the predicted value of the pixel value of the pixel forming the block output by the blocking circuit 122) is calculated based on the correction data supplied from the RO.
It is predicted (calculated) by the M method or the sequential method, and supplied to the error calculation unit 128. When the prediction value is obtained by the sequential method, the learning image stored in the memory 121 is supplied to the local decoding unit 127 to obtain the prediction coefficient for each class (here, for example, And the ROM method, the learning image is stored in the local decoding unit 127.
Not supplied).

【0271】誤差算出部128は、ローカルデコード部
127から供給される予測値に対応する学習用画像の画
素値(真値)をメモリ121から読み出し、その学習用
画像の画素値に対する、予測値の予測誤差を算出(検
出)し、その予測誤差を、誤差情報として、判定部12
9に供給するようになされている。
The error calculating section 128 reads from the memory 121 the pixel value (true value) of the learning image corresponding to the prediction value supplied from the local decoding section 127, and calculates the prediction value of the learning image with respect to the pixel value of the learning image. A prediction error is calculated (detected), and the prediction error is used as error information by the determination unit 12.
9.

【0272】判定部129は、誤差算出部128からの
誤差情報と、所定の閾値ε1とを比較し、その比較結果
に対応して、マッピング係数設定回路130を制御する
ようになされている。マッピング係数設定回路130
は、判定部129の制御にしたがって、クラス分類回路
124におけるクラス分類の結果得られるクラス数と同
一の数のマッピング係数のセットを設定(変更)し、マ
ッピング係数メモリ131に供給するようになされてい
る。
The judgment section 129 compares the error information from the error calculation section 128 with a predetermined threshold value ε1, and controls the mapping coefficient setting circuit 130 in accordance with the comparison result. Mapping coefficient setting circuit 130
Sets (changes) a set of mapping coefficients of the same number as the number of classes obtained as a result of the classification in the classification circuit 124 according to the control of the determination unit 129, and supplies the same to the mapping coefficient memory 131. I have.

【0273】マッピング係数メモリ131は、マッピン
グ係数設定回路30から供給されるマッピング係数を一
時記憶するようになされている。なお、マッピング係数
メモリ131は、クラス分類回路124においてクラス
分類されるクラスの数だけのマッピング係数(マッピン
グ係数のセット)を記憶することのできる記憶領域を有
しており、各記憶領域においては、マッピング係数設定
回路130から、新たなマッピング係数が供給される
と、既に記憶しているマッピング係数に代えて、その新
たなマッピング係数が記憶されるようになされている。
The mapping coefficient memory 131 temporarily stores the mapping coefficients supplied from the mapping coefficient setting circuit 30. Note that the mapping coefficient memory 131 has storage areas capable of storing mapping coefficients (sets of mapping coefficients) of the number of classes classified by the class classification circuit 124. In each storage area, When a new mapping coefficient is supplied from the mapping coefficient setting circuit 130, the new mapping coefficient is stored instead of the already stored mapping coefficient.

【0274】また、マッピング係数メモリ131は、ク
ラス分類回路124から供給されるクラス情報に対応す
るアドレスに記憶されたマッピング係数を読み出し、演
算回路126に供給するようにもなされている。
The mapping coefficient memory 131 reads out the mapping coefficient stored at the address corresponding to the class information supplied from the class classification circuit 124 and supplies it to the arithmetic circuit 126.

【0275】次に、図37のフローチャートを参照し
て、その動作について説明する。
Next, the operation will be described with reference to the flowchart in FIG.

【0276】まず最初に、マッピング係数設定回路13
0は、ステップS151においてマッピング係数の初期
値のセットを、クラス分類回路124においてクラス分
類されるクラスの数だけ設定し、マッピング係数メモリ
131に供給する。マッピング係数メモリ131では、
マッピング係数設定回路130からのマッピング係数
(初期値)が、対応するクラスのアドレスに記憶され
る。
First, the mapping coefficient setting circuit 13
In step S151, the number of sets of the initial values of the mapping coefficients is set to the number of classes to be classified by the class classification circuit 124 in step S151. In the mapping coefficient memory 131,
The mapping coefficient (initial value) from the mapping coefficient setting circuit 130 is stored at the address of the corresponding class.

【0277】そして、ブロック化回路122は、ステッ
プS152において、メモリ121に記憶されている学
習用画像すべてを、図34のブロック化回路111にお
ける場合と同様に、注目画素と中心とした3×3画素の
ブロックにブロック化する。さらに、ブロック化回路1
21は、そのブロックを、メモリ121から読み出し、
ADRC処理回路123および演算回路126に順次供
給する。
Then, in step S152, the blocking circuit 122 converts all the learning images stored in the memory 121 into 3 × 3 pixels centered on the pixel of interest in the same manner as in the blocking circuit 111 of FIG. Block into blocks of pixels. Further, the blocking circuit 1
21 reads the block from the memory 121,
It is sequentially supplied to the ADRC processing circuit 123 and the arithmetic circuit 126.

【0278】ADRC処理回路123では、ステップS
153において、ブロック化回路122からのブロック
に対して、図34のADRC処理回路112における場
合と同様に、1ビットのADRC処理が施され、クラス
分類回路124に供給される。クラス分類回路124で
は、ステップS154において、ADRC処理回路12
3から供給されたブロックのクラスが決定され、そのク
ラス情報が、アドレスとして、マッピング係数メモリ1
31に供給される。これにより、ステップS155にお
いて、マッピング係数メモリ131の、クラス分類回路
124から供給されるクラス情報に対応するアドレスか
ら、マッピング係数が読み出され、演算回路126に供
給される。
In the ADRC processing circuit 123, step S
At 153, the block from the blocking circuit 122 is subjected to 1-bit ADRC processing as in the case of the ADRC processing circuit 112 in FIG. 34, and supplied to the class classification circuit 124. In the class classification circuit 124, in step S154, the ADRC processing circuit 12
3 is determined, and the class information is stored in the mapping coefficient memory 1 as an address.
31. Thereby, in step S155, the mapping coefficient is read from the address corresponding to the class information supplied from the class classification circuit 124 in the mapping coefficient memory 131, and supplied to the arithmetic circuit 126.

【0279】演算回路126は、ブロック化回路122
からブロックを受信するとともに、マッピング係数メモ
リ131から、そのブロックのクラスに対応するマッピ
ング係数を受信すると、ステップS156において、そ
のマッピング係数と、ブロック化回路122から供給さ
れるブロックを構成する画素の画素値とを用いて、上述
の関数値f(・)を演算する。この演算結果は、ブロッ
ク化回路122から供給されるブロックの中心画素の画
素値を補正した補正データとして、ローカルデコード部
127に供給される。
The operation circuit 126 is composed of a blocking circuit 122
When the block is received from the mapping coefficient memory 131 and the mapping coefficient corresponding to the class of the block is received from the mapping coefficient memory 131, the mapping coefficient and the pixel of the pixel constituting the block supplied from the blocking circuit 122 are supplied in step S156. The above function value f (·) is calculated using the values. The calculation result is supplied to the local decoding unit 127 as correction data obtained by correcting the pixel value of the central pixel of the block supplied from the blocking circuit 122.

【0280】即ち、例えば、上述の図10において、四
角形で囲んで示すような3×3画素のブロックが、ブロ
ック化回路122から出力されたものとすると、演算回
路126では、同図において●印で示す画素の画素値を
補正した補正データが求められ、ローカルデコード部1
27に出力される。
That is, for example, assuming that a block of 3 × 3 pixels as shown by a rectangle in FIG. 10 is output from the block forming circuit 122, the arithmetic circuit 126 outputs Correction data obtained by correcting the pixel value of the pixel indicated by
27.

【0281】従って、演算回路126では、学習用画像
を構成する画素数が、1/9に間引かれ、ローカルデコ
ード部127に供給される。
Therefore, in the arithmetic circuit 126, the number of pixels constituting the learning image is reduced to 1/9 and supplied to the local decoding unit 127.

【0282】ステップS156で補正データが算出され
た後は、ステップS157に進み、メモリ121に記憶
されたすべての学習用画像についての補正データが求め
られたかどうかが判定される。ステップS157におい
て、すべての学習用画像についての補正データが、まだ
求められていないと判定された場合、ステップS153
に戻り、すべての学習用画像についての補正データが求
められるまで、ステップS153乃至S157の処理を
繰り返す。
After the correction data has been calculated in step S156, the flow advances to step S157 to determine whether correction data has been obtained for all the learning images stored in the memory 121. If it is determined in step S157 that the correction data for all the learning images has not been obtained yet, step S153 is performed.
Then, the processing of steps S153 to S157 is repeated until the correction data for all the learning images is obtained.

【0283】また、ステップS157において、すべて
の学習用画像についての補正データが求められたと判定
された場合、即ち、メモリ121に記憶されたすべての
学習用画像を、1/9に間引いた間引き画像が得られた
場合(但し、この間引き画像は、学習用画像を、単純に
1/9に間引いたものではなく、マッピング係数との演
算により画素値が求められたものである)、ステップS
158に進み、ローカルデコード部127において、そ
の間引き画像がローカルデコードされることにより、元
の学習用画像の予測値が算出される。この予測値は、誤
差算出部128に供給される。
If it is determined in step S157 that correction data for all learning images has been obtained, that is, a thinned image obtained by thinning out all the learning images stored in the memory 121 to 1/9. Is obtained (however, the thinned image is not an image in which the learning image is simply thinned out to 1/9, but an image whose pixel value is obtained by an operation with a mapping coefficient) in step S
Proceeding to 158, the local decoding unit 127 locally decodes the thinned image to calculate a predicted value of the original learning image. This predicted value is supplied to the error calculator 128.

【0284】誤差算出部128では、ステップS159
において、メモリ121から学習用画像が読み出され、
その学習用画像に対する、ローカルデコード部127か
ら供給される予測値の予測誤差が算出される。即ち、学
習用画像の画素値をYijと表すとともに、ローカルデコ
ード部127から出力される、その予測値をE[Yij
と表すとき、誤差算出部128では、次式で示される誤
差分散(誤差の自乗和)Qが算出され、これが、誤差情
報として、判定部129に供給される。
In the error calculating section 128, step S159
In, the learning image is read from the memory 121,
The prediction error of the prediction value supplied from the local decoding unit 127 for the learning image is calculated. That is, the pixel value of the learning image is represented by Y ij, and the predicted value output from the local decoding unit 127 is represented by E [Y ij ].
In the expression, the error calculation unit 128 calculates an error variance (sum of squares of error) Q represented by the following equation, and supplies this to the determination unit 129 as error information.

【0285】Q=Σ(Yij−E[Yij])2 但し、上式において、Σは、学習用画像の画素すべてに
ついてのサメーションを表す。
Q = Σ (Y ij -E [Y ij ]) 2 In the above equation, Σ represents the summation for all the pixels of the learning image.

【0286】判定部129は、誤差算出部128から誤
差情報を受信すると、その誤差情報と所定の閾値ε1と
を比較し、ステップS160において、その大小関係を
判定する。ステップS160において、誤差情報が閾値
ε1以上であると判定された場合、即ち、ローカルデコ
ード部127において得られる予測値で構成される画像
が、元の学習用画像と同一であるとは認められない場
合、判定部129は、マッピング係数設定回路130に
制御信号を出力する。マッピング係数設定回路130
は、ステップS161において、判定部129からの制
御信号にしたがい、マッピング係数を変更し、その変更
後のマッピング係数を、マッピング係数メモリ131に
新たに記憶させる。
Upon receiving the error information from error calculating section 128, determining section 129 compares the error information with a predetermined threshold ε1, and determines the magnitude relation in step S160. In step S160, when it is determined that the error information is equal to or larger than the threshold ε1, that is, it is not recognized that the image composed of the predicted values obtained in the local decoding unit 127 is the same as the original learning image. In this case, the determination unit 129 outputs a control signal to the mapping coefficient setting circuit 130. Mapping coefficient setting circuit 130
In step S161, the mapping coefficient is changed in accordance with the control signal from the determination unit 129, and the changed mapping coefficient is newly stored in the mapping coefficient memory 131.

【0287】そして、ステップS153に戻り、マッピ
ング係数メモリ131に記憶された、変更後のマッピン
グ係数を用いて、再び、ステップS153以下の処理が
繰り返される。
Then, the process returns to step S153, and the processes from step S153 are repeated again using the changed mapping coefficient stored in the mapping coefficient memory 131.

【0288】ここで、マッピング係数設定回路130に
おける、マッピング係数の変更は、ランダムに行っても
良いし、また、今回の誤差情報が、前回の誤差情報より
小さくなった場合には、前回と同様の傾向で変化させ、
今回の誤差情報が、前回の誤差情報より大きくなった場
合には、前回と逆の傾向で変化させるようにすることも
できる。
Here, the mapping coefficient setting circuit 130 may change the mapping coefficient at random, or if the current error information is smaller than the previous error information, the same as the previous time. Change with the tendency of
When the current error information becomes larger than the previous error information, the error information may be changed in a reverse tendency.

【0289】さらに、マッピング係数の変更は、すべて
のクラスについて行うようにすることもできるし、その
一部のクラスについてだけ行うようにすることもでき
る。一部のクラスについてのマッピング係数だけの変更
を行う場合においては、例えば、誤差情報に対する影響
の強いクラスを検出させ、そのようなクラスについての
マッピング係数だけを変更するようにすることができ
る。誤差情報に対する影響の強いクラスは、例えば、次
のようにして検出することができる。即ち、まず最初
に、マッピング係数の初期値を用いて処理を行うことに
より、その誤差情報を得る。そして、マッピング係数
を、1クラスごとに同一の量だけ変化させ、その結果得
られる誤差情報を、初期値を用いた場合に得られた誤差
情報と比較し、その差が、所定値以上となるクラスを、
誤差情報に対する影響の強いクラスとして検出すれば良
い。
Further, the change of the mapping coefficient can be performed for all classes, or can be performed for only some of the classes. In the case of changing only the mapping coefficients of some classes, for example, a class having a strong influence on the error information may be detected, and only the mapping coefficients of such classes may be changed. The class having a strong influence on the error information can be detected, for example, as follows. That is, first, processing is performed using the initial value of the mapping coefficient to obtain the error information. Then, the mapping coefficient is changed by the same amount for each class, and the resulting error information is compared with the error information obtained when the initial value is used, and the difference is equal to or more than a predetermined value. Class
What is necessary is just to detect as a class which has a strong influence on error information.

【0290】また、マッピング係数が、上述したk1,
k2,・・・のように複数で1セットとされている場合
には、その中の誤差情報に対する影響の強いものだけを
変更させるようにすることもできる。
The mapping coefficient is k1,
In the case where a plurality is set as one set such as k2,..., it is also possible to change only those having a strong influence on the error information.

【0291】さらに、上述の場合においては、マッピン
グ係数を、クラスごとに設定するようにしたが、マッピ
ング係数は、その他、例えば、ブロックごとに独立して
設定したり、また、近接するブロック単位などで設定し
たりするようにすることが可能である。
Further, in the above-described case, the mapping coefficient is set for each class. However, the mapping coefficient may be set independently for each block, or may be set for each adjacent block. It is possible to set it with.

【0292】但し、マッピング係数を、例えば、ブロッ
クごとに独立して設定するようにした場合などにおいて
は、ある1つのクラスに対して、複数セットのマッピン
グ係数が得られることがある(この逆に、マッピング係
数が、1セットも得られないクラスが生じることもあ
る)。マッピング係数は、最終的には、クラスごとに決
める必要があるため、上述のように、あるクラスに対し
て、複数セットのマッピング係数が得られた場合には、
複数セットのマッピング係数を対象に、何らかの処理を
行うことで、1セットのマッピング係数を決める必要が
ある。
However, for example, when the mapping coefficients are independently set for each block, a plurality of sets of mapping coefficients may be obtained for a certain class (inversely, a plurality of sets of mapping coefficients may be obtained). , There may be a class for which no set of mapping coefficients can be obtained.) Since the mapping coefficients must be finally determined for each class, as described above, when a plurality of sets of mapping coefficients are obtained for a certain class,
It is necessary to determine one set of mapping coefficients by performing some processing on a plurality of sets of mapping coefficients.

【0293】一方、ステップS160において、誤差情
報が閾値ε1より小さいと判定された場合、即ち、ロー
カルデコード部127において得られる予測値で構成さ
れる画像が、元の学習用画像と同一であると認められる
場合、処理を終了する。
On the other hand, when it is determined in step S160 that the error information is smaller than the threshold value ε1, that is, the image composed of the predicted values obtained by the local decoding unit 127 is the same as the original learning image. If accepted, the process ends.

【0294】この時点で、マッピング係数メモリ131
に記憶されている、クラスごとのマッピング係数が、も
との画像と同一と認められる復号画像(予測値)を復元
することができる補正データを得るために最適なものと
して、図34のマッピング係数メモリ114にセットさ
れている。
At this point, the mapping coefficient memory 131
The mapping coefficient of FIG. 34 is determined as the optimal one for obtaining the correction data that can restore the decoded image (prediction value) that is recognized as the same as the original image. It is set in the memory 114.

【0295】従って、このようなマッピング係数を用い
て得られる最適補正データによれば、元の画像とほぼ同
一の画像を得ることが可能となる。
Therefore, according to the optimum correction data obtained by using such mapping coefficients, it is possible to obtain an image substantially the same as the original image.

【0296】なお、図36の実施の形態においては、上
述したように、ブロック化回路122において、画像
が、注目画素を中心とした3×3の9画素にブロック化
され、また、ADRC処理回路123において、1ビッ
トのADRC処理が行われるので、クラス分類回路12
4によるクラス分類により得られるクラス数は512
(=(219)であり、従って、512セットのマッピ
ング係数が得られる。
In the embodiment shown in FIG. 36, as described above, in the blocking circuit 122, the image is divided into 3 × 3 9 pixels centering on the target pixel, and the ADRC processing circuit is used. In 123, the 1-bit ADRC process is performed, so that the class classification circuit 12
The number of classes obtained by class classification by 4 is 512
(= (2 1 ) 9 ), so that 512 sets of mapping coefficients are obtained.

【0297】次に、図38は、図34のマッピング係数
メモリ114に記憶されているマッピング係数を算出す
るための学習(マッピング係数学習)処理を行う画像処
理装置の他の構成例を示している。
Next, FIG. 38 shows another example of the configuration of an image processing apparatus for performing learning (mapping coefficient learning) processing for calculating mapping coefficients stored in the mapping coefficient memory 114 of FIG. .

【0298】なお、図36の画像処理装置によれば、関
数fが、例えば、線形1次式で表される場合の他、非線
形な式や、2次以上の式で表される場合も、最適な予測
係数を求めることができるが、図38の画像処理装置で
は、関数fが、線形1次式で表される場合にのみ、最適
な予測係数を求めることができるようになされている。
According to the image processing apparatus shown in FIG. 36, in addition to the case where the function f is expressed by a linear linear equation, the case where the function f is expressed by a non-linear equation or a quadratic or higher equation, Although the optimum prediction coefficient can be obtained, the image processing apparatus in FIG. 38 can obtain the optimum prediction coefficient only when the function f is represented by a linear linear expression.

【0299】即ち、図38の画像処理装置は、図34に
おいて、ブロック化回路111が出力する3×3画素の
ブロックを構成する各画素の画素値をy1,y2,・・
・,y9とするとともに、マッピング係数メモリ114
が出力するマッピング係数をk1,k2,・・・,k9
する場合において、演算回路116が、次式にしたがっ
て関数値f(y1,y2,・・・,k1,k2,・・・)を
演算して補正データを求めるようになされているときに
用いることができる。
That is, in the image processing apparatus of FIG. 38, in FIG. 34, the pixel values of the pixels constituting the 3 × 3 pixel block output by the blocking circuit 111 are represented by y 1 , y 2 ,.
, Y 9 and the mapping coefficient memory 114
K 1, k 2 but the mapping coefficients outputted, ..., in a case where a k 9, the arithmetic circuit 116, the function value f (y 1, y 2 according to the following equation, ..., k 1, k 2 ,...) Can be used when calculating correction data.

【0300】 f(・)=k11+k22+・・・+k99 F (·) = k 1 y 1 + k 2 y 2 +... + K 9 y 9

【0301】間引き回路171には、学習に適した学習
用の画像としての第1階層の画像データが、例えば1フ
レーム単位で供給されるようになされており、そこで
は、第1階層の画像データの画素数が間引かれることに
より、第2階層の画像データが形成されるようになされ
ている。なお、最適補正データ算出回路102(図3
3)を構成するマッピング係数メモリ114に記憶させ
るマッピング係数を算出する場合には、間引き回路17
1には、第2階層の画像データが供給され、これによ
り、第3階層の画像データが形成される。
The thinning circuit 171 is supplied with first-layer image data as learning images suitable for learning, for example, on a frame-by-frame basis. The image data of the second hierarchy is formed by thinning out the number of pixels. The optimum correction data calculation circuit 102 (FIG. 3)
When calculating the mapping coefficient to be stored in the mapping coefficient memory 114 constituting 3), the thinning circuit 17 is used.
1 is supplied with the image data of the second hierarchy, whereby the image data of the third hierarchy is formed.

【0302】間引き回路171において得られた第2階
層の画像データは、最適補正データ算出部170に供給
されるようになされている。最適補正データ算出部17
0は、図5における補正部21、ローカルデコード部2
2、誤差算出部23、または判定部24(あるいは、図
21における補正部21、ローカルデコード部102
2、誤差算出部23、または判定部24や、図25にお
ける補正部21、ローカルデコード部2022、誤差算
出部23、または判定部2024)とそれぞれ同様に構
成される補正部172、ローカルデコード部173、誤
差算出部174、または判定部175で構成されてお
り、そこでは、そこに入力される画像、即ち、ここで
は、第1階層の画像の画素数を少なくした第2階層の画
像についての最適補正データが生成され、ラッチ回路1
76に供給されるようになされている。なお、ローカル
デコード部173において、逐次方式により予測値を求
める場合においては、クラスごとの予測係数を求めるた
めに、元の画像(ここでは、学習用の画像としての第1
階層の画像データ)が、ローカルデコード部173に供
給される。
The image data of the second hierarchy obtained in the thinning circuit 171 is supplied to the optimum correction data calculating section 170. Optimal correction data calculation unit 17
0 is the correction unit 21 and the local decoding unit 2 in FIG.
2. Error calculating unit 23 or determining unit 24 (or correcting unit 21 and local decoding unit 102 in FIG. 21)
2, the error calculating unit 23 or the determining unit 24, and the correcting unit 172 and the local decoding unit 173 each configured similarly to the correcting unit 21, the local decoding unit 2022, the error calculating unit 23, or the determining unit 2024 in FIG. , An error calculation unit 174 or a determination unit 175, in which an image input thereto, that is, an optimal image for a second layer image in which the number of pixels of the first layer image is reduced. Correction data is generated, and the latch circuit 1
76. In the case where the local decoding unit 173 obtains a prediction value by a sequential method, an original image (here, a first image as a learning image) is used to obtain a prediction coefficient for each class.
(Hierarchical image data) is supplied to the local decoding unit 173.

【0303】ラッチ回路176は、メモリ176Aを内
蔵しており、そのメモリ176Aに、最適補正データ算
出部170から供給される最適補正データを記憶させる
ようになされている。さらに、ラッチ回路176は、メ
モリ176Aに記憶された最適補正データのうち、ブロ
ック化回路177のメモリ177Aから読み出されるブ
ロックの中心画素に対応するものを読み出し、メモリ1
80に供給するようになされている。なお、ラッチ回路
176は、メモリ176Aに、1フレーム分の補正デー
タが記憶されると、その旨を示す制御信号を、ブロック
化回路177に出力するようになされている。
The latch circuit 176 has a built-in memory 176A, and stores the optimum correction data supplied from the optimum correction data calculation section 170 in the memory 176A. Further, the latch circuit 176 reads out the optimum correction data stored in the memory 176A corresponding to the central pixel of the block read from the memory 177A of the blocking circuit 177, and
80. When one frame of correction data is stored in the memory 176A, the latch circuit 176 outputs a control signal indicating this to the blocking circuit 177.

【0304】ブロック化回路177には、間引き回路1
71に供給される画像データと同一の画像データ、即
ち、ここでは、第1階層の画像データが、1フレーム単
位で供給されるようになされている。ブロック化回路1
77は、メモリ177Aを内蔵しており、そのメモリ1
77Aに、そこに供給される学習用画像を記憶させるよ
うになされている。また、ブロック化回路177は、ラ
ッチ回路176から制御信号を受信すると、メモリ17
7Aに記憶された学習用画像を、図34のブロック化回
路111における場合と同様に、注目画素と中心とする
3×3画素で構成されるブロックに分割し、そのブロッ
クを順次読み出して、ADRC処理回路178およびメ
モリ180に供給するようになされている。
The blocking circuit 177 includes the thinning circuit 1
The same image data as the image data supplied to 71, that is, here, the image data of the first hierarchy is supplied in units of one frame. Blocking circuit 1
77 has a built-in memory 177A.
The learning image supplied thereto is stored in 77A. Further, upon receiving the control signal from the latch circuit 176, the blocking circuit 177
The learning image stored in 7A is divided into blocks each including a pixel of interest and 3 × 3 pixels at the center, as in the case of the blocking circuit 111 in FIG. The data is supplied to the processing circuit 178 and the memory 180.

【0305】なお、ブロック化回路177は、その内蔵
するメモリ177Aからブロックを読み出すときに、そ
のブロックの位置を示す制御信号を、ラッチ回路176
に供給するようになされている。ラッチ回路176で
は、この制御信号に基づいて、メモリ177Aから読み
出される3×3画素のブロックが認識され、上述したよ
うに、そのブロックの中心画素に対応する最適補正デー
タが、メモリ176Aから読み出されるようになされて
いる。即ち、これにより、メモリ180に対しては、あ
る3×3画素のブロックと、そのブロックに対応する最
適補正データとが同時に供給されるようになされてい
る。
When reading a block from the built-in memory 177A, the blocking circuit 177 sends a control signal indicating the position of the block to the latch circuit 176.
To be supplied. The latch circuit 176 recognizes a 3 × 3 pixel block read from the memory 177A based on the control signal, and reads the optimal correction data corresponding to the center pixel of the block from the memory 176A as described above. It has been made like that. That is, a block of a certain 3 × 3 pixel and the optimum correction data corresponding to the block are simultaneously supplied to the memory 180.

【0306】ADRC処理回路178またはクラス分類
回路179は、図34のADRC処理回路112または
クラス分類回路113とそれぞれ同様に構成されてい
る。そして、クラス分類回路179が出力する、ブロッ
ク化回路177からのブロックについてのクラス情報
は、メモリ180に対して、アドレスとして供給される
ようになされている。
The ADRC processing circuit 178 or the class classification circuit 179 has the same configuration as the ADRC processing circuit 112 or the class classification circuit 113 in FIG. 34, respectively. Then, the class information about the block from the blocking circuit 177 output from the class classification circuit 179 is supplied to the memory 180 as an address.

【0307】メモリ180は、クラス分類回路179か
ら供給されるクラス情報に対応するアドレスに、ラッチ
回路176から供給される最適補正データと、ブロック
化回路177から供給されるブロックとを対応付けて記
憶するようになされている。なお、メモリ180は、1
つのアドレスに複数の情報を記憶することができるよう
になされており、これにより、あるクラス情報に対応す
る最適補正データおよびブロックを、複数セット記憶す
ることができるようになされている。
The memory 180 stores the optimum correction data supplied from the latch circuit 176 and the block supplied from the blocking circuit 177 in association with the address corresponding to the class information supplied from the class classification circuit 179. It has been made to be. The memory 180 has 1
A plurality of pieces of information can be stored in one address, whereby a plurality of sets of optimal correction data and blocks corresponding to certain class information can be stored.

【0308】演算回路181は、メモリ180に記憶さ
れた、学習用画像の3×3のブロックを構成する9画素
1,y2,・・・,y9と、そのブロックに対応付けら
れている最適補正データy’とを読み出し、これらに最
小自乗法を適用することで、クラスごとに、マッピング
係数k1乃至k9を求め、メモリ182に供給するように
なされている。メモリ182は、演算回路181から供
給されるクラスごとのマッピング係数k1乃至k9を、そ
のクラスに対応したアドレスに記憶するようになされて
いる。
The arithmetic circuit 181 is associated with the nine pixels y 1 , y 2 ,..., Y 9 constituting the 3 × 3 block of the learning image stored in the memory 180 and associated with the block. By reading the optimal correction data y ′ and applying the least squares method to them, mapping coefficients k 1 to k 9 are obtained for each class and supplied to the memory 182. The memory 182 stores the mapping coefficients k 1 to k 9 for each class supplied from the arithmetic circuit 181 at addresses corresponding to the classes.

【0309】次に、図39のフローチャートを参照し
て、その動作について説明する。
Next, the operation will be described with reference to the flowchart in FIG.

【0310】学習用画像としての第1階層の画像データ
が入力されると、その学習用画像は、ブロック化回路1
77のメモリ177Aに記憶されるとともに、間引き回
路171に供給される。間引き回路171では、第1階
層の画像データから第2階層の画像データが形成され、
最適補正データ算出部170に供給される。
When the image data of the first hierarchy as the learning image is input, the learning image is converted to the block circuit 1.
The data is stored in the memory 177A of the memory 77 and supplied to the thinning circuit 171. In the thinning circuit 171, image data of the second hierarchy is formed from image data of the first hierarchy,
It is supplied to the optimum correction data calculation section 170.

【0311】最適補正データ算出部170は、第2階層
の画像データを受信すると、ステップS131におい
て、第2階層の最適補正データを算出し、ラッチ回路1
76のメモリ176Aに供給して記憶させる。
Upon receiving the image data of the second hierarchical level, the optimum correction data calculating section 170 calculates the optimal correction data of the second hierarchical level in step S131, and
The data is supplied to and stored in the memory 176A at 76.

【0312】そして、ラッチ回路176は、そのメモリ
176Aに、1フレーム分の最適補正データを記憶する
と、制御信号を、ブロック化回路177に出力する。ブ
ロック化回路177は、ラッチ回路176から制御信号
を受信すると、ステップS132において、メモリ17
7Aに記憶された学習用画像を、3×3画素で構成され
るブロックに分割する。そして、ブロック化回路177
は、メモリ177Aに記憶された学習用画像のブロック
を読み出して、ADRC処理回路178およびメモリ1
80に供給する。
When the one-frame optimal correction data is stored in the memory 176A, the latch circuit 176 outputs a control signal to the blocking circuit 177. Upon receiving the control signal from the latch circuit 176, the blocking circuit 177 determines in step S132 that the memory 17
The learning image stored in 7A is divided into blocks each including 3 × 3 pixels. Then, the blocking circuit 177
Reads the block of the learning image stored in the memory 177A and reads the ADRC processing circuit 178 and the memory 1
80.

【0313】また、同時に、ブロック化回路177は、
メモリ177Aからブロックを読み出すときに、そのブ
ロックの位置を示す制御信号を、ラッチ回路176に供
給し、ラッチ回路176は、その制御信号に対応して、
メモリ177Aから読み出された3×3画素のブロック
を認識し、そのブロックの中心画素に対応する最適補正
データを読み出して、メモリ180に供給する。
At the same time, the blocking circuit 177
When reading a block from the memory 177A, a control signal indicating the position of the block is supplied to the latch circuit 176, and the latch circuit 176 responds to the control signal by:
The block of 3 × 3 pixels read from the memory 177A is recognized, and the optimum correction data corresponding to the central pixel of the block is read and supplied to the memory 180.

【0314】そして、ステップS133に進み、ADR
C処理回路178において、ブロック化回路177から
のブロックがADRC処理され、さらに、クラス分類回
路179において、そのブロックがクラス分類される。
このクラス分類結果は、アドレスとして、メモリ180
に供給される。
Then, the flow advances to step S133 to execute ADR
In the C processing circuit 178, the block from the blocking circuit 177 is subjected to ADRC processing, and further, in the class classification circuit 179, the block is classified.
This classification result is stored in the memory 180 as an address.
Supplied to

【0315】メモリ180では、ステップS134にお
いて、クラス分類回路179から供給されるクラス情報
に対応するアドレスに、ラッチ回路176から供給され
る最適補正データと、ブロック化回路177から供給さ
れるブロック(学習データ)とが対応付けられて記憶さ
れる。
In the memory 180, in step S134, at the address corresponding to the class information supplied from the class classification circuit 179, the optimal correction data supplied from the latch circuit 176 and the block supplied from the blocking circuit 177 (learning). ) Are stored in association with each other.

【0316】そして、ステップS135に進み、メモリ
180に、1フレーム分のブロックおよび最適補正デー
タが記憶されたかどうかが判定される。ステップS13
5において、メモリ180に、1フレーム分のブロック
および最適補正データが、まだ記憶されていないと判定
された場合、ブロック化回路177から次のブロックが
読み出されるとともに、ラッチ回路176からそのブロ
ックに対応する最適補正データが読み出され、ステップ
S133に戻り、以下、ステップS133以降の処理を
繰り返す。
The flow advances to step S135 to determine whether the memory 180 has stored the blocks for one frame and the optimum correction data. Step S13
In 5, when it is determined that the block for one frame and the optimal correction data are not yet stored in the memory 180, the next block is read from the blocking circuit 177 and the corresponding block is read from the latch circuit 176. The optimal correction data to be read is read out, and the process returns to step S133, and thereafter, the processing after step S133 is repeated.

【0317】また、ステップS135において、メモリ
180に、1フレーム分のブロックおよび最適補正デー
タが記憶されたと判定された場合、ステップS136に
進み、学習用画像すべてについて処理が終了したかどう
かが判定される。ステップS136において、学習用画
像すべてについての処理が、まだ終了していないと判定
された場合、ステップS131に戻り、次の学習用画像
について、ステップS131からの処理が繰り返され
る。
If it is determined in step S135 that the blocks for one frame and the optimal correction data have been stored in the memory 180, the flow advances to step S136 to determine whether the processing has been completed for all the learning images. You. If it is determined in step S136 that the processing for all the learning images has not been completed, the process returns to step S131, and the processing from step S131 is repeated for the next learning image.

【0318】一方、ステップS136において、学習用
画像すべてについての処理が終了したと判定された場
合、ステップS137に進み、演算回路181は、メモ
リ180に記憶された最適補正データとブロックとを、
クラスごとに読み出し、これらにより、式(7)に示し
たような正規方程式をたてる。さらに、演算回路181
は、ステップS138において、その正規方程式を解く
ことで、誤差を最小にする、クラスごとのマッピング係
数を算出する。このマッピング係数は、ステップS13
9において、メモリ182に供給されて記憶され、処理
を終了する。
On the other hand, if it is determined in step S136 that the processing for all the learning images has been completed, the process proceeds to step S137, where the arithmetic circuit 181 determines the optimum correction data and the block stored in the memory 180,
The data is read out for each class, and a normal equation as shown in Expression (7) is established by these. Further, the arithmetic circuit 181
Calculates the mapping coefficient for each class that minimizes the error by solving the normal equation in step S138. This mapping coefficient is calculated in step S13.
At 9, the data is supplied to and stored in the memory 182, and the processing is terminated.

【0319】関数fが、線形1次式で表される場合にお
いては、以上のようにしてメモリ182に記憶されたマ
ッピング係数を、図34のマッピング係数メモリ114
に記憶させ、これを用いて最適補正データを得ることが
できる。
When the function f is represented by a linear linear expression, the mapping coefficient stored in the memory 182 as described above is stored in the mapping coefficient memory 114 shown in FIG.
And optimal correction data can be obtained using this.

【0320】なお、クラスによっては、マッピング係数
を求めることができるだけの数の正規方程式が得られな
い場合がある。このような場合は、図34の演算回路1
16において、ブロック化回路111から出力される3
×3画素のブロックを構成する9画素の、例えば平均値
などが出力されるようなマッピング係数、即ち、k1
至k9=1/9などが、デフォルトの値として設定され
る。
In some classes, it is not possible to obtain as many normal equations as can obtain mapping coefficients. In such a case, the arithmetic circuit 1 in FIG.
At 16, 3 output from the blocking circuit 111 is output.
For example, mapping coefficients for outputting, for example, an average value of nine pixels constituting a block of × 3 pixels, that is, k 1 to k 9 = 1/9 are set as default values.

【0321】ここで、送信装置1が図33に示したよう
に構成される場合、受信装置4は図18に示したように
構成される。但し、図18の受信装置4において、予測
部72または73は、図31または図32に示したよう
にそれぞれ構成される。また、この場合、予測部72
(予測部73についても同様)で用いる予測係数は、基
本的に、図36のローカルデコード部127または図3
8のローカルデコード部173で用いられたものと同一
のものを採用する必要がある。
Here, when transmitting apparatus 1 is configured as shown in FIG. 33, receiving apparatus 4 is configured as shown in FIG. However, in the receiving device 4 of FIG. 18, the prediction unit 72 or 73 is configured as shown in FIG. 31 or 32, respectively. In this case, the prediction unit 72
The prediction coefficients used in the prediction unit 73 are basically the same as those of the local decoding unit 127 in FIG.
It is necessary to adopt the same one used in the local decoding unit 173 of FIG.

【0322】ところで、図2の場合においては、まず、
図40(A)に示すように、第1階層の画像データとの
誤差(誤差情報)を、所定の閾値ε以下とする第1階層
の予測値が得られる、第2階層の画像データを補正した
最適補正データが、最適補正データ算出回路13におい
て求められ、その後、同図(B)に示すように、第2階
層の最適補正データとの誤差(誤差情報)を、所定の閾
値ε以下とする第2階層の予測値が得られる、第3階層
の画像データを補正した最適補正データが、最適補正デ
ータ算出回路14において求められるが、最下位階層で
ある第3階層の最適補正データは、その他、例えば、図
41に示すようにして求めるようにすることも可能であ
る。
By the way, in the case of FIG. 2, first,
As shown in FIG. 40 (A), the second-layer image data is corrected so that a prediction value of the first layer can be obtained in which an error (error information) from the image data of the first layer is equal to or less than a predetermined threshold ε. The optimum correction data obtained is obtained by the optimum correction data calculation circuit 13, and thereafter, as shown in FIG. 3B, the error (error information) from the optimum correction data of the second hierarchy is set to a predetermined threshold value ε or less. The optimum correction data obtained by correcting the image data of the third hierarchy, which gives the predicted value of the second hierarchy, is obtained by the optimum correction data calculation circuit 14. The optimum correction data of the third hierarchy, which is the lowest hierarchy, is In addition, for example, it is also possible to obtain as shown in FIG.

【0323】即ち、第3階層の画像データを補正した補
正データから第2階層の予測値を求め、さらに、その第
2階層の予測値をそのまま用いて第1階層の予測値を求
める。そして、その第1階層の予測値の予測誤差(誤差
情報)を所定の閾値ε以下とする補正データを、第3階
層の最適補正データとする。
That is, the prediction value of the second hierarchy is obtained from the correction data obtained by correcting the image data of the third hierarchy, and the prediction value of the first hierarchy is obtained by using the prediction value of the second hierarchy as it is. Then, the correction data that makes the prediction error (error information) of the prediction value of the first hierarchy equal to or smaller than the predetermined threshold ε is set as the optimum correction data of the third hierarchy.

【0324】図42は、以上のようにして、第3階層の
最適補正データを求めるようにした送信装置1の構成例
を示している。なお、図中、図2における場合と対応す
る部分については、同一の符号を付してある。
FIG. 42 shows an example of the configuration of the transmitting apparatus 1 for obtaining the optimum correction data of the third hierarchy as described above. Note that, in the figure, parts corresponding to those in FIG. 2 are denoted by the same reference numerals.

【0325】この実施の形態においては、最適補正デー
タ算出回路201に、第1階層乃至第3階層の画像デー
タが供給されるようになされており、そこでは、第3階
層の画像データを補正した補正データから第2階層の予
測値が求められ、さらに、その第2階層の予測値をその
まま用いて第1階層の予測値を求められるようになされ
ている。そして、最適補正データ算出回路201は、第
1階層の予測値の予測誤差(誤差情報)を所定の閾値ε
以下とする補正データが求められると、その補正データ
を、第3階層の最適補正データとし、第3階層の符号化
データとして信号処理回路15に出力するようになされ
ている。
In this embodiment, the image data of the first to third layers is supplied to the optimum correction data calculating circuit 201, where the image data of the third layer is corrected. A predicted value of the second layer is obtained from the correction data, and further, a predicted value of the first layer is obtained using the predicted value of the second layer as it is. Then, the optimum correction data calculation circuit 201 calculates the prediction error (error information) of the prediction value of the first layer by a predetermined threshold ε.
When the following correction data is obtained, the correction data is set as the optimum correction data of the third hierarchy, and is output to the signal processing circuit 15 as the encoded data of the third hierarchy.

【0326】なお、図42の実施の形態では、第1階層
の画像データが、そのまま第1階層の符号化データとし
て信号処理回路15に供給されるようになされている。
また、図42の実施の形態では、第2階層の画像データ
は信号処理回路15に供給されないようになっている
が、第1階層と同様に、第2階層の符号化データとし
て、信号処理回路15に供給することも可能である。
In the embodiment shown in FIG. 42, the image data of the first hierarchy is directly supplied to the signal processing circuit 15 as the encoded data of the first hierarchy.
In the embodiment shown in FIG. 42, the second layer image data is not supplied to the signal processing circuit 15. However, similar to the first layer, the second layer image data is used as the second layer encoded data. It is also possible to supply 15.

【0327】次に、図43は、図42の最適補正データ
算出回路201の構成例を示している。なお、図中、図
5における場合と対応する部分については、同一の符号
を付してある。即ち、最適補正データ算出回路201
は、ローカルデコード部231が新たに設けられている
他は、図5の最適補正データ算出回路13と基本的に同
様に構成されている。
FIG. 43 shows an example of the configuration of the optimum correction data calculation circuit 201 shown in FIG. In the figure, the same reference numerals are given to portions corresponding to the case in FIG. That is, the optimum correction data calculation circuit 201
Has basically the same configuration as the optimal correction data calculation circuit 13 in FIG. 5 except that a local decoding unit 231 is newly provided.

【0328】なお、この実施の形態においては、補正部
21には、第3階層の画像データが入力され、その第3
階層の画像データを補正した補正データが出力されるよ
うになされている。また、ローカルデコード部22に
は、補正部21が出力する補正データと、第2階層の画
像データとが入力されるようになされており、そこで
は、第2階層の予測値が算出されて出力されるようにな
されている。さらに、ローカルデコード部231は、例
えば、ローカルデコード部22と同様に構成され、そこ
には、ローカルデコード部22が出力する第2階層の予
測値と、第1階層の画像データとが入力されるようにな
されている。そして、ローカルデコード部231では、
第1階層の予測値が算出されて出力されるようになされ
ている。
In this embodiment, the image data of the third hierarchy is input to the correction unit 21 and the third
Correction data obtained by correcting the hierarchical image data is output. The local decoding unit 22 is configured to receive the correction data output from the correction unit 21 and the image data of the second hierarchy, where the predicted value of the second hierarchy is calculated and output. It has been made to be. Further, the local decoding unit 231 is configured, for example, in the same manner as the local decoding unit 22. The local decoding unit 231 receives the prediction value of the second hierarchy output from the local decoding unit 22 and the image data of the first hierarchy. It has been made like that. Then, in the local decoding unit 231,
The prediction value of the first hierarchy is calculated and output.

【0329】従って、この実施の形態では、ローカルデ
コード部22および231において、逐次方式により予
測値が算出されるようになされている。但し、ローカル
デコード部22および231は、例えば、図22に示し
たローカルデコード部1022のように構成し、ROM
方式により予測値を算出するようにすることも可能であ
る。
Therefore, in this embodiment, the local decoders 22 and 231 calculate the predicted value in a sequential manner. However, the local decoding units 22 and 231 are configured, for example, like the local decoding unit 1022 shown in FIG.
It is also possible to calculate a predicted value by a method.

【0330】次に、図44のフローチャートを参照し
て、その動作について説明する。
Next, the operation will be described with reference to the flowchart in FIG.

【0331】補正部21に対して、第3階層の画像デー
タが供給されると、補正部21は、ステップS201に
おいて、最初は、補正を行わずに、そのまま第3階層の
画像データを、ローカルデコード部22および判定部2
4に出力する。ローカルデコード部22では、ステップ
S202において、補正部21からの補正データ(最初
は、上述したように、第3階層の画像データそのもの)
がローカルデコードされる。
When the image data of the third hierarchy is supplied to the correction unit 21, the correction unit 21 first converts the image data of the third hierarchy into the local data without performing any correction in step S201. Decoding unit 22 and determination unit 2
4 is output. In step S202, the local decoding unit 22 corrects the correction data from the correction unit 21 (at first, as described above, the image data itself of the third hierarchy).
Is locally decoded.

【0332】即ち、ステップS202では、図9で説明
した場合と同様にして、第2階層のクラスごとの予測係
数が求められ、さらに、そのクラスごとの予測係数に基
づいて、第2階層の予測値が求められ、ローカルデコー
ド部231に供給される(但し、ローカルデコード部2
2がローカルデコード部1022のように構成され、こ
れにより、第2階層の予測値がROM方式により求めら
れる場合には、ROMから第2階層の予測係数が読み出
され、その予測係数に基づいて、第2階層の予測値が求
められる)。
That is, in step S202, a prediction coefficient for each class of the second hierarchy is obtained in the same manner as described with reference to FIG. 9, and further, a prediction coefficient for the second hierarchy is calculated based on the prediction coefficient for each class. The value is obtained and supplied to the local decoding unit 231 (however, the local decoding unit 2
2 is configured as the local decoding unit 1022, whereby when the predicted value of the second hierarchy is obtained by the ROM method, the prediction coefficient of the second hierarchy is read from the ROM, and based on the prediction coefficient, , The predicted value of the second hierarchy is obtained).

【0333】ローカルデコード部231では、ステップ
S203において、ローカルデコード部22からの第2
階層の予測値がローカルデコードされる。
[0333] In step S203, the local decoding unit 231 outputs the second
The predicted value of the hierarchy is locally decoded.

【0334】即ち、ステップS203では、ローカルデ
コード部22における場合と同様にして、第1階層のク
ラスごとの予測係数が求められ、さらに、そのクラスご
との予測係数に基づいて、第1階層の予測値が求めら
れ、誤差算出部23に供給される(但し、ローカルデコ
ード部231がローカルデコード部1022のように構
成され、これにより、第1階層の予測値がROM方式に
より求められる場合には、ROMから第1階層の予測係
数が読み出され、その予測係数に基づいて、第1階層の
予測値が求められる)。
That is, in step S203, the prediction coefficient for each class of the first hierarchy is obtained in the same manner as in the case of the local decoding unit 22, and the prediction coefficient for the first hierarchy is further determined based on the prediction coefficient for each class. The value is obtained and supplied to the error calculation unit 23 (however, when the local decoding unit 231 is configured like the local decoding unit 1022, and thus the prediction value of the first hierarchy is obtained by the ROM method, The first-layer prediction coefficient is read from the ROM, and the first-layer prediction value is obtained based on the prediction coefficient.)

【0335】以下、ステップS204乃至S207にお
いて、図6のステップS3乃至S6における場合とそれ
ぞれ同様の処理が行われ、これにより、第1階層の予測
値を閾値ε以下にする第3階層の最適補正データが求め
られる。
Thereafter, in steps S204 to S207, the same processes as those in steps S3 to S6 in FIG. 6 are performed, whereby the third-layer optimal correction for making the predicted value of the first hierarchy equal to or smaller than the threshold ε is performed. Data is required.

【0336】従って、このようにして得られる第3階層
の最適補正データによっても、上述した場合と同様に、
高画質の復号画像を得ることができる。
Therefore, according to the third-layer optimal correction data obtained in this way, as in the case described above,
A high quality decoded image can be obtained.

【0337】なお、図42の実施の形態においては、第
2階層の符号化データを信号処理回路15に供給しない
ようにしたが、第2階層の符号化データを信号処理回路
15に供給する場合においては、上述したように、第2
階層の画像データそのものを第2階層の符号化データと
する他、例えば、ローカルデコード部22が出力する第
2階層の予測値などを、第2階層の符号化データとする
ことが可能である。また、例えば、図2に示した最適補
正データ算出回路13を設け、そこから出力される第2
階層の最適補正データを、第2階層の符号化データとす
ることなども可能である。
In the embodiment of FIG. 42, the coded data of the second hierarchy is not supplied to the signal processing circuit 15, but the coded data of the second hierarchy is supplied to the signal processing circuit 15. In the above, as described above, the second
In addition to using the image data itself of the hierarchy as the encoded data of the second hierarchy, for example, the predicted value of the second hierarchy output by the local decoding unit 22 can be the encoded data of the second hierarchy. Further, for example, the optimum correction data calculation circuit 13 shown in FIG.
It is also possible to use the optimum correction data of the hierarchy as the encoded data of the second hierarchy.

【0338】また、図42の実施の形態における場合
も、信号処理回路15から出力される符号化データに
は、第1階層乃至第3階層の符号化データのすべてを含
めるのではなく、第3階層の符号化データだけを含める
ようにすることが可能である。
Also in the case of the embodiment shown in FIG. 42, the encoded data output from the signal processing circuit 15 does not include all of the encoded data of the first to third layers. It is possible to include only the encoded data of the hierarchy.

【0339】なお、図42に示した送信装置1から出力
される符号化データについては、図18に示した受信装
置4により復号が可能である。但し、図18の受信装置
4において、予測部72または73は、例えば、図19
または図20に示したようにそれぞれ構成する必要があ
る。
Note that the encoded data output from the transmitting device 1 shown in FIG. 42 can be decoded by the receiving device 4 shown in FIG. However, in the receiving device 4 of FIG.
Alternatively, they need to be configured as shown in FIG.

【0340】次に、図45は、図42の最適補正データ
算出回路201の他の構成例を示している。なお、図
中、図43における場合と対応する部分については、同
一の符号を付してある。即ち、図45の最適補正データ
算出回路201は、ローカルデコード部22または23
1に代えて、ローカルデコード部3022または323
1がそれぞれ設けられ、多重化部25が設けられていな
い他は、図43における場合と基本的に同様に構成され
ている。
FIG. 45 shows another example of the configuration of the optimum correction data calculation circuit 201 shown in FIG. Note that, in the figure, parts corresponding to the case in FIG. 43 are denoted by the same reference numerals. That is, the optimum correction data calculation circuit 201 shown in FIG.
1 instead of the local decoder 3022 or 323
1 is provided, and the configuration is basically the same as that in FIG. 43 except that the multiplexing unit 25 is not provided.

【0341】ローカルデコード部3022は、そこに入
力される第3階層の画像データを補正した補正データか
ら第2階層の予測値を、例えば、ROM方式によって算
出し、ローカルデコード部3231に供給するようにな
されている。ローカルデコード部3231は、ローカル
デコード部3022からの第2階層の予測値から第1階
層の予測値を、例えば、やはり、ROM方式によって算
出し、誤差算出部23に供給するようになされている。
The local decoding unit 3022 calculates the predicted value of the second hierarchy from the correction data obtained by correcting the image data of the third hierarchy input thereto, for example, by a ROM method, and supplies the predicted value to the local decoding unit 3231. Has been made. The local decoding unit 3231 calculates the first-layer predicted value from the second-layer predicted value from the local decoding unit 3022, for example, again by the ROM method, and supplies the predicted value to the error calculating unit 23.

【0342】なお、この実施の形態では、ローカルデコ
ード部3022および3231は、いずれも、例えば、
図27に示したローカルデコード部2022と同様に構
成されており、従って、予測係数は、判定部24に出力
されないようになっている。
In the present embodiment, both local decoding units 3022 and 3231
The configuration is the same as that of the local decoding unit 2022 shown in FIG. 27, and therefore, the prediction coefficient is not output to the determination unit 24.

【0343】次に、図46のフローチャートを参照し
て、その動作について説明する。
Next, the operation will be described with reference to the flowchart in FIG.

【0344】ステップS3201乃至S3206におい
ては、基本的に、図44のステップS201乃至S20
6における場合とそれぞれ同様の処理が行われる。但
し、ステップS3202では、ローカルデコード部30
22において、図27で説明したように、予測係数RO
M88から、第2階層の、必要なクラスの予測係数が読
み出され、その予測係数に基づいて、第2階層の予測値
が求められて、ローカルデコード部3231に供給され
る。また、ステップS3203でも、ステップS320
2における場合と同様に、ローカルデコード部3231
において、第1階層の必要なクラスの予測係数が読み出
され、その予測係数に基づいて、第1階層の予測値が求
められて、誤差算出部23に供給される。
In steps S3201 to S3206, basically, steps S201 to S20 in FIG.
6, the same processing is performed. However, in step S3202, the local decoding unit 30
22, the prediction coefficient RO is calculated as described with reference to FIG.
From M88, a prediction coefficient of a required class of the second hierarchy is read, and a prediction value of the second hierarchy is obtained based on the prediction coefficient, and is supplied to the local decoding unit 3231. Also in step S3203, step S320
2, the local decoding unit 3231
In, a prediction coefficient of a required class of the first hierarchy is read, and a prediction value of the first hierarchy is obtained based on the prediction coefficient, and is supplied to the error calculation unit.

【0345】そして、ステップS3205において、誤
差情報が閾値ε以下であると判定された場合、即ち、第
1階層の予測値を閾値ε以下にする第3階層の最適補正
データが得られた場合、ステップS3207に進み、判
定部24は、その第3階層の最適補正データを、信号処
理回路15に出力して、処理を終了する。即ち、ローカ
ルデコード部2022と同様に構成されるローカルデコ
ード部3022および3231からは予測係数は出力さ
れないため、ステップS3207では、最適補正データ
だけが出力される。
If it is determined in step S3205 that the error information is equal to or less than the threshold value ε, that is, if the third-layer optimal correction data that makes the predicted value of the first hierarchy equal to or less than the threshold value ε is obtained, Proceeding to step S3207, the determination unit 24 outputs the third-layer optimal correction data to the signal processing circuit 15, and ends the processing. That is, since the prediction coefficients are not output from the local decoding units 3022 and 3231 configured similarly to the local decoding unit 2022, only the optimal correction data is output in step S3207.

【0346】以上のようにして得られる第3階層の最適
補正データによっても、上述した場合と同様に、高画質
の復号画像を得ることができる。
A high-quality decoded image can be obtained from the third-layer optimal correction data obtained as described above, as in the case described above.

【0347】なお、図42の送信装置1の最適補正デー
タ算出回路201が図45に示したように構成される場
合には、上述したことから、予測係数が送信されないた
め、図18の受信装置4において、予測部72または7
3は、例えば、図31または図32に示したようにそれ
ぞれ構成する必要がある。
When the optimum correction data calculation circuit 201 of the transmitting apparatus 1 of FIG. 42 is configured as shown in FIG. 45, since the prediction coefficients are not transmitted from the above, the receiving apparatus of FIG. In 4, the prediction unit 72 or 7
3 needs to be configured as shown in FIG. 31 or FIG. 32, for example.

【0348】以上、本発明を適用した画像処理システム
について説明したが、このような画像処理装置は、例え
ば、NTSC方式などの標準方式のテレビジョン信号を
符号化する場合の他、データ量の多い、いわゆるハイビ
ジョン方式のテレビジョン信号などを符号化する場合
に、特に有効である。
Although the image processing system to which the present invention is applied has been described above, such an image processing apparatus has a large data amount in addition to encoding a standard television signal such as the NTSC system. This is particularly effective when encoding a so-called high-vision television signal or the like.

【0349】なお、本実施の形態においては、1フレー
ムの画像を対象にブロック化を行うようにしたが、ブロ
ックは、その他、例えば、時系列に連続する複数フレー
ムにおける、同一位置の画素を集めて構成するようにす
ることも可能である。
In the present embodiment, the block is formed for one frame of image. However, the block collects pixels at the same position in, for example, a plurality of frames continuous in time series. It is also possible to configure it.

【0350】また、本実施の形態においては、誤差情報
として、誤差の自乗和を用いるようにしたが、誤差情報
としては、その他、例えば、誤差の絶対値和や、その3
乗以上したものの和などを用いるようにすることが可能
である。いずれを誤差情報として用いるかは、例えば、
その収束性などに基づいて決定するようにすることが可
能である。
In this embodiment, the sum of the squares of the error is used as the error information.
It is possible to use the sum or the like of the raised values. Which one to use as error information is determined, for example, by
It is possible to determine based on the convergence and the like.

【0351】さらに、本実施の形態では、画像を、3階
層に符号化するようにしたが、階層数は、3に限定され
るものではない。
Furthermore, in the present embodiment, the image is encoded into three layers, but the number of layers is not limited to three.

【0352】また、最下位階層である第3階層の最適補
正データとしては、上述した場合による他、例えば、各
階層の予測値の予測誤差を求め、その総和値を所定値以
下にする補正データを求めるようにすることも可能であ
る。
As the optimum correction data of the third hierarchy, which is the lowest hierarchy, in addition to the above-described case, for example, a correction error for which the prediction error of the prediction value of each hierarchy is obtained and the total value thereof is equal to or less than a predetermined value It is also possible to ask for.

【0353】さらに、例えば、図13の実施の形態で
は、1フレーム単位で、正規方程式をたてて、クラスご
との予測係数を求めるようにしたが、予測係数の算出処
理は、その他、例えば、1フィールド単位や複数フレー
ム単位で正規方程式をたてて行うようにすることも可能
である。他の処理についても同様である。
Further, for example, in the embodiment of FIG. 13, a normal equation is set up for each frame, and the prediction coefficient for each class is obtained. It is also possible to establish a normal equation in units of one field or a plurality of frames. The same applies to other processes.

【0354】また、本発明は、ハードウェアによって
も、あるいは、上述した処理を行うためのアプリケーシ
ョンプログラムが記録されたハードディスク等の記録媒
体から、そのアプリケーションプログラムを読み出し
て、コンピュータに実行させることによっても、実現可
能である。
The present invention can also be implemented by hardware or by reading the application program from a recording medium such as a hard disk on which the application program for performing the above-described processing is recorded, and causing the computer to execute the program. Is feasible.

【0355】[0355]

【発明の効果】請求項1に記載の画像符号化装置および
請求項11に記載の画像符号化方法によれば、第1の階
層の画像データよりも画素数の少ない第2の階層の画像
データが補正され、その補正データから、第1の階層の
画像データの予測値が予測される。さらに、第1の階層
の画像データに対する、その予測値の予測誤差が算出さ
れ、第1の階層についての予測誤差に基づいて、補正デ
ータの適正さが判定される。そして、適正と判定された
補正データが、第2の階層の画像データとされる。従っ
て、その第2階層の画像データから、高画質の第1階層
の画像データを得ることが可能となる。
According to the image encoding apparatus of the first aspect and the image encoding method of the eleventh aspect, the image data of the second layer having a smaller number of pixels than the image data of the first layer Is corrected, and a predicted value of the image data of the first layer is predicted from the corrected data. Further, a prediction error of a prediction value of the image data of the first layer is calculated, and the appropriateness of the correction data is determined based on the prediction error of the first layer. Then, the correction data determined to be appropriate is set as the image data of the second hierarchy. Therefore, it is possible to obtain high-quality first-layer image data from the second-layer image data.

【0356】請求項12に記載の画像復号化装置および
請求項18に記載の画像復号化方法、請求項19に記載
の伝送方法、並びに請求項20に記載の記録媒体によれ
ば、符号化データが、第1の階層の画像データよりも画
素数の少ない第2の階層の画像データを形成し、第2の
階層の画像データを補正して、補正データを出力し、補
正データから、第1の階層の画像データの予測値を予測
し、第1の階層の画像データに対する、その予測値の予
測誤差を算出し、第1の階層についての予測誤差に基づ
いて、補正データの適正さを判定することを繰り返し、
適正となった補正データを、第2の階層の画像データと
して含んでいる。従って、その符号化データから、高画
質の復号画像を得ることが可能となる。
According to the image decoding apparatus of claim 12, the image decoding method of claim 18, the transmission method of claim 19, and the recording medium of claim 20, encoded data Forms image data of a second layer having a smaller number of pixels than image data of the first layer, corrects the image data of the second layer, outputs correction data, and outputs the first data from the correction data. The prediction value of the image data of the first layer, calculate the prediction error of the prediction value for the image data of the first layer, and determine the appropriateness of the correction data based on the prediction error of the first layer. Repeat to do
The corrected correction data is included as image data of the second hierarchy. Therefore, a high-quality decoded image can be obtained from the encoded data.

【0357】請求項21に記載の画像符号化装置および
請求項28に記載の画像符号化方法によれば、第1の階
層の画像の中の、注目している注目画素に対応するクラ
スのマッピング係数と注目画素とを用いて所定の演算が
行われることにより、第1の階層の画像データの画素数
を少なくした第2の階層の画像データが算出される。従
って、その第2階層の画像データから、高画質の第1階
層の画像データを得ることが可能となる。
[0357] According to the image coding apparatus of the present invention and the image coding method of the present invention, mapping of a class corresponding to a target pixel of interest in an image of the first hierarchy. By performing a predetermined calculation using the coefficient and the pixel of interest, image data of the second layer in which the number of pixels of the image data of the first layer is reduced is calculated. Therefore, it is possible to obtain high-quality first-layer image data from the second-layer image data.

【0358】請求項29に記載の画像復号化装置および
請求項35に記載の画像復号化方法、請求項36に記載
の伝送方法、並びに請求項37に記載の記録媒体によれ
ば、符号化データが、第1の階層の画像を構成する画素
を、その性質に応じて所定のクラスのうちのいずれかに
分類し、クラスごとに、所定のマッピング係数を記憶し
ているマッピング係数記憶手段から、第1の階層の画像
の中の、注目している注目画素に対応するクラスのマッ
ピング係数を読み出し、そのマッピング係数と注目画素
とを用いて所定の演算を行うことにより得られる、第1
の階層の画像の画素数を少なくした第2の階層の画像を
含んでいる。従って、その符号化データから、高画質の
復号画像を得ることが可能となる。
According to the image decoding apparatus of claim 29, the image decoding method of claim 35, the transmission method of claim 36, and the recording medium of claim 37, the encoded data Classifies the pixels constituting the image of the first hierarchy into any one of predetermined classes according to their properties, and for each class, from a mapping coefficient storage unit storing a predetermined mapping coefficient, A first coefficient obtained by reading a mapping coefficient of a class corresponding to a focused pixel of interest in an image of the first layer and performing a predetermined operation using the mapping coefficient and the focused pixel is obtained.
The image of the second hierarchy in which the number of pixels of the image of the second hierarchy is reduced is included. Therefore, a high-quality decoded image can be obtained from the encoded data.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明を適用した画像処理システムの一実施の
形態の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an embodiment of an image processing system to which the present invention has been applied.

【図2】図1の送信装置1の第1実施の形態の構成を示
すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a first embodiment of the transmission device 1 of FIG. 1;

【図3】図2の間引き回路11および12の処理を説明
するための図である。
FIG. 3 is a diagram for explaining processing of thinning circuits 11 and 12 in FIG. 2;

【図4】図2の間引き回路11および12の処理を説明
するための図である。
FIG. 4 is a diagram for explaining processing of the thinning circuits 11 and 12 in FIG. 2;

【図5】図2の最適補正データ算出回路13(14)の
第1の構成例を示すブロック図である。
FIG. 5 is a block diagram showing a first configuration example of an optimum correction data calculation circuit 13 (14) in FIG. 2;

【図6】図5の最適補正データ算出回路13の処理を説
明するためのフローチャートである。
FIG. 6 is a flowchart for explaining processing of an optimum correction data calculation circuit 13 of FIG. 5;

【図7】図5の補正部21の構成例を示すブロック図で
ある。
FIG. 7 is a block diagram illustrating a configuration example of a correction unit 21 in FIG. 5;

【図8】図7の補正部21の動作を説明するためのフロ
ーチャートである。
8 is a flowchart for explaining the operation of the correction unit 21 in FIG.

【図9】図5のローカルデコード部22の構成例を示す
ブロック図である。
9 is a block diagram illustrating a configuration example of a local decoding unit 22 in FIG.

【図10】図9のクラス分類用ブロック化回路41の処
理を説明するための図である。
FIG. 10 is a diagram for explaining the processing of the class classification blocking circuit 41 of FIG. 9;

【図11】クラス分類処理を説明するための図である。FIG. 11 is a diagram illustrating a class classification process.

【図12】ADRC処理を説明するための図である。FIG. 12 is a diagram for explaining an ADRC process.

【図13】図9のローカルデコード部22の動作を説明
するためのフローチャートである。
FIG. 13 is a flowchart for explaining the operation of the local decoding unit 22 in FIG. 9;

【図14】図5の誤差算出部23の構成例を示すブロッ
ク図である。
14 is a block diagram illustrating a configuration example of an error calculation unit 23 in FIG.

【図15】図14の誤差算出部23の動作を説明するた
めのフローチャートである。
FIG. 15 is a flowchart for explaining the operation of the error calculator 23 in FIG. 14;

【図16】図5の判定部24の構成例を示すブロック図
である。
16 is a block diagram illustrating a configuration example of a determination unit 24 in FIG.

【図17】図16の判定部24の動作を説明するための
フローチャートである。
FIG. 17 is a flowchart for explaining the operation of the determination unit 24 in FIG. 16;

【図18】図1の受信装置4の一実施の形態の構成を示
すブロック図である。
FIG. 18 is a block diagram showing a configuration of an embodiment of the receiving device 4 of FIG.

【図19】図18の予測部72の構成例を示すブロック
図である。
19 is a block diagram illustrating a configuration example of a prediction unit 72 in FIG.

【図20】図18の予測部73の構成例を示すブロック
図である。
20 is a block diagram illustrating a configuration example of a prediction unit 73 in FIG.

【図21】図2の最適補正データ算出回路13(14)
の第2の構成例を示すブロック図である。
FIG. 21 is an optimum correction data calculation circuit 13 (14) in FIG. 2;
It is a block diagram which shows the 2nd example of a structure.

【図22】図21のローカルデコード部1022の構成
例を示すブロック図である。
FIG. 22 is a block diagram illustrating a configuration example of a local decoding unit 1022 in FIG. 21.

【図23】図22のローカルデコード部1022の処理
を説明するためのフローチャートである。
FIG. 23 is a flowchart illustrating a process of a local decoding unit 1022 in FIG. 22.

【図24】予測係数を求める学習処理を行う画像処理装
置の構成例を示すブロック図である。
FIG. 24 is a block diagram illustrating a configuration example of an image processing apparatus that performs a learning process for obtaining a prediction coefficient.

【図25】図2の最適補正データ算出回路13(14)
の第3の構成例を示すブロック図である。
FIG. 25 is an optimum correction data calculation circuit 13 (14) of FIG. 2;
It is a block diagram which shows the 3rd example of a structure.

【図26】図25の最適補正データ算出回路13(1
4)の処理を説明するためのフローチャートである。
26 is a diagram showing the optimum correction data calculation circuit 13 (1
It is a flowchart for demonstrating the process of 4).

【図27】図25のローカルデコード部2022の構成
例を示すブロック図である。
27 is a block diagram illustrating a configuration example of a local decoding unit 2022 in FIG.

【図28】図27のローカルデコード部2022の処理
を説明するためのフローチャートである。
FIG. 28 is a flowchart illustrating a process of a local decoding unit 2022 in FIG. 27;

【図29】図25の判定部2024の構成例を示すブロ
ック図である。
29 is a block diagram illustrating a configuration example of a determination unit 2024 in FIG.

【図30】図29の判定部2024の処理を説明するた
めのフローチャート
FIG. 30 is a flowchart for explaining processing of a determination unit 2024 in FIG. 29;

【図31】図18の予測部72の他の構成例を示すブロ
ック図である。
FIG. 31 is a block diagram illustrating another configuration example of the prediction unit 72 in FIG. 18;

【図32】図18の予測部73の他の構成例を示すブロ
ック図である。
32 is a block diagram illustrating another configuration example of the prediction unit 73 in FIG.

【図33】図1の送信装置1の第2実施の形態の構成を
示すブロック図である。
FIG. 33 is a block diagram illustrating a configuration of a second embodiment of the transmission device 1 of FIG. 1;

【図34】図33の最適補正データ算出回路101(1
02)の構成例を示すブロック図である。
FIG. 34 shows an optimum correction data calculation circuit 101 (1) shown in FIG.
FIG. 2B is a block diagram illustrating a configuration example.

【図35】図34の最適補正データ算出回路101の動
作を説明するためのフローチャートである。
FIG. 35 is a flowchart for explaining the operation of the optimum correction data calculation circuit 101 of FIG. 34;

【図36】マッピング係数を得るための学習を行う画像
処理装置の第1実施の形態の構成を示すブロック図であ
る。
FIG. 36 is a block diagram illustrating a configuration of a first embodiment of an image processing apparatus that performs learning for obtaining mapping coefficients.

【図37】図36の画像処理装置の動作を説明するため
のフローチャートである。
FIG. 37 is a flowchart illustrating the operation of the image processing apparatus of FIG. 36;

【図38】マッピング係数を得るための学習を行う画像
処理装置の第2実施の形態の構成を示すブロック図であ
る。
FIG. 38 is a block diagram illustrating a configuration of a second embodiment of the image processing apparatus that performs learning for obtaining mapping coefficients.

【図39】図38の画像処理装置の動作を説明するため
のフローチャートである。
FIG. 39 is a flowchart for explaining the operation of the image processing apparatus of FIG. 38;

【図40】本発明による第1の階層符号化の方法を説明
するための図である。
FIG. 40 is a diagram for describing a first hierarchical coding method according to the present invention.

【図41】本発明による第2の階層符号化の方法を説明
するための図である。
FIG. 41 is a diagram for explaining a second hierarchical coding method according to the present invention.

【図42】図1の送信装置1の第3実施の形態の構成を
示すブロック図である。
FIG. 42 is a block diagram illustrating a configuration of a third embodiment of the transmission device 1 of FIG. 1;

【図43】図42の最適補正データ算出回路201の構
成例を示すブロック図である。
FIG. 43 is a block diagram illustrating a configuration example of an optimum correction data calculation circuit 201 in FIG. 42;

【図44】図43の最適補正データ算出回路201の動
作を説明するためのフローチャートである。
FIG. 44 is a flowchart illustrating the operation of the optimum correction data calculation circuit 201 of FIG. 43.

【図45】図42の最適補正データ算出回路201の他
の構成例を示すブロック図である。
FIG. 45 is a block diagram illustrating another configuration example of the optimum correction data calculation circuit 201 in FIG. 42;

【図46】図45の最適補正データ算出回路201の動
作を説明するためのフローチャートである。
FIG. 46 is a flowchart for explaining the operation of the optimum correction data calculation circuit 201 of FIG. 45;

【図47】従来の階層符号化を行う画像符号化装置の一
例の構成を示すブロック図である。
FIG. 47 is a block diagram illustrating a configuration of an example of a conventional image encoding device that performs hierarchical encoding.

【図48】従来の階層復号化を行う画像復号化装置の一
例の構成を示すブロック図である。
FIG. 48 is a block diagram illustrating a configuration of an example of a conventional image decoding device that performs hierarchical decoding.

【符号の説明】[Explanation of symbols]

1 送信装置, 2 記録媒体, 3 伝送路, 4
受信装置, 11,12 間引き回路, 13,14
最適補正データ算出回路, 15 信号処理回路, 2
1 補正部, 22 ローカルデコード部, 23 誤
差算出部, 24 判定部, 25 多重化部, 32
補正回路, 33 補正値ROM,41 クラス分類
用ブロック化回路, 42 予測値計算用ブロック化回
路,43 クラス分類適応処理回路, 44 ADRC
処理回路, 45 クラス分類回路, 46 適応処理
回路, 51 ブロック化回路, 52 自乗誤差算出
回路, 53,54 演算器, 55 積算部, 56
メモリ, 61 予測係数メモリ, 62 補正デー
タメモリ, 63 誤差情報メモリ, 64比較回路,
65 制御回路, 71 信号処理回路, 72,7
3 予測部,80 デコード部, 81 分離部, 8
2 クラス分類用ブロック化回路,83 予測値計算用
ブロック化回路, 84 ADRC処理回路, 85
クラス分類回路, 86 予測回路, 86Aメモリ,
87,88 予測係数ROM, 89 予測回路,
91 学習用ブロック化回路, 92 教師用ブロック
化回路, 93 ADRC処理回路, 94 クラス分
類回路, 95スイッチ, 96 学習データメモリ,
97 カウンタ, 98 教師データメモリ, 99
演算回路, 100 メモリ, 101,102 最
適補正データ算出回路, 111 ブロック化回路,
112 ADRC処理回路, 113 クラス分類回
路, 114 マッピング係数メモリ, 115 遅延
回路, 116 演算回路, 121 メモリ, 12
2 ブロック化回路, 123 ADRC処理回路,
124 クラス分類回路, 126 演算回路, 12
7 ローカルデコード部, 128 誤差算出部, 1
29 判定部, 130 マッピング係数設定回路,
131 マッピング係数メモリ, 141 クラス分類
用ブロック化回路, 142 予測値計算用ブロック化
回路, 143クラス分類適応処理回路, 144 A
DRC処理回路, 145 クラス分類回路, 146
予測係数ROM, 147 予測回路, 170 最
適補正データ算出部, 171 間引き回路, 172
補正部, 173 ローカルデコード部, 174
誤差算出部, 175 判定部, 176 ラッチ回
路, 176A メモリ, 177 ブロック化回路,
177A メモリ, 178 ADRC処理回路,
179 クラス分類回路, 180 メモリ, 181
演算回路, 182 メモリ, 201 最適補正デ
ータ算出回路, 221 分離部, 222,223
デコード部, 231,1022 ローカルデコード
部, 1222,1223 デコード部, 2022
ローカルデコード部, 2024 判定部, 302
2,3231 ローカルデコード部
1 transmission device, 2 recording medium, 3 transmission line, 4
Receiver, 11, 12 Decimation circuit, 13, 14
Optimal correction data calculation circuit, 15 signal processing circuit, 2
1 correction unit, 22 local decoding unit, 23 error calculation unit, 24 determination unit, 25 multiplexing unit, 32
Correction circuit, 33 correction value ROM, 41 class classification blocking circuit, 42 predicted value calculation blocking circuit, 43 class classification adaptive processing circuit, 44 ADRC
Processing circuit, 45 class classification circuit, 46 adaptive processing circuit, 51 blocking circuit, 52 square error calculation circuit, 53, 54 arithmetic unit, 55 integrator, 56
Memory, 61 prediction coefficient memory, 62 correction data memory, 63 error information memory, 64 comparison circuit,
65 control circuit, 71 signal processing circuit, 72, 7
3 prediction unit, 80 decoding unit, 81 separation unit, 8
2 Blocking circuit for class classification, 83 Blocking circuit for prediction value calculation, 84 ADRC processing circuit, 85
Classification circuit, 86 prediction circuit, 86A memory,
87,88 prediction coefficient ROM, 89 prediction circuit,
91 Blocking circuit for learning, 92 Blocking circuit for teacher, 93 ADRC processing circuit, 94 class classification circuit, 95 switch, 96 learning data memory,
97 counter, 98 teacher data memory, 99
Arithmetic circuit, 100 memory, 101, 102 optimal correction data calculation circuit, 111 blocking circuit,
112 ADRC processing circuit, 113 class classification circuit, 114 mapping coefficient memory, 115 delay circuit, 116 arithmetic circuit, 121 memory, 12
2 Blocking circuit, 123 ADRC processing circuit,
124 class classification circuit, 126 arithmetic circuit, 12
7 local decoding unit, 128 error calculating unit, 1
29 determination unit, 130 mapping coefficient setting circuit,
131 mapping coefficient memory, 141 blocking circuit for class classification, 142 blocking circuit for calculating predicted values, 143 adaptive processing circuit for class classification, 144 A
DRC processing circuit, 145 class classification circuit, 146
Prediction coefficient ROM, 147 prediction circuit, 170 optimal correction data calculation unit, 171 thinning circuit, 172
Correction unit, 173 Local decoding unit, 174
Error calculating section, 175 determining section, 176 latch circuit, 176A memory, 177 blocking circuit,
177A memory, 178 ADRC processing circuit,
179 Classification circuit, 180 memory, 181
Arithmetic circuit, 182 memory, 201 optimal correction data calculation circuit, 221 separation unit, 222, 223
Decoding unit, 231, 1022 Local decoding unit, 1222, 1223 Decoding unit, 2022
Local decoding unit, 2024 judgment unit, 302
2,3231 local decoding unit

Claims (37)

【特許請求の範囲】[Claims] 【請求項1】 階層符号化を行う画像符号化装置であっ
て、 第1の階層の画像データよりも画素数の少ない第2の階
層の画像データを形成する形成手段と、 前記第2の階層の画像データを補正し、補正データを出
力する補正手段と、 前記補正データから、前記第1の階層の画像データの予
測値を予測する予測手段と、 前記第1の階層の画像データに対する、その予測値の予
測誤差を算出する算出手段と、 前記予測誤差に基づいて、前記補正手段が出力する前記
補正データの適正さを判定する判定手段と、 前記判定手段による判定結果に対応して、前記補正デー
タを、前記第2階層の画像データとして出力する出力手
段とを備えることを特徴とする画像符号化装置。
1. An image coding apparatus for performing hierarchical coding, comprising: forming means for forming image data of a second layer having a smaller number of pixels than image data of a first layer; Correction means for correcting the image data of the first layer, outputting correction data, prediction means for predicting a predicted value of the image data of the first layer from the correction data, and a correction means for the image data of the first layer Calculating means for calculating a prediction error of a predicted value; determining means for determining adequacy of the correction data output by the correction means based on the prediction error; and An output unit that outputs the correction data as the second-layer image data.
【請求項2】 前記予測手段は、 前記補正データを、その性質に応じて所定のクラスに分
類する分類手段と、 前記クラスに対応して、前記予測値を求める予測値演算
手段とを有することを特徴とする請求項1に記載の画像
符号化装置。
2. The predicting unit includes: a classifying unit that classifies the correction data into a predetermined class according to a property thereof; and a prediction value calculating unit that obtains the predicted value corresponding to the class. The image encoding device according to claim 1, wherein:
【請求項3】 前記予測手段は、 前記補正データとの線形結合により前記予測値を算出す
るための予測係数を求める予測係数演算手段と、 前記予測係数および補正データから、前記予測値を求め
る予測値演算手段とを有することを特徴とする請求項1
に記載の画像符号化装置。
3. The prediction means comprises: a prediction coefficient calculation means for obtaining a prediction coefficient for calculating the prediction value by a linear combination with the correction data; and a prediction for obtaining the prediction value from the prediction coefficient and the correction data. 2. The apparatus according to claim 1, further comprising a value calculating unit.
An image encoding device according to claim 1.
【請求項4】 前記予測手段は、 前記補正データを、その性質に応じて所定のクラスに分
類する分類手段と、 前記補正データとの線形結合により前記予測値を算出す
るための予測係数を、前記クラスごとに求める予測係数
演算手段と、 前記補正データの前記クラスについて得られた前記予測
係数と、その補正データとから、前記予測値を求める予
測値演算手段とを有することを特徴とする請求項1に記
載の画像符号化装置。
4. The predicting unit: a classifying unit that classifies the correction data into a predetermined class according to a property thereof; and a prediction coefficient for calculating the prediction value by a linear combination with the correction data, A prediction coefficient calculation unit for obtaining the prediction value from the prediction coefficient obtained for the class of the correction data and the correction data; and a prediction value calculation unit for obtaining the prediction value from the correction data. Item 2. The image encoding device according to Item 1.
【請求項5】 前記出力手段は、前記補正データととも
に、前記クラスごとの前記予測係数も出力することを特
徴とする請求項4に記載の画像符号化装置。
5. The image encoding apparatus according to claim 4, wherein the output unit outputs the prediction coefficient for each class together with the correction data.
【請求項6】 前記予測手段は、 前記補正データとの線形結合により前記予測値を算出す
るための予測係数を、所定のクラスごとに記憶している
予測係数記憶手段と、 前記補正データを、その性質に応じて前記所定のクラス
のいずれかに分類する分類手段と、 前記補正データの前記クラスについての前記予測係数
と、その補正データとから、前記予測値を求める予測値
演算手段とを有することを特徴とする請求項1に記載の
画像符号化装置。
6. A prediction coefficient storage unit that stores, for each predetermined class, a prediction coefficient for calculating the prediction value by a linear combination with the correction data, wherein the correction data includes: Classifying means for classifying the correction data into one of the predetermined classes according to the property thereof; and prediction value calculating means for obtaining the prediction value from the prediction coefficient for the class of the correction data and the correction data. The image encoding device according to claim 1, wherein:
【請求項7】 前記予測係数記憶手段に記憶されている
前記クラスごとの予測係数は、学習用の画像データを用
いて学習を行うことにより生成されたものであることを
特徴とする請求項6に記載の画像符号化装置。
7. The prediction coefficient for each class stored in the prediction coefficient storage means is generated by performing learning using learning image data. An image encoding device according to claim 1.
【請求項8】 前記出力手段は、前記補正データととも
に、前記クラスごとの前記予測係数も出力することを特
徴とする請求項7に記載の画像符号化装置。
8. The image encoding apparatus according to claim 7, wherein the output unit outputs the prediction coefficient for each class together with the correction data.
【請求項9】 前記補正手段は、 前記第2の階層の画像データを補正するための補正値を
記憶している記憶手段を有し、 その補正値を用いて、前記第2の階層の画像データを補
正することを特徴とする請求項1に記載の画像符号化装
置。
9. The image processing apparatus according to claim 1, wherein the correction unit includes a storage unit that stores a correction value for correcting the image data of the second layer, and uses the correction value to store an image of the second layer. The image encoding device according to claim 1, wherein the data is corrected.
【請求項10】 前記判定手段は、前記予測誤差が所定
値以下であるかどうかによって、前記補正データの適正
さを判定し、 前記出力手段は、前記予測誤差が所定値以下になったと
きにおける前記補正データを出力することを特徴とする
請求項1に記載の画像符号化装置。
10. The determination means determines whether the correction data is appropriate based on whether or not the prediction error is equal to or less than a predetermined value. The output means determines whether the correction error is equal to or less than a predetermined value. The image encoding device according to claim 1, wherein the correction data is output.
【請求項11】 階層符号化を行う画像符号化方法であ
って、 第1の階層の画像データよりも画素数の少ない第2の階
層の画像データを形成し、 前記第2の階層の画像データを補正して、補正データを
出力し、 前記補正データから、前記第1の階層の画像データの予
測値を予測し、 前記第1の階層の画像データに対する、その予測値の予
測誤差を算出し、 前記第1の階層についての予測誤差に基づいて、前記補
正データの適正さを判定することを繰り返し、適正とな
った前記補正データを、前記第2の階層の画像データと
することを特徴とする画像符号化方法。
11. An image encoding method for performing hierarchical encoding, comprising: forming image data of a second layer having a smaller number of pixels than image data of a first layer; And outputs correction data. From the correction data, predicts a predicted value of the image data of the first layer, and calculates a prediction error of the predicted value for the image data of the first layer. Repeating the determination of the correctness of the correction data based on the prediction error of the first layer, and setting the corrected correction data as the image data of the second layer. Image encoding method.
【請求項12】 階層符号化により得られた符号化デー
タを復号化する画像復号化装置であって、 前記符号化データを受信する受信手段と、 前記符号化データを復号化する復号化手段とを備え、 前記符号化データは、 第1の階層の画像データよりも画素数の少ない第2の階
層の画像データを形成し、 前記第2の階層の画像データを補正して、補正データを
出力し、 前記補正データから、前記第1の階層の画像データの予
測値を予測し、 前記第1の階層の画像データに対する、その予測値の予
測誤差を算出し、 前記第1の階層についての予測誤差に基づいて、前記補
正データの適正さを判定することを繰り返し、適正とな
った前記補正データを、前記第2の階層の画像データと
して含むことを特徴とする画像復号化装置。
12. An image decoding apparatus for decoding encoded data obtained by hierarchical encoding, comprising: a receiving unit that receives the encoded data; and a decoding unit that decodes the encoded data. Wherein the encoded data forms image data of a second layer having a smaller number of pixels than image data of the first layer, corrects the image data of the second layer, and outputs corrected data Predicting a predicted value of the image data of the first layer from the correction data; calculating a prediction error of the predicted value with respect to the image data of the first layer; An image decoding apparatus comprising: repeating the determination of the correctness of the correction data based on an error; and including the corrected correction data as image data of the second hierarchy.
【請求項13】 前記復号化手段は、 前記第2の階層の画像データを、その性質に応じて所定
のクラスに分類する分類手段と、 前記クラスに対応して、前記第1の階層の画像データの
予測値を求める予測値演算手段とを有することを特徴と
する請求項12に記載の画像復号化装置。
13. The classifying means for classifying the image data of the second layer into a predetermined class according to the nature of the image data, and the image data of the first layer corresponding to the class. 13. The image decoding apparatus according to claim 12, further comprising: a predicted value calculating unit that calculates a predicted value of the data.
【請求項14】 前記符号化データは、前記第2の階層
の画像データとの線形結合により前記予測値を算出する
ための予測係数も含んでおり、 前記復号化手段は、前記予測係数および第2の階層の画
像データから、前記第1の階層の画像データの予測値を
求める予測値演算手段を有することを特徴とする請求項
12に記載の画像復号化装置。
14. The coded data also includes a prediction coefficient for calculating the prediction value by a linear combination with the image data of the second hierarchy, wherein the decoding unit includes the prediction coefficient and the prediction coefficient 13. The image decoding apparatus according to claim 12, further comprising a predicted value calculating unit that calculates a predicted value of the image data of the first layer from the image data of the second layer.
【請求項15】 前記符号化データは、前記第2の階層
の画像データとの線形結合により前記予測値を算出する
ための、所定のクラスごとの予測係数も含んでおり、 前記復号化手段は、 前記第2の階層の画像データを、その性質に応じて所定
のクラスに分類する分類手段と、 前記第2の階層の画像データの前記クラスについての前
記予測係数と、その第2の階層の画像データとから、前
記第1の階層の画像データの予測値を求める予測値演算
手段とを有することを特徴とする請求項12に記載の画
像復号化装置。
15. The encoded data also includes a prediction coefficient for each predetermined class for calculating the predicted value by linear combination with the image data of the second hierarchy. A classifying unit that classifies the image data of the second layer into a predetermined class according to its property; a prediction coefficient for the class of the image data of the second layer; 13. The image decoding apparatus according to claim 12, further comprising: a prediction value calculating unit that calculates a prediction value of the image data of the first hierarchy from the image data.
【請求項16】 前記復号化手段は、 前記第2の階層の画像データとの線形結合により前記予
測値を算出するための予測係数を、所定のクラスごとに
記憶している予測係数記憶手段と、 前記第2の階層の画像データを、その性質に応じて前記
所定のクラスのうちのいずれかに分類する分類手段と、 前記第2の階層の画像データの前記クラスについての前
記予測係数を前記予測係数記憶手段から読み出し、その
予測係数と前記第2の階層の画像データとから、前記第
1の階層の画像データの予測値を求める予測値演算手段
とを有することを特徴とする請求項12に記載の画像復
号化装置。
16. A prediction coefficient storage means for storing, for each predetermined class, a prediction coefficient for calculating the prediction value by a linear combination with the image data of the second hierarchy. A classifying unit that classifies the image data of the second hierarchy into one of the predetermined classes according to the property thereof; and the prediction coefficient of the class of the image data of the second hierarchy is 13. A prediction value calculation means for reading out from the prediction coefficient storage means and calculating a prediction value of the image data of the first hierarchy from the prediction coefficient and the image data of the second hierarchy. 5. The image decoding device according to claim 1.
【請求項17】 前記予測係数記憶手段に記憶されてい
る前記クラスごとの予測係数は、学習用の画像データを
用いて学習を行うことにより生成されたものであること
を特徴とする請求項16に記載の画像復号化装置。
17. The method according to claim 16, wherein the prediction coefficient for each class stored in the prediction coefficient storage means is generated by performing learning using image data for learning. 5. The image decoding device according to claim 1.
【請求項18】 階層符号化により得られた符号化デー
タを復号化する画像復号化方法であって、 前記符号化データは、 第1の階層の画像データよりも画素数の少ない第2の階
層の画像データを形成し、 前記第2の階層の画像データを補正して、補正データを
出力し、 前記補正データから、前記第1の階層の画像データの予
測値を予測し、 前記第1の階層の画像データに対する、その予測値の予
測誤差を算出し、 前記第1の階層についての予測誤差に基づいて、前記補
正データの適正さを判定することを繰り返し、適正とな
った前記補正データを、前記第2の階層の画像データと
して含むことを特徴とする画像復号化方法。
18. An image decoding method for decoding encoded data obtained by hierarchical encoding, wherein the encoded data is a second layer having a smaller number of pixels than image data of a first layer. Forming the image data of the second layer, correcting the image data of the second layer, outputting correction data, predicting a predicted value of the image data of the first layer from the correction data, For the image data of the hierarchy, the prediction error of the prediction value is calculated, and based on the prediction error for the first hierarchy, the determination of the appropriateness of the correction data is repeated. , And image data of the second hierarchy.
【請求項19】 階層符号化により得られた符号化デー
タを伝送する伝送方法であって、 前記符号化データは、 第1の階層の画像データよりも画素数の少ない第2の階
層の画像データを形成し、 前記第2の階層の画像データを補正して、補正データを
出力し、 前記補正データから、前記第1の階層の画像データの予
測値を予測し、 前記第1の階層の画像データに対する、その予測値の予
測誤差を算出し、 前記第1の階層についての予測誤差に基づいて、前記補
正データの適正さを判定することを繰り返し、適正とな
った前記補正データを、前記第2の階層の画像データと
して含むことを特徴とする伝送方法。
19. A transmission method for transmitting encoded data obtained by hierarchical encoding, wherein the encoded data is a second layer of image data having a smaller number of pixels than the first layer of image data. And correcting the second layer image data, outputting correction data, predicting a predicted value of the first layer image data from the correction data, For the data, calculating the prediction error of the prediction value, based on the prediction error for the first hierarchy, repeatedly determining the correctness of the correction data, the correct correction data, the A transmission method characterized in that the transmission method includes image data of two layers.
【請求項20】 階層符号化により得られた符号化デー
タが記録されている記録媒体であって、 前記符号化データは、 第1の階層の画像データよりも画素数の少ない第2の階
層の画像データを形成し、 前記第2の階層の画像データを補正して、補正データを
出力し、 前記補正データから、前記第1の階層の画像データの予
測値を予測し、 前記第1の階層の画像データに対する、その予測値の予
測誤差を算出し、 前記第1の階層についての予測誤差に基づいて、前記補
正データの適正さを判定することを繰り返し、適正とな
った前記補正データを、前記第2の階層の画像データと
して含むことを特徴とする記録媒体。
20. A recording medium on which encoded data obtained by hierarchical encoding is recorded, wherein the encoded data of a second layer having a smaller number of pixels than image data of a first layer. Forming image data, correcting the second layer image data, outputting correction data, predicting a predicted value of the first layer image data from the correction data, For the image data of, the prediction error of the prediction value is calculated, and based on the prediction error for the first layer, the determination of the correctness of the correction data is repeated. A recording medium comprising the image data as the second layer of image data.
【請求項21】 画像を階層符号化する画像符号化装置
であって、 第1の階層の画像を構成する画素を、その性質に応じて
所定のクラスに分類する分類手段と、 前記クラスごとに、所定のマッピング係数を記憶してい
るマッピング係数記憶手段と、 前記第1の階層の画像の中の、注目している注目画素
と、その注目画素のクラスに対応する前記マッピング係
数とを用いて所定の演算を行うことにより、前記第1の
階層の画像データの画素数を少なくした第2の階層の画
像データを算出する演算手段とを備えることを特徴とす
る画像符号化装置。
21. An image encoding apparatus that hierarchically encodes an image, comprising: a classifying unit that classifies pixels constituting an image of a first hierarchy into a predetermined class according to a property thereof; A mapping coefficient storage unit that stores a predetermined mapping coefficient, and a target pixel of interest in the image of the first hierarchy, and the mapping coefficient corresponding to the class of the target pixel. An image encoding apparatus comprising: an arithmetic unit that calculates a second hierarchical image data in which the number of pixels of the first hierarchical image data is reduced by performing a predetermined arithmetic operation.
【請求項22】 前記演算手段は、前記注目画素を含
む、前記第1の階層の画像の複数の画素と、その注目画
素のクラスに対応する前記マッピング係数とを用いて所
定の演算を行うことを特徴とする請求項21に記載の画
像符号化装置。
22. The arithmetic unit performs a predetermined arithmetic operation using a plurality of pixels of the image of the first hierarchy including the pixel of interest and the mapping coefficient corresponding to the class of the pixel of interest. The image encoding device according to claim 21, wherein:
【請求項23】 前記マッピング係数は、学習用の画像
データを用いて学習を行うことにより生成されたもので
あることを特徴とする請求項21に記載の画像符号化装
置。
23. The image coding apparatus according to claim 21, wherein the mapping coefficient is generated by performing learning using image data for learning.
【請求項24】 前記マッピング係数は、前記第2の階
層の画像から第1の階層の画像を予測した予測結果の、
その第1の階層の画像に対する予測誤差が最小になるよ
うに学習を行うことにより得られたものであることを特
徴とする請求項21に記載の画像符号化装置。
24. The mapping coefficient of a prediction result of predicting an image of a first layer from an image of the second layer,
22. The image encoding apparatus according to claim 21, wherein the image encoding apparatus is obtained by performing learning so that a prediction error with respect to the image of the first hierarchy is minimized.
【請求項25】 前記マッピング係数は、前記第2の階
層の画像から前記第1の階層の画像を予測した予測結果
の、その第1の階層の画像に対する予測誤差が所定値以
下になるように学習を行うことにより得られたものであ
ることを特徴とする請求項21に記載の画像符号化装
置。
25. The mapping coefficient such that a prediction error of a prediction result of predicting the image of the first layer from the image of the second layer with respect to the image of the first layer is equal to or less than a predetermined value. 22. The image encoding apparatus according to claim 21, wherein the image encoding apparatus is obtained by performing learning.
【請求項26】 前記マッピング係数は、 学習用の第1の階層の画像を構成する画素を、その性質
に応じて前記クラスのうちのいずれかに分類し、 前記学習用の第1の階層の画像の中の、注目している注
目学習画素と、その注目学習画素のクラスに対応する所
定の係数とを用いて所定の演算を行うことにより、前記
学習用の第1の階層の画像の画素数を少なくした学習用
の第2の階層の画像データを算出し、 前記学習用の第2の階層の画像に基づいて、前記学習用
の第1の階層の画像の予測値を予測し、 前記学習用の第1の階層の画像に対する、前記学習用の
第1の階層の画像の予測値の予測誤差を算出し、 その予測誤差に基づいて、前記所定の係数を変更するこ
とを、前記所定の係数が最適な値になるまで繰り返すこ
とにより得られた、その最適な値の前記所定の係数であ
ることを特徴とする請求項21に記載の画像符号化装
置。
26. The mapping coefficient, comprising: classifying pixels constituting an image of a first layer for learning into one of the classes according to a property thereof; By performing a predetermined operation using an attention learning pixel of interest in the image and a predetermined coefficient corresponding to the class of the attention learning pixel, the pixel of the first layer image for learning is obtained. Calculating a second-layer image data for learning with a reduced number, predicting a predicted value of the first-layer image for learning based on the second-layer image for learning; Calculating a prediction error of a prediction value of the learning first layer image with respect to the learning first layer image, and changing the predetermined coefficient based on the prediction error; Obtained by repeating until the coefficient of The image coding apparatus according to claim 21, characterized in that said predetermined factor of the optimum value.
【請求項27】 前記マッピング係数は、 学習用の第1の階層の画像よりも画素数の少ない学習用
の第2の階層の画像を形成し、 前記学習用の第2の階層の画像を補正して、学習用補正
データを出力し、 前記学習用補正データに基づいて、前記学習用の第1の
階層の画像を予測して、その予測値を出力し、 前記学習用の第1の階層の画像に対する、前記学習用の
第1の階層の画像の予測値の予測誤差を算出し、 その予測誤差に基づいて、前記学習用補正データの適正
さを判定することを、前記学習用補正データが適正にな
るまで繰り返すことにより得られた、その適正になった
前記学習用補正データと、前記学習用の第1の階層の画
像とを用いて求められたものであることを特徴とする請
求項21に記載の画像符号化装置。
27. The learning apparatus according to claim 27, wherein the mapping coefficient forms an image of a second layer for learning having a smaller number of pixels than an image of the first layer for learning, and corrects the image of the second layer for learning. Outputting learning correction data, predicting an image of the learning first layer based on the learning correction data, and outputting a predicted value thereof; and learning the first layer of learning. Calculating the prediction error of the predicted value of the image of the first layer for learning with respect to the image of (i), and determining the appropriateness of the learning correction data based on the prediction error; Is obtained by using the corrected learning correction data obtained by repeating the process until it becomes proper, and the image of the first layer for learning. Item 22. The image encoding device according to Item 21.
【請求項28】 画像を階層符号化する画像符号化方法
であって、 第1の階層の画像を構成する画素を、その性質に応じて
所定のクラスに分類し、 前記クラスごとに、所定のマッピング係数を記憶してい
るマッピング係数記憶手段から、前記第1の階層の画像
の中の、注目している注目画素に対応するクラスの前記
マッピング係数を読み出し、 そのマッピング係数と前記注目画素とを用いて所定の演
算を行うことにより、前記第1の階層の画像データの画
素数を少なくした第2の階層の画像データを算出するこ
とを特徴とする画像符号化方法。
28. An image encoding method for hierarchically encoding an image, comprising: classifying pixels constituting an image of a first hierarchy into a predetermined class according to a property thereof; From the mapping coefficient storage unit that stores the mapping coefficient, the mapping coefficient of the class corresponding to the target pixel of interest in the image of the first hierarchy is read, and the mapping coefficient and the pixel of interest are read. And performing a predetermined operation to calculate image data of a second layer in which the number of pixels of the image data of the first layer is reduced.
【請求項29】 階層符号化により得られた符号化デー
タを復号化する画像復号化装置であって、 前記符号化データを受信する受信手段と、 前記符号化データを復号化する復号化手段とを備え、 前記符号化データは、 第1の階層の画像を構成する画素を、その性質に応じて
第1のクラスのうちのいずれかに分類し、 前記第1のクラスごとに、所定のマッピング係数を記憶
しているマッピング係数記憶手段から、前記第1の階層
の画像の中の、注目している注目画素に対応する第1の
クラスの前記マッピング係数を読み出し、 そのマッピング係数と前記注目画素とを用いて所定の演
算を行うことにより得られる、前記第1の階層の画像の
画素数を少なくした第2の階層の画像を含むことを特徴
とする画像復号化装置。
29. An image decoding device for decoding encoded data obtained by hierarchical encoding, comprising: a receiving unit for receiving the encoded data; a decoding unit for decoding the encoded data; Wherein the encoded data classifies the pixels constituting the image of the first layer into one of first classes according to their properties, and a predetermined mapping is performed for each of the first classes. From the mapping coefficient storage means storing coefficients, the first class of mapping coefficients corresponding to the target pixel of interest in the image of the first hierarchy is read, and the mapping coefficient and the target pixel are read out. And an image decoding apparatus including a second layer image obtained by performing a predetermined operation using the first layer image and having a reduced number of pixels of the first layer image.
【請求項30】 前記復号化手段は、 前記第2の階層の画像との線形結合により前記第1の階
層の画像の予測値を算出するための予測係数を、第2の
クラスごとに記憶している予測係数記憶手段と、 前記第2の階層の画像を、その性質に応じて前記第2の
クラスのうちのいずれかに分類する分類手段と、 前記第2の階層の画像の前記第2のクラスについての前
記予測係数を、前記予測係数記憶手段から読み出し、そ
の予測係数と前記第2の階層の画像とから、前記第1の
階層の画像の予測値を求める予測値演算手段とを有する
ことを特徴とする請求項29に記載の画像復号化装置。
30. The decoding means stores, for each second class, a prediction coefficient for calculating a prediction value of the image of the first layer by a linear combination with the image of the second layer. Prediction coefficient storage means, classification means for classifying the image of the second hierarchy into one of the second classes according to the property thereof, and second classification of the image of the second hierarchy. Prediction value calculation means for reading out the prediction coefficient for the class of (i) from the prediction coefficient storage means, and calculating a prediction value of the image of the first hierarchy from the prediction coefficient and the image of the second hierarchy. 30. The image decoding apparatus according to claim 29, wherein:
【請求項31】 前記予測係数は、学習用の画像を用い
て学習を行うことにより生成されたものであることを特
徴とする請求項30に記載の画像復号化装置。
31. The image decoding apparatus according to claim 30, wherein the prediction coefficient is generated by performing learning using a learning image.
【請求項32】 前記マッピング係数は、学習用の画像
を用いて学習を行うことにより生成されたものであるこ
とを特徴とする請求項29に記載の画像復号化装置。
32. The image decoding apparatus according to claim 29, wherein the mapping coefficient is generated by performing learning using a learning image.
【請求項33】 前記マッピング係数は、前記第2の階
層の画像から前記第1の階層の画像を予測した予測結果
の、その第2の階層の画像に対する予測誤差が最小にな
るように学習を行うことにより得られたものであること
を特徴とする請求項29に記載の画像復号化装置。
33. The mapping coefficient is learned so that a prediction error of a prediction result of the image of the first layer from an image of the second layer with respect to the image of the second layer is minimized. 30. The image decoding device according to claim 29, wherein the image decoding device is obtained by performing the operation.
【請求項34】 前記マッピング係数は、前記第2の階
層の画像から前記第1の階層の画像を予測した予測結果
の、その第1の階層の画像に対する予測誤差が所定値以
下になるように学習を行うことにより得られたものであ
ることを特徴とする請求項29に記載の画像復号化装
置。
34. The mapping coefficient such that a prediction error of a prediction result of predicting the image of the first layer from the image of the second layer with respect to the image of the first layer is equal to or less than a predetermined value. 30. The image decoding apparatus according to claim 29, wherein the image decoding apparatus is obtained by performing learning.
【請求項35】 階層符号化により得られた符号化デー
タを復号化する画像復号化方法であって、 前記符号化データは、 第1の階層の画像を構成する画素を、その性質に応じて
所定のクラスに分類し、 前記所定のクラスごとに、所定のマッピング係数を記憶
しているマッピング係数記憶手段から、前記第1の階層
の画像の中の、注目している注目画素に対応するクラス
の前記マッピング係数を読み出し、 そのマッピング係数と前記注目画素とを用いて所定の演
算を行うことにより得られる、前記第1の階層の画像の
画素数を少なくした第2の階層の画像を含むことを特徴
とする画像復号化方法。
35. An image decoding method for decoding coded data obtained by hierarchical coding, wherein the coded data sets pixels constituting an image of a first layer in accordance with the property thereof. Classifying into a predetermined class, and for each of the predetermined classes, a class corresponding to a target pixel of interest in the image of the first hierarchy is stored in a mapping coefficient storage unit that stores a predetermined mapping coefficient. A second hierarchical image obtained by reading out the mapping coefficient of the above and performing a predetermined operation using the mapping coefficient and the target pixel, wherein the number of pixels of the first hierarchical image is reduced. An image decoding method characterized by the following.
【請求項36】 階層符号化により得られた符号化デー
タを伝送する伝送方法であって、 前記符号化データは、 第1の階層の画像を構成する画素を、その性質に応じて
所定のクラスに分類し、 前記所定のクラスごとに、所定のマッピング係数を記憶
しているマッピング係数記憶手段から、前記第1の階層
の画像の中の、注目している注目画素に対応するクラス
の前記マッピング係数を読み出し、 そのマッピング係数と前記注目画素とを用いて所定の演
算を行うことにより得られる、前記第1の階層の画像の
画素数を少なくした第2の階層の画像を含むことを特徴
とする伝送方法。
36. A transmission method for transmitting coded data obtained by hierarchical coding, wherein the coded data is obtained by classifying pixels constituting an image of a first hierarchy into a predetermined class according to the property thereof. From the mapping coefficient storage means storing a predetermined mapping coefficient for each of the predetermined classes, from the mapping of the class corresponding to the target pixel of interest in the image of the first hierarchy. A second layer image obtained by reading a coefficient, performing a predetermined operation using the mapping coefficient and the target pixel, and reducing the number of pixels of the first layer image. Transmission method to do.
【請求項37】 階層符号化により得られた符号化デー
タが記録されている記録媒体であって、 前記符号化データは、 第1の階層の画像を構成する画素を、その性質に応じて
所定のクラスに分類し、 前記所定のクラスごとに、所定のマッピング係数を記憶
しているマッピング係数記憶手段から、前記第1の階層
の画像の中の、注目している注目画素に対応するクラス
の前記マッピング係数を読み出し、 そのマッピング係数と前記注目画素とを用いて所定の演
算を行うことにより得られる、前記第1の階層の画像の
画素数を少なくした第2の階層の画像を含むことを特徴
とする記録媒体。
37. A recording medium on which encoded data obtained by hierarchical encoding is recorded, wherein the encoded data includes a pixel that forms an image of a first layer, and a predetermined number of pixels corresponding to a property of the pixel. From the mapping coefficient storing means storing a predetermined mapping coefficient for each of the predetermined classes, from a class corresponding to a target pixel of interest in the image of the first hierarchy. Including a second layer image obtained by reading out the mapping coefficient and performing a predetermined operation using the mapping coefficient and the target pixel, wherein the second layer image has a reduced number of pixels. Characteristic recording medium.
JP20853597A 1996-07-17 1997-07-17 Image processing system, image encoding device, image encoding method, transmission method, and recording medium Expired - Fee Related JP3912629B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20853597A JP3912629B2 (en) 1996-07-17 1997-07-17 Image processing system, image encoding device, image encoding method, transmission method, and recording medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP20655596 1996-07-17
JP8-206555 1996-07-17
JP20853597A JP3912629B2 (en) 1996-07-17 1997-07-17 Image processing system, image encoding device, image encoding method, transmission method, and recording medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2005308102A Division JP4582416B2 (en) 1996-07-17 2005-10-24 Image coding apparatus and image coding method

Publications (2)

Publication Number Publication Date
JPH1093981A true JPH1093981A (en) 1998-04-10
JP3912629B2 JP3912629B2 (en) 2007-05-09

Family

ID=26515715

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20853597A Expired - Fee Related JP3912629B2 (en) 1996-07-17 1997-07-17 Image processing system, image encoding device, image encoding method, transmission method, and recording medium

Country Status (1)

Country Link
JP (1) JP3912629B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007000874A1 (en) * 2005-06-27 2007-01-04 Pioneer Corporation Interpolating apparatus
WO2007063890A1 (en) * 2005-12-02 2007-06-07 Pioneer Corporation Digital broadcast reception signal processing device, signal processing method, signal processing program, and digital broadcast receiver
CN102135722A (en) * 2010-01-05 2011-07-27 索尼公司 Camera structure, camera system and method of producing the same

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6348088A (en) * 1986-08-15 1988-02-29 Sony Corp Interpolation circuit for digital image signal
JPH0795563A (en) * 1993-06-18 1995-04-07 Sony Corp High-efficiency encoder for digital image signal
JPH07147681A (en) * 1993-09-30 1995-06-06 Sony Corp Hierarchical coding/decoding device for digital image signal
JPH07162848A (en) * 1993-12-03 1995-06-23 Sony Corp Processor for digital image signal
JPH0846934A (en) * 1994-08-01 1996-02-16 Sony Corp Processor for digital picture signal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6348088A (en) * 1986-08-15 1988-02-29 Sony Corp Interpolation circuit for digital image signal
JPH0795563A (en) * 1993-06-18 1995-04-07 Sony Corp High-efficiency encoder for digital image signal
JPH07147681A (en) * 1993-09-30 1995-06-06 Sony Corp Hierarchical coding/decoding device for digital image signal
JPH07162848A (en) * 1993-12-03 1995-06-23 Sony Corp Processor for digital image signal
JPH0846934A (en) * 1994-08-01 1996-02-16 Sony Corp Processor for digital picture signal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007000874A1 (en) * 2005-06-27 2007-01-04 Pioneer Corporation Interpolating apparatus
JPWO2007000874A1 (en) * 2005-06-27 2009-01-22 パイオニア株式会社 Interpolator
JP4505020B2 (en) * 2005-06-27 2010-07-14 パイオニア株式会社 Interpolator
WO2007063890A1 (en) * 2005-12-02 2007-06-07 Pioneer Corporation Digital broadcast reception signal processing device, signal processing method, signal processing program, and digital broadcast receiver
JPWO2007063890A1 (en) * 2005-12-02 2009-05-07 パイオニア株式会社 Digital broadcast reception signal processing apparatus, signal processing method, signal processing program, and digital broadcast reception apparatus
JP4672734B2 (en) * 2005-12-02 2011-04-20 パイオニア株式会社 Digital broadcast reception signal processing apparatus, signal processing method, signal processing program, and digital broadcast reception apparatus
CN102135722A (en) * 2010-01-05 2011-07-27 索尼公司 Camera structure, camera system and method of producing the same

Also Published As

Publication number Publication date
JP3912629B2 (en) 2007-05-09

Similar Documents

Publication Publication Date Title
JP3748088B2 (en) Image processing apparatus and method, and learning apparatus and method
KR100529662B1 (en) Image coding and decoding using mapping coefficients corresponding to class information of pixel blocks
JP3912627B2 (en) Image coding apparatus, image coding method, and transmission method
RU2314656C2 (en) Internal encoding, based on spatial prediction
JP3915855B2 (en) Image coding apparatus, image coding method, learning apparatus, and learning method
KR100537123B1 (en) Picture signal coding device, picture signal coding method, picture signal decoding device, picture signal decoding method, and recording medium
KR100574732B1 (en) Image coding apparatus, image coding method, image decoding method, image decoding apparatus, image data transmitting method and recording medium
EP0825776A2 (en) Image coding and decoding
JP3747970B2 (en) Image encoding device, image encoding method, image decoding device, and image decoding method
JP4582416B2 (en) Image coding apparatus and image coding method
JPH1093981A (en) Image encoder and image encoding method, image decoder and image decoding method, transmitting method and recording medium
JP4534951B2 (en) Image coding apparatus, image coding method, image processing system, image processing method, transmission method, and recording medium
JP3912558B2 (en) Image encoding apparatus, image encoding method, and recording medium
JP3912628B2 (en) Image encoding device, image encoding method, image encoding and decoding system, image encoding and decoding method, and recording medium
JP3844031B2 (en) Image coding apparatus and image coding method, and image decoding apparatus and image decoding method
JP3952326B2 (en) Image coding apparatus, image coding method, image processing system, image processing method, transmission method, and recording medium
JP4496494B2 (en) Image coding apparatus and image coding method
JP4487900B2 (en) Image processing system
KR100674068B1 (en) Image coding apparatus, image coding method, image decoding method, image decoding apparatus, image data transmitting method and recording medium
KR100598754B1 (en) Device for coding original image data, device for decoding coded image data, method for coding original image data, method for decoding coded image data, method for transmitting image data, computer-readable storing media
EP1298934A1 (en) Apparatus and method for image coding and decoding
JP2001339724A (en) Image encoding apparatus and method, and recording medium
JP2006087135A (en) Image processing apparatus and method therefor, and learning apparatus and method therefor
JP2008136221A (en) Learning apparatus and method, and image processor and image processing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050819

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050826

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051025

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060522

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060721

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070125

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

Free format text: PAYMENT UNTIL: 20100209

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110209

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110209

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120209

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120209

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130209

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130209

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140209

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees