[go: up one dir, main page]

JPH0479670A - Encoding device - Google Patents

Encoding device

Info

Publication number
JPH0479670A
JPH0479670A JP2193632A JP19363290A JPH0479670A JP H0479670 A JPH0479670 A JP H0479670A JP 2193632 A JP2193632 A JP 2193632A JP 19363290 A JP19363290 A JP 19363290A JP H0479670 A JPH0479670 A JP H0479670A
Authority
JP
Japan
Prior art keywords
dynamic range
input signal
encoder
encoding device
encoding
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
JP2193632A
Other languages
Japanese (ja)
Inventor
Shinya Sumino
眞也 角野
Tatsuro Shigesato
達郎 重里
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2193632A priority Critical patent/JPH0479670A/en
Publication of JPH0479670A publication Critical patent/JPH0479670A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Image Processing (AREA)
  • Color Television Systems (AREA)

Abstract

PURPOSE:To reduce the data quantity, with the picture quality hardly spoiled, by setting the quantizing step of a requantizing device larger so as to increase the compression ratio when the dynamic range is large. CONSTITUTION:A dynamic range calculator 6 calculates the dynamic range 7 of an input signal 1. When the dynamic range 7 is large, a re-quantizing device 8 sets the quantizing step larger so as to reduce the data quantity of an output signal 5 encoded by means of an encoder 4. The encoder 4 is a variable-length encoder and, when the encoder 4 is used with an orthogonal transducer 2, the data quantity can be reduced by hardly spoiling the picture quality. Therefore, by providing the dynamic range calculator and re-quantizing device 8 and changing the quantizing step on the basis of the dynamic range, the data quantity can be reduced by hardly spoiling the picture quality.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、通信コストの削減や記録時間の延長を図るた
めに、画像信号を伝送したり記憶したりするのに必要な
データ量を削減する手段である符号化装置に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention is a means for reducing the amount of data required to transmit and store image signals in order to reduce communication costs and extend recording time. The present invention relates to an encoding device.

従来の技術 従来の符号化装置のブロック図を第5図に示す。Conventional technology A block diagram of a conventional encoding device is shown in FIG.

同図において、1は入力信号、2は入力信号1を直交変
換する直交変換器、3は直交変換器2で直交変換さた信
号、4は信号3を符号化する符号化器、5は符号化器4
で符号化された出力信号である。
In the figure, 1 is an input signal, 2 is an orthogonal transformer that orthogonally transforms input signal 1, 3 is a signal that has been orthogonally transformed by orthogonal transformer 2, 4 is an encoder that encodes signal 3, and 5 is a code Transformer 4
This is the output signal encoded by .

以上のように構成された従来の符号化装置においては、
入力信号1が直交変換器2で直交変換され、符号化器4
で符号化される。この直交変換として適当な関数を選べ
ば、ある変換成分を他の成分よりも小さくすることが可
能となり、情報理論で証明されているように画像信号な
どのように相関の強い信号は、大幅なデータ量削減を行
うことができる。更に、直交変換としてDCT(離散コ
サイン変換)等を用いると、高周波成分に対する歪は低
周波成分に対する歪よりも視覚的に目立ちにくい特徴が
あり、これを用いて殆ど画質を損なわずに更にデータ量
を削減することができる。
In the conventional encoding device configured as described above,
Input signal 1 is orthogonally transformed by orthogonal transformer 2, and encoder 4
encoded in By choosing an appropriate function for this orthogonal transformation, it is possible to make certain transformation components smaller than other components, and as proven in information theory, signals with strong correlations such as image signals can be significantly reduced. It is possible to reduce the amount of data. Furthermore, when DCT (discrete cosine transform) is used as an orthogonal transform, distortion for high frequency components is less visually noticeable than distortion for low frequency components, and this can be used to further reduce the amount of data without compromising image quality. can be reduced.

発明が解決しようとする課題 しかしながら、以上のような構成では、画像に対する視
覚特性が使われておらず、まだデータ量削減の余地があ
る。
Problems to be Solved by the Invention However, in the configuration described above, the visual characteristics of the image are not used, and there is still room for reducing the amount of data.

本発明はかかる点に鑑み、画質を殆ど損なうことな〈従
来の符号化装置のデータ量を更に削減する符号化装置を
提供することを目的とする。
In view of this, an object of the present invention is to provide an encoding device that further reduces the amount of data compared to conventional encoding devices without substantially degrading image quality.

課題を解決するための手段 本発明はデジタル化された入力信号のブロック毎のダイ
ナミックレンジまたはダイナミックレンジに対応する値
を計算するダイナミックレンジ計算手段と、前記ダイナ
ミックレンジ計算手段で計算されたダイナミックレンジ
によって数種類の再量子化器から1つを選択して前記入
力信号を前記再量子化器で量子化する量子化手段と、前
記量子化手段で量子化された量子化値を符号化する符号
化手段を備えたことを特徴とする符号化装置である。
Means for Solving the Problems The present invention provides a dynamic range calculating means for calculating a dynamic range or a value corresponding to the dynamic range for each block of a digitized input signal, and a dynamic range calculated by the dynamic range calculating means. quantization means for selecting one from several types of requantizers and quantizing the input signal with the requantizer; and encoding means for encoding the quantized value quantized by the quantization means. This is an encoding device characterized by comprising:

作用 本発明は前記した構成により、ダイナミックレンジ計算
手段で入力信号のダイナミ・ンクレンジを計算し、ダイ
ナミックレンジが大きい場合には再量子化器の量子化ス
テップを大きくして圧縮率が大きくなるようにする(デ
ータ量を削減する)。
According to the above-described configuration, the present invention calculates the dynamic range of the input signal using the dynamic range calculation means, and when the dynamic range is large, the quantization step of the requantizer is increased to increase the compression ratio. (reduce the amount of data).

一般にダイナミックレンジが大きい場合には符号化歪が
多少増加しても視覚的に画質劣化が少ないので、以上の
構成にすることにより従来の符号化装置よりも少ないデ
ータ量で同程度の再生画質を得ることができる。
In general, when the dynamic range is large, there is little visual deterioration in image quality even if encoding distortion increases slightly, so by using the above configuration, the same level of playback image quality can be achieved with less data than a conventional encoding device. Obtainable.

実施例 第1図は本発明の第1の一実施例における符号化装置の
ブロック図である。同ずに於て1は入力信号、2は入力
信号1を直交変換した直交変換信号3を出力する直交変
換器、6は入力信号のダイナミックレンジ7を計算する
ダイナミックレンジ計算器、8は直交変換信号3をダイ
ナミックレンジ7に対応する量子化ステップで再量子化
する再量子化器、4は再量子化値9を符号化して出力信
号5を出力する符号化器である。
Embodiment FIG. 1 is a block diagram of an encoding apparatus in a first embodiment of the present invention. In the same figure, 1 is an input signal, 2 is an orthogonal transformer that outputs an orthogonal transformed signal 3 obtained by orthogonally transforming the input signal 1, 6 is a dynamic range calculator that calculates the dynamic range 7 of the input signal, and 8 is an orthogonal transformer. A requantizer 4 requantizes the signal 3 with a quantization step corresponding to a dynamic range 7, and a coder 4 encodes the requantized value 9 and outputs an output signal 5.

以上のように構成された本実施例の符号化装置に於て、
以下その動作を説明する。入力信号1はダイナミックレ
ンジ計算器6でダイナミックレンジ7が計算される。こ
のダイナミックレンジ7は直交変換と同じブロックで計
算しても良いし、またその直交変換ブロック数個分また
は直交変換ブロックと無関係に選んでもよい。ダイナミ
ックレンジ7が大きい場合には再量子化器8で量子化ス
テップを大きくし、符号化器4で符号化した出力信号5
のデータ量を減少させる。この符号化器4は可変長符号
化器であり、直交変換と共に用いると、画質を殆ど損な
うことなくデータ量を削減できることが知られている。
In the encoding device of this embodiment configured as described above,
The operation will be explained below. A dynamic range 7 is calculated for the input signal 1 by a dynamic range calculator 6. This dynamic range 7 may be calculated using the same block as the orthogonal transform, or may be selected for several orthogonal transform blocks or independently of the orthogonal transform blocks. When the dynamic range 7 is large, the requantizer 8 increases the quantization step, and the encoder 4 encodes the output signal 5.
reduce the amount of data. This encoder 4 is a variable length encoder, and it is known that when used in conjunction with orthogonal transformation, the amount of data can be reduced with almost no loss in image quality.

次に、ダイナミックレンジによる量子化ステップの制御
について説明する。第2図は画像の一例であり、円内部
はダイナミックレンジが小さく。長方形内部はダイナミ
ックレンジが大きいものとする。第3図(a)の実線は
円の内部の原信号、第3図(b)の実線は長方形の内部
の原信号を表している。横軸は画素位置、縦軸は画素値
を示す。各々に対して点線は符号化したデータを示す。
Next, control of the quantization step using the dynamic range will be explained. Figure 2 is an example of an image, and the dynamic range inside the circle is small. It is assumed that the inside of the rectangle has a large dynamic range. The solid line in FIG. 3(a) represents the original signal inside the circle, and the solid line in FIG. 3(b) represents the original signal inside the rectangle. The horizontal axis indicates pixel position, and the vertical axis indicates pixel value. For each, the dotted line indicates the encoded data.

一般に符号歪は信号に加算的に加わるので、ダイナミッ
クレンジが大きい第3図(b)の信号に比べて第3図(
a)の信号はSN比が劣化する。視覚的には、ダイナミ
ックレンジが小さい領域でざらざらした粒状の雑音が目
につく反面、ダイナミックレンジの大きな領域では殆ど
目だだない。従って、ダイナミックレンジが大きい場合
に圧縮率を上げることにより、殆ど画質を損なうことな
くデータ量を削減することができる。
Generally, sign distortion is additively added to the signal, so the signal shown in Fig. 3(b) has a larger dynamic range than the signal shown in Fig. 3(b).
The SN ratio of the signal a) deteriorates. Visually, grainy noise is noticeable in areas with a small dynamic range, while it is hardly noticeable in areas with a large dynamic range. Therefore, by increasing the compression rate when the dynamic range is large, it is possible to reduce the amount of data with almost no loss in image quality.

以上のように本実施例によればダイナミックレンジ計算
器6と再量子化器8を設けてダイナミックレンジによっ
て量子化ステップを変えることにより、殆ど画質を劣化
させることなくデータ量を削減することができる。
As described above, according to this embodiment, by providing the dynamic range calculator 6 and the requantizer 8 and changing the quantization step depending on the dynamic range, it is possible to reduce the amount of data with almost no deterioration in image quality. .

第4図は本発明のダイナミックレンジ計算器および再量
子化器の構成をより詳細に示すブロック図である。同図
において、10はデジタル化された入力信号、11は最
大値12を計算する最大値計算器、13は最小値14を
計算する最小値計算器、15は差16を計算する減算器
、17は除数18を出力するROM(リード・オンリー
・メモリ)、2oは直交変換された入力信号19を除数
18で除算した商21を計算する除算器である。
FIG. 4 is a block diagram showing in more detail the structure of the dynamic range calculator and requantizer of the present invention. In the figure, 10 is a digitized input signal, 11 is a maximum value calculator that calculates the maximum value 12, 13 is a minimum value calculator that calculates the minimum value 14, 15 is a subtracter that calculates the difference 16, and 17 2o is a ROM (read only memory) that outputs the divisor 18, and 2o is a divider that calculates the quotient 21 obtained by dividing the orthogonally transformed input signal 19 by the divisor 18.

以上のように構成された第2の実施例について、以下そ
の動作を説明する。最大値計算器11、最小値計算器1
3および減算器工5で第1の実施例のダイナミックレン
ジ計算器6を構成し、ROM17から除算器20で第1
の実施例の再量子化器8を構成している。入力信号10
から最大値12および最小値14が計算され、最大値1
2から最小値14を減算してその差16がダイナミック
レンジとなる。このダイナミックレンジに対応する量子
化ステップがROM17に記憶されており、このROM
17の出力である除数18で入力信号19を除算した結
果を小数点以下を丸め(または4捨5人)ることにより
、再量子化が行われる。ダイナミックレンジが大きい場
合には除数18を大きくし、ダイナミックレンジが小さ
い場合には除数18を小さくして、画質を殆ど損なうこ
となくデータ量を削減することができる。
The operation of the second embodiment configured as above will be described below. Maximum value calculator 11, minimum value calculator 1
3 and the subtractor 5 constitute the dynamic range calculator 6 of the first embodiment, and the first
This constitutes the requantizer 8 of the embodiment. input signal 10
The maximum value 12 and minimum value 14 are calculated from the maximum value 1
The minimum value 14 is subtracted from 2, and the difference 16 becomes the dynamic range. A quantization step corresponding to this dynamic range is stored in the ROM 17, and this ROM
Requantization is performed by dividing the input signal 19 by the divisor 18, which is the output of the input signal 17, and rounding the result to the nearest whole number (or rounding to the nearest 5 digits). When the dynamic range is large, the divisor 18 is made large, and when the dynamic range is small, the divisor 18 is made small, so that the amount of data can be reduced with almost no loss in image quality.

以上説明したように、本実施例によれば、最大値計算器
11と最小値計算器13と減算器15でダイナミックレ
ンジを計算してその値からROMで除数を読みだし、そ
の除数で除算する事によって第1の実施例の再量子化器
が構成できる。
As explained above, according to this embodiment, the maximum value calculator 11, the minimum value calculator 13, and the subtracter 15 calculate the dynamic range, read out the divisor from the calculated value in the ROM, and divide by the divisor. The requantizer of the first embodiment can be constructed depending on the situation.

なお、第1および第2の実施例で直交変換を用いた符号
化手段を説明したが、予測符号化等の直交変換以外の符
号化手段を用いてもよい。また、ダイナミックレンジを
用いずに、振幅の変動を表す他のパラメータを用いて再
量子化器を制御してもよい。更に、本発明の再量子化の
量子化ステップは量子化値と共に符号化してもよいし、
この量子化ステップが復号化装置で何らかの手法で得ら
れるならば符号化しなくてもよい。
Note that although the encoding means using orthogonal transformation has been described in the first and second embodiments, encoding means other than orthogonal transformation such as predictive encoding may be used. Furthermore, the requantizer may be controlled using other parameters representing amplitude fluctuations without using the dynamic range. Furthermore, the quantization step of the requantization of the present invention may be encoded together with the quantization value,
If this quantization step can be obtained by some method in the decoding device, it is not necessary to encode it.

また、第2の実施例では再量子化化器として線形量子化
器を用いたが、非線形量子化器を用いてもよい。
Further, in the second embodiment, a linear quantizer was used as the requantizer, but a nonlinear quantizer may also be used.

発明の詳細 な説明したように、本発明によれば、殆ど画質を損なう
ことなく、データ量を苦言することが出来、その実用的
効果は大きい。
As described in detail, according to the present invention, it is possible to reduce the amount of data with almost no loss in image quality, and its practical effects are great.

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

第1図は本発明における符号化装置の実施例のフロック
図、第2図および第3図は本発明の符号化手法の説明図
、第4図は本発明の第2実施例における符号化装置のブ
ロック図、第5図は従来の符号化装置のブロック図であ
る。 6・・・・・・ダイナミックレンジ計算器、8・・曲・
再量子化器。 代理人の氏名 弁理士 粟野重孝 はか1名第1図 第2図 第 図 第 図 第 図
FIG. 1 is a block diagram of an embodiment of an encoding device according to the present invention, FIGS. 2 and 3 are explanatory diagrams of the encoding method of the present invention, and FIG. 4 is an encoding device according to a second embodiment of the present invention. FIG. 5 is a block diagram of a conventional encoding device. 6...Dynamic range calculator, 8...Song...
Requantizer. Name of agent: Patent attorney Shigetaka Awano (1 person) Figure 1 Figure 2 Figure 2 Figure Figure 2

Claims (2)

【特許請求の範囲】[Claims] (1)デジタル化された入力信号のブロック毎のダイナ
ミックレンジまたはダイナミックレンジに対応する値を
計算するダイナミックレンジ計算手段と、前記ダイナミ
ックレンジ計算手段で計算されたダイナミックレンジに
よって数種類の再量子化器から1つを選択して前記入力
信号を前記再量子化器で量子化する量子化手段と、前記
量子化手段で量子化された量子化値を符号化する符号化
手段とを備えたことを特徴とする符号化装置。
(1) A dynamic range calculation means for calculating a dynamic range for each block of a digitized input signal or a value corresponding to the dynamic range, and several types of requantizers based on the dynamic range calculated by the dynamic range calculation means. quantization means for selecting one and quantizing the input signal with the requantizer; and encoding means for encoding the quantized value quantized by the quantization means. An encoding device that does
(2)ダイナミックレンジが大きい場合に量子化ステッ
プ幅が大きくなる量子化手段を備えたことを特徴とする
請求項(1)記載の符号化装置。
(2) The encoding device according to claim (1), further comprising quantization means that increases the quantization step width when the dynamic range is large.
JP2193632A 1990-07-20 1990-07-20 Encoding device Pending JPH0479670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2193632A JPH0479670A (en) 1990-07-20 1990-07-20 Encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2193632A JPH0479670A (en) 1990-07-20 1990-07-20 Encoding device

Publications (1)

Publication Number Publication Date
JPH0479670A true JPH0479670A (en) 1992-03-13

Family

ID=16311173

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2193632A Pending JPH0479670A (en) 1990-07-20 1990-07-20 Encoding device

Country Status (1)

Country Link
JP (1) JPH0479670A (en)

Similar Documents

Publication Publication Date Title
EP0685137B1 (en) Adaptive variable-length coding and decoding methods for image data
JP3085024B2 (en) Image recompressor and image recording device
JP2661985B2 (en) Digital video signal encoding device and corresponding decoding device
US20090003438A1 (en) Fixed bit rate, intraframe compression and decompression of video
JPH03139988A (en) Method and device for recovering image
US5351086A (en) Low-bit rate interframe video encoder with adaptive transformation block selection
JPH03204290A (en) Video signal coding method
KR20000064840A (en) Quantization Matrix for Still Image and Video Coding
JPH05219385A (en) Picture compression expansion method and device
JP3016456B2 (en) Adaptive variable length coding method
JPH0522715A (en) Picture encoder
US5508745A (en) Apparatus for controlling a quantization level to be modified by a motion vector
EP0699003A1 (en) Method and device for encoding image signal
JP2734905B2 (en) Image coding device
JPH0479670A (en) Encoding device
KR100219133B1 (en) Transformation Coding System Selection Method and Apparatus thereof
JPH03255792A (en) Picture quality controller
JP2762712B2 (en) Encoding device and decoding device
KR0129796B1 (en) Encoding device of moving picture
KR0148136B1 (en) Inter/intramode code method and apparatus
JPH0487467A (en) Coding system
JPH06338802A (en) Re-compression device
JP3591663B2 (en) Image signal transmission method and image signal transmission device
JPH07154788A (en) Encoder for video signal
KR960003090B1 (en) Coder and decoder