JPH0818970A - Encoder and decoder for image data - Google Patents

Encoder and decoder for image data

Info

Publication number
JPH0818970A
JPH0818970A JP14931694A JP14931694A JPH0818970A JP H0818970 A JPH0818970 A JP H0818970A JP 14931694 A JP14931694 A JP 14931694A JP 14931694 A JP14931694 A JP 14931694A JP H0818970 A JPH0818970 A JP H0818970A
Authority
JP
Japan
Prior art keywords
signal level
image data
adjacent
block
level difference
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
JP14931694A
Other languages
Japanese (ja)
Other versions
JP3028513B2 (en
Inventor
Yuji Mizoguchi
裕二 溝口
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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel 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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP14931694A priority Critical patent/JP3028513B2/en
Publication of JPH0818970A publication Critical patent/JPH0818970A/en
Application granted granted Critical
Publication of JP3028513B2 publication Critical patent/JP3028513B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To improve picture quality by generating boundary signal level difference addition information used in the reduction processing of block distortion in an image data decoder which performs decoding based on an adjacent boundary signal level differential value. CONSTITUTION:A correction information generating part 32 provided on an image data encoder side generates information used in block distortion reduction processing when encoded data whose data quantity is compressed and encoded by such compression is decoded again to two-dimensional image data on an image data decoder side. The information is the boundary signal level difference addition information, and it is generated based on the adjacent boundary signal level differential value. A block distortion correction part 34 provided on the decoder side performs the block distortion reduction processing as changing the degree of block distortion reduction corresponding to the boundary signal level difference addition information transmitted via a certain transmission line 50b. The correction part 34 suppresses the degree of block distortion reduction corresponding to the boundary signal level difference addition information.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、2次元画像データを2
次元空間で複数ブロックへ分割し、分割後のブロック単
位でその2次元画像データに対して直交変換処理及び量
子化処理を施すことで、前記2次元画像データのデータ
量が圧縮された符号化画像データを生成する画像データ
符号化装置に係り、あるいは、逆量子化処理及び逆直交
変換処理にて前記符号化データを復号する画像データ復
号化装置に係り、特に、再び2次元画像データへと復号
した後の2次元画像に生じてしまう、前記ブロック間の
低周波数成分の強さの不連続による画質格差というブロ
ック歪を低減し、これにより、復号後の2次元画像の画
質をより向上することができる画像データ符号化装置及
び画像データ復号化装置に関する。
BACKGROUND OF THE INVENTION The present invention converts two-dimensional image data into two.
A coded image in which the data amount of the two-dimensional image data is compressed by dividing the two-dimensional image data into a plurality of blocks in a three-dimensional space and subjecting the divided two-dimensional image data to the two-dimensional image data. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data encoding device that generates data, or an image data decoding device that decodes the encoded data by inverse quantization processing and inverse orthogonal transform processing. Block distortion called image quality disparity caused by discontinuity of the strength of low frequency components between the blocks, which occurs in the two-dimensional image after the processing, thereby further improving the image quality of the decoded two-dimensional image. The present invention relates to an image data encoding device and an image data decoding device capable of performing the above.

【0002】[0002]

【従来の技術】通常、画像情報はデータ量が多く、特
に、自然画像や動画像は非常に多くのデータ量を有して
いる。従って、従来から、このような画像情報を効率良
く伝送したり、保存するための、様々なデータ圧縮技術
が開示されている。
2. Description of the Related Art Usually, image information has a large amount of data, and especially natural images and moving images have a very large amount of data. Therefore, various data compression techniques for efficiently transmitting or storing such image information have been disclosed.

【0003】データ圧縮技術の1つとして、DCT(di
screte cosine transform )等の直交変換後に量子化し
更に符号化するという技術がある。以降、このような技
術を、変換符号化データ圧縮技術と呼ぶ。又、このよう
なデータ圧縮を、以降、変換符号化データ圧縮と呼ぶ。
As one of data compression techniques, DCT (di
There is a technique of quantizing and further encoding after orthogonal transformation such as screte cosine transform). Hereinafter, such a technique is referred to as a transform-coded data compression technique. Further, such data compression is hereinafter referred to as transform-coded data compression.

【0004】又、このような変換符号化データ圧縮技術
には、データ圧縮対象となる画素画像をまずブロック分
割し、分割されたブロック毎に前記変換符号化データ圧
縮を行うという技術がある。以降、このような技術を、
ブロック分割変換符号化データ圧縮技術と呼ぶ。
Further, as such a transform-coded data compression technique, there is a technique in which a pixel image to be data-compressed is first divided into blocks and the transform-coded data is compressed for each divided block. After that, such technology
This is called a block division conversion coding data compression technique.

【0005】図5は、一般的な、画像の符号化装置のブ
ロック図である。
FIG. 5 is a block diagram of a general image coding apparatus.

【0006】この図5に示される画像の符号化装置は、
ブロック分割された画素画像を前記変換符号化データ圧
縮するものである。又、この図5の画像の符号化装置
は、伝送ないしは保存等の対象となる画素画像信号Xに
対して、データ圧縮を伴った符号化を行い、符号化画像
信号Zを生成するものである。
The image coding apparatus shown in FIG.
The block-divided pixel image is compressed by the transform coded data. Further, the image coding apparatus of FIG. 5 performs coding with data compression on a pixel image signal X to be transmitted or stored, and generates a coded image signal Z. .

【0007】この図5の画像の符号化装置は、主に、直
交変換手段40と、量子化手段42と、量子化テーブル
44と、可変長符号化手段46と、可変長符号化テーブ
ル48とにより構成されている。
The image coding apparatus shown in FIG. 5 mainly includes an orthogonal transformation means 40, a quantization means 42, a quantization table 44, a variable length coding means 46, and a variable length coding table 48. It is composed by.

【0008】前記直交変換手段40は、画素画像信号X
に対して直交変換を施して、周波数成分信号Fを生成す
る。この直交変換としては、例えば、2次元フーリエ変
換や、Walsh−Hadamard 変換や、Haar 変換、slant
変換(傾斜変換)、離散的コサイン変換(DCT)、K
arhunen −Loeve変換(以降、KLTとも呼ぶ)等があ
る。
The orthogonal transformation means 40 uses the pixel image signal X
Is subjected to orthogonal transformation to generate a frequency component signal F. Examples of the orthogonal transformation include two-dimensional Fourier transformation, Walsh-Hadamard transformation, Haar transformation, and slant.
Transform (gradient transform), Discrete Cosine Transform (DCT), K
There are Arhunen-Loeve conversion (hereinafter also referred to as KLT) and the like.

【0009】前記量子化手段42は、前記量子化テーブ
ル44から得られる量子化係数Qを用いて、符号化画像
信号Yを生成する。この符号化画像信号Yは、データ圧
縮が施されており、これを伝送ないしは保存等に用いて
もよいが、前記可変長符号化手段46で更にデータ圧縮
を図ってもよい。
The quantizing means 42 generates a coded image signal Y using the quantized coefficient Q obtained from the quantizing table 44. The encoded image signal Y has been subjected to data compression and may be used for transmission or storage, but the variable length encoding means 46 may further perform data compression.

【0010】該可変長符号化手段46は、前記符号化画
像信号Yから、前記可変長符号化テーブル48から得ら
れる可変長符号化テーブルデータTを用いて、符号化画
像信号Zを生成する。該符号化画像信号Zは、前記画素
画像信号Xを伝送ないしは保存するために用いられる。
該符号化画像信号Zは、前記画素画像信号Xがデータ圧
縮されたものであり、又、前記符号化画像信号Yよりも
更にデータ圧縮されている。
The variable length coding means 46 generates a coded image signal Z from the coded image signal Y by using the variable length coding table data T obtained from the variable length coding table 48. The encoded image signal Z is used to transmit or store the pixel image signal X.
The encoded image signal Z is obtained by compressing the pixel image signal X in data, and is further compressed in data than the encoded image signal Y.

【0011】図6は、一般的な、画像の復号化装置のブ
ロック図である。
FIG. 6 is a block diagram of a general image decoding apparatus.

【0012】この図6に示される画像の復号化装置は、
前記図5の画像の符号化装置で生成された符号化画像信
号Zから、前記画素画像信号Xに対応する画素画像信号
X2を生成(復号)するものである。
The image decoding apparatus shown in FIG.
The pixel image signal X2 corresponding to the pixel image signal X is generated (decoded) from the coded image signal Z generated by the image encoding device of FIG.

【0013】この図6の画像の復号化装置は、主に、可
変長復号化手段12と、可変長符号化テーブル14と、
逆量子化手段16と、量子化テーブル18と、逆直交変
換手段20とにより構成されている。
The image decoding apparatus of FIG. 6 mainly includes a variable length decoding means 12, a variable length coding table 14, and
The inverse quantization means 16, the quantization table 18, and the inverse orthogonal transformation means 20 are included.

【0014】前記可変長符号化手段12は、前記可変長
符号化テーブル14から得られる可変長復号化テーブル
データT2を用いて、前記符号化画像信号Zから符号化
画像信号Y2を復号する。
The variable length coding means 12 decodes the coded image signal Y2 from the coded image signal Z using the variable length decoding table data T2 obtained from the variable length coding table 14.

【0015】前記逆量子化手段16は、前記量子化テー
ブル18から得られる逆量子化係数Q2を用いて、前記
符号化画像信号Y2から周波数成分信号F2を生成す
る。
The inverse quantization means 16 uses the inverse quantization coefficient Q2 obtained from the quantization table 18 to generate a frequency component signal F2 from the encoded image signal Y2.

【0016】前記逆直交変換手段20は、前記周波数成
分データF2に対して逆直交変換を行い、画素画像信号
X2を生成する。この画素画像信号X2は、前記図5の
画素画像信号Xに対応するものである。
The inverse orthogonal transform means 20 performs an inverse orthogonal transform on the frequency component data F2 to generate a pixel image signal X2. The pixel image signal X2 corresponds to the pixel image signal X in FIG.

【0017】データ圧縮技術としては、可逆符号化によ
るデータ圧縮と、非可逆符号化によるデータ圧縮とがあ
る。以上説明した画像の符号化装置及び復号化装置で
は、前記非可逆符号化によるデータ圧縮が行われる。こ
のようなデータ圧縮(符号化)は、ある程度の歪等の情
報量の減少が伴ってしまうが、大幅なデータ圧縮を図る
ことができる。又、データ圧縮される画像が目視を対象
としているものである場合、視覚心理特性等を考慮して
前述の量子化テーブル18、44の数値(データ)を設
定することにより、前記歪等の悪影響を問題のない範囲
まで低減することができる。
Data compression techniques include data compression by lossless encoding and data compression by lossy encoding. In the image encoding device and image decoding device described above, data compression is performed by the lossy encoding. Such data compression (encoding) involves a certain amount of reduction in the amount of information such as distortion, but significant data compression can be achieved. Further, when the image to be data-compressed is intended for visual observation, by setting the numerical values (data) of the quantization tables 18 and 44 described above in consideration of visual psychological characteristics and the like, the adverse effect of the distortion or the like is exerted. Can be reduced to a range where there is no problem.

【0018】しかしながら、前述のように直交変換処理
や量子化処理を施すことでデータ量を圧縮する場合、再
び2次元画像データへと復号した後の2次元画像にブロ
ック歪が発生してしまうという問題があった。
However, when the data amount is compressed by performing the orthogonal transformation process or the quantization process as described above, block distortion occurs in the two-dimensional image after being decoded into the two-dimensional image data again. There was a problem.

【0019】このブロック歪は、前述のように前記符号
化画像データへと符号化したり、あるいはこれを復号化
する際に生じてしまう、符号化の際に分割したブロック
間の周波数成分の強さの不連続による画質格差によるも
のである。このようなブロック歪は、2次元画像データ
のデータ量の圧縮を行う符号化の際、その2次元画像デ
ータを2次元空間で複数ブロックへ分割するためであ
る。
This block distortion is the strength of the frequency component between the blocks divided at the time of coding, which occurs when the coded image data is coded or decoded as described above. This is due to the image quality gap due to the discontinuity of. Such block distortion is because the two-dimensional image data is divided into a plurality of blocks in the two-dimensional space at the time of encoding for compressing the data amount of the two-dimensional image data.

【0020】又、このようなブロック歪は、符号化にあ
ってなされるデータ量の圧縮の度合が大きくなる程、よ
り大きくなってしまうものである。例えば、2次元画像
データを前記符号化画像データへと符号化する際の前記
量子化処理において、データ量の圧縮の度合がより大き
くなる程、このようなブロック歪はより顕著になってし
まうものである。
Further, such block distortion becomes larger as the degree of compression of the amount of data made in encoding becomes larger. For example, in the quantization processing when the two-dimensional image data is encoded into the encoded image data, such a block distortion becomes more remarkable as the degree of compression of the data amount increases. Is.

【0021】このようなブロック歪による復号後の2次
元画像の画質の劣化を抑えるために、従来から、データ
量が圧縮され、符号化された前記符号化画像データを復
号する際、このようなブロック歪を補正するということ
が行われている。
In order to suppress the deterioration of the image quality of a two-dimensional image after decoding due to such block distortion, conventionally, when decoding the coded image data in which the data amount is compressed and coded, such Correction of block distortion is performed.

【0022】例えば、特開昭62−196990では、
前記符号化画像データに対して前記逆量子化処理及び前
記逆直交変換処理にて復号する際、これら逆量子化処理
及び逆直交変換処理の後、2つのブロックに亘って延び
る画素列の各画素に関する複数の画像データを用いて、
一方のブロック内の該画像データから、他方のブロック
内の前記画素列のブロック境界部画素に関する画像デー
タを互いに外挿予測するようにしている。又、各ブロッ
ク内の前記画素列の境界近傍画素についての前記画像デ
ータを、ブロック境界に近づくにつれて前記外挿予測さ
れた画像データ値に漸近するように補正するというもの
である。
For example, in Japanese Patent Laid-Open No. 62-196990,
When decoding the encoded image data by the inverse quantization process and the inverse orthogonal transform process, after the inverse quantization process and the inverse orthogonal transform process, each pixel of a pixel row extending over two blocks Using multiple image data for
From the image data in one block, the image data relating to the block boundary pixels of the pixel row in the other block are extrapolated and predicted. Further, the image data of the pixels near the boundary of the pixel column in each block is corrected so as to approach the image data value predicted by extrapolation as the block boundary is approached.

【0023】又、特開平5−176176では、ブロッ
ク分割された2次元画像を直交変換後に量子化し更に符
号化した画像信号を、再び2次元画像に復号する画像の
復号化装置において、逆直交変換前の画像信号から、D
C(直流)成分を抽出するDC成分抽出手段を備えるよ
うにしている。又、該DC成分から、前記逆直交変換後
の画像信号の、ブロック間のDC成分の大きさの不連続
を低減するために用いる補正値を算出する補正値算出手
段を備える。更に、該補正値を用いて、前記逆直交変換
後の画像信号を補正し、ブロック歪を低減するブロック
歪補正手段を備えるようにしている。
Further, in Japanese Patent Laid-Open No. 5-176176, in a picture decoding apparatus for decoding a block-divided two-dimensional image after orthogonal transformation, quantized and further coded into a two-dimensional image again, an inverse orthogonal transformation is performed. From the previous image signal, D
A DC component extracting means for extracting the C (direct current) component is provided. Further, a correction value calculating means is provided for calculating a correction value used for reducing the discontinuity of the magnitude of the DC component between the blocks of the image signal after the inverse orthogonal transform from the DC component. Further, the correction value is used to correct the image signal after the inverse orthogonal transform, and a block distortion correction means for reducing block distortion is provided.

【0024】このような、前記特開昭62−19699
0や前記特開平5−176176等によれば、前述のよ
うなブロック歪を低減することができ、復号後の2次元
画像の画質の向上、特に対象となる2次元画像が目視対
象である場合の、視覚心理特性上での画質をより向上す
ることができる。
The above-mentioned Japanese Patent Laid-Open No. 62-19699
0 and the above-mentioned Japanese Patent Laid-Open No. 5-176176, it is possible to reduce the block distortion as described above, and improve the image quality of a two-dimensional image after decoding, especially when the target two-dimensional image is a visual target. It is possible to further improve the image quality in terms of visual psychological characteristics.

【0025】[0025]

【発明が達成しようとする課題】しかしながら、前記特
開昭62−196990や前記特開平5−176176
等、従来のブロック歪を低減する技術では、前述のよう
にブロック歪を低減できるものの、一方で、このような
ブロック歪の低減の処理に伴った画像の劣化が生じてし
まうという問題がある。
However, the above-mentioned JP-A-62-196990 and JP-A-5-176176 are known.
Although the conventional techniques for reducing block distortion can reduce block distortion as described above, on the other hand, there is a problem that image deterioration occurs due to such processing for reducing block distortion.

【0026】前記特開昭62−196990や前記特開
平5−176176等、従来のブロック歪を低減する技
術は、このようにならし処理やフィルタリング処理によ
るものである。このため、全体的に、復号後の2次元画
像がぼやけた印象のものとなってしまう。例えば、復号
後の2次元画像中の種々の画像の輪郭や境界部のエッジ
等のコントラスト等が低下してしまい、このため画像が
劣化してしまう。
The conventional techniques for reducing block distortion, such as Japanese Patent Laid-Open No. 62-196990 and Japanese Patent Laid-Open No. 5-176176, are based on such smoothing processing and filtering processing. For this reason, the two-dimensional image after decoding has a blurred impression as a whole. For example, the contours of various images in the decoded two-dimensional image, the contrast of the edges of the boundary, and the like are reduced, and the image is deteriorated.

【0027】本発明は、前記従来の問題点を解決するべ
くなされたもので、2次元画像データを2次元空間で複
数ブロックへ分割し、分割後のブロック単位でその2次
元画像データに対して直交変換処理及び量子化処理を施
すことで、前記2次元画像データのデータ量が圧縮さ
れ、これにより符号化された符号化画像データを、再び
2次元画像データへと復号した後の2次元画像に生じて
しまう、前記ブロック歪を低減しながら、同時に、この
ようなブロック歪の低減の処理による画像の劣化を抑
え、これにより、復号後の2次元画像の画質をより向上
することができる画像データ符号化装置及び画像データ
復号化装置を提供することを目的とする。
The present invention has been made to solve the above-mentioned conventional problems, and divides two-dimensional image data into a plurality of blocks in a two-dimensional space, and divides the divided two-dimensional image data into blocks. By performing the orthogonal transformation process and the quantization process, the data amount of the two-dimensional image data is compressed, and the encoded image data encoded by the two-dimensional image data is decoded again into the two-dimensional image data. An image that can reduce the block distortion that occurs in the same time and at the same time suppress the deterioration of the image due to the process of reducing the block distortion, thereby improving the image quality of the two-dimensional image after decoding. An object is to provide a data encoding device and an image data decoding device.

【0028】[0028]

【課題を達成するための手段】本願の第1発明の画像デ
ータ符号化装置は、2次元画像データを2次元空間で複
数ブロックへ分割し、分割後のブロック単位でその2次
元画像データに対して直交変換処理及び量子化処理を施
すことで、前記2次元画像データのデータ量が圧縮され
た符号化画像データを生成する画像データ符号化装置に
おいて、複数の前記ブロックのうち、上下方向又は左右
方向で相互に隣接する2つの隣接ブロックについて、そ
の隣接境界線を介して互いに接近するそれぞれの前記隣
接ブロック中の画素の信号レベルを、それぞれの前記隣
接ブロック毎に、ブロック周辺信号レベルとして求める
周辺信号レベル算出部と、前記ブロック周辺信号レベル
の前記隣接ブロック相互間での差分値を、隣接境界信号
レベル差分値として求める信号レベル差分算出部と、前
記隣接境界信号レベル差分値に基づいて、前記符号化画
像データを復号する画像データ復号化装置での、ブロッ
ク歪の低減処理で用いる境界信号レベル差付加情報を生
成する付加情報生成部とを備えたことにより、前記課題
を達成することができる画像データ符号化装置を提供し
たものである。
The image data encoding apparatus of the first invention of the present application divides two-dimensional image data into a plurality of blocks in a two-dimensional space, and divides the divided two-dimensional image data into blocks. In an image data coding apparatus for generating coded image data in which the data amount of the two-dimensional image data is compressed by performing orthogonal transform processing and quantization processing by the vertical transform, among the plurality of blocks, a vertical direction or a horizontal direction. For two adjacent blocks that are adjacent to each other in the direction, the signal level of the pixel in each of the adjacent blocks that approach each other via the adjacent boundary line is determined as a block peripheral signal level for each of the adjacent blocks. A difference value between the signal level calculation unit and the adjacent block of the block peripheral signal level is defined as an adjacent boundary signal level difference value. Boundary signal level difference additional information used in block distortion reduction processing in an image data decoding device that decodes the coded image data based on the obtained signal level difference calculation unit and the adjacent boundary signal level difference value By providing the additional information generating unit, the image data encoding device that can achieve the above object is provided.

【0029】一方、本願の第2発明の画像データ復号化
装置は、2次元画像データを2次元空間で複数ブロック
へ分割し、分割後のブロック単位でその2次元画像デー
タに対して直交変換処理及び量子化処理を施すことで、
前記2次元画像データのデータ量が圧縮された符号化画
像データを、逆量子化処理及び逆直交変換処理にて復号
する画像データ復号化装置において、複数の前記ブロッ
クのうち、上下方向又は左右方向で相互に隣接する2つ
の隣接ブロックについて、その隣接境界線を介して互い
に接近するそれぞれの前記隣接ブロック中の画素の信号
レベルとして、それぞれの前記隣接ブロック毎に、復号
対象となる前記符号化画像データを生成する画像データ
符号化装置側で求められたブロック周辺信号レベルにつ
いて、又、前記ブロック周辺信号レベルの前記隣接ブロ
ック相互間での差分値として、前記画像データ符号化装
置側で求められた隣接境界信号レベル差分値について、
又、前記隣接境界信号レベル差分値に基づいて、前記画
像データ符号化装置側で求められた、前記符号化画像デ
ータを復号する画像データ復号化装置側での、ブロック
歪の低減処理で用いる境界信号レベル差付加情報につい
て、前記境界信号レベル差付加情報に応じて、前記隣接
境界信号レベル差分値の絶対値が大きくなる程、該隣接
境界信号レベル差分値に係る前記隣接境界線でのブロッ
ク歪低減処理のそのブロック歪低減の度合いを抑えるよ
うにしたブロック歪補正部を備えたことにより、前記課
題を達成することができる画像データ復号化装置を提供
したものである。
On the other hand, the image data decoding apparatus of the second invention of the present application divides the two-dimensional image data into a plurality of blocks in the two-dimensional space, and performs orthogonal transformation processing on the divided two-dimensional image data in block units. And by performing quantization processing,
In an image data decoding device for decoding coded image data in which the data amount of the two-dimensional image data is compressed by an inverse quantization process and an inverse orthogonal transform process, a vertical direction or a horizontal direction among a plurality of the blocks. For two adjacent blocks that are adjacent to each other, as the signal level of the pixels in each of the adjacent blocks that approach each other through the adjacent boundary line, the encoded image to be decoded for each of the adjacent blocks. Regarding the block peripheral signal level obtained on the image data encoding device side for generating data, and as the difference value between the adjacent blocks of the block peripheral signal level, it was obtained on the image data encoding device side. For the adjacent boundary signal level difference value,
A boundary used in the block distortion reduction process on the image data decoding device side for decoding the encoded image data, which is obtained on the image data encoding device side based on the adjacent boundary signal level difference value. Regarding the signal level difference additional information, as the absolute value of the adjacent boundary signal level difference value increases according to the boundary signal level difference additional information, block distortion at the adjacent boundary line related to the adjacent boundary signal level difference value By providing a block distortion correction unit configured to suppress the degree of block distortion reduction in the reduction processing, the present invention provides an image data decoding device that can achieve the above-mentioned object.

【0030】[0030]

【作用】データ量が圧縮された符号化画像データを復号
する際になされていた、従来のブロック歪を低減する処
理は、前述のように、ならし処理やフィルタリング処理
を行うというものである。
The conventional processing for reducing block distortion, which has been performed when decoding coded image data having a compressed data amount, is to carry out the smoothing processing and the filtering processing as described above.

【0031】このため、ブロック間の境界近傍の画像の
信号レベルの不連続や変化が、原画像に元々存在したも
のについても、一律に補正されてしまっている。このた
め、原画像に元々存在した信号レベルの不連続がならさ
れてしまったり、原画像に元々存在した信号レベルの変
化の度合が緩やかになってしまうものであった。
Therefore, the discontinuity or change in the signal level of the image near the boundary between the blocks is uniformly corrected even if the signal level originally exists in the original image. For this reason, the discontinuity of the signal level originally present in the original image is smoothed, or the degree of change of the signal level originally present in the original image becomes gentle.

【0032】このため、本発明においては、前述のよう
なブロック歪を低減する処理を、全てのブロック間の境
界に対して行うのではなく、画像データ符号化装置側で
生成された境界信号レベル差付加情報に基づいて選択的
に行うようにしている。このように画像データ符号化装
置側で前記境界信号レベル差付加情報を生成するのは、
復号後の画像からでは、ブロック間の境界近傍において
信号レベル差が存在する場合、該信号レベル差が原画像
に元々存在した信号レベルの不連続や変化によるもの
か、あるいは、このような信号レベル差がブロック歪に
よるものかを判定することができないためである。
Therefore, in the present invention, the processing for reducing the block distortion as described above is not performed on the boundaries between all the blocks, but the boundary signal level generated on the image data encoding device side. It is configured to be selectively performed based on the difference addition information. In this manner, the boundary data level difference additional information is generated on the image data encoding device side by
In the image after decoding, when there is a signal level difference near the boundary between blocks, whether the signal level difference is due to the discontinuity or change of the signal level originally present in the original image, or such a signal level This is because it is not possible to determine whether the difference is due to block distortion.

【0033】従って、画像データ復号化装置側での判断
の際に用いるために、前記符号化画像データを符号化し
た側の画像データ符号化装置側で、このような境界信号
レベル差付加情報を生成するようにしている。又、画像
データ復号化装置側では、このような境界信号レベル差
付加情報に応じて、ブロック歪低減処理のその処理内容
を変化させるようにしている。
Therefore, such a boundary signal level difference addition information is provided on the side of the image data encoding device on the side on which the encoded image data is encoded, for use in the determination on the side of the image data decoding device. I am trying to generate. On the image data decoding device side, the processing content of the block distortion reduction processing is changed according to such boundary signal level difference additional information.

【0034】ここで、画像データ符号化装置側から画像
データ復号化装置側へと送られる、前記符号化画像デー
タ等を含む全体のデータ量は抑える必要がある。このた
め、前記境界信号レベル差付加情報のデータ量について
も、抑える必要がある。このような点を配慮しながら、
前記境界信号レベル差付加情報は、次のようにして求め
ている。
Here, it is necessary to suppress the total amount of data sent from the image data encoding device side to the image data decoding device side, including the encoded image data and the like. Therefore, it is also necessary to suppress the data amount of the boundary signal level difference additional information. Considering these points,
The boundary signal level difference additional information is obtained as follows.

【0035】図1は、前記第1発明の画像データ符号化
装置及び前記第2発明の画像データ復号化装置が対象と
する、2次元画像データのブロック分割を示す、本発明
の要旨を示す線図である。
FIG. 1 is a line showing the gist of the present invention, which shows block division of two-dimensional image data, which is targeted by the image data encoding device of the first invention and the image data decoding device of the second invention. It is a figure.

【0036】この図1においては、ブロックBi を中心
とし、ブロックB(i-L-1 )、B(i-L )、B(i-L+1
)、B(i-1 )、B(i+1 )、B(i+L-1 )、B(i+L
)及びB(i+L+1 )が示されている。ここで、i は、
2次元画像データが2次元空間で複数ブロックへ分割さ
れたものの、ラスタスキャンイメージでのその2次元画
像の先頭からのブロック番号を示す。又、Lは、このよ
うなラスタスキャンイメージに2次元配列された複数の
ブロックの、1行当りのブロック数である。
In FIG. 1, the blocks B (iL-1), B (iL), B (i-L + 1) are centered around the block Bi.
), B (i-1), B (i + 1), B (i + L-1), B (i + L
) And B (i + L + 1) are shown. Where i is
Although the two-dimensional image data is divided into a plurality of blocks in the two-dimensional space, the block number from the beginning of the two-dimensional image in the raster scan image is shown. Further, L is the number of blocks per row of a plurality of blocks two-dimensionally arranged in such a raster scan image.

【0037】ここで、前記ブロックBi を、画像データ
符号化装置での符号化に際して、前記直交変換処理や前
記量子化処理等がなされている最中の、注目ブロックと
する。あるいは、前記画像データ復号化装置における復
号化に際し、前記逆量子化処理及び前記逆直交変換処理
がなされている、注目ブロックとする。
Here, the block Bi is the block of interest during the orthogonal transformation process, the quantization process and the like in the encoding by the image data encoding device. Alternatively, it is set as a block of interest that has been subjected to the inverse quantization process and the inverse orthogonal transform process during decoding in the image data decoding device.

【0038】該注目ブロックBi に対しては、この図1
に示される、前記ブロックB(i-L-1 )、B(i-L )・
・・B(i+L+1 )等の合計8ブロックが隣接している。
For the target block Bi,
, The blocks B (iL-1), B (iL).
..A total of 8 blocks such as B (i + L + 1) are adjacent.

【0039】ここで、前記注目ブロックBi に対して、
前記ブロックB(i-L )を上隣接ブロックとする。前記
ブロックB(i+L )を下隣接ブロックとする。前記ブロ
ックB(i-1 )を左隣接ブロックとする。前記ブロック
B(i+1 )を右隣接ブロックとする。
Here, for the target block Bi,
The block B (iL) is an upper adjacent block. The block B (i + L) is a lower adjacent block. The block B (i-1) is the left adjacent block. The block B (i + 1) is the right adjacent block.

【0040】又、前記注目ブロックBi に対するこれら
4つの隣接ブロックについて、線分W1−W2、W3−
W4、W1−W3、W2−W4は、それぞれ隣接境界線
である。ここで、前記注目ブロックBi について、前述
のようなブロック歪は、これら隣接境界線W1−W2、
W3−W4、W1−W3、W2−W4それぞれ、あるい
はその近傍で問題となる。
Further, line segments W1-W2, W3- are provided for these four adjacent blocks with respect to the noted block Bi.
W4, W1-W3, and W2-W4 are adjacent boundary lines, respectively. Here, with respect to the noted block Bi, the block distortion as described above is caused by these adjacent boundary lines W1-W2,
There is a problem in each of W3-W4, W1-W3, W2-W4, or in the vicinity thereof.

【0041】図2は、前記第1発明及び前記第2発明の
要旨を示す、注目ブロック周囲の前記隣接境界線に関す
る線図である。
FIG. 2 is a diagram showing the outline of the first invention and the second invention regarding the adjacent boundary line around the target block.

【0042】この図2では、一例として、1つのブロッ
クが合計(8×8=64)画素でなるブロックが示され
ている。特に、前記図1にも示した前記注目ブロックB
i は、画素P1〜P64にて構成されている。
In FIG. 2, as an example, a block in which one block has a total of (8 × 8 = 64) pixels is shown. Particularly, the block B of interest shown in FIG.
i is composed of pixels P1 to P64.

【0043】この図2に示される前記注目ブロックBi
について、特に前記隣接境界線W1−W2を一例とし
て、前記第1発明及び前記第2発明の作用を説明する。
The block of interest Bi shown in FIG.
With regard to the above, the operation of the first invention and the second invention will be described with the adjacent boundary lines W1-W2 as an example.

【0044】前述のように、前記第1発明及び前記第2
発明は、復号時の前記逆量子化処理や前記逆直交変換処
理の後の、例えば前記隣接境界線W1−W2等の隣接境
界線近傍での信号レベル差が、原画像に元々存在したも
のか、あるいはブロック歪であるかを区別する。
As described above, the first invention and the second invention
According to the invention, whether the signal level difference near the adjacent boundary lines such as the adjacent boundary lines W1-W2 after the inverse quantization process and the inverse orthogonal transform process at the time of decoding originally existed in the original image. , Or block distortion.

【0045】このため、まず前記第1発明では、2次元
画像の符号化の際、例えば前記隣接境界線W1−W2等
の隣接境界線において原画像に信号レベル差が存在して
いるか否かを、画像データ符号化装置側で判断し、該判
断結果に基づいた情報を、前記境界信号レベル差付加情
報として生成するようにしている。
Therefore, in the first aspect of the invention, when a two-dimensional image is encoded, it is determined whether or not there is a signal level difference in the original image at the adjacent boundary lines such as the adjacent boundary lines W1-W2. The image data encoding device side makes a decision, and information based on the decision result is generated as the boundary signal level difference additional information.

【0046】従って、このような前記境界信号レベル差
付加情報を生成するためには、複数のブロックのうち、
上下方向又は左右方向で相互に隣接する2つの隣接ブロ
ックについて、その隣接境界線を介して互いに接近する
それぞれの隣接ブロック中の画素の信号レベルとして、
それぞれの前記隣接ブロック毎にブロック周辺信号レベ
ルを求めるようにしている。
Therefore, in order to generate such boundary signal level difference additional information, among the plurality of blocks,
For two adjacent blocks that are adjacent to each other in the up-down direction or the left-right direction, as the signal level of the pixel in each adjacent block approaching each other via the adjacent boundary line,
The block peripheral signal level is obtained for each of the adjacent blocks.

【0047】例えば前記図2の前記隣接境界線W1−W
2において、前記注目ブロックBi側については、画素
P1〜P8、あるいは画素P9〜P16の信号レベルが
対象となる。又、該隣接境界線W1−W2において、前
記隣接ブロックB(i-L )側については、画素U57〜
U64、更には画素U49〜U56等の信号レベルが対
象となる。
For example, the adjacent boundary lines W1-W in FIG.
In FIG. 2, the signal level of the pixels P1 to P8 or the pixels P9 to P16 is targeted for the noted block Bi side. Further, in the adjoining boundary line W1-W2, on the adjoining block B (iL) side, pixels U57 to
The signal level of U64, and further, the pixels U49 to U56 and the like are targeted.

【0048】前記第1発明において、前記ブロック周辺
信号レベルについて特に限定するものではない。該ブロ
ック周辺信号レベルについては、1つの隣接境界線を介
して相互に隣接する2つの隣接ブロックについて、それ
ぞれの隣接ブロックに対して少なくとも1つずつ求めら
れるものである。
In the first invention, the block peripheral signal level is not particularly limited. As for the block peripheral signal level, at least one of two adjacent blocks adjacent to each other via one adjacent boundary line is obtained for each adjacent block.

【0049】例えば前記隣接境界線W1−W2について
は、前記画素P1〜P8の信号レベルの平均値を前記注
目ブロックBi 側の1つの前記ブロック周辺信号レベル
としてもよい。これに対して、前記画素U57〜U64
の信号レベルの平均値を前記隣接ブロックB(i-L )側
の前記ブロック周辺信号レベルとしてもよい。
For example, with respect to the adjacent boundary lines W1-W2, the average value of the signal levels of the pixels P1 to P8 may be used as one of the block peripheral signal levels on the side of the target block Bi. On the other hand, the pixels U57 to U64
The average value of the signal levels of the above may be used as the block peripheral signal level on the side of the adjacent block B (iL).

【0050】あるいは、該ブロック周辺信号レベルにつ
いては、前記隣接境界線を介して相互に隣接する2つの
前記隣接ブロックそれぞれについて、複数ずつ求めるよ
うにしてもよい。例えば前記隣接境界線W1−W2につ
いては、合計8個の前記画素P1〜P8それぞれの信号
レベルを、前記注目ブロックBi 側の合計8個の前記ブ
ロック周辺信号レベルとしてもよい。これに対して、合
計8個の前記画素U57〜U64のそれぞれの信号レベ
ルを、合計8個の前記ブロック周辺信号レベルとしても
よい。
Alternatively, a plurality of the block peripheral signal levels may be obtained for each of the two adjacent blocks adjacent to each other via the adjacent boundary line. For example, with respect to the adjacent boundary line W1-W2, the signal level of each of the eight pixels P1 to P8 may be the total of eight block peripheral signal levels on the target block Bi side. On the other hand, the signal level of each of the eight pixels U57 to U64 in total may be the total of eight block peripheral signal levels.

【0051】あるいは、例えば前記隣接境界線W1−W
2について、該隣接境界線W1−W2のほぼ中央の前記
画素P4の1画素の信号レベルを、前記注目ブロックB
i の前記ブロック周辺信号レベルとしてもよい。これに
対して、これに対向する、該隣接境界線W1−W2のほ
ぼ中央の前記画素U60の1画素信号レベルを、前記ブ
ロック周辺信号レベルとしてもよい。
Alternatively, for example, the adjacent boundary lines W1-W
2, the signal level of one pixel of the pixel P4 at the center of the adjacent boundary line W1-W2 is set to the target block B.
It may be the block peripheral signal level of i. On the other hand, the one-pixel signal level of the pixel U60, which is opposed to this and is substantially at the center of the adjacent boundary lines W1-W2, may be the block peripheral signal level.

【0052】あるいは、前記隣接境界線W1−W2につ
いて、合計16個の前記画素P1〜P16の信号レベル
の平均値を、前記注目ブロックBi 側の前記ブロック周
辺信号レベルとしてもよい。これに対して、合計16個
の前記画素U49〜U64の信号レベルの平均値を、前
記隣接ブロックB(i-L )の前記ブロック周辺信号レベ
ルとしてもよい。即ち、対象となる画素は、隣接境界線
に直接接しているものだけが用いられるものではなく、
対象となる隣接境界線の近傍であればよい。
Alternatively, with respect to the adjacent boundary lines W1-W2, the average value of the signal levels of the 16 pixels P1 to P16 in total may be set as the block peripheral signal level on the side of the noted block Bi. On the other hand, the average value of the signal levels of the 16 pixels U49 to U64 in total may be used as the block peripheral signal level of the adjacent block B (iL). That is, the target pixels are not only those that are in direct contact with the adjacent boundary line,
It may be in the vicinity of the target adjacent boundary line.

【0053】前記第1発明及び前記第2発明では、この
ようにして求められた前記ブロック周辺信号レベルの前
記隣接ブロック相互間での差分値を、隣接境界信号レベ
ル差分値として求めている。即ち、前記隣接境界線を介
して隣接する2つの隣接ブロックの、それぞれの前記ブ
ロック周辺信号レベルについて、一方と他方との差分値
を、前記隣接境界信号レベル差分値とするものである。
In the first invention and the second invention, the difference value of the block peripheral signal level thus obtained between the adjacent blocks is obtained as the adjacent boundary signal level difference value. That is, the difference value between one and the other of the block peripheral signal levels of two adjacent blocks that are adjacent to each other via the adjacent boundary line is set as the adjacent boundary signal level difference value.

【0054】例えば、前記隣接境界線W1−W2につい
ては、前記注目ブロックBi 側の前記ブロック周辺信号
レベルと、前記隣接ブロックB(i-L )の前記ブロック
周辺信号レベルとの差分値を、前記隣接境界信号レベル
差分値とするものである。
For example, with respect to the adjacent boundary lines W1-W2, the difference value between the block peripheral signal level on the side of the target block Bi and the block peripheral signal level of the adjacent block B (iL) is determined by the adjacent boundary line W1-W2. This is the signal level difference value.

【0055】又、該隣接境界信号レベル差分値について
は、1つの前記隣接境界線に対して、1つのみ求めるも
のに限定されるものではない。例えば1つの隣接境界線
において、これを介して相互に接近する2つの隣接ブロ
ックそれぞれについて、複数の前記ブロック周辺信号レ
ベルを求める場合、その隣接境界線を介して対応するも
の同士の差分値にて、複数の前記隣接境界信号レベル差
分値を求めるようにしてもよい。
The adjacent boundary signal level difference value is not limited to the one obtained for each of the adjacent boundary lines. For example, in one adjacent boundary line, when a plurality of the block peripheral signal levels are obtained for each of two adjacent blocks that approach each other via the adjacent boundary line, the difference value between the corresponding blocks through the adjacent boundary line is used. Alternatively, a plurality of the adjacent boundary signal level difference values may be obtained.

【0056】例えば前記隣接境界線W1−W2につい
て、前記注目ブロックBi 側では、前記画素P1〜P8
それぞれの信号レベルによって、独立した合計8個の前
記ブロック周辺信号レベルを求めた場合等である。一
方、前記隣接ブロックB(i-L )側については、合計8
個の前記画素U57〜U64について、独立した合計8
個の前記ブロック周辺信号レベルを求めた場合である。
このような場合には、複数の前記隣接境界信号レベル差
分値を求めるようにしてもよい。例えば、このような場
合、前記画素P1の信号レベルと、前記画素U57の信
号レベルとの差分値を、1つの前記隣接境界信号レベル
差分値とする。前記画素P2の信号レベルと、前記画素
U58の信号レベルとの差分値を、1つの前記隣接境界
信号レベル差分値とする。このように対応する画素の信
号レベルの差分値を順次求め、合計8個の前記隣接境界
信号レベル差分値を求めるようにしてもよい。
For example, with respect to the adjacent boundary lines W1-W2, the pixels P1 to P8 are provided on the side of the block of interest Bi.
This is the case, for example, when a total of eight independent block peripheral signal levels are obtained for each signal level. On the other hand, for the adjacent block B (iL) side, a total of 8
For each of the pixels U57 to U64, a total of 8 independent pixels
This is a case where the number of the peripheral signal level of each block is obtained.
In such a case, a plurality of adjacent boundary signal level difference values may be obtained. For example, in such a case, the difference value between the signal level of the pixel P1 and the signal level of the pixel U57 is set as one of the adjacent boundary signal level difference values. The difference value between the signal level of the pixel P2 and the signal level of the pixel U58 is defined as one of the adjacent boundary signal level difference values. In this way, the difference values of the signal levels of the corresponding pixels may be sequentially obtained, and a total of eight adjacent boundary signal level difference values may be obtained.

【0057】このようにして、前記隣接境界信号レベル
差分値が求められると、前記第1発明では、求められた
該隣接境界信号レベル差分値に基づいて、前記符号化画
像データを復号する画像データ復号化装置側での、ブロ
ック歪の低減処理で用いる境界信号レベル差付加情報を
生成する。
In this way, when the adjacent boundary signal level difference value is obtained, in the first aspect of the invention, image data for decoding the encoded image data based on the obtained adjacent boundary signal level difference value. Boundary signal level difference additional information used in block distortion reduction processing on the decoding device side is generated.

【0058】前述のように、前記第2発明の画像データ
復号化装置側では、該境界信号レベル差付加情報に応じ
て、前記隣接境界信号レベル差分値の絶対値が大きくな
る程、該隣接境界信号レベル差分値にかかる前記隣接境
界線でのブロック歪低減処理の、そのブロック歪低減の
度合を抑えるようにする。これは、前記隣接境界信号レ
ベル差分値の絶対値が大きい場合、原画像に元々信号レ
ベルの不連続や変化があったものとし、このような原画
像に元々存在した信号レベルの不連続や変化が、画像デ
ータ復号化装置側でのブロック歪低減処理でそのコント
ラスト等が低減されてしまうことを抑えるためである。
従って、前記第1発明では、このように前記第2発明で
用いる前記境界信号レベル差付加情報を生成するもので
ある。
As described above, on the image data decoding device side of the second aspect of the present invention, as the absolute value of the adjacent boundary signal level difference value increases in accordance with the additional boundary signal level difference information, the adjacent boundary signal level difference value increases. The degree of block distortion reduction of the block distortion reduction processing on the adjacent boundary line related to the signal level difference value is suppressed. This is because, when the absolute value of the adjacent boundary signal level difference value is large, it is assumed that the original image originally has a signal level discontinuity or change, and such an original image originally present signal level discontinuity or change. However, this is to prevent the contrast and the like from being reduced by the block distortion reduction processing on the image data decoding device side.
Therefore, in the first invention, the boundary signal level difference additional information used in the second invention is thus generated.

【0059】なお、前記第1発明においても、又、前記
第2発明においても、前記境界信号レベル差付加情報に
ついて特に限定するものではない。即ち、該境界信号レ
ベル差付加情報は、前記隣接境界信号レベル差分値に基
づいて求められ、且つ、画像データ復号化装置側で前記
隣接境界信号レベル差分値の絶対値が大きいか否かの傾
向がわかればよい。
In the first invention and the second invention, the boundary signal level difference additional information is not particularly limited. That is, the boundary signal level difference additional information is obtained based on the adjacent boundary signal level difference value, and the tendency of whether or not the absolute value of the adjacent boundary signal level difference value is large on the image data decoding device side. You just need to know.

【0060】例えば、該境界信号レベル差付加情報は、
前記隣接境界信号レベル差分値をそのまま用いてもよ
い。即ち、1つの前記隣接境界線に対して前記隣接境界
信号レベル差分値が1つの場合、これをその隣接境界線
の前記境界信号レベル差付加情報としてそのまま用いて
もよい。あるいは、1つの前記隣接境界線に対して、複
数の前記隣接境界信号レベル差分値が求められている場
合であっても、このような複数の該隣接境界信号レベル
差分値を全て前記境界信号レベル差付加情報としてもよ
い。
For example, the boundary signal level difference additional information is
The adjacent boundary signal level difference value may be used as it is. That is, when there is one adjacent boundary signal level difference value for one adjacent boundary line, this may be used as it is as the boundary signal level difference additional information of the adjacent boundary line. Alternatively, even when a plurality of the adjacent boundary signal level difference values are obtained for one of the adjacent boundary lines, all such a plurality of the adjacent boundary signal level difference values are set to the boundary signal level. It may be difference addition information.

【0061】あるいは、該境界信号レベル差付加情報
を、1つ又は複数の前記隣接境界信号レベル差分値を用
い、何らかの計算式に基づいて求められた数値としても
よい。
Alternatively, the boundary signal level difference additional information may be a numerical value obtained based on some calculation formula using one or a plurality of the adjacent boundary signal level difference values.

【0062】例えば前記隣接境界信号レベル差分値に対
して予め定められた閾値を用い、その隣接境界信号レベ
ル差分値が該閾値以上であれば、“1”の前記境界信号
レベル差付加情報を生成するようにしてもよい。一方、
その隣接境界信号レベル差分値が該閾値以下であれば、
“0”の前記境界信号レベル差付加情報を生成するよう
にしてもよい。この場合、前記境界信号レベル差付加情
報が“1”であれば、前記画像データ復号化装置でのブ
ロック歪低減処理のそのブロック歪低減の度合を抑え、
一方、前記境界信号レベル差付加情報が“0”であれば
画像データ復号化装置での前記ブロック歪低減処理のブ
ロック歪低減の度合を上昇するようにする。あるいは、
該境界信号レベル差付加情報が“1”であれば画像デー
タ復号化装置での前記ブロック歪低減処理を中止し、一
方、該境界信号レベル差付加情報が“0”であれば画像
データ復号化装置での前記ブロック歪低減処理を有効と
するようにしてもよい。
For example, if a predetermined threshold value is used for the adjacent boundary signal level difference value and the adjacent boundary signal level difference value is equal to or more than the threshold value, the boundary signal level difference additional information of "1" is generated. You may do it. on the other hand,
If the adjacent boundary signal level difference value is less than or equal to the threshold value,
The boundary signal level difference additional information of "0" may be generated. In this case, if the boundary signal level difference additional information is “1”, the degree of block distortion reduction of the block distortion reduction processing in the image data decoding device is suppressed,
On the other hand, if the boundary signal level difference additional information is "0", the degree of block distortion reduction of the block distortion reduction processing in the image data decoding device is increased. Alternatively,
If the boundary signal level difference additional information is "1", the block distortion reduction processing in the image data decoding device is stopped, while if the boundary signal level difference additional information is "0", the image data decoding is performed. The block distortion reduction processing in the device may be made effective.

【0063】あるいは、前記第2発明の画像データ復号
化装置において、例えば、前記境界信号レベル差付加情
報により認識される前記隣接境界信号レベル差分値の絶
対値が所定値k 以上であれば前記ブロック歪低減処理を
中止し、一方、該隣接境界信号レベル差分値の絶対値が
該所定値k 以下であれば、該隣接境界信号レベル差分値
の絶対値の大きさに応じてそのブロック歪低減の度合を
制御した前記ブロック歪低減処理を行うことも考えられ
る。この場合、例えば前記第1発明の画像データ符号化
装置において、前記隣接境界信号レベル差分値が前記所
定値k 以上であれば、前記境界信号レベル差付加情報の
生成を中止し、その分データ量の削減を図るようにして
もよい。
Alternatively, in the image data decoding apparatus of the second invention, for example, if the absolute value of the adjacent boundary signal level difference value recognized by the boundary signal level difference additional information is not less than a predetermined value k, the block If the absolute value of the adjacent boundary signal level difference value is less than or equal to the predetermined value k, the distortion reduction process is stopped, and the block distortion reduction is performed according to the magnitude of the absolute value of the adjacent boundary signal level difference value. It is also conceivable to carry out the block distortion reduction processing whose degree is controlled. In this case, for example, in the image data encoding device according to the first aspect of the present invention, if the adjacent boundary signal level difference value is equal to or more than the predetermined value k, the generation of the boundary signal level difference additional information is stopped, and the amount of data is increased by that amount. May be reduced.

【0064】なお、前記隣接境界線について前記境界信
号レベル差付加情報を求めることは、基本的に、各ブロ
ックの4つの前記隣接境界線全てについて行われるもの
である。例えば、前記図2の前記注目ブロックBi につ
いては、4つの前記隣接境界線W1−W2、W3−W
4、W1−W3、W2−W4について求めるものであ
る。
The calculation of the boundary signal level difference additional information for the adjacent boundary line is basically performed for all four adjacent boundary lines of each block. For example, for the block of interest Bi in FIG. 2, four adjacent boundary lines W1-W2 and W3-W are provided.
4, W1-W3, W2-W4.

【0065】しかしながら、2次元画像中でのその注目
ブロックBi の位置によっては、その注目ブロックBi
に隣接するブロックが3個のみあるいは2個のみの場合
もある。例えば、2次元画像全体で最も左上の前記注目
ブロックBi については、前記隣接ブロックは2つのみ
である。この場合には、前記隣接境界線W3−W4及び
W2−W4の2つについての前記境界信号レベル差付加
情報をそれぞれ求めればよい。
However, depending on the position of the target block Bi in the two-dimensional image, the target block Bi
There may be only three blocks or two blocks adjacent to. For example, for the block of interest Bi at the upper left of the entire two-dimensional image, there are only two adjacent blocks. In this case, the boundary signal level difference additional information for the two adjacent boundary lines W3-W4 and W2-W4 may be obtained respectively.

【0066】なお、1つの前記隣接境界線に対しては、
2つのブロックが対応するものである。例えば前記隣接
境界線W1−W2については、前記注目ブロックBi と
前記隣接ブロックB(i-L )とが対応する。従って、1
つの前記隣接境界線に対しては、一度だけこの前記境界
信号レベル差付加情報を求めるようにしてもよい。例え
ば、前記図2の前記注目ブロックBi に関する、前記隣
接境界線W2−W4の前記境界信号レベル差付加情報に
ついては、前記隣接ブロックB(i+1 )と共通である。
又、該注目ブロックBi に関する、前記隣接境界線W3
−W4の前記境界信号レベル差付加情報は、前記隣接ブ
ロックB(i+L )と共通化することができる。従って、
該注目ブロックBi については、前記隣接境界線W1−
W2に係る前記境界信号レベル差付加情報と、前記隣接
境界線W1−W3に係る前記境界信号レベル差付加情報
のみを求めるようにしてもよい。この場合、前記隣接境
界線W2−W4や前記隣接境界線W3−W4に係る前記
境界信号レベル差付加情報については、それぞれ、前記
隣接ブロックB(i+1 )やB(i+L )に関して求められ
たものを用いるものである。
It should be noted that with respect to one of the adjacent border lines,
Two blocks correspond. For example, with respect to the adjacent boundary line W1-W2, the target block Bi and the adjacent block B (iL) correspond to each other. Therefore, 1
The boundary signal level difference additional information may be obtained only once for each of the two adjacent boundary lines. For example, the boundary signal level difference additional information of the adjacent boundary lines W2-W4 regarding the target block Bi in FIG. 2 is common to the adjacent block B (i + 1).
Further, the adjacent boundary line W3 for the target block Bi
The boundary signal level difference additional information of -W4 can be shared with the adjacent block B (i + L). Therefore,
Regarding the block of interest Bi, the adjacent boundary line W1-
Only the boundary signal level difference additional information regarding W2 and the boundary signal level difference additional information regarding the adjacent boundary lines W1-W3 may be obtained. In this case, the boundary signal level difference additional information related to the adjacent boundary lines W2-W4 and the adjacent boundary lines W3-W4 is obtained for the adjacent blocks B (i + 1) and B (i + L), respectively. The one that is used is used.

【0067】[0067]

【実施例】以下、図を用いて、本発明の実施例を詳細に
説明する。
Embodiments of the present invention will be described in detail below with reference to the drawings.

【0068】図3は、前記第1発明及び前記第2発明が
適用された画像データ符号化/復号化装置の構成を示す
ブロック図である。
FIG. 3 is a block diagram showing a configuration of an image data encoding / decoding device to which the first invention and the second invention are applied.

【0069】この図3に示されるように、本実施例の画
像データ符号化/復号化装置は、まず画像データ符号化
装置として前記図5の従来のものと同様、直交変換手段
40と、量子化手段42と、量子化テーブル44と、可
変長符号化手段46と、可変長符号化テーブル48とを
備える。又、該画像データ符号化/復号化装置は、画像
データ復号化装置として前記図6の従来のものと同様、
可変長復号化手段12と、逆量子化手段16と、逆直交
手段20とを備える。なお、前記可変長復号化手段12
では、前記可変長復号化手段46と共用される前記可変
長符号化テーブル48が用いられる。又、前記逆量子化
手段16では、前記量子化手段42と共用される前記量
子化テーブル18が用いられるものである。
As shown in FIG. 3, the image data encoding / decoding apparatus of the present embodiment, as the image data encoding apparatus, is similar to the conventional apparatus of FIG. The encoding unit 42, the quantization table 44, the variable length encoding unit 46, and the variable length encoding table 48 are provided. Further, the image data encoding / decoding device is the same as the conventional image data decoding device shown in FIG.
The variable length decoding means 12, the inverse quantization means 16 and the inverse orthogonal means 20 are provided. The variable length decoding means 12
Then, the variable length coding table 48 shared with the variable length decoding means 46 is used. Further, the inverse quantization means 16 uses the quantization table 18 shared with the quantization means 42.

【0070】更に、本実施例の画像データ符号化/復号
化装置においては、前記第1発明が特に適用されている
補正情報生成部32と、前記第2発明が特に適用されて
いるブロック歪補正部34とを有する。
Further, in the image data encoding / decoding apparatus of the present embodiment, the correction information generating section 32 to which the first invention is applied and the block distortion correction to which the second invention is applied are applied. And a portion 34.

【0071】まず、前記補正情報生成部32は、画像デ
ータ符号化装置側として設けられるものである。該補正
情報生成部32は、データ量が圧縮され、これにより符
号化された符号化データを、画像データ復号化装置側で
再び2次元画像データへと復号する際のブロック歪低減
処理に用いられる情報を、画像データ符号化装置側で生
成するというものである。このような情報は、前記境界
信号レベル差付加情報であり、前記隣接境界信号レベル
差分値に基づいて生成されるものである。
First, the correction information generator 32 is provided on the image data encoding device side. The correction information generation unit 32 is used for block distortion reduction processing when the coded data whose data amount is compressed and coded by this is decoded again on the image data decoding device side into two-dimensional image data. Information is generated on the image data encoding device side. Such information is the boundary signal level difference additional information, and is generated based on the adjacent boundary signal level difference value.

【0072】一方、前記ブロック歪補正部34は、前記
画像データ復号化装置側として設けられるものである。
該ブロック歪補正部34は、前記画像データ符号化装置
側で生成され、何らかの伝送路50b を経て伝送された
前記境界信号レベル差付加情報に応じて、そのブロック
歪低減の度合を変化させながら、ブロック歪低減処理を
行うものである。該ブロック歪補正部34は、前記境界
信号レベル差付加情報に応じて、前記隣接境界信号レベ
ル差分値の絶対値が大きくなる程、該隣接境界信号レベ
ル差分値に係る、前記隣接境界線でのブロック歪低減処
理のそのブロック歪低減の度合を抑えるようにする。
On the other hand, the block distortion correction section 34 is provided on the image data decoding device side.
The block distortion correction unit 34 changes the degree of block distortion reduction according to the boundary signal level difference additional information generated on the image data encoding device side and transmitted through some transmission path 50b, Block distortion reduction processing is performed. The block distortion correction unit 34, in accordance with the boundary signal level difference additional information, increases the absolute value of the adjacent boundary signal level difference value. The degree of block distortion reduction of the block distortion reduction processing is suppressed.

【0073】これは、前記隣接境界信号レベル差分値の
絶対値が大きい場合、該隣接境界信号レベル差分値に係
る前記隣接境界線でのブロック間の画質の格差が、原画
像に元々存在した信号レベル等の不連続や変化によるも
のとしているためである。このように原画像に元々存在
した信号レベルの不連続や変化については、ブロック歪
低減処理として、ならし処理やフィルタリング処理を施
してしまうと、かえって、再び得られる2次元画像が不
鮮明になってしまうためである。
This is because when the absolute value of the adjacent boundary signal level difference value is large, the difference in image quality between the blocks at the adjacent boundary lines related to the adjacent boundary signal level difference value is the signal originally present in the original image. This is because it is assumed to be due to discontinuity or change in level, etc. In this way, with respect to the discontinuity or change in the signal level originally present in the original image, if the leveling process or the filtering process is performed as the block distortion reduction process, the two-dimensional image obtained again becomes unclear. This is because it ends up.

【0074】図4は、本実施例に用いられる前記補正情
報生成部の構成を示すブロック図である。
FIG. 4 is a block diagram showing the arrangement of the correction information generating section used in this embodiment.

【0075】前述したように、1つの前記隣接境界線に
対しては、2つのブロックが対応するものである。例え
ば前記図2において、前記隣接境界線W1−W2につい
ては、前記注目ブロックBi と前記隣接ブロックB(i-
L )とが対応する。従って、本実施例の前記補正情報生
成部32では、処理中の該注目ブロックBi について
は、前記隣接境界線W1−W2に係る前記境界信号レベ
ル差付加情報と、前記隣接境界線W1−W3にかかる前
記境界信号レベル差付加情報のみを求めるようにしてい
る。又、前記隣接境界線W2−W4や前記隣接境界線W
3−W4に係る前記境界信号レベル差付加情報について
は、それぞれ、前記隣接ブロックB(i+1)やB(i+L
)に関して求められたものを用いるようにしている。
As described above, two blocks correspond to one adjacent boundary line. For example, in FIG. 2, for the adjacent boundary lines W1-W2, the block of interest Bi and the adjacent block B (i-
L) corresponds to. Therefore, in the correction information generation unit 32 of the present embodiment, regarding the target block Bi being processed, the boundary signal level difference additional information related to the adjacent boundary line W1-W2 and the adjacent boundary line W1-W3 are added. Only the boundary signal level difference additional information is obtained. In addition, the adjacent boundary lines W2-W4 and the adjacent boundary lines W
Regarding the boundary signal level difference additional information related to 3-W4, the adjacent blocks B (i + 1) and B (i + L) are respectively included.
) Is used.

【0076】この図4に示される如く、前記図3に示さ
れる前記補正情報生成部32は、周辺信号レベル算出部
32a と、信号レベル差分算出部32b と、付加情報生
成部32c とを有し、前記画像データ符号化装置側に構
成されるものである。
As shown in FIG. 4, the correction information generator 32 shown in FIG. 3 has a peripheral signal level calculator 32a, a signal level difference calculator 32b, and an additional information generator 32c. , Is configured on the side of the image data encoding device.

【0077】まず、前記周辺信号レベル算出部32a
は、前記直交変換処理にあたって分割された複数の前記
ブロックのうち、上下方向又は左右方向で相互に隣接す
る2つの隣接ブロックについて、その隣接境界線を介し
て互いに接近するそれぞれの前記隣接ブロック中の画素
の信号レベルを、それぞれの前記隣接ブロック毎にブロ
ック周辺信号レベルとして求めるものである。
First, the peripheral signal level calculator 32a
Among the plurality of blocks divided in the orthogonal transformation process, two adjacent blocks that are adjacent to each other in the up-down direction or the left-right direction are included in each of the adjacent blocks that approach each other through the adjacent boundary line. The signal level of the pixel is obtained as a block peripheral signal level for each of the adjacent blocks.

【0078】まず、前記図2の前記隣接境界線W1−W
2に係る前記境界信号レベル差付加情報を求めるため、
該周辺信号レベル算出部32a は、前記直交変換手段4
0で直交変換された後のブロックの4つの隣接境界線の
うちの、特に下方のもののブロック周辺信号レベルを記
憶しておく。具体的には、現在前記直交変換手段40で
第i 番目のブロックの直交変換をしている時には、前記
隣接ブロックB(i-L)からBi までの、合計Lブロッ
クの、それぞれのブロックの下方のブロック周辺信号レ
ベルを記憶しておく。例えば、前記図2に示される前記
隣接ブロックB(i-L )については、前記画素U57〜
U64を記憶しておく。又、同じく前記図2の前記隣接
境界線W1−W2に係る前記境界信号レベル差付加情報
を求めるため、前記図2に示される前記注目ブロックB
i の前記画素P1〜P8の信号レベルをそれぞれ抽出す
る。
First, the adjacent boundary lines W1-W in FIG.
2 to obtain the boundary signal level difference additional information according to
The peripheral signal level calculation unit 32a includes the orthogonal transform means 4
Of the four adjacent boundary lines of the block after the orthogonal transformation by 0, the block peripheral signal level of the lower one in particular is stored. Specifically, when the orthogonal transform means 40 is currently performing the orthogonal transform of the i-th block, the blocks below the respective blocks of a total of L blocks from the adjacent blocks B (iL) to Bi. Memorize the peripheral signal level. For example, for the adjacent block B (iL) shown in FIG.
U64 is stored. Further, similarly, in order to obtain the boundary signal level difference additional information related to the adjacent boundary lines W1-W2 of FIG. 2, the block of interest B shown in FIG.
The signal levels of the pixels P1 to P8 of i are respectively extracted.

【0079】次に、前記周辺信号レベル算出部32a
は、前記図2の前記隣接境界線W1−W3に係る前記境
界信号レベル差付加情報を求めるため、前記直交変換手
段40で処理される前記図2に示す前記注目ブロックB
i の1つ前の、右方の前記隣接ブロックB(i-1 )の画
素R8、R16、R24、R32、R40、R48、R
56及びR64の各画素の信号レベルを記憶しておく。
又、同じく前記隣接境界線W1−W3に係り、前記図2
に示す前記注目ブロックBi の前記画素P1、P9、P
17、P25、P33、P41、P49及びP57のそ
れぞれの信号レベルを抽出する。
Next, the peripheral signal level calculator 32a
2 is processed by the orthogonal transform means 40 in order to obtain the boundary signal level difference additional information relating to the adjacent boundary lines W1-W3 in FIG.
The pixels R8, R16, R24, R32, R40, R48, R of the adjacent block B (i-1) on the right, which is one before i.
The signal level of each pixel of 56 and R64 is stored.
Similarly, regarding the adjacent boundary lines W1-W3, as shown in FIG.
The pixels P1, P9, P of the block of interest Bi shown in FIG.
The signal levels of 17, P25, P33, P41, P49 and P57 are extracted.

【0080】又、前記信号レベル差分算出部32b は、
前記周辺信号レベル算出部32a で求められた前記ブロ
ック周辺信号レベルの、前記隣接ブロック相互間での差
分値を、隣接境界信号レベル差分値として求めるもので
ある。
Further, the signal level difference calculating section 32b is
A difference value between the adjacent blocks of the block peripheral signal level obtained by the peripheral signal level calculating section 32a is obtained as an adjacent boundary signal level difference value.

【0081】前記信号レベル差分算出部32b は、ま
ず、前記注目ブロックBi の上方のブロック周辺信号レ
ベルと前記隣接ブロックB(i-L )の下方のブロック周
辺信号レベルとの差分値から、第1の隣接境界信号レベ
ル差分値を求める。これは、前記図2において、予め記
憶されている前記画素U57〜U64の各信号レベルの
対応するものから、前記画素P1〜P8の対応するもの
の信号レベルを減算するというものであり、例えば前記
画素U57の信号レベルから前記画素P1の信号レベル
を減算し、前記画素U58の信号レベルから前記画素P
2の信号レベルを減算するというものである。
The signal level difference calculating section 32b first determines the first adjacent value from the difference value between the block peripheral signal level above the target block Bi and the block peripheral signal level below the adjacent block B (iL). The boundary signal level difference value is calculated. This is to subtract the signal level of the corresponding one of the pixels P1 to P8 from the corresponding one of the signal levels of the pixels U57 to U64 stored in advance in FIG. The signal level of the pixel P1 is subtracted from the signal level of U57, and the pixel P1 is subtracted from the signal level of the pixel U58.
The signal level of 2 is subtracted.

【0082】更に、該信号レベル差分算出部32b は、
前記注目ブロックBi の左方のブロック周辺信号レベル
と前記隣接ブロックB(i-1 )の右方のブロック周辺信
号レベルとの差分値から、第2の隣接境界信号レベル差
分値を求める。これは、前記図2においては、前記画素
R8の信号レベルから前記画素P1の信号レベルを減算
し、前記画素R16から前記画素P9の信号レベルを減
算し、前記画素R24の信号レベルから前記画素P17
の信号レベルを減算するというものである。
Further, the signal level difference calculating section 32b is
A second adjacent boundary signal level difference value is obtained from the difference value between the block peripheral signal level on the left side of the target block Bi and the block peripheral signal level on the right side of the adjacent block B (i-1). This is because, in FIG. 2, the signal level of the pixel P1 is subtracted from the signal level of the pixel R8, the signal level of the pixel P9 is subtracted from the pixel R16, and the pixel P17 is subtracted from the signal level of the pixel R24.
The signal level of is subtracted.

【0083】従って、該信号レベル差分算出部32b で
は、例えば前記図2において、前記注目ブロックBi の
隣接境界線W1−W2については合計8個の隣接境界信
号レベル差分値が得られ、隣接境界線W1−W3につい
ては合計8個の隣接境界信号レベル差分値が得られる。
Therefore, in the signal level difference calculating section 32b, for example, in FIG. 2, a total of eight adjacent boundary signal level difference values are obtained for the adjacent boundary lines W1-W2 of the target block Bi, and the adjacent boundary lines are obtained. For W1-W3, a total of eight adjacent boundary signal level difference values are obtained.

【0084】更に、前記付加情報生成部32c は、前記
信号レベル差分算出部32b で求められた前記隣接境界
信号レベル差分値に基づいて、前記符号化画像データを
復号する画像データ復号化装置側での、ブロック歪の低
減処理で用いる境界信号レベル差付加情報を生成するも
のである。
Further, the additional information generating section 32c is on the image data decoding device side for decoding the encoded image data based on the adjacent boundary signal level difference value obtained by the signal level difference calculating section 32b. The boundary signal level difference additional information used in the block distortion reduction process is generated.

【0085】該付加情報生成部32c は、前記注目ブロ
ックBi の隣接境界線W1−W3にかかる境界信号レベ
ル差付加情報を求める。これは、前記信号レベル差分算
出部32b で求められた合計8個の前記隣接境界線W1
−W2に係る前記隣接境界信号レベル差値の平均値によ
るものである。又、該付加情報生成部32c は、更に、
前記注目ブロックBi の前記隣接境界線W1−W3にか
かる前記境界信号レベル差付加情報を求める。これは、
前記信号レベル差分算出部32b で求められた合計8個
の前記隣接境界線W1−W3に係る前記隣接境界信号レ
ベル差分値の平均値によるものである。
The additional information generator 32c obtains the boundary signal level difference additional information on the adjacent boundary lines W1-W3 of the block of interest Bi. This is a total of eight adjacent boundary lines W1 obtained by the signal level difference calculation unit 32b.
-This is based on the average value of the adjacent boundary signal level difference values related to W2. Further, the additional information generation unit 32c further
The boundary signal level difference additional information concerning the adjacent boundary lines W1-W3 of the block of interest Bi is obtained. this is,
This is based on the average value of the adjacent boundary signal level difference values related to the total eight adjacent boundary lines W1-W3 obtained by the signal level difference calculation unit 32b.

【0086】なお、該付加情報生成部32c で求められ
た2つの前記境界信号レベル差付加情報について、前記
注目ブロックBi の前記隣接境界線W1−W2に係るも
のは、前記隣接ブロックB(i-L )のものとしても用い
られるものである。又、前記注目ブロックBi の隣接境
界線W1−W3に係る前記境界信号レベル差付加情報
は、前記隣接ブロックB(i-1 )のものとしても用いら
れるものである。又、このようにして求められた前記境
界信号レベル差付加情報は、伝送路50b を経て、画像
データ復号化装置側へと伝送されるものである。
Regarding the two pieces of the boundary signal level difference additional information obtained by the additional information generating section 32c, those relating to the adjacent boundary lines W1-W2 of the target block Bi are the adjacent blocks B (iL). It is also used as a thing. The boundary signal level difference additional information related to the adjacent boundary lines W1 to W3 of the block of interest Bi is also used as that of the adjacent block B (i-1). Further, the boundary signal level difference additional information thus obtained is transmitted to the image data decoding device side via the transmission line 50b.

【0087】このように、本実施例においては、前記周
辺信号レベル算出部32a で前記ブロック周辺信号レベ
ルを求め、前記信号レベル差分算出部32b で前記隣接
境界信号レベル差分値を求め、最終的に、前記付加情報
生成部32c にて前記境界信号レベル差付加情報を求め
るというものである。
As described above, in this embodiment, the peripheral signal level calculating section 32a obtains the block peripheral signal level, the signal level difference calculating section 32b obtains the adjacent boundary signal level difference value, and finally, The boundary information level difference additional information is obtained by the additional information generating unit 32c.

【0088】以上説明した通り、本実施例によれば、前
記画像データ復号化装置側で前記符号化画像データを復
号し、更に前記ブロック歪補正部34にてブロック歪低
減処理を行う際、前記画像データ符号化装置側の前記補
正情報生成部32で生成された前記境界信号レベル差付
加情報を用いることができる。即ち、前記画像データ復
号化装置側の前記ブロック歪補正部34では、前述のよ
うなブロック歪を低減する処理の際、前記境界信号レベ
ル差付加情報に応じ、該境界信号レベル差付加情報によ
る前記隣接境界信号レベル差分値の絶対値が大きくなる
程、該隣接境界信号レベル差分値にかかる前記隣接境界
線でのブロック歪低減の度合を抑えることができる。こ
れによって、原画像に元々存在した信号レベルの不連続
や変化を不必要に補正してしまうことを防止することが
でき、復号後の2次元画像の画質をより向上することが
できる。
As described above, according to the present embodiment, when the coded image data is decoded on the side of the image data decoding device and further the block distortion reduction processing is performed by the block distortion correction unit 34, The boundary signal level difference additional information generated by the correction information generation unit 32 on the image data encoding device side can be used. That is, in the block distortion correction unit 34 on the side of the image data decoding device, in the process of reducing the block distortion as described above, according to the boundary signal level difference additional information, the boundary signal level difference additional information is used. As the absolute value of the adjacent boundary signal level difference value increases, the degree of block distortion reduction on the adjacent boundary line related to the adjacent boundary signal level difference value can be suppressed. As a result, it is possible to prevent the discontinuity or change of the signal level originally present in the original image from being unnecessarily corrected, and it is possible to further improve the image quality of the two-dimensional image after decoding.

【0089】又、このような前記補正情報生成部32や
前記ブロック歪補正部34を中心とした処理は、比較的
簡単な回路で構成することができるため、ハードウエア
で構成した際の回路の増加を抑えることが可能である。
Further, since the processing centered on the correction information generating section 32 and the block distortion correcting section 34 can be constructed by a relatively simple circuit, it is possible to configure the circuit when it is constructed by hardware. It is possible to suppress the increase.

【0090】なお、本実施例においては、前記注目ブロ
ックBi の前記隣接境界線W1−W2について合計8個
の前記隣接境界信号レベル差分を求め、この平均値に基
づき、該隣接境界線W1−W2の前記境界信号レベル差
付加情報を求めている。又、前記注目ブロックBi の前
記隣接境界線W1−W3については合計8個の前記隣接
境界信号レベル差分を求め、その平均値により該隣接境
界線W1−W3の前記境界信号レベル差付加情報を得て
いる。
In this embodiment, a total of eight adjacent boundary signal level differences are obtained for the adjacent boundary lines W1-W2 of the target block Bi, and the adjacent boundary lines W1-W2 are calculated based on the average value. Of the boundary signal level difference additional information is obtained. Further, for the adjacent boundary lines W1-W3 of the block of interest Bi, a total of eight adjacent boundary signal level differences are calculated, and the average value thereof is used to obtain the boundary signal level difference additional information of the adjacent boundary lines W1-W3. ing.

【0091】しかしながら、これを、各隣接境界線の長
さ方向での中心位置での画素に係る前記隣接境界信号レ
ベル差分値をそれぞれ1つのみ求め、これに基づいて前
記境界信号レベル差付加情報を求めるようにした場合に
は、その回路構成をより簡単にすることができる。例え
ば図2の前記注目ブロックBi については、前記隣接境
界線W1−W2について、前記画素U60の信号レベル
と前記画素P4の信号レベルとによる前記隣接境界信号
レベル差分のみ求め、該隣接境界信号レベル差分に基づ
いて前記境界信号レベル差付加情報を求める。又、前記
隣接境界線W1−W3については、前記画素R32の信
号レベルと前記画素P25の信号レベルとによる隣接境
界信号レベル差分を求め、該隣接境界信号レベル差分か
ら前記境界信号レベル差付加情報を求めるというもので
ある。
However, for this, only one adjacent boundary signal level difference value for each pixel at the center position in the length direction of each adjacent boundary line is obtained, and based on this, the boundary signal level difference additional information is obtained. If the above is obtained, the circuit configuration can be simplified. For example, regarding the block of interest Bi in FIG. 2, only the adjacent boundary signal level difference between the signal level of the pixel U60 and the signal level of the pixel P4 is obtained for the adjacent boundary lines W1-W2, and the adjacent boundary signal level difference is obtained. Based on the above, the boundary signal level difference additional information is obtained. For the adjacent boundary lines W1-W3, the adjacent boundary signal level difference between the signal level of the pixel R32 and the signal level of the pixel P25 is obtained, and the additional information of the boundary signal level difference is obtained from the adjacent boundary signal level difference. It is to ask.

【0092】このように各隣接境界線に対して1つの隣
接境界信号レベル差分のみを求め、これに基づいて前記
境界信号レベル差付加情報を生成した場合には、前述し
た実施例のような平均値の算出演算等は不要であり、回
路構成をより簡単なものとすることができる。
In this way, when only one adjacent boundary signal level difference is obtained for each adjacent boundary line and the boundary signal level difference additional information is generated based on this, the average as in the above-mentioned embodiment is obtained. The calculation of values and the like are unnecessary, and the circuit configuration can be simplified.

【0093】[0093]

【発明の効果】以上説明した通り、本発明によれば、2
次元画像データを2次元空間で複数ブロックへ分割し、
分割後のブロック単位でその2次元画像データに対して
前記直交変換処理及び前記量子化処理を施すことで、前
記2次元画像のデータ量が圧縮された、これにより符号
化された符号化画像データを、再び2次元画像をデータ
へと復号した後の2次元画像に生じてしまう、前記ブロ
ック間の低周波成分の強さの不連続による画質格差とい
うブロック歪を低減しながら、同時に、このようなブロ
ック歪の低減の処理による画像の劣化を抑え、復号後の
2次元画像の画質をより向上することができるという優
れた効果を得ることができる。
As described above, according to the present invention, 2
Dimensional image data is divided into multiple blocks in a two-dimensional space,
Encoded image data encoded by the data amount of the two-dimensional image is compressed by subjecting the two-dimensional image data to the orthogonal transformation process and the quantization process in block units after division. While reducing the block distortion called the image quality disparity due to the discontinuity of the strength of the low frequency component between the blocks, which occurs in the two-dimensional image after the two-dimensional image is decoded into data again, at the same time, It is possible to obtain an excellent effect that it is possible to suppress the deterioration of the image due to the processing of reducing the block distortion and improve the image quality of the two-dimensional image after decoding.

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

【図1】本願の第1発明及び第2発明に係るブロック分
割を示す線図
FIG. 1 is a diagram showing block division according to a first invention and a second invention of the present application.

【図2】前記第1発明及び前記第2発明に係る隣接境界
線又ブロック周辺信号レベルを示す線図
FIG. 2 is a diagram showing adjacent boundary lines or block peripheral signal levels according to the first invention and the second invention.

【図3】前記第1発明及び前記第2発明が適用された画
像データ符号化/復号化装置の構成を示すブロック図
FIG. 3 is a block diagram showing a configuration of an image data encoding / decoding device to which the first invention and the second invention are applied.

【図4】前記実施例に用いられる補正情報生成部の構成
を示すブロック図
FIG. 4 is a block diagram showing a configuration of a correction information generation unit used in the embodiment.

【図5】従来の画像データ符号化装置の構成を示すブロ
ック図
FIG. 5 is a block diagram showing a configuration of a conventional image data encoding device.

【図6】従来の画像データ復号化装置の構成を示すブロ
ック図
FIG. 6 is a block diagram showing a configuration of a conventional image data decoding device.

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

3…原画像データメモリ 5…復号画像データメモリ 12…可変長復号化手段 14…可変長復号化テーブル 16…逆量子化手段 18…逆量子化テーブル 20…逆直交変換手段 32…補正情報生成部 32a …周辺信号レベル算出部 32b …信号レベル差分算出部 32c …付加情報生成部 34…ブロック歪補正部 40…直交変換手段 42…量子化手段 44…量子化テーブル 46…可変長符号化手段 48…可変長符号化テーブル 50a 、50b …伝送路 Bi …注目ブロック B(i-L )、B(i-1 )、B(i+1 )、B(i+L )…隣
接ブロック P1〜P64…注目ブロックの画素
3 ... Original image data memory 5 ... Decoded image data memory 12 ... Variable length decoding means 14 ... Variable length decoding table 16 ... Inverse quantization means 18 ... Inverse quantization table 20 ... Inverse orthogonal transformation means 32 ... Correction information generation unit 32a ... Peripheral signal level calculation unit 32b ... Signal level difference calculation unit 32c ... Additional information generation unit 34 ... Block distortion correction unit 40 ... Orthogonal transformation unit 42 ... Quantization unit 44 ... Quantization table 46 ... Variable length coding unit 48 ... Variable-length coding table 50a, 50b ... Transmission path Bi ... Block of interest B (iL), B (i-1), B (i + 1), B (i + L) ... Adjacent block P1 to P64 ... Pixel

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】2次元画像データを2次元空間で複数ブロ
ックへ分割し、分割後のブロック単位でその2次元画像
データに対して直交変換処理及び量子化処理を施すこと
で、前記2次元画像データのデータ量が圧縮された符号
化画像データを生成する画像データ符号化装置におい
て、 複数の前記ブロックのうち、上下方向又は左右方向で相
互に隣接する2つの隣接ブロックについて、その隣接境
界線を介して互いに接近するそれぞれの前記隣接ブロッ
ク中の画素の信号レベルを、それぞれの前記隣接ブロッ
ク毎に、ブロック周辺信号レベルとして求める周辺信号
レベル算出部と、 前記ブロック周辺信号レベルの前記隣接ブロック相互間
での差分値を、隣接境界信号レベル差分値として求める
信号レベル差分算出部と、 前記隣接境界信号レベル差分値に基づいて、前記符号化
画像データを復号する画像データ復号化装置での、ブロ
ック歪の低減処理で用いる境界信号レベル差付加情報を
生成する付加情報生成部とを備えたことを特徴とする画
像データ符号化装置。
1. Two-dimensional image data is obtained by dividing two-dimensional image data into a plurality of blocks in a two-dimensional space, and subjecting the divided two-dimensional image data to orthogonal transformation processing and quantization processing in block units. In an image data encoding device that generates encoded image data in which the data amount of data is compressed, in the plurality of blocks, two adjacent blocks that are adjacent to each other in the up-down direction or the left-right direction have their adjacent boundary lines defined. A peripheral signal level calculation unit that obtains a signal level of a pixel in each of the adjacent blocks that approach each other as a block peripheral signal level for each of the adjacent blocks, and between the adjacent blocks of the block peripheral signal level. A signal level difference calculation unit that obtains the difference value at the adjacent boundary signal level difference value; An image data decoding apparatus for decoding the coded image data based on a fractional value, and an additional information generation unit for generating boundary signal level difference additional information used in block distortion reduction processing. Image data encoding device.
【請求項2】2次元画像データを2次元空間で複数ブロ
ックへ分割し、分割後のブロック単位でその2次元画像
データに対して直交変換処理及び量子化処理を施すこと
で、前記2次元画像データのデータ量が圧縮された符号
化画像データを、逆量子化処理及び逆直交変換処理にて
復号する画像データ復号化装置において、 複数の前記ブロックのうち、上下方向又は左右方向で相
互に隣接する2つの隣接ブロックについて、その隣接境
界線を介して互いに接近するそれぞれの前記隣接ブロッ
ク中の画素の信号レベルとして、それぞれの前記隣接ブ
ロック毎に、復号対象となる前記符号化画像データを生
成する画像データ符号化装置側で求められたブロック周
辺信号レベルについて、 又、前記ブロック周辺信号レベルの前記隣接ブロック相
互間での差分値として、前記画像データ符号化装置側で
求められた隣接境界信号レベル差分値について、 又、前記隣接境界信号レベル差分値に基づいて、前記画
像データ符号化装置側で求められた、前記符号化画像デ
ータを復号する画像データ復号化装置側での、ブロック
歪の低減処理で用いる境界信号レベル差付加情報につい
て、 前記境界信号レベル差付加情報に応じて、前記隣接境界
信号レベル差分値の絶対値が大きくなる程、該隣接境界
信号レベル差分値に係る前記隣接境界線でのブロック歪
低減処理のそのブロック歪低減の度合いを抑えるように
したブロック歪補正部を備えたことを特徴とする画像デ
ータ復号化装置。
2. The two-dimensional image data is obtained by dividing the two-dimensional image data into a plurality of blocks in a two-dimensional space, and subjecting the divided two-dimensional image data to orthogonal transformation processing and quantization processing in block units. In an image data decoding device that decodes encoded image data in which the data amount of data is compressed by an inverse quantization process and an inverse orthogonal transform process, a plurality of blocks are adjacent to each other in the vertical direction or the horizontal direction. For the two adjacent blocks, the coded image data to be decoded is generated for each of the adjacent blocks as a signal level of a pixel in each of the adjacent blocks that approach each other via the adjacent boundary line. Regarding the block peripheral signal level obtained on the image data encoding device side, and between the adjacent blocks of the block peripheral signal level. As a difference value of the adjacent boundary signal level difference value obtained on the side of the image data encoding device, and based on the adjacent boundary signal level difference value, obtained on the side of the image data encoding device, On the image data decoding device side for decoding encoded image data, regarding the boundary signal level difference additional information used in the block distortion reduction processing, according to the boundary signal level difference additional information, the adjacent boundary signal level difference value As the absolute value increases, a block distortion correction unit is provided so as to suppress the degree of block distortion reduction of the block distortion reduction processing on the adjacent boundary line related to the adjacent boundary signal level difference value. Image data decoding device.
JP14931694A 1994-06-30 1994-06-30 Image data encoding device and image data decoding device Expired - Fee Related JP3028513B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14931694A JP3028513B2 (en) 1994-06-30 1994-06-30 Image data encoding device and image data decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14931694A JP3028513B2 (en) 1994-06-30 1994-06-30 Image data encoding device and image data decoding device

Publications (2)

Publication Number Publication Date
JPH0818970A true JPH0818970A (en) 1996-01-19
JP3028513B2 JP3028513B2 (en) 2000-04-04

Family

ID=15472461

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14931694A Expired - Fee Related JP3028513B2 (en) 1994-06-30 1994-06-30 Image data encoding device and image data decoding device

Country Status (1)

Country Link
JP (1) JP3028513B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496605B1 (en) * 1996-08-02 2002-12-17 United Module Corporation Block deformation removing filter, image processing apparatus using the same, method of filtering image signal, and storage medium for storing software therefor
CN1322740C (en) * 2003-06-27 2007-06-20 三菱电机株式会社 Post-filter, post-filtering method and video signal decoder
WO2009123033A1 (en) * 2008-03-31 2009-10-08 日本電気株式会社 Deblocking filter processing device and deblocking filter processing method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02154572A (en) * 1988-12-06 1990-06-13 Nec Corp Decoding system for picture signal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02154572A (en) * 1988-12-06 1990-06-13 Nec Corp Decoding system for picture signal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496605B1 (en) * 1996-08-02 2002-12-17 United Module Corporation Block deformation removing filter, image processing apparatus using the same, method of filtering image signal, and storage medium for storing software therefor
CN1322740C (en) * 2003-06-27 2007-06-20 三菱电机株式会社 Post-filter, post-filtering method and video signal decoder
WO2009123033A1 (en) * 2008-03-31 2009-10-08 日本電気株式会社 Deblocking filter processing device and deblocking filter processing method
JPWO2009123033A1 (en) * 2008-03-31 2011-07-28 日本電気株式会社 Deblocking filter processing apparatus and deblocking filter processing method
TWI387348B (en) * 2008-03-31 2013-02-21 Nec Corp Apparatus and method for deblocking filter processing
JP5360430B2 (en) * 2008-03-31 2013-12-04 日本電気株式会社 Deblocking filter processing apparatus and deblocking filter processing method

Also Published As

Publication number Publication date
JP3028513B2 (en) 2000-04-04

Similar Documents

Publication Publication Date Title
US10194174B2 (en) Simplifications for boundary strength derivation in deblocking
US20210076057A1 (en) Method and apparatus for encoding/decoding video signal
CN108737834B (en) Image encoding device, image decoding device, and methods thereof
JP5877236B2 (en) Apparatus and method for encoding video
JP2920209B2 (en) Blocking Phenomenon Elimination Method by Video Coding
KR20210110786A (en) Apparatus and method for image coding and decoding
US6690838B2 (en) Image processing circuit and method for reducing a difference between pixel values across an image boundary
EP3082339B1 (en) Apparatus and method of offset correction for video coding
JP4004089B2 (en) Video signal decoding system and noise suppression method
KR102429449B1 (en) Method and device for bit-width control for bidirectional light flow
KR101546894B1 (en) Image processing method image processing device video encodingdecoding method video encodingdecoding device and programs therefor
CN113518221B (en) Video encoding or decoding method and corresponding device
US20190200011A1 (en) Intra-prediction mode-based image processing method and apparatus therefor
JPH10327334A (en) Signal adaptive filtering method for decreasing ringing noise and its filter
JP2015523030A (en) Apparatus for encoding a bitstream representing 3D video
CN111971963A (en) Image encoding and decoding, image encoder, and image decoder
JP3365784B2 (en) Image signal decoding device
JP3028513B2 (en) Image data encoding device and image data decoding device
JPH01228384A (en) Moving image coding system using area division
JP4950381B2 (en) Method and apparatus for the processing of digitized images with pixels
JPH10229559A (en) Method and filter for reducing effect due to block processing
EP1570678B1 (en) Method of measuring blocking artefacts
JP3722169B2 (en) Image processing apparatus and image processing method
JPH06311499A (en) Picture signal decoding device
JP2518681B2 (en) Cascaded video coding

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080204

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090204

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20090204

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100204

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110204

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120204

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130204

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20130204

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20140204

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees