JPH0879754A - Image encoding device and image decoding device - Google Patents
Image encoding device and image decoding deviceInfo
- Publication number
- JPH0879754A JPH0879754A JP6214971A JP21497194A JPH0879754A JP H0879754 A JPH0879754 A JP H0879754A JP 6214971 A JP6214971 A JP 6214971A JP 21497194 A JP21497194 A JP 21497194A JP H0879754 A JPH0879754 A JP H0879754A
- Authority
- JP
- Japan
- Prior art keywords
- block
- image
- information
- edge
- coding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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)
- Image Processing (AREA)
Abstract
(57)【要約】
【目的】 ブロック符号化を行う装置において、原画像
データの劣化を防止しつつ、各隣接ブロック間の歪みを
減少させることが可能な画像符号化装置を得る。
【構成】 ライン毎に送られてくる画像データは、画像
データ変換部102においてブロック単位のデータに変
換され、圧縮部108において所定のブロック符号化が
行われる。一方、原画像データは付加情報抽出部104
においては、各ブロックの境界部分がエッジであるか否
かについて検査がなされ、エッジ情報が作成される。こ
のエッジ情報は符号化部106で符号化される。データ
付加部110は、この符号化されたデータを、上記ブロ
ック符号に付加し、圧縮データとして外部に出力する。
このエッジ情報に基づき、復号化の際にエッジ部分であ
る境界部分についてはフィルタリングをしないことによ
り、ブロック化歪みの低減化を図りつつ、原画像データ
のエッジ情報が損なわれてしまうことを防止できる。
(57) [Summary] [Object] To obtain an image coding device capable of reducing distortion between adjacent blocks while preventing deterioration of original image data in a device which performs block coding. [Structure] The image data sent line by line is converted into data in units of blocks in an image data conversion unit 102, and a predetermined block encoding is performed in a compression unit 108. On the other hand, the original image data is the additional information extraction unit 104.
In (1), whether or not the boundary portion of each block is an edge is inspected, and edge information is created. This edge information is encoded by the encoding unit 106. The data adding unit 110 adds the coded data to the block code and outputs it as compressed data to the outside.
On the basis of this edge information, by not filtering the boundary portion that is the edge portion at the time of decoding, it is possible to reduce the blocking distortion and prevent the edge information of the original image data from being damaged. .
Description
【0001】[0001]
【産業上の利用分野】本発明は、画像符号化装置及び画
像復号化装置に関する。特に、画像データを所定のブロ
ックに分割し、ブロック毎に符号化・復号化を行う装置
に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image coding device and an image decoding device. In particular, the present invention relates to a device that divides image data into predetermined blocks and performs encoding / decoding for each block.
【0002】[0002]
【従来の技術】近年、産業上の様々な分野においてのみ
ならず、一般家庭、種々の娯楽施設においても大容量の
画像情報を取り扱う必要が生じている。このような大容
量の画像情報をそのまま伝送・記憶等することは、通信
回線の容量を著しく消費し、また、大容量の記憶装置を
必要とする。2. Description of the Related Art In recent years, it has become necessary to handle a large amount of image information not only in various industrial fields but also in general homes and various entertainment facilities. To directly transmit and store such large-capacity image information consumes a large amount of communication line capacity and requires a large-capacity storage device.
【0003】そこで、一般に画像情報は、所定の圧縮符
号化方式によって圧縮符号化が施されてから伝送・記憶
される場合が多い。このような圧縮符号化方式として
は、静止画に対するJPEG方式や、動画に対するMP
EG方式など種々のものが提案されている。Therefore, in general, image information is often transmitted and stored after being compressed and encoded by a predetermined compression and encoding method. As such a compression encoding method, a JPEG method for a still image or an MP for a moving image is used.
Various types such as the EG method have been proposed.
【0004】例えば、JPEG方式による圧縮符号化
は、DCTを基本にした符号化方式であり、例えば符号
化対象である画像情報を8×8の画素から成るブロック
に分割して各ブロック毎に符号化が行われる。このよう
な圧縮符号化方式の圧縮率は変換テーブルを設定するこ
とによって、コントロールされる。For example, the compression coding by the JPEG system is a coding system based on DCT. For example, the image information to be coded is divided into blocks of 8 × 8 pixels and coded for each block. Is done. The compression rate of such a compression encoding method is controlled by setting a conversion table.
【0005】図6には、従来の典型的な画像符号化装置
の構成ブロック図の一例が示されている。図6に示され
ているように、従来の画像符号化装置10によれば、原
画像データは、まず画像データ変換部12に供給され
る。画像データ変換部12においては、ライン毎に送ら
れてくる画像データがブロック単位のデータに変換され
る。ここで、ブロックとしては例えば8×8のブロック
が用いられる。FIG. 6 shows an example of a configuration block diagram of a conventional typical image coding apparatus. As shown in FIG. 6, according to the conventional image coding apparatus 10, the original image data is first supplied to the image data conversion unit 12. In the image data conversion unit 12, the image data sent line by line is converted into block unit data. Here, for example, an 8 × 8 block is used as the block.
【0006】変換された圧縮部18において画像情報に
対するブロック符号化が行われる。このブロック符号化
は例えば、DCT(Discrete Cosine
Transform)等を用いたブロック符号化が適用
される。このようにして圧縮されたデータが最終的な圧
縮データとして画像符号化装置10から出力される。次
に、図6に示された画像符号化装置によって作成された
圧縮データを復号化する画像復号化装置20について説
明する。図7には、本実施例に係る画像復号化装置20
の構成ブロック図が示されている。図7に示されている
ように、圧縮データはまず、伸長部22において、もと
のデータに復号される。すなわち、原ブロック符号に対
してブロック復号化が行われ、復号画像が得られる。こ
の復号画像は、必要に応じて平滑部24において所定の
ローパスフィルタが適用され、符号化に伴う種々の歪み
などが除去される。そして、この平滑部24から最終的
な再生画像が出力されるのである。The converted compression unit 18 performs block coding on the image information. This block coding is performed by, for example, DCT (Discrete Cosine).
Block coding using Transform etc. is applied. The data thus compressed is output from the image coding apparatus 10 as final compressed data. Next, the image decoding device 20 for decoding the compressed data created by the image coding device shown in FIG. 6 will be described. FIG. 7 shows an image decoding device 20 according to this embodiment.
The configuration block diagram of is shown. As shown in FIG. 7, the decompression unit 22 first decodes the compressed data into the original data. That is, block decoding is performed on the original block code to obtain a decoded image. A predetermined low-pass filter is applied to the decoded image in the smoothing unit 24 as necessary to remove various distortions and the like due to encoding. Then, the final reproduced image is output from the smoothing unit 24.
【0007】[0007]
【発明が解決しようとする課題】しかしながら、従来の
このブロック符号化方式によれば、隣接するブロック間
の相関には全く関知せず、ブロック毎に独立して符号化
が行われていた。換言すれば、隣接するブロックに亘る
連続性が失われてしまうわけである。そのため、JPE
G方式として推奨されている変換テーブルを使用した場
合はともかく、こう圧縮率となるように変換テーブルを
設定した場合には、係るブロック符号化された画像情報
を復号化すると、前記ブロックのエッジ部分に歪みが生
じることが多い。すなわち、複合化された画像情報に上
記ブロック状に歪みが現れてしまうのである。このよう
な現象は、特に圧縮率が高くなるように変換テーブルが
設定されている場合に顕著に現れる。However, according to this conventional block coding system, the coding is performed independently for each block without regard to the correlation between adjacent blocks. In other words, the continuity between adjacent blocks is lost. Therefore, JPE
Regardless of when the conversion table recommended as the G method is used, when the conversion table is set to have such a compression ratio, when the block-encoded image information is decoded, the edge portion of the block is Distortion often occurs. That is, the block-like distortion appears in the composited image information. Such a phenomenon remarkably appears particularly when the conversion table is set so that the compression rate becomes high.
【0008】このようなブロック状の歪みを除去するた
めには、上述したように一般にローパスフィルタによる
空間フィルタリングが行われ、上記歪みを目立たないよ
うにすることが行われている。このようなフィルタリン
グによるいわば平滑化を行えば、エッジの歪みは除去で
きるが、原画像情報中に元来存在していたエッジも平滑
化されて失われてしまうという問題がある。例えば、こ
のようなエッジとしては文字の輪郭等が挙げられよう。
このように従来のブロック符号化方式では、隣接するブ
ロック間のエッジ部分に歪みが生じやすいという問題が
あった。In order to remove such block-like distortion, spatial filtering by a low-pass filter is generally performed as described above to make the distortion inconspicuous. If the so-called smoothing by such filtering is performed, the distortion of the edge can be removed, but there is a problem that the edge originally existing in the original image information is also smoothed and lost. For example, such an edge may be the outline of a character.
As described above, the conventional block coding method has a problem that distortion is likely to occur at an edge portion between adjacent blocks.
【0009】ブロック歪みの低減のための技術として、
例えば特開昭62−196990号公報には、ブロック
符号化された画像データを複合化する際に、2つのブロ
ックに亘って延びる画素列の各画素に関する複数の画像
データを用いて、一方のブロック内の画像データから、
他方のブロック内の画素列のブロック境界部の画素に関
する画像データを互いに外挿予測するように構成するこ
とが開示されている。As a technique for reducing block distortion,
For example, in Japanese Patent Laid-Open No. 62-196990, when the block-coded image data is combined, a plurality of image data regarding each pixel of a pixel row extending over two blocks is used to From the image data in
It is disclosed that the image data relating to the pixels at the block boundary portion of the pixel column in the other block are extrapolated and predicted with respect to each other.
【0010】また、特開平5−176176号公報にお
いては、ブロック符号化された画像データを複合化する
前に、DC成分のみをまず抽出し、画像データを複合化
した後、各ブロック毎のDC成分の不連続を低減するた
めの補正値を前記DC成分に基づいて算出する構成が開
示されている。In Japanese Patent Laid-Open No. 5-176176, only the DC component is first extracted before the block-encoded image data is combined, and the image data is combined. A configuration is disclosed in which a correction value for reducing discontinuity of components is calculated based on the DC component.
【0011】これらのブロック歪みの低減に関する技術
によればブロック歪みを低減することができるが、画像
データそのものに元来含まれているエッジ成分をも低減
してしまうため、画質の劣化が著しいという問題があ
る。According to these techniques for reducing the block distortion, the block distortion can be reduced, but the edge component originally included in the image data itself is also reduced, so that the image quality is significantly deteriorated. There's a problem.
【0012】本発明は上記課題に鑑みなされたものであ
り、その目的は、ブロック符号化を行う装置において、
原画像データの劣化を防止しつつ、各隣接ブロック間の
歪みを減少させることが可能な画像符号化装置を得るこ
とである。The present invention has been made in view of the above problems, and an object thereof is to provide an apparatus for performing block coding,
An object of the present invention is to obtain an image encoding device capable of reducing distortion between adjacent blocks while preventing deterioration of original image data.
【0013】[0013]
【課題を解決するための手段】第一の本発明は、上記課
題を解決するために、画像情報を所定のブロックに分割
して符号化するブロック符号化手段を備えた画像符号化
装置において、隣接ブロックとの境界部分を抽出し、前
記境界部分がエッジであるか否かの情報を出力するエッ
ジ情報出力手段と、前記ブロック符号化手段が出力する
ブロック符号に、前記エッジ情報出力手段が出力するエ
ッジ情報を付加して出力する情報付加手段と、を含むこ
とを特徴とする画像符号化装置である。The first aspect of the present invention is, in order to solve the above-mentioned problems, an image coding apparatus provided with block coding means for dividing image information into predetermined blocks and coding the blocks. The edge information output means outputs the edge information output means for extracting a boundary portion with an adjacent block and outputting information as to whether the boundary portion is an edge or not, and the block code output by the block encoding means. And an information adding unit for adding and outputting edge information to be output, the image coding apparatus.
【0014】第二の本発明は、第一の本発明の画像符号
化装置が出力する符号を復号化する画像復号化装置にお
いて、入力した符号に含まれる前記エッジ情報及び前記
ブロック符号を複合化する復号化手段と、前記エッジ情
報に基づき、エッジではないブロック境界部分に対して
のみフィルタリングを行い、平滑化を行う平滑化手段
と、を含むことを特徴とする画像復号化装置である。A second aspect of the present invention is an image decoding apparatus for decoding the code output by the image encoding apparatus of the first aspect of the present invention, wherein the edge information and the block code included in the input code are combined. And a smoothing unit that performs smoothing by filtering only a block boundary portion that is not an edge based on the edge information.
【0015】第三の本発明は、第一の本発明の画像符号
化装置において、前記エッジ情報出力手段が出力するエ
ッジ情報を圧縮符号化するエッジ情報符号化手段、を含
み、前記情報付加手段は、前記圧縮符号化されたエッジ
情報を、前記ブロック符号化手段が出力するブロック符
号に付加することを特徴とする画像符号化装置である。A third aspect of the present invention is the image encoding device according to the first aspect of the present invention, which includes edge information encoding means for compressing and encoding the edge information output by the edge information output means, and the information adding means. Is an image coding apparatus characterized in that the compression-coded edge information is added to a block code outputted by the block coding means.
【0016】[0016]
【作用】第一の本発明におけるエッジ情報出力手段は、
ブロック符号化におけるブロック間の境界部分が画像の
エッジであるか否かを検査する。そして、その情報がブ
ロック符号に付加されるので、このブロック符号によれ
ば、復号化の際、画像のエッジ部分とブロック間の境界
が一致していることをあらかじめ知ることができる。The edge information output means in the first invention is
It is checked whether the boundary portion between blocks in block coding is an edge of an image. Then, since the information is added to the block code, it is possible to know in advance that the edge portion of the image and the boundary between the blocks match at the time of decoding according to this block code.
【0017】第二の本発明における平滑化手段は、ブロ
ックの境界部分が画像のエッジ部分である場合には、そ
の部分にはフィルタリングを行わない。そのため、画像
のエッジ部分を消失させてしまうことがない。The smoothing means in the second aspect of the present invention does not perform filtering on the boundary portion of the image when the boundary portion is the edge portion of the image. Therefore, the edge portion of the image does not disappear.
【0018】第三の本発明におけるエッジ情報符号化手
段は、エッジ情報を圧縮符号化してそのデータ量を減少
させる。そのため、符号全体の圧縮率の低下を防止でき
る。The edge information coding means in the third aspect of the present invention compresses and codes the edge information to reduce the data amount thereof. Therefore, it is possible to prevent the compression rate of the entire code from decreasing.
【0019】[0019]
【実施例】以下、本発明の好適な実施例を図面に基づい
て説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings.
【0020】図1は、本発明の好適な実施例である画像
符号化装置100の構成を表す構成ブロック図である。
図1に示されているように、原画像データはまず、画像
データ変換部102、及び付加情報抽出部104に供給
される。画像データ変換部102においては、ライン毎
に送られてくる画像データがブロック単位のデータに変
換される。ここで、ブロックとしては例えば上述したよ
うに8×8のブロックが用いられる。一方、付加情報抽
出部104においては、各ブロックの境界部分がエッジ
であるか否かについて検査がなされ、この検査結果に基
づいて、付加情報が作成される。FIG. 1 is a block diagram showing the structure of an image coding apparatus 100 which is a preferred embodiment of the present invention.
As shown in FIG. 1, the original image data is first supplied to the image data conversion unit 102 and the additional information extraction unit 104. In the image data conversion unit 102, the image data sent line by line is converted into block unit data. Here, as the block, for example, an 8 × 8 block is used as described above. On the other hand, in the additional information extraction unit 104, it is inspected whether the boundary portion of each block is an edge, and the additional information is created based on the inspection result.
【0021】本実施例において特徴的な構成は、この付
加情報抽出部104である。この付加情報抽出部104
における動作を図2に基づいて詳細に説明する。図2に
は、原画像データが8×8の画素から成るブロックに分
割された場合の所定の注目ブロックCを中心とした平面
模式図が示されている。図2に示されているように、注
目ブロックCの画素はCij(i=0〜7、j=0〜
7)で表されている。また、注目ブロックCの上隣接ブ
ロックをブロックBと呼び、左隣接ブロックをブロック
Aと呼ぶ。本実施例に係る付加情報抽出部104におい
ては、注目ブロックCに対する付加情報として、上隣接
ブロックBとの間の境界部分及び左隣接ブロックAとの
間の境界部分のそれぞれがエッジ部分であるか否かを抽
出するのである。尚、下隣接ブロックや、右隣接ブロッ
クに対しては係る情報は(注目ブロックCに対しては)
抽出しない。例えば、下隣接ブロックとの間の境界部分
に関しては注目ブロックCの下側にあるブロックに対す
る付加情報として抽出されるのである。The characteristic configuration of this embodiment is the additional information extraction unit 104. This additional information extraction unit 104
The operation will be described in detail with reference to FIG. FIG. 2 shows a schematic plan view centering on a predetermined block of interest C when the original image data is divided into blocks of 8 × 8 pixels. As shown in FIG. 2, the pixels of the target block C are Cij (i = 0 to 7, j = 0 to 0).
It is represented by 7). Further, the upper adjacent block of the target block C is called a block B, and the left adjacent block is called a block A. In the additional information extraction unit 104 according to the present embodiment, whether the boundary portion with the upper adjacent block B and the boundary portion with the left adjacent block A are edge portions as the additional information for the target block C, respectively. It is extracted whether or not. Note that the information about the lower adjacent block and the right adjacent block is (for the target block C)
Do not extract. For example, the boundary between the block and the lower adjacent block is extracted as additional information for the block below the target block C.
【0022】左隣接ブロックAとの間の境界部分につい
ての情報Hn(n=0〜7)は以下の式で算出される。The information Hn (n = 0 to 7) about the boundary portion between the left adjacent block A is calculated by the following formula.
【0023】[0023]
【数1】 if (|Cn0−An7)≦Th Hn=0 else Hn=1 (n=0〜7) ここで、しきい値Thは、エッジであるか否かを判定す
るためのしきい値であり、画像の特性に応じて適当な値
が設定される。すなわち、このHnが1である場合と
は、隣接するブロックとの境界において画像の濃度差
(輝度差)が大きかったことを意味し、境界部分にエッ
ジが存在する可能性が高いことを意味する。一方、Hn
が0である場合とは、隣接するブロックとの境界におい
て画像の濃度差(輝度差)が小さかったことを意味し、
境界部分にはエッジが存在しないと判断されるのであ
る。また、上隣接ブロックBとの間の境界部分について
の情報Vm(m=0〜7)も、上記Hnと同様にして以
下の式で算出される。If (| Cn0−An7) ≦ Th Hn = 0 else Hn = 1 (n = 0 to 7) Here, the threshold value Th is a threshold value for determining whether or not it is an edge. And an appropriate value is set according to the characteristics of the image. That is, the case where this Hn is 1 means that the density difference (luminance difference) of the image is large at the boundary with the adjacent block, and it means that there is a high possibility that an edge exists at the boundary part. . On the other hand, Hn
Is 0 means that the density difference (luminance difference) of the image was small at the boundary with the adjacent block,
It is judged that there is no edge at the boundary. Further, the information Vm (m = 0 to 7) about the boundary portion between the upper adjacent block B and the above-described Hn is also calculated by the following equation.
【0024】[0024]
【数2】 if (|C0m−B7m)≦Th Vm=0 else Vm=1 (m=0〜7) 以上のようにして、注目ブロックCに対する付加情報が
抽出される。尚、上隣接ブロック、左隣接ブロックがな
い場合は、上記付加情報Hn、Vmはそれぞれ1とす
る。このようにして抽出された情報は、例えば、以下の
ように表される。## EQU00002 ## if (| C0m-B7m) .ltoreq.Th Vm = 0 else Vm = 1 (m = 0 to 7) As described above, the additional information for the target block C is extracted. When there is no upper adjacent block or left adjacent block, the additional information Hn and Vm are set to 1. The information extracted in this way is represented as follows, for example.
【数3】 [Hn、Vm]=00000000 00001111 Hn Vm このようにして、付加情報抽出部104において抽出さ
れた情報は符号化部106において符号化がなされる。
上記付加情報抽出部104において抽出された情報は0
または1のデータの列がランダムに現れることは少ない
ことが期待される。また、一般的には1よりも0が連続
する場合が多いと考えられる。すなわち、画像情報のエ
ッジがブロック符号のブロックの境界と一致する確立は
一般に少ないと考えられる。[Hn, Vm] = 00000000 000011111 Hn Vm In this way, the information extracted by the additional information extracting unit 104 is encoded by the encoding unit 106.
The information extracted by the additional information extraction unit 104 is 0.
Alternatively, it is expected that the sequence of 1 data rarely appears at random. Further, generally, it is considered that 0 is more frequently consecutive than 1 in many cases. That is, it is generally considered that there is little probability that the edge of the image information coincides with the block boundary of the block code.
【0025】そこで、付加情報抽出部104が抽出した
情報は、圧縮符号化によって原データの情報量を損なわ
ずにそのデータ量を大きく削減できるものと期待され
る。符号化部106は、係る観点より設けられた構成で
あり、例えば、ハフマン符号化などによる符号化を上記
抽出情報に適用し、データ量の削減を図るものである。Therefore, it is expected that the information extracted by the additional information extraction unit 104 can be greatly reduced in the data amount by compression encoding without impairing the information amount of the original data. The encoding unit 106 has a configuration provided from such a viewpoint, and applies encoding such as Huffman encoding to the extracted information to reduce the amount of data.
【0026】例えば、[Hn、Vm]=0000000
000011110000001111110・・・の
ようにデータが表されている場合、まず、0データが1
1個連続し、次に1データが4個連続しているので、ぞ
れぞれの連続する長さを取ると、11、4、6、6、・
・・となる。JPEGの記載法によれば、これらは例え
ばNNNN=11、SSSS=4、NNNN=6、SS
SS=6のように表される。そして、これらのNNNN
/SSSSに対して、ハフマン符号化することによっ
て、データを圧縮している。尚、このNNNN/SSS
Sの発生頻度に適応したテーブルを使用すれば高圧縮率
の符号化が実現可能である。For example, [Hn, Vm] = 0000000
When data is represented as 000011110000001111110 ..., first, 0 data is 1
Since one data is continuous and one data is continuous four times, if each continuous length is taken, it is 11, 4, 6, 6, ...
・ ・ It becomes. According to the description method of JPEG, these are, for example, NNNN = 11, SSSS = 4, NNNN = 6, SS
It is represented as SS = 6. And these NNNN
Data is compressed by Huffman coding for / SSSS. In addition, this NNNN / SSS
If a table adapted to the occurrence frequency of S is used, high compression rate encoding can be realized.
【0027】符号化部106において抽出情報の符号化
が行われるのと並行して、圧縮部108において画像情
報に対するブロック符号化が行われる。このブロック符
号化は従来のブロック符号化と全く同様に行われる。In parallel with the encoding of the extracted information in the encoding unit 106, the block encoding of the image information is performed in the compression unit 108. This block coding is performed exactly like the conventional block coding.
【0028】このように、本実施例においては、画像情
報は圧縮部108において、また、抽出情報は符号化部
106において、それぞれ別個独立の変換テーブルによ
って圧縮符号化を行った。これは、それぞれのデータに
応じた高い圧縮率を実現するためであるが、両データに
対し、共通の変換テーブルを用いることもハードウエア
の低減という観点からは好適であろう。As described above, in the present embodiment, the image information is compression-encoded in the compression unit 108, and the extraction information is compression-encoded in the encoding unit 106 using separate and independent conversion tables. This is to realize a high compression rate according to each data, but it may be preferable to use a common conversion table for both data from the viewpoint of hardware reduction.
【0029】上述した符号化部106において得られた
符号化された抽出情報は、圧縮部108において得られ
たブロック符号に付加される。この付加は、図1に示さ
れているように、データ付加部110において行われ
る。そして、抽出情報が付加されたデータが最終的な圧
縮データとして、外部に出力されるのである。The encoded extraction information obtained by the encoding unit 106 is added to the block code obtained by the compression unit 108. This addition is performed in the data addition unit 110, as shown in FIG. Then, the data to which the extraction information is added is output to the outside as final compressed data.
【0030】このデータの付加は、単純には、ブロック
符号にそのままつけ加えることになるが、既存の規格に
適合させることも可能である。例えば、JPEG方式の
画像符号化方式においては、アプリケーションによって
用途を自由に決定できるセグメントが設けられている。
例えば、図3には、「ISO DIS 10918−1
Requirements And Guideli
nes」の付属書類(Annex)BのB−16に示さ
れている図が記載されている。この図は、コメントセグ
メントにおけるマーカセグメントの構造を表す図であ
る。この図におけるマーカ及びパラメータは、以下のよ
うに定義されている。This data addition is simply added to the block code as it is, but it is also possible to adapt it to the existing standard. For example, in the JPEG image coding method, a segment is provided whose application can be freely determined by an application.
For example, in FIG. 3, “ISO DIS 10918-1
Requirements And Guideli
The diagram shown in B-16 of Annex B of "nes" is described. This figure is a diagram showing the structure of a marker segment in a comment segment. The markers and parameters in this figure are defined as follows.
【0031】COM :コメントマーカ、コメントの開
始を示すマーカである。COM: A comment marker, which is a marker indicating the start of a comment.
【0032】Lc :コメントセグメント長、コメン
トセグメントの長さを表すものである。Lc: Indicates the comment segment length and the length of the comment segment.
【0033】Cm :コメントバイト、その意味内容
はアプリケーションに依存する。Cm: Comment byte, the meaning of which depends on the application.
【0034】従って、このコメントバイトに抽出情報を
格納することにより、既存の画像フォーマットを用いつ
つ、本発明を実施することが可能である。Therefore, by storing the extracted information in this comment byte, it is possible to implement the present invention while using the existing image format.
【0035】抽出情報を格納できる位置は、他の部分に
もある。例えば図4には、上記文献のB−17に示され
ている図が記載されている。この図は、アプリケーショ
ンデータセグメントにおけるマーカセグメントの構造を
表す図である。この図におけるマーカ及びパラメータ
は、以下のように定義されている。There are other locations where the extracted information can be stored. For example, FIG. 4 describes the diagram shown in B-17 of the above document. This figure is a diagram showing the structure of a marker segment in the application data segment. The markers and parameters in this figure are defined as follows.
【0036】APPr:アプリケーションデータマー
カ、アプリケーションデータセグメントの開始を示すマ
ーカである。APPr: Application data marker, a marker indicating the start of an application data segment.
【0037】Lp :アプリケーションデータセグメ
ント長、アプリケーションデータセグメントの長さを表
すものである。Lp: represents the length of the application data segment and the length of the application data segment.
【0038】Ap :アプリケーションデータバイ
ト、任意の8ビットの値である。Ap: Application data byte, an arbitrary 8-bit value.
【0039】従って、このアプリケーションデータバイ
トに抽出情報を格納することも好適である。Therefore, it is also preferable to store the extraction information in this application data byte.
【0040】本実施例において特徴的なことは、ブロッ
クとブロックとの境界部分がエッジであるか否かの情報
を抽出し、この情報をブロック符号に付加して最終的な
圧縮データを構成したことである。この圧縮データによ
れば、ブロックの境界部分がエッジであるか否かが判明
するため、復号する際により適切なフィルタリングによ
って、エッジの歪みを最小限度に抑えることが可能とな
る。The feature of this embodiment is that information indicating whether or not the boundary between blocks is an edge is extracted and this information is added to the block code to form the final compressed data. That is. According to this compressed data, it is determined whether or not the boundary portion of the block is an edge. Therefore, it is possible to minimize edge distortion by performing more appropriate filtering during decoding.
【0041】次に、図1に示された画像符号化装置によ
って作成された圧縮データを復号化する画像復号化装置
112について説明する。図5には、本実施例に係る画
像復号化装置112の構成ブロック図が示されている。
図5に示されているように、圧縮データはまず、伸長部
114において、もとのデータに復号される。すなわ
ち、原ブロック符号に対しては従来の方式と同様にして
ブロック復号化が行われ、復号画像が得られる。また、
圧縮された付加情報についてはハフマン復号化を施すこ
とによりもとの付加情報が得られる。すなわち、境界部
分がエッジであるか否かについてのもとの[Hn、V
m]のデータが得られる。Next, the image decoding device 112 for decoding the compressed data created by the image coding device shown in FIG. 1 will be described. FIG. 5 shows a configuration block diagram of the image decoding apparatus 112 according to the present embodiment.
As shown in FIG. 5, the decompressing unit 114 first decodes the compressed data into the original data. That is, block decoding is performed on the original block code in the same manner as in the conventional method, and a decoded image is obtained. Also,
The original additional information is obtained by subjecting the compressed additional information to Huffman decoding. That is, the original [Hn, V
m] data is obtained.
【0042】本実施例において特徴的なことは、復号さ
れた復号画像を平滑化する際に、上記付加情報の内容に
基づいて、その平滑化が行われるか否かが決定されるこ
とである。すなわち、図5における平滑部116は、復
号画像に対して、ローパスフィルタを適用するわけであ
るが、境界部分の画素に対してローパスフィルタを適用
するか否かは、上記付加情報のHn若しくはVmが0の
画素に対してのみ行われる。つまり、Hn若しくはVm
が1である境界画素に対してはエッジを構成するものと
判断し、この画素へのフィルタリングは行わないのであ
る。これによって、本実施例によれば、原画像のエッジ
部分を消失させることなく、ブロック符号化に基づくブ
ロック歪みを低減させることが可能である。A feature of this embodiment is that when smoothing a decoded image that has been decoded, whether or not the smoothing is performed is determined based on the contents of the additional information. . That is, the smoothing unit 116 in FIG. 5 applies the low-pass filter to the decoded image. Whether or not to apply the low-pass filter to the pixels at the boundary portion is Hn or Vm of the additional information. Is performed only for pixels with 0. That is, Hn or Vm
It is determined that a boundary pixel having a value of 1 constitutes an edge, and no filtering is performed on this pixel. As a result, according to the present embodiment, it is possible to reduce block distortion based on block coding without erasing the edge portion of the original image.
【0043】尚、フィルタリングは縦方向と横方向とに
分けて行うことが好適である。例えば、注目ブロックC
のH2が0であった場合には、注目ブロックCの画素C
20に対しては横方向のフィルタリングを適用する。同
様にして、注目ブロックCのV2が0であった場合に
は、注目ブロックCの画素C02に対しては縦方向のフ
ィルタリングを適用する。このように、縦方向と横方向
とのフィルタリングの処理を独立に行い、それぞれの境
界部分に対応したエッジの方向に対応したフィルタリン
グのみを行えばより効率的なブロック歪みの低減が図れ
る。It is preferable that the filtering is performed separately in the vertical direction and the horizontal direction. For example, attention block C
H2 of 0 is 0, the pixel C of the target block C is
Horizontal filtering is applied to 20. Similarly, when V2 of the target block C is 0, vertical filtering is applied to the pixel C02 of the target block C. As described above, by performing the filtering processing in the vertical direction and the filtering processing in the horizontal direction independently, and performing only the filtering corresponding to the direction of the edge corresponding to each boundary portion, the block distortion can be more efficiently reduced.
【0044】[0044]
【発明の効果】以上述べたように、本発明によれば、ブ
ロック境界部分が非エッジ部分である場合はそのブロッ
ク境界部分に対して平滑化を行い、ブロック境界部分が
エッジ部分である場合にはそのブロック境界部分に対し
て平滑化を行わないので、画質を不必要に劣化させるこ
となく、ブロック歪みを低減させることが可能な画像符
号化装置が得られるという効果を奏する。As described above, according to the present invention, when the block boundary portion is a non-edge portion, the block boundary portion is smoothed, and when the block boundary portion is an edge portion. Since the block boundary portion is not smoothed, the image coding apparatus capable of reducing the block distortion can be obtained without unnecessarily deteriorating the image quality.
【0045】また、平滑化処理に使用するエッジ情報も
圧縮されるので、情報付加のために圧縮率が低下してし
まうことを防止することができる。Since the edge information used for the smoothing process is also compressed, it is possible to prevent the compression rate from being lowered due to the addition of information.
【図1】本発明の好適な実施例である画像符号化装置の
構成を表す構成ブロック図である。FIG. 1 is a configuration block diagram showing a configuration of an image encoding apparatus which is a preferred embodiment of the present invention.
【図2】本実施例に係る画像符号化装置の動作を説明す
る説明図である。FIG. 2 is an explanatory diagram illustrating an operation of the image encoding device according to the present embodiment.
【図3】JPEG方式のフォーマットにおけるコメント
セグメントの説明図である。FIG. 3 is an explanatory diagram of comment segments in a JPEG format.
【図4】JPEG方式のフォーマットにおけるアプリケ
ーションデータセグメントの説明図である。FIG. 4 is an explanatory diagram of application data segments in a JPEG format.
【図5】本実施例の画像復号化装置の構成を表す構成ブ
ロック図である。FIG. 5 is a configuration block diagram showing a configuration of an image decoding apparatus according to the present embodiment.
【図6】従来の画像符号化装置の構成ブロック図であ
る。FIG. 6 is a configuration block diagram of a conventional image encoding device.
【図7】従来の画像復号化装置の構成ブロック図であ
る。FIG. 7 is a configuration block diagram of a conventional image decoding device.
100 画像符号化装置 102 画像データ変換部 104 付加情報抽出部 106 符号化部 108 圧縮部 110 データ付加部 100 image coding device 102 image data conversion unit 104 additional information extraction unit 106 coding unit 108 compression unit 110 data addition unit
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/41 B ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI technical display location H04N 1/41 B
Claims (3)
号化するブロック符号化手段を備えた画像符号化装置に
おいて、 隣接ブロックとの境界部分を抽出し、前記境界部分がエ
ッジであるか否かの情報を出力するエッジ情報出力手段
と、 前記ブロック符号化手段が出力するブロック符号に、前
記エッジ情報出力手段が出力するエッジ情報を付加して
出力する情報付加手段と、 を含むことを特徴とする画像符号化装置。1. An image coding apparatus provided with a block coding means for coding image information by dividing it into predetermined blocks and coding the same, by extracting a boundary portion between adjacent blocks and determining whether or not the boundary portion is an edge. Edge information output means for outputting the information, and information addition means for adding the edge information output by the edge information output means to the block code output by the block encoding means and outputting the added information. The image coding device.
る符号を復号化する画像復号化装置において、 入力した符号に含まれる前記エッジ情報及び前記ブロッ
ク符号を複合化する復号化手段と、 前記エッジ情報に基づき、エッジではないブロック境界
部分に対してのみフィルタリングを行い、平滑化を行う
平滑化手段と、 を含むことを特徴とする画像復号化装置。2. The image decoding device for decoding the code output by the image coding device according to claim 1, further comprising: a decoding means for decoding the edge information and the block code included in the input code, An image decoding device comprising: a smoothing unit that performs smoothing by filtering only a block boundary portion that is not an edge based on the edge information.
て、 前記エッジ情報出力手段が出力するエッジ情報を圧縮符
号化するエッジ情報符号化手段、 を含み、前記情報付加手段は、前記圧縮符号化されたエ
ッジ情報を、前記ブロック符号化手段が出力するブロッ
ク符号に付加することを特徴とする画像符号化装置。3. The image coding apparatus according to claim 1, further comprising edge information coding means for compressing and coding the edge information output by the edge information output means, wherein the information adding means includes the compression coding. An image coding apparatus characterized in that the edge information thus generated is added to a block code outputted by the block coding means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6214971A JPH0879754A (en) | 1994-09-08 | 1994-09-08 | Image encoding device and image decoding device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6214971A JPH0879754A (en) | 1994-09-08 | 1994-09-08 | Image encoding device and image decoding device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0879754A true JPH0879754A (en) | 1996-03-22 |
Family
ID=16664593
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6214971A Pending JPH0879754A (en) | 1994-09-08 | 1994-09-08 | Image encoding device and image decoding device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0879754A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1997049250A1 (en) * | 1996-06-19 | 1997-12-24 | Matsushita Electric Industrial Co., Ltd. | Device and method for encoding picture and device and method for decoding picture |
| WO2004006562A1 (en) * | 2002-06-27 | 2004-01-15 | Ricoh Company, Ltd. | Image processing apparatus and image processing method |
| JPWO2008035655A1 (en) * | 2006-09-19 | 2010-01-28 | パナソニック株式会社 | Recording apparatus, recording method, recording program, and integrated circuit |
| JP2020519857A (en) * | 2017-04-11 | 2020-07-02 | サウジ アラビアン オイル カンパニー | Seismic wave field compression in three-dimensional reverse time migration |
| US11656378B2 (en) | 2020-06-08 | 2023-05-23 | Saudi Arabian Oil Company | Seismic imaging by visco-acoustic reverse time migration |
-
1994
- 1994-09-08 JP JP6214971A patent/JPH0879754A/en active Pending
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1997049250A1 (en) * | 1996-06-19 | 1997-12-24 | Matsushita Electric Industrial Co., Ltd. | Device and method for encoding picture and device and method for decoding picture |
| US6249610B1 (en) | 1996-06-19 | 2001-06-19 | Matsushita Electric Industrial Co., Ltd. | Apparatus and method for coding a picture and apparatus and method for decoding a picture |
| WO2004006562A1 (en) * | 2002-06-27 | 2004-01-15 | Ricoh Company, Ltd. | Image processing apparatus and image processing method |
| JPWO2008035655A1 (en) * | 2006-09-19 | 2010-01-28 | パナソニック株式会社 | Recording apparatus, recording method, recording program, and integrated circuit |
| JP2020519857A (en) * | 2017-04-11 | 2020-07-02 | サウジ アラビアン オイル カンパニー | Seismic wave field compression in three-dimensional reverse time migration |
| US11656378B2 (en) | 2020-06-08 | 2023-05-23 | Saudi Arabian Oil Company | Seismic imaging by visco-acoustic reverse time migration |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP1528813B1 (en) | Improved video coding using adaptive coding of block parameters for coded/uncoded blocks | |
| US5790265A (en) | Image coding/decoding method and apparatus | |
| EP0497545B1 (en) | Image signal coding device | |
| JP3448091B2 (en) | Encoding / decoding device and encoding / decoding method | |
| JP2003517796A (en) | How to reduce the "uneven picture" effect | |
| US6078690A (en) | Image data conversion device and method having function of inserting delimiter code into position in image data where a predetermined amount of data is reached | |
| EP0667717A2 (en) | Method and apparatus for reproducing picture data | |
| KR20010050847A (en) | System and apparatus for inserting electronic watermark data | |
| EP0833518A2 (en) | Compression of image data with associated cost data | |
| JPH0879754A (en) | Image encoding device and image decoding device | |
| JP3231800B2 (en) | Image encoding apparatus and image encoding method | |
| JP3469438B2 (en) | Image signal processing method and apparatus, recording medium | |
| JP2723867B2 (en) | Image signal decoding device | |
| JP3952116B2 (en) | Image compression apparatus and method | |
| JP3434088B2 (en) | Image data conversion device and its inverse conversion device | |
| CN100375537C (en) | Method and apparatus for processing a sequence of digital images and television receiver | |
| JP2005109918A (en) | Secret data insertion method for image data, secret data detection method, and display method for image data with secret data inserted | |
| JP2791410B2 (en) | Compressed image data extraction device | |
| JP4731972B2 (en) | Image encoding method and image encoding apparatus | |
| KR100530745B1 (en) | Method of displaying a high-resolution digital image on a low-resolution display | |
| KR950008640B1 (en) | Image compression coding method and decoding method for bit fixation | |
| JP3262341B2 (en) | Image processing apparatus and method | |
| JPH1117955A (en) | Image processing unit | |
| JPH04326665A (en) | image encoding device | |
| JPH0795565A (en) | Image data restoration device and method |