JPH09274662A - Method for encoding and decoding contour - Google Patents

Method for encoding and decoding contour

Info

Publication number
JPH09274662A
JPH09274662A JP2489697A JP2489697A JPH09274662A JP H09274662 A JPH09274662 A JP H09274662A JP 2489697 A JP2489697 A JP 2489697A JP 2489697 A JP2489697 A JP 2489697A JP H09274662 A JPH09274662 A JP H09274662A
Authority
JP
Japan
Prior art keywords
contour
decoding
true
coding
false
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2489697A
Other languages
Japanese (ja)
Inventor
Shinya Sumino
眞也 角野
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2489697A priority Critical patent/JPH09274662A/en
Publication of JPH09274662A publication Critical patent/JPH09274662A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently encode/decode only a contour graphic by calculating the intersection of a straight line and a contour crossing a base axis at a prescribed angle, encoding the distance between the respective intersections and the base axis and defining the result as a contour encode signal. SOLUTION: A blocker 2 divides the contour graphic into rectangular blocks and segments them. While defining one side of the segmented rectangular blocks as the base axis, a sampler 3 divides the block into (n+1) pieces with (n) pieces of straight lines (corresponding to seven straight lines to which arrows are added) provided along that base axis. Assuming that the block is to be divided by a vertical line with a horizontal line at the lower end of the block as the base axis, for example, (n) pieces of vertical lines inside the block become the contour lines of division. Concerning the respective contour lines, a contour detector 4 calculates the number of true values positioned on the contour lines from the base axis. These values are corresponding to [x0-x7]. An orthogonal transformer 5 simultaneously orthogonally transforms [x0, x1,..., x7], variable length encoding of the orthogonally transformed component is performed by an encoder 6, and the encoded signal is provided.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は各種画像処理や画像
符号化に使用される輪郭図形を効率良く符号化および復
号化する輪郭符号化および輪郭復号化方法、及びその方
法を用いた輪郭符号化、復号化装置及びその方法を記録
した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a contour coding method and a contour decoding method for efficiently coding and decoding contour figures used for various image processing and image coding, and a contour coding method using the method. The present invention relates to a recording medium in which a decoding device and its method are recorded.

【0002】[0002]

【従来の技術】従来の輪郭図形の符号化として、チェイ
ン符号化と呼ばれる有名な方法がある。これは輪郭を水
平・垂直・斜めの微小ベクトルに分割し、微小ベクトル
に対応する記号を符号化するものである。微小ベクトル
の精度を1画素とすれば可逆な符号化が可能であり、微
小ベクトルの精度を粗くすれば非可逆だが可逆な場合よ
りもビット数を節約することができる。
2. Description of the Related Art As a conventional coding method for contour figures, there is a famous method called chain coding. In this method, the contour is divided into horizontal, vertical, and diagonal minute vectors, and the symbols corresponding to the minute vectors are encoded. Reversible encoding is possible if the precision of the minute vector is one pixel, and if the precision of the minute vector is rough, the number of bits can be saved more than in the case of lossy but lossless.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、チェイ
ン符号化の特徴は可逆を実現できることにあり、非可逆
な符号化では符号化効率が良くない。従って、若干の歪
みを許容しても大幅なビット節約を目的とする画像符号
化には適さないので、曲線近似を使用した輪郭符号化
(特開昭58-134745、特開昭58-134745)等も提案されて
いる。これは、輪郭図形を輪郭上の特徴点の位置とその
特徴点間の輪郭を曲線近似するための曲線パラメータを
符号化するものであるが、曲線を導出する計算量が膨大
であり且つ符号化ビット数を所定のビット数に制御でき
ないという課題がある。そこで、ISO/IEC JTC1/SC29/WG
11 N1064等に紹介されているように輪郭図形を曲線でな
く多角形で近似し、多角形と実際の輪郭との差分を符号
化する方法が考えられている。
However, the characteristic of the chain coding is that reversible coding can be realized, and the coding efficiency is not good in the irreversible coding. Therefore, even if a slight distortion is allowed, it is not suitable for image coding for the purpose of significant bit saving. Therefore, contour coding using curve approximation (Japanese Patent Laid-Open Nos. 58-134745 and 58-134745) Etc. are also proposed. This is to encode the contour figure with the position of the characteristic point on the contour and the curve parameter for curve approximation of the contour between the characteristic points, but the amount of calculation for deriving the curve is enormous and the encoding is performed. There is a problem that the number of bits cannot be controlled to a predetermined number of bits. Therefore, ISO / IEC JTC1 / SC29 / WG
As introduced in 11 N1064 etc., a method of approximating a contour figure by a polygon instead of a curve and encoding the difference between the polygon and the actual contour is considered.

【0004】しかしながら、輪郭を多角形で近似する方
法も曲線近似同様に多角形の頂点が輪郭上にあるという
特徴を有しており、複雑な形状を有し多くの頂点符号化
が必要な輪郭図形では、多くのビットが頂点の符号化に
必要であり符号化効率が良くない。この様に、輪郭図形
を対象とする符号化復号化方法の効率向上が課題であっ
た。
However, the method of approximating a contour with a polygon is also characterized in that the vertices of the polygon are on the contour as in the case of curve approximation, and the contour has a complicated shape and many vertex coding is required. In graphics, many bits are required to encode vertices, and the encoding efficiency is poor. As described above, there has been a problem to improve the efficiency of the encoding / decoding method for the contour figure.

【0005】また、輪郭はその輪郭を有する図形のカラ
ー信号と同時に扱われることが多く、現在の符号化の主
流であるジェーピーイージー(JPEG)やエムピーイージ
ー(MPEG)ではカラー信号をブロック化して符号化する
ので、輪郭図形もカラー信号と同じブロック単位で符号
化が実現できなければ、輪郭およびカラー画像を全て符
号化する符号化装置の観点から鑑みて多くの機器が輪郭
図形の符号化のためだけに必要となる。
In addition, the contour is often treated at the same time as the color signal of the figure having the contour, and in the current mainstream of encoding, JPEG or JPEG, the color signal is divided into blocks and encoded. Therefore, if the contour figure cannot be encoded in the same block unit as the color signal, from the viewpoint of an encoding device that encodes all contours and color images, many devices are required to encode the contour figure. Only needed.

【0006】本発明は、特に輪郭図形のみを効率よく符
号化、復号化する方法を提供するものであり、更に加え
て現在の輪郭図形を含む画像符号化方法にも適用できる
輪郭図形符号化方法を提供することを目的とするもので
ある。
The present invention particularly provides a method for efficiently encoding and decoding only a contour figure, and in addition, a contour figure encoding method applicable to an image encoding method including a current contour figure. It is intended to provide.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明は下記の構成をとる。
In order to achieve the above object, the present invention has the following constitution.

【0008】第1の発明は、輪郭図形を符号化する輪郭
符号化方法であって、輪郭図形の周辺に選択配置された
直線を基底軸とし、この基底軸に所定の角度で交差する
n本の直線と当該輪郭との交点を計算し、各交点と前記
基底軸との距離{x1,x2,...,xn}を符号化して輪郭符号
化信号とする輪郭符号化方法である。又、その復号方法
は、符号化信号を復号化して{x1,x2,...,xn}を導出
し、基底軸に所定の角度で交差するn本の直線上で前記
基底軸からの距離が各々{x1,x2,...,xn}であるn点を
復号化した輪郭上の点とし、当該画像の全ての前記復号
化した輪郭上の点を曲線で接続することにより当該画像
の輪郭図形を復号化するものである。これにより、単純
に基底軸からの距離で輪郭図形を特定できることを利用
して、符号化データを作成するので、効率的に輪郭図形
を符号化、復号化できる方法及びその方法を用いた符号
化、復号化装置を実現できるものである。
A first aspect of the present invention is a contour coding method for coding a contour figure, wherein a straight line selectively arranged around the contour figure is used as a base axis, and n lines intersecting the base axis at a predetermined angle. Of the straight line and the contour, and the distance {x1, x2, ..., xn} between each intersection and the base axis is coded to obtain a contour coded signal. Further, the decoding method is such that the encoded signal is decoded to derive {x1, x2, ..., xn}, and the distance from the base axis on n straight lines intersecting the base axis at a predetermined angle. N points where {x1, x2, ..., xn} are respectively defined as points on the decoded contour, and by connecting all the points on the decoded contour of the image with a curve, The contour figure is decoded. As a result, the coded data is created by utilizing the fact that the contour figure can be simply specified by the distance from the base axis. Therefore, a method that enables efficient coding and decoding of the contour figure and a coding method using the method. The decoding device can be realized.

【0009】第2の発明は、第1の発明に加えて、より
基底軸から距離を計算する処理を容易にするものであっ
て、輪郭内部と外部が画素毎に真または偽で表現される
輪郭図形を符号化する輪郭符号化方法については、輪郭
図形をk(kは自然数)個の部分輪郭図形に分解し、こ
の分解は前記輪郭図形を前記k個の部分輪郭図形の画素
毎の論理演算で表現できるようにし、各部分輪郭図形毎
に輪郭図形の周辺に選択配置された直線を基底軸とし、
この基底軸に所定の角度で交差するn本の直線と前記部
分輪郭図形との交点を計算し、各交点と前記基底軸との
距離{x1,x2,...,xn}を符号化して、部分輪郭図形の構
成を示す信号と共に輪郭符号化信号とする輪郭符号化方
法である。その復号化方法は、符号化信号を復号化しn
点の距離{x1,x2,...,xn}と部分輪郭図形の構成を導出
し、基底軸に所定の角度で交差するn本の直線上で前記
基底軸からの距離が各々{x1,x2,...,xn}であるn点を
復号化した輪郭上の点とし、前記輪郭上の点を曲線で接
続して輪郭を形成して各部分輪郭図形の各画素を真また
は偽で表現し、前記部分輪郭図形の画像の同じ画素位置
に対応する各部分輪郭図形の画素毎の論理演算を前記導
出した部分輪郭図形の構成に従って計算し、前記各論理
演算結果を統合することにより当該画像の画像全体の輪
郭図形を復号化するものである。これにより、輪郭図形
を部分輪郭図形に分解し、部分輪郭図形をどのように合
成すれば輪郭図形が得られるかの情報も併せて扱うこと
で、より効率的な輪郭図形の符号化、復号化方法、及び
その方法を用いた符号化、復号化装置が実現できるもの
である。
In addition to the first aspect, the second aspect of the present invention further facilitates the process of calculating the distance from the base axis, and the inside and outside of the contour are represented by true or false for each pixel. Regarding a contour coding method for coding a contour figure, the contour figure is decomposed into k (k is a natural number) partial contour figures, and this decomposition is performed by a logic for each pixel of the k partial contour figures. It is possible to express by calculation, and the straight line selected and arranged around the contour figure for each partial contour figure is the base axis,
The intersections of the n contour lines intersecting the base axis at a predetermined angle and the partial contour figure are calculated, and the distances {x1, x2, ..., xn} between each intersection and the base axis are encoded. , A contour coding method in which a contour coding signal is used together with a signal indicating the configuration of a partial contour graphic. The decoding method is such that the encoded signal is decoded and n
The distances of points {x1, x2, ..., xn} and the configuration of the partial contour figure are derived, and the distances from the base axis are {x1, respectively on n straight lines intersecting the base axis at a predetermined angle. x2, ..., xn} are the decoded points on the contour, the points on the contour are connected by a curve to form a contour, and each pixel of each partial contour figure is true or false. By expressing and calculating a logical operation for each pixel of each partial contour figure corresponding to the same pixel position of the image of the partial contour figure according to the configuration of the derived partial contour figure, and integrating the logical operation results. The outline figure of the entire image is decoded. As a result, the contour figure is decomposed into the partial contour figures, and the information about how to synthesize the partial contour figures to obtain the contour figure is also handled, so that more efficient encoding and decoding of the contour figure can be performed. A method and an encoding / decoding device using the method can be realized.

【0010】第3の発明は、動画像の符号化等に用いら
れる予測符号化方法に適用するものであり、輪郭図形を
符号化する輪郭符号化方法であって、符号化すべき輪郭
図形の予測輪郭図形を生成し、この予測輪郭図形の輪郭
線にn個の特徴点をとり、前記予測輪郭図形の前記各特
徴点と相対する画像位置の前記輪郭図形までの距離{x
1,x2,...,xn}を符号化して輪郭符号化信号とする輪郭
符号化方法である。その復号化方法は、符号化信号を復
号化しn点の距離{x1,x2,...,xn}を導出し、一方符号
化されている輪郭図形の予測輪郭図形を生成し、この予
測輪郭図形の輪郭線にn個の特徴点をとり前記各特徴点
から距離{x1,x2,...,xn}を復号化した輪郭上の点と
し、当該画像の全ての前記復号化した輪郭上の点を曲線
で接続することにより当該画像の輪郭図形を復号化する
ものである。これにより、予測符号化方法においても、
輪郭図形を効率的に符号化、復号化できる方法と、その
方法を用いた輪郭符号化、復号化装置を実現できるもの
である。
A third aspect of the present invention is applied to a predictive coding method used for coding moving images and the like, and is a contour coding method for coding a contour figure, and predicts a contour figure to be coded. A contour figure is generated, n feature points are taken on the contour line of the predicted contour figure, and a distance {x to the contour figure at an image position opposite to each of the feature points of the predicted contour figure
This is a contour coding method in which 1, x2, ..., xn} are coded to obtain a contour coded signal. The decoding method is to decode a coded signal to derive a distance {x1, x2, ..., xn} of n points, generate a predicted contour figure of a coded contour figure, and calculate the predicted contour figure. Taking n feature points on the contour line of the figure, the distance {x1, x2, ..., xn} from each of the feature points is taken as a point on the decoded contour, and on all of the decoded contours of the image. By connecting the points of with a curve, the contour figure of the image is decoded. As a result, even in the predictive coding method,
It is possible to realize a method capable of efficiently encoding and decoding a contour figure and a contour encoding and decoding apparatus using the method.

【0011】第4の発明は、第3の発明をより効率的に
処理可能とするものであり、輪郭図形を符号化する輪郭
符号化方法であって、符号化すべき輪郭図形の予測輪郭
図形を生成し、前記輪郭図形の周辺に選択配置された直
線を第1の基底軸とし、前記予測輪郭図形の周辺に選択
配置された直線を第2の基底軸とし、前記第1の基底軸
に所定の角度で交差するn本の直線と前記輪郭図形との
交点を計算し、前記第2の基底軸に所定の角度で交差す
るn本の直線と前記予測輪郭図形との交点を計算し、前
記輪郭図形の前記交点と前記第1の基底軸との第1の距
離と、前記予測輪郭図形の前記交点と前記第2基底軸と
の第2の距離とを計算し、相対する画像位置における前
記第1、第2の距離の差分{x1,x2,...,xn}を符号化し
て輪郭符号化信号とする輪郭符号化方法である。この復
号化方法は、符号化信号を復号化して距離の差分{x1,x
2,...,xn}を導出し、一方符号化されている輪郭図形の
予測輪郭図形を生成し、前記予測輪郭図形の基底軸に所
定の角度で交差するn本の直線上で前記予測輪郭図形か
らの距離が各々{x1,x2,...,xn}であるn点を復号化し
た輪郭上の点とし、当該画像の全ての前記復号化した輪
郭上の点を曲線で接続することにより当該画像の輪郭図
形を復号化するものである。これにより、輪郭図形と予
測輪郭図形を単独に処理できるので、予測符号化におい
てより効率的な輪郭図形符号化、復号化方法、及びその
方法を用いた輪郭符号化、復号化装置を実現できるもの
である。
A fourth aspect of the present invention enables the third aspect of the invention to be processed more efficiently, and is a contour coding method for coding a contour figure, wherein a predicted contour figure of a contour figure to be coded is obtained. A straight line selectively generated and arranged around the contour figure is set as a first base axis, and a straight line selectively arranged around the predicted contour figure is set as a second base axis, and a predetermined base line is set as the first base axis. The intersections of the n straight lines intersecting at the angle and the contour figure, and the intersections of the n straight lines intersecting at the predetermined angle with the second base axis and the predicted contour figure, A first distance between the intersection point of the contour figure and the first base axis and a second distance between the intersection point of the predicted contour figure and the second base axis are calculated, and the first and second base axes are calculated. The difference between the first and second distances {x1, x2, ..., xn} is coded to form a contour coded signal. A contour coding method. In this decoding method, the encoded signal is decoded and the distance difference {x1, x
2, ..., xn} is derived to generate a predicted contour figure of the encoded contour figure, and the prediction is performed on n straight lines that intersect the base axis of the predicted contour figure at a predetermined angle. The n points whose distances from the contour figure are {x1, x2, ..., xn} are defined as points on the decoded contour, and all the points on the decoded contour of the image are connected by a curve. By doing so, the contour figure of the image is decoded. As a result, since the contour figure and the predicted contour figure can be processed independently, it is possible to realize a more efficient contour figure coding and decoding method in predictive coding, and a contour coding and decoding apparatus using the method. Is.

【0012】[0012]

【発明の実施の形態】次に、本発明の具体例を説明す
る。
BEST MODE FOR CARRYING OUT THE INVENTION Next, specific examples of the present invention will be described.

【0013】(実施の形態1)図1は第1の発明の輪郭
符号化方法および輪郭復号化方法の概念図である。
(Embodiment 1) FIG. 1 is a conceptual diagram of a contour coding method and a contour decoding method of the first invention.

【0014】本実施の形態では説明の都合上、輪郭図形
を2次元とし、2次元のブロックで分割してから処理す
る例を示しているが、これに限るものではなく輪郭図形
の周囲を所定の形状に切り出した後、その切り出し枠を
基準に処理しても良いし、輪郭図形を表示する画像枠を
そのまま基準として使用して処理しても良い。
In the present embodiment, for convenience of description, an example is given in which the contour figure is two-dimensional and divided into two-dimensional blocks before processing. However, the present invention is not limited to this, and the periphery of the contour figure is predetermined. After cutting out to the shape of, the cutout frame may be processed as a reference, or the image frame displaying the contour figure may be used as it is as a reference for processing.

【0015】図1に於いて、2次元の輪郭図形の画像
(図1左)で塗りつぶし領域が物体を示し、塗りつぶし
部分と白い部分の境界が物体の輪郭である。輪郭図形の
画像枠を16分割し、その一部を切り出したのがブロッ
クである。ブロックの縦方向をX軸とし、横方向をY軸
として表示している(図1右)。ブロック化する利点は
輪郭図形が複雑な形状の場合に、その一部分をブロック
として切り出せば殆どの輪郭線は低次の多項式(滑らか
な曲線)で表現できる。
In FIG. 1, in a two-dimensional contour figure image (left in FIG. 1), the filled area indicates an object, and the boundary between the filled portion and the white portion is the contour of the object. A block is obtained by dividing the image frame of the contour figure into 16 parts and cutting out a part thereof. The vertical direction of the block is shown as the X-axis, and the horizontal direction is shown as the Y-axis (Fig. 1, right). The advantage of blocking is that when the contour figure has a complicated shape, most of the contour line can be represented by a low-order polynomial (smooth curve) by cutting out a part of it as a block.

【0016】次に、ブロックの底辺に沿って8本の直線
で分割し、ブロックの底辺から輪郭線までの距離{x0,
x1,...,x7}を計算する。距離{x0, x1,...,x7}はDCT
等の直交変換を用いれば、僅かなビット数で符号化が可
能である。
Then, the line is divided into eight straight lines along the bottom of the block, and the distance from the bottom of the block to the contour line {x0,
x1, ..., x7} is calculated. The distance {x0, x1, ..., x7} is DCT
If orthogonal transformation such as is used, encoding can be performed with a small number of bits.

【0017】一方、{x0, x1,...,x7}をX座標とし
て、分割に用いた8本の矢印表示の直線のY軸位置を知
ることが出来るので、輪郭線上の点として特定すること
が出来るから、{x0, x1,...,x7}に対応した座標点を
滑らかな曲線でつなげば精度良く輪郭を近似することが
できる(図1ではY軸上にx0, x1,...,x7表示している
が、Y軸座標値を表すのではなくあくまでも矢印表示の
直線の長さを表すものであり、便宜上Y軸上に表示して
有る)。
On the other hand, by using {x0, x1, ..., x7} as the X coordinate, it is possible to know the Y-axis position of the straight line indicated by the eight arrows used for the division, so specify it as a point on the contour line. Therefore, if the coordinate points corresponding to {x0, x1, ..., x7} are connected by a smooth curve, the contour can be approximated accurately (in FIG. 1, x0, x1 ,. .., x7 is displayed, but it does not represent the Y-axis coordinate value but merely the length of the straight line indicated by the arrow, and is displayed on the Y-axis for convenience).

【0018】以上の観点より、{x0, x1,...,x7}が符
号化されれば輪郭が復号化可能であることと、{x0, x
1,...,x7}はDCT等の直交変換で効率よく符号化できる
ことが明らかである。
From the above viewpoint, if {x0, x1, ..., x7} is coded, the contour can be decoded, and {x0, x
It is clear that 1, ..., x7} can be efficiently coded by orthogonal transform such as DCT.

【0019】図2はこの方法を用いた輪郭符号化装置の
実施の形態のブロック図である。同図において、1は輪
郭図形、2は輪郭図形をブロック化するブロック化器、
3はブロックをn+1分割して境界の値を抽出するする標
本化器、4は境界における輪郭位置を検出する輪郭検出
器、5は直交変換器、6は符号化器、7は符号化信号で
ある。
FIG. 2 is a block diagram of an embodiment of a contour coding apparatus using this method. In the figure, 1 is a contour figure, 2 is a blocker for dividing the contour figure into blocks,
3 is a sampler for dividing the block into n + 1 parts to extract the boundary value, 4 is a contour detector for detecting the contour position at the boundary, 5 is an orthogonal transformer, 6 is an encoder, and 7 is an encoder. It is a signal.

【0020】以上のように構成された図2の実施の形態
1について説明する。輪郭図形は輪郭内部が真、輪郭外
部が偽という値をもつ画像として表現されるものとす
る。即ち、図1の塗りつぶし部分が真で白い部分が偽で
ある。ブロック化器2は輪郭図形1を矩形のブロックに
分割し、図1右の様に切り出す。切り出した矩形ブロッ
クの一辺を基底軸として、標本化器3はその基底軸に沿
って設けたn本の直線(図1で切り出したブロックに於
いては、矢印が付加された7本の直線が相当する)によ
りブロックをn+1分割する。例えば、ブロック下端の水
平線を基底軸とし垂直線で分割するとすれば、ブロック
内のn本の垂直線が分割の境界線となる。輪郭検出器4
は各境界線について基底軸から境界線上に位置する真の
値の個数を計算する。この値は図1右の{x0, x1,...,x
7}に相当し、基底軸から輪郭線までの距離を表してい
る。直交変換器5は{x0, x1,...,x7}をまとめて直交
変換し、直交変換された成分を符号化器6で可変長符号
化を行って符号化信号とする。直交変換としてはDCT、D
ST、KLTなどがあるが、カラー信号はDCT符号化されるこ
とが多く、カラー信号の符号化装置と機器の共有を考慮
すればDCTが望ましい。また、通常は輪郭線は滑らかで
あり高周波数成分に対応する直交変換成分は殆ど発生し
ないので、この発生頻度の偏りを利用した可変長符号化
を行うことにより、ビット数削減が可能である。
The first embodiment of FIG. 2 configured as described above will be described. It is assumed that the contour figure is represented as an image having a value of true inside the contour and false outside the contour. That is, the filled area in FIG. 1 is true and the white area is false. The blocker 2 divides the contour figure 1 into rectangular blocks and cuts out as shown in the right side of FIG. With one side of the cut-out rectangular block as the base axis, the sampler 3 has n straight lines provided along the base axis (in the block cut out in FIG. 1, seven straight lines with arrows are The block is divided into n + 1 according to (corresponding). For example, if the horizontal line at the lower end of the block is used as the base axis and is divided by vertical lines, n vertical lines in the block will be the dividing boundaries. Contour detector 4
Calculates the number of true values located on the boundary line from the base axis for each boundary line. This value is {x0, x1, ..., x
7}, which represents the distance from the base axis to the contour line. The orthogonal transformer 5 collectively performs orthogonal transformation on {x0, x1, ..., x7}, and the encoder 6 performs variable-length coding on the component to obtain a coded signal. DCT, D for orthogonal transform
Although there are ST, KLT, etc., color signals are often DCT-encoded, and DCT is desirable in consideration of sharing of color signal encoding devices and devices. Further, since the contour line is usually smooth and the orthogonal transform component corresponding to the high frequency component hardly occurs, the number of bits can be reduced by performing the variable length coding using the bias of the occurrence frequency.

【0021】更に符号化器6で符号化する際に高周波数
成分に対応する直交変換成分は輪郭形状の微細な変化を
表すので、視覚的に劣化が少なく、その結果低周波数成
分よりも符号化歪みが許容できるので、この特徴を利用
して高周波数成分に対応する直交変換成分を粗く量子化
して符号化すれば更にビット数が節約できる。
Further, when the encoder 6 encodes, the orthogonal transformation component corresponding to the high frequency component represents a minute change in the contour shape, so that it is visually less deteriorated, and as a result, the encoding is performed more than the low frequency component. Since distortion can be tolerated, if this feature is used to roughly quantize and code the orthogonal transform component corresponding to the high frequency component, the number of bits can be further saved.

【0022】以上のようにして、ブロック単位で輪郭図
形を効率よく符号化することができる例を示したが、ブ
ロック分割することなく、輪郭図形を処理しても輪郭図
形の符号化効率が上がることは言うまでもない。
As described above, an example in which the contour figure can be efficiently coded in block units has been shown. However, even if the contour figure is processed without dividing into blocks, the coding efficiency of the contour figure is improved. Needless to say.

【0023】(実施の形態2)図3は第1の発明の輪郭
復号化装置の実施の形態2のブロック図である。同図に
おいて7は符号化信号、10は復号化器、11は逆直交
変換器、12は境界における輪郭位置を生成する輪郭生
成器、13は輪郭線を補間生成する補間器、14はブロ
ックを統合して領域図形を構成する逆ブロック化器、1
5は復号化した輪郭図形信号である。なお、同図の輪郭
復号化装置は図2の輪郭符号化装置で符号化した符号化
信号7を正しく復号化するためのものである。
(Second Embodiment) FIG. 3 is a block diagram of a second embodiment of the contour decoding apparatus of the first invention. In the figure, 7 is a coded signal, 10 is a decoder, 11 is an inverse orthogonal transformer, 12 is a contour generator that generates a contour position at a boundary, 13 is an interpolator that interpolates and generates a contour line, and 14 is a block. An inverse blocker that integrates to form a region figure, 1
Reference numeral 5 is a decoded contour figure signal. The contour decoding apparatus in the figure is for correctly decoding the coded signal 7 coded by the contour coding apparatus in FIG.

【0024】以上のように構成された図3の実施の形態
2について説明する。符号化信号7は復号化器10で復
号化し、図2の符号化器6の入力時と同じ信号に復号す
る。逆直交変換器11は図2の直交変換器5の逆変換を
行い、{x0, x1,...,x7}を出力する。輪郭生成器12
は図2のブロックの分割境界と同じ境界上で基底軸から
距離{x0, x1,...,x7}の位置に輪郭上の点を生成す
る。補間器13は輪郭生成器12で決定した輪郭上の点
を直線またはスプライン曲線等で接続し、ブロック内の
境界線を生成する。逆ブロック化器14はブロック間で
境界線を接続し、輪郭図形を復号化する。
A second embodiment of FIG. 3 configured as above will be described. The coded signal 7 is decoded by the decoder 10 and decoded into the same signal as that at the input of the encoder 6 of FIG. The inverse orthogonal transformer 11 performs the inverse transformation of the orthogonal transformer 5 of FIG. 2 and outputs {x0, x1, ..., x7}. Contour generator 12
Generates a point on the contour at a position of a distance {x0, x1, ..., x7} from the base axis on the same boundary as the block dividing boundary of FIG. The interpolator 13 connects the points on the contour determined by the contour generator 12 with a straight line or a spline curve to generate a boundary line within the block. The deblocking unit 14 connects the boundaries between the blocks and decodes the contour figure.

【0025】図2の実施の形態1の入力は値が真偽で表
現されており、図3は輪郭線そのものを出力する例を示
したが、真偽の値による表現と輪郭線による表現は容易
に変換できるので、どちらを利用しても良い。例えば、
図3の輪郭生成器12で輪郭上の点を出力する代わり
に、基底軸から輪郭点までを真、それ以外を偽という値
を生成し、真または偽が不明である位置の値を真または
偽が確定している近傍の値から所定の予測式で直接導出
する補間器13でも同様の効果が実現できる。
In the first embodiment shown in FIG. 2, the input values are expressed as true and false, and FIG. 3 shows an example of outputting the contour line itself. However, the expression by the true and false values and the expression by the contour line are Either one may be used as it can be easily converted. For example,
Instead of outputting the points on the contour by the contour generator 12 in FIG. 3, a value from the base axis to the contour point is generated as true and the other values are false, and the value of the position where true or false is unknown is determined to be true or false. The same effect can be realized by the interpolator 13 that directly derives from a value in the vicinity where false is determined by a predetermined prediction formula.

【0026】以上のようにして、図2の輪郭符号化装置
で符号化した信号を正しく復号化することができる。
As described above, the signal coded by the contour coding apparatus of FIG. 2 can be correctly decoded.

【0027】(実施の形態3)図4は第1の発明の輪郭
符号化方法および輪郭復号化方法において、基底軸を設
定する際の具体的事例についての概念図である。ブロッ
ク内の輪郭を符号化する際に、図4(a)は水平軸を基
底軸として垂直に境界線を引き、図4(b)は垂直軸を
基底軸として水平に境界線を引いた例である。
(Embodiment 3) FIG. 4 is a conceptual diagram of a concrete example when setting a base axis in the contour coding method and the contour decoding method of the first invention. 4A shows an example in which a boundary line is drawn vertically with the horizontal axis as the base axis, and FIG. 4B shows an example in which a boundary line is drawn horizontally with the vertical axis as the base axis when encoding the contour in the block. Is.

【0028】図4(a)の{x0, x1,...,x7}は0でな
い値は少ないが大きな値もなく、逆に図4(b)の{x
0, x1,...,x7}は0でない値は多いが大きな値がある。
どちらの方が符号化後のビット数が少ないかは符号化法
に依存し、例えばDCT等の直交変換では高周波数成分に
対応する変換成分が少なくなる図4(a)の方がビット
数が少なくなる。このように、基底軸の選択によって符
号化ビット数が変化するので、輪郭に対応して適切な基
底軸を選択すれば、常に固定の基底軸を選択するよりも
符号化効率が向上する。
4 (a), {x0, x1, ..., x7} has few non-zero values but no large values, and conversely {x0, x1, ..., x7} of FIG. 4 (b).
0, x1, ..., x7} have many non-zero values but large values.
Which one has the smaller number of bits after encoding depends on the encoding method. For example, in orthogonal transform such as DCT, the number of transform components corresponding to high frequency components is small, and the number of bits is smaller in FIG. 4A. Less. In this way, the number of coding bits changes depending on the selection of the base axis. Therefore, when an appropriate base axis is selected according to the contour, the coding efficiency is improved as compared with the case where a fixed base axis is always selected.

【0029】図5はこの輪郭符号化方法用いた輪郭符号
化装置の実施の形態3のブロック図である。同図におい
て、図2のブロック図との差異は、基底軸を選択する基
底選択器20、符号化器21、符号化信号22である。
FIG. 5 is a block diagram of a third embodiment of a contour coding apparatus using this contour coding method. In the figure, differences from the block diagram of FIG. 2 are a base selector 20, an encoder 21 and an encoded signal 22 for selecting a base axis.

【0030】以上のように構成された図5の実施の形態
3について説明する。なお、図2のブロック図と同じ番
号が付した機器は同じ動作をするので、説明を省略す
る。ブロック化器2でブロック化した輪郭から基底選択
器20で標本化器3で使用する基底軸を決定する。な
お、本実施の形態ではブロック化器2を介した処理につ
いて述べたが、ブロック分割せずに、輪郭図形全体につ
いて同様な処理をすることが出来ることは言うまでもな
い。
The third embodiment of FIG. 5 configured as described above will be described. Note that the devices designated by the same numbers as those in the block diagram of FIG. Based on the contours blocked by the blocker 2, the basis selector 20 determines the basis axis used by the sampler 3. It should be noted that in the present embodiment, the processing via the blocker 2 has been described, but it goes without saying that the same processing can be performed on the entire contour figure without dividing into blocks.

【0031】基底軸選択の指標としては、輪郭と基底軸
から符号化後のビット数を予測する関数を定め、この関
数値が小さい(ビット数が少ないと思われる)基底軸を
選択すればよい。選択した基底軸は正しく復号化するた
めに輪郭復号化装置に知らせることが必要なので、輪郭
点までの距離{x0, x1,...,x7}と同時に
符号化器21で符号化し、符号化信号22とする。
As an index for selecting the base axis, a function for predicting the number of bits after encoding from the contour and the base axis is determined, and the base axis having a small function value (it seems that the number of bits is small) may be selected. . Since it is necessary to inform the contour decoding device in order to correctly decode the selected base axis, the distances to the contour points {x0, x1 ,. . . , X7} and coded by the coder 21 at the same time to obtain a coded signal 22.

【0032】なお、符号化器21は図2の直交変換器5
および符号化器6の組み合わせを包含するより汎用的な
符号化器であり、直交変換でなく予測符号化等を行う符
号化器であってもよい。
The encoder 21 is the orthogonal transformer 5 of FIG.
The encoder is a more general-purpose encoder including a combination of the encoder and the encoder 6, and may be an encoder that performs predictive encoding or the like instead of orthogonal transform.

【0033】以上のようにして、前もって複数(m通
り)の基底軸を用意しておき、基底軸を切り換えて符号
化効率をより高めることができる。
As described above, a plurality (m number) of base axes are prepared in advance, and the base axes can be switched to further improve the coding efficiency.

【0034】(実施の形態4)図6は図5の輪郭符号化
器に対応した輪郭復号化装置の実施の形態4のブロック
図である。同図において図3のブロック図との差異は符
号化信号22、復号化器23、基底選択器24、補間器
25である。なお、同図の輪郭復号化装置は図5の輪郭
符号化装置で符号化した符号化信号22を正しく復号化
するためのものである。
(Embodiment 4) FIG. 6 is a block diagram of Embodiment 4 of a contour decoding apparatus corresponding to the contour encoder of FIG. In the figure, differences from the block diagram of FIG. 3 are an encoded signal 22, a decoder 23, a basis selector 24, and an interpolator 25. The contour decoding apparatus shown in the figure is for correctly decoding the coded signal 22 coded by the contour coding apparatus shown in FIG.

【0035】以上のように構成された図6の実施の形態
4について説明する。なお、図3のブロック図と同じ番
号が付した機器は同じ動作をするので、説明を省略す
る。符号化信号22は復号化器23で復号化し、輪郭点
までの距離{x0, x1,...,x7}は輪郭生成器12に出力
され、基底軸を示す符号は基底選択器24に出力され
る。基底選択器24は図5の基底選択器20と同じ基底
軸を選択するので、補間器25は正しい基底軸を用いて
輪郭上の点を正しく復号化することができる。
The fourth embodiment of FIG. 6 configured as above will be described. It should be noted that the devices designated by the same numbers as those in the block diagram of FIG. The encoded signal 22 is decoded by the decoder 23, the distance to the contour point {x0, x1, ..., x7} is output to the contour generator 12, and the code indicating the base axis is output to the base selector 24. To be done. Since the basis selector 24 selects the same basis axis as the basis selector 20 of FIG. 5, the interpolator 25 can correctly decode the points on the contour using the correct basis axis.

【0036】以上のようにして、図5の輪郭符号化装置
で符号化した信号を正しく復号化することができる。
As described above, the signal coded by the contour coding apparatus shown in FIG. 5 can be correctly decoded.

【0037】(実施の形態5)図7は選択すべき複数の
基底軸の例である。なお、図7の矩形枠は輪郭図形の画
像枠又はブロック分割した場合のブロック枠のいずれか
を表している。
(Fifth Embodiment) FIG. 7 shows an example of a plurality of base axes to be selected. The rectangular frame in FIG. 7 represents either the image frame of the contour figure or the block frame when divided into blocks.

【0038】基底軸は様々な形状の輪郭を効率よく符号
化するために、頻繁に発生しうる輪郭の形状と近似した
基底軸を使用することが好ましい。例えば、基底軸を2
通り使用するならば、図7(a)と図7(b)の様な水
平軸および垂直軸が効率が良い。また、基底軸を4通り
使用するならば、水平軸、垂直軸に対角軸を合わせた図
7(a)、図7(b)、図7(c)及び図7(d)を使
用すれば輪郭線との差の平均値が小さくなり、符号化効
率が向上する。
As the base axis, in order to efficiently encode contours of various shapes, it is preferable to use a base axis that is similar to the contour shape that can occur frequently. For example, the base axis is 2
If used normally, the horizontal and vertical axes as shown in FIGS. 7A and 7B are efficient. If four base axes are used, use FIG. 7 (a), FIG. 7 (b), FIG. 7 (c), and FIG. 7 (d) in which the horizontal axis and the vertical axis are diagonally aligned. For example, the average value of the difference from the contour line becomes small, and the coding efficiency improves.

【0039】(実施の形態6)図8は第2の発明の輪郭
符号化方法および輪郭復号化方法の概念図である。ブロ
ック内の輪郭を符号化する際の標本化のためにn本(図
8では8本)の直線を用いるが、この同じ直線(境界
線)が輪郭図形の輪郭線と複数交差する場合が当然存在
する。即ち、同じ境界線上に複数の輪郭上の点が存在す
る場合がある。例えば図8の塗りつぶした領域Aは水平
軸を基底軸として垂直線で分割すると2点の輪郭上の点
が存在する。
(Embodiment 6) FIG. 8 is a conceptual diagram of a contour coding method and a contour decoding method of the second invention. Although n (8 in FIG. 8) straight lines are used for sampling when the contours in the block are encoded, it is natural that the same straight line (boundary line) intersects with the contour lines of the contour figure in plurals. Exists. That is, there are cases where points on a plurality of contours exist on the same boundary line. For example, the filled area A in FIG. 8 has two points on the contour when divided by a vertical line with the horizontal axis as the base axis.

【0040】そこで、図8の領域Aは図8の領域Bと図
8の領域Cの排他論理和で構成されてうることを利用し
て、図8の領域Aを直接符号化するのではなく、図8の
領域Bと図8の領域Cの各領域を符号化すれば、境界線
上の輪郭点が1つになり、符号化処理が容易になること
が解る。このように、領域Aを示す輪郭図形を領域Bを
示す部分輪郭図形と領域Cを示す部分輪郭図形に分ける
ことが出来る。
Therefore, taking advantage of the fact that the area A of FIG. 8 can be formed by the exclusive OR of the area B of FIG. 8 and the area C of FIG. 8, the area A of FIG. 8 is not directly encoded. It will be understood that if each of the regions B in FIG. 8 and the region C in FIG. 8 is encoded, the number of contour points on the boundary line becomes one, and the encoding process becomes easy. In this way, the contour figure showing the region A can be divided into the partial contour figure showing the region B and the partial contour figure showing the region C.

【0041】図9はこの方法を用いた輪郭符号化装置の
実施の形態6のブロック図である。同図において、図2
のブロック図との差異は、輪郭図形を分解する図形分解
器30、各図形の符号を多重化する多重化器31、符号
化器32、符号化信号33である。標本化器3a,3b
および輪郭検出器4a,4bの動作はそれぞれ図2の標
本化器3および輪郭検出器4と同じである。
FIG. 9 is a block diagram of Embodiment 6 of a contour coding apparatus using this method. In FIG.
The difference from the block diagram of FIG. 2 is a figure decomposer 30 that decomposes contour figures, a multiplexer 31 that multiplexes the codes of each figure, an encoder 32, and an encoded signal 33. Sampling devices 3a, 3b
The operations of the contour detectors 4a and 4b are the same as those of the sampler 3 and the contour detector 4 of FIG.

【0042】以上のように構成された図9の実施の形態
6について説明する。なお、図2のブロック図と同じ番
号が付した機器は同じ動作をするので、説明を省略す
る。ブロック化器2でブロック化した輪郭図形を図形分
解器30で複数の部分輪郭図形に分解する。例えば、前
述の図8の領域Aを図8の領域Bと図8の領域Cに分割
する。分割した各領域について標本化及び輪郭検出を行
い、各領域の輪郭データを多重化して、復号化装置で領
域を合成するために必要な情報(領域Aを領域Bと領域
Cから合成する方法)と同時に符号化器32で符号化
し、符号化信号33とする。
The sixth embodiment of FIG. 9 configured as described above will be described. Note that the devices designated by the same numbers as those in the block diagram of FIG. The contour figure blocked by the blocker 2 is decomposed into a plurality of partial contour figures by the figure decomposer 30. For example, the above-mentioned area A in FIG. 8 is divided into area B in FIG. 8 and area C in FIG. Sampling and contour detection are performed for each divided area, the contour data of each area is multiplexed, and information necessary for synthesizing the area by the decoding device (method of synthesizing area A from area B and area C) At the same time, it is encoded by the encoder 32 to obtain an encoded signal 33.

【0043】以上のようにして、境界線上の輪郭点が複
数ある複雑な輪郭図形も効率良く符号化することができ
る。
As described above, a complex contour figure having a plurality of contour points on the boundary can be efficiently coded.

【0044】(実施の形態7)図10は輪郭復号化装置
の実施の形態7のブロック図である。同図において図3
のブロック図との差異は符号化信号33、復号化器3
4、分離器35、図形合成器36である。輪郭生成器1
2a,12bおよび補間器13a,13bの動作はそれ
ぞれ図3の輪郭生成器12および補間器13と同じであ
る。なお、同図の輪郭復号化装置は図9の輪郭符号化装
置で符号化した符号化信号33を正しく復号化するため
のものである。
(Embodiment 7) FIG. 10 is a block diagram of Embodiment 7 of the contour decoding apparatus. In FIG.
The difference from the block diagram of FIG.
4, a separator 35, and a figure synthesizer 36. Contour generator 1
The operations of 2a and 12b and the interpolators 13a and 13b are the same as those of the contour generator 12 and the interpolator 13 of FIG. 3, respectively. The contour decoding apparatus in the figure is for correctly decoding the coded signal 33 coded by the contour coding apparatus in FIG.

【0045】以上のように構成された図10の実施の形
態7について説明する。なお、図3のブロック図と同じ
番号が付した機器は同じ動作をするので、説明を省略す
る。符号化信号33は復号化器34で復号化し、各領域
の輪郭点までの距離{x0, x1,...,x7}と領域の合成法
を示す情報を出力する。分離器35は輪郭点までの距離
を各領域に対応する様に分離し、各領域に対応する輪郭
生成器12a,12bに出力する。各領域に対応する復
号化された輪郭図形は復号化器34で復号化した合成法
を示す情報に基づいて図形合成器36で合成する。
The seventh embodiment of FIG. 10 configured as described above will be described. It should be noted that the devices designated by the same numbers as those in the block diagram of FIG. The coded signal 33 is decoded by the decoder 34, and information indicating the distance {x0, x1, ..., x7} to the contour point of each area and the area synthesis method is output. The separator 35 separates the distance to the contour point so as to correspond to each area, and outputs the distance to the contour generators 12a and 12b corresponding to each area. The decoded contour figure corresponding to each area is combined by the figure combiner 36 based on the information indicating the combining method decoded by the decoder 34.

【0046】以上のようにして、図9の輪郭符号化装置
で符号化した信号を正しく復号化することができる。
As described above, the signal coded by the contour coding apparatus of FIG. 9 can be correctly decoded.

【0047】(実施の形態8)図11は第2の発明の輪
郭符号化装置の他の実施の形態8のブロック図である。
同図において、図9のブロック図との差異は、符号化器
37a,37b、各図形の符号と領域の合成情報を多重
化する多重化器38、符号化信号39である。
(Embodiment 8) FIG. 11 is a block diagram of another embodiment 8 of the contour coding apparatus of the second invention.
In the figure, differences from the block diagram of FIG. 9 are encoders 37a and 37b, a multiplexer 38 that multiplexes the code of each figure and synthesis information of the area, and an encoded signal 39.

【0048】以上のように構成された図11の実施の形
態8について説明する。なお、図9のブロック図と同じ
番号が付した機器は同じ動作をするので、説明を省略す
る。図9の実施の形態7では分解した各領域の輪郭の位
置を多重化してから符号化したが、本実施の形態8は先
ず各領域毎に符号化器37a,37bで符号化し、符号
化後に多重化器38で各領域の符号と領域を合成するた
めに必要な情報を多重化するものである。本実施の形態
8のように符号化器と多重化器の順番を入れ替えても本
発明の同じ効果が実現できる。
The eighth embodiment of FIG. 11 configured as described above will be described. It should be noted that the devices designated by the same numbers as those in the block diagram of FIG. In the seventh embodiment shown in FIG. 9, the positions of the decomposed contours of the respective regions are multiplexed and then encoded, but in the eighth embodiment, the encoders 37a and 37b first encode each region, and after encoding, The multiplexer 38 multiplexes the code of each area and the information necessary for combining the areas. Even if the order of the encoder and the multiplexer is exchanged as in the eighth embodiment, the same effect of the present invention can be realized.

【0049】(実施の形態9)図12は第2の発明の輪
郭復号化装置の他の実施の形態9のブロック図である。
同図において、図10のブロック図との差異は、分離器
50、復号化器51a,51である。なお、同図の輪郭
復号化装置は図11の輪郭符号化装置で符号化した符号
化信号33を正しく復号化するためのものである。
(Ninth Embodiment) FIG. 12 is a block diagram of a ninth embodiment of the contour decoding apparatus according to the second invention.
In the figure, the difference from the block diagram of FIG. 10 is a separator 50 and decoders 51a and 51. The contour decoding apparatus in the figure is for correctly decoding the coded signal 33 coded by the contour coding apparatus in FIG.

【0050】以上のように構成された図12の実施の形
態9について説明する。なお、図10のブロック図と同
じ番号が付した機器は同じ動作をするので、説明を省略
する。図10の実施の形態7では符号化信号を復号化し
てから分離し、各領域毎に輪郭を復号化したが、本実施
の形態9では最初に分離器50で各領域毎の符号と領域
を合成するために必要な情報を分離し、各領域毎に復号
化器51a,51bで輪郭位置を復号化する。
The ninth embodiment of FIG. 12 configured as described above will be described. It should be noted that the devices designated by the same numbers as those in the block diagram of FIG. In the seventh embodiment shown in FIG. 10, the encoded signal is decoded and then separated, and the contour is decoded for each region. In the ninth embodiment, first, the separator 50 first determines the code and region for each region. Information necessary for synthesizing is separated, and the contour positions are decoded by the decoders 51a and 51b for each area.

【0051】以上のようにして、図11の輪郭符号化装
置で符号化した信号を正しく復号化することができる。
As described above, the signal coded by the contour coding apparatus of FIG. 11 can be correctly decoded.

【0052】(実施の形態10)図13は第2の発明に
おける輪郭図形の他の合成法の論理演算として論理積を
使用し、更に基底軸の選択による基底軸の切り換えも行
った場合の説明図である。
(Embodiment 10) FIG. 13 is a description of a case where a logical product is used as a logical operation of another method of synthesizing a contour figure in the second invention, and the base axis is switched by selecting the base axis. It is a figure.

【0053】図13で塗りつぶし領域が真、白い領域が
偽の値を有し、真と偽の値が変化する位置が輪郭であ
る。図13の領域Aは図13領域Bと図13領域Cの論
理積として表現できるので、図13の領域Bと図13領
域Cを符号化すれば、輪郭復号化装置で図13の領域A
を正しく復号化することができる。この際に、領域Bは
水平軸を基底軸とし、領域Cは垂直軸を基底軸として符
号化すれば、領域Bおよび領域Cを同じ基底軸で符号化
するよりも、実施の形態3で説明したように符号化効率
を更に向上させることも可能である。
In FIG. 13, the filled area has a true value, the white area has a false value, and the position where the true value and the false value change is the contour. The area A in FIG. 13 can be expressed as the logical product of the areas B and C in FIG. 13, so that if the areas B and C in FIG.
Can be correctly decoded. At this time, if the region B is encoded with the horizontal axis as the base axis and the region C is encoded with the vertical axis as the base axis, the region B and the region C will be described in the third embodiment rather than the same base axis. As described above, it is possible to further improve the coding efficiency.

【0054】(実施の形態11)図14は標本化のため
に輪郭図形を複数の直線により分割する際に、その分割
数を換えることの優位性を示す図である。これまでの説
明では標本化手段でn+1分割すると説明したが、分割
数の値については説明しなかった。
(Embodiment 11) FIG. 14 is a diagram showing the advantage of changing the number of divisions when a contour figure is divided by a plurality of straight lines for sampling. In the above description, it was explained that the sampling means divided n + 1, but the value of the division number was not explained.

【0055】輪郭図形を前もってブロック化する場合に
ついて述べると、このブロックの大きさが固定であれ
ば、分割数も固定(例えば9)でよいが、ブロックの大
きさが変わるとそれに応じて分割数も変えなければ、大
きなブロックでは輪郭形状を忠実に表現することができ
ず、大きなブロックの符号化歪みが視覚的に目立つこと
になる。
The case where the contour figure is divided into blocks in advance will be described. If the size of this block is fixed, the number of divisions may be fixed (for example, 9), but if the size of the block changes, the number of divisions will change accordingly. If not changed, the contour shape cannot be faithfully expressed in the large block, and the coding distortion of the large block becomes visually conspicuous.

【0056】そこで、図14に示すように、標本化の為
の複数の直線の間隔は殆ど同じにして有るため、ブロッ
クの大きさに応じて標本化数が増加することになる。こ
のように、ブロックの大きさが大きくなると分割数も増
加させれば、輪郭符号化の歪みが均一化され、視覚的に
目立たなくすることができる。なお、同じ大きさのブロ
ックでも対角方向の輪郭線の長さは水平および垂直方向
の輪郭線の長さよりも長いので、処理が複雑になること
が許容できれば、輪郭線の長さに応じて分割数を変えて
更に符号化効率を高めることもできる。
Therefore, as shown in FIG. 14, the intervals of a plurality of straight lines for sampling are almost the same, so that the number of samples increases according to the size of the block. As described above, if the number of divisions is increased as the size of the block is increased, the distortion of the contour coding is made uniform and can be made visually inconspicuous. Even for blocks of the same size, the length of the contour line in the diagonal direction is longer than the length of the contour line in the horizontal and vertical directions, so depending on the length of the contour line if the processing can be complicated. The number of divisions can be changed to further improve the coding efficiency.

【0057】なお、分割数を変える場合には、輪郭復号
化装置で当該ブロックの分割数が正しく取得できるよう
に、必要に応じて分割数を示す符号を輪郭符号化信号に
多重化する必要がある。
When the number of divisions is changed, it is necessary to multiplex the code indicating the number of divisions into the contour coded signal so that the contour decoding apparatus can correctly obtain the number of divisions of the block. is there.

【0058】(実施の形態12)図15は第3の発明の
輪郭符号化方法および輪郭復号化方法の概念図である。
輪郭図形を符号化する際に、当該輪郭図形の参照となる
輪郭図形が予め得られる場合があり、階層符号化や、動
画像の符号化に用いられる予測符号かに係るものであ
る。例えば、階層符号化の場合は粗い輪郭図形であり、
動画像の場合は時間的に近接する復号化済みの輪郭図形
を用いて、予測符号化を行うものである。
(Embodiment 12) FIG. 15 is a conceptual diagram of a contour coding method and a contour decoding method of the third invention.
When encoding a contour figure, a contour figure that serves as a reference to the contour figure may be obtained in advance, and is related to the predictive code used for the hierarchical encoding or the encoding of the moving image. For example, in the case of hierarchical coding, it is a rough contour figure,
In the case of a moving image, predictive coding is performed using decoded contour figures that are temporally close to each other.

【0059】参照となる輪郭図形があり、参照輪郭図形
から当該輪郭図形を精度良く推測できれば、直接当該輪
郭図形を符号化するのではなく参照輪郭図形との差分を
符号化すれば符号化効率が向上できる。図15は輪郭図
形をブロック化処理した場合の例を示しており、図15
(a)は被符号化ブロックであり、図15(b)は参照
輪郭図形から生成された参照ブロックである。被符号化
ブロックと参照ブロックの差が図15(c)であり、各
矢印は参照ブロックの各輪郭上の点から被符号化ブロッ
クの輪郭までの差分を表していて、各矢印の線が引かれ
ている位置は、図15(a)の輪郭図形及び図15
(b)の参照輪郭図形の輪郭線上に配置された特徴点の
間の距離を表している。この矢印を向き(上向きを正、
下向きを負)を符号として大きさを{x0,x1,...,x7}と
し、水平軸を基底軸として考えると図15(d)の差分
ブロックが構成できる。
If there is a reference contour figure and the contour figure can be accurately estimated from the reference contour figure, the encoding efficiency can be improved by encoding the difference with the reference contour figure instead of directly encoding the contour figure. Can be improved. FIG. 15 shows an example of the case where the contour figure is processed into blocks.
FIG. 15A shows a coded block, and FIG. 15B shows a reference block generated from a reference contour figure. The difference between the coded block and the reference block is shown in FIG. 15C, and each arrow represents the difference from a point on each contour of the reference block to the contour of the coded block, and the line of each arrow is drawn. The positions shown are the contour figure of FIG.
The distance between the feature points arranged on the contour line of the reference contour figure in (b) is shown. Point this arrow (upward is positive,
The difference block of FIG. 15 (d) can be constructed by considering the size as {x0, x1, ..., x7} with the sign (downward negative) as the sign and the horizontal axis as the base axis.

【0060】図15(d)の差分ブロックは、これまで
に説明したブロック化された輪郭図形と同じように扱う
ことができ、{x0,x1,...,x7}を輪郭点までの距離と考
えて符号化すればよい。その際に、参照ブロックと被符
号化ブロックがほぼ一致する場合は{x0,x1,...,x7}は
殆ど0となるので符号化が不要であり、符号化効率が向
上できる。
The difference block of FIG. 15 (d) can be treated in the same manner as the block-shaped contour figure described above, and {x0, x1, ..., x7} is the distance to the contour point. Should be encoded. At this time, when the reference block and the encoded block are almost the same, {x0, x1, ..., x7} is almost 0, so that encoding is unnecessary and the encoding efficiency can be improved.

【0061】図16はこの符号化方法を用いた輪郭符号
化装置の実施の形態12のブロック図である。同図にお
いて、図5のブロック図との差異は、参照輪郭図形であ
る予測輪郭図形40と、ブロック化器41、基底選択器
42、標本化器43、輪郭検出器44,45、差分器4
6、符号化器47、符号化信号48である。輪郭検出器
44,45の動作そのものは図5のブロック図の輪郭検
出器4と同じである。
FIG. 16 is a block diagram of a twelfth embodiment of a contour coding apparatus using this coding method. In the figure, the difference from the block diagram of FIG. 5 is that the predicted contour figure 40 that is the reference contour figure, the blocker 41, the basis selector 42, the sampler 43, the contour detectors 44 and 45, and the differencer 4
6, an encoder 47, and an encoded signal 48. The operations themselves of the contour detectors 44 and 45 are the same as those of the contour detector 4 in the block diagram of FIG.

【0062】以上のように構成された図16の実施の形
態12について説明する。なお、図5のブロック図と同
じ番号が付した機器は同じ動作をするので、説明を省略
する。予測輪郭図形40はブロック化器41でブロック
化され、参照ブロック信号として出力される。基底選択
器42は参照ブロック信号から標本化の基底軸を決定
し、標本化器3,43に通知する。標本化器43および
輪郭検出器44によって参照ブロック信号の輪郭点の位
置が計算される。差分器46は被符号化ブロックの輪郭
点の位置から参照ブロックの輪郭点の位置を減算し、符
号化器47は減算器46の差を符号化して符号化信号4
8とする。
The twelfth embodiment of FIG. 16 configured as described above will be described. Since the devices designated by the same numbers as those in the block diagram of FIG. 5 perform the same operations, the description thereof will be omitted. The predicted contour figure 40 is divided into blocks by the blocker 41 and is output as a reference block signal. The basis selector 42 determines the basis axis of sampling from the reference block signal and notifies the samplers 3 and 43. The position of the contour point of the reference block signal is calculated by the sampler 43 and the contour detector 44. The differentiator 46 subtracts the position of the contour point of the reference block from the position of the contour point of the encoded block, and the encoder 47 encodes the difference of the subtractor 46 to encode the encoded signal 4
8 is assumed.

【0063】以上のようにして、予測輪郭図形である参
照輪郭図形を用いて当該輪郭図形を効率良く符号化する
ことができる。
As described above, the contour figure can be efficiently coded by using the reference contour figure which is the predicted contour figure.

【0064】(実施の形態13)図17は実施の形態1
2の方法を用いた輪郭復号化装置の実施の形態13のブ
ロック図である。同図において図6のブロック図との差
異は参照輪郭図形である予測輪郭図形40、ブロック化
器41、基底選択器42、標本化器43、輪郭検出器4
4、符号化信号48、復号化器60、加算器61であ
る。符号化信号33、復号化器34、分離器35、図形
合成器36である。なお、同図の輪郭復号化装置は図1
6の輪郭符号化装置で符号化した符号化信号33を正し
く復号化するためのものである。
(Thirteenth Embodiment) FIG. 17 shows the first embodiment.
23 is a block diagram of Embodiment 13 of the contour decoding apparatus using the method of 2. In the figure, the difference from the block diagram of FIG. 6 is that a predicted contour figure 40 that is a reference contour figure, a blocker 41, a basis selector 42, a sampler 43, and a contour detector 4
4, coded signal 48, decoder 60, and adder 61. The coded signal 33, the decoder 34, the separator 35, and the graphic synthesizer 36. The contour decoding apparatus shown in FIG.
This is for correctly decoding the coded signal 33 coded by the contour coding device 6 of FIG.

【0065】以上のように構成された図17の実施の形
態13について説明する。なお、図6のブロック図およ
び図16のブロック図と同じ番号が付した機器は同じ動
作をするので、説明を省略する。符号化信号48は復号
化器60で復号化し、加算器61で参照ブロックの輪郭
点の位置を加算する。加算器61の和は輪郭生成器12
に入力され、その後の処理は図6の実施の形態4と同じ
である。
The thirteenth embodiment of FIG. 17 configured as above will be described. Since the devices designated by the same numbers as those in the block diagram of FIG. 6 and the block diagram of FIG. 16 perform the same operation, the description thereof will be omitted. The encoded signal 48 is decoded by the decoder 60, and the position of the contour point of the reference block is added by the adder 61. The sum of the adder 61 is the contour generator 12
Is input to the same as that of the fourth embodiment shown in FIG.

【0066】予測輪郭図形が図16の輪郭符号化装置と
同じであるから、以上のようにして、輪郭検出器44の
出力および基底選択器42の基底軸が図16の輪郭符号
化装置の同じ番号の機器の出力と完全に一致するので、
正しく復号化することができる。
Since the predicted contour figure is the same as that of the contour coding apparatus of FIG. 16, the output of the contour detector 44 and the base axis of the base selector 42 are the same as those of the contour coding apparatus of FIG. Since it exactly matches the output of the numbered device,
It can be decrypted correctly.

【0067】(実施の形態14)図18は基底軸の選
択、およびそこから標本化のためn+1分割する複数の直
線(境界線)の引き方の1方法を説明するために図であ
る。
(Embodiment 14) FIG. 18 is a diagram for explaining one method of selecting a base axis and drawing a plurality of straight lines (boundary lines) for dividing by n + 1 for sampling. .

【0068】輪郭図形をブロックに分割した場合につい
て説明すると、図18では基底軸を輪郭図形の曲線部分
を特定でき、且つ輪郭図形との距離を出来るだけ短くす
るように選択している。
The case where the contour figure is divided into blocks will be described. In FIG. 18, the base axis is selected so that the curved portion of the contour figure can be specified and the distance to the contour figure is made as short as possible.

【0069】又、その選択した基底軸に沿って矩形ブロ
ック内をn+1分割の方法は任意に行うことができるが、
この矩形ブロックの水平、垂直枠を座標軸とすると、境
界線がこの座標軸と斜めの場合は境界線上の位置{x0,x
1,...,x7}を2次元座標から計算によって導出する必要
がある。しかしながら、境界線が水平(図18(a))
もしくは垂直(図18(b))の場合には1次元方向
(水平もしくは垂直)の差分計算となるので、計算が容
易である。そこで、境界線が水平線もしくは垂直線とな
る分割を行うことにより、本発明の処理量を低減するこ
とができる。
The method of dividing the rectangular block into n + 1 along the selected base axis can be arbitrarily performed.
If the horizontal and vertical frames of this rectangular block are the coordinate axes, the position on the boundary is {x0, x if the boundary is diagonal to this coordinate axis.
It is necessary to derive 1, ..., x7} from the two-dimensional coordinates by calculation. However, the boundary is horizontal (Fig. 18 (a))
Alternatively, in the case of vertical (FIG. 18B), the difference calculation in the one-dimensional direction (horizontal or vertical) is performed, and therefore the calculation is easy. Therefore, the processing amount of the present invention can be reduced by dividing the boundary line into a horizontal line or a vertical line.

【0070】なお、境界線を水平または垂直のいずれを
選択するかの判断は、基底軸と水平軸もしくは垂直軸と
の交差角度を計算し、交差角度が90度に近い方を選択
すればよい。
To determine whether the boundary line is horizontal or vertical, the intersection angle between the base axis and the horizontal axis or the vertical axis is calculated, and the intersection angle close to 90 degrees may be selected. .

【0071】(実施の形態15)また、第1から4の発
明はプログラムによって実現し、これをフロッピーディ
スク等の記録媒体に記録して移送することにより、独立
した他のコンピュータシステムで容易に実施することが
できる。図19に記録媒体の例としてフロッピーディス
クを示す。
(Embodiment 15) Further, the first to fourth inventions are realized by a program, which is recorded on a recording medium such as a floppy disk and transferred, so that it can be easily carried out by another independent computer system. can do. FIG. 19 shows a floppy disk as an example of the recording medium.

【0072】なお、この実施の形態においては、記録媒
体としてフロッピーディスクを示したが、ICカードやCD
-ROMやカセット等プログラムを記録できるものであれ
ば、同様に実施することができる。
In this embodiment, the floppy disk is shown as the recording medium, but an IC card or a CD is used.
-If the program can be recorded, such as a ROM or a cassette, the present invention can be similarly implemented.

【0073】[0073]

【発明の効果】以上のように本発明の輪郭図形符号化、
復号化方法及び、その方法を用いた輪郭符号化器、復号
化器によれば、輪郭図形を効率よく符号化することがで
きる。
As described above, the contour figure encoding according to the present invention,
According to the decoding method and the contour encoder and decoder using the method, the contour figure can be efficiently encoded.

【0074】さらに、この処方を、ブロック単位で処理
することで、カラー信号の符号化と同じブロック単位と
することができるので、従来のカラー信号符号化方法に
も輪郭図形の追加が容易になる。また、カラー信号とそ
の輪郭図形は相関があり、ブロック単位で輪郭図形の情
報を利用したカラー符号化を実現すれば、カラー符号化
の符号化効率を向上させることも可能である。
Further, by processing this prescription in block units, the same block unit as that of color signal encoding can be obtained, so that it is easy to add a contour figure to the conventional color signal encoding method. . Further, there is a correlation between the color signal and its contour graphic, and if color coding is realized using the information of the contour graphic in block units, the coding efficiency of color coding can be improved.

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

【図1】第1の発明の輪郭符号化方法および輪郭復号化
方法の概念図
FIG. 1 is a conceptual diagram of a contour coding method and a contour decoding method according to the first invention.

【図2】第1の発明の輪郭符号化装置の実施の形態1の
ブロック図
FIG. 2 is a block diagram of the first embodiment of the contour coding apparatus according to the first invention.

【図3】第1の発明の輪郭復号化装置の実施の形態2の
ブロック図
FIG. 3 is a block diagram of a second embodiment of the contour decoding apparatus of the first invention.

【図4】第1の発明の輪郭符号化方法および輪郭復号化
方法において、基底軸を設定する際の具体的事例につい
ての概念図であり、(a)は水平軸を基底軸として垂直
に境界線を引いた例を示す図 (b)は垂直軸を基底軸として水平に境界線を引いた例
を示す図
FIG. 4 is a conceptual diagram of a concrete example of setting a base axis in the contour encoding method and the contour decoding method of the first invention, and FIG. 4A is a vertical boundary with a horizontal axis as a base axis. The figure which shows the example which drew the line (b) is the figure which shows the example which drew the boundary line horizontally with the vertical axis as the base axis.

【図5】第1の発明で基底軸を選択設定する機能を付加
した輪郭符号化装置の実施の形態3のブロック図
FIG. 5 is a block diagram of a third embodiment of a contour coding apparatus to which a function of selectively setting a base axis is added in the first invention.

【図6】第1の発明で基底軸を選択設定する機能を付加
した輪郭復号化装置の実施の形態4のブロック図
FIG. 6 is a block diagram of a fourth embodiment of a contour decoding apparatus to which a function of selectively setting a base axis is added in the first invention.

【図7】第1の発明において、選択すべき基底軸の例を
示した説明図であり、(a)は水平軸を示す図 (b)は垂直軸を示す図 (c),(d)は対角軸の例を示す図
FIG. 7 is an explanatory view showing an example of a base axis to be selected in the first invention, (a) showing a horizontal axis, (b) showing a vertical axis (c), (d). Is a diagram showing an example of diagonal axes

【図8】第2の発明の輪郭符号化方法および輪郭復号化
方法の概念図
FIG. 8 is a conceptual diagram of a contour coding method and a contour decoding method of the second invention.

【図9】第2の発明の輪郭符号化装置の実施の形態6の
ブロック図
FIG. 9 is a block diagram of a sixth embodiment of a contour coding apparatus according to the second invention.

【図10】第2の発明の輪郭復号化装置の実施の形態7
のブロック図
FIG. 10 is a seventh embodiment of the contour decoding apparatus of the second invention.
Block diagram of

【図11】第2の発明の輪郭符号化装置の他の実施の形
態8のブロック図
FIG. 11 is a block diagram of another embodiment 8 of the contour coding apparatus according to the second invention.

【図12】第2の発明の輪郭復号化装置の他の実施の形
態9のブロック図
FIG. 12 is a block diagram of another embodiment 9 of the contour decoding apparatus according to the second invention.

【図13】第2の発明における論理積と複数の基底軸を
使用した領域合成の例を示す図
FIG. 13 is a diagram showing an example of region synthesis using a logical product and a plurality of basis axes in the second invention.

【図14】標本化のために分割する分割数を換えること
の優位性を示す図
FIG. 14 is a diagram showing the advantage of changing the number of divisions for sampling.

【図15】第4の発明の輪郭符号化方法および輪郭復号
化方法の概念図であり、(a)は被符号化ブロックを示
す図 (b)は参照ブロックを示す図 (c)は差分ブロックを示す図 (d)は差分ブロックの基底軸を変えた処理の結果を示
す図
FIG. 15 is a conceptual diagram of a contour coding method and a contour decoding method according to a fourth invention, in which (a) shows a block to be coded, (b) shows a reference block, and (c) shows a difference block. FIG. 6D is a diagram showing a result of processing in which the base axis of the difference block is changed.

【図16】第4の発明の輪郭符号化装置の実施の形態1
2のブロック図
FIG. 16 is a first embodiment of a contour coding device according to a fourth invention.
Block diagram of 2

【図17】第4の発明の輪郭復号化装置の実施の形態1
3のブロック図
FIG. 17 is a first embodiment of a contour decoding device according to a fourth invention.
Block diagram of 3

【図18】基底軸の選択及び標本化のための分割境界線
の引き方の例を示す図
FIG. 18 is a diagram showing an example of how to draw a division boundary line for selecting a base axis and sampling.

【図19】本発明の方法を記録した記録媒体の例を示す
FIG. 19 is a diagram showing an example of a recording medium on which the method of the present invention is recorded.

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

2 ブロック化器 3,43 標本化器 4,44,45 輪郭検出器 5 直交変換器 6,21,32,39,47 符号化器 10,23,34,51,60 復号化器 11 逆直交変換器 12 輪郭生成器 13,25 補間器 14 逆ブロック化器 20,24,42 基底選択器 30 図形分解器 31,387 多重化器 35,50 分離器 36 図形合成器 46 差分器 61 加算器 2 Blocker 3,43 Sampler 4,44,45 Contour detector 5 Orthogonal transformer 6,21,32,39,47 Encoder 10,23,34,51,60 Decoder 11 Inverse orthogonal transform Device 12 contour generator 13,25 interpolator 14 deblocker 20, 24, 42 basis selector 30 graphic decomposer 31,387 multiplexer 35, 50 separator 36 graphic synthesizer 46 differencer 61 adder

Claims (42)

【特許請求の範囲】[Claims] 【請求項1】 輪郭図形を符号化する輪郭符号化方法で
あって、前記輪郭図形の周辺に選択配置された直線を基
底軸とし、前記基底軸に所定の角度で交差するn本の直
線と当該輪郭との交点を計算し、前記各交点と前記基底
軸との距離{x1,x2,...,xn}を符号化して輪郭符号化信
号とする輪郭符号化方法。
1. A contour coding method for coding a contour figure, comprising a straight line selectively arranged around the contour figure as a base axis, and n straight lines intersecting the base axis at a predetermined angle. A contour coding method in which intersections with the contour are calculated, and the distances {x1, x2, ..., xn} between the intersections and the base axis are coded to obtain a contour coded signal.
【請求項2】 輪郭内部と外部が画素毎に真または偽で
表現される輪郭図形を符号化する輪郭符号化方法であっ
て、前記輪郭図形をk(kは自然数)個の部分輪郭図形
に分解し、前記分解は前記輪郭図形を前記k個の部分輪
郭図形の画素毎の論理演算で表現できるようにし、前記
各部分輪郭図形毎に前記輪郭図形の周辺に選択配置され
た直線を基底軸とし、前記基底軸に所定の角度で交差す
るn本の直線と前記部分輪郭図形との交点を計算し、前
記各交点と前記基底軸との距離{x1,x2,...,xn}を符号
化して前記部分輪郭図形の構成を示す信号と共に輪郭符
号化信号とする輪郭符号化方法。
2. A contour coding method for coding a contour figure in which the inside and outside of the contour are expressed as true or false for each pixel, wherein the contour figure is divided into k (k is a natural number) partial contour figures. The decomposition is performed so that the contour figure can be expressed by a logical operation for each pixel of the k partial contour figures, and a straight line selectively arranged around the contour figure for each of the partial contour figures is a base axis. Then, the intersections of n straight lines intersecting the base axis at a predetermined angle and the partial contour figure are calculated, and the distance {x1, x2, ..., xn} between each intersection and the base axis is calculated. A contour coding method which is coded into a contour coded signal together with a signal indicating the configuration of the partial contour figure.
【請求項3】 排他論理和を前記論理演算とする請求項
2記載の輪郭符号化方法。
3. The contour coding method according to claim 2, wherein exclusive OR is used as the logical operation.
【請求項4】 基底軸に所定の角度で交差するn本の直
線上の輪郭との交点が高々1となるように輪郭図形を部
分輪郭図形に分解する請求項2記載の輪郭符号化方法。
4. The contour coding method according to claim 2, wherein the contour figure is decomposed into partial contour figures so that the number of intersections with the contours on n straight lines intersecting the base axis at a predetermined angle is at most 1.
【請求項5】 輪郭図形を符号化する輪郭符号化方法で
あって、符号化すべき輪郭図形の予測輪郭図形を生成
し、前記予測輪郭図形の輪郭線にn個の特徴点をとり、
前記予測輪郭図形の前記各特徴点と相対する画像位置の
前記輪郭図形までの距離{x1,x2,...,xn}を符号化して
輪郭符号化信号とする輪郭符号化方法。
5. A contour coding method for coding a contour figure, wherein a predicted contour figure of the contour figure to be coded is generated, and n feature points are taken on the contour line of the predicted contour figure.
A contour coding method for coding a distance {x1, x2, ..., xn} to the contour graphic at an image position opposite to each of the feature points of the predicted contour graphic to obtain a contour coded signal.
【請求項6】 前記特徴点で前記予測輪郭図形の垂線方
向の距離を{x1,x2,...,xn}とする請求項5記載の輪郭
符号化方法。
6. The contour coding method according to claim 5, wherein the distance in the perpendicular direction of the predicted contour figure at the feature points is {x1, x2, ..., xn}.
【請求項7】 輪郭図形を符号化する輪郭符号化方法で
あって、符号化すべき輪郭図形の予測輪郭図形を生成
し、前記輪郭図形の周辺に選択配置された直線を第1の
基底軸とし、前記予測輪郭図形の周辺に選択配置された
直線を第2の基底軸とし、前記第1の基底軸に所定の角
度で交差するn本の直線と前記輪郭図形との交点を計算
し、前記第2の基底軸に所定の角度で交差するn本の直
線と前記予測輪郭図形との交点を計算し、前記輪郭図形
の前記交点と前記第1の基底軸との第1の距離と、前記
予測輪郭図形の前記交点と前記第2基底軸との第2の距
離とを計算し、相対する画像位置における前記第1、第
2の距離の差分{x1,x2,...,xn}を符号化して輪郭符号
化信号とする輪郭符号化方法。
7. A contour coding method for coding a contour figure, wherein a predicted contour figure of a contour figure to be coded is generated, and a straight line selectively arranged around the contour figure is used as a first base axis. , A straight line selectively arranged around the predicted contour figure is set as a second base axis, and an intersection point between the n straight lines intersecting the first base axis at a predetermined angle and the contour figure is calculated, and An intersection of n straight lines intersecting the second base axis at a predetermined angle and the predicted contour figure is calculated, and a first distance between the intersection of the contour figure and the first base axis, and A second distance between the intersection of the predicted contour figure and the second base axis is calculated, and the difference {x1, x2, ..., xn} between the first and second distances at the opposite image positions is calculated. A contour coding method for coding to obtain a contour coded signal.
【請求項8】 動画像の輪郭図形であって、時間的に前
または後または前後の画像から前記予測輪郭図形を生成
する請求項5又は7記載の輪郭符号化方法。
8. The contour coding method according to claim 5, wherein the predicted contour graphic is generated from a temporal graphic that is a contour graphic of a moving image, and is temporally preceding, subsequent, or preceding and following.
【請求項9】 基底軸が、輪郭図形を所定形状の画素領
域に分割し、前記所定形状の画素領域の特定の一辺の直
線又は前記所定形状内部に前記所定形状の頂点から引い
た直線の何れかの直線を基底軸として決定される請求項
1、2、5又は7いずれかに記載の輪郭符号化方法。
9. The base axis divides the contour figure into pixel areas of a predetermined shape, and is either a straight line of a specific side of the pixel area of the predetermined shape or a straight line drawn from the apex of the predetermined shape inside the predetermined shape. 8. The contour coding method according to claim 1, wherein the straight line is determined as a base axis.
【請求項10】 前記所定形状が矩形であり、前記矩形
形状での画素分割法が矩形領域毎に異なっており、矩形
領域分割法を付加情報として符号化する請求項9記載の
輪郭符号化方法。
10. The contour encoding method according to claim 9, wherein the predetermined shape is a rectangle, a pixel division method in the rectangle shape is different for each rectangular area, and the rectangular area division method is encoded as additional information. .
【請求項11】 基底軸が、m通りの基底軸から1つを
選択することで設定され、輪郭符号化信号に前記選択さ
れた基底軸を示す選択信号を含むことを特徴とする請求
項1、2、5又は7いずれかに記載の輪郭符号化方法。
11. The base axis is set by selecting one from m kinds of base axes, and the contour encoded signal includes a selection signal indicating the selected base axis. 8. The contour coding method according to any one of 2, 5, and 7.
【請求項12】 水平線、垂直線または対角線を基底軸
とする請求項1、2、5又は7いずれかに記載の輪郭符
号化方法。
12. The contour coding method according to claim 1, wherein a horizontal line, a vertical line, or a diagonal line is used as a base axis.
【請求項13】 前記基底軸の長さに応じてnの値を変
更する請求項1、2、5又は7いずれかに記載の輪郭符
号化方法。
13. The contour coding method according to claim 1, wherein the value of n is changed according to the length of the base axis.
【請求項14】 基底軸と交差する直線を水平線または
垂直線のみとする請求項1、2、5又は7いずれかに記
載の輪郭符号化方法。
14. The contour coding method according to claim 1, wherein a straight line intersecting the base axis is a horizontal line or a vertical line only.
【請求項15】 請求項1記載の輪郭符号化方法の符号
化信号を復号化する輪郭復号化方法であって、符号化信
号を復号化して{x1,x2,...,xn}を導出し、基底軸に所
定の角度で交差するn本の直線上で前記基底軸からの距
離が各々{x1,x2,...,xn}であるn点を復号化した輪郭
上の点とし、当該画像の全ての前記復号化した輪郭上の
点を曲線で接続することにより当該画像の輪郭図形を復
号化する輪郭復号化方法。
15. A contour decoding method for decoding a coded signal of the contour coding method according to claim 1, wherein the coded signal is decoded to derive {x1, x2, ..., xn}. Then, on the n straight lines intersecting the base axis at a predetermined angle, the n points whose distances from the base axis are {x1, x2, ..., xn} are the points on the decoded contour, A contour decoding method for decoding a contour figure of the image by connecting all points on the decoded contour of the image with a curve.
【請求項16】 請求項2記載の輪郭符号化方法の符号
化信号を復号化する輪郭復号化方法であって、符号化信
号を復号化しn点の距離{x1,x2,...,xn}と部分輪郭図
形の構成を導出し、基底軸に所定の角度で交差するn本
の直線上で前記基底軸からの距離が各々{x1,x2,...,x
n}であるn点を復号化した輪郭上の点とし、前記輪郭
上の点を曲線で接続して輪郭を形成して各部分輪郭図形
の各画素を真または偽で表現し、前記部分輪郭図形の画
像の同じ画素位置に対応する各部分輪郭図形の画素毎の
論理演算を前記導出した部分輪郭図形の構成に従って計
算し、前記各論理演算結果を統合することにより当該画
像の画像全体の輪郭図形を復号化する輪郭復号化方法。
16. A contour decoding method for decoding a coded signal of the contour coding method according to claim 2, wherein the coded signal is decoded and a distance of n points {x1, x2, ..., xn. } And the configuration of the partial contour figure, and the distance from the base axis is {x1, x2, ..., x on each of n straight lines intersecting the base axis at a predetermined angle.
n points, which are n}, are points on the decoded contour, the points on the contour are connected by a curve to form a contour, and each pixel of each partial contour figure is represented by true or false, The contour of the whole image of the image is calculated by calculating a logical operation for each pixel of each partial contour figure corresponding to the same pixel position of the figure image according to the configuration of the derived partial contour figure, and integrating the results of the respective logical operations. A contour decoding method for decoding a figure.
【請求項17】 排他論理和を前記論理演算とする請求
項16記載の輪郭復号化方法。
17. The contour decoding method according to claim 16, wherein exclusive OR is used as the logical operation.
【請求項18】 請求項5記載の輪郭符号化方法の符号
化信号を復号化する輪郭復号化方法であって、符号化信
号を復号化しn点の距離{x1,x2,...,xn}を導出し、一
方符号化されている輪郭図形の予測輪郭図形を生成し、
前記予測輪郭図形の輪郭線にn個の特徴点をとり前記各
特徴点から距離{x1,x2,...,xn}を復号化した輪郭上の
点とし、当該画像の全ての前記復号化した輪郭上の点を
曲線で接続することにより当該画像の輪郭図形を復号化
する輪郭復号化方法。
18. A contour decoding method for decoding a coded signal of the contour coding method according to claim 5, wherein the coded signal is decoded and a distance of n points {x1, x2, ..., xn. }, And generates a predicted contour figure of the one-way encoded contour figure,
Taking n characteristic points on the contour line of the predicted contour figure, the distance {x1, x2, ..., xn} from each characteristic point is the decoded point on the contour, and all the decoding of the image is performed. A contour decoding method for decoding a contour figure of the image by connecting points on the contour with a curve.
【請求項19】 前記特徴点で前記予測輪郭図形の垂線
方向の距離を{x1,x2,...,xn}とする請求項18記載の
輪郭復号化方法。
19. The contour decoding method according to claim 18, wherein the vertical distance of the predicted contour figure at the feature point is {x1, x2, ..., xn}.
【請求項20】 請求項7記載の輪郭符号化方法の符号
化信号を復号化する輪郭復号化方法であって、符号化信
号を復号化して距離の差分{x1,x2,...,xn}を導出し、
一方符号化されている輪郭図形の予測輪郭図形を生成
し、前記予測輪郭図形の基底軸に所定の角度で交差する
n本の直線上で前記予測輪郭図形からの距離が各々{x
1,x2,...,xn}であるn点を復号化した輪郭上の点と
し、当該画像の全ての前記復号化した輪郭上の点を曲線
で接続することにより当該画像の輪郭図形を復号化する
輪郭復号化方法。
20. A contour decoding method for decoding a coded signal of the contour coding method according to claim 7, wherein the coded signal is decoded to obtain a difference in distance {x1, x2, ..., xn. } Is derived,
On the other hand, a predicted contour figure of the coded contour figure is generated, and the distance from the predicted contour figure is {x on each of n straight lines intersecting the base axis of the predicted contour figure at a predetermined angle.
1, x2, ..., xn} are defined as points on the decoded contour, and all the points on the decoded contour of the image are connected by a curve to form the contour figure of the image. A contour decoding method for decoding.
【請求項21】 動画像の輪郭図形であって、時間的に
前または後または前後の画像から前記予測輪郭図形を生
成する請求項18又は20記載の輪郭復号化方法。
21. The contour decoding method according to claim 18, wherein the predicted contour figure is a contour figure of a moving image, and the predicted contour figure is temporally preceding, subsequent, or preceding and succeeding images.
【請求項22】 基底軸が、輪郭図形を所定形状の画素
領域に分割し、前記所定形状の画素領域の特定の一辺の
直線又は前記所定形状内部に前記所定形状の頂点から引
いた直線の何れかの直線を基底軸として決定される請求
項15、16、18又は20いずれかに記載の輪郭復号
化方法。
22. The base axis divides the contour figure into pixel areas of a predetermined shape, and is either a straight line of a specific side of the pixel area of the predetermined shape or a straight line drawn from the apex of the predetermined shape inside the predetermined shape. 21. The contour decoding method according to claim 15, wherein the straight line is determined as a base axis.
【請求項23】 前記矩形形状での画素分割法が矩形領
域毎に異なっており、付加情報として符号化された矩形
領域分割法を復号化して前記矩形形状の画素分割法を得
る請求項22記載の輪郭復号化方法。
23. The rectangular pixel division method is different for each rectangular area, and the rectangular area pixel division method is obtained by decoding the rectangular area division method encoded as additional information. Contour decoding method.
【請求項24】 基底軸が、m通りの基底軸から1つを
選択することで設定され、輪郭符号化信号に前記選択さ
れた基底軸を示す選択信号を含むことを特徴とする請求
項15、16、18又は20いずれかに記載の輪郭復号
化方法。
24. The basis axis is set by selecting one of the m number of basis axes, and the contour coded signal includes a selection signal indicating the selected basis axis. 21. The contour decoding method according to claim 16, 18, or 20.
【請求項25】 水平線、垂直線または対角線を基底軸
とする請求項15、16、18又は20いずれかに記載
の輪郭復号化方法。
25. The contour decoding method according to claim 15, 16, 18 or 20, wherein a horizontal line, a vertical line or a diagonal line is used as a base axis.
【請求項26】 前記基底軸の長さに応じてnの値を変
更する請求項15、16、18又は20いずれかに記載
の輪郭復号化方法。
26. The contour decoding method according to claim 15, 16, 18, or 20, wherein the value of n is changed according to the length of the base axis.
【請求項27】 基底軸と交差する直線を水平線または
垂直線のみとする請求項15、16、18又は20いず
れかに記載の輪郭復号化方法。
27. The contour decoding method according to claim 15, wherein only a horizontal line or a vertical line intersects the base axis.
【請求項28】 コンピュータの記録媒体であって、請
求項1、2、5、7、15、16、18又は20いずれ
かの少なくとも1つを実現するプログラムが記録されて
いる記録媒体。
28. A recording medium for a computer, in which a program for realizing at least one of claims 1, 2, 5, 7, 15, 16, 18 or 20 is recorded.
【請求項29】 輪郭内部と外部が画素毎に真または偽
で表現される輪郭図形を符号化する符号化装置であっ
て、輪郭図形の標本化の基底軸を選択する基底選択手段
と、前記基底選択手段で選択した基底軸に沿ってn+1分
割して分割境界の真偽の値を出力する標本化手段と、各
分割位置毎に前記標本化手段出力の真偽の値が真から偽
または偽から真に変化する位置を検出して出力する輪郭
検出手段と、前記輪郭検出手段出力と前記基底選択手段
で選択した基底軸を示す符号を符号化する符号化手段を
備え、前記符号化手段出力を輪郭符号化信号とする輪郭
符号化装置。
29. An encoding device for encoding a contour figure in which the inside and the outside of the contour are expressed as true or false for each pixel, wherein the basis selecting means selects a basis axis for sampling the contour figure. Sampling means that outputs the true and false values of the division boundary by dividing n + 1 along the base axis selected by the base selecting means, and the true and false values of the output of the sampling means from true to true for each division position The contour detecting means for detecting and outputting a false position or a position changing from false to true, and an encoding means for encoding a code indicating the output of the contour detecting means and the base axis selected by the base selecting means are provided. A contour coding device in which the output of the coding means is a contour coded signal.
【請求項30】 輪郭図形の輪郭位置と前記輪郭位置を
特定するための基底軸を示す符号を符号化した輪郭符号
化信号を復号化して輪郭図形を復号する復号化装置であ
って、輪郭符号化信号を復号化して輪郭位置と基底選択
信号を出力する復号化手段と、前記復号化手段の輪郭位
置に応じて輪郭内部であるか輪郭外部であるかを示す真
偽の値を生成する輪郭生成手段と、前記復号化手段の基
底選択信号から標本化の基底軸を選択する基底選択手段
と、前記基底選択手段で選択した基底軸に従って前記輪
郭生成手段の出力を並べて輪郭内外を示す真偽の値を補
間により生成する補間手段とを備え、前記補間手段出力
を統合して当該図形全体を構成して輪郭図形とする輪郭
復号化装置。
30. A decoding device for decoding a contour figure by decoding a contour coded signal obtained by coding a contour position of a contour figure and a code indicating a base axis for specifying the contour position. Decoding means for decoding the contoured signal to output a contour position and a base selection signal, and a contour for generating a true / false value indicating whether it is inside the contour or outside the contour according to the contour position of the decoding means Generation means, basis selection means for selecting a sampling basis axis from the basis selection signal of the decoding means, and true / false indicating the inside and outside of the contour by arranging the outputs of the contour generation means in line with the basis axis selected by the basis selection means And a contour decoding device for generating a contour figure by integrating the outputs of the interpolation means.
【請求項31】 輪郭内部と外部が画素毎に真または偽
で表現される輪郭図形を符号化する符号化装置であっ
て、輪郭図形を所定形状ブロックに分割して出力するブ
ロック化手段と、前記ブロック化手段出力の前記所定形
状ブロックを所定の方向に沿ってn+1分割して分割境界
の真偽の値を出力する標本化手段と、各分割位置毎に前
記標本化手段出力の真偽の値が真から偽または偽から真
に変化する位置を検出して出力する輪郭検出手段と、前
記輪郭検出手段出力を符号化する符号化手段を備え、前
記符号化手段出力を輪郭符号化信号とする輪郭符号化装
置。
31. An encoding device for encoding a contour figure in which the inside and the outside of the contour are expressed as true or false for each pixel, and a block forming means for dividing the contour figure into blocks of a predetermined shape and outputting the blocks. Sampling means for dividing the predetermined shape block output from the blocking means into n + 1 along a predetermined direction to output a true / false value of the division boundary, and true of the sampling means output for each division position. Contour detection means for detecting and outputting a position where a false value changes from true to false or false to true, and coding means for coding the output of the contour detection means are provided, and the output of the coding means is contour coded. A contour coding device as a signal.
【請求項32】 輪郭図形の輪郭位置と前記輪郭位置を
特定するためのブロック化を示す符号を符号化した輪郭
符号化信号を復号化して輪郭図形を復号する復号化装置
であって、輪郭符号化信号を復号化する復号化手段と、
前記復号化手段の成分に応じて輪郭内部であるか輪郭外
部であるかを示す真偽の値を生成する輪郭生成手段と、
前記輪郭生成手段の出力を並べて所定形状ブロックの輪
郭内外を示す真偽の値を補間により生成する補間手段
と、前記補間手段出力を統合して当該図形全体を構成す
る逆ブロック化手段を備え、前記逆ブロック化手段出力
を復号化した輪郭図形とする輪郭復号化装置。
32. A decoding device for decoding a contour figure by decoding a contour coded signal obtained by coding a contour position of a contour figure and a code indicating blocking for specifying the contour position, the contour code being a contour code. Decoding means for decoding the encrypted signal,
Contour generating means for generating a true / false value indicating whether it is inside the contour or outside the contour according to the component of the decoding means;
An interpolating means for arranging the outputs of the contour generating means to generate a true / false value indicating the inside / outside of the contour of the predetermined shape block by interpolation; A contour decoding device for converting the output of the inverse blocking means into a decoded contour figure.
【請求項33】 輪郭内部と外部が画素毎に真または偽
で表現される輪郭図形を符号化する符号化装置であっ
て、輪郭図形を所定形状ブロックに分割して出力するブ
ロック化手段と、前記ブロック化手段出力から標本化の
基底軸を選択する基底選択手段と、前記ブロック化手段
出力を前記基底選択手段で選択した基底軸に沿ってn+1
分割して分割境界の真偽の値を出力する標本化手段と、
各分割位置毎に前記標本化手段出力の真偽の値が真から
偽または偽から真に変化する位置を検出して出力する輪
郭検出手段と、前記輪郭検出手段出力と前記基底選択手
段で選択した基底軸を示す符号を符号化する符号化手段
を備え、前記符号化手段出力を輪郭符号化信号とする輪
郭符号化装置。
33. An encoding device for encoding a contour figure in which the inside and the outside of the contour are expressed as true or false for each pixel, and a blocking means for dividing the contour figure into blocks of a predetermined shape and outputting the blocks. Basis selecting means for selecting a sampling basis axis from the blocking means output, and n + 1 along the basis axis selected by the blocking means output by the basis selecting means.
Sampling means for dividing and outputting the true and false values of the dividing boundary,
Contour detection means for detecting and outputting the position where the true / false value of the sampling means output changes from true to false or from false to true for each division position, and selected by the contour detection means output and the base selection means A contour coding device comprising coding means for coding a code indicating the base axis, and using the output of the coding means as a contour coded signal.
【請求項34】 輪郭図形の輪郭位置と前記輪郭位置を
特定するためのブロック化及びブロック内の基底軸を示
す符号を符号化した輪郭符号化信号を復号化して輪郭図
形を復号する復号化装置であって、輪郭符号化信号を復
号化して輪郭位置と基底選択信号を出力する復号化手段
と、前記復号化手段の輪郭位置に応じて輪郭内部である
か輪郭外部であるかを示す真偽の値を生成する輪郭生成
手段と、前記復号化手段の基底選択信号から標本化の基
底軸を選択する基底選択手段と、前記基底選択手段で選
択した基底軸に従って前記輪郭生成手段の出力を並べて
当該矩形ブロックの輪郭内外を示す真偽の値を補間によ
り生成する補間手段と、前記補間手段出力を統合して当
該図形全体を構成する逆ブロック化手段を備え、前記逆
ブロック化手段出力を復号化した輪郭図形とする輪郭復
号化装置。
34. A decoding device for decoding a contour graphic by decoding a contour coded signal obtained by coding a contour position of a contour graphic and a block for specifying the contour position and a code indicating a base axis in the block. And a decoding means for decoding the contour coded signal to output a contour position and a base selection signal, and true / false indicating whether the contour is inside or outside the contour according to the contour position of the decoding means. A contour generating means for generating a value of, a base selecting means for selecting a base axis for sampling from a base selecting signal of the decoding means, and an output of the contour generating means according to the base axis selected by the base selecting means. The interpolating means for generating a true / false value indicating the inside and outside of the outline of the rectangular block by interpolation and the deblocking means for integrating the output of the interpolating means to form the entire figure are provided, and the deblocking means output A contour decoding device for decoding a contour figure.
【請求項35】 輪郭内部と外部が画素毎に真または偽
で表現される輪郭図形を符号化する符号化装置であっ
て、輪郭図形を論理演算で合成可能なk(kは自然数)
個の部分輪郭図形のブロックに分解する図形分解手段
と、前記図形分解手段で分解した各部分輪郭図形のブロ
ックを所定の方向に沿ってn+1分割して分割境界の真偽
の値を出力する標本化手段と、各分割位置毎に前記標本
化手段出力の真偽の値が真から偽または偽から真に変化
する位置を検出して出力する輪郭検出手段と、各部分輪
郭図形の前記輪郭検出手段出力と前記部分輪郭図形の合
成法を示す符号を符号化する符号化手段を備え、前記符
号化手段出力を輪郭符号化信号とする輪郭符号化装置。
35. An encoding device for encoding a contour figure in which the inside and the outside of the contour are expressed as true or false for each pixel, wherein the contour figure can be synthesized by logical operation k (k is a natural number).
Figure decomposing means for decomposing into individual partial contour figure blocks, and each partial contour figure block decomposed by the figure decomposing means is divided into n + 1 along a predetermined direction to output a true / false value of a division boundary. Sampling means, contour detecting means for detecting and outputting a position where the true / false value of the sampling means output changes from true to false or from false to true for each division position, and A contour coding apparatus, comprising: coding means for coding a code indicating a method for synthesizing the contour detecting means output and the partial contour figure, wherein the coding means output is a contour coded signal.
【請求項36】 輪郭図形の各部分輪郭図形の輪郭位置
と前記部分輪郭図形の合成法を示す符号を符号化した輪
郭符号化信号を復号化して輪郭図形を復号化する復号化
装置であって、輪郭符号化信号を復号化して輪郭位置と
部分輪郭図形合成法を出力する復号化手段と、前記復号
化手段出力の輪郭位置の信号を各部分輪郭図形に対応し
て分離する分離手段と、前記分離手段の出力である輪郭
位置に応じて輪郭内部であるか輪郭外部であるかを示す
真偽の値を各部分輪郭図形について生成する輪郭生成手
段と、所定の方法で前記輪郭生成手段の出力を並べて部
分輪郭図形の輪郭内外を示す真偽の値を補間により生成
する補間手段と、各部分輪郭図形の前記補間手段出力を
前記復号化手段の部分輪郭図形合成法で合成する図形合
成手段と、前記図形合成手段出力を統合して当該図形全
体を構成して復号化した輪郭図形とする輪郭復号化装
置。
36. A decoding device for decoding a contour figure by decoding a contour coded signal obtained by coding a contour position of each partial contour figure of a contour figure and a code indicating a method of synthesizing the partial contour figure. Decoding means for decoding the contour encoded signal and outputting the contour position and the partial contour figure synthesizing method, and a separating means for separating the signal of the contour position output from the decoding means corresponding to each partial contour figure, Contour generating means for generating a true / false value for each partial contour figure indicating whether the contour is inside or outside the contour according to the contour position output from the separating means; and the contour generating means of the contour generating means by a predetermined method. Interpolating means for arranging the outputs to generate a true / false value indicating the inside and outside of the contour of the partial contour figure by interpolation, and a figure synthesizing means for synthesizing the output of the interpolating means of each partial contour figure by the partial contour figure synthesizing method of the decoding means. And the figure A contour decoding device that integrates the outputs of the synthesizing means to form the whole figure to obtain a decoded contour figure.
【請求項37】 輪郭内部と外部が画素毎に真または偽
で表現される輪郭図形を符号化する符号化装置であっ
て、輪郭図形を所定形状ブロックに分割して出力するブ
ロック化手段と、前記ブロック化手段を論理演算で合成
可能なk(kは自然数)個の部分輪郭図形のブロックに
分解する図形分解手段と、前記図形分解手段で分解した
各部分輪郭図形のブロックを所定の方向に沿ってn+1分
割して分割境界の真偽の値を出力する標本化手段と、各
分割位置毎に前記標本化手段出力の真偽の値が真から偽
または偽から真に変化する位置を検出して出力する輪郭
検出手段と、各部分輪郭図形の前記輪郭検出手段出力と
前記部分輪郭図形の合成法を示す符号を符号化する符号
化手段を備え、前記符号化手段出力を輪郭符号化信号と
する輪郭符号化装置。
37. A coding device for coding a contour figure in which the inside and outside of the contour are expressed as true or false for each pixel, and a block forming means for dividing the contour figure into blocks of a predetermined shape and outputting the blocks. A graphic decomposing means for decomposing the block forming means into k (k is a natural number) blocks of partial contour figures which can be combined by a logical operation, and a block of each partial contour figure decomposed by the figure decomposing means in a predetermined direction. Sampling means that outputs the true / false value of the division boundary by dividing n + 1 along the position, and the position where the true / false value of the output of the sampling means changes from true to false or from false to true for each division position And a coding means for coding a code indicating a method for combining the contour detection means output of each partial contour figure and the partial contour figure, and outputting the coding means output as a contour code. A contour coding apparatus for converting the signal into a signal.
【請求項38】 輪郭図形の各部分輪郭図形の輪郭位置
と前記輪郭位置を特定するためのブロック化及び前記部
分輪郭図形の合成法を示す符号を符号化した輪郭符号化
信号を復号化して輪郭図形を復号する復号化装置であっ
て、輪郭符号化信号を復号化して輪郭位置と部分輪郭図
形合成法を出力する復号化手段と、前記復号化手段出力
の輪郭位置の信号を各部分輪郭図形に対応して分離する
分離手段と、前記分離手段の出力である輪郭位置に応じ
て輪郭内部であるか輪郭外部であるかを示す真偽の値を
各部分輪郭図形について生成する輪郭生成手段と、所定
の方法で前記輪郭生成手段の出力を並べて部分輪郭図形
の当該所定形状ブロックの輪郭内外を示す真偽の値を補
間により生成する補間手段と、各部分輪郭図形の前記補
間手段出力を前記復号化手段の部分輪郭図形合成法で合
成する図形合成手段と、前記図形合成手段出力を統合し
て当該図形全体を構成する逆ブロック化手段を備え、前
記逆ブロック化手段出力を復号化した輪郭図形とする輪
郭復号化装置。
38. A contour coded signal obtained by decoding a contour position of each partial contour figure of the contour figure and a block for specifying the contour position and a code indicating a method of synthesizing the partial contour figure is decoded and contoured. A decoding device for decoding a figure, comprising decoding means for decoding a contour coded signal to output a contour position and a partial contour figure synthesizing method, and a contour position signal output from the decoding means for each partial contour figure. And a contour generation unit that generates, for each partial contour figure, a true / false value indicating whether it is inside the contour or outside the contour according to the contour position output from the separating unit. An interpolation means for arranging outputs of the contour generating means by a predetermined method to generate a true / false value indicating the inside and outside of the contour of the predetermined shape block of the partial contour figure by interpolation, and the output of the interpolating means of each partial contour figure Recovery The contour synthesizing means for synthesizing by the partial contour graphic synthesizing method of the encoding means, and the deblocking means for integrating the output of the graphic synthesizing means to form the whole figure, and the contour obtained by decoding the output of the deblocking means A contour decoding device for a figure.
【請求項39】 輪郭内部と外部が画素毎に真または偽
で表現される輪郭図形を予測で生成した予測輪郭図形を
参照して符号化する符号化装置であって、輪郭図形の標
本化の基底軸を選択する第1の基底選択手段と、前記第
1の基底選択手段の選択した基底軸に沿ってn+1分割し
て分割境界の真偽の値を出力する第1の標本化手段と、
前記第1の標本化手段の各分割位置毎に前記標本化手段
出力の真偽の値が真から偽または偽から真に変化する位
置を検出して出力する第1の輪郭検出手段と、前記予測
輪郭図形の標本化の基底軸を選択する第2の基底選択手
段と、前記第2の基底選択手段の選択した基底軸に沿っ
てn+1分割して分割境界の真偽の値を出力する第2の標
本化手段と、前記第2の標本化手段の各分割境界毎に前
記標本化手段出力の真偽の値が真から偽または偽から真
に変化する位置を検出して出力する第2の輪郭検出手段
と、同じ分割境界における前記第1の輪郭検出手段の変
化位置から前記第2の輪郭検出手段の変化位置を減算す
る減算手段と、前記減算手段の差を符号化する符号化手
段を備え、前記符号化手段出力を輪郭符号化信号とする
輪郭符号化装置。
39. An encoding apparatus for encoding a contour figure in which the inside and the outside of the contour are represented by true or false for each pixel by referring to a predicted contour figure generated by prediction, First basis selecting means for selecting a basis axis, and first sampling means for outputting a true / false value of a division boundary by performing n + 1 division along the basis axis selected by the first basis selecting means. When,
First contour detecting means for detecting and outputting a position at which the true / false value of the sampling means output changes from true to false or from false to true for each divided position of the first sampling means; Second basis selecting means for selecting a basis axis for sampling the predicted contour figure, and n + 1 division along the basis axis selected by the second basis selecting means to output a true / false value of the division boundary. And a position at which the true / false value of the output of the sampling means changes from true to false or from false to true for each division boundary of the second sampling means. Second contour detecting means, subtracting means for subtracting the changing position of the second contour detecting means from the changing position of the first contour detecting means on the same division boundary, and a code for coding the difference between the subtracting means. A contour coding apparatus comprising a coding means, wherein the output of the coding means is a contour coded signal.
【請求項40】 予測輪郭図形と輪郭図形の輪郭位置の
差分と前記差分を特定するための基底軸を示す符号を符
号化した輪郭符号化信号を、輪郭内部と外部が画素毎に
真または偽で表現される前記予測輪郭図形を参照して復
号化して、輪郭図形を復号する復号化装置であって、標
本化の基底軸を選択する基底選択手段と、前記基底選択
手段の選択した基底軸に沿ってn+1分割して分割境界の
真偽の値を出力する標本化手段と、前記標本化手段の各
分割位置毎に前記標本化手段出力の真偽の値が真から偽
または偽から真に変化する位置を検出して出力する輪郭
検出手段と、前記輪郭符号化信号を復号化して輪郭位置
を出力する復号化手段と、前記復号化手段出力の輪郭位
置の信号に前記輪郭検出手段の同じ分割位置の変化位置
を加算する加算手段と、所定の方法で前記加算手段の和
を並べて輪郭内外を示す真偽の値を補間により生成する
補間手段と、前記補間手段出力を統合して当該図形全体
を構成する復号化した輪郭図形とする輪郭復号化装置。
40. A contour coded signal obtained by coding a difference between contour positions of a predicted contour figure and a contour figure and a code indicating a base axis for specifying the difference is true or false for each pixel inside and outside the contour. A decoding device for decoding a contour figure by decoding with reference to the predicted contour figure represented by, and a base selecting means for selecting a base axis of sampling, and a base axis selected by the base selecting means. Along with the sampling means for dividing by n + 1 and outputting the true or false value of the division boundary, and the true or false value of the output of the sampling means for each division position of the sampling means from true to false or false. Contour detection means for detecting and outputting a position that changes to true, a decoding means for decoding the contour coded signal and outputting a contour position, and the contour detection for a contour position signal output from the decoding means. Adding means for adding the changing positions of the same division position of the means , The interpolation means for arranging the sums of the adding means by a predetermined method to generate a true / false value indicating the inside and outside of the contour by interpolation, and the output of the interpolation means are integrated to form a decoded contour figure forming the entire figure. Contour decoding device.
【請求項41】 輪郭内部と外部が画素毎に真または偽
で表現される輪郭図形を予測で生成した予測輪郭図形を
参照して符号化する符号化装置であって、輪郭図形を所
定形状ブロックに分割して出力する第1のブロック化手
段と、前記第1のブロック化手段と同じ位置の画素に前
記予測輪郭図形を分割して出力する第2のブロック化手
段と、前記第2のブロック化手段出力から標本化の基底
軸を選択する基底選択手段と、前記第1のブロック化手
段出力を前記選択した基底軸に沿ってn+1分割して分
割境界の真偽の値を出力する第1の標本化手段と、前記
第1の標本化手段の各分割位置毎に前記標本化手段出力
の真偽の値が真から偽または偽から真に変化する位置を
検出して出力する第1の輪郭検出手段と、前記第2のブ
ロック化手段出力を前記選択した基底軸に沿ってn+1分
割して分割境界の真偽の値を出力する第2の標本化手段
と、前記第2の標本化手段の各分割位置毎に前記標本化
手段出力の真偽の値が真から偽または偽から真に変化す
る位置を検出して出力する第2の輪郭検出手段と、同じ
分割境界における前記第1の輪郭検出手段の変化位置か
ら前記第2の輪郭検出手段の変化位置を減算する減算手
段と、前記減算手段の差を符号化する符号化手段を備
え、前記符号化手段出力を輪郭符号化信号とする輪郭符
号化装置。
41. An encoding device for encoding a contour figure in which the inside and outside of the contour are expressed as true or false for each pixel with reference to a predicted contour figure generated by prediction, wherein the contour figure has a predetermined shape block. First block forming means for dividing and outputting the predicted contour figure into pixels at the same position as the first block forming means, and the second block Basis selecting means for selecting a base axis for sampling from the output of the converting means, and first for outputting the true value of the division boundary by dividing the output of the first blocking means by n + 1 along the selected base axis. And the first sampling means for detecting the position where the true / false value of the sampling means output changes from true to false or from false to true for each divided position of the first sampling means. The contour detection means and the output of the second blocking means Second sampling means for dividing the boundary by n + 1 along the selected base axis and outputting a true / false value of the division boundary, and the sampling means output for each division position of the second sampling means. Second contour detecting means for detecting and outputting a position at which the true / false value of changes from true to false or from false to true, and the second contour detecting means from the changing position of the first contour detecting means at the same division boundary. A contour coding apparatus comprising: a subtracting means for subtracting the changed position of the contour detecting means; and a coding means for coding the difference of the subtracting means, wherein the output of the coding means is a contour coded signal.
【請求項42】 予測輪郭図形と輪郭図形の輪郭位置の
差分と前記差分を特定するブロック化及び基底軸を示す
符号を符号化した輪郭符号化信号を、輪郭内部と外部が
画素毎に真または偽で表現される予測輪郭図形を参照し
て復号化して、輪郭図形を復号する復号化装置であっ
て、前記予測輪郭図形を所定形状ブロックに分割して出
力するブロック化手段と、前記ブロック化手段出力から
標本化の基底軸を選択する基底選択手段と、前記ブロッ
ク化手段出力を前記選択した基底軸に沿ってn+1分割し
て分割境界の真偽の値を出力する標本化手段と、前記標
本化手段の各分割位置毎に前記標本化手段出力の真偽の
値が真から偽または偽から真に変化する位置を検出して
出力する輪郭検出手段と、輪郭符号化信号を復号化して
輪郭位置を出力する復号化手段と、前記復号化手段出力
の輪郭位置の信号に前記輪郭検出手段の同じ分割位置の
変化位置を加算する加算手段と、所定の方法で前記加算
手段の和を並べて当該矩形ブロックの輪郭内外を示す真
偽の値を補間により生成する補間手段と、前記補間手段
出力を前記復号化手段の図形合成法で合成する図形合成
手段と、前記図形合成手段出力を統合して当該図形全体
を構成する逆ブロック化手段を備え、前記逆ブロック化
手段出力を復号化した輪郭図形とする輪郭復号化装置。
42. A contour coded signal obtained by coding a difference between the contour position of a predicted contour figure and a contour position of the contour figure and a code for indicating the difference and blocking and a base axis is true or false for each pixel inside and outside the contour. A decoding device for decoding a contour figure by referring to a predicted contour figure represented by false and decoding the contour figure, the block forming means dividing the predicted contour figure into blocks of a predetermined shape, and outputting the blocks. Basis selecting means for selecting a sampling basis axis from the means output, and sampling means for outputting the true or false value of the division boundary by dividing the blocking means output by n + 1 along the selected basis axis. A contour detecting means for detecting and outputting a position where the true / false value of the sampling means output changes from true to false or from false to true for each division position of the sampling means; Decode to output contour position Conversion means, addition means for adding the change position of the same division position of the contour detection means to the contour position signal output from the decoding means, and the sum of the addition means is arranged by a predetermined method to arrange inside and outside of the contour of the rectangular block. To form a whole figure by interpolating an interpolating means for generating a true / false value indicating that, a graphic synthesizing means for synthesizing the output of the interpolating means by the graphic synthesizing method of the decoding means, and an output of the graphic synthesizing means. A contour decoding apparatus which comprises a deblocking means for converting the output of the deblocking means into a decoded contour figure.
JP2489697A 1996-02-09 1997-02-07 Method for encoding and decoding contour Pending JPH09274662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2489697A JPH09274662A (en) 1996-02-09 1997-02-07 Method for encoding and decoding contour

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2357196 1996-02-09
JP8-23571 1996-02-09
JP2489697A JPH09274662A (en) 1996-02-09 1997-02-07 Method for encoding and decoding contour

Publications (1)

Publication Number Publication Date
JPH09274662A true JPH09274662A (en) 1997-10-21

Family

ID=26360947

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2489697A Pending JPH09274662A (en) 1996-02-09 1997-02-07 Method for encoding and decoding contour

Country Status (1)

Country Link
JP (1) JPH09274662A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100415074B1 (en) * 2001-10-09 2004-01-14 채영도 Method for recognition of the resemblance of the object and apparatus thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100415074B1 (en) * 2001-10-09 2004-01-14 채영도 Method for recognition of the resemblance of the object and apparatus thereof

Similar Documents

Publication Publication Date Title
JP3037383B2 (en) Image processing system and method
US6292514B1 (en) Video encoding apparatus and video decoding apparatus
US6404815B1 (en) Image encoder, image decoder, image encoding method, image decoding method and image encoding/decoding system
EP0880286B1 (en) Moving image encoding and decoding device
EP0750426B1 (en) Image processing apparatus, data processing apparatus and method therefor
EP1523196A2 (en) Encoding system of motion image containing arbitrary object
KR100209419B1 (en) Contour coding method for object represented by image signal
JP2010268504A (en) Method and apparatus for coding motion information
US11922579B2 (en) Image processing apparatus and method for image processing by deriving voxel and mesh data to generate point cloud data
KR20110055820A (en) Apparatus and method for compressing 3d video using edge information
EP0789327A2 (en) Contour coding method
US6259738B1 (en) Video encoding apparatus and video decoding apparatus
JPH09274662A (en) Method for encoding and decoding contour
KR19980018127A (en) A picture coding method, a picture decoding method, a picture coding apparatus using the method, a picture decoding apparatus and a recording medium for recording the method
EP1209626A2 (en) Method and apparatus for data compression
KR19980051718A (en) Contour video signal encoding method using discrete sine transform and apparatus therefor
JP4140501B2 (en) Image segment composition order determination apparatus and composition order determination program
JPH0937240A (en) Moving image coder and moving image decoder
JPH08340535A (en) Inter-frame predict method
JPH06311503A (en) Motion picture coding method