JPH09161078A - Method for device for encoding, and method and device for decoding - Google Patents

Method for device for encoding, and method and device for decoding

Info

Publication number
JPH09161078A
JPH09161078A JP7315290A JP31529095A JPH09161078A JP H09161078 A JPH09161078 A JP H09161078A JP 7315290 A JP7315290 A JP 7315290A JP 31529095 A JP31529095 A JP 31529095A JP H09161078 A JPH09161078 A JP H09161078A
Authority
JP
Japan
Prior art keywords
pixel
contour line
encoding
circuit
pixels
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.)
Withdrawn
Application number
JP7315290A
Other languages
Japanese (ja)
Inventor
Yoshitaka Furukubo
良隆 古久保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP7315290A priority Critical patent/JPH09161078A/en
Publication of JPH09161078A publication Critical patent/JPH09161078A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Processing Of Color Television Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Analysis (AREA)
  • Picture Signal Circuits (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the efficiency of encoding by encoding only information included within the outline of a texture closed area. SOLUTION: A picture including a texture-closed area and an edgeclosed area is inputted to an encoding device 100 as an input picture signal DD0. A luminance information encoding circuit DP1 finds out a local luminance component indicating the general luminance information of the picture from the signal DD0 inputted to the device 100, encodes the component, supplies the encoded local luminance component DD1 to an edge picture reconstituting processing circuit DP3, and outputs component DD1 as luminanceencoded data ED1. On the other hand, an outline encoding circuit DP2 extracts the outline part of the picture from the signal DD0 by an edge area extraction circuit and encodes the extracted information. The circuit DP2 supplies the encoded outline part information DD2 to the circuit DP3 and outputs the information DD2 as outline encoded data ED2.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像中の物体の輪
郭線を重点的に保存することを特徴とする高能率符号化
方式を用いた閉領域の符号化方法と符号化装置、及び上
記符号化方法又は上記符号化装置で得られた閉領域の符
号の復号化方法と復号化装置とに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a closed area coding method and coding apparatus using a high efficiency coding method, which is characterized in that the contour lines of an object in an image are preserved with emphasis. The present invention relates to a coding method or a decoding method and a decoding device for a code of a closed region obtained by the above coding device.

【0002】[0002]

【従来の技術】例えば、限られた伝送容量を有する伝送
媒体により画像伝送を行う伝送装置や、画像の記録媒体
への記録及び上記記録媒体からの再生を行う記録/再生
装置では、画像信号の高能率符号化方式を適用した符号
化装置が用いられている。
2. Description of the Related Art For example, in a transmission device for transmitting an image by a transmission medium having a limited transmission capacity, or a recording / reproducing device for recording an image on a recording medium and reproducing the image from the recording medium, An encoding device to which a high efficiency encoding method is applied is used.

【0003】上記画像信号の高能率符号化方式は、画像
品質の劣化をできるだけ避け、画像信号が有する相関の
高さを利用して冗長性を削減する符号化方式であり、上
述したような画像伝送を行う際や、画像の記録媒体への
記録を行う際に必要不可欠なものである。
The high-efficiency coding method for image signals is a coding method for avoiding deterioration of image quality as much as possible and reducing redundancy by utilizing the high correlation of image signals. It is indispensable when transmitting or recording an image on a recording medium.

【0004】画像信号の高能率符号化方式としては、予
測符号化方式、離散コサイン変換(DCT:discrete c
osine transform)に代表される直交変換符号化方式、
及びウェーブレット変換のようなサブバンド符号化方式
等がある。
As a high-efficiency coding system for image signals, a predictive coding system and a discrete cosine transform (DCT) are used.
Orthogonal transform coding method represented by osine transform),
And sub-band coding methods such as wavelet transform.

【0005】予測符号化方式としては、フレーム内DP
CM(Differential Pulse Code Modulation)等があ
り、予測符号化方式とは、空間的又は時間的な相関を利
用し、画像を画素単位で扱って、原画素と、復号化した
上記原画素の近傍画素との差分を符号化する方式であ
る。このような予測符号化方式は、必要な圧縮率が1/
2〜1/4程度のように、それほど高くない圧縮率の場
合には有効であるが、それ以上の高い圧縮率が必要であ
る場合には適さない方式である。
Intraframe DP is used as a predictive coding method.
There is CM (Differential Pulse Code Modulation) and the like, and the predictive coding method uses spatial or temporal correlation to handle an image in pixel units, and an original pixel and a neighboring pixel of the decoded original pixel. This is a method of encoding the difference between and. In such a predictive coding system, the required compression rate is 1 /
This method is effective when the compression rate is not so high as about 2 to 1/4, but is not suitable when a higher compression rate is required.

【0006】一方、直交変換符号化方式やサブバンド符
号化方式は、必要な圧縮率が1/10以上のように、高
い圧縮率の場合に用いられる方式であり、現在では、D
CTを用いた符号化方式が一般的に用いられている。こ
れは、DCTが高速アルゴリズムを有し、ハード化が容
易である等の理由によるものである。また、DCTは、
国際標準方式であるJPEGやMPEG等にも採用され
ている。
On the other hand, the orthogonal transform coding method and the sub-band coding method are used when the compression rate is high such that the required compression rate is 1/10 or more.
A coding method using CT is generally used. This is because the DCT has a high-speed algorithm and can be easily implemented in hardware. Also, DCT is
It is also used in JPEG, MPEG, and other international standards.

【0007】上述のようなDCTを用いた符号化方式
(以下、DCT符号化方式と言う。)の基本原理は、画
像信号の低周波数成分の電力が極めて大きいという特徴
を利用し、DCTによって求められた画像信号の周波数
成分を量子化する際に、低周波数成分の量子化ステップ
サイズを小さく、高周波成分の量子化ステップサイズを
大きくすることにより、その結果、全体としての情報量
を圧縮することができるということである。
The basic principle of the above-mentioned coding system using DCT (hereinafter referred to as DCT coding system) is obtained by DCT by utilizing the characteristic that the power of the low frequency component of the image signal is extremely large. When quantizing the frequency component of the obtained image signal, the quantization step size of the low frequency component is made small and the quantization step size of the high frequency component is made large, so that the information amount as a whole is compressed. It means that you can

【0008】しかし、DCT符号化方式では、量子化を
行うことにより、ブロック歪とモスキート雑音が生じて
しまうという問題点があり、特に、マクロブロックを単
位とした符号化処理であることに起因するブロック歪
は、符号化速度が遅い場合に顕著になる。
However, the DCT coding method has a problem that block distortion and mosquito noise occur due to quantization, and in particular, it is caused by the coding processing in units of macroblocks. Block distortion becomes significant when the encoding speed is low.

【0009】そこで、超低ビットレートでの画像伝送
や、画像の記録媒体への記録を行うことを目的とした符
号化方式として、人間の視覚特性が物体の輪郭線に特に
敏感であるということを考慮して、原画像中の輪郭線部
分を重点的に保存することにより、超低ビットレートで
も視覚的に優れた復元性を実現する符号化方式が提案さ
れている。
Therefore, as an encoding method for the purpose of transmitting an image at an ultra-low bit rate and recording an image on a recording medium, human visual characteristics are particularly sensitive to the contour line of an object. In consideration of the above, there has been proposed an encoding method that realizes visually excellent restoration even at an extremely low bit rate by preserving the contour line portion in the original image.

【0010】上述のような原画像中の輪郭部分を重点的
に保存する符号化方式として、原画像中の輪郭部分と上
記輪郭部分の両側の画素から再構成されるエッジ再構成
画像と、原画像と上記エッジ再構成画像の差分画像であ
るテクスチャ画像とを個別に符号化し、再構成する際
に、上記テクスチャ画像を上記エッジ再構成画像に加え
ることにより、原画像中の細かな変化を再現するように
なされた符号化方式がある。
As an encoding method for preserving the contour portion in the original image as described above, an edge reconstructed image reconstructed from the contour portion in the original image and pixels on both sides of the contour portion, Reproduce small changes in the original image by encoding the image and the texture image that is the difference image of the edge reconstructed image separately and adding the texture image to the edge reconstructed image when reconstructing There is an encoding method designed to do so.

【0011】図16は、上記符号化方式を適用した符号
化装置において、テクスチャ画像の符号化回路の構成を
示したブロック図である。以下、上記図16を用いてテ
クスチャ画像の符号化処理について説明する。
FIG. 16 is a block diagram showing the structure of a texture image coding circuit in the coding apparatus to which the above coding method is applied. The texture image encoding process will be described below with reference to FIG.

【0012】先ず、原画像中の物体の輪郭や物体間の境
界線等のエッジ領域を抽出して得られたエッジ領域信号
BD0は、エッジ領域バッファBP0を介してエッジ領
域膨張回路BP3に供給される。また、抽出して得られ
たエッジ領域と上記エッジ領域の両側の画素から再構成
されたエッジ再構成画像の信号(以下、エッジ再構成画
像信号と言う。)BD1、及び原画像の信号(以下、原
画像信号と言う。)BD2は、エッジ再構成画像バッフ
ァBP1及び原画像バッファBP2を介して差分回路B
P4に各々供給される。
First, an edge area signal BD0 obtained by extracting an edge area such as a contour of an object or a boundary line between objects in an original image is supplied to an edge area expanding circuit BP3 via an edge area buffer BP0. It Further, an edge reconstructed image signal (hereinafter, referred to as an edge reconstructed image signal) BD1 reconstructed from the extracted edge region and pixels on both sides of the edge region, and an original image signal (hereinafter, referred to as an edge reconstructed image signal). BD2 is a difference circuit B via an edge reconstructed image buffer BP1 and an original image buffer BP2.
Each is supplied to P4.

【0013】エッジ領域膨張回路BP3は、エッジ領域
バッファBP0からのエッジ領域信号BD0において、
任意の画素から一定範囲にある画素を膨張マスク領域と
して膨張エッジ領域を求め、求めた膨張エッジ領域の信
号(以下、膨張エッジ領域信号)BD3をテクスチャ領
域分離回路BP5に供給する。
The edge area expansion circuit BP3 receives the edge area signal BD0 from the edge area buffer BP0,
An expansion edge area is obtained by using pixels in a certain range from an arbitrary pixel as an expansion mask area, and the obtained expansion edge area signal (hereinafter, expansion edge area signal) BD3 is supplied to the texture area separation circuit BP5.

【0014】一方、差分回路BP4は、エッジ再構成画
像バッファBP1からのエッジ再構成画像信号BD1
と、原画像バッファBP2からの原画像信号BD2との
差分をとり、その差分信号をテクスチャ画像信号BD4
としてテクスチャ領域分離回路P5に供給する。
On the other hand, the difference circuit BP4 has an edge reconstructed image signal BD1 from the edge reconstructed image buffer BP1.
And the original image signal BD2 from the original image buffer BP2, and the difference signal is used as the texture image signal BD4.
Is supplied to the texture area separation circuit P5.

【0015】テクスチャ領域分離回路BP5は、エッジ
領域膨張回路BP3からの膨張エッジ領域信号BD3を
用いて、図17に示すように、差分回路BP4からのテ
クスチャ画像信号BD4から膨張エッジ閉領域MAを除
いた範囲であるテクスチャ領域TAのテクスチャ画像信
号のみを抽出し、抽出したテクスチャ画像信号をテクス
チャ領域信号BD5としてマクロブロック生成回路BP
6に供給する。
The texture area separation circuit BP5 removes the expanded edge closed area MA from the texture image signal BD4 from the difference circuit BP4 as shown in FIG. 17 by using the expanded edge area signal BD3 from the edge area expansion circuit BP3. The macroblock generation circuit BP that extracts only the texture image signal of the texture area TA that is the range
6

【0016】マクロブロック生成回路BP6は、テクス
チャ領域分離回路BP5からのテクスチャ領域信号BD
5に対して、図18に示すように、テクスチャ領域TA
の8×8画素のブロック化処理を施し、そのブロック化
処理で得られたテクスチャ領域ブロック信号DB6をD
CT変換回路BP7に供給する。
The macroblock generation circuit BP6 receives the texture area signal BD from the texture area separation circuit BP5.
5, the texture area TA as shown in FIG.
8 × 8 pixel block processing is performed, and the texture area block signal DB6 obtained by the block processing is D
It is supplied to the CT conversion circuit BP7.

【0017】DCT変換回路BP7は、マクロブロック
生成回路BP6からのテクスチャ領域ブロック信号DB
6に対してマクロブロック単位の直交変換処理を施し、
その直交変換処理で得られた直交変換係数信号BD7を
量子化回路BP8に供給する。
The DCT conversion circuit BP7 is provided with a texture area block signal DB from the macroblock generation circuit BP6.
6 is subjected to orthogonal transform processing in macro block units,
The orthogonal transform coefficient signal BD7 obtained by the orthogonal transform process is supplied to the quantization circuit BP8.

【0018】そして、DCT変換回路BP7で得られた
直交変換係数信号BD7は、量子化回路BP8により量
子化済信号BD8となった後、可変長符号化回路BP9
で符号化され、テクスチャ符号化信号BD9として出力
バッファBP10を介して出力される。
The orthogonal transform coefficient signal BD7 obtained by the DCT transform circuit BP7 becomes a quantized signal BD8 by the quantizer circuit BP8, and then the variable length coding circuit BP9.
And is output as a texture encoded signal BD9 via the output buffer BP10.

【0019】[0019]

【発明が解決しようとする課題】しかし、上述したよう
な従来の符号化装置によりテクスチャ領域の符号化を行
う際に、上記図18に示したような固定サイズのマクロ
ブロックを用いて、マクロブロック内の画素全てを符号
化した場合、一部分でもテクスチャ領域を含んでいるマ
クロブロックは、テクスチャ領域ブロックとして符号化
処理の対象となってしまっていた。したがって、実際に
符号化される範囲が本来のテクスチャ領域よりも広い範
囲となり、符号化量が増加してしまっていた。
However, when the texture area is coded by the conventional coding apparatus as described above, the macro block of the fixed size as shown in FIG. 18 is used. When all the pixels inside are coded, a macroblock that includes a texture region even in part has been the target of the coding process as a texture region block. Therefore, the actually encoded range is wider than the original texture area, and the encoding amount is increased.

【0020】そこで、本発明は、上述の如き従来の実情
に鑑みてなされたものであり、次のような目的を有する
ものである。
Therefore, the present invention has been made in view of the above-mentioned conventional circumstances, and has the following objects.

【0021】即ち、本発明の目的は、テクスチャ閉領域
の輪郭線内の情報のみを符号化することにより、符号化
効率を向上させた符号化方法と符号化装置を提供するこ
とにある。
That is, it is an object of the present invention to provide a coding method and a coding device that improve coding efficiency by coding only information within the contour of a texture closed region.

【0022】また、本発明の目的は、動画像に対するテ
クスチャ閉領域の動き補償処理に適応することができる
ことにより、符号化効率をさらに向上させた符号化方法
と符号化装置を提供することにある。
It is another object of the present invention to provide a coding method and a coding device which can further improve the coding efficiency by being adaptable to the motion compensation processing of the texture closed region for the moving image. .

【0023】また、本発明の目的は、上記符号化方法又
は上記符号化装置により符号化された情報を完全に復元
する復号化方法と復号化装置を提供することにある。
Another object of the present invention is to provide a decoding method and a decoding apparatus for completely restoring the information coded by the above coding method or the above coding apparatus.

【0024】[0024]

【課題を解決するための手段】上述の課題を解決するた
めに、本発明に係る符号化方法は、画像中に存在する複
数の不定形状の閉領域の輪郭線を抽出して符号化した輪
郭線符号化データを出力する符号化方法であって、上記
複数の不定形状の閉領域の輪郭線を閉領域内部の画素値
分布と閉領域の輪郭線形状を各閉領域の特徴量として用
いて抽出する。そして、抽出した各輪郭線を符号化する
ことを特徴とする。
In order to solve the above-mentioned problems, a coding method according to the present invention is a contour coded by extracting contour lines of a plurality of closed regions of indefinite shape existing in an image. A coding method for outputting line-coded data, wherein the contour lines of a plurality of closed regions of indefinite shape are used as pixel value distribution inside the closed region and the contour line shape of the closed region as a feature amount of each closed region. Extract. Then, each extracted contour line is encoded.

【0025】また、本発明に係る符号化方法は、閉領域
内の画素と閉領域外の画素を2値化する。そして、2値
化した画素の値が変化する境界の画素を閉領域の輪郭画
素として輪郭線を抽出することを特徴とする。
Further, the encoding method according to the present invention binarizes pixels inside the closed area and pixels outside the closed area. Then, the contour line is extracted by using the boundary pixel where the value of the binarized pixel changes as the contour pixel of the closed region.

【0026】また、本発明に係る符号化方法は、各閉領
域の輪郭線毎に符号化することを特徴とする。
Further, the coding method according to the present invention is characterized in that coding is performed for each contour line of each closed region.

【0027】また、本発明に係る符号化方法は、輪郭線
上の任意の一点を開始点として、上記開始点に存在する
画素から上記輪郭線上の画素を順次辿って符号化する。
そして、上記開始点に戻った時点で上記輪郭線の符号化
を終了することを特徴とする。
Further, in the encoding method according to the present invention, an arbitrary point on the contour line is used as a start point, and the pixels on the contour line are sequentially traced from the pixel existing at the start point to perform the encoding.
Then, the encoding of the contour line is terminated at the time point of returning to the start point.

【0028】また、本発明に係る符号化方法は、上記輪
郭線上の対象画素を中心とした窓領域中に存在する上記
対象画素以外の上記輪郭線上の画素を候補画素として検
出する。そして、検出した各候補画素のうちの任意の候
補画素を次に符号化する対象画素として選出することを
特徴とする。
Further, the encoding method according to the present invention detects pixels on the contour line other than the target pixel existing in the window area centered on the target pixel on the contour line as candidate pixels. Then, an arbitrary candidate pixel among the detected candidate pixels is selected as a target pixel to be encoded next.

【0029】また、本発明に係る符号化方法は、上記輪
郭線上の画素を符号化する方向に対して対象画素の両側
の画素が各々常に同じ閉領域に属するように、次に符号
化する対象画素を検出した各候補画素から選出すること
を特徴とする。
In addition, the encoding method according to the present invention is such that the pixels to be encoded next are arranged so that the pixels on both sides of the target pixel in the encoding direction of the pixels on the contour line always belong to the same closed region. It is characterized in that a pixel is selected from each of the detected candidate pixels.

【0030】また、本発明に係る符号化方法は、上記輪
郭線上の画素を符号化する方向に近い候補画素を検出し
た各候補画素から選出することを特徴とする。
Further, the encoding method according to the present invention is characterized in that candidate pixels close to the direction in which the pixels on the contour line are encoded are selected from the detected candidate pixels.

【0031】また、本発明に係る符号化方法は、上記輪
郭線上の画素を符号化する方向に対する候補画素の両側
の領域の種類及び配置に応じて検出した各候補画素の重
要度係数を各々算出する。そして、算出して得た各候補
画素の重要度係数のうち最も大きい重要度係数を有する
候補画素を選出することを特徴とする。
Further, the coding method according to the present invention calculates the importance coefficient of each candidate pixel detected according to the type and arrangement of the regions on both sides of the candidate pixel in the direction of coding the pixel on the contour line. To do. The candidate pixel having the largest importance coefficient is selected from the calculated importance coefficients of the candidate pixels.

【0032】また、本発明に係る符号化方法は、前の対
象画素、現在の対象画素、及び次の対象画素の位置関係
を示す角度変化係数を検出して累積する。そして、その
累積結果により符号化が終了した輪郭線の閉領域の種類
を判別して、上記符号化が終了した輪郭線の符号化デー
タを出力することを特徴とする。
Also, the encoding method according to the present invention detects and accumulates the angle change coefficient indicating the positional relationship between the previous target pixel, the current target pixel, and the next target pixel. The accumulated result is used to determine the type of the closed region of the contour line for which the coding is completed, and the encoded data of the contour line for which the coding is completed is output.

【0033】また、本発明に係る符号化方法は、次の対
象画素が候補画素の中から選出された場合、現在の注目
画素を上記画像から削除した輪郭線画像を生成すること
を特徴とする。
Further, the encoding method according to the present invention is characterized in that, when the next target pixel is selected from the candidate pixels, a contour line image in which the current pixel of interest is deleted from the image is generated. .

【0034】また、本発明に係る符号化方法は、上記画
像の縁に位置する任意の画素から一方向に検索して上記
輪郭線上の画素を検出する。そして、最初に検出した上
記輪郭線上の画素を上記開始点とすることを特徴とす
る。
Further, the encoding method according to the present invention detects a pixel on the contour line by unidirectionally searching from an arbitrary pixel located at the edge of the image. The first detected pixel on the contour line is set as the start point.

【0035】また、本発明に係る符号化方法は、上記輪
郭線上の画素が検出されなかった場合に、上記画像中に
存在する複数の不定形状の閉領域の輪郭線の符号化を終
了することを特徴とする。
Further, in the coding method according to the present invention, when the pixels on the contour line are not detected, the coding of the contour lines of a plurality of indefinite shape closed regions existing in the image is terminated. Is characterized by.

【0036】上述の課題を解決するために、本発明に係
る符号化装置は、画像中に存在する複数の不定形状の閉
領域の輪郭線を抽出して符号化した輪郭線符号化データ
を出力する符号化装置であって、上記複数の不定形状の
閉領域の輪郭線を抽出する抽出手段と、上記抽出手段に
より抽出された各輪郭線を符号化する符号化手段とを備
える。そして、上記抽出手段は、閉領域内部の画素値分
布と閉領域の輪郭線形状を各閉領域の特徴量として用い
ることにより各閉領域の輪郭線を抽出することを特徴と
する。
In order to solve the above-mentioned problems, the coding apparatus according to the present invention extracts the contour lines of a plurality of closed regions of indeterminate shape existing in the image and outputs the coded contour line data. The encoding device comprises: an extracting unit that extracts the contour lines of the plurality of indefinite-shaped closed regions; and an encoding unit that encodes each contour line extracted by the extracting unit. Further, the extraction means is characterized in that the contour line of each closed region is extracted by using the pixel value distribution inside the closed region and the contour line shape of the closed region as the feature amount of each closed region.

【0037】また、本発明に係る符号化装置は、上記抽
出手段は、閉領域内の画素と閉領域外の画素を2値化
し、2値化した画素の値が変化する境界の画素を閉領域
の輪郭画素として輪郭線を抽出することを特徴とする。
Further, in the encoding apparatus according to the present invention, the extraction means binarizes pixels inside the closed area and pixels outside the closed area and closes boundary pixels where the value of the binarized pixel changes. A feature is that a contour line is extracted as a contour pixel of the area.

【0038】また、本発明に係る符号化装置は、上記符
号化手段は、各閉領域の輪郭線毎に符号化することを特
徴とする。
Further, the coding apparatus according to the present invention is characterized in that the coding means codes each contour line of each closed region.

【0039】また、本発明に係る符号化装置は、上記符
号化手段は、輪郭線上の任意の一点を開始点として、上
記開始点に存在する画素から上記輪郭線上の画素を順次
辿って符号化し、上記開始点に戻った時点で上記輪郭線
の符号化を終了することを特徴とする。
Further, in the encoding device according to the present invention, the encoding means encodes an arbitrary point on the contour line as a start point, and sequentially traces pixels on the contour line from pixels existing at the start point. The encoding of the contour line is terminated at the time of returning to the start point.

【0040】また、本発明に係る符号化装置は、上記符
号化手段は、上記輪郭線上の対象画素を中心とした窓領
域中に存在する上記対象画素以外の上記輪郭線上の各画
素を候補画素として検出する候補画素検出手段を備え
る。そして、上記候補画素検出手段により検出された各
候補画素のうちの任意の候補画素を次に符号化する対象
画素として選出することを特徴とする。
Further, in the coding apparatus according to the present invention, the coding means may select each pixel on the contour line other than the target pixel existing in the window area centered on the target pixel on the contour line as a candidate pixel. And a candidate pixel detecting means for detecting as. Then, an arbitrary candidate pixel among the candidate pixels detected by the candidate pixel detecting means is selected as a target pixel to be encoded next.

【0041】また、本発明に係る符号化装置は、上記符
号化手段は、上記輪郭線上の画素を符号化する方向に対
して対象画素の両側の画素が各々常に同じ閉領域に属す
るように次に符号化する対象画素を上記候補検出手段に
より得られた各候補画素から選出することを特徴とす
る。
Further, in the encoding device according to the present invention, the encoding means is arranged so that pixels on both sides of the target pixel always belong to the same closed region in the direction in which the pixels on the contour line are encoded. The target pixel to be encoded into is selected from each candidate pixel obtained by the candidate detecting means.

【0042】また、本発明に係る符号化装置は、上記符
号化手段は、上記輪郭線上の画素を符号化する方向に近
い候補画素を上記候補検出手段により得られた各候補画
素から選出することを特徴とする。
Further, in the coding apparatus according to the present invention, the coding means selects candidate pixels close to the direction of coding the pixels on the contour line from the candidate pixels obtained by the candidate detecting means. Is characterized by.

【0043】また、本発明に係る符号化装置は、上記符
号化手段は、上記輪郭線上の画素を符号化する方向に対
する候補画素の両側の領域の種類及び配置に応じて上記
候補画素検出手段により検出された各候補画素の重要度
係数を各々算出する重要度算出手段を備える。そして、
上記重要度算出手段により得られた各候補画素の重要度
係数のうち最も大きい重要度係数を有する候補画素を選
出することを特徴とする。
Further, in the encoding device according to the present invention, the encoding means is configured to detect the candidate pixel according to the type and arrangement of regions on both sides of the candidate pixel in the direction of encoding the pixel on the contour line. An importance degree calculating means for calculating the importance degree coefficient of each detected candidate pixel is provided. And
It is characterized in that the candidate pixel having the largest importance coefficient is selected from the importance coefficients of the candidate pixels obtained by the importance calculating means.

【0044】また、本発明に係る符号化装置は、上記符
号化手段は、前の対象画素、現在の対象画素、及び次の
対象画素の位置関係を示す角度変化係数を検出して累積
する角度変化係数累積手段を備える。そして、上記角度
変化係数累積手段で得られた累積結果により符号化が終
了した輪郭線の閉領域の種類を判別して上記符号化が終
了した輪郭線の符号化データを出力することを特徴とす
る。
Further, in the encoding apparatus according to the present invention, the encoding means detects and accumulates an angle change coefficient indicating a positional relationship between the previous target pixel, the current target pixel, and the next target pixel, and accumulates the angle. A change coefficient accumulating means is provided. Then, the type of the closed region of the contour line for which encoding has been completed is determined based on the accumulation result obtained by the angle change coefficient accumulating means, and the encoded data of the contour line for which encoding has been completed is output. To do.

【0045】また、本発明に係る符号化装置は、上記符
号化手段は、次の対象画素が候補画素の中から選出され
た場合、現在の注目画素を上記画像から削除した輪郭線
画像を生成する輪郭画素削除手段を備えることを特徴と
する。
Further, in the coding apparatus according to the present invention, the coding means generates a contour line image in which the current pixel of interest is deleted from the image when the next target pixel is selected from the candidate pixels. It is characterized in that it is provided with a contour pixel deleting means.

【0046】また、本発明に係る符号化装置は、上記符
号化手段は、上記画像の縁に位置する任意の画素から一
方向に検索して上記輪郭線上の画素を検出する検出手段
を備える。そして、上記検出手段により最初に検出され
た上記輪郭線上の画素を上記開始点とすることを特徴と
する。
Further, in the encoding device according to the present invention, the encoding means includes a detecting means for detecting a pixel on the contour line by unidirectionally searching from an arbitrary pixel located at an edge of the image. Then, the pixel on the contour line first detected by the detecting means is set as the start point.

【0047】また、本発明に係る符号化装置は、上記符
号化手段は、上記検出手段により上記輪郭線上の画素が
検出されなかった場合に、上記画像中に存在する複数の
不定形状の閉領域の輪郭線の符号化を終了することを特
徴とする。
Further, in the encoding apparatus according to the present invention, the encoding means includes a plurality of indeterminate shape closed regions existing in the image when the detecting means does not detect a pixel on the contour line. It is characterized in that the encoding of the contour line is finished.

【0048】上述の課題を解決するために、本発明に係
る復号化方法は、画像中に存在する複数の不定形状の閉
領域内部の画素値分布と閉領域の輪郭線形状を各閉領域
の特徴量として用いることにより各閉領域の輪郭線が抽
出され、外側の輪郭線から順次符号化された輪郭線符号
化データを復号化する復号化方法であって、先ず、上記
輪郭線符号化データから上記特徴量を検出し、上記輪郭
線符号化データから上記閉領域内部に存在する画素を上
記閉領域内部の任意の一画素から上記輪郭線までの間に
存在する全ての画素を閉領域内の画素として検出する。
そして、検出した特徴量及び画素に基いて上記画像を再
構成して、符号化された順に各閉領域毎に上記輪郭線符
号化データを復号化することを特徴とする。
In order to solve the above-mentioned problems, the decoding method according to the present invention uses the pixel value distribution inside a plurality of indefinite-shaped closed regions existing in an image and the contour line shape of the closed region for each closed region. A contour line of each closed region is extracted by using it as a feature amount, and a decoding method for decoding the contour line encoded data sequentially encoded from the outer side contour line is first described. From the contour coded data, all the pixels existing between the contour line and any one pixel inside the closed area are detected in the closed area. Detected as a pixel.
The image is reconstructed based on the detected feature amount and pixels, and the contour line encoded data is decoded for each closed region in the order of encoding.

【0049】上述の課題を解決するために、本発明に係
る復号化装置は、画像中に存在する複数の不定形状の閉
領域内部の画素値分布と閉領域の輪郭線形状を各閉領域
の特徴量として用いることにより各閉領域の輪郭線が抽
出され、外側の輪郭線から順次符号化された輪郭線符号
化データを復号化する復号化装置であって、上記輪郭線
符号化データから上記特徴量を検出する特徴量検出手段
と、上記輪郭線符号化データから上記閉領域内部に存在
する画素を上記閉領域内部の任意の一画素から上記輪郭
線までの間に存在する全ての画素を閉領域内の画素とし
て検出する検出手段と、上記特徴量検出手段により検出
された特徴量及び上記検出手段により検出された画素に
基いて上記画像を再構成する再構成手段とを備える。そ
して、符号化された順に各閉領域毎に上記輪郭線符号化
データを復号化することを特徴とする。
In order to solve the above-mentioned problems, the decoding apparatus according to the present invention determines the pixel value distribution inside a plurality of indeterminate shaped closed regions existing in an image and the contour shape of the closed region for each closed region. A decoding device for extracting the contour line of each closed region by using it as a feature amount, and decoding the contour coded data sequentially coded from the outer contour line, wherein: A feature amount detecting means for detecting a feature amount, and a pixel existing inside the closed region from the contour line encoded data, and all pixels existing between any one pixel inside the closed region and the contour line. The image forming apparatus includes a detecting unit that detects a pixel in the closed region, and a reconstructing unit that reconstructs the image based on the feature amount detected by the feature amount detecting unit and the pixel detected by the detecting unit. The outline coded data is decoded for each closed region in the order of coding.

【0050】[0050]

【発明の実施の形態】以下、発明の実施の形態につい
て、図面を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0051】本発明に係る符号化方法は、例えば、図1
に示すような3CC(3 ComponentCoding)を用いた符
号化装置100により実施される。
The encoding method according to the present invention is, for example, as shown in FIG.
The coding apparatus 100 uses 3 CC (3 Component Coding) as shown in FIG.

【0052】まず、3CCとは、原画像中の輪郭線部分
を重点的の保存する符号化方式であり、原画像をエッジ
部分、輝度情報、及びテクスチャ情報に分割して符号化
する符号化方式である。また、3CCは、物体の輪郭線
の保存に重点を置いた超低ビットレート画像符号化方式
の代表的なものである。
First, 3CC is a coding method for preserving the contour line portion in the original image, and a coding method for dividing the original image into edge portions, luminance information, and texture information for coding. Is. Further, 3CC is a typical one of the ultra-low bit rate image coding schemes which emphasizes preservation of the contour line of an object.

【0053】この符号化装置100は、本発明に係る符
号化装置を適用したものであり、上記図1に示すよう
に、原画像の信号である入力画像信号DD0が各々供給
される輝度情報符号化回路DP1及び輪郭線符号化回路
DP2と、輪郭線符号化回路DP2の出力が供給される
エッジ画像再構成処理回路DP3と、エッジ画像再構成
処理回路DP3の出力及び入力画像信号DD0が供給さ
れる差分回路DP4と、差分回路DP4の出力が供給さ
れるエントロピー符号化回路DP5とを備えている。
This encoding apparatus 100 is an application of the encoding apparatus according to the present invention, and as shown in FIG. 1, a luminance information code to which an input image signal DD0 which is a signal of an original image is supplied. Of the edge image reconstruction processing circuit DP3 to which the output of the contour encoding circuit DP2 is supplied, and the output of the edge image reconstruction processing circuit DP3 and the input image signal DD0 are supplied. The differential circuit DP4 and the entropy coding circuit DP5 to which the output of the differential circuit DP4 is supplied.

【0054】また、輪郭線符号化回路DP2の出力は、
エッジ画像再構成処理回路DP3にも供給されるように
なされている。そして、輝度情報符号化回路DP1の出
力である輝度符号化データED1、輪郭線符号化回路D
P2の出力である輪郭線符号化データED2、及びエン
トロピー符号化回路DP5の出力であるテクスチャ符号
化データED3が後述する3CCの復号化装置に対して
各々出力されるようになされている。
The output of the contour coding circuit DP2 is
It is also adapted to be supplied to the edge image reconstruction processing circuit DP3. Then, the luminance coded data ED1 output from the luminance information coding circuit DP1 and the contour line coding circuit D
The contour coded data ED2, which is the output of P2, and the texture coded data ED3, which is the output of the entropy coding circuit DP5, are respectively output to the 3CC decoding device described later.

【0055】さらに、符号化装置100は、後述するエ
ッジ領域抽出回路を備えている。
Further, the coding apparatus 100 is provided with an edge area extraction circuit described later.

【0056】先ず、符号化装置100には、例えば、上
記図17に示したようなテクスチャ閉領域とエッジ閉領
域を含む画像が入力画像信号DD0として入力される。
First, for example, an image including a texture closed region and an edge closed region as shown in FIG. 17 is input to the encoding device 100 as an input image signal DD0.

【0057】輝度情報符号化回路DP1は、符号化装置
100に入力された入力画像信号DD0から画像の大局
的な輝度情報を示す局部輝度成分を求めて符号化し、符
号化した局部輝度成分DD1をエッジ画像再構成処理回
路DP3に供給すると共に輝度符号化データED1とし
て出力する。
The luminance information encoding circuit DP1 obtains and encodes a local luminance component indicating global luminance information of the image from the input image signal DD0 input to the encoding device 100, and encodes the encoded local luminance component DD1. It is supplied to the edge image reconstruction processing circuit DP3 and is output as the luminance encoded data ED1.

【0058】一方、輪郭線符号化回路DP2は、上記エ
ッジ領域抽出回路を用いて、入力画像信号DD0から画
像の輪郭線部分を抽出し、抽出した輪郭線部分の情報を
符号化する。そして、輪郭線符号化回路DP2は、符号
化した輪郭線部分の情報(以下、輪郭線情報と言う。)
DD2をエッジ画像再構成処理回路DP3に供給すると
共に輪郭線符号化データED2として出力する。
On the other hand, the contour encoding circuit DP2 extracts the contour portion of the image from the input image signal DD0 by using the edge area extracting circuit and encodes the information of the extracted contour portion. Then, the contour line coding circuit DP2 has information on the coded contour line portion (hereinafter, referred to as contour line information).
DD2 is supplied to the edge image reconstruction processing circuit DP3 and is output as contour line encoded data ED2.

【0059】エッジ画像再構成処理回路DP3は、輝度
情報符号化回路DP1からの局部輝度成分DD1と、輪
郭線符号化回路DP2からの輪郭線情報DD2とからエ
ッジ画像を再構成する。すなわち、エッジ画像再構成処
理回路DP3は、局部輝度成分DD1と輪郭線情報DD
2を基にして、エッジ領域と、エッジ領域の両側の画素
値から再構成されるエッジ再構成画像の信号(以下、エ
ッジ再構成画像信号と言う。)DD3を生成し、生成し
たエッジ再構成画像信号DD3を差分回路DP4に供給
する。
The edge image reconstruction processing circuit DP3 reconstructs an edge image from the local luminance component DD1 from the luminance information encoding circuit DP1 and the contour line information DD2 from the contour line encoding circuit DP2. That is, the edge image reconstruction processing circuit DP3 uses the local luminance component DD1 and the contour line information DD.
A signal of an edge reconstructed image reconstructed from the edge region and pixel values on both sides of the edge region (hereinafter referred to as an edge reconstructed image signal) DD3 is generated based on 2, and the generated edge reconstruction is performed. The image signal DD3 is supplied to the difference circuit DP4.

【0060】差分回路DP4は、エッジ画像再構成処理
回路DP3からのエッジ再構成画像信号DD3と、入力
画像信号DD0との差分をとり、その差分信号をテクス
チャ画像信号DD4としてエントロピー符号化回路DP
5に供給する。
The difference circuit DP4 takes the difference between the edge reconstructed image signal DD3 from the edge image reconstruction processing circuit DP3 and the input image signal DD0, and the difference signal is used as the texture image signal DD4 in the entropy coding circuit DP4.
5

【0061】エントロピー符号化回路DP5は、差分回
路DP4からのテクスチャ画像信号DD4を符号化し、
符号化したテクスチャ画像信号DD4をテクスチャ符号
化データED3として出力する。
The entropy coding circuit DP5 codes the texture image signal DD4 from the difference circuit DP4,
The encoded texture image signal DD4 is output as texture encoded data ED3.

【0062】尚、エントロピー符号化回路DP5につい
ての詳細な説明は後述する。
A detailed description of the entropy coding circuit DP5 will be given later.

【0063】上述のような符号化装置100で得られた
輝度符号化データED1、輪郭線符号化データED2、
及びテクスチャ符号化データED3は、図2に示すよう
な3CCの復号化装置200により復号化される。
Luminance coded data ED1, contour line coded data ED2 obtained by the coding apparatus 100 as described above,
The texture encoded data ED3 is decoded by the 3CC decoding device 200 as shown in FIG.

【0064】この復号化装置200は、本発明に係る復
号化方法を実施する装置であり、本発明に係る復号化装
置を適用したものである。
The decoding device 200 is a device for carrying out the decoding method according to the present invention, to which the decoding device according to the present invention is applied.

【0065】すなわち、復号化装置200は、上記図2
に示すように、符号化装置100で得られた輝度符号化
データED1が供給される輝度情報復号化回路EP1
と、輝度情報復号化回路EP1の出力及び符号化装置1
00で得られた輪郭線符号化データED2が各々供給さ
れる輪郭線復号化回路EP2と、符号化装置100で得
られたテクスチャ符号化データED3の出力が供給され
るテクスチャ復号化回路EP3と、輪郭線復号化回路E
P2の出力及びテクスチャ復号化回路EP3の出力が各
々供給される加算回路EP4とを備えている。そして、
加算回路EP4の出力が再構成画像信号ED7として出
力されるようになされている。
That is, the decoding apparatus 200 is the same as that shown in FIG.
As shown in, the luminance information decoding circuit EP1 to which the luminance encoded data ED1 obtained by the encoding device 100 is supplied
And the output of the luminance information decoding circuit EP1 and the encoding device 1
A contour decoding circuit EP2 to which the contour coded data ED2 obtained in 00 is supplied respectively, and a texture decoding circuit EP3 to which the output of the texture coded data ED3 obtained in the coding device 100 is supplied, Contour decoding circuit E
And an adder circuit EP4 to which the output of P2 and the output of the texture decoding circuit EP3 are respectively supplied. And
The output of the addition circuit EP4 is output as the reconstructed image signal ED7.

【0066】先ず、輝度情報復号化回路EP1は、供給
された輝度符号化データED1を復号化することによ
り、局部輝度成分ED4を得る。そして、輝度情報復号
化回路EP1は、その局部輝度成分ED4を輪郭線復号
化回路EP2に供給する。
First, the luminance information decoding circuit EP1 obtains a local luminance component ED4 by decoding the supplied luminance coded data ED1. Then, the luminance information decoding circuit EP1 supplies the local luminance component ED4 to the contour line decoding circuit EP2.

【0067】輪郭線復号化回路EP2は、供給された輪
郭線符号化データED2を復号化することにより、輪郭
線情報を得る。そして、輪郭線復号化回路EP2は、上
記輪郭線情報と、輝度情報復号化回路EP1からの局部
輝度成分ED4とからエッジ再構成画像信号ED5を再
構成し、再構成したエッジ再構成画像信号ED5を加算
回路EP4に供給する。
The contour line decoding circuit EP2 obtains contour line information by decoding the supplied contour line coded data ED2. The contour decoding circuit EP2 reconstructs the edge reconstructed image signal ED5 from the contour information and the local luminance component ED4 from the luminance information decoding circuit EP1, and reconstructs the edge reconstructed image signal ED5. Is supplied to the adder circuit EP4.

【0068】一方、テクスチャ復号化回路EP3は、供
給されたテクスチャ符号化データED3を復号化するこ
とにより、テクスチャ画像信号ED6を得る。そして、
テクスチャ復号化回路EP3は、そのテクスチャ画像信
号ED6を加算回路EP4に供給する。
On the other hand, the texture decoding circuit EP3 obtains the texture image signal ED6 by decoding the supplied texture encoded data ED3. And
The texture decoding circuit EP3 supplies the texture image signal ED6 to the adding circuit EP4.

【0069】尚、テクスチャ復号化回路EP3について
の詳細な説明は後述する。
A detailed description of the texture decoding circuit EP3 will be given later.

【0070】加算回路EP4は、輪郭線復号化回路EP
2からのエッジ再構成画像信号ED5と、テクスチャ復
号化回路EP3からのテクスチャ画像信号ED6とを加
算し、その加算信号を再構成画像信号ED7として出力
する。
The adder circuit EP4 is a contour line decoding circuit EP.
The edge reconstructed image signal ED5 from 2 and the texture image signal ED6 from the texture decoding circuit EP3 are added, and the addition signal is output as a reconstructed image signal ED7.

【0071】上述のように、3CCの復号化装置200
では、テクスチャ画像信号ED6をエッジ再構成画像信
号ED5に加えることにより、原画像中の細かな変化を
再現できるようになされている。
As described above, the 3CC decoding device 200
Then, by adding the texture image signal ED6 to the edge reconstructed image signal ED5, it is possible to reproduce a fine change in the original image.

【0072】すなわち、エッジ領域とその両側の画素値
から再構成されるエッジ再構成画像信号ED5には、原
画像中の物体の輪郭や境界線等の大局的な特徴は含まれ
ているが、階調値の小さな変化等の情報はほとんど含ま
れていないため、復号化装置200では、原画像とエッ
ジ再構成画像の差分画像の信号であるテクスチャ画像信
号ED6を、物体の模様等の微細な変化等を含む情報と
して、エッジ再構成画像信号ED5に加える。これによ
り、芝生や森等の微妙な凹凸を再現することができる。
That is, although the edge reconstructed image signal ED5 reconstructed from the edge region and the pixel values on both sides of the edge region includes global features such as the contours and boundaries of the object in the original image, Since almost no information such as a small change in gradation value is included, the decoding device 200 uses the texture image signal ED6, which is a signal of the difference image between the original image and the edge reconstructed image, as a fine pattern such as a pattern of an object. Information including changes and the like is added to the edge reconstructed image signal ED5. This makes it possible to reproduce subtle irregularities such as lawns and forests.

【0073】ここで、テクスチャ画像信号ED6は、上
記図1に示した符号化装置100では、差分回路DP4
で得られるテクスチャ画像信号DD4に相当するもので
あり、エントロピー符号化回路DP5により符号化され
るものであるが、従来のようにマクロブロック毎に符号
化した場合、符号化効率が悪くなる。
Here, the texture image signal ED6 is the difference circuit DP4 in the encoding device 100 shown in FIG.
Although it corresponds to the texture image signal DD4 obtained in step 1 and is encoded by the entropy encoding circuit DP5, when encoding is performed for each macroblock as in the conventional case, the encoding efficiency becomes poor.

【0074】そこで、符号化装置100が備えるエント
ロピー符号化回路DP5は、テクスチャ閉領域の輪郭線
を抽出し、輪郭線内の画素に対してのみ符号化するよう
になされている。
Therefore, the entropy coding circuit DP5 included in the coding apparatus 100 extracts the contour line of the texture closed region and codes only the pixels within the contour line.

【0075】以下、エントロピー符号化回路DP5につ
いて具体的に説明する。
The entropy coding circuit DP5 will be specifically described below.

【0076】エントロピー符号化回路DP5は、図3に
示すように、エッジ領域バッファFP0と、エッジ領域
バッファFP0の出力が供給されるエッジ領域膨張回路
FP1と、エッジ領域膨張回路FP1の出力及び上記図
1に示した差分回路DP4の出力が各々供給されるテク
スチャ領域分離回路FP2と、テクスチャ領域分離回路
FP2の出力が各々供給される直交変換回路FP4及び
輪郭線リスト化回路FP3と、直交変換回路FP4の出
力及び輪郭線リスト化回路FP3の出力が各々供給され
る量子化回路FP5と、量子化回路FP5の出力及び輪
郭線リスト化回路FP3の出力が各々供給される可変長
符号化回路FP6と、可変長符号化回路FP6の出力が
供給される出力バッファFP7とを備えている。
As shown in FIG. 3, the entropy coding circuit DP5 includes an edge area buffer FP0, an edge area expansion circuit FP1 to which the output of the edge area buffer FP0 is supplied, an output of the edge area expansion circuit FP1 and the above-mentioned diagram. 1. The texture area separation circuit FP2 to which the output of the difference circuit DP4 shown in 1 is respectively supplied, the orthogonal transformation circuit FP4 and the contour line listing circuit FP3 to which the outputs of the texture area separation circuit FP2 are respectively provided, and the orthogonal transformation circuit FP4. And a variable length coding circuit FP6 to which the output of the quantizing circuit FP5 and the output of the contour line listing circuit FP3 are respectively supplied, The output buffer FP7 is supplied with the output of the variable length coding circuit FP6.

【0077】まず、エッジ領域バッファFP0には、符
号化装置100に備えられた上述したエッジ領域抽出回
路からのエッジ領域信号CD9が格納される。
First, the edge area buffer FP0 stores the edge area signal CD9 from the above-described edge area extraction circuit provided in the encoding apparatus 100.

【0078】このエッジ領域抽出回路は、図4に示すよ
うに、例えば、静止画像の画素信号CD0が各々供給さ
れる水平方向のエッジ強度算出回路CP1、垂直方向の
エッジ強度算出回路CP2、及びフィルタリング処理回
路CP3と、エッジ強度算出回路CP1の出力が供給さ
れる乗算器CP4と、エッジ強度算出回路CP2の出力
が供給される乗算器CP5と、乗算器CP4の出力及び
乗算器CP5の出力が各々供給される加算器CP7と、
フィルタリング処理回路CP3の出力が供給されるマス
ク領域設定回路CP6と、加算器CP7の出力及びマス
ク領域設定回路CP6の出力が各々供給される閾値決定
回路CP8と、加算器CP7の出力及び閾値決定回路C
P8の出力が各々供給される比較器CP9とを備えてお
り、比較器CP9の出力がエッジ領域信号CD9として
上記図3に示したエッジ領域バッファBP0に格納され
るようになされている。
As shown in FIG. 4, this edge area extracting circuit includes, for example, a horizontal edge strength calculating circuit CP1, a vertical edge strength calculating circuit CP2, and a filtering circuit to which a pixel signal CD0 of a still image is supplied. The processing circuit CP3, the multiplier CP4 supplied with the output of the edge strength calculation circuit CP1, the multiplier CP5 supplied with the output of the edge strength calculation circuit CP2, the output of the multiplier CP4 and the output of the multiplier CP5, respectively. The supplied adder CP7,
A mask area setting circuit CP6 to which the output of the filtering processing circuit CP3 is supplied, a threshold value determining circuit CP8 to which the output of the adder CP7 and the output of the mask area setting circuit CP6 are respectively supplied, and an output of the adder CP7 and a threshold value determining circuit. C
The comparator CP9 is supplied with the output of P8, and the output of the comparator CP9 is stored as the edge area signal CD9 in the edge area buffer BP0 shown in FIG.

【0079】先ず、静止画である原画像の画素信号CD
0は、エッジ強度算出回路CP1、エッジ強度算出回路
CP2、及びフィルタリング処理回路CP3に各々供給
される。
First, the pixel signal CD of the original image which is a still image
0 is supplied to the edge strength calculation circuit CP1, the edge strength calculation circuit CP2, and the filtering processing circuit CP3, respectively.

【0080】エッジ強度算出回路CP1は、図5に示す
ように、タップ係数が である3×3のソーベルフィルタSHを有しており、こ
のソーベルフィルタSHを用いて、供給された画素信号
CD0から水平方向のエッジ強度を示すエッジ強度信号
CD1を求める。そして、エッジ強度算出回路CP1
は、求めたエッジ強度信号CD1を乗算器CP4に供給
する。
As shown in FIG. 5, the edge strength calculation circuit CP1 has a tap coefficient of In a 3 has a Sobel filter S H of × 3, using the Sobel filter S H, obtains the edge strength signals CD1 in the horizontal direction of the edge intensity from the pixel signal CD0 supplied. Then, the edge strength calculation circuit CP1
Supplies the obtained edge strength signal CD1 to the multiplier CP4.

【0081】エッジ強度算出回路CP2は、図6に示す
ように、タップ係数が 1 0 −1 2 0 −2 1 0 −1 である3×3のソーベルフィルタSVを有しており、こ
のソーベルフィルタSVを用いて、供給された画素信号
CD0から垂直方向のエッジ強度を示すエッジ強度信号
CD2を求める。そして、エッジ強度算出回路CP2
は、求めたエッジ強度信号CD2を乗算器CP4に供給
する。
As shown in FIG. 6, the edge strength calculation circuit CP2 has a 3 × 3 Sobel filter S V having a tap coefficient of 1 0 -1 2 0 -2 1 0 -1. Using the Sobel filter S V , the edge intensity signal CD2 indicating the edge intensity in the vertical direction is obtained from the supplied pixel signal CD0. Then, the edge strength calculation circuit CP2
Supplies the obtained edge strength signal CD2 to the multiplier CP4.

【0082】乗算器CP4は、エッジ強度算出回路CP
1からの水平方向のエッジ強度信号CD1を自乗するこ
とにより水平方向のエッジ強度信号電力CD4を求め、
求めたエッジ強度信号電力CD4を加算器CP7に供給
する。
The multiplier CP4 is an edge strength calculation circuit CP.
The horizontal edge strength signal CD1 from 1 is squared to obtain the horizontal edge strength signal power CD4,
The calculated edge strength signal power CD4 is supplied to the adder CP7.

【0083】乗算器CP5は、エッジ強度算出回路CP
2からの垂直方向のエッジ強度信号CD2を自乗するこ
とにより垂直方向のエッジ強度信号電力CD5を求め、
求めたエッジ強度信号電力CD5を加算器CP7に供給
する。
The multiplier CP5 is an edge strength calculation circuit CP.
The edge strength signal power CD5 in the vertical direction is obtained by squaring the edge strength signal CD2 in the vertical direction from 2.
The calculated edge strength signal power CD5 is supplied to the adder CP7.

【0084】加算器CP7は、乗算器CP4からの水平
方向のエッジ強度信号電力CD4と、乗算器CP5から
の垂直方向のエッジ強度信号電力CD5とを加算し、そ
の加算結果を注目画素のエッジ強度を示す信号(以下、
画素エッジ強度信号と言う。)CD7として比較器CP
9と閾値決定回路CP8に各々供給する。
The adder CP7 adds the horizontal edge strength signal power CD4 from the multiplier CP4 and the vertical edge strength signal power CD5 from the multiplier CP5, and the addition result is the edge strength of the pixel of interest. Signal (hereinafter,
This is called a pixel edge strength signal. ) Comparator CP as CD7
9 and the threshold value determination circuit CP8.

【0085】ここで、このエッジ領域抽出回路では、物
体の輪郭や物体間の境界線等のエッジ領域と、テクスチ
ャ領域内のエッジ領域との各特性の違いを考慮し、エッ
ジ領域とテクスチャ領域を分離するための特徴量とし
て、画素値、すなわち階調値の局所的な変化特性と、大
局的な変化特性を示す指標値を用いる。
In this edge area extraction circuit, the edge area and the texture area are considered in consideration of the differences in characteristics between the edge area such as the outline of the object and the boundary line between the objects and the edge area within the texture area. As a feature amount for separation, a pixel value, that is, a gradation value local change characteristic and an index value indicating a global change characteristic are used.

【0086】階調値の局所的な変化特性を示す特徴量と
しては、エッジ領域であるか否かを判定する際に重要な
特徴量である注目画素のエッジ強度があり、大局的な変
化特性を示す特徴量としては、注目画素周辺の空間周波
数分布がある。このエッジ領域抽出回路では、画素値の
大局的な変化特性を示す特徴量として、空間周波数を示
す特徴量を用いる。
The feature quantity indicating the local change characteristic of the gradation value is the edge strength of the pixel of interest, which is an important feature quantity when determining whether or not it is the edge region, and the global change characteristic is As a feature value indicating the, there is a spatial frequency distribution around the pixel of interest. In this edge area extraction circuit, a feature amount indicating a spatial frequency is used as a feature amount indicating a global change characteristic of a pixel value.

【0087】このため、フィルタリング処理回路CP3
は、例えば、上記図5に示した3×3のソーベルフィル
タSH、又は上記図6に示した3×3のソーベルフィル
タSVと同様の構成をした図示していないハイパスフィ
ルタ(HPF:High Pass Filter)を有しており、この
HPFに供給された画素信号CD0を介することにより
得られたHPFの出力値を出力信号CD3としてマスク
領域設定回路CP6に供給する。
Therefore, the filtering processing circuit CP3
Is, for example, a 3 × 3 Sobel filter S H shown in FIG. 5 or a high pass filter (HPF) (not shown) having the same configuration as the 3 × 3 Sobel filter S V shown in FIG. : High Pass Filter), and supplies the output value of the HPF obtained through the pixel signal CD0 supplied to the HPF to the mask area setting circuit CP6 as the output signal CD3.

【0088】尚、フィルタリング処理回路CP3で用い
るHPFを、ローパスフィルタ(LPF:Low Pass Fil
ter)、又はバンドパスフィルタ(BPF:Band Pass F
ilter)としてもよい。また、HPF、又はLPF、又
はBPFとして用いるフィルタは、3×3のソーベルフ
ィルタSH,SVに限らず、5×5のフィルタや7×7の
フィルタ等、タップ数やタップ係数が異なるフィルタで
もよい。
The HPF used in the filtering processing circuit CP3 is a low pass filter (LPF).
ter) or band pass filter (BPF: Band Pass F)
ilter). The filter used as the HPF, the LPF, or the BPF is not limited to the 3 × 3 Sobel filters S H and S V , and the number of taps and the tap coefficient are different, such as a 5 × 5 filter or a 7 × 7 filter. It may be a filter.

【0089】また、上述したように、画素値の大局的な
変化特性を示す特徴量として、空間周波数を示す特徴量
を用いるため、具体的に言うと、上記空間周波数を示す
特徴量の一定領域内における平均値等を用いるため、マ
スク領域設定回路CP6は、上記空間周波数を示す特徴
量を求める際に必要な局所的な特徴量を得るための窓領
域である、例えば、図7に示すようなマスク領域MA1
A2を注目画素CP周辺に設定する。このマスク領域M
A1,MA2は、上記図7に示すように、注目画素CPが有
するエッジ領域EAの法線方向にある注目画素CPの両側
の一次元の領域である。これにより、エッジ領域EA
境として大きく変わる階調度の変化をエッジ領域EA
両側の特徴量の関係から得ることができる。
Further, as described above, since the feature amount indicating the spatial frequency is used as the feature amount indicating the global change characteristic of the pixel value, specifically, the specific region of the feature amount indicating the spatial frequency is specified. The mask area setting circuit CP6 is a window area for obtaining a local feature amount required when obtaining the feature amount indicating the spatial frequency, for example, as shown in FIG. Mask area M A1 ,
M A2 is set around the target pixel C P. This mask area M
A1, M A2, as shown in FIG. 7, a one-dimensional regions on either side of the target pixel C P in the normal direction of the edge area E A pixel of interest C P has. This makes it possible to obtain a change in gradation that greatly changes with the edge area E A as a boundary from the relationship between the feature amounts on both sides of the edge area E A.

【0090】したがって、マスク領域設定回路CP6
は、フィルタリング処理回路CP3からの出力信号CD
3に対して、上記図7に示したようなマスク領域MA1
A2を設定し、マスク領域MA1,MA2内から求められる
特徴量CD6を算出する。そして、マスク領域設定回路
CP6は、算出した特徴量CD6を閾値決定回路CP8
に供給する。
Therefore, the mask area setting circuit CP6
Is the output signal CD from the filtering processing circuit CP3.
3 for the mask area M A1 , as shown in FIG.
M A2 is set, and the feature amount CD6 obtained from the mask areas M A1 and M A2 is calculated. Then, the mask area setting circuit CP6 uses the calculated feature amount CD6 as the threshold value determining circuit CP8.
To supply.

【0091】閾値決定回路CP8は、加算器CP7から
の画素エッジ強度信号CD7と、マスク領域設定回路C
P6からの特徴量CD6をパラメータとする閾値関数F
()に応じて、閾値を求め、求めた閾値を閾値信号CD
8として比較器CP9に供給する。
The threshold value determining circuit CP8 receives the pixel edge strength signal CD7 from the adder CP7 and the mask area setting circuit C.
Threshold function F with the parameter CD6 from P6 as a parameter
The threshold value is calculated according to (), and the calculated threshold value is used as the threshold signal CD.
8 is supplied to the comparator CP9.

【0092】尚、閾値決定回路CP8で用いられる閾値
関数F()は、テクスチャ領域とエッジ領域を分離する
ために最適である閾値を取ることができるように、シュ
ミレーションにより決定される。例えば、閾値関数
F()は、図8に示すように、注目画素が有するエッジ
強度Eと、マスク領域MA1,MA2内の平均値M1,M2
関係を示す関数であり、定数a,b,cを持って、 {M1−(aE−b)}{M2−(aE−b)} = c ・・・式1 なる式1により表される。したがって、閾値関数F()
は、マスク領域MA1,M A2内の平均値M1,M2により、
閾値Tとなるエッジ強度Eが得られるものである。
The threshold used in the threshold decision circuit CP8
The function F () separates the texture area and the edge area.
So that we can take a threshold that is optimal for
It is determined by millation. For example, the threshold function
F () is an edge of the pixel of interest, as shown in FIG.
Intensity E and mask area MA1, MA2Average value M1, MTwoof
It is a function that shows the relationship, with constants a, b, and c, {M1-(AE-b)} {MTwo-(AE-b)} = c ... represented by Formula 1. Therefore, the threshold function F ()
Is the mask area MA1, M A2Average value M1, MTwoBy
The edge strength E that becomes the threshold value T is obtained.

【0093】比較器CP9は、加算器CP7からの画素
エッジ強度信号CD7と、閾値決定回路CP8からの閾
値信号CD8とから、注目画素がテクスチャ領域である
か、又はエッジ領域であるかを判断し、注目画素がテク
スチャ領域の場合は出力信号であるエッジ領域信号CD
9を「0」、注目画素がエッジ領域の場合はエッジ領域
信号CD9を「1」として出力する。
The comparator CP9 determines from the pixel edge strength signal CD7 from the adder CP7 and the threshold signal CD8 from the threshold determination circuit CP8 whether the pixel of interest is a texture area or an edge area. , The edge area signal CD which is an output signal when the pixel of interest is a texture area
9 is output as "0", and the edge area signal CD9 is output as "1" when the pixel of interest is in the edge area.

【0094】したがって、比較器CP9から出力される
エッジ領域信号CD9を各画素の画素値として得られる
画像、すなわちエッジ画像は、このエッジ領域抽出回路
により抽出されたエッジ領域となる。
Therefore, the image obtained by using the edge area signal CD9 output from the comparator CP9 as the pixel value of each pixel, that is, the edge image is the edge area extracted by the edge area extraction circuit.

【0095】また、このエッジ領域抽出回路は、輝度信
号だけでなく、色差信号からもエッジ情報を求め、輝度
信号から得られたエッジ情報と色差信号から得られたエ
ッジ情報を合成するエッジ分離方式を用いることによ
り、輝度変化の少ない領域においても、物体間の輪郭や
物体間の境界を抽出することができるようになされてい
る。
The edge area extraction circuit obtains edge information not only from the luminance signal but also from the color difference signal, and combines the edge information obtained from the luminance signal with the edge information obtained from the color difference signal. By using, it is possible to extract the contours between objects and the boundaries between objects even in a region where the change in luminance is small.

【0096】上述のようなエッジ領域抽出回路から出力
されるエッジ領域信号CD9が上記図3に示したエッジ
領域バッファFP0を介してエッジ領域膨張回路FP1
に供給される。
The edge area expansion circuit FP1 outputs the edge area signal CD9 output from the edge area extraction circuit as described above via the edge area buffer FP0 shown in FIG.
Supplied to

【0097】エッジ領域膨張回路FP1は、エッジ再構
成画像のエッジ領域付近に存在する原画像との誤差の非
常に大きい領域の情報をテクスチャ画像から取り除くた
めのものである。したがって、エッジ領域膨張回路FP
1は、エッジ領域バッファFP0からのエッジ領域信号
CD9において、任意の画素から一定範囲にある画素を
膨張マスク領域として膨張エッジ領域を求める。したが
って、求められた膨張エッジ領域や、上記膨張エッジ領
域以外の領域であるテクスチャ領域は、全て閉領域とな
る。そして、エッジ領域膨張回路FP1は、求めた膨張
エッジ領域の信号(以下、膨張エッジ領域信号と言
う。)FD1をテクスチャ領域分離回路FP2に供給す
る。
The edge area expansion circuit FP1 is for removing from the texture image information of an area having a very large error from the original image existing near the edge area of the edge reconstructed image. Therefore, the edge area expansion circuit FP
In the edge area signal CD9 from the edge area buffer FP0, 1 obtains an expanded edge area using pixels in a certain range from an arbitrary pixel as an expanded mask area. Therefore, the obtained expanded edge area and the texture area other than the expanded edge area are all closed areas. Then, the edge area expansion circuit FP1 supplies the obtained expansion edge area signal (hereinafter referred to as expansion edge area signal) FD1 to the texture area separation circuit FP2.

【0098】テクスチャ領域分離回路FP2には、エッ
ジ領域膨張回路FP1からの膨張エッジ領域信号FD1
が供給されると共に、差分回路DP4から、エッジ画像
再構成処理回路DP3で得られたエッジ再構成画像信号
DD3と、入力画像信号DD0との差分信号であるテク
スチャ画像信号DD4が供給される。
The texture area separation circuit FP2 supplies the expanded edge area signal FD1 from the edge area expansion circuit FP1.
And the texture image signal DD4, which is the difference signal between the edge-reconstructed image signal DD3 obtained by the edge-image reconstruction processing circuit DP3 and the input image signal DD0.

【0099】テクスチャ領域分離回路FP2は、エッジ
領域膨張回路FP1からの膨張エッジ領域信号FD1を
用いて、上記図17に示したように、差分回路DP4か
らのテクスチャ画像信号DD4から膨張エッジ領域MA
を除いた範囲のテクスチャ領域TAの信号のみを抽出
し、抽出したテクスチャ画像信号をテクスチャ領域信号
FD2として、輪郭線リスト化回路FP3と直交変換回
路FP4に各々供給する。
The texture area separation circuit FP2 uses the expanded edge area signal FD1 from the edge area expansion circuit FP1 to convert the texture image signal DD4 from the difference circuit DP4 to the expanded edge area MA as shown in FIG.
Only the signal of the texture area TA excluding the area is extracted, and the extracted texture image signal is supplied as the texture area signal FD2 to the contour line listing circuit FP3 and the orthogonal transformation circuit FP4, respectively.

【0100】この時、テクスチャ領域分離回路FP2
は、膨張エッジ領域のテクスチャ領域信号FD2の画素
値を「0」とし、膨張エッジ領域以外のテクスチャ領域
の画素値を差分回路DP4からのテクスチャ画像信号D
D4として保存する。
At this time, the texture area separation circuit FP2
Sets the pixel value of the texture area signal FD2 of the expanded edge area to "0" and sets the pixel value of the texture area other than the expanded edge area to the texture image signal D from the difference circuit DP4.
Save as D4.

【0101】輪郭線リスト化回路FP3は、テクスチャ
領域分離回路FP2からのテクスチャ領域信号FD2に
対して、テクスチャ閉領域又はエッジ閉領域の輪郭線の
抽出処理及びリスト化処理を行う。
The contour line listing circuit FP3 extracts and lists the contour lines of the texture closed region or the edge closed region for the texture region signal FD2 from the texture region separation circuit FP2.

【0102】図9は、輪郭線リスト化回路FP3の内部
構成を具体的に示したものである。以下、上記図9を用
いて、輪郭線リスト化回路FP3について具体的に説明
する。
FIG. 9 specifically shows the internal structure of the contour line listing circuit FP3. The contour line listing circuit FP3 will be specifically described below with reference to FIG.

【0103】輪郭線リスト化回路FP3は、上記図3に
示したテクスチャ領域分離回路FP2からテクスチャ領
域信号FD2が供給される輪郭線抽出回路AP1と、輪
郭線抽出回路AP1の出力が供給されるリスト化回路A
P0と、リスト化回路AP0の出力が各々供給される全
リスト終了判断回路AP10及び全リスト記憶回路AP
11と、全リスト記憶回路AP11の出力が供給される
出力バッファAP12とを備えている。そして、全リス
ト終了判断回路AP10の出力は、リスト化回路AP0
及び全リスト記憶回路AP11に供給されるようになさ
れており、出力バッファAP12の出力は、上記図3に
示した量子化回路FP5及び可変長符号化回路FP6に
各々供給されるようになされている。
The contour line list formation circuit FP3 is supplied with the contour line extraction circuit AP1 to which the texture region signal FD2 is supplied from the texture region separation circuit FP2 shown in FIG. 3 and the list to which the output of the contour line extraction circuit AP1 is supplied. Conversion circuit A
P0 and the all list end determination circuit AP10 and all list storage circuit AP to which the outputs of the list forming circuit AP0 are supplied, respectively.
11 and an output buffer AP12 to which the outputs of all list storage circuits AP11 are supplied. Then, the output of the all list end determination circuit AP10 is the list forming circuit AP0.
And the entire list storage circuit AP11, and the output of the output buffer AP12 is supplied to the quantization circuit FP5 and the variable length coding circuit FP6 shown in FIG. .

【0104】また、リスト化回路AP0は、輪郭線抽出
回路AP1の出力及び全リスト終了判断回路AP10の
出力が各々供給される開始画素検出回路AP2と、開始
画素検出回路AP2の出力及び全リスト終了判断回路A
P10の出力が各々供給される候補画素検出回路AP3
と、候補画素検出回路AP3の出力が供給される重要度
算出回路AP4と、重要度算出回路AP4の出力が供給
される新注目画素決定回路AP5と、新注目画素決定回
路AP5の出力が供給される累積角度算出回路AP6
と、累積角度算出回路AP6の出力が供給される注目画
素削除回路AP7と、注目画素削除回路AP7の出力が
各々供給される単一リスト終了判断回路AP8及び単一
リスト記憶回路AP9とを備えている。そして、単一リ
スト終了判断回路AP8の出力は、単一リスト記憶回路
AP9及び候補画素検出回路AP3に各々供給されるよ
うになされており、単一リスト記憶回路AP9の出力
は、全リスト終了判断回路AP10及び全リスト記憶回
路AP11に供給されるようになされている。
The list forming circuit AP0 is supplied with the output of the contour line extracting circuit AP1 and the output of the all list end judging circuit AP10, and the output of the start pixel detecting circuit AP2 and the end of all list. Judgment circuit A
Candidate pixel detection circuit AP3 to which each output of P10 is supplied
And the importance calculation circuit AP4 to which the output of the candidate pixel detection circuit AP3 is supplied, the new attention pixel determination circuit AP5 to which the output of the importance calculation circuit AP4 is supplied, and the output of the new attention pixel determination circuit AP5. Cumulative angle calculation circuit AP6
A target pixel deletion circuit AP7 to which the output of the cumulative angle calculation circuit AP6 is supplied, and a single list end determination circuit AP8 and a single list storage circuit AP9 to which the outputs of the target pixel deletion circuit AP7 are respectively supplied. There is. The output of the single list end determination circuit AP8 is supplied to the single list storage circuit AP9 and the candidate pixel detection circuit AP3, respectively, and the output of the single list storage circuit AP9 is the entire list end determination. It is adapted to be supplied to the circuit AP10 and the entire list storage circuit AP11.

【0105】先ず、輪郭線リスト化回路FP3に対する
入力信号として、テクスチャ領域分離回路FP2で得ら
れたテクスチャ領域信号FD2を用い、このテクスチャ
領域信号FD2が輪郭線抽出回路AP1に供給される。
First, the texture region signal FD2 obtained by the texture region separation circuit FP2 is used as an input signal to the contour line listing circuit FP3, and this texture region signal FD2 is supplied to the contour line extraction circuit AP1.

【0106】輪郭線抽出回路AP1は、供給されたテク
スチャ領域信号FD2に対応したテクスチャ領域画像か
らテクスチャ閉領域とエッジ閉領域の輪郭線を抽出す
る。
The contour line extraction circuit AP1 extracts the contour lines of the texture closed region and the edge closed region from the texture region image corresponding to the supplied texture region signal FD2.

【0107】すなわち、輪郭線抽出回路AP1は、図1
0に示すように、テクスチャ領域画像において、エッジ
閉領域EA内の画素値を「0」、テクスチャ閉領域TA
の画素値を「1」とし、画素値が「0」から「1」、又
は「1」から「0」に変化する箇所の画素値が「1」で
ある画素OP1,OP2を輪郭画素としてテクスチャ閉領域
とエッジ閉領域の輪郭線を抽出する。これにより、テク
スチャ領域画像が上記図17に示すように、テクスチャ
閉領域TAとエッジ閉領域MAを囲む実線及び点線に位
置する画素が輪郭線として抽出される。
That is, the contour line extraction circuit AP1 is similar to that shown in FIG.
As shown in 0, in the texture area image, the pixel value in the edge closed area E A is “0”, the pixel value in the texture closed area T A is “1”, and the pixel values are “0” to “1”. , Or the contours of the texture closed region and the edge closed region are extracted with the pixels O P1 and O P2 having the pixel value of “1” at the portion changing from “1” to “0” as contour pixels. As a result, as shown in FIG. 17, the pixels in the texture area image, which are located in solid lines and dotted lines surrounding the texture closed area TA and the edge closed area MA, are extracted as contour lines.

【0108】上述のようにして、輪郭線抽出回路AP1
により抽出された輪郭線は、輪郭線画像信号AD1とし
て、各閉曲線毎に輪郭線をリスト化するリスト化回路A
P0に供給される。
As described above, the contour line extraction circuit AP1
The contour line extracted by means of the list forming circuit A that forms a contour line for each closed curve as a contour line image signal AD1.
Supplied to P0.

【0109】リスト化回路AP0において、先ず、開始
画素検出回路AP2は、輪郭線抽出回路AP1からの輪
郭線画像信号AD1に対応した輪郭線画像内に存在する
画素から任意の閉曲線上の1つの開始画素を検出する。
In the list forming circuit AP0, first, the start pixel detecting circuit AP2 starts one on an arbitrary closed curve from the pixels existing in the contour line image corresponding to the contour line image signal AD1 from the contour line extracting circuit AP1. Detect pixels.

【0110】すなわち、開始画素検出回路AP2は、輪
郭線画像信号AD1に対応した輪郭線画像の縁の1画素
から一方向に検索し、最初に検出した輪郭画素をその閉
曲線リストの開始画素とする。例えば、上記図17に示
した画像に対して、開始画素検出回路AP2は、図11
に示すように、画像の左上端の画素DSを検索開始点P
startとし、水平方向に順に検索する。その結果、最初
に検出した輪郭画素、すなわちテクスチャ閉領域の輪郭
線上の画素が開始画素DL1として検出される。そして、
開始画素検出回路AP2は、上述のようにして検出した
開始画素DL1の信号を開始画素信号AD2として候補画
素検出回路AP3に供給する。
That is, the start pixel detection circuit AP2 searches in one direction from one pixel at the edge of the contour line image corresponding to the contour line image signal AD1 and sets the first detected contour pixel as the start pixel of the closed curve list. . For example, with respect to the image shown in FIG.
, The pixel D S at the upper left corner of the image is searched at the search start point P
Start and search horizontally in order. As a result, the first detected contour pixel, that is, the pixel on the contour line of the texture closed region is detected as the start pixel D L1 . And
The start pixel detection circuit AP2 supplies the signal of the start pixel D L1 detected as described above to the candidate pixel detection circuit AP3 as the start pixel signal AD2.

【0111】候補画素検出回路AP3は、次にリスト化
する輪郭線画素を決定するために、開始画素検出回路A
P2からの開始画素信号AD2に基いて、開始画素DL1
の隣に存在する輪郭線画素を候補画素として検出する。
候補画素を検出する際、候補画素検出回路AP3は、注
目画素である開始画素DL1を中心に、3×3画素の窓領
域を開き、その窓領域に存在する開始画素DL1以外の輪
郭画素を検出する。そして、候補画素検出回路AP3
は、検出した輪郭画素の信号を候補画素信号AD3とし
て重要度算出回路AP4に供給する。
The candidate pixel detection circuit AP3 uses the start pixel detection circuit A to determine the contour line pixel to be listed next.
Based on the start pixel signal AD2 from P2, the start pixel D L1
The contour line pixel existing next to is detected as a candidate pixel.
When detecting the candidate pixel, the candidate pixel detection circuit AP3 opens a window region of 3 × 3 pixels around the start pixel D L1 which is the target pixel, and outline pixels other than the start pixel D L1 existing in the window region. To detect. Then, the candidate pixel detection circuit AP3
Supplies the detected contour pixel signal to the importance calculation circuit AP4 as a candidate pixel signal AD3.

【0112】重要度算出回路AP4は、候補画素検出回
路AP3からの候補画素信号AD3に対して、リストの
進行方向に対する位置や両隣の画素配置に応じた重要度
係数を算出する。すなわち、重要度算出回路AP4は、
候補画素のリストの進行方向に対する配置と、進行方向
に対する候補画素の両隣の画素が属する領域から上記重
要度係数を算出する。
The importance calculating circuit AP4 calculates an importance coefficient for the candidate pixel signal AD3 from the candidate pixel detecting circuit AP3 according to the position in the traveling direction of the list and the pixel arrangement on both sides. That is, the importance calculation circuit AP4
The importance coefficient is calculated from the arrangement of the candidate pixel list in the traveling direction and the regions to which pixels on both sides of the candidate pixel in the traveling direction belong.

【0113】この重要度係数を算出する際、図12に示
すように、重要度算出回路AP4は、先ず、リストの進
行方向に対する配置による係数配分に、前注目画素Ppr
と注目画素Pcuに対する候補画素Pcaの位置に応じて、
「1」〜「4」の値を与える。したがって、候補画素
は、リストの進行方向に近い位置に存在するほど大きな
値が与えられることとなる。
When calculating the importance coefficient, as shown in FIG. 12, the importance calculating circuit AP4 firstly calculates the coefficient distribution according to the arrangement in the traveling direction of the list to determine the previous target pixel P pr.
And the position of the candidate pixel P ca with respect to the target pixel P cu ,
Values of "1" to "4" are given. Therefore, the candidate pixel is given a larger value as it is located closer to the traveling direction of the list.

【0114】尚、最初に検出された輪郭画素である開始
画素の候補画素を検出する際は、リストの進行方向が不
明であるため、係数配分に一様な値を与えるものとす
る。
When detecting a candidate pixel of the start pixel which is the first detected contour pixel, the coefficient distribution is given a uniform value because the traveling direction of the list is unknown.

【0115】また、重要度算出回路AP4は、リストを
作成する際に、リストの進行方向に対してリストの両側
の画素が各々常に同一のエッジ領域又はテクスチャ領域
に属するように輪郭画素を辿るようにするために、ま
た、後述する閉曲線内部の領域の判別処理のために、注
目画素に対する候補画素の両隣の画素配置による重要度
係数を、候補画素の両隣の画素がエッジ閉領域内の画素
であるか、又はテクスチャ閉領域内の画素であるかによ
り決定する。
Further, when creating the list, the importance calculation circuit AP4 traces the contour pixels so that the pixels on both sides of the list in the traveling direction of the list always belong to the same edge area or texture area. In addition, in order to determine the area inside the closed curve, which will be described later, the importance coefficient based on the pixel arrangement on both sides of the candidate pixel with respect to the target pixel is determined as the pixel on both sides of the candidate pixel in the edge closed area. Yes, or a pixel within the texture closed region.

【0116】例えば、図13に示すように、注目画素P
cuを中心とした3×3画素の窓領域W内の画素の番号を
画素番号1〜8とし、窓領域Wの上下左右の4つの画素
の番号を画素番号9〜12とした場合の重要度算出回路
AP4で決定される重要度係数について説明する。
For example, as shown in FIG.
Importance when the pixel numbers in the 3 × 3 pixel window area W centered on cu are pixel numbers 1 to 8 and the four pixel numbers on the top, bottom, left and right of the window area W are pixel numbers 9 to 12 The importance coefficient determined by the calculation circuit AP4 will be described.

【0117】表1は、候補画素が画素番号1〜8の画素
となった時の各々の両隣の画素の画素番号を示したもの
である。
Table 1 shows the pixel numbers of adjacent pixels on both sides when the candidate pixels are the pixels of pixel numbers 1-8.

【0118】[0118]

【表1】 [Table 1]

【0119】ここで、重要度算出回路AP4は、リスト
の進行方向の左側にテクスチャ領域、右側にエッジ領域
が位置するように輪郭画素をたどるものとする。
Here, the importance calculation circuit AP4 traces contour pixels so that the texture area is located on the left side and the edge area is located on the right side in the traveling direction of the list.

【0120】そこで、重要度算出回路AP4は、注目画
素に対する候補画素の両隣の画素配置が[左:右]=
[テクスチャ画素:エッジ画素]の場合は重要度係数を
「10」とし、[左:右]=[テクスチャ画素:テクス
チャ画素]の場合は重要度係数を「5」とし、[左:
右]=[エッジ画素:テクスチャ画素]の場合は重要度
係数を「0」とする。
Therefore, in the importance calculation circuit AP4, the pixel arrangement on both sides of the candidate pixel for the target pixel is [left: right] =
In the case of [texture pixel: edge pixel], the importance coefficient is set to “10”, and when [left: right] = [texture pixel: texture pixel], the importance coefficient is set to “5”, and [left:
Right] = [edge pixel: texture pixel], the importance coefficient is set to “0”.

【0121】そして、重要度算出回路AP4は、上述の
ようにして決定した重要度係数を個々の候補画素毎に合
計し、その合計結果を重要度係数信号AD4として新注
目画素決定回路AP5に供給する。
Then, the importance calculation circuit AP4 sums the importance coefficients determined as described above for each individual candidate pixel, and supplies the total result to the new target pixel determination circuit AP5 as the importance coefficient signal AD4. To do.

【0122】新注目画素決定回路AP5は、次の候補画
素を決定するために、重要度算出回路AP4からの重要
度係数信号AD4により、最も大きい重要度係数を有す
る候補画素を次の注目画素として決定し、決定した注目
画素を新注目画素とする。これにより、左右の画素配置
が正しい候補画素の中で、リストの進行方向に最も近い
候補画素が次の注目画素となる。そして、新注目画素決
定回路AP5は、決定した新注目画素の信号(以下、新
注目画素信号と言う。)AD5を累積角度算出回路AP
6に供給する。
In order to determine the next candidate pixel, the new pixel-of-interest determination circuit AP5 uses the importance coefficient signal AD4 from the importance calculation circuit AP4 as the candidate pixel having the largest importance coefficient as the next pixel of interest. The determined target pixel is determined as the new target pixel. As a result, among the candidate pixels whose right and left pixel arrangements are correct, the candidate pixel closest to the traveling direction of the list becomes the next target pixel. Then, the new pixel-of-interest determination circuit AP5 outputs the signal of the determined new pixel-of-interest (hereinafter referred to as the new pixel-of-interest signal) AD5 to the cumulative angle calculation circuit AP.
6

【0123】累積角度算出回路AP6は、新注目画素決
定回路AP5からの新注目画素信号AD5に基いて、注
目画素と新注目画素の位置関係からリストの進行方向が
どの程度回転したかを図14に示すような角度係数を用
いて表し、開始画素から各画素に対する角度係数を累積
する。
Based on the new pixel-of-interest signal AD5 from the new pixel-of-interest determination circuit AP5, the cumulative angle calculation circuit AP6 shows how much the traveling direction of the list is rotated based on the positional relationship between the pixel of interest and the new pixel-of-interest. This is represented by using the angle coefficient as shown in, and the angle coefficient for each pixel is accumulated from the start pixel.

【0124】上記図14は、上記図12に示したように
重要度係数が決定された場合の各画素の角度係数を示し
たものである。上記図14に示すように、角度係数のリ
ストの進行方向に対する配置による配分は、注目画素P
cuと新注目画素Pprに対する候補画素Pcaの位置に応じ
て、「0」〜「3」、「−1」〜「−3」の係数が与え
られる。
FIG. 14 shows the angle coefficient of each pixel when the importance coefficient is determined as shown in FIG. As shown in FIG. 14, the distribution of the angle coefficient by the arrangement in the traveling direction is determined by the pixel of interest P.
Coefficients "0" to "3" and "-1" to "-3" are given according to the position of the candidate pixel P ca with respect to cu and the new pixel of interest P pr .

【0125】そして、累積角度算出回路AP6は、上記
図14に示した角度係数を用いて得られた角度係数の累
積結果(以下、累積角度情報と言う。)と新注目画素の
位置情報からなる出力信号AD6を生成し、生成した出
力信号AD6を注目画素削除回路AP7に供給する。
Then, the cumulative angle calculation circuit AP6 is made up of the cumulative result of the angle coefficient (hereinafter referred to as cumulative angle information) obtained by using the angle coefficient shown in FIG. 14 and the position information of the new pixel of interest. The output signal AD6 is generated, and the generated output signal AD6 is supplied to the target pixel deleting circuit AP7.

【0126】注目画素削除回路AP7は、累積角度算出
回路AP6からの出力信号AD6、すなわち累積角度情
報と、新注目画素の位置情報からなる信号に基いて、輪
郭線抽出回路AP1で得られた輪郭画像から注目画素と
なった画素を削除する。これにより、リストに組み込ま
れた輪郭画素は、上記輪郭画像から順に削除されていく
こととなる。そして、注目画素削除回路AP7は、新注
目画素の位置情報と、新注目画素の削除後の輪郭画像の
信号とからなる出力信号AD7を生成し、生成した出力
信号AD7を単一リスト終了判断回路AP8と単一リス
ト記憶回路AP9に各々供給する。
The pixel-of-interest deletion circuit AP7 has the contour obtained by the contour line extraction circuit AP1 based on the output signal AD6 from the cumulative angle calculation circuit AP6, that is, the signal consisting of the cumulative angle information and the position information of the new pixel of interest. The pixel that becomes the pixel of interest is deleted from the image. As a result, the contour pixels incorporated in the list are sequentially deleted from the contour image. Then, the attention pixel deletion circuit AP7 generates an output signal AD7 including the position information of the new attention pixel and the signal of the contour image after the deletion of the new attention pixel, and the generated output signal AD7 is the single list end determination circuit. It is supplied to AP8 and single list storage circuit AP9, respectively.

【0127】単一リスト終了判断回路AP8は、注目画
素削除回路AP7からの出力信号AD7、すなわち新注
目画素の位置情報と、新注目画素の削除後の輪郭画像の
信号とからなる信号を用いて、新注目画素がリストの開
始画素と同一であると判断した場合は、閉曲線に対する
リスト化が完了したと見なし、その完了を示す単一リス
ト化完了信号AD8を単一リスト記憶回路AP9と上述
した候補画素検出回路AP3に各々供給する。また、単
一リスト終了判断回路AP8は、新注目画素がリストの
開始画素と同一でないと判断した場合は、閉曲線に対す
るリスト化が完了していないと見なし、その未完了を示
す単一リスト化未完了信号AD8を単一リスト記憶回路
AP9と上述した候補画素検出回路AP3に各々供給す
る。
The single list end judgment circuit AP8 uses the output signal AD7 from the target pixel deletion circuit AP7, that is, the signal consisting of the position information of the new target pixel and the signal of the contour image after the deletion of the new target pixel. When it is determined that the new pixel of interest is the same as the start pixel of the list, it is considered that the list formation for the closed curve is completed, and the single list formation completion signal AD8 indicating the completion is described above as the single list storage circuit AP9. It is supplied to the candidate pixel detection circuit AP3. When the single list end determination circuit AP8 determines that the new pixel of interest is not the same as the start pixel of the list, the single list termination determination circuit AP8 considers that the list of closed curves has not been completed, and indicates that the single curve has not been completed. The completion signal AD8 is supplied to the single list storage circuit AP9 and the above-described candidate pixel detection circuit AP3.

【0128】単一リスト記憶回路AP9は、注目画素削
除回路AP7からの出力信号AD7をリスト情報として
記憶する。
The single list storage circuit AP9 stores the output signal AD7 from the target pixel deletion circuit AP7 as list information.

【0129】また、単一リスト記憶回路AP9は、単一
リスト終了判断回路AP8から単一リスト化完了信号A
D8が供給された場合には、記憶したリスト情報を単一
リスト信号AD9として、全リスト終了判断回路AP1
0と全リスト記憶回路AP11に各々供給する。この
時、単一リスト記憶回路AP9は、上述した閉曲線内部
の領域の判別処理を行う。
Further, the single list storage circuit AP9 outputs the single list completion signal A from the single list end judgment circuit AP8.
When D8 is supplied, the stored list information is used as the single list signal AD9, and the all list end determination circuit AP1
0 and supplied to the entire list storage circuit AP11. At this time, the single list storage circuit AP9 performs the above-described region determination processing inside the closed curve.

【0130】すなわち、単一リスト記憶回路AP9は、
各閉領域のリスト化が完了した時点で、記憶したリスト
情報により、そのリスト情報の累積角度係数が「0」以
上の場合には、リスト化の際に閉曲線を左回りに辿った
ことから、上記リスト情報は、内部がテクスチャ閉領域
の閉曲線と見なし、上記累積角度係数が「0」以下の場
合には、リスト化の際に閉曲線を右回りに辿ったことか
ら、上記リスト情報は、内部がエッジ閉領域の閉曲線と
見なして、上記リスト情報を単一リスト信号AD9とし
て全リスト終了判断回路AP10と全リスト記憶回路A
P11に各々供給する。
That is, the single list storage circuit AP9 is
At the time when the listing of each closed region is completed, if the cumulative angle coefficient of the list information is “0” or more, according to the stored list information, the closed curve is traced counterclockwise at the time of listing, The inside of the list information is regarded as a closed curve of a texture closed region, and when the cumulative angle coefficient is “0” or less, the closed curve is traced clockwise in the list formation. Is regarded as a closed curve of the edge closed region, the list information is treated as a single list signal AD9, and the all list end determination circuit AP10 and the all list storage circuit A
Supply to P11 respectively.

【0131】全リスト終了判断回路AP10は、単一リ
スト記憶回路AP9からの単一リスト信号AD9によ
り、輪郭画像中に輪郭画素がまだ存在していると判断し
た場合には、全リスト化未完了信号AD10を開始画素
検出回路AP2と候補画素検出回路AP3に供給する。
When the all list end judging circuit AP10 judges from the single list signal AD9 from the single list storage circuit AP9 that the contour pixels still exist in the contour image, the complete list formation is not completed. The signal AD10 is supplied to the start pixel detection circuit AP2 and the candidate pixel detection circuit AP3.

【0132】これにより、開始画素検出回路AP2は、
全リスト終了判断回路AP10から全リスト化未完了信
号AD10が供給された場合には、上述したような開始
画素の検出を行う。また、候補画素検出回路AP3は、
全リスト終了判断回路AP10から全リスト化未完了信
号AD10が供給された場合には、次にリスト化する輪
郭線画素を決定するための候補画素の検出を行う。した
がって、この場合には、再びリスト化が開始される。
As a result, the start pixel detection circuit AP2 is
When the all-listing completion signal AD10 is supplied from the all-list end determination circuit AP10, the start pixel is detected as described above. Further, the candidate pixel detection circuit AP3 is
When the all-listing completion signal AD10 is supplied from the all-list end determination circuit AP10, candidate pixels for determining the contour line pixel to be listed next are detected. Therefore, in this case, listing is started again.

【0133】また、全リスト終了判断回路AP10は、
単一リスト記憶回路AP9からの単一リスト信号AD9
により、輪郭画像中に輪郭画素が存在しないと判断した
場合には、全リスト化完了信号AD10を全リスト記憶
回路AP11に供給する。
Further, the all list end judgment circuit AP10 is
Single list signal AD9 from single list storage circuit AP9
Thus, when it is determined that there are no contour pixels in the contour image, the all-listing completion signal AD10 is supplied to the all-list storage circuit AP11.

【0134】全リスト記憶回路AP11は、単一リスト
記憶回路AP9からの単一リスト信号AD9を全リスト
化情報として記憶する。そして、全リスト記憶回路AP
11は、全リスト終了判断回路AP10から全リスト化
完了信号AD10が供給された場合には、記憶した全リ
スト化情報を出力信号AD11として出力バッファAP
12を介して出力する。
The all-list storage circuit AP11 stores the single-list signal AD9 from the single-list storage circuit AP9 as all-listing information. And the entire list storage circuit AP
When the all list completion signal AD10 is supplied from the all list end determination circuit AP10, the output buffer AP outputs the stored all list information as an output signal AD11.
Output via 12.

【0135】したがって、輪郭線リスト化回路FP3で
上述したようなリスト化を行った結果、例えば、上記図
11に示した画像において、List1〜List4の
順に閉曲線のリストが生成される。また、List1,
List3,List4は、左回りにリスト化されるた
めテクスチャ閉領域を囲むリストとなり、List2
は、右回りにリスト化されるためエッジ閉領域を囲むリ
ストとなる。
Therefore, as a result of the above-described listing by the contour list listing circuit FP3, for example, in the image shown in FIG. 11, a list of closed curves is generated in the order of List1 to List4. Also, List1,
Since List3 and List4 are listed in the counterclockwise direction, they become a list surrounding the texture closed area.
Is a list enclosing an edge closed region because it is listed clockwise.

【0136】そして、出力バッファAP12から出力さ
れる出力信号AD11は、上記図3に示した輪郭線リス
ト化回路FP3から量子化回路FP5と可変長符号化回
路FP6に各々供給される信号、すなわち輪郭線リスト
化信号FD3となる。
The output signal AD11 output from the output buffer AP12 is the signal supplied from the contour line listing circuit FP3 shown in FIG. 3 to the quantization circuit FP5 and the variable length coding circuit FP6, that is, the contour. It becomes the line listing signal FD3.

【0137】一方、直交変換回路FP4は、テクスチャ
領域分離回路FP2からのテクスチャ領域信号FD2に
対して、5−3フィルタを用いたウェーブレット(Wave
let)変換を行う。直交変換回路FP4は、このウェー
ブレット(Wavelet)変換を行うことにより、画素の位
置情報が保存された直交変換係数を得ることができるよ
うになされている。そして、直交変換回路FP4は、ウ
ェーブレット(Wavelet)変換を行って得られた直交変
換係数信号FD4を量子化回路FP5に供給する。
On the other hand, the orthogonal transformation circuit FP4 uses a wavelet (Wave) using a 5-3 filter for the texture area signal FD2 from the texture area separation circuit FP2.
let) Convert. The orthogonal transform circuit FP4 is configured to be able to obtain an orthogonal transform coefficient in which pixel position information is stored by performing this wavelet transform. Then, the orthogonal transform circuit FP4 supplies the orthogonal transform coefficient signal FD4 obtained by performing the wavelet transform to the quantization circuit FP5.

【0138】量子化回路FP5は、直交変換回路FP4
からの直交変換係数信号FD4を量子化する。この時、
量子化回路FP5は、輪郭線リスト化回路FP3からの
輪郭線リスト化信号FD3を基にして、量子化する際に
用いる量子化ステップサイズを各テクスチャ閉領域内部
の特性に合わせて適応的に変化させる。例えば、領域内
の直交変換係数の振幅値が大きい場合には、大きな量子
化ステップサイズを用い、領域内の直交変換係数の振幅
値が小さい場合には、小さな量子化ステップサイズを用
いる。
The quantization circuit FP5 is the orthogonal transformation circuit FP4.
Quantize the orthogonal transform coefficient signal FD4 from At this time,
The quantization circuit FP5 adaptively changes the quantization step size used for quantization in accordance with the characteristics inside each texture closed region based on the contour line listing signal FD3 from the contour list listing circuit FP3. Let For example, when the amplitude value of the orthogonal transform coefficient in the area is large, a large quantization step size is used, and when the amplitude value of the orthogonal transform coefficient in the area is small, a small quantization step size is used.

【0139】上述のようにして、量子化回路FP5は、
各リスト内の画素情報から抽出される特徴量に従って量
子化ステップサイズを調節し、調節した量子化ステップ
サイズを用いて量子化する。そして、量子化回路FP5
は、量子化して得られた直交変換係数信号FD4を量子
化済直交変換係数信号FD5として可変長符号化回路F
P6に供給する。
As described above, the quantization circuit FP5 is
The quantization step size is adjusted according to the feature amount extracted from the pixel information in each list, and quantization is performed using the adjusted quantization step size. Then, the quantization circuit FP5
Is a variable length coding circuit F as a quantized orthogonal transformation coefficient signal FD5 obtained by quantizing the orthogonal transformation coefficient signal FD4.
Supply to P6.

【0140】可変長符号化回路FP6は、輪郭線リスト
化回路FP3からの輪郭線リスト化信号FD3を基にし
て、量子化回路FP5からの量子化済直交変換係数信号
FD5を符号化し、符号化して得られた符号をテクスチ
ャ符号化データFD6として出力バッファFP7を介し
て出力する。
The variable length coding circuit FP6 codes and codes the quantized orthogonal transform coefficient signal FD5 from the quantization circuit FP5 based on the contour line listing signal FD3 from the contour line listing circuit FP3. The obtained code is output as texture encoded data FD6 via the output buffer FP7.

【0141】したがって、出力バッファFP5から出力
されるテクスチャ符号化データFD6は、上記図1に示
したエントロピー符号化回路DP5から出力される信号
DD5となり、テクスチャ符号化データED3として上
記図2に示した復号化装置200により復号化されるこ
ととなる。
Therefore, the texture coded data FD6 output from the output buffer FP5 becomes the signal DD5 output from the entropy coding circuit DP5 shown in FIG. 1, and the texture coded data ED3 shown in FIG. 2 is obtained. It will be decrypted by the decryption device 200.

【0142】上述のように、符号化装置100では、エ
ントロピー符号化回路DP5により、テクスチャ画像中
のテクスチャ閉領域及びエッジ閉領域の輪郭線を抽出し
てリスト化するため、テクスチャ閉領域内の情報のみを
符号化することができる。したがって、符号化効率を向
上させることができる。また、動画像を処理対象画像と
した場合、各フレーム内のテクスチャ閉領域を前後のフ
レーム内のテクスチャ閉領域と対応付けすることによ
り、テクスチャ閉領域の動き補償処理に用いることがで
きる。これにより、符号化効率をさらに向上させること
ができる。
As described above, in the encoding device 100, the entropy encoding circuit DP5 extracts the outlines of the texture closed region and the edge closed region in the texture image and lists them, so that the information in the texture closed region is stored. Only can be encoded. Therefore, the coding efficiency can be improved. Further, when a moving image is used as a processing target image, the texture closed region in each frame is associated with the texture closed regions in the preceding and subsequent frames, and can be used for motion compensation processing of the texture closed region. Thereby, the coding efficiency can be further improved.

【0143】上述したような符号化装置100で得られ
たテクスチャ符号化データED3を復号化する上記図2
に示した復号化装置200のテクスチャ復号化回路EP
3について具体的に説明する。
The above-mentioned FIG. 2 for decoding the texture coded data ED3 obtained by the above-described coding device 100 is used.
Texture decoding circuit EP of the decoding device 200 shown in FIG.
3 will be specifically described.

【0144】このテクスチャ復号化回路EP3は、図1
5に示すようなリスト復号化処理回路を備えており、先
ず、符号化装置100のエントロピー符号化回路DP5
で得られたテクスチャ符号化データED3を復号化し、
復号化したテクスチャ符号化データED3の輪郭線リス
ト信号、すなわち上記図9に示したようにして輪郭線リ
スト回路FP3により得られた輪郭線リスト化信号FD
3(=AD11)を上記リスト復号化処理回路に供給す
る。
The texture decoding circuit EP3 shown in FIG.
5, the entropy encoding circuit DP5 of the encoding apparatus 100 is provided.
Decode the texture encoded data ED3 obtained in
The contour line list signal of the decoded texture coded data ED3, that is, the contour line list signal FD obtained by the contour line list circuit FP3 as shown in FIG.
3 (= AD11) is supplied to the list decoding processing circuit.

【0145】上記リスト復号化処理回路は、上記図15
に示すように、輪郭線リストフレームバッファGP9を
介して輪郭線リスト化信号FD3が供給されるリスト開
始ヘッダ検出回路GP1と、リスト開始ヘッダ検出回路
GP1の出力が供給される情報読出回路GP0と、情報
読出回路GP0の出力が供給される輪郭線再構成回路G
P5と、輪郭線再構成回路GP5の出力及び情報読出回
路GP0の出力が各々供給される閉領域内部再構成回路
GP6と、閉領域内部再構成回路GP6の出力が供給さ
れる全リスト終了ヘッダ検出回路GP7と、全リスト終
了ヘッダ検出回路GP7の出力及び閉領域内部再構成回
路GP6の出力が各々供給される再構成画像保存バッフ
ァGP8と、再構成画像保存バッファGP8の出力が供
給される出力バッファGP10とを備えている。そし
て、全リスト終了ヘッダ検出回路GP7の出力は、リス
ト開始ヘッダ検出回路GP1にも供給されるようになさ
れている。
The list decoding processing circuit is the same as that shown in FIG.
As shown in, the list start header detection circuit GP1 to which the contour line listing signal FD3 is supplied through the contour list frame buffer GP9, and the information read circuit GP0 to which the output of the list start header detection circuit GP1 is supplied, The contour reconstructing circuit G to which the output of the information reading circuit GP0 is supplied
P5, output of contour line reconstructing circuit GP5 and output of information reading circuit GP0 are supplied respectively, closed region internal reconstructing circuit GP6, and output of closed region internal reconstructing circuit GP6 are supplied. The circuit GP7, the reconstructed image storage buffer GP8 to which the output of the all-list end header detection circuit GP7 and the output of the closed region internal reconstruction circuit GP6 are respectively supplied, and the output buffer to which the output of the reconstructed image storage buffer GP8 is supplied. And GP10. The output of the all list end header detection circuit GP7 is also supplied to the list start header detection circuit GP1.

【0146】また、情報読出回路GP0は、リスト開始
ヘッダ検出回路GP1の出力が供給されるリスト情報読
出回路GP2と、リスト情報読出回路GP2の出力が供
給される画素位置情報読出回路GP3と、画素位置情報
読出回路GP3の出力が供給されるリスト終了ヘッダ検
出回路GP4とを備えている。そして、リスト終了ヘッ
ダ検出回路GP4の出力及び画素位置情報読出回路GP
3の出力は、輪郭線再構成回路GP5に供給されると共
に画素位置情報読出回路GP3に供給され、リスト情報
読出回路GP2の出力は、閉領域内部再構成回路GP6
に供給されるようになされている。
The information read circuit GP0 includes a list information read circuit GP2 to which the output of the list start header detection circuit GP1 is supplied, a pixel position information read circuit GP3 to which the output of the list information read circuit GP2 is supplied, and a pixel. A list end header detection circuit GP4 to which the output of the position information reading circuit GP3 is supplied. Then, the output of the list end header detection circuit GP4 and the pixel position information read circuit GP
3 is supplied to the contour line reconstructing circuit GP5 and the pixel position information reading circuit GP3, and the output of the list information reading circuit GP2 is the closed region internal reconstructing circuit GP6.
To be supplied.

【0147】先ず、リスト開始ヘッダ検出回路GP1
は、輪郭線リストフレームバッファGP9からの輪郭線
リスト化信号FD3から各リストの開始を示す開始ヘッ
ダG1を検出し、検出した開始ヘッダG1及び供給され
た輪郭線リスト化信号FD3をリスト情報読出回路GP
2に供給する。
First, the list start header detection circuit GP1
Detects a start header G1 indicating the start of each list from the contour line listing signal FD3 from the contour list frame buffer GP9, and detects the detected start header G1 and the supplied contour listing signal FD3. GP
Feed to 2.

【0148】リスト情報読出回路GP2は、リスト開始
ヘッダ検出回路GP1からの開始ヘッダG1に基いて、
リスト開始ヘッダ検出回路GP1からの輪郭線リスト化
信号FD3から、開始ヘッダ以降に存在するリストの画
素数や内部領域種類等の情報を読み出し、読み出した情
報をリスト内部情報GD2として閉領域内部再構成回路
GP6に供給すると共に、リスト開始ヘッダ検出回路G
P1からの輪郭線リスト化信号FD3を画素位置情報読
出回路GP3に供給する。
The list information reading circuit GP2 is based on the start header G1 from the list start header detecting circuit GP1.
Information such as the number of pixels in the list and the internal area type existing after the start header is read from the contour line listing signal FD3 from the list start header detection circuit GP1, and the read information is used as the list internal information GD2 to reconstruct the closed area inside. The list start header detection circuit G is supplied to the circuit GP6.
The contour line listing signal FD3 from P1 is supplied to the pixel position information reading circuit GP3.

【0149】画素位置情報読出回路GP3は、リスト情
報読出回路GP2からの輪郭線リスト化信号FD3か
ら、各リストの画素の位置情報を読み出し、読み出した
位置情報をリスト画素位置情報GD3として輪郭線再構
成回路GP5に供給すると共に、リスト情報読出回路G
P2からの輪郭線リスト化信号FD3をリスト終了ヘッ
ダ検出回路GP4に供給する。
The pixel position information reading circuit GP3 reads the position information of the pixels of each list from the contour line listing signal FD3 from the list information reading circuit GP2, and reads the read position information as list pixel position information GD3. The list information read circuit G is supplied to the configuration circuit GP5.
The contour line listing signal FD3 from P2 is supplied to the list end header detection circuit GP4.

【0150】リスト終了ヘッダ検出回路GP4は、画素
位置情報読出回路GP3からの輪郭線リスト化信号FD
3、すなわちこのリスト復号化処理回路に供給された輪
郭線リスト化信号FD3からリストの終了を示すリスト
終了ヘッダを検出するまで、リスト終了ヘッダ信号GD
4を「偽=0」として画素位置情報読出回路GP3と輪
郭線再構成回路GP5に各々供給し、リスト終了ヘッダ
を検出した場合に、リスト終了ヘッダ信号GD4を「真
=1」として画素位置情報読出回路GP3と輪郭線再構
成回路GP5に各々供給する。また、リスト終了ヘッダ
検出回路GP4は、画素位置情報読出回路GP3からの
輪郭線リスト化信号FD3を輪郭線再構成回路GP5に
供給する。
The end-of-list header detection circuit GP4 receives the contour line listing signal FD from the pixel position information reading circuit GP3.
3, that is, until the list end header indicating the end of the list is detected from the contour line listing signal FD3 supplied to this list decoding processing circuit, the list end header signal GD
4 is supplied to the pixel position information reading circuit GP3 and the contour reconstructing circuit GP5 with "false = 0", and when the list end header is detected, the list end header signal GD4 is set with "true = 1". The reading circuit GP3 and the contour reconstructing circuit GP5 are supplied respectively. Further, the list end header detection circuit GP4 supplies the contour line listing signal FD3 from the pixel position information reading circuit GP3 to the contour line reconstruction circuit GP5.

【0151】これにより、画素位置情報読出回路GP3
は、リスト終了ヘッダ検出回路GP4からのリスト終了
ヘッダ信号GD4が「真=1」となるまで、上述したよ
うなリスト画素位置情報GD3の読み出し処理を繰り返
し行う。
As a result, the pixel position information reading circuit GP3
Repeats the above-described read processing of the list pixel position information GD3 until the list end header signal GD4 from the list end header detection circuit GP4 becomes “true = 1”.

【0152】また、輪郭線再構成回路GP5は、リスト
終了ヘッダ検出回路GP4からのリスト終了ヘッダ信号
GD4が「真=1」となった場合、画素位置情報読出回
路GP3からのリスト画素位置情報GD3と、画素位置
情報読出回路GP3からの輪郭線リスト化信号FD3と
から輪郭線を再構成し、再構成して得られた輪郭線形状
信号GD5、及び画素位置情報読出回路GP3からの輪
郭線リスト化信号FD3を閉領域内部再構成回路GP6
に供給する。
When the list end header signal GD4 from the list end header detection circuit GP4 is "true = 1", the contour line reconstruction circuit GP5 outputs the list pixel position information GD3 from the pixel position information read circuit GP3. And the contour line listing signal FD3 from the pixel position information reading circuit GP3, the contour line is reconstructed, the contour line shape signal GD5 obtained by the reconstruction, and the contour line list from the pixel position information reading circuit GP3. The converted signal FD3 to the closed region internal reconstruction circuit GP6
To supply.

【0153】閉領域内部再構成回路GP6は、リスト情
報読出回路GP2からのリストの画素数や内部領域種類
等の情報であるリスト内部情報GD2、輪郭線再構成回
路GP5からの輪郭線形状信号GD5、及び輪郭線再構
成回路GP5からの輪郭線リスト化信号FD3により、
内部がテクスチャ領域であると判断した場合には、内部
の画素をテクスチャ係数から復元される画素値で埋め、
内部がエッジ領域であると判断した場合には、内部の画
素を「0」の値で埋めることにより、テクスチャ閉領域
の画像を再構成する。
The closed area internal reconstructing circuit GP6 has list internal information GD2 which is information such as the number of pixels in the list from the list information reading circuit GP2 and the kind of internal area, and the contour line shape signal GD5 from the contour reconstructing circuit GP5. , And the contour line listing signal FD3 from the contour reconstructing circuit GP5,
If it is determined that the inside is the texture area, fill the inside pixels with the pixel values restored from the texture coefficient,
When it is determined that the inside is the edge area, the image of the texture closed area is reconstructed by filling the inside pixels with the value of “0”.

【0154】ここで、閉領域内部再構成回路GP6にお
いて、閉領域の内部の画素を検出する際、各輪郭線にお
いて閉領域内部の任意の一画素を設定し、すなわちテク
スチャ領域の場合には、リストの進行方向に対して左側
に存在する画素を設定し、エッジ領域の場合には、リス
トの進行方向に対して右側に存在する画素を設定し、そ
の注目画素から輪郭画素までの間に存在する画素全てを
閉領域として塗り潰すようにする。
Here, in the closed area internal reconstruction circuit GP6, when detecting a pixel inside the closed area, an arbitrary one pixel inside the closed area is set in each contour line, that is, in the case of a texture area, Pixels existing on the left side with respect to the traveling direction of the list are set, and in the case of an edge area, pixels existing on the right side with respect to the traveling direction of the list are set, and exist between the target pixel and the contour pixel. All pixels to be filled are filled as a closed area.

【0155】この時、例えば、上記図11に示したLi
st1,List2のように、閉曲線の内部に異なる閉
曲線が存在する場合でも、リスト番号順に必ず外側から
復号化するために、テクスチャ閉曲線の内部は、テクス
チャ信号で埋め、エッジ閉曲線の内部は、画素値「0」
を埋める処理を繰り返し行うようにする。これにより、
重なり合う閉領域内部であっても完全に復元することが
できる。
At this time, for example, the Li shown in FIG.
Even if different closed curves exist inside the closed curve like st1 and List2, the inside of the texture closed curve is filled with the texture signal and the inside of the edge closed curve is set to the pixel value in order to always decode from the outside in the order of the list numbers. "0"
The process of filling in is repeated. This allows
It is possible to completely restore even inside the overlapping closed regions.

【0156】そして、閉領域内部再構成回路GP6は、
上述のようにして再構成して得られたテクスチャ閉領域
の画像を再構成画像GD6として、再構成画像保存バッ
ファGP8に保存すると共に、輪郭線再構成回路GP5
からの輪郭線リスト化信号FD3を全リスト終了ヘッダ
検出回路GP7に供給する。
Then, the closed region internal reconstruction circuit GP6 is
The image of the texture closed region obtained by the reconstruction as described above is stored as the reconstructed image GD6 in the reconstructed image storage buffer GP8, and at the same time, the contour line reconstruction circuit GP5.
The contour list forming signal FD3 from the above is supplied to the all list end header detecting circuit GP7.

【0157】全リスト終了ヘッダ検出回路GP7は、閉
領域内部再構成回路GP6からの輪郭線リスト化信号F
D3により、全リストの復号化が終了していないと判断
した場合には、全リスト終了ヘッダ信号GD7を「偽=
0」としてリスト開始ヘッダ検出回路GP1と再構成画
像保存バッファGP8に各々供給し、全リストの復号化
が終了したと判断した場合には、全リスト終了ヘッダ信
号GD7を「真=1」としてリスト開始ヘッダ検出回路
GP1と再構成画像保存バッファGP8に各々供給す
る。
The all-list end header detection circuit GP7 receives the contour line listing signal F from the closed region internal reconstruction circuit GP6.
If it is determined by D3 that the decoding of the entire list is not completed, the entire list end header signal GD7 is set to "false =
0 "to the list start header detection circuit GP1 and the reconstructed image storage buffer GP8, and when it is determined that the decoding of the entire list is completed, the entire list end header signal GD7 is set to" true = 1 ". It is supplied to the start header detection circuit GP1 and the reconstructed image storage buffer GP8.

【0158】これにより、リスト開始ヘッダ検出回路G
P1は、全リスト終了ヘッダ検出回路GP7からの全リ
スト終了ヘッダ信号GD7が「真=1」となるまで、上
述したようなリスト開始ヘッダの検出を行う。すなわ
ち、リスト開始ヘッダ検出回路GP1は、全リスト終了
ヘッダ検出回路GP7からの全リスト終了ヘッダ信号G
D7が「偽=0」であった場合には、次のリストの復号
化を行うためのリスト開始ヘッダを検出する。そして、
再び閉領域の再構成が行われる。
As a result, the list start header detection circuit G
P1 detects the list start header as described above until the all-list end header signal GD7 from the all-list end header detection circuit GP7 becomes “true = 1”. That is, the list start header detection circuit GP1 receives the all list end header signal G from the all list end header detection circuit GP7.
When D7 is "false = 0", the list start header for decoding the next list is detected. And
The closed region is reconstructed again.

【0159】また、再構成画像保存バッファGP8は、
全リスト終了ヘッダ検出回路GP7からの全リスト終了
ヘッダ信号GD7が「真=1」であった場合には、全リ
スト終了ヘッダ信号GD7が「真=1」となるまでに蓄
積された再構成画像GD6をテクスチャ閉領域の再構成
画像GD8として出力バッファGP10を介して出力す
る。
Also, the reconstructed image storage buffer GP8 is
When the all-list end header signal GD7 from the all-list end header detection circuit GP7 is “true = 1”, the reconstructed images accumulated until the all-list end header signal GD7 becomes “true = 1”. The GD6 is output as a reconstructed image GD8 of the texture closed region via the output buffer GP10.

【0160】そして、出力バッファGP10から出力さ
れる再構成画像GD8は、上記図2に示したテクスチャ
復号化回路EP3から出力されるテクスチャ画像信号E
D6となり、このテクスチャ画像信号ED6は、加算回
路EP4に供給されることとなる。
The reconstructed image GD8 output from the output buffer GP10 is the texture image signal E output from the texture decoding circuit EP3 shown in FIG.
Then, the texture image signal ED6 is supplied to the addition circuit EP4.

【0161】上述のように、符号化装置100で得られ
るテクスチャ符号化データED3は、上記図11に示し
たList1,List2のように、閉曲線の内部に異
なる閉曲線が存在する場合でも、必ず外側の閉曲線から
リスト化されたものであるため、復号化装置200でテ
クスチャ符号化データED3を復号化する際には、リス
ト番号順に、テクスチャ閉曲線の内部は、テクスチャ信
号で埋め、エッジ閉曲線の内部は、画素値「0」を埋め
ることにより、重なり合う閉領域内部も完全に復元する
ことができる。
As described above, the texture-encoded data ED3 obtained by the encoding device 100 is always the outside even if different closed curves exist inside the closed curves like List1 and List2 shown in FIG. Since the data are listed from the closed curve, when decoding the texture encoded data ED3 by the decoding device 200, the inside of the texture closed curve is filled with the texture signal and the inside of the edge closed curve is By filling the pixel value “0”, the inside of the overlapping closed region can be completely restored.

【0162】[0162]

【発明の効果】本発明に係る符号化方法では、画像中に
存在する複数の不定形状の閉領域の輪郭線を閉領域内部
の画素値分布と閉領域の輪郭線形状を各閉領域の特徴量
として用いて抽出する。そして、抽出した各輪郭線を符
号化して得られた輪郭線符号化データを出力する。これ
により、閉領域内部の画素に対してのみ符号化すること
ができる。したがって、符号化効率を向上させることが
できる。また、上記画像を動画像とした場合、各フレー
ム内の閉領域を前後のフレーム内の閉領域と対応付けす
ることにより、閉領域の動き補償処理に用いることがで
きる。これにより、符号化効率をさらに向上させること
ができる。
According to the encoding method of the present invention, the contour lines of a plurality of indeterminately shaped closed regions existing in an image are characterized by the pixel value distribution inside the closed regions and the contour lines of the closed regions as the characteristics of each closed region. Use as quantity and extract. Then, the contour line encoded data obtained by encoding each extracted contour line is output. As a result, only the pixels inside the closed region can be encoded. Therefore, the coding efficiency can be improved. When the above image is a moving image, the closed region in each frame is associated with the closed regions in the preceding and succeeding frames, and can be used for motion compensation processing of the closed region. Thereby, the coding efficiency can be further improved.

【0163】また、本発明に係る符号化方法では、閉領
域内の画素と閉領域外の画素を2値化する。そして、2
値化した画素の値が変化する境界の画素を閉領域の輪郭
画素として輪郭線を抽出する。これにより、上記複数の
不定形状の閉領域の輪郭線を抽出することができる。
In the encoding method according to the present invention, the pixels inside the closed area and the pixels outside the closed area are binarized. And 2
A contour line is extracted by using a boundary pixel where the value of the binarized pixel changes as a contour pixel of the closed region. As a result, it is possible to extract the contour lines of the plurality of irregularly shaped closed regions.

【0164】また、本発明に係る符号化方法では、各閉
領域の輪郭線毎に符号化する。これにより、上記複数の
不定形状の閉領域の輪郭線が各閉領域の輪郭線毎に符号
化された輪郭線符号化データを得ることができる。
In the coding method according to the present invention, coding is performed for each contour line of each closed area. As a result, it is possible to obtain contour line encoded data in which the contour lines of the plurality of closed regions of indeterminate shape are encoded for each contour line of each closed region.

【0165】また、本発明に係る符号化方法では、輪郭
線上の任意の一点を開始点として、上記開始点に存在す
る画素から上記輪郭線上の画素を順次辿って符号化す
る。そして、上記開始点に戻った時点で上記輪郭線の符
号化を終了する。これにより、各閉領域の輪郭線を各々
正確に符号化することができる。
Further, in the encoding method according to the present invention, an arbitrary point on the contour line is set as a start point, and the pixels on the contour line are sequentially traced from the pixel existing at the start point for encoding. Then, the encoding of the contour line is terminated when the point returns to the start point. As a result, the contour line of each closed region can be accurately encoded.

【0166】また、本発明に係る符号化方法では、上記
輪郭線上の対象画素を中心とした窓領域中に存在する上
記対象画素以外の上記輪郭線上の画素を候補画素として
検出する。そして、検出した各候補画素のうちの任意の
候補画素を次に符号化する対象画素として選出する。こ
れにより、次に符号化すべき画素を符号化することがで
きる。
Further, in the encoding method according to the present invention, pixels on the contour line other than the target pixel existing in the window area centered on the target pixel on the contour line are detected as candidate pixels. Then, an arbitrary candidate pixel among the detected candidate pixels is selected as a target pixel to be encoded next. As a result, the pixel to be coded next can be coded.

【0167】また、本発明に係る符号化方法では、上記
輪郭線上の画素を符号化する方向に対して対象画素の両
側の画素が各々常に同じ閉領域に属するように次に符号
化する対象画素を検出した各候補画素から選出する。こ
れにより、符号化する方向に対して対象画素の両側の画
素は、常に同じ閉領域に属するものとすることができ
る。
Further, in the encoding method according to the present invention, the target pixel to be encoded next such that the pixels on both sides of the target pixel in the encoding direction of the pixel on the contour line always belong to the same closed region. Is selected from each candidate pixel. With this, the pixels on both sides of the target pixel in the encoding direction can always belong to the same closed region.

【0168】また、本発明に係る符号化方法では、上記
輪郭線上の画素を符号化する方向に近い候補画素を検出
した各候補画素から選出する。これにより、次に符号化
すべき適切な画素を符号化することができる。
Further, in the coding method according to the present invention, candidate pixels close to the direction of coding the pixels on the contour line are selected from each candidate pixel. This makes it possible to code an appropriate pixel to be coded next.

【0169】また、本発明に係る符号化方法では、上記
輪郭線上の画素を符号化する方向に対する候補画素の両
側の領域の種類及び配置に応じて検出した各候補画素の
重要度係数を各々算出する。そして、算出して得た各候
補画素の重要度係数のうち最も大きい重要度係数を有す
る候補画素を選出する。これにより、次に符号化すべき
最も適切な画素を符号化することができる。
In the coding method according to the present invention, the importance coefficient of each candidate pixel detected is calculated according to the type and arrangement of the regions on both sides of the candidate pixel in the direction in which the pixels on the contour line are coded. To do. Then, the candidate pixel having the largest importance coefficient is selected from the calculated importance coefficients of the candidate pixels. As a result, the most appropriate pixel to be coded next can be coded.

【0170】また、本発明に係る符号化方法では、前の
対象画素、現在の対象画素、及び次の対象画素の位置関
係を示す角度変化係数を検出して累積する。そして、そ
の累積結果により符号化が終了した輪郭線の閉領域の種
類を判別して上記符号化が終了した輪郭線の符号化デー
タを出力する。これにより、輪郭線の符号化データを各
閉領域毎に得ることができる。
Further, in the encoding method according to the present invention, the angle change coefficient indicating the positional relationship between the previous target pixel, the current target pixel and the next target pixel is detected and accumulated. Then, the type of the closed region of the contour line for which coding has been completed is discriminated from the accumulated result, and the coded data of the contour line for which the coding has been completed is output. Thereby, the encoded data of the contour line can be obtained for each closed region.

【0171】また、本発明に係る符号化方法では、次の
対象画素が候補画素の中から選出された場合、現在の注
目画素を上記画像から削除した輪郭線画像を生成する。
これにより、符号化された輪郭画素を順に上記画像から
削除した輪郭線画像を得ることができる。
Further, in the encoding method according to the present invention, when the next target pixel is selected from the candidate pixels, a contour line image in which the current pixel of interest is deleted from the image is generated.
This makes it possible to obtain a contour line image in which coded contour pixels are sequentially deleted from the image.

【0172】また、本発明に係る符号化方法では、上記
画像の縁に位置する任意の画素から一方向に検索して上
記輪郭線上の画素を検出する。そして、最初に検出した
上記輪郭線上の画素を上記開始点とする。これにより、
外側の閉領域の輪郭線から順次符号化することができ
る。
Further, in the coding method according to the present invention, the pixels on the contour line are detected by unidirectionally searching from arbitrary pixels located at the edge of the image. The first detected pixel on the contour line is set as the start point. This allows
It is possible to sequentially code from the contour line of the outer closed region.

【0173】また、本発明に係る符号化方法では、上記
輪郭線上の画素が検出されなかった場合に、上記画像中
に存在する複数の不定形状の閉領域の輪郭線の符号化を
終了する。これにより、複数の不定形状の閉領域の輪郭
線を各閉領域の輪郭線毎に正確に符号化することができ
る。
Further, in the coding method according to the present invention, when the pixels on the contour line are not detected, the coding of the contour lines of a plurality of indeterminately shaped closed regions existing in the image is completed. With this, it is possible to accurately encode the contour lines of a plurality of closed regions having an indefinite shape for each contour line of each closed region.

【0174】本発明に係る符号化装置では、抽出手段
は、閉領域内部の画素値分布と閉領域の輪郭線形状を各
閉領域の特徴量として用いることにより、画像中に存在
する複数の不定形状の閉領域の輪郭線を抽出する。そし
て、符号化手段は、上記抽出手段により抽出された各輪
郭線を符号化して得られた輪郭線符号化データを出力す
る。これにより、閉領域内部の画素に対してのみ符号化
することができる。したがって、符号化効率を向上させ
ることができる。また、上記画像を動画像とした場合、
各フレーム内の閉領域を前後のフレーム内の閉領域と対
応付けすることにより、閉領域の動き補償処理に用いる
ことができる。これにより、符号化効率をさらに向上さ
せることができる。
In the encoding device according to the present invention, the extraction means uses the pixel value distribution inside the closed region and the contour line shape of the closed region as the feature amount of each closed region, so that a plurality of indefinite points existing in the image are detected. The contour line of the closed region of the shape is extracted. Then, the encoding means outputs the contour line encoded data obtained by encoding each contour line extracted by the extraction means. As a result, only the pixels inside the closed region can be encoded. Therefore, the coding efficiency can be improved. When the above image is a moving image,
By associating the closed area in each frame with the closed areas in the preceding and following frames, the closed area can be used for the motion compensation processing of the closed area. Thereby, the coding efficiency can be further improved.

【0175】また、本発明に係る符号化装置では、上記
抽出手段は、閉領域内の画素と閉領域外の画素を2値化
し、2値化した画素の値が変化する境界の画素を閉領域
の輪郭画素として輪郭線を抽出する。これにより、上記
複数の不定形状の閉領域の輪郭線を抽出することができ
る。
Further, in the encoding apparatus according to the present invention, the extraction means binarizes the pixels inside the closed area and the pixels outside the closed area and closes the boundary pixels where the value of the binarized pixel changes. A contour line is extracted as a contour pixel of the area. As a result, it is possible to extract the contour lines of the plurality of irregularly shaped closed regions.

【0176】また、本発明に係る符号化装置では、上記
符号化手段は、各閉領域の輪郭線毎に符号化する。これ
により、上記複数の不定形状の閉領域の輪郭線が各閉領
域の輪郭線毎に符号化された輪郭線符号化データを得る
ことができる。
In the coding apparatus according to the present invention, the coding means codes each contour line of each closed region. As a result, it is possible to obtain contour line encoded data in which the contour lines of the plurality of closed regions of indeterminate shape are encoded for each contour line of each closed region.

【0177】また、本発明に係る符号化装置では、上記
符号化手段は、輪郭線上の任意の一点を開始点として、
上記開始点に存在する画素から上記輪郭線上の画素を順
次辿って符号化し、上記開始点に戻った時点で上記輪郭
線の符号化を終了する。これにより、各閉領域の輪郭線
を各々正確に符号化することができる。
Further, in the coding apparatus according to the present invention, the coding means sets an arbitrary point on the contour line as a start point.
The pixels on the contour line are sequentially traced from the pixel existing at the starting point to be coded, and the coding of the contour line is finished when the pixel returns to the starting point. As a result, the contour line of each closed region can be accurately encoded.

【0178】また、本発明に係る符号化装置では、上記
符号化手段の候補画素検出手段をは、上記輪郭線上の対
象画素を中心とした窓領域中に存在する上記対象画素以
外の上記輪郭線上の各画素を候補画素として検出する。
そして、上記候補画素検出手段により検出された各候補
画素のうちの任意の候補画素を次に符号化する対象画素
として選出する。これにより、次に符号化すべき画素を
符号化することができる。
Further, in the encoding device according to the present invention, the candidate pixel detecting means of the encoding means is arranged on the contour line other than the target pixel existing in the window area centered on the target pixel on the contour line. Each pixel of is detected as a candidate pixel.
Then, an arbitrary candidate pixel among the candidate pixels detected by the candidate pixel detecting means is selected as a target pixel to be encoded next. As a result, the pixel to be coded next can be coded.

【0179】また、本発明に係る符号化装置では、上記
符号化手段は、上記輪郭線上の画素を符号化する方向に
対して対象画素の両側の画素が各々常に同じ閉領域に属
するように次に符号化する対象画素を上記候補検出手段
により得られた各候補画素から選出する。これにより、
符号化する方向に対して対象画素の両側の画素は、常に
同じ閉領域に属するものとすることができる。
Further, in the coding apparatus according to the present invention, the coding means is arranged so that pixels on both sides of the target pixel always belong to the same closed area in the direction of coding the pixels on the contour line. The target pixel to be encoded into is selected from each candidate pixel obtained by the candidate detecting means. This allows
Pixels on both sides of the target pixel with respect to the encoding direction can always belong to the same closed region.

【0180】また、本発明に係る符号化装置では、上記
符号化手段は、上記輪郭線上の画素を符号化する方向に
近い候補画素を上記候補検出手段により得られた各候補
画素から選出する。これにより、次に符号化すべき適切
な画素を符号化することができる。
In the coding apparatus according to the present invention, the coding means selects candidate pixels close to the direction in which the pixels on the contour line are coded from among the candidate pixels obtained by the candidate detecting means. This makes it possible to code an appropriate pixel to be coded next.

【0181】また、本発明に係る符号化装置では、上記
符号化手段の重要度算出手段は、上記輪郭線上の画素を
符号化する方向に対する候補画素の両側の領域の種類及
び配置に応じて上記候補画素検出手段により検出された
各候補画素の重要度係数を各々算出する。そして、上記
重要度算出手段により得られた各候補画素の重要度係数
のうち最も大きい重要度係数を有する候補画素を選出す
る。これにより、次に符号化すべき最も適切な画素を符
号化することができる。
Further, in the encoding apparatus according to the present invention, the importance degree calculating means of the encoding means is adapted to the type and arrangement of the regions on both sides of the candidate pixel with respect to the encoding direction of the pixel on the contour line. The importance coefficient of each candidate pixel detected by the candidate pixel detecting means is calculated. Then, the candidate pixel having the largest importance coefficient is selected from the importance coefficients of the candidate pixels obtained by the importance calculating means. As a result, the most appropriate pixel to be coded next can be coded.

【0182】また、本発明に係る符号化装置では、上記
符号化手段の角度変化係数累積手段は、前の対象画素、
現在の対象画素、及び次の対象画素の位置関係を示す角
度変化係数を検出して累積する。そして、上記角度変化
係数累積手段で得られた累積結果により符号化が終了し
た輪郭線の閉領域の種類を判別して上記符号化が終了し
た輪郭線の符号化データを出力する。これにより、輪郭
線の符号化データを各閉領域毎に得ることができる。
Further, in the encoding apparatus according to the present invention, the angle change coefficient accumulating means of the encoding means is the previous target pixel,
The angle change coefficient indicating the positional relationship between the current target pixel and the next target pixel is detected and accumulated. Then, the type of the closed region of the contour line for which the encoding has been completed is determined based on the accumulation result obtained by the angle change coefficient accumulating means, and the encoded data of the contour line for which the encoding has been completed is output. Thereby, the encoded data of the contour line can be obtained for each closed region.

【0183】また、本発明に係る符号化装置では、上記
符号化手段の輪郭画素削除手段は、次の対象画素が候補
画素の中から選出された場合、現在の注目画素を上記画
像から削除した輪郭線画像を生成する。これにより、符
号化された輪郭画素を順に上記画像から削除した輪郭線
画像を得ることができる。
In the coding apparatus according to the present invention, the contour pixel deleting means of the coding means deletes the current pixel of interest from the image when the next target pixel is selected from the candidate pixels. Generate a contour image. This makes it possible to obtain a contour line image in which coded contour pixels are sequentially deleted from the image.

【0184】また、本発明に係る符号化装置では、上記
符号化手段の検出手段は、上記画像の縁に位置する任意
の画素から一方向に検索して上記輪郭線上の画素を検出
する。そして、上記検出手段により最初に検出された上
記輪郭線上の画素を上記開始点とする。これにより、外
側の閉領域の輪郭線から順次符号化することができる。
Further, in the encoding apparatus according to the present invention, the detecting means of the encoding means detects the pixels on the contour line by unidirectionally searching from arbitrary pixels located at the edge of the image. Then, the pixel on the contour line that is first detected by the detection means is set as the start point. As a result, it is possible to sequentially perform coding from the contour line of the outer closed region.

【0185】また、本発明に係る符号化装置では、上記
符号化手段は、上記検出手段により上記輪郭線上の画素
が検出されなかった場合に、上記画像中に存在する複数
の不定形状の閉領域の輪郭線の符号化を終了する。これ
により、複数の不定形状の閉領域の輪郭線を各閉領域の
輪郭線毎に正確に符号化することができる。
Further, in the encoding apparatus according to the present invention, the encoding means may include a plurality of irregularly shaped closed regions existing in the image when the detecting means does not detect a pixel on the contour line. The encoding of the contour line of is finished. With this, it is possible to accurately encode the contour lines of a plurality of closed regions having an indefinite shape for each contour line of each closed region.

【0186】本発明に係る復号化方法では、先ず、画像
中に存在する複数の不定形状の閉領域内部の画素値分布
と閉領域の輪郭線形状を各閉領域の特徴量として用いる
ことにより各閉領域の輪郭線が抽出され、外側の輪郭線
から順次符号化された輪郭線符号化データから上記特徴
量を検出する。次に、上記輪郭線符号化データから上記
閉領域内部に存在する画素を上記閉領域内部の任意の一
画素から上記輪郭線までの間に存在する全ての画素を閉
領域内の画素として検出する。そして、検出した特徴量
及び画素に基いて上記画像を再構成して、符号化された
順に各閉領域毎に上記輪郭線符号化データを復号化す
る。これにより、重なり合う閉領域内の画素も完全に復
元することができる。
In the decoding method according to the present invention, first, by using the pixel value distributions inside a plurality of indefinite-shaped closed regions existing in an image and the contour shape of the closed regions as the feature amount of each closed region, The contour line of the closed region is extracted, and the feature amount is detected from the contour line coded data sequentially coded from the outer contour line. Next, from the contour line encoded data, a pixel existing inside the closed region is detected as all pixels existing between any one pixel inside the closed region and the contour line as pixels within the closed region. . Then, the image is reconstructed based on the detected feature amount and pixels, and the contour coded data is decoded for each closed region in the order of coding. As a result, the pixels in the overlapping closed region can be completely restored.

【0187】本発明に係る復号化装置では、特徴量検出
手段は、画像中に存在する複数の不定形状の閉領域内部
の画素値分布と閉領域の輪郭線形状を各閉領域の特徴量
として用いることにより各閉領域の輪郭線が抽出され、
外側の輪郭線から順次符号化された輪郭線符号化データ
から上記特徴量を検出する。検出手段は、上記輪郭線符
号化データから上記閉領域内部に存在する画素を上記閉
領域内部の任意の一画素から上記輪郭線までの間に存在
する全ての画素を閉領域内の画素として検出する。そし
て、再構成手段は、上記特徴量検出手段により検出され
た特徴量及び上記検出手段により検出された画素に基い
て上記画像を再構成して、符号化された順に各閉領域毎
に上記輪郭線符号化データを復号化する。これにより、
重なり合う閉領域内の画素も完全に復元することができ
る。
In the decoding device according to the present invention, the feature amount detecting means uses the pixel value distribution inside a plurality of indeterminate shaped closed regions existing in the image and the contour shape of the closed regions as the feature amount of each closed region. The outline of each closed region is extracted by using
The feature amount is detected from the contour line encoded data sequentially encoded from the outer contour line. The detecting means detects pixels existing in the closed region from the contour line encoded data, and all pixels existing between any one pixel in the closed region and the contour line as pixels in the closed region. To do. Then, the reconstructing unit reconstructs the image based on the feature amount detected by the feature amount detecting unit and the pixel detected by the detecting unit, and the contour for each closed region in the order of encoding. Decode the line encoded data. This allows
Pixels in the overlapping closed areas can also be completely restored.

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

【図1】本発明に係る符号化方法を適応した3CCの符
号化装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a 3CC coding apparatus to which a coding method according to the present invention is applied.

【図2】本発明に係る復号化方法を適応した3CCの復
号化装置の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a 3CC decoding device to which a decoding method according to the present invention is applied.

【図3】上記符号化装置のエントロピー符号化回路の構
成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of an entropy encoding circuit of the encoding device.

【図4】上記符号化装置のエッジ領域抽出回路の構成を
示すブロック図である。
FIG. 4 is a block diagram showing a configuration of an edge area extraction circuit of the encoding device.

【図5】上記エッジ領域抽出回路のフィルタリング処理
回路で水平エッジの抽出に用いるソーベルフィルタを説
明するための図である。
FIG. 5 is a diagram for explaining a Sobel filter used for extracting a horizontal edge in the filtering processing circuit of the edge area extraction circuit.

【図6】上記フィルタリング処理回路で垂直エッジの抽
出に用いるソーベルフィルタを説明するための図であ
る。
FIG. 6 is a diagram for explaining a Sobel filter used for extracting a vertical edge in the filtering processing circuit.

【図7】上記エッジ領域抽出回路のマスク領域設定回路
で階調値の大局的な特性を得るために用いる1次元のマ
スク領域を説明するための図である。
FIG. 7 is a diagram for explaining a one-dimensional mask area used for obtaining a global characteristic of a gradation value in the mask area setting circuit of the edge area extraction circuit.

【図8】上記エッジ領域抽出回路の閾値決定回路で用い
る閾値決定関数を説明するための図である。
FIG. 8 is a diagram for explaining a threshold decision function used in the threshold decision circuit of the edge area extraction circuit.

【図9】上記エントロピー符号化回路の輪郭線リスト化
回路の構成を示すブロック図である。
FIG. 9 is a block diagram showing a configuration of a contour line listing circuit of the entropy coding circuit.

【図10】上記輪郭線リスト化回路の輪郭線抽出回路に
おけるエッジ閉領域とテクスチャ閉領域の抽出処理を説
明するための図である。
FIG. 10 is a diagram for explaining the extraction processing of the edge closed region and the texture closed region in the contour line extraction circuit of the contour line listing circuit.

【図11】上記輪郭線リスト化回路の開始画素検出回路
で決定される開始点を説明するための図である。
FIG. 11 is a diagram for explaining a start point determined by a start pixel detection circuit of the contour line listing circuit.

【図12】上記輪郭線リスト化回路の重要度算出回路で
算出される重要度係数を説明するための図である。
FIG. 12 is a diagram for explaining an importance coefficient calculated by an importance calculation circuit of the contour line listing circuit.

【図13】上記重要度算出回路で重要度係数を算出する
際の注目画素を中心とした場合の近傍画素の画素番号を
説明するための図である。
FIG. 13 is a diagram for explaining pixel numbers of neighboring pixels when a pixel of interest is the center when calculating the importance coefficient by the importance calculating circuit.

【図14】上記輪郭線リスト化回路の累積角度算出回路
で算出される角度係数を説明するための図である。
FIG. 14 is a diagram for explaining an angle coefficient calculated by a cumulative angle calculation circuit of the contour line listing circuit.

【図15】上記復号化装置のテクスチャ復号化回路の構
成を示すブロック図である。
FIG. 15 is a block diagram showing a configuration of a texture decoding circuit of the decoding device.

【図16】従来のテクスチャ画像の符号化回路の構成を
示すブロック図である。
FIG. 16 is a block diagram showing a configuration of a conventional texture image encoding circuit.

【図17】テクスチャ閉領域とエッジ閉領域を説明する
ための図である。
FIG. 17 is a diagram for explaining a texture closed region and an edge closed region.

【図18】上記符号化回路で得られるテクスチャ閉領域
ブロックを説明するための図である。
FIG. 18 is a diagram for explaining a texture closed region block obtained by the encoding circuit.

【符号の説明】 DP3 エッジ画像再構成処理回路 DP4 差分回路 DP5 エントロピー符号化回路 FP0 エッジ領域バッファ FP1 エッジ領域膨張回路 FP2 テクスチャ領域分離回路 FP3 輪郭線リスト化回路 FP4 直交変換回路 FP5 量子化回路 FP6 可変長符号化回路 FP7 出力バッファ[Description of Codes] DP3 Edge image reconstruction processing circuit DP4 Difference circuit DP5 Entropy coding circuit FP0 Edge area buffer FP1 Edge area expansion circuit FP2 Texture area separation circuit FP3 Contour line listing circuit FP4 Orthogonal transformation circuit FP5 Quantization circuit FP6 Variable Long coding circuit FP7 output buffer

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 5/208 H04N 1/40 B 7/30 103A 9/68 103 7/133 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI Technical display location H04N 5/208 H04N 1/40 B 7/30 103A 9/68 103 7/133 Z

Claims (26)

【特許請求の範囲】[Claims] 【請求項1】 画像中に存在する複数の不定形状の閉領
域の輪郭線を抽出して符号化した輪郭線符号化データを
出力する符号化方法であって、 上記複数の不定形状の閉領域の輪郭線を閉領域内部の画
素値分布と閉領域の輪郭線形状を各閉領域の特徴量とし
て用いて抽出し、抽出した各輪郭線を符号化することを
特徴とする符号化方法。
1. An encoding method for extracting contour lines of a plurality of indeterminate shape closed regions existing in an image and outputting the encoded contour line encoded data, wherein the plurality of indeterminate shape closed regions are provided. The encoding method is characterized in that the contour line is extracted using the pixel value distribution inside the closed region and the contour shape of the closed region as the feature amount of each closed region, and each extracted contour line is encoded.
【請求項2】 閉領域内の画素と閉領域外の画素を2値
化し、2値化した画素の値が変化する境界の画素を閉領
域の輪郭画素として輪郭線を抽出することを特徴とする
請求項1記載の符号化方法。
2. A pixel inside a closed area and a pixel outside the closed area are binarized, and a contour line is extracted by using a boundary pixel where the value of the binarized pixel changes as a contour pixel of the closed area. The encoding method according to claim 1, wherein
【請求項3】 各閉領域の輪郭線毎に符号化することを
特徴とする請求項1記載の符号化方法。
3. The encoding method according to claim 1, wherein encoding is performed for each contour line of each closed region.
【請求項4】 輪郭線上の任意の一点を開始点として、
上記開始点に存在する画素から上記輪郭線上の画素を順
次辿って符号化し、上記開始点に戻った時点で上記輪郭
線の符号化を終了することを特徴とする請求項3記載の
符号化方法。
4. An arbitrary point on the contour line as a starting point,
4. The encoding method according to claim 3, wherein the pixels on the contour line are sequentially traced from the pixels existing at the start point to be encoded, and the encoding of the contour line is terminated when the pixel returns to the start point. .
【請求項5】 上記輪郭線上の対象画素を中心とした窓
領域中に存在する上記対象画素以外の上記輪郭線上の画
素を候補画素として検出し、検出した各候補画素のうち
の任意の候補画素を次に符号化する対象画素として選出
することを特徴とする請求項4記載の符号化方法。
5. A pixel on the contour line other than the target pixel existing in a window area centered on the target pixel on the contour line is detected as a candidate pixel, and any candidate pixel among the detected candidate pixels is detected. 5. The encoding method according to claim 4, wherein is selected as a target pixel to be encoded next.
【請求項6】 上記輪郭線上の画素を符号化する方向に
対して対象画素の両側の画素が各々常に同じ閉領域に属
するように次に符号化する対象画素を検出した各候補画
素から選出することを特徴とする請求項5記載の符号化
方法。
6. A target pixel to be coded next is selected from each candidate pixel so that pixels on both sides of the target pixel in the direction of coding the pixel on the contour line always belong to the same closed region. The encoding method according to claim 5, wherein:
【請求項7】 上記輪郭線上の画素を符号化する方向に
近い候補画素を検出した各候補画素から選出することを
特徴とする請求項5記載の符号化方法。
7. The encoding method according to claim 5, wherein a candidate pixel close to the direction of encoding the pixel on the contour line is selected from the detected candidate pixels.
【請求項8】 上記輪郭線上の画素を符号化する方向に
対する候補画素の両側の領域の種類及び配置に応じて検
出した各候補画素の重要度係数を各々算出し、算出して
得た各候補画素の重要度係数のうち最も大きい重要度係
数を有する候補画素を選出することを特徴とする請求項
5記載の符号化方法。
8. A candidate obtained by calculating the importance coefficient of each candidate pixel detected according to the type and arrangement of regions on both sides of the candidate pixel with respect to the encoding direction of the pixel on the contour line. The encoding method according to claim 5, wherein a candidate pixel having the largest importance coefficient is selected from the importance coefficients of the pixels.
【請求項9】 前の対象画素、現在の対象画素、及び次
の対象画素の位置関係を示す角度変化係数を検出して累
積し、その累積結果により符号化が終了した輪郭線の閉
領域の種類を判別して上記符号化が終了した輪郭線の符
号化データを出力することを特徴とする請求項5記載の
符号化方法。
9. An angle change coefficient indicating a positional relationship between a previous target pixel, a current target pixel, and a next target pixel is detected and accumulated, and a closed region of a contour line of which encoding is completed is accumulated according to the accumulated result. The encoding method according to claim 5, wherein the encoded data of the contour line for which the encoding has been completed is determined and the encoded data is output.
【請求項10】 次の対象画素が候補画素の中から選出
された場合、現在の注目画素を上記画像から削除した輪
郭線画像を生成することを特徴とする請求項5記載の符
号化方法。
10. The encoding method according to claim 5, wherein when the next target pixel is selected from the candidate pixels, a contour line image in which the current pixel of interest is deleted from the image is generated.
【請求項11】 上記画像の縁に位置する任意の画素か
ら一方向に検索して上記輪郭線上の画素を検出し、最初
に検出した上記輪郭線上の画素を上記開始点とすること
を特徴とする請求項4記載の符号化方法。
11. The pixel on the contour line is detected by unidirectionally searching from any pixel located on the edge of the image, and the first detected pixel on the contour line is used as the starting point. The encoding method according to claim 4.
【請求項12】 上記輪郭線上の画素が検出されなかっ
た場合に、上記画像中に存在する複数の不定形状の閉領
域の輪郭線の符号化を終了することを特徴とする請求項
11記載の符号化方法。
12. The encoding of contour lines of a plurality of closed regions of indeterminate shape existing in the image is terminated when a pixel on the contour line is not detected. Encoding method.
【請求項13】 画像中に存在する複数の不定形状の閉
領域の輪郭線を抽出して符号化した輪郭線符号化データ
を出力する符号化装置であって、 上記複数の不定形状の閉領域の輪郭線を抽出する抽出手
段と、 上記抽出手段により抽出された各輪郭線を符号化する符
号化手段とを備え、 上記抽出手段は、閉領域内部の画素値分布と閉領域の輪
郭線形状を各閉領域の特徴量として用いることにより各
閉領域の輪郭線を抽出することを特徴とする符号化装
置。
13. A coding device for extracting contour lines of a plurality of indeterminate shape closed regions existing in an image and outputting the encoded contour line coded data, the plurality of irregular shape closed regions. And an encoding means for encoding each contour line extracted by the extracting means, wherein the extracting means is a pixel value distribution inside the closed region and a contour line shape of the closed region. An encoding device characterized by extracting the contour line of each closed region by using as a feature amount of each closed region.
【請求項14】 上記抽出手段は、閉領域内の画素と閉
領域外の画素を2値化し、2値化した画素の値が変化す
る境界の画素を閉領域の輪郭画素として輪郭線を抽出す
ることを特徴とする請求項13記載の符号化装置。
14. The extraction means binarizes pixels in a closed area and pixels outside the closed area, and extracts a contour line by using a boundary pixel where the value of the binarized pixel changes as a contour pixel of the closed area. The encoding device according to claim 13, wherein
【請求項15】 上記符号化手段は、各閉領域の輪郭線
毎に符号化することを特徴とする請求項13記載の符号
化装置。
15. The encoding apparatus according to claim 13, wherein the encoding means encodes each contour line of each closed region.
【請求項16】 上記符号化手段は、輪郭線上の任意の
一点を開始点として、上記開始点に存在する画素から上
記輪郭線上の画素を順次辿って符号化し、上記開始点に
戻った時点で上記輪郭線の符号化を終了することを特徴
とする請求項15記載の符号化装置。
16. The encoding means encodes an arbitrary point on the contour line as a start point by sequentially tracing pixels on the contour line from pixels existing at the start point, and at the time of returning to the start point. The coding apparatus according to claim 15, wherein coding of the contour line is terminated.
【請求項17】 上記符号化手段は、上記輪郭線上の対
象画素を中心とした窓領域中に存在する上記対象画素以
外の上記輪郭線上の各画素を候補画素として検出する候
補画素検出手段を備え、上記候補画素検出手段により検
出された各候補画素のうちの任意の候補画素を次に符号
化する対象画素として選出することを特徴とする請求項
16記載の符号化装置。
17. The encoding means includes candidate pixel detection means for detecting, as candidate pixels, each pixel on the contour line other than the target pixel existing in a window area centered on the target pixel on the contour line. 17. The encoding apparatus according to claim 16, wherein any of the candidate pixels detected by the candidate pixel detecting means is selected as a target pixel to be encoded next.
【請求項18】 上記符号化手段は、上記輪郭線上の画
素を符号化する方向に対して対象画素の両側の画素が各
々常に同じ閉領域に属するように次に符号化する対象画
素を上記候補検出手段により得られた各候補画素から選
出することを特徴とする請求項17記載の符号化装置。
18. The candidate for the target pixel to be coded next such that pixels on both sides of the target pixel always belong to the same closed region in the direction of coding the pixel on the contour line. 18. The coding apparatus according to claim 17, wherein the coding device is selected from each candidate pixel obtained by the detection means.
【請求項19】 上記符号化手段は、上記輪郭線上の画
素を符号化する方向に近い候補画素を上記候補検出手段
により得られた各候補画素から選出することを特徴とす
る請求項17記載の符号化装置。
19. The encoding unit according to claim 17, wherein the encoding unit selects a candidate pixel close to a direction in which the pixels on the contour line are encoded, from each candidate pixel obtained by the candidate detecting unit. Encoding device.
【請求項20】 上記符号化手段は、上記輪郭線上の画
素を符号化する方向に対する候補画素の両側の領域の種
類及び配置に応じて上記候補画素検出手段により検出さ
れた各候補画素の重要度係数を各々算出する重要度算出
手段を備え、上記重要度算出手段により得られた各候補
画素の重要度係数のうち最も大きい重要度係数を有する
候補画素を選出することを特徴とする請求項17記載の
符号化装置。
20. The importance of each candidate pixel detected by the candidate pixel detecting means according to the type and arrangement of regions on both sides of the candidate pixel with respect to a direction in which the pixels on the contour are encoded, 18. A candidate pixel having a largest importance coefficient is selected from the importance coefficients of the candidate pixels obtained by the importance calculation means, the candidate pixel having a highest importance coefficient is selected. Encoding device described.
【請求項21】 上記符号化手段は、前の対象画素、現
在の対象画素、及び次の対象画素の位置関係を示す角度
変化係数を検出して累積する角度変化係数累積手段を備
え、上記角度変化係数累積手段で得られた累積結果によ
り符号化が終了した輪郭線の閉領域の種類を判別して上
記符号化が終了した輪郭線の符号化データを出力するこ
とを特徴とする請求項17記載の符号化装置。
21. The encoding means includes an angle change coefficient accumulating means for detecting and accumulating an angle change coefficient indicating a positional relationship between a previous target pixel, a current target pixel and a next target pixel, and the angle 18. The coded data of the contour line for which the coding has been completed is output by determining the type of the closed region of the contour line for which the coding has been completed based on the accumulation result obtained by the change coefficient accumulating means. Encoding device described.
【請求項22】 上記符号化手段は、次の対象画素が候
補画素の中から選出された場合、現在の注目画素を上記
画像から削除した輪郭線画像を生成する輪郭画素削除手
段を備えることを特徴とする請求項17記載の符号化装
置。
22. The encoding means comprises contour pixel deleting means for generating a contour line image in which the current pixel of interest is deleted from the image when the next target pixel is selected from the candidate pixels. 18. The encoding device according to claim 17, which is characterized in that
【請求項23】 上記符号化手段は、上記画像の縁に位
置する任意の画素から一方向に検索して上記輪郭線上の
画素を検出する検出手段を備え、上記検出手段により最
初に検出された上記輪郭線上の画素を上記開始点とする
ことを特徴とする請求項16記載の符号化装置。
23. The encoding means comprises a detection means for detecting a pixel on the contour line by unidirectionally searching from an arbitrary pixel located at an edge of the image, and first detected by the detection means. The encoding device according to claim 16, wherein a pixel on the contour line is set as the starting point.
【請求項24】 上記符号化手段は、上記検出手段によ
り上記輪郭線上の画素が検出されなかった場合に、上記
画像中に存在する複数の不定形状の閉領域の輪郭線の符
号化を終了することを特徴とする請求項23記載の符号
化装置。
24. The encoding means terminates the encoding of the contour lines of a plurality of irregularly shaped closed regions existing in the image when the detecting means does not detect pixels on the contour line. 24. The encoding device according to claim 23, wherein:
【請求項25】 画像中に存在する複数の不定形状の閉
領域内部の画素値分布と閉領域の輪郭線形状を各閉領域
の特徴量として用いることにより各閉領域の輪郭線が抽
出され、外側の輪郭線から順次符号化された輪郭線符号
化データを復号化する復号化方法であって、 上記輪郭線符号化データから上記特徴量を検出し、上記
輪郭線符号化データから上記閉領域内部に存在する画素
を上記閉領域内部の任意の一画素から上記輪郭線までの
間に存在する全ての画素を閉領域内の画素として検出
し、検出した特徴量及び画素に基いて上記画像を再構成
して、符号化された順に各閉領域毎に上記輪郭線符号化
データを復号化することを特徴とする復号化方法。
25. A contour line of each closed region is extracted by using a pixel value distribution inside a plurality of indefinite-shaped closed regions existing in an image and a contour line shape of the closed region as a feature amount of each closed region, A decoding method for decoding contour coded data sequentially coded from an outer contour line, wherein the feature amount is detected from the contour coded data, and the closed region is obtained from the contour coded data. Pixels existing inside are detected as all pixels existing between any one pixel inside the closed area and the contour line as pixels within the closed area, and the image is displayed based on the detected feature amount and pixels. A decoding method comprising reconstructing and decoding the contour coded data for each closed region in the order of coding.
【請求項26】 画像中に存在する複数の不定形状の閉
領域内部の画素値分布と閉領域の輪郭線形状を各閉領域
の特徴量として用いることにより各閉領域の輪郭線が抽
出され、外側の輪郭線から順次符号化された輪郭線符号
化データを復号化する復号化装置であって、 上記輪郭線符号化データから上記特徴量を検出する特徴
量検出手段と、 上記輪郭線符号化データから上記閉領域内部に存在する
画素を上記閉領域内部の任意の一画素から上記輪郭線ま
での間に存在する全ての画素を閉領域内の画素として検
出する検出手段と、 上記特徴量検出手段により検出された特徴量及び上記検
出手段により検出された画素に基いて上記画像を再構成
する再構成手段とを備え、 符号化された順に各閉領域毎に上記輪郭線符号化データ
を復号化することを特徴とする復号化装置。
26. A contour line of each closed region is extracted by using a pixel value distribution inside a plurality of indeterminate shaped closed regions existing in an image and a contour line shape of the closed region as a feature amount of each closed region, A decoding device for decoding contour coded data sequentially coded from an outer contour line, comprising: feature amount detection means for detecting the feature amount from the contour line coded data; Detection means for detecting pixels existing in the closed region from the data as all pixels existing between the arbitrary one pixel in the closed region and the contour line as pixels in the closed region; A reconstructing means for reconstructing the image based on the feature amount detected by the means and the pixels detected by the detecting means, and decoding the contour line encoded data for each closed region in the order of encoding. To turn Decoding apparatus according to symptoms.
JP7315290A 1995-12-04 1995-12-04 Method for device for encoding, and method and device for decoding Withdrawn JPH09161078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7315290A JPH09161078A (en) 1995-12-04 1995-12-04 Method for device for encoding, and method and device for decoding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7315290A JPH09161078A (en) 1995-12-04 1995-12-04 Method for device for encoding, and method and device for decoding

Publications (1)

Publication Number Publication Date
JPH09161078A true JPH09161078A (en) 1997-06-20

Family

ID=18063625

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7315290A Withdrawn JPH09161078A (en) 1995-12-04 1995-12-04 Method for device for encoding, and method and device for decoding

Country Status (1)

Country Link
JP (1) JPH09161078A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6717697B1 (en) 1998-07-02 2004-04-06 Fuji Photo Film Co., Ltd. Image-component rendering method and recording medium in which image-component rendering program is recorded
JP2014107683A (en) * 2012-11-27 2014-06-09 Kyocera Document Solutions Inc Image processing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6717697B1 (en) 1998-07-02 2004-04-06 Fuji Photo Film Co., Ltd. Image-component rendering method and recording medium in which image-component rendering program is recorded
JP2014107683A (en) * 2012-11-27 2014-06-09 Kyocera Document Solutions Inc Image processing device
US9165205B2 (en) 2012-11-27 2015-10-20 Kyocera Document Solutions Inc. Image processing device generating character image and background image on the basis of connected pixel group

Similar Documents

Publication Publication Date Title
JP4186242B2 (en) Image signal processing apparatus and image signal processing method
JPS63299587A (en) High efficient encode device
EP1404136A1 (en) Image encoder, image decoder, image encoding method, and image decoding method
JPH0723422A (en) Video signal band compression equipment of digital vtr
EP1821548B1 (en) Method for pre-suppressing image noise.
JP3365784B2 (en) Image signal decoding device
US20070104382A1 (en) Detection of local visual space-time details in a video signal
JP3674186B2 (en) Image information conversion apparatus and method
JPH11205792A (en) Block distortion reducing method and its device
JPH09161078A (en) Method for device for encoding, and method and device for decoding
JP3955910B2 (en) Image signal processing method
JP3496734B2 (en) Edge region detecting apparatus and method
JP3760517B2 (en) Image signal processing apparatus and method
JPH0738762A (en) Control system for post-processing filter for video codec
JP3736291B2 (en) Image signal decoding apparatus and method
US7123776B2 (en) Method of processing digital images for low-bit rate applications
JPH10276433A (en) Block noise eliminating device
JP2001094996A (en) Block distortion reduction method and block distortion reduction device
JPH04970A (en) Picture signal decoding and reproducing device
JPH07307942A (en) Image noise removing device
KR100712382B1 (en) Preprocessing filtering method for H.264 video coding standard
JPH03167962A (en) Block distortion improving system
CN113055670B (en) HEVC/H.265-based video coding method and system
JP3634345B2 (en) Image encoding method and image encoding apparatus
JPH10191332A (en) Block distortion reducing device and method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030204