JPH08102947A - Image signal coding method and image signal coding device - Google Patents

Image signal coding method and image signal coding device

Info

Publication number
JPH08102947A
JPH08102947A JP25952994A JP25952994A JPH08102947A JP H08102947 A JPH08102947 A JP H08102947A JP 25952994 A JP25952994 A JP 25952994A JP 25952994 A JP25952994 A JP 25952994A JP H08102947 A JPH08102947 A JP H08102947A
Authority
JP
Japan
Prior art keywords
block
image signal
area
coding
attribute
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
JP25952994A
Other languages
Japanese (ja)
Inventor
Tatsuo Shinbashi
龍男 新橋
Toshiyuki Miyauchi
俊之 宮内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP25952994A priority Critical patent/JPH08102947A/en
Publication of JPH08102947A publication Critical patent/JPH08102947A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To attain smooth connection of a signal in response to arrangement by detecting a boundary between a non-coding block and a coding block and applying weighting to a signal in a boundary block to be detected. CONSTITUTION: An input image signal K11 is given to a block conversion circuit 11, in which signals are rearranged and a block signal K12 is outputted. The signal K12 is multiplied by a proper coefficient in the weighting circuit 12 in accordance with a kind of weighting and a position of a signal in a block to be a weighting block signal K13. The signal K13 is given to a DCT transformation circuit 13, in which the signal is DCT-transformed and quantized by a quantization circuit 14 to be a quantization conversion weight block signal K15. The signal K15 is given to the variable length coding circuit 15, in which variable length coding is implemented, the information quantity is smoothed in a buffer memory 16 and the result is given to a multiplexer circuit 20. The circuit 20 uses the memory 16 to multiplex a signal K17 with a prescribed information amount and a quantization step size signal K21, and the result is outputted.

Description

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

【0001】[0001]

【目次】以下の順序で本発明を説明する。 産業上の利用分野 従来の技術(図14〜図16) 発明が解決しようとする課題 課題を解決するための手段(図1及び図7) 作用(図1及び図7) 実施例 (1)第1の実施例(図1〜図6) (2)第2の実施例(図7〜図13) (3)他の実施例 発明の効果[Table of Contents] The present invention will be described in the following order. Industrial Application Conventional Technology (FIGS. 14 to 16) Problems to be Solved by the Invention Means for Solving the Problems (FIGS. 1 and 7) Actions (FIGS. 1 and 7) Example (1) Example 1 (FIGS. 1 to 6) (2) Second example (FIGS. 7 to 13) (3) Other examples Effects of the invention

【0002】[0002]

【産業上の利用分野】本発明は画像信号符号化方法及び
画像信号符号化装置に関し、特に画像信号を伝送又は記
録再生する際に、例えば限られた伝送容量を持つ伝送媒
体による画像の遠隔地伝送や限られた蓄積容量を持つ記
憶媒体への記録再生を行うための装置で、画像信号をよ
り少ない情報量で効率的に圧縮する高能率符号化方法を
用いる画像伝送装置やテープレコーダ/デイスクレコー
ダ等に適用して好適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image signal encoding method and an image signal encoding apparatus, and more particularly, to a remote location of an image by a transmission medium having a limited transmission capacity when transmitting or recording and reproducing the image signal. An image transmission device or a tape recorder / disc that uses a high-efficiency encoding method for efficiently compressing an image signal with a smaller amount of information, which is a device for transmission and recording / reproduction on a storage medium having a limited storage capacity. It is suitable to be applied to a recorder or the like.

【0003】[0003]

【従来の技術】従来、画像信号の符号化には例えば予測
符号化のような画像を画素単位に扱う符号化方法、離散
コサイン変換(DCT)のような直交変換符号化や、サ
ブバンド符号やウエーブレツト変換に代表される帯域分
割符号化、およびその帯域分割されたデータをブロツク
に分割して扱うブロツク符号化方法がある。予測符号化
は装置化が容易であるが、高い圧縮率では劣化が知覚さ
れやすい。またDCTやブロツク分割によるサブバンド
符号やウエーブレツト変換のような、ブロツク符号化方
法では、各ブロツク毎に適切な量子化を行うことによつ
て、高い圧縮率でも比較的高画質が得られる。
2. Description of the Related Art Conventionally, for coding an image signal, a coding method such as predictive coding for handling an image in pixel units, orthogonal transform coding such as discrete cosine transform (DCT), subband coding, There are band-division coding represented by the wavelet transform and block-coding methods in which the band-divided data is divided into blocks and handled. Predictive coding is easy to implement, but deterioration is easily perceived at high compression rates. Further, in a block coding method such as a subband code by DCT or block division or a wavelet transform, a relatively high image quality can be obtained even at a high compression rate by performing appropriate quantization for each block.

【0004】図14にブロツク分割による画像信号符号
化装置を示す。この画像信号符号化装置においては、D
CT等の直交変換符号化による符号化方法で画像信号を
符号化する。実際上入力画像信号A11はブロツク変換
回路101に入力され、並べ換えられてブロツク信号A
12として出力される。このブロツク変換の例を図16
に示す。ブロツク信号A12はDCT変換回路(DC
T)102に入力され、DCT変換されて変換ブロツク
信号A13として出力される。変換ブロツク信号A13
は量子化回路(Q)103によつて、量子化ステツプサ
イズA20に従つて量子化されて量子化変換ブロツク信
号A14となる。量子化ステツプサイズA20について
は後述する。
FIG. 14 shows an image signal coding device by block division. In this image signal encoding device, D
The image signal is coded by a coding method such as CT or the like orthogonal transform coding. Actually, the input image signal A11 is input to the block conversion circuit 101, rearranged, and then the block signal A11 is input.
It is output as 12. An example of this block conversion is shown in FIG.
Shown in The block signal A12 is a DCT conversion circuit (DC
T) 102, DCT-converted, and output as a conversion block signal A13. Conversion block signal A13
Is quantized by the quantization circuit (Q) 103 in accordance with the quantization step size A20 and becomes a quantization conversion block signal A14. The quantization step size A20 will be described later.

【0005】量子化変換ブロツク信号A14は、可変長
符号化回路(VLC)104に入力されて、例えばハフ
マン符号と零係数のランレングス符号を組み合わせた可
変長符号化が行われて、可変長符号化ブロツク信号A1
5になる。可変長符号化ブロツク信号A15はバツフア
メモリ105で情報量を平滑化されて、多重化回路(M
UX)106に入力される。多重化回路106では、バ
ツフアメモリ105によつて一定情報量化された平滑化
可変長符号化ブロツク信号A16と、量子化ステツプサ
イズA20とが多重化されて、画像信号符号化装置の出
力A17となる。
The quantized transform block signal A14 is input to a variable length coding circuit (VLC) 104, and is subjected to variable length coding in which, for example, a Huffman code and a run length code of zero coefficient are combined to perform variable length coding. Block signal A1
It becomes 5. The variable length coded block signal A15 is smoothed in the amount of information in the buffer memory 105, and the multiplexed circuit (M
UX) 106. The multiplexing circuit 106 multiplexes the smoothed variable length coded block signal A16, which has been converted into a constant amount of information by the buffer memory 105, and the quantized step size A20, and becomes the output A17 of the image signal coding apparatus.

【0006】一方ブロツク属性/アクテイビテイ計算回
路107は、ブロツク信号A12からブロツク属性値又
はアクテイビテイ値A18を計算して出力する。ここで
ブロツク属性値及びアクテイビテイ値は、いずれもブロ
ツクの特徴を数値化したものであり、例えば当該ブロツ
ク内の信号の2乗和や、適当な関係式によつてマツピン
グした値などが使われる。このブロツク属性値又はアク
テイビテ値は、重要度が高いブロツクほどより大きい属
性値又は小さいアクテイビテイ値をとり、重要度の低い
ブロツクほど小さい属性値又は大きいアクテイビテイ値
をとる。量子化制御回路108は、当該ブロツクのブロ
ツク属性値又はアクテイビテイ値A18と、後段に配置
されるバツフアメモリ105の蓄積情報量A19を参照
して、量子化ステツプサイズA20を計算し、量子化回
路103に入力する。
On the other hand, the block attribute / activity calculation circuit 107 calculates and outputs a block attribute value or activity value A18 from the block signal A12. Here, both the block attribute value and the activity value are numerical values of the feature of the block, and for example, the sum of squares of the signals in the block, or the value mapped by an appropriate relational expression is used. The block attribute value or the activity value has a larger attribute value or a smaller activity value for a block having a higher importance, and has a smaller attribute value or a larger activity value for a block having a lower importance. The quantization control circuit 108 calculates the quantization step size A20 by referring to the block attribute value or activity value A18 of the block concerned and the accumulated information amount A19 of the buffer memory 105 arranged in the subsequent stage, and the quantization circuit 103 input.

【0007】また当該ブロツクに有意な情報がなく符号
化する必要がない場合もあり、このときには符号化しな
いことを、量子化回路103に通知する。特に原画像信
号ではなく、例えばフレーム間差分信号を符号化する場
合では、動きがほとんど無いブロツク等多くのブロツク
が符号化されないこともある。それ以外では量子化ステ
ツプサイズは、一般にバツフアメモリ105の蓄積情報
量が多く、かつブロツク属性値A18が小さい重要度の
低いブロツクのとき又はアクテイビテイ値A18が高い
ときに、より大きな値となつて量子化を粗くする。
There is also a case where there is no significant information in the block and it is not necessary to encode the block. At this time, the quantization circuit 103 is notified that the block is not encoded. In particular, when encoding not the original image signal but the inter-frame difference signal, for example, many blocks such as a block having almost no motion may not be encoded. In other cases, the quantization step size is generally larger when the amount of information stored in the buffer memory 105 is large and the block attribute value A18 is small and the importance is low or the activity value A18 is high. To roughen.

【0008】図15に示す画像信号復号化装置において
は、入力データB11は分流回路(DMUX)121に
入力され、可変長符号化ブロツク信号B12と量子化ス
テツプサイズB18を分離する。可変長符号化ブロツク
信号B12はバツフアメモリ122にいつたん入力され
た後、可変長復号化回路(IVLC)123に入力され
て、可変長復号化されて復元量子化変換ブロツク信号B
14となる。復元量子化変換ブロツク信号B14は逆量
子化回路(IQ)124に入力され、量子化情報B18
を基に逆量子化されて、復元変換ブロツク信号B15と
なる。復元変換ブロツク信号B15は、逆DCT変換回
路(IDCT)125によつて逆DCT変換されて、復
元ブロツク信号B16となる。復元ブロツク信号B16
はブロツク逆変換回路126によつて復元画像信号B1
7となり、画像信号復号化装置の出力となる。
In the image signal decoding apparatus shown in FIG. 15, the input data B11 is input to the shunt circuit (DMUX) 121, and the variable length coded block signal B12 and the quantization step size B18 are separated. The variable-length coded block signal B12 is immediately input to the buffer memory 122, and then input to the variable-length decoding circuit (IVLC) 123 to be variable-length decoded and reconstructed quantization conversion block signal B12.
It becomes 14. The restored quantization conversion block signal B14 is input to the inverse quantization circuit (IQ) 124, and the quantization information B18 is input.
Is inversely quantized to become a reconstructed conversion block signal B15. The restoration conversion block signal B15 is subjected to inverse DCT conversion by the inverse DCT conversion circuit (IDCT) 125 and becomes a restoration block signal B16. Restoration block signal B16
Is converted by the block inverse conversion circuit 126 into the restored image signal B1.
7, which is the output of the image signal decoding device.

【0009】[0009]

【発明が解決しようとする課題】ところでこのように画
像をブロツク分割して、符号化を行う画像信号符号化方
法においては、上述したようにブロツク毎の属性値やア
クテイビテイ値等その他の制御信号で符号化を制御し
て、符号化ブロツクと非符号化ブロツクが混在する場
合、符号化/非符号化ブロツクの境界において、視覚上
明らかなブロツク歪みが発生して画質を大きく損なう問
題がある。また上述したようにブロツク毎の属性値やア
クテイビテイ値その他の制御信号で符号化を制御する場
合、局所的に制御信号が大きく変化すると、周辺部分と
比較して性質の異なつた符号化が行われて、発生情報量
が大きく変動してしまうことがあり、また視覚上明らか
なブロツク歪みが発生して画質を大きく損なう問題があ
つた。
By the way, in the image signal coding method in which the image is block-divided and coded in this way, as described above, it is possible to use other control signals such as attribute values and activity values for each block. When the coding block is controlled and the coding block and the non-coding block coexist, there is a problem that visually apparent block distortion occurs at the boundary between the coding / non-coding block and the image quality is greatly deteriorated. Further, as described above, when the encoding is controlled by the attribute value for each block, the activity value, and other control signals, if the control signal changes greatly locally, encoding with different properties compared to the surrounding part is performed. As a result, the amount of generated information may fluctuate greatly, and there is a problem that visually apparent block distortion occurs and the image quality is greatly impaired.

【0010】本発明は以上の点を考慮してなされたもの
で、画像をブロツクに分割して変換符号化する際にブロ
ツク歪を有効に抑圧し得る画像信号符号化方法及び画像
信号符号化装置を提案しようとするものである。
The present invention has been made in consideration of the above points, and an image signal encoding method and an image signal encoding apparatus capable of effectively suppressing block distortion when an image is divided into blocks and converted and encoded. Is to propose.

【0011】[0011]

【課題を解決するための手段】かかる課題を解決するた
め本発明においては、入力画像信号(K11)を複数の
ブロツク(K12)に分割して、そのブロツク(K1
2)毎に符号化又は非符号化を判断し、ブロツク(K1
2)単位で変換符号化する画像信号符号化方法におい
て、非符号化ブロツクと符号化ブロツクとの境界を検出
する境界ブロツク検出ステツプと、その検出された境界
ブロツク内の信号に対して、重み付けを行う重み付けス
テツプとを設けるようにした。
In order to solve such a problem, in the present invention, the input image signal (K11) is divided into a plurality of blocks (K12), and the block (K1) is divided.
2) It is determined whether the coded or non-coded for each block, and the block (K1
2) In the image signal coding method in which conversion coding is performed in units, a boundary block detection step for detecting a boundary between a non-coded block and a coded block, and a signal in the detected boundary block are weighted. A weighting step to be performed is provided.

【0012】また本発明においては、入力画像信号(M
11)を複数のブロツク(M12)に分割して、そのブ
ロツク(M12)毎の属性(M18)を評価し、その属
性(M18)に従つて、ブロツク(M12)単位で変換
符号化する画像信号符号化方法において、ブロツク(M
12)毎の属性(M18)によつて画面を複数の領域に
分割する領域分割ステツプと、分割された領域の形状を
調節する領域形状調節ステツプとを設けるようにした。
In the present invention, the input image signal (M
11) is divided into a plurality of blocks (M12), the attribute (M18) of each block (M12) is evaluated, and the image signal to be converted and encoded in block (M12) units according to the attribute (M18) In the encoding method, the block (M
12) An area dividing step for dividing the screen into a plurality of areas and an area shape adjusting step for adjusting the shape of the divided area are provided according to the attribute (M18) of each.

【0013】また本発明においては、入力画像信号(K
11)を複数のブロツク(K12)に分割して、そのブ
ロツク(K12)毎に符号化又は非符号化を判断し、ブ
ロツク(K12)単位で変換符号化する画像信号符号化
装置において、非符号化ブロツクと符号化ブロツクとの
境界を検出する境界ブロツク検出手段(18)と、その
検出された境界ブロツク内の信号に対して、重み付けを
行う重み付け手段(12)とを設けるようにした。
In the present invention, the input image signal (K
11) is divided into a plurality of blocks (K12), the coding or non-coding is judged for each block (K12), and the non-coding is performed in the image signal coding apparatus for transform coding in the unit of block (K12). A boundary block detecting means (18) for detecting the boundary between the encoded block and the encoding block and a weighting means (12) for weighting the signal in the detected boundary block are provided.

【0014】また本発明においては、入力画像信号(M
11)を複数のブロツク(M12)に分割して、そのブ
ロツク(M12)毎の属性(M18)を評価し、その属
性(M18)に従つて、ブロツク(M12)単位で変換
符号化する画像信号符号化装置において、ブロツク(M
12)毎の属性(M18)によつて画面を複数の領域に
分割する領域分割手段(48)と、分割された領域の形
状を調節する領域形状調節手段(48)とを設けるよう
にした。
In the present invention, the input image signal (M
11) is divided into a plurality of blocks (M12), the attribute (M18) of each block (M12) is evaluated, and the image signal to be converted and encoded in block (M12) units according to the attribute (M18) In the encoding device, the block (M
Area dividing means (48) for dividing the screen into a plurality of areas according to the attribute (M18) for each 12) and area shape adjusting means (48) for adjusting the shape of the divided areas are provided.

【0015】[0015]

【作用】符号化ブロツクと非符号化ブロツクの混在する
状態から、ブロツク歪みの発生する部分を把握して、非
符号化ブロツクとの境界に存在する符号化ブロツク内の
信号に対して、隣接ブロツクの配置状態に合わせた重み
付けを行うことにより、その配置に応じて信号の滑らか
な接続が可能になり、視覚的なブロツク歪みを軽減させ
る。またこの重み付けを変換符号化の前段に行うことに
より、符号化すべき信号のレベルが小さくなり、符号化
情報量が減少する。
In the mixed state of the coded block and the non-coded block, the part where the block distortion occurs is grasped, and the signal in the coded block existing at the boundary with the non-coded block is adjacent to the block. By weighting according to the arrangement state, the signals can be smoothly connected according to the arrangement state, and visual block distortion is reduced. Further, by performing this weighting before the transform coding, the level of the signal to be coded becomes small, and the amount of coded information decreases.

【0016】また局所的に属性が大きく変化する領域を
検出して、その局所変化のあるブロツクの属性を隣接ブ
ロツクに合わせることにより、ブロツク毎の符号化特性
の変動が少なくなり、周辺部分と性質の異なつた符号化
が行われることがないように符号化制御ができるように
なる。
Further, by detecting an area where the attribute changes greatly locally and adjusting the attribute of the block having the local change to the adjacent block, the fluctuation of the coding characteristic for each block is reduced, and the characteristic of the surrounding area is reduced. It becomes possible to control the encoding so that different encodings are not performed.

【0017】[0017]

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

【0018】(1)第1実施例 図1においては、本発明におけるブロツク分割による画
像信号符号化装置の第1実施例を示す。この画像信号符
号化装置は、図14に上述した画像信号符号化装置に対
応する。この画像信号符号化装置において、入力画像信
号K11はブロツク変換回路11に入力され、並べ換え
られてブロツク信号K12として出力される。このブロ
ツク変換は、従来について上述した図16と同様であ
る。ブロツク信号K12は後に詳しく説明する重み付け
指示信号K19により、重み付け回路12で重み付けの
種類とブロツク内の信号の位置に合わせて、適当な係数
と乗算されて、重み付けブロツク信号K13となる。
(1) First Embodiment FIG. 1 shows a first embodiment of an image signal coding apparatus by block division according to the present invention. This image signal encoding device corresponds to the image signal encoding device described above with reference to FIG. In this image signal encoding device, the input image signal K11 is input to the block conversion circuit 11, rearranged and output as a block signal K12. This block conversion is the same as in FIG. 16 described above for the conventional technique. The block signal K12 is multiplied by an appropriate coefficient in the weighting circuit 12 according to the weighting type and the position of the signal in the block by a weighting instruction signal K19, which will be described in detail later, and becomes a weighted block signal K13.

【0019】重み付けブロツク信号K13はDCT変換
回路(DCT)13に入力され、DCT変換されて変換
重み付けブロツク信号K14として出力される。変換重
み付けブロツク信号K14は量子化回路(Q)14によ
つて、量子化ステツプサイズK21に従つて量子化され
て量子化変換重み付けブロツク信号K15となる。量子
化ステツプサイズK21については、図14に上述した
従来の画像信号符号化装置と同様である。
The weighting block signal K13 is input to the DCT conversion circuit (DCT) 13, DCT-converted, and output as a conversion weighting block signal K14. The transform weighting block signal K14 is quantized by the quantizing circuit (Q) 14 according to the quantizing step size K21 to become a quantized transform weighting block signal K15. The quantization step size K21 is the same as that of the conventional image signal coding apparatus described above with reference to FIG.

【0020】量子化変換重み付けブロツク信号K15
は、可変長符号化回路(VLC)15に入力されて、例
えばハフマン符号と零係数のランレングス符号を組み合
わせた可変長符号化が行われて、可変長符号化ブロツク
信号K16になる。可変長符号化ブロツク信号K16は
バツフアメモリ16で情報量を平滑化されて、多重化回
路(MUX)20に入力される。多重化回路20ではバ
ツフアメモリ16によつて一定情報量化された平滑化可
変長符号化ブロツク信号K17と、量子化ステツプサイ
ズK21とが多重化され、画像信号符号化装置の出力K
22となる。
Quantization transform weighted block signal K15
Is input to the variable length coding circuit (VLC) 15 and is subjected to variable length coding in which, for example, a Huffman code and a run length code of zero coefficient are combined to form a variable length coded block signal K16. The variable length coded block signal K16 has its information amount smoothed by the buffer memory 16 and is input to the multiplexing circuit (MUX) 20. The multiplexing circuit 20 multiplexes the smoothed variable-length coded block signal K17, which has been converted into a constant amount of information by the buffer memory 16, and the quantized step size K21, and outputs the output K of the image signal coding apparatus.
22.

【0021】一方ブロツクアクテイビテイ計算回路17
は、ブロツク信号K12からブロツクアクテイビテイ値
K18を計算して出力する。ブロツクアクテイビテイの
定義は従来と同様である。量子化制御回路19は当該ブ
ロツクのブロツクアクテイビテイK18と、後段に配置
されるバツフアメモリ16の蓄積情報量K20を参照し
て、量子化ステツプサイズK21を計算し量子化回路1
4に入力する。またブロツクアクテイビテイK18は符
号化パターン検出回路18に入力される。この符号化パ
ターン検出回路18は、アクテイビテイから符号化しな
いブロツクを識別して、各ブロツクの隣接ブロツクの符
号化/非符号化パターンを検出して、当該ブロツクに対
してパターンに対応した重み付けをかけるための、重み
付け指示信号K19を出力する。
On the other hand, the block activity calculation circuit 17
Calculates and outputs a block activity value K18 from the block signal K12. The definition of block activity is the same as the conventional one. The quantization control circuit 19 calculates the quantization step size K21 by referring to the block activity K18 of the block concerned and the accumulated information amount K20 of the buffer memory 16 arranged in the subsequent stage to calculate the quantization step size K21.
Enter in 4. The block activity K18 is input to the coding pattern detection circuit 18. The coded pattern detection circuit 18 identifies a block that is not coded from the activity, detects a coded / non-coded pattern of an adjacent block of each block, and weights the block in accordance with the pattern. For outputting the weighting instruction signal K19.

【0022】この各ブロツクと隣接ブロツクの位置関係
を図2に示す。中央のブロツクXが注目ブロツクであ
り、まわりにある8個のブロツクA〜Hの符号化/非符
号化ブロツクの配置をチエツクして、重み付けを決めて
いる。ここで重み付け回路12を含む符号化パターン検
出回路18を図3に示す。入力アクテイビテイ信号L1
1は、図1のブロツクアクテイビテイK18に対応して
おり、符号化フラグ計算回路31に入力される。符号化
フラグ計算回路31は、当該ブロツクを符号化するかど
うかを決定し、符号化ブロツクに対しては符号化フラグ
信号L12を「1」に設定し、非符号化ブロツクに対し
ては符号化フラグ信号L12を「0」に設定する。
The positional relationship between each block and the adjacent block is shown in FIG. The block X in the center is the block of interest, and the weighting is determined by checking the arrangement of the coded / non-coded blocks of the eight blocks A to H around it. Here, the coding pattern detection circuit 18 including the weighting circuit 12 is shown in FIG. Input activity signal L1
1 corresponds to the block activity K18 of FIG. 1 and is input to the encoding flag calculation circuit 31. The coding flag calculation circuit 31 determines whether or not to code the block, sets the coding flag signal L12 to "1" for the coding block, and codes for the non-coding block. The flag signal L12 is set to "0".

【0023】このアクテイビテイから符号化ブロツクを
決定するには、例えば図4に示すような評価基準を用い
る。この符号化フラグ信号L12は、2ブロツクライン
遅延回路32によつて16ライン、1ブロツクライン遅延
回路35によつて8ライン、ブロツク遅延回路33、3
4、36、37、38、39によつて1ブロツク分遅延
され、図2に示すような位置関係にある9個の信号L1
2、L13、L14、L15、L16、L17、L1
8、L19、L20となる。フラグ信号L12、L1
3、L14、L15、L16、L17、L18、L1
9、L20は、それぞれブロツクH、C、B、A、E、
X、D、G、Fの位置に対応する符号化フラグである。
To determine the coding block from this activity, an evaluation standard as shown in FIG. 4, for example, is used. The encoded flag signal L12 is 16 lines by the 2-block line delay circuit 32, 8 lines by the 1-block line delay circuit 35, and the block delay circuits 33, 3.
Nine signals L1 delayed by one block by 4, 36, 37, 38, 39 and having a positional relationship as shown in FIG.
2, L13, L14, L15, L16, L17, L1
8, L19, L20. Flag signals L12, L1
3, L14, L15, L16, L17, L18, L1
9 and L20 are blocks H, C, B, A, E, and
Encoding flags corresponding to the positions of X, D, G, and F.

【0024】ここで今1つのブロツクに隣接するブロツ
クは8個あるので、その符号化/非符号化パターンを記
述するには28 通りの組合せがあり、分類に手間がかか
り現実的でない。そこで1つのブロツクを適当なサブブ
ロツクに分割し、各サブブロツクに隣接する外部のブロ
ツクが例えば3個以下であるようにできれば、23 =8
通りの組合せで全てのパターンを記述できる。方形ブロ
ツクの場合、図2に示すように4個のサブブロツクに分
割すれば、それぞれのサブブロツクに隣接する外部ブロ
ツクのパターンは、上又は下、左又は右、斜めの3個の
組合せとなる。このとき各サブブロツクでは、図5に示
すパターン1〜4の4通りの重み付けのうち、どれか1
つをとつて組み合わせれば、全ての隣接ブロツクのパタ
ーンに対応できる。
Since there are eight blocks adjacent to one block, there are 2 8 combinations to describe the coding / non-coding pattern, and it takes time to classify and is not realistic. Therefore, if one block is divided into appropriate sub-blocks and the number of external blocks adjacent to each sub-block is, for example, 3 or less, 2 3 = 8
All patterns can be described in street combinations. In the case of a rectangular block, if it is divided into four sub-blocks as shown in FIG. 2, the pattern of the outer block adjacent to each sub-block becomes three combinations of top or bottom, left or right, and diagonal. At this time, in each sub-block, one of the four weighting patterns 1 to 4 shown in FIG.
By combining the two, it is possible to correspond to the patterns of all adjacent blocks.

【0025】なおこの図5では4つのうちサブブロツク
Sについてのみ図示してあるが、その他のサブブロツク
P〜Rについては、それぞれの重み付けパターンの向き
を合わせればよい。符号化ブロツク内の各サブブロツク
について、A〜Hの隣接ブロツクの符号化フラグの組合
せに応じた、重み付けパターンの選択を図6に示す。例
えばA〜Hの隣接ブロツクのうち、A、B、D、Fが非
符号化ブロツクだつた場合、図6からサブブロツクPは
パターン4、サブブロツクQはパターン2、サブブロツ
クRはパターン1、サブブロツクSは重み付けなし(全
て原値のまま)となる。
Although only the sub-block S among the four sub-blocks S is shown in FIG. 5, the weighting patterns of the other sub-blocks P to R may be aligned with each other. FIG. 6 shows the selection of the weighting pattern for each subblock in the coding block according to the combination of the coding flags of the adjacent blocks A to H. For example, when A, B, D, and F are uncoded blocks among the adjacent blocks A to H, the sub-block P is pattern 4, the sub-block Q is pattern 2, the sub-block R is pattern 1, and the sub-block S is No weighting (all original values remain unchanged).

【0026】ふたたび図3に戻り、遅延符号化フラグ信
号L12、L13、L14、L15、L16、L17、
L18、L19、L20は、ROM等で構成された状態
比較回路40に入力され、各サブブロツクの重み付けパ
ターン選択信号L21となる。この重み付けパターン選
択信号L21は、図1の重み付け指示信号K19に対応
しており、ROM等で構成された重み付け係数発生回路
42に入力される。重み付け係数発生回路42は、重み
付けパターン選択信号L21とブロツクカウンタ41の
カウンタ値L22から、ブロツク内の各画素信号に対応
した重み付け係数L23を出力する。
Returning to FIG. 3 again, the delay coding flag signals L12, L13, L14, L15, L16, L17,
L18, L19, and L20 are input to the state comparison circuit 40 composed of a ROM or the like and become the weighting pattern selection signal L21 for each subblock. The weighting pattern selection signal L21 corresponds to the weighting instruction signal K19 shown in FIG. 1 and is input to the weighting coefficient generation circuit 42 composed of a ROM or the like. The weighting coefficient generation circuit 42 outputs a weighting coefficient L23 corresponding to each pixel signal in the block from the weighting pattern selection signal L21 and the counter value L22 of the block counter 41.

【0027】一方入力ブロツク信号L24は、図1のブ
ロツク信号K12に対応しており、遅延回路43によつ
て2ブロツクラインと1ブロツク分遅延され、重み付け
係数L23に合わせたタイミングで遅延ブロツク信号L
25となる。遅延ブロツク信号L25は重み付け係数L
23と乗算されて、重み付けブロツク信号L26とな
る。この重み付けブロツク信号L26は、図1の重み付
けブロツク信号K13に対応している。
On the other hand, the input block signal L24 corresponds to the block signal K12 in FIG. 1, is delayed by 2 block lines and 1 block by the delay circuit 43, and is delayed by the timing corresponding to the weighting coefficient L23.
25. The delayed block signal L25 has a weighting factor L
It is multiplied by 23 to obtain the weighted block signal L26. This weighted block signal L26 corresponds to the weighted block signal K13 in FIG.

【0028】以上の構成によれば、符号化ブロツクと非
符号化ブロツクの混在する状態から、ブロツク歪みの発
生する部分を把握して、符号化ブロツク内の信号に対し
て、隣接ブロツクの配置状態に合つた重み付けすること
により、ブロツク歪みの原因となる符号化ブロツクと非
符号化ブロツクとの境界において、符号化ブロツクの信
号を非符号化ブロツクに滑らかに接続し、視覚的なブロ
ツク歪みを軽減させ、復元画像の画質を向上し得る。
According to the above configuration, the portion where the block distortion is generated is grasped from the mixed state of the coded block and the non-coded block, and the arrangement state of the adjacent block with respect to the signal in the coded block. By combining the weights of the two, the coded block signal is smoothly connected to the non-coded block at the boundary between the coded block and the non-coded block that causes block distortion, and visual block distortion is reduced. Thus, the quality of the restored image can be improved.

【0029】さらに重み付けを変換符号化の前段に行う
ことにより、符号化すべき信号のレベルが小さくなるの
で符号化情報量が減少し、伝送又は蓄積すべき情報量を
節約でき、かくして符号化効率を格段的に向上し得、ま
た処理ブロツクをさらに複数のサブブロツクに分けて処
理するので、全体の回路構成及び選択に用いるROMを
簡略化できる。
Further, by performing the weighting before the transform coding, the level of the signal to be coded is reduced, so that the coded information amount is reduced and the information amount to be transmitted or stored can be saved, thus improving the coding efficiency. This can be remarkably improved, and since the processing block is further divided into a plurality of sub-blocks for processing, the entire circuit configuration and the ROM used for selection can be simplified.

【0030】(2)第2実施例 図7においては、本発明におけるブロツク分割による画
像信号符号化装置の第2実施例を示す。この画像信号符
号化装置は、図14に上述した画像信号符号化装置に対
応する。この画像信号符号化装置において、入力画像信
号M11はブロツク変換回路41に入力され、並べ換え
られてブロツク信号M12として出力される。このブロ
ツク変換は、従来について上述した図16と同様であ
る。ブロツク信号M12は符号化パラメータの計算時間
に合わせて、遅延回路42によつて遅延されて、遅延ブ
ロツク信号M13となる。遅延ブロツク信号M13はD
CT変換回路(DCT)43に入力され、DCT変換さ
れて変換ブロツク信号M14として出力される。
(2) Second Embodiment FIG. 7 shows a second embodiment of the image signal coding apparatus by block division according to the present invention. This image signal encoding device corresponds to the image signal encoding device described above with reference to FIG. In this image signal encoding device, the input image signal M11 is input to the block conversion circuit 41, rearranged and output as the block signal M12. This block conversion is the same as in FIG. 16 described above for the conventional technique. The block signal M12 is delayed by the delay circuit 42 in accordance with the calculation time of the encoding parameter, and becomes the delayed block signal M13. Delayed block signal M13 is D
It is input to the CT conversion circuit (DCT) 43, DCT-converted, and output as a conversion block signal M14.

【0031】変換ブロツク信号M14は量子化回路
(Q)44によつて、量子化ステツプサイズM21に従
つて量子化されて量子化変換ブロツク信号M15とな
る。量子化ステツプサイズM15については従来と同様
である。量子化変換ブロツク信号M15は、可変長符号
化回路(VLC)45に入力されて、例えばハフマン符
号と零係数のランレングス符号を組み合わせた可変長符
号化が行われて、可変長符号化ブロツク信号M16にな
る。可変長符号化ブロツク信号M16はバツフアメモリ
46で情報量を平滑化されて、多重化回路(MUX)5
0に入力される。多重化回路50では、バツフアメモリ
46によつて一定情報量化された平滑化可変長符号化ブ
ロツク信号M17と、量子化ステツプサイズM21とが
多重化されて、画像信号符号化装置の出力M22とな
る。
The transform block signal M14 is quantized by the quantizing circuit (Q) 44 according to the quantizing step size M21 to become a quantized transform block signal M15. The quantization step size M15 is the same as the conventional one. The quantized transform block signal M15 is input to a variable length coding circuit (VLC) 45 and subjected to variable length coding in which, for example, a Huffman code and a zero coefficient run length code are combined to perform a variable length coded block signal. It becomes M16. The variable length coded block signal M16 has its information amount smoothed by the buffer memory 46, and the multiplexed circuit (MUX) 5
Input to 0. The multiplexing circuit 50 multiplexes the smoothed variable-length coded block signal M17 whose constant information amount has been converted by the buffer memory 46 and the quantized step size M21 into an output M22 of the image signal coding apparatus.

【0032】一方ブロツク属性値計算回路47は、ブロ
ツク信号M12からブロツク属性値M18を計算して出
力する。ブロツク属性値の定義も従来と同様である。ブ
ロツク属性値修正回路48は、当該ブロツクのブロツク
属性値M18を入力し、ブロツク属性値の分布から領域
分割を行い、領域形状と属性値の局所変動を修正して、
修正ブロツク属性値M19を出力する。量子化制御回路
49は当該ブロツクの修正ブロツク属性値M19と、後
段に配置されるバツフアメモリ46の蓄積情報量M20
を参照して、量子化ステツプサイズM21を計算し、量
子化回路44に入力する。
On the other hand, the block attribute value calculation circuit 47 calculates a block attribute value M18 from the block signal M12 and outputs it. The definition of the block attribute value is the same as the conventional one. The block attribute value correction circuit 48 inputs the block attribute value M18 of the block, divides the region from the distribution of the block attribute value, corrects the local variation of the region shape and the attribute value,
The modified block attribute value M19 is output. The quantization control circuit 49 uses the modified block attribute value M19 of the block and the accumulated information amount M20 of the buffer memory 46 arranged in the subsequent stage.
, The quantization step size M21 is calculated and input to the quantization circuit 44.

【0033】次にブロツク属性値修正回路の第1の構成
について図8に示す。入力属性値N11は、図7のブロ
ツク属性値M18に対応しており、属性値パターンメモ
リ51に入力される。属性値パターンメモリ51は、各
ブロツクの属性値を順次記憶するメモリである。一時記
憶された属性値信号N12は、隣接属性値検出回路52
と孤立領域検出回路53に入力される。隣接属性値検出
回路52は、当該ブロツクの周辺4ないし8方向の隣接
ブロツクの属性値から、4ないし8個の隣接ブロツクの
属性値の最頻値を隣接属性値N13とする。この各ブロ
ツクと隣接ブロツクの位置関係を図10に示す。
Next, FIG. 8 shows a first configuration of the block attribute value correction circuit. The input attribute value N11 corresponds to the block attribute value M18 in FIG. 7, and is input to the attribute value pattern memory 51. The attribute value pattern memory 51 is a memory for sequentially storing the attribute value of each block. The temporarily stored attribute value signal N12 is supplied to the adjacent attribute value detection circuit 52.
Is input to the isolated area detection circuit 53. The adjacent attribute value detection circuit 52 determines the mode value of the attribute values of 4 to 8 adjacent blocks from the attribute values of adjacent blocks in the 4 to 8 directions around the block as the adjacent attribute value N13. The positional relationship between each block and the adjacent block is shown in FIG.

【0034】中央のブロツクXが注目ブロツクであり、
まわりにある8個のブロツクA〜Hの属性値を比較して
領域を決定する。8方向全てのブロツクを隣接関係にあ
るとする場合と、一点でのみ接しているブロツクA、
C、F、Hを除いた4方向のブロツクを隣接関係にある
とする場合がある。孤立領域検出回路53は8個のブロ
ツクA〜Hの属性値から、当該ブロツクが属性値の上で
孤立しているかどうかをチエツクし、孤立していれば孤
立フラグN14を「1」に設定し、孤立していなければ
「0」を設定する。
The block X in the center is the block of interest,
The area is determined by comparing the attribute values of eight surrounding blocks A to H. Blocks in all eight directions are adjacent to each other, and block A touching at only one point,
Blocks in four directions excluding C, F, and H may be considered to be adjacent to each other. The isolated area detection circuit 53 checks from the attribute values of the eight blocks A to H whether or not the block is isolated on the attribute value, and if it is isolated, sets the isolated flag N14 to "1". If not isolated, "0" is set.

【0035】また入力属性値N11は、遅延回路54で
適当にタイミングを合わせて、遅延原属性値N15とな
る。孤立ブロツク比較回路55は孤立フラグN14の値
によつて、遅延原属性値N15と隣接属性値N13を選
択する。孤立フラグN14が「0」ならば孤立ブロツク
ではないので遅延原属性値N15を、孤立フラグが
「1」ならば孤立ブロツクなので隣接属性値N13を出
力し、修正属性値N16となる。この修正属性値N16
は、図7の修正ブロツク属性値M19に対応している。
ここである領域が孤立しているとは、例えば図11に示
すA又はBのような状態を指す。また1つのブロツクだ
けの領域はもちろん、複数のブロツクからなる領域も、
周辺の状態から孤立していると考えられる場合もある。
なおいくつまでなら孤立領域とするかは応用目的と回路
規模との兼ね合いである。
The input attribute value N11 becomes the delay original attribute value N15 by appropriately adjusting the timing in the delay circuit 54. The isolated block comparison circuit 55 selects the delay original attribute value N15 and the adjacent attribute value N13 according to the value of the isolated flag N14. If the isolated flag N14 is "0", it is not an isolated block and the delay original attribute value N15 is output. If the isolated flag N1 is "1", it is an isolated block and therefore the adjacent attribute value N13 is output, and the modified attribute value N16 is output. This modified attribute value N16
Corresponds to the modified block attribute value M19 in FIG.
The isolation of a certain area here means a state such as A or B shown in FIG. 11, for example. In addition to the area of only one block, the area of multiple blocks
It may be considered to be isolated from the surrounding state.
The maximum number of isolated regions is a balance between the application purpose and the circuit scale.

【0036】ここでこの孤立領域検出回路の構成を図9
に示す。入力属性値P11は、図8の入力属性値N12
に対応しており、2ブロツクライン遅延回路61によつ
て16ライン分、1ブロツクライン遅延回路64によつて
8ライン分、ブロツク遅延回路62、63、65、6
6、67、68によつてそれぞれ1ブロツク分遅延さ
れ、図10に示す位置関係にある9個の信号P11、P
12、P13、P14、P15、P16、P17、P1
8、P19となる。属性値信号P11、P12、P1
3、P14、P15、P16、P17、P18、P19
はそれぞれH、C、B、A、E、X、D、G、Fの位置
にあたるブロツクの属性値である。
Here, the configuration of this isolated area detection circuit is shown in FIG.
Shown in The input attribute value P11 is the input attribute value N12 of FIG.
16 blocks by the 2 block line delay circuit 61, 8 lines by the 1 block line delay circuit 64, and block delay circuits 62, 63, 65, 6
Each of the six signals 67, 68 is delayed by one block, and the nine signals P11, P having the positional relationship shown in FIG.
12, P13, P14, P15, P16, P17, P1
8, P19. Attribute value signals P11, P12, P1
3, P14, P15, P16, P17, P18, P19
Are attribute values of blocks corresponding to positions H, C, B, A, E, X, D, G, and F, respectively.

【0037】これらの信号はROM等で構成された状態
比較回路69に入力され、当該ブロツクXが孤立してい
るかどうかを調べて孤立フラグP20を出力する。この
孤立フラグP20は、図8の孤立フラグN14に対応し
ている。状態比較回路69の構成としては、例えばP1
6以外のP11〜P19の8個の属性値がすべて当該ブ
ロツクの属性値P16と異なつていれば、孤立している
と考えて孤立フラグP20を「1」に設定する。またも
し線で接しているブロツクだけを対象とするならば、P
13、P15、P17、P18の4個の属性値がすべて
当該ブロツクの属性値P16と異なつていれば、孤立し
ていると考えて孤立フラグP20を「1」に設定する。
These signals are input to the state comparison circuit 69 composed of a ROM or the like, and it is checked whether or not the block X is isolated, and the isolated flag P20 is output. The isolated flag P20 corresponds to the isolated flag N14 in FIG. As the configuration of the state comparison circuit 69, for example, P1
If all eight attribute values of P11 to P19 other than 6 are different from the attribute value P16 of the block, it is considered to be isolated and the isolated flag P20 is set to "1". If only the blocks touching with a line are targeted, P
If all four attribute values of 13, P15, P17 and P18 are different from the attribute value P16 of the block, it is considered to be isolated and the isolation flag P20 is set to "1".

【0038】次にブロツク属性値修正回路の第2の構成
を図12に示す。入力属性値Q11は、図7のブロツク
属性値M18に対応しており、アドレスカウンタ72の
発生するブロツクの順序に従つたアドレスQ12によ
り、第1のメモリ(RAM1)71に格納される。第1
のメモリ71に格納された属性値マトリツクスは、演算
回路(CPU)73によつてバスQ13を通して読み込
まれ、図13に示したブロツク属性値修正処理手順に従
つて、領域分割、領域面積計算、隣接領域比較、属性値
修正の各処理が行われて、バスQ13を通して第2のメ
モリ(RAM2)75に格納される。この手順はプログ
ラムメモリ(ROM)74に格納されていて、演算回路
73が実行する。
Next, FIG. 12 shows a second configuration of the block attribute value correction circuit. The input attribute value Q11 corresponds to the block attribute value M18 of FIG. 7, and is stored in the first memory (RAM1) 71 by the address Q12 according to the order of blocks generated by the address counter 72. First
The attribute value matrix stored in the memory 71 is read by the arithmetic circuit (CPU) 73 through the bus Q13, and the area division, area area calculation, and adjacency are performed in accordance with the block attribute value correction processing procedure shown in FIG. Each processing of area comparison and attribute value correction is performed and stored in the second memory (RAM2) 75 through the bus Q13. This procedure is stored in the program memory (ROM) 74 and is executed by the arithmetic circuit 73.

【0039】第2のメモリ75に格納された修正属性値
マトリツクスは、アドレスカウンタ76の発生するブロ
ツクの順序に従つたアドレスQ14により、修正属性値
Q15として順次出力される。この修正属性値Q15
は、図7の修正ブロツク属性値M19に対応している。
図8に上述したブロツク属性値修正回路の第1の構成で
は、ただ1つのブロツクだけからなる領域しか孤立領域
として認識できないが、この第2の構成では、各領域の
面積を計算しているので、例えば適当な任意の個数以下
のブロツクからなる小領域を検出することもできる。
The modified attribute value matrix stored in the second memory 75 is sequentially output as the modified attribute value Q15 by the address Q14 according to the order of the blocks generated by the address counter 76. This modified attribute value Q15
Corresponds to the modified block attribute value M19 in FIG.
In the first configuration of the block attribute value correction circuit described above with reference to FIG. 8, only a region consisting of only one block can be recognized as an isolated region, but in the second configuration, the area of each region is calculated. For example, it is also possible to detect a small area composed of an appropriate arbitrary number of blocks or less.

【0040】以上の構成によれば、局所的に属性が大き
く変化する領域を検出して、その局所変化をならして、
周辺部分と性質の異なつた符号化が行われることがない
ように符号化制御することにより、ブロツク歪みの原因
となるブロツクの属性の局所的な変化を抑えることがで
き、視覚的なブロツク歪みを軽減してより高画質の復元
画像を得ることができる。
According to the above configuration, the area where the attribute largely changes locally is detected, and the local change is smoothed,
By controlling the encoding so that encoding with different characteristics from the surrounding parts is not performed, it is possible to suppress local changes in the block attributes that cause block distortion, and to reduce visual block distortion. It is possible to obtain a restored image of higher quality by reducing the number of images.

【0041】また局所的に異なつた属性を持つ小領域
を、隣接するより大きな領域に併合することにより、同
一属性を持つ分割された領域の総数が減つて、各領域毎
に符号化しなければならない属性データも減り、伝送又
は蓄積すべき情報量を節約できる。さらにブロツク毎の
符号化特性の変動が少なくなるので、画像内又は画像間
での画質劣化の差が目立たなくなる。また発生情報量の
制御が簡単になり、伝送又は蓄積媒体への負担が軽減で
きる。
By merging small regions having locally different attributes into adjacent larger regions, the total number of divided regions having the same attribute is reduced, and each region must be coded. Attribute data is also reduced, and the amount of information to be transmitted or stored can be saved. Further, since the variation of the coding characteristic for each block is reduced, the difference in image quality deterioration within or between images becomes inconspicuous. In addition, the control of the amount of generated information is simplified, and the load on the transmission or storage medium can be reduced.

【0042】(3)他の実施例 なお上述の実施例においては、入力画像を8×8の平方
ブロツクに区切つて符号化する場合について述べたが、
このサイズは例えば適切な任意サイズのブロツクでもよ
く、また画像の特質等を考慮して任意形状をとるように
しても良い。その場合でも各ブロツクは複数のサブブロ
ツクに分けたほうが、回路構成及びROMの内容も簡単
にできる。
(3) Other Embodiments In the above embodiment, the case where the input image is divided into 8 × 8 square blocks and encoded is described.
This size may be, for example, a block having an appropriate arbitrary size, or may be an arbitrary shape in consideration of image characteristics and the like. Even in that case, if each block is divided into a plurality of sub-blocks, the circuit configuration and the contents of the ROM can be simplified.

【0043】また上述の実施例においては、入力画像信
号から計算されたアクテイビテイによつて符号化フラグ
を決定しているが、これに代え、例えばフイードバツク
される蓄積情報量を用いるほか、エツジ検出やパターン
認識などの、まつたく異なつた前処理の結果を考慮する
ようにしてもよい。また直線的な変化に従つた重み付け
係数を設定している例を示しているが、例えばサイン関
数的な変化に従つた設定や、対数関数的な変化に従つた
設定などの応用も考えられる。
In the above embodiment, the coding flag is determined based on the activity calculated from the input image signal, but instead of this, for example, the amount of accumulated information that is fed back is used, and edge detection and edge detection are performed. It is also possible to consider the result of different pre-processing such as pattern recognition. Although an example in which the weighting coefficient is set according to a linear change is shown, an application such as a setting according to a sine function change or a setting according to a logarithmic function change can be considered.

【0044】また上述の実施例においては、非符号化境
界の符号化ブロツクを対象にした処理について説明した
が、逆に符号化ブロツクとの境界の非符号化ブロツクに
対して、同様の処理を行うことも考えられる。その場合
は逆に境界に近いほど持ち上げるような重み付けの形状
が考えられる。
In the above embodiment, the processing for the coding block at the non-coding boundary has been described, but conversely, the same processing is performed for the non-coding block at the boundary with the coding block. It is also possible to do it. In that case, conversely, a weighting shape is considered such that it is lifted closer to the boundary.

【0045】また上述の実施例においては、画像信号の
符号化方法としてブロツク単位のDCTを用いた場合に
ついて説明したが、例えばHaar変換等の直交変換や
ブロツク単位のベクトル符号化などを用いる方法も考え
られる。
In the above embodiment, the case where the DCT in block units is used as the image signal encoding method has been described, but a method using orthogonal transform such as Haar transform or vector encoding in block units may also be used. Conceivable.

【0046】またこの第1の実施例においては、ただ1
つのブロツクだけからなる領域だけを孤立領域としてい
るが、遅延回路と比較回路の規模を大きくすることで、
2つないしはそれ以上のブロツクからなる領域も検出す
ることもできる。またこれらの実施例においては、属性
値の修正値として隣接領域の属性値を用いる例を説明し
たが、例えば当該領域の属性値と隣接領域の属性値の平
均などの値をとつてもよい。
Also, in this first embodiment, only 1
Although only the area consisting of only one block is the isolated area, by increasing the scale of the delay circuit and the comparison circuit,
It is also possible to detect areas consisting of two or more blocks. Further, in these embodiments, the example in which the attribute value of the adjacent area is used as the correction value of the attribute value has been described, but a value such as an average of the attribute value of the area and the attribute value of the adjacent area may be used.

【0047】[0047]

【発明の効果】上述のように本発明によれば、符号化ブ
ロツクと非符号化ブロツクの混在する状態から、ブロツ
ク歪みの発生する部分を把握して、非符号化ブロツクと
の境界に存在する符号化ブロツク内の信号に対して、隣
接ブロツクの配置状態に合わせた重み付けを行うことに
より、その配置に応じて信号の滑らかな接続が可能にな
り、視覚的なブロツク歪みを軽減させることができ、ま
た重み付けを変換符号化の前段に行うことにより、符号
化すべき信号のレベルが小さくなり、符号化情報量を減
少させる画像信号符号化方法及び画像信号符号化装置を
実現できる。
As described above, according to the present invention, the portion where the block distortion occurs is grasped from the mixed state of the coded block and the non-coded block and exists at the boundary with the non-coded block. By weighting the signals in the coding block according to the arrangement of adjacent blocks, signals can be connected smoothly according to the arrangement, and visual block distortion can be reduced. Also, by performing the weighting in the preceding stage of the transform coding, the level of the signal to be coded becomes small, and the image signal coding method and the image signal coding apparatus that reduce the amount of coded information can be realized.

【0048】また本発明によれば、互いに接する同一の
属性を持つブロツクからなる複数の領域に分割し、それ
らのうち隣接領域と異なつた属性を持つた、面積の小さ
な領域を検出し、その小面積領域を隣接領域に併合する
ようにしたことにより、局所的に属性が大きく変化する
領域を検出でき、その局所変化のあるブロツクの属性を
隣接ブロツクに合わせることにより、ブロツク毎の符号
化特性の変動が少なくなり、周辺部分と性質の異なつた
符号化が行われることがないように符号化制御し得る画
像信号符号化方法及び画像信号符号化装置を実現でき
る。
Further, according to the present invention, a region having a small area having an attribute different from that of an adjacent region is detected by dividing the region into a plurality of regions which are in contact with each other and have the same attribute. By merging the area area with the adjacent area, it is possible to detect the area where the attribute greatly changes locally, and by matching the attribute of the block with the local change to the adjacent block, the coding characteristics of each block can be changed. It is possible to realize an image signal coding method and an image signal coding apparatus capable of performing coding control so that fluctuations are reduced and coding having characteristics different from those of the peripheral portion is not performed.

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

【図1】本発明による画像信号符号化方法及び装置を適
用した画像信号符号化装置の第1実施例の構成を示すブ
ロツク図である。
FIG. 1 is a block diagram showing a configuration of a first embodiment of an image signal encoding device to which an image signal encoding method and device according to the present invention are applied.

【図2】図1の画像信号符号化装置における符号化/非
符号化ブロツクの配置パターンの検出処理の隣接ブロツ
クの位置関係の説明に供する略線図である。
FIG. 2 is a schematic diagram for explaining the positional relationship between adjacent blocks in the detection process of the arrangement pattern of encoded / non-encoded blocks in the image signal encoding apparatus of FIG.

【図3】図1の画像信号符号化装置における符号化パタ
ーン検出回路の構成を示すブロツク図である。
3 is a block diagram showing a configuration of a coding pattern detection circuit in the image signal coding apparatus of FIG.

【図4】図3の符号化パターン検出回路でブロツクアク
テイビテイから符号化ブロツクを決定する評価基準の構
成を示す特性曲線図である。
FIG. 4 is a characteristic curve diagram showing a configuration of an evaluation standard for determining an encoding block from a block activity in the encoding pattern detection circuit of FIG.

【図5】図3の符号化パターン検出回路でブロツクの重
み付けの形状を示す略線図である。
5 is a schematic diagram showing the shape of block weighting in the coding pattern detection circuit of FIG. 3;

【図6】図3の符号化パターン検出回路でサブブロツク
の重み付けパターン決定方法の構成を示す図表である。
6 is a chart showing the configuration of a sub-block weighting pattern determination method in the coding pattern detection circuit of FIG.

【図7】本発明による画像信号符号化方法及び装置を適
用した画像信号符号化装置の第2実施例の構成を示すブ
ロツク図である。
FIG. 7 is a block diagram showing a configuration of a second embodiment of an image signal encoding device to which an image signal encoding method and device according to the present invention are applied.

【図8】図7の画像信号符号化装置のブロツク属性値修
正回路の第1の構成を示すブロツク図である。
FIG. 8 is a block diagram showing a first configuration of a block attribute value correction circuit of the image signal encoding device of FIG.

【図9】図8のブロツク属性値修正回路の孤立領域検出
回路の構成を示すブロツク図である。
9 is a block diagram showing a configuration of an isolated area detection circuit of the block attribute value correction circuit of FIG.

【図10】隣接ブロツクの位置関係の説明に供する略線
図である。
FIG. 10 is a schematic diagram for explaining the positional relationship between adjacent blocks.

【図11】孤立領域検出において判断される孤立領域の
説明に供する略線図である。
FIG. 11 is a schematic diagram for explaining an isolated area determined in isolated area detection.

【図12】図7の画像信号符号化装置のブロツク属性値
修正回路の第2の構成を示すブロツク図である。
12 is a block diagram showing a second configuration of the block attribute value correction circuit of the image signal encoding device in FIG. 7. FIG.

【図13】図12のブロツク属性値修正回路におけるブ
ロツク属性値修正処理手順を示すフローチヤートであ
る。
13 is a flow chart showing a block attribute value correction processing procedure in the block attribute value correction circuit of FIG.

【図14】ブロツク分割による画像信号符号化装置の従
来例の構成を示すブロツク図である。
FIG. 14 is a block diagram showing a configuration of a conventional example of an image signal encoding device by block division.

【図15】ブロツク分割による画像信号復号化装置の従
来例の構成を示すブロツク図である。
FIG. 15 is a block diagram showing a configuration of a conventional example of an image signal decoding device by block division.

【図16】ブロツク分割による画像信号符号化における
処理ブロツクの構成を示す略線図図である。
FIG. 16 is a schematic diagram showing a configuration of a processing block in image signal coding by block division.

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

11、41……ブロツク変換回路、12……重み付け回
路、13、43……DCT変換回路(DCT)、14、
44……量子化回路(Q)、15、45……可変長符号
化回路(VLC)、16、46……バツフアメモリ、1
7……ブロツクアクテイビテイ計算回路、18……符号
化パターン検出回路、19、49……量子化制御回路、
20、50……多重化回路(MUX)、47……ブロツ
ク属性値計算回路、48……ブロツク属性値修正回路。
11, 41 ... Block transform circuit, 12 ... Weighting circuit, 13, 43 ... DCT transform circuit (DCT), 14,
44 ... Quantization circuit (Q), 15, 45 ... Variable length coding circuit (VLC), 16, 46 ... Buffer memory, 1
7 ... Block activity calculation circuit, 18 ... Encoding pattern detection circuit, 19, 49 ... Quantization control circuit,
20, 50 ... Multiplexing circuit (MUX), 47 ... Block attribute value calculation circuit, 48 ... Block attribute value correction circuit.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/41 B G06F 15/66 330 J ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location H04N 1/41 B G06F 15/66 330 J

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】入力画像信号を複数のブロツクに分割し
て、当該ブロツク毎に符号化又は非符号化を判断し、上
記ブロツク単位で変換符号化する画像信号符号化方法に
おいて、 上記非符号化ブロツクと上記符号化ブロツクとの境界を
検出する境界ブロツク検出ステツプと、 当該検出された境界ブロツク内の信号に対して、重み付
けを行う重み付けステツプとを具えることを特徴とする
画像信号符号化方法。
1. An image signal coding method in which an input image signal is divided into a plurality of blocks, coding or non-coding is determined for each block, and conversion coding is performed in block units. An image signal coding method characterized by comprising a boundary block detection step for detecting a boundary between the block and the coding block, and a weighting step for weighting a signal in the detected boundary block. .
【請求項2】上記境界ブロツク検出ステツプは、 上記ブロツクを複数のサブブロツクに分割するサブブロ
ツク分割処理ステツプと、 上記各サブブロツク毎に、隣接ブロツクの符号化又は非
符号化の配置パターンの判断を独立に行う符号化判断ス
テツプとを具えることを特徴とする請求項1に記載の画
像信号符号化方法。
2. The boundary block detection step includes a sub-block division processing step for dividing the block into a plurality of sub-blocks, and for each of the sub-blocks, the determination of the coding pattern or the non-coding layout pattern of adjacent blocks is independently performed. The image signal encoding method according to claim 1, further comprising an encoding determination step to be performed.
【請求項3】上記サブブロツク分割処理ステツプは、上
記ブロツクに隣接するブロツクのうち、全てのサブブロ
ツクに対して隣接するブロツク数が3以下になるように
分割することを特徴とする請求項2に記載の画像信号符
号化方法。
3. The sub-block division processing step divides the sub-blocks adjacent to all the sub-blocks so that the number of adjacent blocks is three or less. Image signal encoding method.
【請求項4】上記重み付けステツプは、複数に分割され
た上記サブブロツク毎に独立に重み付けすることを特徴
とする請求項2に記載の画像信号符号化方法。
4. The image signal coding method according to claim 2, wherein the weighting step independently weights each of the plurality of subblocks.
【請求項5】上記重み付けステツプは、上記ブロツクの
符号化の前処理として行うことを特徴とする請求項1に
記載の画像信号符号化方法。
5. The image signal coding method according to claim 1, wherein the weighting step is performed as a pre-process for coding the block.
【請求項6】入力画像信号を複数のブロツクに分割し
て、当該ブロツク毎の属性を評価し、当該属性に従つ
て、上記ブロツク単位で変換符号化する画像信号符号化
方法において、 上記ブロツク毎の属性によつて画面を複数の領域に分割
する領域分割ステツプと、 上記分割された領域の形状を調節する領域形状調節ステ
ツプとを具えることを特徴とする画像信号符号化方法。
6. An image signal encoding method for dividing an input image signal into a plurality of blocks, evaluating the attribute of each block, and transform-encoding in block units according to the attribute, in each block. An image signal encoding method, comprising: an area dividing step for dividing a screen into a plurality of areas according to the attribute of 1. and an area shape adjusting step for adjusting the shape of the divided area.
【請求項7】上記領域分割ステツプは、 互いに接する同一の属性を持つ上記ブロツクを順次接続
して上記領域を構成するブロツク接続ステツプと、 上記領域に属する上記各ブロツクの属性を当該領域の属
性とする領域属性決定ステツプとを具えることを特徴と
する請求項6に記載の画像信号符号化方法。
7. The area division step comprises a block connection step for sequentially connecting the blocks having the same attribute that are in contact with each other to form the area, and an attribute of each block belonging to the area as an attribute of the area. 7. The image signal coding method according to claim 6, further comprising a region attribute determining step.
【請求項8】上記領域形状調節ステツプは、 上記領域を隣接する領域に併合することを判断する領域
併合判断ステツプと、 上記隣接領域と併合する領域併合処理ステツプとを具え
ることを特徴とする請求項6に記載の画像信号符号化方
法。
8. The area shape adjusting step comprises an area merging determination step for merging the area into an adjacent area and an area merging processing step for merging with the adjacent area. The image signal encoding method according to claim 6.
【請求項9】上記領域併合判断ステツプは、属性の異な
る領域に囲まれた同一の属性を持つ隣接ブロツクの配置
パターンを検出し、当該領域の属性と隣接領域の属性を
比較することを特徴とする請求項8に記載の画像信号符
号化方法。
9. The area merge determination step detects an arrangement pattern of adjacent blocks surrounded by areas having different attributes and having the same attribute, and compares the attribute of the area with the attribute of the adjacent area. The image signal encoding method according to claim 8.
【請求項10】上記ブロツク接続ステツプは、注目ブロ
ツクに線又は点で接するブロツクを対象とすることを特
徴とする請求項7に記載の画像信号符号化方法。
10. The image signal encoding method according to claim 7, wherein the block connection step is for a block which is in contact with the target block at a line or a point.
【請求項11】入力画像信号を複数のブロツクに分割し
て、当該ブロツク毎に符号化又は非符号化を判断し、上
記ブロツク単位で変換符号化する画像信号符号化装置に
おいて、 上記非符号化ブロツクと上記符号化ブロツクとの境界を
検出する境界ブロツク検出手段と、 当該検出された境界ブロツク内の信号に対して、重み付
けを行う重み付け手段とを具えることを特徴とする画像
信号符号化装置。
11. An image signal coding apparatus for dividing an input image signal into a plurality of blocks, determining coding or non-coding for each block, and transform-coding in block units. An image signal coding apparatus comprising: a boundary block detecting means for detecting a boundary between the block and the coding block; and a weighting means for weighting a signal in the detected boundary block. .
【請求項12】上記境界ブロツク検出手段は、 上記ブロツクを複数のサブブロツクに分割するサブブロ
ツク分割処理手段と、 上記各サブブロツク毎に、隣接ブロツクの符号化又は非
符号化の配置パターンの判断を独立に行う符号化判断手
段とを具えることを特徴とする請求項11に記載の画像
信号符号化装置。
12. The boundary block detecting means independently divides the block into a plurality of subblocks, and determines the coding pattern or non-coding layout pattern of adjacent blocks independently for each subblock. The image signal coding apparatus according to claim 11, further comprising: a coding determination unit that performs the coding.
【請求項13】上記サブブロツク分割処理手段は、上記
ブロツクに隣接するブロツクのうち、全てのサブブロツ
クに対して隣接するブロツク数が3以下になるように分
割することを特徴とする請求項12に記載の画像信号符
号化装置。
13. The sub-block division processing means divides the blocks adjacent to the block so that the number of adjacent blocks to all sub-blocks is 3 or less. Image signal encoding device.
【請求項14】上記重み付け手段は、複数に分割された
上記サブブロツク毎に独立に重み付けすることを特徴と
する請求項12に記載の画像信号符号化装置。
14. The image signal coding apparatus according to claim 12, wherein the weighting means independently weights each of the plurality of subblocks.
【請求項15】上記重み付け手段は、上記ブロツクの符
号化の前処理として行うことを特徴とする請求項11に
記載の画像信号符号化装置。
15. The image signal coding apparatus according to claim 11, wherein the weighting means performs preprocessing for coding the block.
【請求項16】入力画像信号を複数のブロツクに分割し
て、当該ブロツク毎の属性を評価し、当該属性に従つ
て、上記ブロツク単位で変換符号化する画像信号符号化
装置において、 上記ブロツク毎の属性によつて画面を複数の領域に分割
する領域分割手段と、 上記分割された領域の形状を調節する領域形状調節手段
とを具えることを特徴とする画像信号符号化装置。
16. An image signal coding apparatus for dividing an input image signal into a plurality of blocks, evaluating the attribute of each block, and transform-coding in block units according to the attribute, in each block. An image signal coding apparatus, comprising: an area dividing unit that divides a screen into a plurality of areas according to the attribute of 1. and an area shape adjusting unit that adjusts the shape of the divided areas.
【請求項17】上記領域分割手段は、 互いに接する同一の属性を持つ上記ブロツクを順次接続
して上記領域を構成するブロツク接続手段と、 上記領域に属する上記各ブロツクの属性を当該領域の属
性とする領域属性決定手段を具えることを特徴とする請
求項16に記載の画像信号符号化装置。
17. The area dividing means comprises a block connecting means for sequentially connecting the blocks having the same attribute in contact with each other to form the area, and an attribute of each block belonging to the area as an attribute of the area. 17. The image signal encoding device according to claim 16, further comprising area attribute determining means.
【請求項18】上記領域形状調節手段は、 上記領域を隣接する領域に併合することを判断する領域
併合判断手段と、 上記隣接領域と併合する領域併合処理手段とを具えるこ
とを特徴とする請求項16に記載の画像信号符号化装
置。
18. The area shape adjusting means comprises area merging judging means for judging merging the area into an adjacent area, and area merging processing means merging with the adjacent area. The image signal encoding device according to claim 16.
【請求項19】上記領域併合判断手段は、属性の異なる
領域に囲まれた同一の属性を持つ隣接ブロツクの配置パ
ターンを検出し、当該領域の属性と隣接領域の属性を比
較することを特徴とする請求項18に記載の画像信号符
号化装置。
19. The area merge determination means detects the arrangement pattern of adjacent blocks surrounded by areas having different attributes and having the same attribute, and compares the attribute of the area with the attribute of the adjacent area. The image signal encoding device according to claim 18.
【請求項20】上記ブロツク接続手段は、注目ブロツク
に線又は点で接するブロツクを対象とすることを特徴と
する請求項17に記載の画像信号符号化装置。
20. The image signal coding apparatus according to claim 17, wherein the block connecting means targets a block which is in contact with the target block at a line or a point.
JP25952994A 1994-09-29 1994-09-29 Image signal coding method and image signal coding device Pending JPH08102947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25952994A JPH08102947A (en) 1994-09-29 1994-09-29 Image signal coding method and image signal coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25952994A JPH08102947A (en) 1994-09-29 1994-09-29 Image signal coding method and image signal coding device

Publications (1)

Publication Number Publication Date
JPH08102947A true JPH08102947A (en) 1996-04-16

Family

ID=17335380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25952994A Pending JPH08102947A (en) 1994-09-29 1994-09-29 Image signal coding method and image signal coding device

Country Status (1)

Country Link
JP (1) JPH08102947A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014155471A1 (en) * 2013-03-25 2014-10-02 日立マクセル株式会社 Coding method and coding device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014155471A1 (en) * 2013-03-25 2014-10-02 日立マクセル株式会社 Coding method and coding device
JPWO2014155471A1 (en) * 2013-03-25 2017-02-16 日立マクセル株式会社 Encoding method and encoding apparatus

Similar Documents

Publication Publication Date Title
US5047852A (en) Adaptive transform encoder for digital image signal in recording/reproducing apparatus
US5187755A (en) Method of and apparatus for compressing image data
US5864637A (en) Method and apparatus for improved video decompression by selective reduction of spatial resolution
CN101107862B (en) Encoding device and dynamic image recording system having the encoding device
US8396122B1 (en) Video codec facilitating writing an output stream in parallel
MXPA02007274A (en) Quality based image compression.
JPH06511361A (en) Adaptive block size image compression method and system
JP2008527789A (en) Entropy encoding method
US5719961A (en) Adaptive technique for encoder and decoder signal transformation
US5748795A (en) Image decoder using adjustable filtering
US5508745A (en) Apparatus for controlling a quantization level to be modified by a motion vector
JPH0787491A (en) Quantization device, inverse quantization device, picture processing unit and quantization method, reversed quantization method and picture processing method
JP3324551B2 (en) Image signal encoding control device
JPH08102947A (en) Image signal coding method and image signal coding device
JPH1066079A (en) Adaptive quantization control device
JPH06350992A (en) Data compression circuit
JP3468382B2 (en) Image signal encoding method and image signal encoding device
JP3845913B2 (en) Quantization control method and quantization control apparatus
JP2597003B2 (en) Image signal compression coding device
JPH06350991A (en) Data compression circuit
FI97495C (en) Procedure for sharpening an image
JPH03129980A (en) Video signal coding method
JPH1023261A (en) Image-processing unit
JP2700355B2 (en) Image data compression device
JPH0583569A (en) Image encoder

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040806