JPH06339030A - Area shape encoding and decoding system - Google Patents

Area shape encoding and decoding system

Info

Publication number
JPH06339030A
JPH06339030A JP12855693A JP12855693A JPH06339030A JP H06339030 A JPH06339030 A JP H06339030A JP 12855693 A JP12855693 A JP 12855693A JP 12855693 A JP12855693 A JP 12855693A JP H06339030 A JPH06339030 A JP H06339030A
Authority
JP
Japan
Prior art keywords
shape
encoding
deformation parameter
patterns
identification number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP12855693A
Other languages
Japanese (ja)
Other versions
JP2526783B2 (en
Inventor
Yutaka Yokoyama
裕 横山
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP5128556A priority Critical patent/JP2526783B2/en
Publication of JPH06339030A publication Critical patent/JPH06339030A/en
Application granted granted Critical
Publication of JP2526783B2 publication Critical patent/JP2526783B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PURPOSE:To provide an encoding and decoding system in which an area shape with little deterioration can be encoded and decoded by vector quantization by the small number of storage shape patterns. CONSTITUTION:The plural shape patterns are preliminarily stored in a shape memory 101 at an encoding side, and in a shape memory 201 at an encoding side. At the time of encoding the shape, a shape pattern to be encoded is inputted, the stored shape is successively taken out from a shape memory 101, a deforming operation is operated by a shape deforming part 103, and a reference shape is prepared. Next, the matching of the input shape with the reference shape is obtained by a shape matching part 102, and similarity is calculated. Then, the shape pattern whose similarity is the highest and a deformation parameter are selected and outputted. At the decoding side, the identification number of the shape is received, the shape is selected from a shape memory 201, the deformation parameter is received, the deforming operation indicated by the deformation parameter is operated by a shape deforming part 203, and the obtained shape is outputted as the decoded shape.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像の符号化・復号化
において、領域形状を符号化・復号化する方式に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for coding / decoding a region shape in image coding / decoding.

【0002】[0002]

【従来の技術】特開昭63−164573号公報に記載
の「画像データ圧縮方式」で使用されている領域情報圧
縮では、画像を正方ブロックに分割し、ブロックごとに
2つの領域にわけて、その分割パターンをベクトル量子
化している。すなわち、固定サイズの分割ブロックを2
色の代表色により分割し、2値化データとして分割パタ
ーンを表しておき、コードテーブルにあらかじめ与えら
れている分割パターンから符号化したい分割パターンに
対して最も歪みの小さいものを選択する。
2. Description of the Related Art In the area information compression used in the "image data compression method" described in JP-A-63-164573, an image is divided into square blocks, and each block is divided into two areas. The division pattern is vector-quantized. That is, two fixed-size divided blocks
Divide by the representative color of the colors, represent the division pattern as the binarized data, and select the division pattern having the smallest distortion with respect to the division pattern to be encoded from the division patterns given in advance in the code table.

【0003】[0003]

【発明が解決しようとする課題】前記従来技術では、一
つの領域が複数のブロックに分割され、分割した領域に
領域を識別するラベルを与えなければならず、効率が落
ちる。また、一つのブロックは3つ以上の領域には分割
できず、分割パターンの大きさやマッチングをとる方向
が一定であり、マッチングによる類似度が小さくても別
途符号化する手段がないので、原画像の種類によって
は、蓄積パターンとのミスマッチが増大し、劣化を伴う
欠点がある。これを防ぐために蓄積パターン数を増やす
ことなどが考えられるが、形状パターンを蓄積しておく
記録容量が多く必要となってしまう。
In the above-mentioned conventional technique, one area is divided into a plurality of blocks, and a label for identifying the area must be given to the divided areas, which reduces efficiency. Further, one block cannot be divided into three or more areas, the size of the division pattern and the matching direction are constant, and there is no means for separately encoding even if the similarity due to matching is small. Depending on the type, there is a drawback that the mismatch with the accumulation pattern increases and deterioration occurs. In order to prevent this, it is conceivable to increase the number of storage patterns, but a large storage capacity for storing the shape patterns is required.

【0004】本発明の目的は、少ない蓄積形状パターン
数で、劣化の小さい領域形状のベクトル量子化による符
号化・復号化方式を提供することにある。
It is an object of the present invention to provide an encoding / decoding method by vector quantization of a region shape with a small number of accumulated shape patterns and little deterioration.

【0005】[0005]

【課題を解決するための手段】第1の発明は、画像から
切り出された任意な領域形状符号化・復号化方式におい
て、符号化側は、複数の形状パターンを蓄積する手段
と、蓄積された形状を回転・裏返し・拡大・縮小により
変形する手段と、符号化したい領域形状と前記変形形状
とのマッチングをとり、最も類似度の高い形状および変
形パラメータを選択し、選択した形状の識別番号および
変形パラメータを出力する手段とを備え、復号化側は、
複数の形状パターンを蓄積する手段と、前記形状識別番
号により形状パターンを前記蓄積手段より取り出す手段
と、前記変形パラメータにより形状パターンを変形し領
域形状を生成する手段とを備える、ことを特徴とする。
According to a first aspect of the present invention, in an arbitrary area shape encoding / decoding method cut out from an image, the encoding side stores means for accumulating a plurality of shape patterns. A means for deforming the shape by rotating, turning over, enlarging, reducing, and matching the area shape to be encoded with the deformed shape, select the shape and deformation parameter with the highest degree of similarity, and select the identification number of the selected shape and And a means for outputting a transformation parameter, wherein the decoding side
A means for accumulating a plurality of shape patterns, a means for extracting the shape pattern from the accumulating means by the shape identification number, and a means for deforming the shape pattern by the deformation parameter to generate a region shape. .

【0006】第2の発明は、画像から切り出された任意
な領域形状符号化・復号化方式において、符号化側は、
複数の形状パターンを蓄積する手段と、蓄積された形状
を回転・裏返し・拡大・縮小により変形する手段と、符
号化したい領域形状と前記変形形状とのマッチングをと
り、最も類似度の高い形状および変形パラメータを選択
し、選択した形状の識別番号および変形パラメータを出
力するとともに、類似度の閾値を定めておき、閾値以上
の類似度を持つ形状が形状メモリ内にない場合には形状
を前記蓄積手段から選択せず、別途符号化し形状符号を
出力し、形状の識別番号として別途形状符号化したいと
いう符号を出力する手段とを備え、復号化側は、複数の
形状パターンを蓄積する手段と、前記形状識別番号によ
り形状パターンを前記蓄積手段より取り出す手段と、前
記変形パラメータにより形状パターンを変形し領域形状
を生成する手段と、前記形状識別番号が別途形状符号化
したという符号である場合には、前記形状符号から形状
を復号し、復号形状を出力する手段とを備える、ことを
特徴とする。
A second aspect of the invention is an arbitrary region shape encoding / decoding method cut out from an image, wherein the encoding side is
A means for accumulating a plurality of shape patterns, a means for deforming the accumulated shapes by rotating, turning over, enlarging, reducing, and matching the area shape to be encoded with the deformed shape, A deformation parameter is selected, the identification number of the selected shape and the deformation parameter are output, a threshold value for the similarity is set in advance, and if there is no shape with a similarity degree equal to or higher than the threshold value in the shape memory, the shape is stored. A means for separately encoding and outputting a shape code without selecting from the means, and outputting a code for separately shape-encoding as an identification number of the shape, and the decoding side has means for accumulating a plurality of shape patterns, Means for extracting a shape pattern from the storage means by the shape identification number; means for deforming the shape pattern by the deformation parameter to generate a region shape If it said shape identification number is a code that is separately shape coding, the coded shape decoding the shape from, and means for outputting the decoded shape, characterized in that.

【0007】[0007]

【作用】本発明では、複数の形状パターンを蓄えてお
き、符号化したい領域形状は蓄積されている形状に特定
の変形操作を施した形状と比較して、最も類似度の高い
変形形状を選択し、選択された形状の識別番号と変形パ
ラメータを符号化している。また、必要であれば、形状
パターン蓄積手段内に類似度の高い形状が見つからない
場合に、別途符号化している。
According to the present invention, a plurality of shape patterns are stored, and the region shape to be encoded is selected as the deformed shape having the highest similarity as compared with the shape obtained by performing a specific deformation operation on the stored shape. Then, the identification number and the deformation parameter of the selected shape are encoded. If necessary, if a shape with a high degree of similarity cannot be found in the shape pattern storage means, it is encoded separately.

【0008】このように、符号化したい領域は分割せ
ず、任意の大きさの領域について一領域につき一組の符
号で符号化するので、領域あたりの符号化効率が高くで
きる。
As described above, since the area to be coded is not divided and the area having an arbitrary size is coded with one group of codes, the coding efficiency per area can be increased.

【0009】さらに、形状パターン蓄積手段に蓄積され
ている形状を変形してマッチングをとるので、同じメモ
リ量でも表現できる形状の種類を増やすことができ、相
対的に蓄積形状数を減らすことができる。また、変形操
作を施すこと、および、別途符号化する手段を導入する
ことで、蓄積されている形状だけでなく他の形状によっ
ても表現できるので、符号化誤差を小さくできる。
Further, since the shapes accumulated in the shape pattern accumulating means are transformed and matching is performed, it is possible to increase the kinds of shapes that can be expressed even with the same memory amount, and it is possible to relatively reduce the number of accumulated shapes. . Further, by performing a transforming operation and introducing a separate encoding means, not only the accumulated shape but also other shapes can be expressed, so that the encoding error can be reduced.

【0010】[0010]

【実施例】図1は第1の発明の領域形状符号化・復号化
方式を説明するための図である。図1(a)は送信側の
符号化部を示しており、符号化部は、形状メモリ10
1、形状マッチング部102、形状変形部103から構
成される。図1(b)は受信側の復号化部を示してお
り、復号化部は、形状メモリ201、形状変形部203
から構成される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a diagram for explaining the area shape encoding / decoding method of the first invention. FIG. 1A shows an encoding unit on the transmission side, and the encoding unit is the shape memory 10
1, a shape matching unit 102, and a shape deforming unit 103. FIG. 1B shows a decoding unit on the receiving side, which includes a shape memory 201 and a shape transforming unit 203.
Composed of.

【0011】この方式では、まずあらかじめ、複数の形
状パターンを符号化側の形状メモリ101および復号化
側の形状メモリ201に蓄えておく。これら、二つの形
状メモリには、同じデータが蓄えられている。蓄積デー
タとしては、形状の縦の幅と横の幅の最大値を決めてお
き、形状データの縦方向および横方向の幅が指定した最
大値に一致するように拡大・縮小し、規格化して登録し
ておく。ここで、形状の変形法については後で述べる。
In this method, first, a plurality of shape patterns are stored in the shape memory 101 on the encoding side and the shape memory 201 on the decoding side in advance. The same data is stored in these two shape memories. As the accumulated data, the maximum values of the vertical and horizontal widths of the shape are determined, and the vertical and horizontal widths of the shape data are enlarged / reduced so that they match the specified maximum values, and standardized. Register Here, the method of deforming the shape will be described later.

【0012】形状を符号化する場合には、符号化したい
形状パターンを入力し、形状メモリ101からは蓄積し
ておいた形状を順次とりだし、形状変形部103におい
て回転・裏返し・拡大・縮小などの変形操作を施し、参
照形状を作る。変形操作は、規格化されて蓄えられてい
る形状を回転や裏返しにより生成できるそれぞれの形状
について、入力形状の縦方向,横方向の最大幅に一致す
るように拡大・縮小する。
When the shape is encoded, the shape pattern to be encoded is input, the accumulated shapes are sequentially fetched from the shape memory 101, and the shape deforming unit 103 performs rotation, turning, enlargement / reduction, etc. Deformation operation is performed to create a reference shape. The transforming operation expands / reduces the standardized and stored shapes so that the shapes can be generated by rotation or inside out so that the shapes match the maximum widths in the vertical and horizontal directions of the input shape.

【0013】次に形状マッチング部102において、入
力形状と参照形状とでマッチングをとり、類似度を計算
する。そして最も類似度の高い形状パターンと変形パラ
メータを選び、選択した形状の識別番号および変形パラ
メータを出力する。この場合、変形パラメータは、回転
角,裏返し操作の有無,拡大・縮小率である。また、類
似度の計算法については後で述べる。
Next, in the shape matching unit 102, the input shape and the reference shape are matched and the similarity is calculated. Then, the shape pattern and the deformation parameter having the highest similarity are selected, and the identification number and the deformation parameter of the selected shape are output. In this case, the deformation parameters are the rotation angle, the presence / absence of the flip operation, and the enlargement / reduction ratio. The method of calculating the degree of similarity will be described later.

【0014】復号化側では、形状の識別番号を受けとり
形状メモリ201内から形状を選択し、さらに変形パラ
メータを受けとり、形状変形部203において変形パラ
メータの示す変形操作を施し、得られた形状を復号化形
状として出力する。
On the decoding side, the shape identification number is received, the shape is selected from the shape memory 201, the transformation parameter is further received, and the transformation operation indicated by the transformation parameter is performed in the shape transformation unit 203 to decode the obtained shape. Output as a converted shape.

【0015】次に、形状の変形操作方法について述べ
る。まず回転については、90°,180°,270°
に制限することで座標変換により簡単に実現できる。裏
返しについても同様である。裏返しは180°と組み合
わせられるので、水平方向に対する裏返しあるいは垂直
方向に対する裏返しのどちらかを用意しておけばよい。
Next, a method of deforming the shape will be described. First, regarding rotation, 90 °, 180 °, 270 °
It can be easily realized by coordinate conversion by limiting to. The same applies to inside out. Since inside out is combined with 180 °, either inside out for the horizontal direction or inside out for the vertical direction may be prepared.

【0016】続いて、拡大・縮小の方法について説明す
る。領域形状の表現については横方向の最大幅m、縦方
向の最大幅nを求め、m×nのマトリックスに、領域内
部は1、領域外部は0で表されているものとする。い
ま、たとえば、m×n画素の領域形状をp×q画素の大
きさに変形することを考える。まず、それぞれの方向で
の変形前後の大きさの最大公約数を求める。ここでは、
A=L.C.M.(m,p)B=L.C.M.(n,
q)とする。次に、m×nの領域形状を横方向にA/m
倍、縦方向にB/n倍に拡大し、A×B画素の中間領域
形状を作る。もとの画素の1画素が中間領域形状のA/
m+B/nのブロックに対応し、ブロック内のすべての
画素値は、対応する位置のもとの画素値を受け継ぐ。次
に、この中間領域形状を横方向にA/p画素ごと、縦方
向にB/q画素ごとに区切り、A/p×B/q画素のブ
ロックをp×q個作る。この一つのブロックが変形後の
領域形状の1画素に対応する。各画素値の決定法は、対
応するブロック内で多数決関数により、“0”または
“1”の多い方をその画素値とする。ここで、拡大・縮
小の変形パラメータとして、(m,n,p,q)を用い
ることができる。ただし、蓄積形状の大きさを規格化し
ておけば変形前の大きさは一定であるので、変形パラメ
ータは(p,q)だけでよい。
Next, the enlarging / reducing method will be described. Regarding the representation of the area shape, the maximum width m in the horizontal direction and the maximum width n in the vertical direction are obtained, and it is assumed that the inside of the area is represented by 1 and the outside of the area is represented by 0 in an m × n matrix. Consider, for example, transforming the area shape of m × n pixels to the size of p × q pixels. First, the greatest common divisor of the size before and after deformation in each direction is obtained. here,
A = L. C. M. (M, p) B = L. C. M. (N,
q). Next, the area shape of m × n is A / m in the lateral direction.
2 times, and B / n times in the vertical direction to form an intermediate region shape of A × B pixels. One pixel of the original pixel is A /
Corresponding to a block of m + B / n, all pixel values in the block inherit the original pixel value of the corresponding position. Next, this intermediate region shape is divided into A / p pixels in the horizontal direction and B / q pixels in the vertical direction to form p × q blocks of A / p × B / q pixels. This one block corresponds to one pixel of the modified area shape. As for the method of determining each pixel value, the pixel value is determined to be the one with the most "0" or "1" by the majority function in the corresponding block. Here, (m, n, p, q) can be used as the deformation parameter for enlargement / reduction. However, if the size of the accumulated shape is standardized, the size before deformation is constant, so that the deformation parameter is only (p, q).

【0017】類似度の計算方法について説明する。類似
度は符号化したい入力領域形状と形状メモリから取り出
され変形操作を施された参照領域形状との間で定義され
る。最も簡単な類似度としては、領域形状表現が前記の
ように領域内部で1、領域外部で0と定義されていると
き、入力領域形状と参照領域形状との排他的論理和(X
OR)をとり、1となる画素数(すなわちミスマッチの
画素数)を計数し、これを類似度の小ささとして定義で
きる。
A method of calculating the similarity will be described. The degree of similarity is defined between the input area shape to be encoded and the reference area shape extracted from the shape memory and subjected to the deformation operation. As the simplest degree of similarity, when the area shape expression is defined as 1 inside the area and 0 outside the area as described above, the exclusive OR of the input area shape and the reference area shape (X
OR), and the number of pixels that become 1 (that is, the number of mismatched pixels) is counted, and this can be defined as the degree of similarity.

【0018】図2は第2の発明の領域形状符号化・復号
化方式を説明するための図である。図1(a)は送信側
の符号化部を示しており、符号化部は、形状メモリ30
1、形状マッチング部302、形状変形部303、形状
符号化部304、形状規格化部305から構成される。
図2(b)は受信側の復号化部を示しており、復号化部
は、形状メモリ401、形状変形部403、形状復号化
部404、形状規格化部405から構成される。
FIG. 2 is a diagram for explaining the area shape encoding / decoding method of the second invention. FIG. 1A shows a coding unit on the transmission side, and the coding unit is the shape memory 30.
1, a shape matching unit 302, a shape deforming unit 303, a shape encoding unit 304, and a shape normalizing unit 305.
FIG. 2B shows the decoding unit on the receiving side, and the decoding unit includes a shape memory 401, a shape transformation unit 403, a shape decoding unit 404, and a shape normalization unit 405.

【0019】この方式では、まずあらかじめ、複数の形
状パターンを符号化側の形状メモリ301および復号化
側の形状メモリ401に蓄えておく。これら、二つの形
状メモリには、同じデータが蓄えられている。蓄積デー
タとしては形状の縦の幅と横の幅の最大値を決めてお
き、形状データの縦方向および横方向の幅が指定した最
大値に一致するように拡大・縮小し、規格化して登録し
ておく。また、形状マッチング部302にて得られる類
似度に閾値を設けておく。形状の変形法および類似度の
計算方法については前述の第1の発明と同じである。
In this method, first, a plurality of shape patterns are stored in the shape memory 301 on the encoding side and the shape memory 401 on the decoding side in advance. The same data is stored in these two shape memories. As the accumulated data, the maximum values of the vertical and horizontal widths of the shape are set, and the vertical and horizontal widths of the shape data are enlarged / reduced to match the specified maximum values, standardized and registered. I'll do it. Further, a threshold value is set for the similarity obtained by the shape matching unit 302. The shape modification method and the similarity calculation method are the same as those in the above-described first invention.

【0020】形状を符号化する場合には、符号化したい
形状パターンを入力し、形状メモリ301からは蓄積し
ておいた形状を順次とりだし、形状変形部303におい
て回転・裏返し・拡大・縮小などの変形操作を施し、参
照形状を作る。変形操作は、規格化されて蓄えられてい
る形状を回転や裏返しにより生成できるそれぞれの形状
について、入力形状の縦方向,横方向の最大幅に一致す
るように拡大・縮小する。
When the shape is encoded, the shape pattern to be encoded is input, the accumulated shapes are sequentially fetched from the shape memory 301, and the shape deforming unit 303 performs rotation, turning, enlargement / reduction, etc. Deformation operation is performed to create a reference shape. The transforming operation expands / reduces the standardized and stored shapes so that the shapes can be generated by rotation or inside out so that the shapes match the maximum widths in the vertical and horizontal directions of the input shape.

【0021】次に形状マッチング部302において、入
力形状と参照形状とでマッチングをとり、類似度を計算
する。そして最も類似度の高い形状パターンと変形パラ
メータを選ぶ。この場合、変形パラメータは、回転角,
裏返し操作の有無,拡大・縮小率である。ここで、マッ
チングの結果の類似度が指定した閾値よりも大きけれ
ば、その形状の識別番号と変形パラメータを出力する。
さもなければ、形状符号化部304において、入力の領
域形状を従来の方式により、輪郭線をチェイン・コード
で符号化するかあるいは多角形近似して頂点座標を符号
化するなどして、形状を符号化し形状符号を出力する。
さらに符号化形状を形状規格化部305において指定の
大きさに拡大・縮小により規格化して形状メモリ301
に蓄積し、新たな形状識別番号を与え、これを別途符号
化されたことを示す符号として用い出力する。
Next, in the shape matching unit 302, the input shape and the reference shape are matched and the similarity is calculated. Then, the shape pattern and the deformation parameter with the highest similarity are selected. In this case, the deformation parameters are the rotation angle,
It is the presence / absence of the flip operation and the enlargement / reduction rate. Here, if the similarity of the matching result is larger than the specified threshold value, the identification number of the shape and the deformation parameter are output.
Otherwise, in the shape encoding unit 304, the shape of the input region shape is encoded by a conventional method by encoding the contour with a chain code or by polygon approximation to encode the vertex coordinates. It encodes and outputs the shape code.
Further, the coded shape is standardized by enlarging / reducing the coded shape to a specified size in the shape normalizing unit 305, and
, A new shape identification number is given, and this is used as a code indicating that it has been encoded separately, and is output.

【0022】ここで、符号化形状については、メモリ容
量やメモリ管理の関係から、必ずしも形状メモリに蓄積
する必要はない。この場合、識別番号は形状メモリから
選択しなかったことが識別できる番号が割り当てられて
いればよい。
Here, the coded shape does not necessarily need to be stored in the shape memory in view of the memory capacity and memory management. In this case, the identification number may be assigned a number that can identify that the shape memory has not been selected.

【0023】復号化側では、形状の識別番号を受けと
り、その番号の示す形状が形状メモリ401内にあれば
その形状を選択し、さらに変形パラメータを受けとり、
形状変形部403において変形パラメータの示す変形操
作を施し、得られた形状を復号化形状として出力する。
さもなければ、別途形状符号化がなされたものと判断
し、形状符号を受けとり、形状復号化部404におい
て、形状を復号化し、復号化形状として出力する。ま
た、符号化側で符号化形状を形状メモリ401に蓄積し
た場合には、復号化側でも復号化形状を形状規格化部4
05で規格化し、受けとった識別番号とともに形状メモ
リに蓄積する。
On the decoding side, the shape identification number is received, and if the shape indicated by the number is in the shape memory 401, that shape is selected, and the transformation parameter is further received.
The shape transformation unit 403 performs the transformation operation indicated by the transformation parameter, and outputs the obtained shape as a decoded shape.
Otherwise, it is determined that the shape coding is performed separately, the shape code is received, the shape decoding unit 404 decodes the shape, and outputs the decoded shape. Further, when the coding shape is stored in the shape memory 401 on the coding side, the decoding shape is also stored on the decoding side by the shape normalizing unit 4.
It is standardized in 05 and stored in the shape memory together with the received identification number.

【0024】[0024]

【発明の効果】以上のように蓄積しておく形状パターン
数を少なくできるので、形状パターンの記録容量が小さ
くて済む。また、符号化誤差を小さくできるので、本発
明の方式を画像符号化・復号化方式に適用することで劣
化の小さい符号化・復号化方式を実現することが可能で
ある。
As described above, since the number of shape patterns to be stored can be reduced, the shape pattern recording capacity can be reduced. Further, since the coding error can be reduced, it is possible to realize a coding / decoding method with little deterioration by applying the method of the present invention to the image coding / decoding method.

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

【図1】第1の発明の符号化部および復号化部をそれぞ
れ示す図である。
FIG. 1 is a diagram showing an encoding unit and a decoding unit of the first invention, respectively.

【図2】第2の発明の符号化部および復号化部をそれぞ
れ示す図である。
FIG. 2 is a diagram showing an encoding unit and a decoding unit of the second invention, respectively.

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

101,201,301,401 形状メモリ 102,302 形状マッチング部 103,203,303,403 形状変形部 304 形状符号化部 404 形状復号化部 305,405 形状規格化部 101, 201, 301, 401 shape memory 102, 302 shape matching unit 103, 203, 303, 403 shape transforming unit 304 shape encoding unit 404 shape decoding unit 305, 405 shape normalizing unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】画像から切り出された任意な領域形状符号
化・復号化方式において、 符号化側は、 複数の形状パターンを蓄積する手段と、 蓄積された形状を回転・裏返し・拡大・縮小により変形
する手段と、 符号化したい領域形状と前記変形形状とのマッチングを
とり、最も類似度の高い形状および変形パラメータを選
択し、選択した形状の識別番号および変形パラメータを
出力する手段とを備え、 復号化側は、 複数の形状パターンを蓄積する手段と、 前記形状識別番号により形状パターンを前記蓄積手段よ
り取り出す手段と、 前記変形パラメータにより形状パターンを変形し領域形
状を生成する手段とを備える、ことを特徴とする領域形
状符号化・復号化方式。
1. An arbitrary region shape encoding / decoding method cut out from an image, wherein the encoding side is means for accumulating a plurality of shape patterns, and the accumulated shape is rotated / inverted / enlarged / reduced. A means for deforming, a means for matching the area shape to be encoded and the deformed shape, selecting a shape and a deformation parameter with the highest degree of similarity, and outputting an identification number and a deformation parameter of the selected shape, The decoding side includes means for accumulating a plurality of shape patterns, means for extracting a shape pattern from the accumulating means by the shape identification number, and means for deforming the shape pattern by the deformation parameter to generate a region shape, A region shape encoding / decoding method characterized by the following.
【請求項2】画像から切り出された任意な領域形状符号
化・復号化方式において、 符号化側は、 複数の形状パターンを蓄積する手段と、 蓄積された形状を回転・裏返し・拡大・縮小により変形
する手段と、 符号化したい領域形状と前記変形形状とのマッチングを
とり、最も類似度の高い形状および変形パラメータを選
択し、選択した形状の識別番号および変形パラメータを
出力するとともに、類似度の閾値を定めておき、閾値以
上の類似度を持つ形状が形状メモリ内にない場合には形
状を前記蓄積手段から選択せず、別途符号化し形状符号
を出力し、形状の識別番号として別途形状符号化したい
という符号を出力する手段とを備え、 復号化側は、 複数の形状パターンを蓄積する手段と、 前記形状識別番号により形状パターンを前記蓄積手段よ
り取り出す手段と、 前記変形パラメータにより形状パターンを変形し領域形
状を生成する手段と、 前記形状識別番号が別途形状符号化したという符号であ
る場合には、前記形状符号から形状を復号し、復号形状
を出力する手段とを備える、ことを特徴とする領域形状
符号化・復号化方式。
2. An arbitrary region shape encoding / decoding method cut out from an image, wherein the encoding side has means for accumulating a plurality of shape patterns, and the accumulated shape is rotated / inverted / enlarged / reduced. Deformation means, matching the shape of the region to be encoded with the deformation shape, selecting the shape and deformation parameter with the highest similarity, outputting the identification number and deformation parameter of the selected shape, and If a threshold value is set and a shape having a degree of similarity equal to or greater than the threshold value is not in the shape memory, the shape is not selected from the accumulating means, the shape code is output separately, and the shape code is output separately. The decoding side has means for accumulating a plurality of shape patterns, and the shape side uses the shape identification number to accumulate the shape patterns. Means for extracting from the stage, means for deforming the shape pattern by the deformation parameter to generate a region shape, and when the shape identification number is a code that is separately shape-encoded, the shape is decoded from the shape code, A region shape encoding / decoding method, comprising: a means for outputting a decoded shape.
JP5128556A 1993-05-31 1993-05-31 Region shape encoding / decoding method Expired - Lifetime JP2526783B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5128556A JP2526783B2 (en) 1993-05-31 1993-05-31 Region shape encoding / decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5128556A JP2526783B2 (en) 1993-05-31 1993-05-31 Region shape encoding / decoding method

Publications (2)

Publication Number Publication Date
JPH06339030A true JPH06339030A (en) 1994-12-06
JP2526783B2 JP2526783B2 (en) 1996-08-21

Family

ID=14987687

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5128556A Expired - Lifetime JP2526783B2 (en) 1993-05-31 1993-05-31 Region shape encoding / decoding method

Country Status (1)

Country Link
JP (1) JP2526783B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005006353A (en) * 2004-08-18 2005-01-06 Sharp Corp Image encoding apparatus, image encoding method, computer readable recording medium recording program for image encoding method therein, image decoding method, and computer readable recording medium recording program for image decoding method therein
KR100938100B1 (en) * 2002-04-25 2010-01-21 마이크로소프트 코포레이션 Compression of bi-level images with explicit representation of ink clusters
JP2012530445A (en) * 2009-06-16 2012-11-29 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Encoding a signal into a scalable bitstream and decoding such a bitstream

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100938100B1 (en) * 2002-04-25 2010-01-21 마이크로소프트 코포레이션 Compression of bi-level images with explicit representation of ink clusters
JP2005006353A (en) * 2004-08-18 2005-01-06 Sharp Corp Image encoding apparatus, image encoding method, computer readable recording medium recording program for image encoding method therein, image decoding method, and computer readable recording medium recording program for image decoding method therein
JP2012530445A (en) * 2009-06-16 2012-11-29 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Encoding a signal into a scalable bitstream and decoding such a bitstream
US9014498B2 (en) 2009-06-16 2015-04-21 Koninklijke Philips N.V. Encoding a signal into a scalable bitstream and decoding such bitstream

Also Published As

Publication number Publication date
JP2526783B2 (en) 1996-08-21

Similar Documents

Publication Publication Date Title
Hsieh et al. Lossless compression of VQ index with search-order coding
US6031938A (en) Image encoding apparatus with selective Markov and predictive coding
US7365658B2 (en) Method and apparatus for lossless run-length data encoding
CN100596200C (en) Image compression method and image coder
JPH0564007A (en) Method and device for encoding and decoding
CN1155221C (en) Method and system for encoding and decoding method and system
JP2000059230A (en) Hvq compression method for border of image
US7412104B2 (en) Optimized lossless data compression methods
CN116016606B (en) Sewage treatment operation and maintenance data efficient management system based on intelligent cloud
JPH1079942A (en) Contour encoding method and its device
US6327383B2 (en) Multi-color image encoding apparatus and method, multi-color image decoding apparatus and method
JP2000049619A (en) 2-channel hvq compression method
CN115529357A (en) Updating abnormity matching method based on MES intercommunication interconnection production data
JP2526783B2 (en) Region shape encoding / decoding method
CN115604476A (en) Variable-code-rate semantic structured image encoding and decoding method and system
US7031531B1 (en) Image encoding device and method therefor, image decoding apparatus and method therefor, and computer-readable recorded medium on which image encoding program and image decoding program are recorded
Sheu et al. A lossless index coding algorithm and VLSI design for vector quantization
US20020048409A1 (en) Apparatus and method for coding binary image with improved efficiency
US6219445B1 (en) Multi-color image encoding and/or decoding apparatus containing color order table and the method thereof
JP4034385B2 (en) Multi-color image encoding apparatus and method, and multi-color image decoding apparatus and method
Torres et al. Improvements on stochastic vector quantization of images
JP3420389B2 (en) Image encoding method and apparatus
JP3648943B2 (en) Multi-color image encoding apparatus and method, and multi-color image decoding apparatus and method
JP2594766B2 (en) Data compression method and data compression method
Somasundaram et al. Adaptive index coding scheme for VQ indices compression

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960416