JPH05110865A - Video information quantity compression and/or information quantity expansion device - Google Patents

Video information quantity compression and/or information quantity expansion device

Info

Publication number
JPH05110865A
JPH05110865A JP29811491A JP29811491A JPH05110865A JP H05110865 A JPH05110865 A JP H05110865A JP 29811491 A JP29811491 A JP 29811491A JP 29811491 A JP29811491 A JP 29811491A JP H05110865 A JPH05110865 A JP H05110865A
Authority
JP
Japan
Prior art keywords
information amount
signal
quantization
compression
amount compression
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP29811491A
Other languages
Japanese (ja)
Other versions
JP2626367B2 (en
Inventor
Yasuhiko Teranishi
康彦 寺西
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP3298114A priority Critical patent/JP2626367B2/en
Publication of JPH05110865A publication Critical patent/JPH05110865A/en
Application granted granted Critical
Publication of JP2626367B2 publication Critical patent/JP2626367B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/20Contour coding, e.g. using detection of edges

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To output lots of information even in the presence of noise by detecting a DCT block having a flat part and a contour part from a information quantization compression signal with discrimination information added thereto and using the result as a control signal. CONSTITUTION:A DCT block 1a obtained by dividing picture element data from an input video signal is fed to the 2-dimension DCT transformation device 1 of a main coding means AA and the obtained transformation coefficient block 1b is fed to a quantization device 2. The coding means AA implements quantization based on a quantization step obtained based on a control signal bb and codes and adds information to discriminate the quantization step and outputs an information quantity compression signal 11a. Comparators 16, 13 compare the threshold levels of data forming 2-dimension HPF output blocks 11a and detect whether or not a flat part or a contour part is in existence depending on a prescribed operation. Lots of information is sent and outputted regardless of disturbance by quantization noise by using a signal having at least the flat part or the contour part as the above-mentioned control signal bb.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、映像情報量圧縮及び/
又は情報量伸長装置に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to video information amount compression and / or
Alternatively, the present invention relates to an information amount expansion device.

【0002】[0002]

【従来の技術】図5は従来の静止画圧縮装置のブロック
図、図6はジグザグ走査器の動作を説明するための図で
ある。
2. Description of the Related Art FIG. 5 is a block diagram of a conventional still image compression apparatus, and FIG. 6 is a diagram for explaining the operation of a zigzag scanner.

【0003】図5を用いて、カラー静止画符号化の国際
標準化を推進する機関であるJPEG(Joint Photogra
phic Expert Group )より提案された従来の静止画圧縮
装置(テレビジョン学会誌 P158 Vol44 No2 1990参照)
を説明するに、まず、1画面から縦8個,横8個のデジ
タル画素データを抽出して得たDCTブロックをDCT
変換器1(8×8DCT)に供給し、ここで2次元DC
T変換を施して得た8×8の変換係数を線形量子化器2
に供給する。尚、ここでDCTとは直行変換符号化の1
種であるDiscrete Cosine Transform の略語である。
Referring to FIG. 5, JPEG (Joint Photogra) is an organization that promotes international standardization of color still image coding.
The conventional still image compression device proposed by the Phic Expert Group (refer to P158 Vol44 No2 1990, The Institute of Television Engineers of Japan).
First, a DCT block obtained by extracting eight vertical and eight horizontal digital pixel data from one screen is DCT.
Supply to converter 1 (8 × 8DCT), where 2D DC
The 8 × 8 transform coefficient obtained by the T transform is applied to the linear quantizer 2
Supply to. Note that here, DCT is 1 of orthogonal transform coding.
Abbreviation for Discrete Cosine Transform.

【0004】そして、量子化マトリックス発生器3より
供給される基準量子化マトリックスに乗算器4にてスケ
ーリングファクタSが乗算されて得た量子化マトリック
スを用いて線形量子化を施して得た直流変換係数2aと
交流変換係数2bとが、1次元予測器5とジグザグ走査
器7とに夫々供給される。
Then, the reference quantization matrix supplied from the quantization matrix generator 3 is multiplied by the scaling factor S in the multiplier 4 to obtain a DC matrix obtained by performing linear quantization using the obtained quantization matrix. The coefficient 2a and the AC conversion coefficient 2b are supplied to the one-dimensional predictor 5 and the zigzag scanner 7, respectively.

【0005】上記1次元予測器5では、連続する直流変
換係数2aの差分値を得て1次元予測を行うことにより
直流変換係数2aの情報量を圧縮して第1のハフマン符
号器6に供給する。そして、第1のハフマン符号器6は
事象の発生確率の高い順に少ないビットを割り当てるハ
フマン符号を生成して多重化器9の一方の入力に供給す
る。尚、ハフマン符号は事象の発生確率に基づいて成さ
れるためエントロピー符号の1種であると言える。ま
た、事象の発生確率については予め測定した結果を用い
れば良く、符号化の際求める必要はない。
The one-dimensional predictor 5 compresses the information amount of the DC conversion coefficient 2a by obtaining the difference value between the continuous DC conversion coefficients 2a and performing one-dimensional prediction, and supplies the compressed information to the first Huffman encoder 6. To do. Then, the first Huffman encoder 6 generates a Huffman code that allocates a smaller number of bits in the descending order of occurrence probability of an event, and supplies the Huffman code to one input of the multiplexer 9. The Huffman code is a type of entropy code because it is based on the probability of occurrence of an event. Further, the occurrence probability of the event may be obtained by using the result measured in advance, and it is not necessary to obtain it at the time of encoding.

【0006】一方、上記ジグザグ走査器7は、図6に示
すように低周波成分から高周波成分に向けて交流変換係
数2bを走査して、これを第2のハフマン符号器8に供
給する。そして、第2のハフマン符号器8は値が“0”
の変換係数のランレングスと“0”でない変換係数の値
とに基づいて同様にハフマン符号を生成して、多重化器
9の他方の入力に供給する。
On the other hand, the zigzag scanner 7 scans the AC conversion coefficient 2b from the low frequency component to the high frequency component as shown in FIG. 6, and supplies it to the second Huffman encoder 8. The value of the second Huffman encoder 8 is "0".
Similarly, a Huffman code is generated based on the run length of the transform coefficient and the value of the transform coefficient that is not "0", and the Huffman code is supplied to the other input of the multiplexer 9.

【0007】そして、多重化器9は夫々の入力を多重化
して得た多重化出力信号9aを図示せぬ伝送路に出力す
る。
Then, the multiplexer 9 outputs a multiplexed output signal 9a obtained by multiplexing the respective inputs to a transmission line (not shown).

【0008】尚、上記した従来の技術はハフマン符号を
用いるため、一定の入力情報量に対して多重化出力信号
9aの有するデータが変動する。このため、スケーリン
グファクタSを用いて、例えば、1フィールド当たりの
多重化出力信号9aの有するデータを、一定に保持する
よう制御している。
Since the above-mentioned conventional technique uses the Huffman code, the data contained in the multiplexed output signal 9a varies with respect to a constant amount of input information. Therefore, the scaling factor S is used to control, for example, the data of the multiplexed output signal 9a per field to be held constant.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、上述し
た従来の技術においては、線形量子化器2で後述する量
子化雑音が発生するため、画質劣化が顕著なDCTブロ
ックが存在し問題であった。以下、問題点の理解を容易
にするため、1次元のDCTを例に挙げ説明する。
However, in the above-mentioned conventional technique, since the quantization noise described later is generated in the linear quantizer 2, there is a problem that there is a DCT block in which the image quality is significantly deteriorated. Hereinafter, in order to facilitate understanding of the problem, a one-dimensional DCT will be described as an example.

【0010】図7は量子化雑音によるDCTを用いた圧
縮伸長に伴う画質劣化を説明するための図、図8は量子
化マトリックスを説明するための図である。以下図面を
参照しつつ、本発明が解決しようとする課題を具体的に
説明する。
FIG. 7 is a diagram for explaining image quality deterioration due to compression / expansion using DCT due to quantization noise, and FIG. 8 is a diagram for explaining a quantization matrix. Problems to be solved by the present invention will be specifically described below with reference to the drawings.

【0011】ここで、周期的な変化を有する図7(A)
に示す1次元のデジタル波形データ列と、振幅11と振
幅0との平坦部とによりなる同図(C)に示す1次元の
デジタル波形データ列を考える。尚、逆DCT変換は以
下に示す式1で定義される。また、図7(A)〜(D)
中の縦軸は映像信号のレベルを表している。
Here, FIG. 7A having a periodic change.
Consider the one-dimensional digital waveform data string shown in FIG. 7C, which is composed of the one-dimensional digital waveform data string shown in FIG. 2 and the flat part of amplitude 11 and amplitude 0. The inverse DCT transform is defined by the following Equation 1. 7 (A) to (D)
The vertical axis represents the level of the video signal.

【0012】[0012]

【数1】 そして、上記したデータ列に、以下に示す式2で定義さ
れる1次元DCT変換を施し、変換係数D(7)だけを
粗い量子化ステップで量子化した後、逆量子化すると共
に逆DCT変換して得た波形データ列を同図(B)と同
図(D)とに夫々示す。
[Equation 1] Then, the above-mentioned data string is subjected to a one-dimensional DCT transformation defined by the following Equation 2, and only the transform coefficient D (7) is quantized in a coarse quantization step, and then inverse quantization and inverse DCT transformation are performed. The waveform data strings obtained in this way are shown in FIG. 7B and FIG.

【0013】[0013]

【数2】 さてここで、同図(B),(D)中の点線で示した部分
は粗い量子化ステップで量子化したため発生する量子化
雑音に基づくノイズであるが、視覚特性を考慮すると、
同図(B)に示す波形は大きな映像信号レベルの変化が
ある場所に小さなノイズが加算されているので差感度
(吹抜,“画像のデジタル信号処理”日刊工業新聞社(1
987)P23 参照)が低いことからノイズが検知されにく
く、一方、同図(D)に示す波形は検知されやすい平坦
部に現れるノイズで問題となる。
[Equation 2] Now, here, the portions shown by the dotted lines in FIGS. 6B and 6D are noises based on the quantization noise generated by the quantization in the coarse quantization step, but considering the visual characteristics,
In the waveform shown in FIG. 7B, small noise is added to a place where there is a large change in the video signal level, so that the differential sensitivity (blow-out, “digital signal processing of image”) by Nikkan Kogyo Shimbun
(987) P23) is low, so that noise is difficult to detect, while the waveform shown in FIG. 9D is a noise that appears in a flat part that is easily detected, which causes a problem.

【0014】以上は1次元の場合について説明したが、
2次元の場合も同様である。図8に示す量子化マトリッ
クスは、水平,垂直周波数が高くなる右斜め下方向にい
くにつれ値が大きくなっている。即ち、変換係数の高次
なものほど線形量子化の際の量子化ステップを粗くして
いる。これは、空間周波数が高い部分で視感度が落ちる
ことと斜め方向の波形に対して視感度が落ちることとを
利用して情報量圧縮を図るためである。
Although the case of one dimension has been described above,
The same applies to the two-dimensional case. The quantization matrix shown in FIG. 8 has a value that increases in the diagonally lower right direction in which the horizontal and vertical frequencies increase. That is, the higher the transform coefficient, the coarser the quantization step in linear quantization. This is because the amount of information is compressed by utilizing the fact that the luminosity is lowered in the portion where the spatial frequency is high and the luminosity is lowered with respect to the waveform in the oblique direction.

【0015】しかしながら、2次元の場合でも図7
(C)のように平坦部と輪郭部とによりなる波形は高い
周波数成分を有しており、そのような波形に2次元DC
T変換を施して得た変換係数を上記量子化マトリックス
を用いて量子化すると、高次(右斜め下)の量子化変換
係数に量子化雑音が混入することになる。そして、これ
を逆量子化し、逆2次元DCT変換した際、量子化雑音
に基づくノイズが発生し、特に平坦部で顕著な妨害とし
て現れる。
However, even in the case of two dimensions, FIG.
A waveform composed of a flat portion and a contour portion as in (C) has a high frequency component, and such a waveform has a two-dimensional DC.
When the transform coefficient obtained by applying the T transform is quantized using the above quantization matrix, quantization noise is mixed in the quantized transform coefficient of higher order (lower right diagonal). Then, when this is inversely quantized and subjected to inverse two-dimensional DCT conversion, noise based on quantization noise is generated, which appears as a noticeable disturbance particularly in a flat portion.

【0016】そこで、本発明は上述した問題点に鑑み、
平坦部と輪郭部とを有するDCTブロックについては周
辺の他のDCTブロックよりも量子化ステップのサイズ
を小さくするものである。
Therefore, the present invention has been made in view of the above-mentioned problems.
A DCT block having a flat portion and a contour portion has a smaller quantization step size than other DCT blocks in the periphery.

【0017】[0017]

【課題を解決するための手段】本発明は上述した課題を
解決するため以下の構成を提供するものである。
The present invention provides the following constitution in order to solve the above-mentioned problems.

【0018】映像信号を分割して得た入力DCTブロッ
クをDCT変換し、制御信号に基づいて得た量子化ステ
ップに応じて量子化し、符号化し、上記量子化ステップ
を判別するための判別情報を付加して情報量圧縮信号を
出力する符号化手段と、少なくとも平坦部と輪郭部とを
有する上記入力DCTブロックを検出して得た上記制御
信号を出力する制御手段とを有することを特徴とする映
像情報量圧縮又は情報量圧縮伸長装置。
The input DCT block obtained by dividing the video signal is DCT-transformed, quantized according to the quantization step obtained based on the control signal, coded, and discrimination information for discriminating the quantization step is provided. It is characterized by further comprising encoding means for additionally outputting an information amount compressed signal, and control means for outputting the control signal obtained by detecting the input DCT block having at least a flat portion and a contour portion. Video information amount compression or information amount compression / decompression device.

【0019】請求項1に記載した上記情報量圧縮信号に
情報量伸長を施す映像情報量伸長又は情報量圧縮伸長装
置であって、上記判別情報に基づいて逆量子化をするこ
とを特徴とする映像情報量伸長又は情報量圧縮伸長装
置。
According to a first aspect of the present invention, there is provided a video information amount expansion device or information amount compression / expansion device which expands the information amount compressed signal by the information amount, wherein inverse quantization is performed based on the discrimination information. Video information amount expansion or information amount compression / expansion device.

【0020】請求項1に記載した映像情報量圧縮又は情
報量圧縮伸長装置であって、上記制御手段に、上記映像
信号にかかる輝度信号のレベルが所定の範囲内であるか
否かを判別する第1の判別手段を備え、上記平坦部と輪
郭部とを有する上記入力DCTブロックを検出するに際
し、上記平坦部と見なされている画素であっても上記所
定の範囲外である画素については無効とするよう構成し
たことを特徴とする映像情報量圧縮又は情報量圧縮伸長
装置。
A video information amount compression or information amount compression / expansion device according to claim 1, wherein the control means determines whether or not the level of the luminance signal applied to the video signal is within a predetermined range. When detecting the input DCT block having the flat portion and the contour portion, which is provided with the first discriminating means, even a pixel regarded as the flat portion is invalid for a pixel outside the predetermined range. A video information amount compression or information amount compression / expansion device characterized by being configured as follows.

【0021】請求項1に記載した映像情報量圧縮又は情
報量圧縮伸長装置であって、上記制御手段に上記量子化
に伴う量子化雑音に基づくノイズの大きさを判別する第
2の判別手段を備え、上記量子化雑音の基づくノイズの
大きさに応じて上記制御信号を出力する制御手段とを有
することを特徴とする映像情報量圧縮又は情報量圧縮伸
長装置。
The image information amount compression or information amount compression / decompression device according to claim 1, wherein the control means includes second discrimination means for discriminating the magnitude of noise based on the quantization noise accompanying the quantization. A video information amount compression or information amount compression / decompression device, comprising: control means for outputting the control signal according to the magnitude of noise based on the quantization noise.

【0022】[0022]

【実施例】図1は第1実施例の映像情報量圧縮装置の主
要部を説明するためのブロック図、図2は第1実施例の
映像情報量圧縮装置又は情報量伸長装置の主要部を説明
するための数値例を示した図、図3は第1実施例の映像
情報量伸長装置の主要部を説明するためのブロック図、
図4は第2実施例の映像情報量圧縮装置の主要部を説明
するためのブロック図である。以下、図面を参照しつつ
第1実施例より説明することとする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram for explaining a main part of a video information amount compression apparatus of the first embodiment, and FIG. 2 shows a main part of a video information amount compression apparatus or an information amount expansion apparatus of the first embodiment. The figure which showed the numerical example for explaining, FIG. 3 is the block diagram for demonstrating the principal part of the video information amount expansion apparatus of 1st Example,
FIG. 4 is a block diagram for explaining the main part of the video information amount compression apparatus of the second embodiment. The first embodiment will be described below with reference to the drawings.

【0023】(第1実施例)第1実施例は、情報量圧縮
を施す際に、輪郭部と明るすぎたり暗すぎたりしないD
CTブロックを特定し、かかるDCTブロックについて
はスケーリングファクタSを小さくして量子化を施し、
符号化する。そして、情報量伸長を施す際に、上記スケ
ーリングファクタSに応じて逆量子化して復号するもの
である。以下、本発明にかかる映像情報量圧縮装置の主
要部の一例について説明し、その後本発明にかかる映像
情報量伸長装置の主要部の一例について説明することと
する。 (・映像情報量圧縮装置)図1において、映像情報量圧
縮装置の主要部は、入力映像信号に情報量圧縮を施す主
符号化手段AAと、スケーリングファクタSを制御する
ための制御手段BBとによりなる。以下、主符号化手段
AAより順に説明する。
(First Embodiment) In the first embodiment, when the amount of information is compressed, the contour portion is neither too bright nor too dark.
The CT block is specified, and the DCT block is quantized by reducing the scaling factor S,
Encode. Then, when the information amount expansion is performed, it is inversely quantized and decoded according to the scaling factor S. Hereinafter, an example of the main part of the video information amount compression device according to the present invention will be described, and then an example of the main part of the video information amount expansion device according to the present invention will be described. (Video Information Amount Compressing Device) In FIG. 1, main parts of the video information amount compressing device are a main encoding means AA for performing an information amount compression on an input video signal, and a control means BB for controlling a scaling factor S. It depends on. Hereinafter, the main encoding means AA will be described in order.

【0024】入力映像信号より縦8個,横8個のデジタ
ル画素データを分割して得たDCTブロック1aが図示
せぬDCTブロック分割器より主符号化手段AA中の2
次元DCT変換器1に供給され、2次元DCT変換して
得た変換係数ブロック1bが量子化器2に供給される。
ここで、DCTブロック1aの一例として、図2(A)
に示すDCTブロックを考えることとし、以下この数値
例に基づいて説明する。尚、同図(A)中のデジタルデ
ータを表す数字は8ビットで量子化されており、−12
8〜127の整数値を取り得るものとする。また、入力
映像信号は、輝度(Y)信号、色差(R−Y、B−Y)
信号等の画像情報を表す信号であればいずれでも良い。
但し、Y信号、R−Y信号、B−Y信号等は別々に符号
化される。
A DCT block 1a obtained by dividing 8 vertical and 8 horizontal digital pixel data from an input video signal is supplied to a DCT block divider (not shown) in the main encoding means AA.
It is supplied to the dimensional DCT transformer 1, and the transform coefficient block 1 b obtained by the two-dimensional DCT transform is supplied to the quantizer 2.
Here, as an example of the DCT block 1a, FIG.
Considering the DCT block shown in FIG. 1, description will be given below based on this numerical example. It should be noted that the numbers representing the digital data in FIG. 9A are quantized by 8 bits,
It can take an integer value of 8 to 127. The input video signal is a luminance (Y) signal and color difference (RY, BY).
Any signal that represents image information such as a signal may be used.
However, the Y signal, the RY signal, the BY signal, and the like are encoded separately.

【0025】そして、乗算器4は、量子化マトリックス
発生器3より供給される基準量子化マトリックスとスケ
ーリングファクタSとを乗算して得た量子化マトリック
ス4aを量子化器2に供給し、ここで変換係数ブロック
1bを量子化マトリックス4aで量子化して得た量子化
変換係数2cが第1の符号器10に供給される。ここ
で、上記スケーリングファクタSはスケーリングファク
タ生成器20より供給され、制御手段BBより供給され
る制御信号bbに基づいて得られるものである。
Then, the multiplier 4 supplies the quantization matrix 4a obtained by multiplying the reference quantization matrix supplied from the quantization matrix generator 3 and the scaling factor S to the quantizer 2, where The quantized transform coefficient 2 c obtained by quantizing the transform coefficient block 1 b with the quantization matrix 4 a is supplied to the first encoder 10. Here, the scaling factor S is supplied from the scaling factor generator 20, and is obtained based on the control signal bb supplied from the control means BB.

【0026】そして、第1の符号器10は量子化変換係
数2cに周知の符号化を施して得た符号化信号10aを
ID付加器21に供給し、ここで、制御信号bbに基づ
いて得られるスケーリングファクタSを判別するための
判別情報を付加して得た情報量圧縮信号21aを図示せ
ぬ伝送路に出力する。尚、第1の符号器10は、例え
ば、上述した従来の技術中の1次元予測器5と第1,第
2のハフマン符号化器6,8とジグザグ走査器7と多重
化器9とによりなるものであっても良い。但し、直流変
換係数について一次元予測を利用する場合はスケーリン
グファクタの制御を直流変換係数については行わないよ
うにする。
Then, the first encoder 10 supplies an encoded signal 10a obtained by subjecting the quantized transform coefficient 2c to well-known encoding to the ID adder 21, where it is obtained based on the control signal bb. The information amount compression signal 21a obtained by adding discrimination information for discriminating the scaling factor S to be output is output to a transmission line (not shown). The first encoder 10 includes, for example, the one-dimensional predictor 5, the first and second Huffman encoders 6 and 8, the zigzag scanner 7 and the multiplexer 9 in the conventional technique described above. It may be However, when the one-dimensional prediction is used for the DC conversion coefficient, the scaling factor is not controlled for the DC conversion coefficient.

【0027】次に制御手段BBについて説明するに、2
次元HPF11にDCTブロック1aが供給され、空間
的なHPFを施して得た2次元HPF出力ブロック11
aを第1の絶対値化器12に供給する。ここで、2次元
HPF11の一例を図2(B)に示す。同図(B)中太
枠で囲まれた係数“8”は対象とする画素に乗ずるフィ
ルタの係数を表しており、他の係数“−1”は対象とす
る画素の周辺の画素に乗ずるフィルタの係数を表してい
る。即ち、対象とする画素のデジタルデータを8倍する
と共にその周辺の画素のデジタルデータを−1倍して得
られた計9個のデータを加算して2次元HPF出力ブロ
ック11aを構成する夫々のデータとしている。尚、対
象とする画素がDCTブロックの端にあるため周辺に8
個の画素がない場合には、対象とする画素のフィルタ係
数を有効な周辺画素の個数と等しくする。このようにし
て得られた2次元HPF出力ブロック11aを同図
(C)に示す。
The control means BB will be described below.
The two-dimensional HPF output block 11 obtained by applying the DCT block 1a to the three-dimensional HPF 11 and performing spatial HPF
a is supplied to the first absolute value converter 12. Here, an example of the two-dimensional HPF 11 is shown in FIG. The coefficient “8” surrounded by a thick frame in the same figure (B) represents the coefficient of the filter which is multiplied by the target pixel, and the other coefficient “−1” is the filter which is multiplied by the pixels around the target pixel. Represents the coefficient of. That is, the two-dimensional HPF output block 11a is configured by adding nine pieces of data obtained by multiplying the digital data of the target pixel by eight and multiplying the digital data of the peripheral pixels by -1. I have data. Since the target pixel is at the edge of the DCT block, 8
If there are no such pixels, the filter coefficient of the target pixel is made equal to the number of effective peripheral pixels. The two-dimensional HPF output block 11a thus obtained is shown in FIG.

【0028】第1の絶対値化器12では2次元HPF出
力ブロック11aを構成する夫々のデータについて絶対
値をとり、これを第1,第2の閾値を夫々有する第1,
第2の比較器16,13に夫々供給する。この第1の比
較器16と第1の計数器17と第3の比較器18とは、
DCTブロック1a中に平坦部があるか否かを検出する
主要部であり、一方、第2の比較器13と第2の計数器
14と第4の比較器15とは、DCTブロック1a中に
輪郭部があるか否かを検出する主要部である。尚、第
5,第6の比較器51,52と第1のNOR回路53と
第2のAND回路54とで構成される後述する第1の判
別手段BB1は輝度信号のレベルが所定レベル範囲外に
ある場合を判別し、これに該当する画素を無効画素とす
るものである。
The first absolute value converter 12 takes an absolute value for each data forming the two-dimensional HPF output block 11a, and takes this absolute value as the first and second threshold values, respectively.
The signals are supplied to the second comparators 16 and 13, respectively. The first comparator 16, the first counter 17, and the third comparator 18 are
The second comparator 13, the second counter 14, and the fourth comparator 15 are the main parts that detect whether or not there is a flat portion in the DCT block 1a. It is a main part that detects whether or not there is a contour part. The first discriminating means BB1, which will be described later and is composed of the fifth and sixth comparators 51 and 52, the first NOR circuit 53 and the second AND circuit 54, has a luminance signal level outside the predetermined level range. The pixel corresponding to this is determined, and the pixel corresponding to this is determined as an invalid pixel.

【0029】第1の比較器16は、絶対値化された2次
元HPF出力ブロック11aを構成する夫々のデータに
ついて第2の閾値より小なる値に設定された第1の閾値
と比較して、第1の閾値より小なる場合は“1”を他の
場合は“0”を夫々のデータについて得た低域ブロック
16aを第2のAND回路54の一方の入力に供給す
る。また、第2のAND回路54の他方の入力には、後
述する第1のNOR回路出力信号53aが供給され、こ
こで輝度信号のレベルを検出して明るすぎる画素又は暗
すぎる画素である場合は低域ブロック16a中の“1”
を“0”に置き換えて得た第2のAND回路出力信号5
4aを第1の計数器17に供給する。この低域ブロック
16a中“1”の値を取る画素は、高域周波数成分を有
さない画素である。
The first comparator 16 compares each data forming the absolute-valued two-dimensional HPF output block 11a with a first threshold value set to a value smaller than the second threshold value, When it is smaller than the first threshold value, "1" is obtained, and in other cases, "0" is obtained for each data, and the low-frequency block 16a is supplied to one input of the second AND circuit 54. Further, a first NOR circuit output signal 53a described later is supplied to the other input of the second AND circuit 54, and when the level of the luminance signal is detected and the pixel is too bright or too dark, "1" in the low-frequency block 16a
Second AND circuit output signal 5 obtained by replacing
4a is supplied to the first counter 17. Pixels having a value of "1" in the low frequency block 16a are pixels having no high frequency component.

【0030】そして、第1の計数器17にて、第2のA
ND回路出力信号54aの1低域ブロック16a当たり
の“1”の数を累積加算して得た第1の累積加算値17
aを第3の比較器18に供給して、ここで第1の累積加
算値17aと第3の閾値とを比較し、第1の累積加算値
17aが大なる場合は“1”をその他の場合は“0”を
第1のAND19の一方の入力に第3の比較器出力信号
18aとして供給する。 このようにして、1DCTブ
ロック当たりの高域周波数成分を有さない画素数が一定
の値(第3の閾値)を越えるか否かを判別して、夫々の
DCTブロック1a中に平坦部があるか否かを検出して
いる。また、第1,第2の計数器14,17はDCTブ
ロック毎にリセットされるのは当然である。
Then, in the first counter 17, the second A
A first cumulative addition value 17 obtained by cumulatively adding the number of "1" per low-frequency block 16a of the ND circuit output signal 54a.
a is supplied to the third comparator 18, where the first cumulative addition value 17a is compared with the third threshold value. If the first cumulative addition value 17a is large, "1" is set to the other value. In this case, "0" is supplied to one input of the first AND 19 as the third comparator output signal 18a. In this way, it is determined whether or not the number of pixels having no high frequency component per DCT block exceeds a certain value (third threshold value), and there is a flat portion in each DCT block 1a. It is detected whether or not. Further, the first and second counters 14 and 17 are naturally reset for each DCT block.

【0031】一方、第2の比較器13は、絶対値化され
た2次元HPF出力ブロック11aの夫々のデータにつ
いて第2の閾値と比較して、第2の閾値より大なる場合
は“1”を他の場合は“0”を夫々のデータについて得
た高域ブロック13aを、第2の計数器14に供給す
る。この高域ブロック13a中“1”の値を取る画素
は、高域周波数成分を有する画素である。
On the other hand, the second comparator 13 compares each data of the absolute valued two-dimensional HPF output block 11a with the second threshold value, and when it is larger than the second threshold value, "1". In other cases, the high frequency block 13a which has obtained “0” for each data is supplied to the second counter 14. A pixel having a value of "1" in the high frequency block 13a is a pixel having a high frequency component.

【0032】そして、第2の計数器14にて1高域ブロ
ック13a当たりの“1”の数を累積加算して得た第2
の累積加算値14aを第4の比較器15に供給して、こ
こで第2の累積加算値15aと第4の閾値とを比較し、
第2の累積加算値15aが大なる場合は“1”をその他
の場合は“0”を第1のAND19の他方の入力に供給
する。
Then, the second counter 14 cumulatively adds the number of "1" s per high-frequency block 13a to obtain a second value.
Is supplied to the fourth comparator 15, where the second cumulative addition value 15a is compared with the fourth threshold value.
When the second cumulative addition value 15a is large, "1" is supplied, and otherwise "0" is supplied to the other input of the first AND19.

【0033】このようにして、1DCTブロック当たり
の高域周波数成分を有する画素数が一定の値(第4の閾
値)を越えるか否かを判別して、夫々のDCTブロック
1a中に輪郭部があるか否かを検出している。
In this way, it is determined whether or not the number of pixels having a high frequency component per DCT block exceeds a certain value (fourth threshold value), and the contour portion is formed in each DCT block 1a. It is detected whether or not there is.

【0034】そして、第1のAND回路19にて、両入
力の論理積を取ることにより、平坦部と輪郭部とを同時
に有するDCTブロックを特定して得た制御信号bbを
スケーリングファクタ生成器20に供給する。即ち、制
御信号bbが“1”の場合には当該DCTブロックは平
坦部と輪郭部とを同時に有しており、“0”の場合には
有していない。
Then, the scaling factor generator 20 obtains the control signal bb obtained by specifying the DCT block having the flat portion and the contour portion at the same time by taking the logical product of both inputs in the first AND circuit 19. Supply to. That is, when the control signal bb is "1", the DCT block has the flat portion and the contour portion at the same time, and when the control signal bb is "0", the DCT block does not have the flat portion and the contour portion.

【0035】ここで、第5,第6の比較器51,52と
第1のNOR回路53と第2のAND回路とにより構成
される第1の判別手段BB1ついて説明するに、まずD
CTブロック1aが、輝度信号のレベルが高レベルであ
る場合を判別する第5の比較器51と輝度信号のレベル
が低レベルである場合を判別する第6の比較器52とに
供給される。そして、第5の比較器51にて、DCTブ
ロック1a中のデジタル輝度信号データを後述する第6
の閾値より大きい第5の閾値と夫々比較して、これを越
える場合は“1”を、それ以外の場合は“0”を第1の
NOR回路53の一方の入力にデジタル画素データ毎に
供給する。ここでデジタル画素データはある画素の輝度
信号あるいは色差信号等を表すものであり、輝度信号の
場合はそのデータ自体を、色差信号の場合はその画素の
輝度信号データを利用する。また、第6の比較器52に
て、DCTブロック1a中のデジタル輝度信号データを
第6の閾値と夫々比較して、これを越えない場合は
“1”を、それ以外の場合は“0”を第1のNOR回路
53の他方の入力にデジタル画素データ毎に供給する。
この第1のNOR回路53にて、両入力の論理和を取り
反転して得た第1のNOR回路出力信号53aを得てい
る。
Here, the first discriminating means BB1 composed of the fifth and sixth comparators 51 and 52, the first NOR circuit 53 and the second AND circuit will be described. First, D will be described.
The CT block 1a is supplied to the fifth comparator 51 that determines when the level of the luminance signal is high and the sixth comparator 52 that determines when the level of the luminance signal is low. Then, in the fifth comparator 51, the digital luminance signal data in the DCT block 1a is changed to a sixth
When compared with a fifth threshold value larger than the threshold value of "1", if it exceeds this threshold value, "1" is supplied; otherwise, "0" is supplied to one input of the first NOR circuit 53 for each digital pixel data. To do. Here, the digital pixel data represents a luminance signal or a color difference signal of a certain pixel, and in the case of the luminance signal, the data itself is used, and in the case of the color difference signal, the luminance signal data of the pixel is used. Further, the sixth comparator 52 compares the digital luminance signal data in the DCT block 1a with the sixth threshold value, and if they do not exceed the threshold value, "1" is given; otherwise, "0". Is supplied to the other input of the first NOR circuit 53 for each digital pixel data.
The first NOR circuit 53 obtains a first NOR circuit output signal 53a obtained by taking and inverting the logical sum of both inputs.

【0036】両入力の論理積を求めたのは、低域ブロッ
ク16a中“1”の値を取る画素は高域周波数成分を有
さない画素であるが、第1のNOR回路出力信号53a
が“0”の場合は、輝度信号のレベルが高すぎるか、ま
たは低すぎるため、平坦部であったとしても視覚的にノ
イズが抑圧される画素であるのでかかる場合は無効画素
とするためである。尚、低域ブロック16aと第1のN
OR回路出力信号53aとのタイミングは周知のタイミ
ング調整回路にて調整されていることは勿論である。ま
た、第1の判別手段は特に設けなくとも良いことは勿論
である。
The logical product of both inputs is obtained because the pixel having the value "1" in the low-frequency block 16a is a pixel having no high-frequency component, but the first NOR circuit output signal 53a.
Is 0, the level of the luminance signal is too high or too low, so even if it is a flat portion, it is a pixel in which noise is visually suppressed. is there. The low-frequency block 16a and the first N
Of course, the timing with the OR circuit output signal 53a is adjusted by a known timing adjustment circuit. Further, it goes without saying that the first discriminating means need not be provided.

【0037】このようにして、量子化雑音に基づくノイ
ズが問題となる平坦部と輪郭部とを有するDCTブロッ
クを特定でき、更に、平坦部と輪郭部とを有するDCT
ブロックであっても視覚的に量子化雑音に基づくノイズ
が目立たないDCTブロックを除去して得た制御信号b
bに基づいてスケーリングファクタSを決定できる。そ
して、例えば、制御信号bbが“1”の場合にはスケー
リングファクタSを“0.5”とし、制御信号bbが
“0”の場合にはスケーリングファクタSを“1”とす
ることにより、情報量を削減した情報量圧縮信号21a
を得ることができる。 (・映像情報量伸長装置)図3を用いて映像情報量伸長
装置を説明するに、図1と同一の構成には同一の符号を
付しその説明を省略する。尚、映像情報量伸長装置は図
1に図示する映像情報量圧縮装置中の第1の符号化器1
0は従来の技術で述べた1次元予測器5と第1,第2の
ハフマン符号化器6,8とジグザグ走査器7と多重化器
9とによりなるものである場合に対応するものである。
In this way, it is possible to specify a DCT block having a flat portion and a contour portion in which noise due to quantization noise poses a problem, and further, a DCT block having a flat portion and a contour portion.
A control signal b obtained by removing a DCT block in which noise based on quantization noise is inconspicuous even in a block
The scaling factor S can be determined based on b. Then, for example, when the control signal bb is "1", the scaling factor S is "0.5", and when the control signal bb is "0", the scaling factor S is "1". Information amount compression signal 21a with reduced amount
Can be obtained. (Video Information Amount Expanding Device) To describe the video information amount expanding device with reference to FIG. 3, the same components as those in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted. The video information amount expansion device is the first encoder 1 in the video information amount compression device shown in FIG.
0 corresponds to the case where the one-dimensional predictor 5, the first and second Huffman encoders 6 and 8, the zigzag scanner 7 and the multiplexer 9 described in the prior art are used. ..

【0038】まず、情報量圧縮出力信号21aが第1の
選択器22に供給され、ここで上記ID付加器21にて
付加された判別情報と映像情報とを分離して、前者をI
Dデコード器23に後者を第2の選択器24に夫々供給
する。
First, the information amount compression output signal 21a is supplied to the first selector 22, where the discrimination information added by the ID adder 21 and the video information are separated, and the former is I
The latter is supplied to the D decoder 23 and the second selector 24, respectively.

【0039】そして、IDデコード器23は判別情報を
デコードして得たIDデコード器出力信号23aを後述
するスケーリングファクタ生成器20に供給する。一
方、第2の選択器24は上述したDCTブロック全体の
直流変換係数に対応する直流変換係数信号24aと交流
変換係数信号24bとを第1,第2のハフマン復号器2
5,26に夫々供給する。
The ID decoder 23 supplies the ID decoder output signal 23a obtained by decoding the discrimination information to the scaling factor generator 20 described later. On the other hand, the second selector 24 outputs the DC conversion coefficient signal 24a and the AC conversion coefficient signal 24b corresponding to the DC conversion coefficient of the entire DCT block described above to the first and second Huffman decoders 2.
Supply to 5 and 26 respectively.

【0040】そして、第1のハフマン復号器25は直流
変換係数信号24aを復号して得た復号直流変換係数信
号25aを1次元予測復号器27に供給する。また、第
2のハフマン復号器26は交流変換係数信号24bを復
号して得た復号交流変換係数信号26aを逆ジグザグ走
査器28に供給する。
Then, the first Huffman decoder 25 supplies the decoded DC conversion coefficient signal 25a obtained by decoding the DC conversion coefficient signal 24a to the one-dimensional predictive decoder 27. Further, the second Huffman decoder 26 supplies the decoded AC conversion coefficient signal 26a obtained by decoding the AC conversion coefficient signal 24b to the inverse zigzag scanner 28.

【0041】この1次元予測復号器27は上記した1次
元予測器5に対応するものであり、直流変換係数を得て
これを多重化器29の一方の入力に供給する。また、逆
ジグザグ走査器28は、上記したジグザグ走査器7で行
われた1DCTブロック毎のジグザグ走査を元に戻すた
めのものであり、データを並べ換えるためのメモリ等で
構成されている。そして、元に戻された交流変換係数が
多重化器29の他方の入力に供給される。
This one-dimensional predictive decoder 27 corresponds to the above-mentioned one-dimensional predictor 5, and obtains a DC conversion coefficient and supplies it to one input of the multiplexer 29. The inverse zigzag scanner 28 is for returning the zigzag scanning for each DCT block performed by the zigzag scanner 7 to the original, and is composed of a memory for rearranging data. Then, the restored AC conversion coefficient is supplied to the other input of the multiplexer 29.

【0042】そして、多重化器29は、直流変換係数と
交流変換係数とを多重化して得た8×8のデータで構成
される多重化器出力信号29aを逆量子化器30に供給
する。この逆量子化器30は、逆量子化マトリックスを
用いて多重化器出力信号29aに逆量子化を施して得た
逆量子化出力信号を逆DCT変換器32に供給する。
尚、逆量子化マトリックスは乗算器4にてスケーリング
ファクタ生成器20より出力されるスケーリングファク
タSと逆量子化マトリックス発生器31より供給される
基準逆量子化マトリックスとを乗算して得たものであ
る。
Then, the multiplexer 29 supplies the multiplexer output signal 29a composed of 8 × 8 data obtained by multiplexing the DC conversion coefficient and the AC conversion coefficient to the dequantizer 30. The inverse quantizer 30 supplies the inverse DCT converter 32 with an inverse quantized output signal obtained by inversely quantizing the multiplexer output signal 29a using the inverse quantization matrix.
The dequantization matrix is obtained by multiplying the scaling factor S output from the scaling factor generator 20 by the multiplier 4 and the reference dequantization matrix supplied from the dequantization matrix generator 31. is there.

【0043】そして、逆DCT変換器32は逆量子化出
力信号に逆DCTを施して得た情報量伸長信号32aを
図示せぬ伝送路に出力する。
Then, the inverse DCT converter 32 outputs the information amount expansion signal 32a obtained by applying the inverse DCT to the inverse quantized output signal to a transmission line (not shown).

【0044】ここで、スケーリングファクタSの相違に
よるノイズについて説明するに、図2(D),(E)
は、スケーリングファクタをS=0.5,S=1として
同図(A)のDCTブロックをDCT変換し、量子化
し、逆DCT変換して得た結果を夫々図示したものであ
る。両図を比較するとS=0.5の場合はノイズが抑圧
されていることが明らかである。
Here, the noise due to the difference in the scaling factor S will be described with reference to FIGS. 2D and 2E.
3A and 3B respectively show the results obtained by DCT transforming, quantizing, and inverse DCT transforming the DCT block in FIG. 9A with scaling factors S = 0.5 and S = 1. Comparing both figures, it is clear that noise is suppressed when S = 0.5.

【0045】上述したように、本実施例では平坦部と輪
郭部とを有するDCTブロックについてスケーリングフ
ァクタSを小さくすることで、視覚的に目立ちやすいノ
イズの発生を抑圧することができる。 (第2実施例)第1実施例は、2次元DCT変換して得
た変換係数ブロックを量子化する際、量子化変換係数に
混入する量子化雑音に起因して発生するノイズを平坦部
で抑圧するため、平坦部と輪郭部とを有するDCTブロ
ックを特定し、かかる場合はスケーリングファクタSを
小さくして多くの情報を伝送し、その他の場合はスケー
リングファクタSを大きくして情報量を削減するもので
あった。
As described above, in the present embodiment, by reducing the scaling factor S for the DCT block having the flat portion and the contour portion, it is possible to suppress the generation of visually noticeable noise. (Second Embodiment) In the first embodiment, when the transform coefficient block obtained by the two-dimensional DCT transform is quantized, noise generated due to the quantization noise mixed in the quantized transform coefficient is flattened. To suppress, a DCT block having a flat portion and a contour portion is specified, and in such a case, the scaling factor S is reduced to transmit a large amount of information, and in other cases, the scaling factor S is increased to reduce the amount of information. It was something to do.

【0046】しかし、量子化変換係数に混入する量子化
雑音が夫々十分小さく、且つ、その絶対値の総和が十分
小さい場合は、量子化雑音に起因して発生するノイズも
やはり小さく問題とならない。
However, when the quantization noise mixed in the quantized transform coefficient is sufficiently small and the sum of the absolute values thereof is sufficiently small, the noise generated by the quantization noise is also small and does not pose a problem.

【0047】そこで、第2実施例においては、かかる場
合を検出して、平坦部と輪郭部とを有するDCTブロッ
クであってもスケーリングファクタSを大きくして情報
量を削減することとした。
Therefore, in the second embodiment, such a case is detected and the scaling factor S is increased to reduce the amount of information even in the DCT block having the flat portion and the contour portion.

【0048】図4を用いて第2実施例の映像情報量圧縮
装置について説明するに、図1と同一の構成には同一の
符号を付しその説明を省略する。また、映像情報量伸長
装置についても第1実施例と同一の構成であるためその
説明を省略する。
The video information amount compression apparatus according to the second embodiment will be described with reference to FIG. 4. The same components as those in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted. Further, the image information amount expansion device has the same configuration as that of the first embodiment, and therefore its explanation is omitted.

【0049】同図中、第1実施例にかかる映像情報量圧
縮装置と相違するのは、制御手段BB中に量子化変換係
数に混入する量子化雑音が夫々十分小さく、且つ、その
絶対値の総和が十分小さいDCTブロック1aを判別す
る第2の判別手段BB2が設けられた点である。
In the figure, the difference from the video information amount compression apparatus according to the first embodiment is that the quantization noise mixed in the quantization conversion coefficient in the control means BB is sufficiently small, and the absolute value of its absolute value is small. The point is that the second discriminating means BB2 for discriminating the DCT block 1a having a sufficiently small total sum is provided.

【0050】そこで、第2の判別手段BB2について説
明するに、2次元DCT変換して得た変換係数ブロック
1bが第2の量子化器39に供給される。第2の量子化
器39は常に大きいスケーリングファクタS(第1実施
例のS=1)により得られる量子化マトリックスを用い
て量子化を施して得た第2の量子化器出力信号39aを
逆量子化器40に供給する。
Therefore, to explain the second discriminating means BB2, the transform coefficient block 1b obtained by the two-dimensional DCT transform is supplied to the second quantizer 39. The second quantizer 39 inverses the second quantizer output signal 39a obtained by performing quantization using a quantization matrix obtained by a large scaling factor S (S = 1 in the first embodiment). It is supplied to the quantizer 40.

【0051】そして、逆量子化器40において第2の量
子化器39に対応する逆量子化が施された後、減算器4
1の一方の入力に供給されここで他方の入力に供給され
る変換係数ブロック1bとの間で減算が施され得た量子
化雑音が第2の絶対値化器42に供給される。このよう
にして補助制御手段BB1は、大きいスケーリングファ
クタSを用いた場合の量子化雑音について判別するもの
である。
Then, after the inverse quantizer 40 performs inverse quantization corresponding to the second quantizer 39, the subtractor 4
Quantization noise, which is supplied to one input of 1 and is subtracted from the transform coefficient block 1b supplied to the other input, is supplied to the second absolute value converter 42. In this way, the auxiliary control unit BB1 determines the quantization noise when the large scaling factor S is used.

【0052】そして、第2の絶対値化器42にて量子化
雑音を絶対値化して得た絶対値化量子化雑音42aが加
算器43の一方の入力と第7の比較器46とに供給され
る。ここで、加算器43とレジスタ44と第9の比較器
45とは、量子化雑音の絶対値の総和が十分小さい場合
を判別し、第7の比較器46と第3の計数器47と第8
の比較器48とは、量子化雑音が夫々十分小さい場合を
判別する役割を担う。
The absolute value quantization noise 42a obtained by converting the quantization noise into the absolute value by the second absolute value converter 42 is supplied to one input of the adder 43 and the seventh comparator 46. To be done. Here, the adder 43, the register 44, and the ninth comparator 45 determine when the total sum of the absolute values of the quantization noise is sufficiently small, and the seventh comparator 46, the third counter 47, and the third comparator 47 8
The comparator 48 has a role of discriminating when the quantization noise is sufficiently small.

【0053】上記した加算器43にて、画素データごと
の絶対値化量子化雑音42aとレジスタ44から他方の
入力に供給される累積加算量子化雑音44aとがレジス
タ44にて加算される。そして、累積加算量子化雑音4
4aが第9の比較器45に供給され、ここでDCTブロ
ック毎に累積加算量子化雑音44aを第9の閾値と比較
してこれを越える場合は“1”を、それ以外の場合は
“0”を第9の比較器出力信号45aとして第1のOR
回路49の一方の入力に供給する。その後、レジスタ4
4がDCTブロック毎にクリアされることは当然であ
る。
In the adder 43, the absolute value quantization noise 42a for each pixel data and the cumulative addition quantization noise 44a supplied from the register 44 to the other input are added in the register 44. Then, the cumulative addition quantization noise 4
4a is supplied to the ninth comparator 45, where the cumulative addition quantization noise 44a is compared with the ninth threshold value for each DCT block, and if it exceeds this value, "1" is given; otherwise, "0" is given. Is used as the ninth comparator output signal 45a for the first OR
Supply to one input of circuit 49. Then register 4
Of course, 4 is cleared for each DCT block.

【0054】一方、第7の比較器46にて、絶対値化量
子化雑音42aを画素データ毎に第7の閾値と比較し
て、これを越える場合は“1”を、それ以外の場合は
“0”を第3の計数器47に供給し、ここで“1”の数
を累積してその結果を第8の比較器48にてDCTブロ
ック毎に第8の閾値と比較してこれを越える場合は
“1”を、それ以外の場合は“0”を第8の比較器出力
信号48aとして第1のOR回路49の他方の入力に供
給する。
On the other hand, in the seventh comparator 46, the absolute value quantization noise 42a is compared with the seventh threshold value for each pixel data, and if it exceeds this value, "1" is given, otherwise. "0" is supplied to the third counter 47, where the number of "1" is accumulated, and the result is compared with the eighth threshold value for each DCT block by the eighth comparator 48, and this is calculated. If it exceeds, "1" is supplied, and otherwise, "0" is supplied to the other input of the first OR circuit 49 as the eighth comparator output signal 48a.

【0055】そして、第1のOR回路49にて第8,第
9の比較器出力信号48a,45aの論理和を取り得た
第1のOR回路出力信号49aを、第1のAND出力信
号19aが一方の入力に供給されるの第3のAND回路
50の他方の入力に供給し、ここで両者の論理積を取り
得た制御信号bbをスケーリングファクタ生成器20と
ID付加器21に供給する。
Then, the first OR circuit output signal 49a obtained by ORing the eighth and ninth comparator output signals 48a and 45a in the first OR circuit 49 is converted into the first AND output signal 19a. The control signal bb is supplied to the other input of the third AND circuit 50, which is supplied to one input, and the logical product of the two is supplied to the scaling factor generator 20 and the ID adder 21.

【0056】尚、上述した実施例において、1つの2次
元HPF11の出力を絶対値をとり、第1,第2の閾値
と比較していたが、特性の相違する2つの2次元HPF
を設け、それらの出力の絶対値をとり、夫々第1,第2
の閾値と比較しても良いことは勿論である。
In the above-described embodiment, the output of one two-dimensional HPF 11 is taken as an absolute value and compared with the first and second threshold values, but two two-dimensional HPFs having different characteristics are used.
Are provided, the absolute values of those outputs are taken, and the first and second values are obtained, respectively.
Of course, the threshold value may be compared with the threshold value.

【0057】尚、上述した実施例において、基準量子化
マトリックスにスケーリングファクタSを乗じて量子化
ステップを可変していたが、量子化マトリックスを複数
種類用意してそのうちの1つを選択するようにしても良
い。また、逆量子化についても同様である。例えば、複
数種類用意する量子化マトリックスの1つは図8に図示
したものとし、他の1つをこの量子化マトリックスの右
斜め下の値をより小さくしたマトリックスとして平坦部
と輪郭部とを有するDCTブロックの場合は後者を選択
すれば良い。
In the above embodiment, the reference quantization matrix is multiplied by the scaling factor S to vary the quantization step. However, plural kinds of quantization matrices are prepared and one of them is selected. May be. The same applies to inverse quantization. For example, one of a plurality of kinds of quantization matrices prepared is shown in FIG. 8, and the other one has a flat portion and a contour portion as a matrix in which the value at the lower right of the quantization matrix is smaller. In the case of a DCT block, the latter may be selected.

【0058】尚、上述した実施例において、映像情報量
圧縮装置と映像情報量伸長装置とは個別に説明したが、
両者を統合した情報量圧縮伸長装置であっても良いこと
は勿論である。
Although the video information amount compression device and the video information amount decompression device have been individually described in the above-mentioned embodiment,
Of course, an information amount compression / decompression device that integrates both may be used.

【0059】[0059]

【発明の効果】上述したように本発明によれば、入力D
CTブロックをDCT変換し、少なくとも平坦部と輪郭
部とを有する入力DCTブロックを検出して得た制御信
号に基づいて得た量子化ステップに応じて量子化して得
た映像情報量圧縮信号を出力する映像情報量圧縮又は情
報量圧縮伸長装置を提供することができるので、量子化
に伴う量子化雑音に基づくノイズが顕著な妨害として現
れる入力DCTブロックについては多くの情報を伝送出
力することができるという効果がある。
As described above, according to the present invention, the input D
Output a video information amount compressed signal obtained by performing a DCT transform on a CT block and performing quantization according to a quantization step obtained based on a control signal obtained by detecting an input DCT block having at least a flat portion and a contour portion. Since it is possible to provide a video information amount compression or information amount compression / expansion device that performs the above, it is possible to transmit and output a large amount of information for an input DCT block in which noise based on quantization noise associated with quantization appears as a significant disturbance. There is an effect.

【0060】また、量子化ステップを判別するための判
別情報に基づいて逆量子化をする映像情報量伸長又は情
報量圧縮伸長装置を提供できるので、上記映像情報量圧
縮信号を復号した際、量子化雑音に基づくノイズを抑圧
することができるという効果がある。
Further, since it is possible to provide a video information amount expansion or information amount compression / expansion device which performs inverse quantization based on the discrimination information for discriminating the quantization step, it is possible to quantize when the above video information amount compressed signal is decoded. There is an effect that noise based on digitized noise can be suppressed.

【0061】また、制御手段に、映像信号にかかる輝度
信号のレベルが所定の範囲内であるか否かを判別する第
1の判別手段を備え、上記平坦部と輪郭部とを有する上
記入力DCTブロックを検出するに際し、上記所定の範
囲外である画素については無効とするよう構成したこと
を特徴とする映像情報量圧縮又は情報量圧縮伸長装置を
提供することができるので、量子化雑音に基づくノイズ
が視覚的に目立たない場合、映像情報量圧縮信号の情報
量を削減することができるという効果がある。
Further, the control means is provided with a first discriminating means for discriminating whether or not the level of the luminance signal applied to the video signal is within a predetermined range, and the input DCT having the flat portion and the contour portion. It is possible to provide a video information amount compression or information amount compression / decompression device characterized in that when detecting a block, pixels outside the above-mentioned predetermined range are invalidated. When the noise is not visually noticeable, there is an effect that the information amount of the video information amount compression signal can be reduced.

【0062】また、制御手段に、上記量子化に伴うの量
子化雑音に基づくノイズの大きさを判別する第2の判別
手段を備え、上記量子化雑音に基づくノイズの大きさに
応じて上記制御信号を出力するよう構成した情報量圧縮
又は情報量圧縮伸長装置を提供できるので、上記量子化
雑音に基づくノイズが小さい場合、映像情報量圧縮信号
の情報量を削減することができるという効果がある。
Further, the control means is provided with a second discriminating means for discriminating the magnitude of the noise based on the quantization noise associated with the quantization, and the control is performed according to the magnitude of the noise based on the quantization noise. Since it is possible to provide the information amount compression or information amount compression / expansion device configured to output a signal, it is possible to reduce the information amount of the video information amount compression signal when the noise based on the quantization noise is small. ..

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

【図1】第1実施例の映像情報量圧縮装置の主要部を説
明するためのブロック図である。
FIG. 1 is a block diagram illustrating a main part of a video information amount compression device according to a first embodiment.

【図2】第1実施例の映像情報量圧縮装置又は情報量伸
長装置の主要部を説明するための数値例を示した図であ
る。
FIG. 2 is a diagram showing a numerical example for explaining a main part of a video information amount compression device or an information amount decompression device of the first embodiment.

【図3】第1実施例の映像情報量伸長装置の主要部を説
明するためのブロック図である。
FIG. 3 is a block diagram for explaining the main part of the video information amount expansion device of the first embodiment.

【図4】第2実施例の映像情報量圧縮装置の主要部を説
明するためのブロック図である。
FIG. 4 is a block diagram illustrating a main part of a video information amount compression device according to a second embodiment.

【図5】従来の静止画圧縮装置のブロック図である。FIG. 5 is a block diagram of a conventional still image compression apparatus.

【図6】ジグザグ走査器の動作を説明するための図であ
る。
FIG. 6 is a diagram for explaining the operation of the zigzag scanner.

【図7】量子化雑音によるDCTを用いた圧縮伸長に伴
う画質劣化を説明するための図である。
FIG. 7 is a diagram for explaining image quality deterioration due to compression / expansion using DCT due to quantization noise.

【図8】量子化マトリックスを説明するための図であ
る。
FIG. 8 is a diagram for explaining a quantization matrix.

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

1a DCTブロック 21a 情報量圧縮信号 bb 制御信号 AA 符号化手段 BB 制御手段 BB1 第1の判別手段 BB2 第2の判別手段 1a DCT block 21a Information amount compression signal bb Control signal AA Encoding means BB Control means BB1 First discriminating means BB2 Second discriminating means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】映像信号を分割して得た入力DCTブロッ
クをDCT変換し、制御信号に基づいて得た量子化ステ
ップに応じて量子化し、符号化し、上記量子化ステップ
を判別するための判別情報を付加して情報量圧縮信号を
出力する符号化手段と、 少なくとも平坦部と輪郭部とを有する上記入力DCTブ
ロックを検出して得た上記制御信号を出力する制御手段
とを有することを特徴とする映像情報量圧縮又は情報量
圧縮伸長装置。
1. A discrimination for discriminating the quantizing step by subjecting an input DCT block obtained by dividing a video signal to a DCT transform, quantizing in accordance with a quantizing step obtained on the basis of a control signal, and coding. It has an encoding means for adding information and outputting an information amount compression signal, and a control means for outputting the control signal obtained by detecting the input DCT block having at least a flat portion and a contour portion. A video information amount compression or information amount compression / expansion device.
【請求項2】請求項1に記載した上記情報量圧縮信号に
情報量伸長を施す映像情報量伸長又は情報量圧縮伸長装
置であって、 上記判別情報に基づいて逆量子化をすることを特徴とす
る映像情報量伸長又は情報量圧縮伸長装置。
2. A video information amount expansion or information amount compression / expansion device for expanding the information amount compressed signal according to claim 1, wherein the information amount expansion signal is inversely quantized based on the discrimination information. Video information amount expansion or information amount compression / expansion device.
【請求項3】請求項1に記載した映像情報量圧縮又は情
報量圧縮伸長装置であって、 上記制御手段に、上記映像信号にかかる輝度信号のレベ
ルが所定の範囲内であるか否かを判別する第1の判別手
段を備え、 上記平坦部と輪郭部とを有する上記入力DCTブロック
を検出するに際し、上記平坦部と見なされている画素で
あっても上記所定の範囲外である画素については無効と
するよう構成したことを特徴とする映像情報量圧縮又は
情報量圧縮伸長装置。
3. The image information amount compression or information amount compression / expansion device according to claim 1, wherein the control means determines whether or not the level of the luminance signal applied to the image signal is within a predetermined range. When detecting the input DCT block having the flat portion and the contour portion, the first discriminating means for discriminating is applied to a pixel which is regarded as the flat portion but is out of the predetermined range. The video information amount compression or information amount compression / decompression device characterized in that is configured to be invalid.
【請求項4】請求項1に記載した映像情報量圧縮又は情
報量圧縮伸長装置であって、 上記制御手段に上記量子化に伴う量子化雑音に基づくノ
イズの大きさを判別する第2の判別手段を備え、 上記量子化雑音の基づくノイズの大きさに応じて上記制
御信号を出力する制御手段とを有することを特徴とする
映像情報量圧縮又は情報量圧縮伸長装置。
4. The image information amount compression or information amount compression / expansion device according to claim 1, wherein the control means determines the noise magnitude based on the quantization noise associated with the quantization. Video information amount compression or information amount compression / expansion device, further comprising: means for outputting the control signal according to the magnitude of noise based on the quantization noise.
JP3298114A 1991-10-18 1991-10-18 Video information compression device Expired - Lifetime JP2626367B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3298114A JP2626367B2 (en) 1991-10-18 1991-10-18 Video information compression device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3298114A JP2626367B2 (en) 1991-10-18 1991-10-18 Video information compression device

Publications (2)

Publication Number Publication Date
JPH05110865A true JPH05110865A (en) 1993-04-30
JP2626367B2 JP2626367B2 (en) 1997-07-02

Family

ID=17855353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3298114A Expired - Lifetime JP2626367B2 (en) 1991-10-18 1991-10-18 Video information compression device

Country Status (1)

Country Link
JP (1) JP2626367B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02105792A (en) * 1988-10-14 1990-04-18 Nippon Telegr & Teleph Corp <Ntt> Orthogonal transform coefficient quantization circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02105792A (en) * 1988-10-14 1990-04-18 Nippon Telegr & Teleph Corp <Ntt> Orthogonal transform coefficient quantization circuit

Also Published As

Publication number Publication date
JP2626367B2 (en) 1997-07-02

Similar Documents

Publication Publication Date Title
US6529634B1 (en) Contrast sensitive variance based adaptive block size DCT image compression
JP4248241B2 (en) Watermarking of compressed information signals
US6600836B1 (en) Quality based image compression
JP2624087B2 (en) Video signal decoding method
US20020191695A1 (en) Interframe encoding method and apparatus
US20050089189A1 (en) Embedding a watermark in an image signal
JP2000059782A (en) Compression method for spatial area digital image
JP2901656B2 (en) Image coding device
JPH05110865A (en) Video information quantity compression and/or information quantity expansion device
JP3198559B2 (en) Video information amount compression and / or information amount expansion device
JPH08102967A (en) Image coding method and device
JP3347409B2 (en) Image coding apparatus and method
JPH0591338A (en) Video informaiton volume compressing and/or expanding device
JP4083043B2 (en) Coding noise removal device
JPH08186842A (en) Noise reducing device for image data and method therefor
JPH0563995A (en) Video information quantity compressing and/or expanding device
JP3337699B2 (en) Image processing apparatus and method
JP3200073B2 (en) Image processing device
JP3416550B2 (en) Data embedding device and data retrieval device
JPH08130734A (en) Picture data encoder
JPH10126774A (en) Image coder and image decoder
JPH03238564A (en) Method and device for encoding and restoring picture data
JPH03238563A (en) Method and device for encoding and restoring picture data
JP2000228771A (en) Image coder and image coding method
JPH0495472A (en) Picture data processing system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090411

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090411

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100411

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110411

Year of fee payment: 14

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120411

Year of fee payment: 15

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120411

Year of fee payment: 15