JP2000217113A - Image communication unit and compression coding method - Google Patents

Image communication unit and compression coding method

Info

Publication number
JP2000217113A
JP2000217113A JP1530399A JP1530399A JP2000217113A JP 2000217113 A JP2000217113 A JP 2000217113A JP 1530399 A JP1530399 A JP 1530399A JP 1530399 A JP1530399 A JP 1530399A JP 2000217113 A JP2000217113 A JP 2000217113A
Authority
JP
Japan
Prior art keywords
data
scaling factor
quantization
image
spatial frequency
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
JP1530399A
Other languages
Japanese (ja)
Inventor
Yoshiki Satou
善記 佐藤
Akinori Ota
章紀 太田
Takeshi Ishihara
健 石原
Hiroyuki Suzuki
啓之 鈴木
Hiroyuki Ishii
拓幸 石井
Toshio Kobori
敏雄 小堀
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 JP1530399A priority Critical patent/JP2000217113A/en
Publication of JP2000217113A publication Critical patent/JP2000217113A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain an image communication unit, where a data length of coded data can be approached to a desired data length with less number of times of quantization and coding processing. SOLUTION: This image communication unit, that converts image data into spatial frequency data, quantizes the converted data, encodes the quantized data and transmits the coded data, is provided with a scaling factor generating means 15 that generates a scaling factor, a quantization table generating means 16 that multiplies the scaling factor with each table element for generating a quantization table, and a data storage means 17. Every time coded data are transmitted, the scaling factor generating means 15 calculates ratio data which denotes lower compression rate resulting from many high-frequency components of the image data and writes the ratio data to the storage means. When new image data are compressed, a prescribed number of the ratio data written in the past is read from the storage means, and the generating means 15 generates a scaling factor by multiplying a prescribed value with the means value of the ratio data. A data length of the coded data is close to a prescribed data length as time elapses by continuing a series of the processing above.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、任意の画像データ
を圧縮して通信相手に送信する画像通信装置と、その圧
縮符号化方法に関し、特に、圧縮後のデータ長を所望の
データ長に近づけることを可能にしたものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image communication apparatus for compressing arbitrary image data and transmitting the compressed image data to a communication partner, and a compression encoding method therefor. In particular, the data length after compression approaches a desired data length. This is what made it possible.

【0002】[0002]

【従来の技術】近年、画像データを通信相手に送信する
画像通信装置の普及が著しい。画像通信では、動画通信
を実現するために、圧縮符号化した静止画像を連続的し
て送信するが、このとき、単位時間当たりの画像の送信
枚数を一定とするために、圧縮後の画像データのデータ
長を所望のデータ長に調整する必要がある。
2. Description of the Related Art In recent years, image communication apparatuses for transmitting image data to a communication partner have become remarkably widespread. In image communication, compressed and encoded still images are continuously transmitted in order to realize moving image communication. At this time, in order to keep the number of transmitted images per unit time constant, compressed image data is transmitted. Needs to be adjusted to a desired data length.

【0003】従来の画像通信装置は、図3に示すよう
に、所定画素数の画像データ101を空間周波数成分に変
換する空間周波数変換手段1と、空間周波数データ102
を量子化する量子化手段2と、量子化データ104をデー
タ長が短くなるように符号化する符号化手段3と、符号
化データ105を送信する通信手段4と、量子化に使用さ
れる量子化テーブルを生成する量子化テーブル生成手段
6と、量子化テーブル103に乗ずるスケーリングファク
タ107を生成するスケーリングファクタ生成手段5とを
備えている。
As shown in FIG. 3, a conventional image communication apparatus includes a spatial frequency converting means 1 for converting image data 101 having a predetermined number of pixels into spatial frequency components, and a spatial frequency data 102.
, A coding means 3 for coding the quantized data 104 so as to reduce the data length, a communication means 4 for transmitting the coded data 105, and a quantizer used for the quantization. A quantization table generating means 6 for generating a quantization table and a scaling factor generating means 5 for generating a scaling factor 107 for multiplying the quantization table 103 are provided.

【0004】この装置では、空間周波数変換手段1が、
所定画素数の画像データ101を空間周波数成分に変換
し、空間周波数成分を示す配列データである空間周波数
データ102として出力する。量子化手段2は、量子化テ
ーブル生成手段6から出力される量子化テーブル103を
用いて、この空間周波数データ102を量子化し、量子化
データ104として出力する。
[0004] In this device, the spatial frequency conversion means 1 comprises:
The image data 101 having a predetermined number of pixels is converted into a spatial frequency component, and is output as spatial frequency data 102 which is array data indicating the spatial frequency component. The quantization means 2 quantizes the spatial frequency data 102 by using the quantization table 103 output from the quantization table generation means 6, and outputs it as the quantized data 104.

【0005】符号化手段3は、量子化データ104をデー
タ長が短くなるように、所定の符号化テーブルにより符
号化する。そして、符号化データ105のデータ長106をス
ケーリングファクタ生成手段5に出力し、このデータ長
106が所望のデータ長以下の場合に符号化データ105を通
信手段4に出力する。通信手段4は、符号化データ105
を通信相手に送信する。
[0005] The encoding means 3 encodes the quantized data 104 using a predetermined encoding table so that the data length becomes short. Then, the data length 106 of the encoded data 105 is output to the scaling factor generating means 5, and the data length
When 106 is shorter than the desired data length, the coded data 105 is output to the communication means 4. The communication means 4 includes the encoded data 105
To the communication partner.

【0006】スケーリングファクタ生成手段5は、符号
化データ105のデータ長106が所定のデータ長よりも大き
い場合には、量子化テーブル103に乗ずる値であるスケ
ーリングファクタ107を増加させ、符号化データ105のデ
ータ長106が所定のデータ長よりも小さい場合には、ス
ケーリングファクタ107を減少させる。量子化テーブル
生成手段6は、このスケーリングファクタ107を所定の
テーブルに乗算し、量子化テーブル103として量子化手
段2に出力する。
When the data length 106 of the coded data 105 is larger than a predetermined data length, the scaling factor generating means 5 increases the scaling factor 107 which is a value to be multiplied by the quantization table 103, and Is smaller than the predetermined data length, the scaling factor 107 is reduced. The quantization table generating means 6 multiplies the predetermined table by the scaling factor 107 and outputs the result to the quantization means 2 as the quantization table 103.

【0007】この構成により、符号化データ105のデー
タ長106が所定のデータ長よりも大きい場合には、スケ
ーリングファクタ生成手段5によって生成されるスケー
リングファクタ107が大きくなるため、量子化テーブル1
03の各値が大きくなり、画像データの圧縮率が高まる。
また、符号化データ105のデータ長106が所定のデータ長
よりも小さい場合には、スケーリングファクタ生成手段
5によって生成されるスケーリングファクタ107が小さ
くなるため、量子化テーブル103の各値が小さくなり、
画像データの圧縮率が低下する。
With this configuration, when the data length 106 of the encoded data 105 is longer than the predetermined data length, the scaling factor 107 generated by the scaling factor generating means 5 becomes large.
Each value of 03 increases, and the compression ratio of image data increases.
Further, when the data length 106 of the encoded data 105 is smaller than the predetermined data length, the scaling factor 107 generated by the scaling factor generation unit 5 becomes smaller, so that each value of the quantization table 103 becomes smaller,
The compression ratio of image data decreases.

【0008】量子化手段2は、更新された量子化テーブ
ル103を用いて再び空間周波数データ102の量子化を行
い、量子化データ104を更新して出力する。符号化手段
3は、所定の符号化テーブルを用いて更新された量子化
データ104の符号化を行う。符号化手段3は、符号化デ
ータ105のデータ長106が所望のデータ長以下で無い場合
には再びデータ長106をスケーリングファクタ生成手段
5に出力する。
The quantizing means 2 again quantizes the spatial frequency data 102 using the updated quantization table 103, updates the quantized data 104, and outputs it. The encoding unit 3 encodes the updated quantized data 104 using a predetermined encoding table. If the data length 106 of the encoded data 105 is not shorter than the desired data length, the encoding unit 3 outputs the data length 106 to the scaling factor generation unit 5 again.

【0009】上述の一連の処理は、データ長106が所望
のデータ長以下となるまで繰り返し行われる。符号化手
段3は、符号化データ105のデータ長106が所望のデータ
長以下になると、符号化データ105を通信手段4に出力
し、通信手段4は、符号化データ105を通信相手に送信
する。
The above series of processing is repeated until the data length 106 becomes equal to or less than the desired data length. The encoding unit 3 outputs the encoded data 105 to the communication unit 4 when the data length 106 of the encoded data 105 becomes equal to or less than the desired data length, and the communication unit 4 transmits the encoded data 105 to the communication partner. .

【0010】[0010]

【発明が解決しようとする課題】しかし、この従来の画
像通信装置の構成では、1枚の画像に対して、符号化デ
ータのデータ長が所望のデータ長となるまで量子化と符
号化とが繰り返されるから、単位時間当たりに送信する
画像の枚数よりも多くの処理回数が必要になる。そのた
め、量子化及び符号化の処理速度が遅い装置では、符号
化データのデータ長を所望のデータ長以下とすることが
困難になる。
However, in the configuration of the conventional image communication apparatus, quantization and encoding are performed for one image until the data length of the encoded data reaches a desired data length. Since the processing is repeated, a larger number of processings than the number of images to be transmitted per unit time is required. Therefore, it is difficult for an apparatus having a low quantization and encoding processing speed to reduce the data length of encoded data to a desired data length or less.

【0011】また、この場合、始めからスケーリングフ
ァクタを大き目に取り、画像データの圧縮率を高めに設
定すれば、一回の量子化及び符号化で符号化データのデ
ータ長を所望のデータ長以下とすることはできるが、伝
送される画像の画質は、高めの圧縮のために劣化してし
まう。
In this case, if the scaling factor is set to be large from the beginning and the compression ratio of the image data is set to be high, the data length of the encoded data can be reduced to a desired data length or less by one quantization and encoding. However, the quality of the transmitted image is degraded due to higher compression.

【0012】本発明は、こうした従来の問題点を解決す
るものであり、量子化及び符号化の少ない処理回数によ
って符号化データのデータ長を所望のデータ長に近づけ
ることができ、また、所定レベルの画質を維持したまま
符号化データのデータ長を所望のデータ長に近づけるこ
とができる画像通信装置を提供し、また、その圧縮符号
化方法を提供することを目的としている。
The present invention solves such a conventional problem. The data length of encoded data can be made closer to a desired data length by a small number of processes of quantization and encoding. It is an object of the present invention to provide an image communication apparatus capable of making the data length of encoded data close to a desired data length while maintaining the image quality of the image data, and a compression encoding method thereof.

【0013】[0013]

【課題を解決するための手段】そこで、本発明では、符
号化データを送信するごとに、画像データの圧縮率の低
さを表しているデータ(即ち、画像データの高周波成分
の多さを表わしているデータ)として、所定の固定デー
タ長をスケーリングファクタで除算した値と符号化デー
タのデータ長との比率を求め、新たな画像データの量子
化に使用する量子化テーブルのスケーリングファクタ
を、過去の複数の比率データの平均値に所定値を乗算し
て求めている。
Therefore, in the present invention, every time encoded data is transmitted, data representing a low compression rate of image data (ie, representing a large number of high frequency components of the image data). Is calculated as a ratio between a value obtained by dividing a predetermined fixed data length by a scaling factor and a data length of encoded data, and a scaling factor of a quantization table used for quantization of new image data is calculated in the past. Is obtained by multiplying the average value of the plurality of ratio data by a predetermined value.

【0014】また、符号化データのデータ長と所望のデ
ータ長との差分に所定数を乗算した値を、符号化データ
の量子化に用いたスケーリングファクタに加算し、その
加算値を、新たな画像データの量子化に使用する量子化
テーブルのスケーリングファクタとして用いている。
Further, a value obtained by multiplying a difference between the data length of the encoded data and the desired data length by a predetermined number is added to a scaling factor used for quantizing the encoded data, and the added value is added to a new value. It is used as a scaling factor of a quantization table used for quantization of image data.

【0015】そのため、画像データを圧縮し送信するご
とに、即ち、時間の経過とともに、符号化データのデー
タ長は所望のデータ長に近付き、1枚の画像に対して、
量子化と符号化とを1回だけ行えば足りるようになる。
Therefore, every time the image data is compressed and transmitted, that is, as time elapses, the data length of the coded data approaches the desired data length, and one image corresponds to one image.
It is sufficient to perform quantization and encoding only once.

【0016】また、本発明では、量子化データから逆量
子化及び空間周波数逆変換を行って画像データを復調
し、圧縮前の画像データと復調した画像データとの差分
値を所定比較値と比較して、差分値が所定比較値より大
きい場合には、新たな画像データの量子化に使用する量
子化テーブルのスケーリングファクタを前回のスケーリ
ングファクタより所定数だけ減らし、差分値が所定比較
値より小さい場合には、新たな画像データの量子化に使
用する量子化テーブルのスケーリングファクタを前回の
スケーリングファクタより所定数だけ増やすようにして
いる。
In the present invention, image data is demodulated by performing inverse quantization and inverse spatial frequency conversion on the quantized data, and a difference value between the image data before compression and the demodulated image data is compared with a predetermined comparison value. Then, when the difference value is larger than the predetermined comparison value, the scaling factor of the quantization table used for quantization of the new image data is reduced by a predetermined number from the previous scaling factor, and the difference value is smaller than the predetermined comparison value. In this case, the scaling factor of a quantization table used for quantization of new image data is increased by a predetermined number from the previous scaling factor.

【0017】そのため、復調画像データの画質が比較的
良い場合には、差分値が所定の比較値より小さくなり、
このときにはさらに圧縮率が高められる。逆に、復調画
像データの画質が比較的悪い場合には、差分値が所定の
比較値より大きくなり、このときには圧縮率が下げられ
る。従って、所定レベルの画質を維持したまま符号化デ
ータのデータ長を所望のデータ長に近づけることができ
る。
Therefore, when the image quality of the demodulated image data is relatively good, the difference value becomes smaller than a predetermined comparison value,
At this time, the compression ratio is further increased. Conversely, when the image quality of the demodulated image data is relatively poor, the difference value becomes larger than a predetermined comparison value, and at this time, the compression ratio is reduced. Therefore, the data length of the encoded data can be made closer to the desired data length while maintaining the image quality of the predetermined level.

【0018】[0018]

【発明の実施の形態】本発明の請求項1に記載の発明
は、画像データを空間周波数データに変換し、空間周波
数データを量子化テーブルに基づいて量子化し、この量
子化データを所定の符号化テーブルに基づいて符号化
し、この符号化データを通信相手に送信する画像通信装
置において、スケーリングファクタを生成するスケーリ
ングファクタ生成手段と、生成されたスケーリングファ
クタを所定のテーブルに乗算して量子化テーブルを生成
する量子化テーブル生成手段と、スケーリングファクタ
生成手段がスケーリングファクタの生成に使用する数値
データを記憶する記憶手段とを設け、スケーリングファ
クタ生成手段が、符号化データを送信するごとに、その
画像データの高周波成分の多さによる圧縮率の低さを示
す比率データを算出して記憶手段に書き込み、圧縮対象
となる画像データが更新された場合に、記憶手段から過
去に書き込んだ比率データを所定数だけ読み出し、この
比率データの平均値に所定値を乗算してケーリングファ
クタを生成するようにしたものであり、新規画像が入力
するごとに、記憶手段に記憶された比率データの平均値
からケーリングファクタが生成され、また、その符号化
データから比率データが算出されて記憶手段に記憶され
る。この一連の処理を続けることによって、符号化デー
タのデータ長は、時間が経過するごとに所定のデータ長
に近づいていく。
DESCRIPTION OF THE PREFERRED EMBODIMENTS According to the first aspect of the present invention, image data is converted into spatial frequency data, the spatial frequency data is quantized based on a quantization table, and the quantized data is converted into a predetermined code. In an image communication apparatus that encodes based on an encoding table and transmits the encoded data to a communication partner, a scaling factor generating unit that generates a scaling factor, and a quantization table that multiplies the generated scaling factor by a predetermined table. And a storage means for storing numerical data used by the scaling factor generation means to generate the scaling factor. Each time the scaling factor generation means transmits encoded data, Calculates ratio data indicating the low compression ratio due to the large number of high frequency components in the data. When the image data to be compressed is updated in the storage unit, a predetermined number of previously written ratio data is read out from the storage unit, and the average value of the ratio data is multiplied by a predetermined value to generate a calling factor. Each time a new image is input, a calling factor is generated from the average value of the ratio data stored in the storage unit, and the ratio data is calculated from the encoded data and stored in the storage unit. It is memorized. By continuing this series of processing, the data length of the encoded data approaches a predetermined data length as time passes.

【0019】請求項2に記載の発明は、スケーリングフ
ァクタ生成手段が、所定の固定データ長をスケーリング
ファクタで除算した値と符号化データのデータ長との比
から比率データを求めるようにしたものであり、この算
出結果によって、画像データの高周波成分の多さによる
圧縮率の低さを表すデータを得ることができる。
According to a second aspect of the present invention, the scaling factor generating means obtains ratio data from a ratio between a value obtained by dividing a predetermined fixed data length by a scaling factor and a data length of encoded data. Yes, the calculation result can provide data indicating a low compression ratio due to the large number of high frequency components of the image data.

【0020】請求項3に記載の発明は、画像データを空
間周波数データに変換し、空間周波数データを量子化テ
ーブルに基づいて量子化し、この量子化データを所定の
符号化テーブルに基づいて符号化し、この符号化データ
を通信相手に送信する画像通信装置において、スケーリ
ングファクタを生成するスケーリングファクタ生成手段
と、生成されたスケーリングファクタを所定のテーブル
に乗算して量子化テーブルを生成する量子化テーブル生
成手段と、スケーリングファクタ生成手段がスケーリン
グファクタの生成に使用する数値データを記憶する記憶
手段とを設け、スケーリングファクタ生成手段が、符号
化データのデータ長と所望のデータ長との差分に所定数
を乗算した値を、符号化データの量子化に用いたスケー
リングファクタに加算して、その加算値を記憶手段に書
き込み、圧縮対象となる画像データが更新された場合
に、記憶手段から最後に書き込んだ加算値を読み出して
スケーリングファクタとするようにしたものであり、符
号化データのデータ長が所望のデータ長より大きい場合
には、符号化データのデータ長から所望のデータ長を差
し引いた差分に所定数が乗算され、この乗算値がスケー
リングファクタに加算される。また、符号化データのデ
ータ長が所望のデータ長より小さい場合には、所望のデ
ータ長から符号化データのデータ長を差し引いた差分に
所定数が乗算され、この乗算値がスケーリングファクタ
から減算される。この一連の処理を新規画像が入力する
ごとに行うことによって、符号化データのデータ長は時
間が経過するごとに所定のデータ長に近づいていく。
According to a third aspect of the present invention, the image data is converted into spatial frequency data, the spatial frequency data is quantized based on a quantization table, and the quantized data is encoded based on a predetermined encoding table. In an image communication apparatus for transmitting encoded data to a communication partner, a scaling factor generating means for generating a scaling factor, and a quantization table generating means for generating a quantization table by multiplying a predetermined table by the generated scaling factor Means and storage means for storing numerical data used by the scaling factor generation means for generating the scaling factor, wherein the scaling factor generation means sets a predetermined number to a difference between the data length of the encoded data and the desired data length. The multiplied value is used as the scaling factor used to quantize the encoded data. Then, when the image data to be compressed is updated, the added value written last is read out from the storage means and used as a scaling factor. If the data length of the encoded data is larger than the desired data length, a difference obtained by subtracting the desired data length from the data length of the encoded data is multiplied by a predetermined number, and the multiplied value is added to the scaling factor. If the data length of the encoded data is smaller than the desired data length, a difference obtained by subtracting the data length of the encoded data from the desired data length is multiplied by a predetermined number, and the multiplied value is subtracted from the scaling factor. You. By performing this series of processes each time a new image is input, the data length of the encoded data approaches a predetermined data length as time passes.

【0021】請求項4に記載の発明は、画像データを空
間周波数データに変換し、空間周波数データを量子化テ
ーブルに基づいて量子化し、この量子化データを所定の
符号化テーブルに基づいて符号化し、この符号化データ
を通信相手に送信する画像通信装置において、スケーリ
ングファクタを生成するスケーリングファクタ生成手段
と、生成されたスケーリングファクタを所定のテーブル
に乗算して量子化テーブルを生成する量子化テーブル生
成手段と、量子化データを量子化テーブルに基づいて逆
量子化し復調空間周波数データとして出力する逆量子化
手段と、復調空間周波数データを画像データに変換し、
復調画像データとして出力する空間周波数逆変換手段
と、圧縮前の画像データと復調画像データとの差分値を
所定比較値と比較し、差分値が所定比較値より大きい場
合にはスケーリングファクタ減少指示信号を、また、差
分値が所定比較値より小さい場合には、スケーリングフ
ァクタ増加指示信号をスケーリングファクタ生成手段に
出力する比較手段とを設け、スケーリングファクタ生成
手段が、比較手段からの指示信号に基づいて、前回のス
ケーリングファクタから所定数だけ減少または増加した
スケーリングファクタを生成するようにしたものであ
り、復調画像データの画質が比較的良い場合には、差分
値が所定の比較値より小さくなり、このときにはさらに
圧縮率が高められる。逆に、復調画像データの画質が比
較的悪い場合には、差分値が所定の比較値より大きくな
り、このときには圧縮率が下げられる。従って、所定レ
ベルの画質を維持したまま符号化データのデータ長を所
望のデータ長に近づけることができる。
According to a fourth aspect of the present invention, the image data is converted into spatial frequency data, the spatial frequency data is quantized based on a quantization table, and the quantized data is encoded based on a predetermined encoding table. In an image communication apparatus for transmitting encoded data to a communication partner, a scaling factor generating means for generating a scaling factor, and a quantization table generating means for generating a quantization table by multiplying a predetermined table by the generated scaling factor Means, inverse quantization means for inversely quantizing the quantized data based on the quantization table and outputting it as demodulated spatial frequency data, and converting the demodulated spatial frequency data to image data,
A spatial frequency inverse transforming means for outputting as demodulated image data; comparing a difference value between the image data before compression and the demodulated image data with a predetermined comparison value; if the difference value is larger than the predetermined comparison value, a scaling factor decrease instruction signal And a comparing means for outputting a scaling factor increase instruction signal to the scaling factor generating means when the difference value is smaller than the predetermined comparison value, wherein the scaling factor generating means , A scaling factor reduced or increased by a predetermined number from the previous scaling factor is generated, and when the image quality of the demodulated image data is relatively good, the difference value becomes smaller than a predetermined comparison value. Sometimes the compression ratio is further increased. Conversely, when the image quality of the demodulated image data is relatively poor, the difference value becomes larger than a predetermined comparison value, and at this time, the compression ratio is reduced. Therefore, the data length of the encoded data can be made closer to the desired data length while maintaining the image quality of the predetermined level.

【0022】請求項5に記載の発明は、画像データを空
間周波数データに変換し、空間周波数データを量子化テ
ーブルに基づいて量子化し、この量子化データを所定の
符号化テーブルに基づいて符号化し、この符号化データ
を通信相手に送信する画像通信装置での画像データの圧
縮符号化方法において、符号化データを送信するごと
に、所定の固定データ長をスケーリングファクタで除算
した値と、符号化データのデータ長との比率データを求
め、新たな画像データの量子化に使用する量子化テーブ
ルのスケーリングファクタとして、過去の複数の比率デ
ータの平均値に所定値を乗算した値を用いるようにした
ものであり、画像データの高周波成分の多さ、即ち、画
像データの圧縮率の低さを表わしている比率データに基
づいて量子化テーブルのスケーリングファクタが設定さ
れる。
According to a fifth aspect of the present invention, the image data is converted into spatial frequency data, the spatial frequency data is quantized based on a quantization table, and the quantized data is encoded based on a predetermined encoding table. In the method for compressing and encoding image data in an image communication apparatus for transmitting the encoded data to a communication partner, each time encoded data is transmitted, a value obtained by dividing a predetermined fixed data length by a scaling factor, Ratio data with the data length of data is obtained, and a value obtained by multiplying a predetermined value by an average value of a plurality of past ratio data is used as a scaling factor of a quantization table used for quantization of new image data. And a quantization table based on ratio data indicating a large number of high frequency components of the image data, that is, a low compression ratio of the image data. Scaling factor is set.

【0023】請求項6に記載の発明は、符号化データの
データ長と所望のデータ長との差分に所定数を乗算した
値を、符号化データの量子化に用いたスケーリングファ
クタに加算し、その加算値を、新たな画像データの量子
化に使用する量子化テーブルのスケーリングファクタと
して用いるようにしたものであり、このスケーリングフ
ァクタを用いることによって、符号化データのデータ長
を所望のデータ長に近づけることができる。
According to a sixth aspect of the present invention, a value obtained by multiplying a difference between a data length of encoded data and a desired data length by a predetermined number is added to a scaling factor used for quantization of encoded data. The added value is used as a scaling factor of a quantization table used for quantization of new image data, and by using this scaling factor, the data length of encoded data is set to a desired data length. You can get closer.

【0024】請求項7に記載の発明は、量子化データか
ら逆量子化及び空間周波数逆変換を行って画像データを
復調し、圧縮前の画像データと復調した画像データとの
差分値を所定比較値と比較して、差分値が所定比較値よ
り大きい場合には、新たな画像データの量子化に使用す
る量子化テーブルのスケーリングファクタを前回のスケ
ーリングファクタより所定数だけ減らし、差分値が所定
比較値より小さい場合には、新たな画像データの量子化
に使用する量子化テーブルのスケーリングファクタを前
回のスケーリングファクタより所定数だけ増やすように
したものであり、所定レベルの画質を維持したまま符号
化データのデータ長を所望のデータ長に近づけることが
できる。
According to a seventh aspect of the present invention, image data is demodulated by performing inverse quantization and inverse spatial frequency conversion on the quantized data, and a difference value between the image data before compression and the demodulated image data is compared with a predetermined value. If the difference value is larger than the predetermined comparison value, the scaling factor of the quantization table used for quantization of new image data is reduced by a predetermined number from the previous scaling factor, and the difference value is compared with the predetermined value. If the value is smaller than the value, the scaling factor of the quantization table used for quantization of the new image data is increased by a predetermined number from the previous scaling factor, and the encoding is performed while maintaining the image quality of the predetermined level. The data length of the data can be made closer to the desired data length.

【0025】以下、本発明の実施の形態について、図面
を用いて説明する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.

【0026】(第1の実施形態)第1の実施形態の画像
通信装置は、図1に示すように、所定画素数の画像デー
タ111を空間周波数データ112に変換する空間周波数変換
手段11と、空間周波数データ112を量子化テーブルに基
づいて量子化し量子化データ114として出力する量子化
手段12と、量子化データ114を所定の符号化テーブルに
基づいて符号化し符号化データ115として出力するとと
もに、符号化データ115のデータ長116を出力する符号化
手段13と、符号化データ115を通信相手に送信する通信
手段14と、入力される数値データを記憶する記憶手段17
と、記憶手段17に記憶したデータを利用して量子化テー
ブルに乗ずるスケーリングファクタ117を生成するスケ
ーリングファクタ生成手段15と、スケーリングファクタ
117を所定のテーブルに乗算して量子化テーブル113とし
て量子化手段12に出力する量子化テーブル生成手段16と
を備えている。
(First Embodiment) As shown in FIG. 1, an image communication apparatus according to a first embodiment comprises: a spatial frequency conversion unit 11 for converting image data 111 having a predetermined number of pixels into spatial frequency data 112; Quantizing means 12 that quantizes the spatial frequency data 112 based on the quantization table and outputs it as quantized data 114, and outputs the quantized data 114 as coded data 115 based on a predetermined coding table. Encoding means 13 for outputting the data length 116 of the encoded data 115, communication means 14 for transmitting the encoded data 115 to a communication partner, and storage means 17 for storing input numerical data
A scaling factor generating means 15 for generating a scaling factor 117 for multiplying the quantization table by using the data stored in the storage means 17,
And a quantization table generating means 16 for multiplying a predetermined table by 117 and outputting the result to the quantization means 12 as a quantization table 113.

【0027】この空間周波数変換手段11は、例えばDC
T演算を行うDSPから構成され、また、量子化手段12
は、例えば除算処理を行うDSPから構成され、符号化
手段13は、ハフマン符号データが記録されたROMとそ
のROMからデータを引き出す制御CPUから構成され
る。通信手段14は、例えばPHSユニットから構成され
る。また、量子化テーブル生成手段16は、例えば乗算機
能を有する制御CPUから構成され、記憶手段17はDR
AMから構成される。また、スケーリングファクタ生成
手段15は、例えば比較演算処理を行うことができる制御
CPUから構成される。
The spatial frequency conversion means 11 is, for example, a DC
A DSP for performing a T operation;
Is composed of, for example, a DSP for performing a division process, and the encoding means 13 is composed of a ROM in which Huffman code data is recorded, and a control CPU for extracting data from the ROM. The communication means 14 is composed of, for example, a PHS unit. Further, the quantization table generating means 16 is composed of, for example, a control CPU having a multiplication function, and the storage means 17
AM. Further, the scaling factor generating means 15 is constituted by, for example, a control CPU capable of performing a comparison operation process.

【0028】この画像通信装置の動作は、スケーリング
ファクタ生成手段15のスケーリングファクタを生成する
動作が異なるだけで、その他は従来の装置(図3)と変
わりがない。
The operation of this image communication apparatus is the same as that of the conventional apparatus (FIG. 3) except that the operation of the scaling factor generating means 15 for generating the scaling factor is different.

【0029】即ち、空間周波数変換手段11は、所定画素
数の画像データ111を空間周波数成分に変換して空間周
波数データ112を出力し、量子化手段12は、量子化テー
ブル生成手段12から出力される量子化テーブル113を用
いて、この空間周波数データ112を量子化し、量子化デ
ータ114を出力する。符号化手段13は、量子化データ114
を所定の符号化テーブルにより符号化し、符号化データ
115のデータ長116をスケーリングファクタ生成手段15に
出力し、このデータ長116が所望のデータ長以下の場合
に符号化データ115を通信手段14に出力する。通信手段1
4は、符号化データ115を通信相手に送信する。また、量
子化テーブル生成手段16は、スケーリングファクタ生成
手段15から出力されるスケーリングファクタ117を所定
のテーブルに乗算し、量子化テーブル113として量子化
手段12に出力する。
That is, the spatial frequency converting means 11 converts the image data 111 of a predetermined number of pixels into spatial frequency components and outputs spatial frequency data 112, and the quantizing means 12 outputs from the quantization table generating means 12. The spatial frequency data 112 is quantized using a quantization table 113, and the quantized data 114 is output. The encoding means 13 outputs the quantized data 114
Is encoded by a predetermined encoding table, and encoded data is
The data length 116 of 115 is output to the scaling factor generation means 15, and when the data length 116 is equal to or less than the desired data length, the encoded data 115 is output to the communication means 14. Communication means 1
4 transmits the encoded data 115 to the communication partner. Further, the quantization table generation means 16 multiplies a predetermined table by a scaling factor 117 output from the scaling factor generation means 15 and outputs the result to the quantization means 12 as a quantization table 113.

【0030】初期段階において、符号化データ115のデ
ータ長116が所定のデータ長から大きく離れている場合
には、スケーリングファクタ生成手段15がスケーリング
ファクタ117を修正し、量子化テーブル生成手段16から
更新された量子化テーブル113が出力され、量子化手段1
2は、この量子化テーブル113を用いて再び空間周波数デ
ータ112の量子化を行い、量子化データ114を更新する。
また、符号化手段13は、符号化テーブルを用いてこの量
子化データ114の符号化を行う。
In the initial stage, when the data length 116 of the encoded data 115 is far from the predetermined data length, the scaling factor generator 15 corrects the scaling factor 117 and updates the scaling factor 117 from the quantization table generator 16. The obtained quantization table 113 is output, and the quantization means 1
2 requantizes the spatial frequency data 112 using the quantization table 113, and updates the quantized data 114.
Further, the encoding unit 13 encodes the quantized data 114 using an encoding table.

【0031】この処理は、符号化データのデータ長116
が所望のデータ長となるまで繰り返し行われ、符号化デ
ータ115のデータ長116が所望のデータ長になると、符号
化データ115が通信手段14から出力される。
In this processing, the data length 116 of the encoded data
Is repeated until the data length reaches the desired data length. When the data length 116 of the encoded data 115 reaches the desired data length, the encoded data 115 is output from the communication means 14.

【0032】スケーリングファクタ生成手段15は、この
データ長116のデータとスケーリングファクタ117の値と
を、その後に入力する画像データを量子化するために用
いる量子化テーブルのスケーリングファクタの生成に利
用する。それによって、スケーリングファクタ生成手段
15からは、1枚の画像に対して量子化と符号化とを1回
だけ行えば済むようなスケーリングファクタが生成され
るようになる。
The scaling factor generating means 15 uses the data having the data length 116 and the value of the scaling factor 117 to generate a scaling factor of a quantization table used for quantizing image data to be input thereafter. Thereby, the scaling factor generating means
From 15, a scaling factor is generated such that quantization and encoding need only be performed once for one image.

【0033】そのために、スケーリングファクタ生成手
段15は、次のような処理を行う。
For this purpose, the scaling factor generating means 15 performs the following processing.

【0034】スケーリングファクタ生成手段15は、画像
データの圧縮率の低さ、すなわち高周波成分の多さを示
すために、所定の固定データ長をスケーリングファクタ
117で除算した値とデータ長116との比率を比率データ11
8として算出し、これを記憶手段17に記憶させる。い
ま、所定の固定データ長をa、スケーリングファクタを
α1、データ長116をb1とすると、比率データとしてb1
/(a/α1)を記憶手段17に記憶させる。
The scaling factor generating means 15 converts a predetermined fixed data length into a scaling factor in order to indicate a low compression ratio of image data, that is, a large number of high frequency components.
The ratio between the value divided by 117 and the data length 116 is the ratio data 11
It is calculated as 8 and stored in the storage means 17. Now, assuming that a predetermined fixed data length is a, a scaling factor is α 1 , and a data length 116 is b 1 , ratio data b 1
/ (A / α 1 ) is stored in the storage means 17.

【0035】また、スケーリングファクタ生成手段15
は、圧縮対象となる画像データが更新されたことを示す
画像更新信号119を受信すると、記憶手段17から過去に
書き込んだ比率データ118を所定数(n)だけ読み出
し、比率データ118の平均値を求める。この平均値は次
のようになる。 (b1・α1+b2・α2+‥+bn・αn)/n・a この平均値に所定値を乗算した値を新規画像用のスケー
リングファクタ117として量子化テーブル生成手段16に
出力する。
The scaling factor generating means 15
Receives an image update signal 119 indicating that the image data to be compressed has been updated, reads out a predetermined number (n) of the ratio data 118 written in the past from the storage unit 17, and calculates the average value of the ratio data 118. Ask. This average value is as follows. (B 1 · α 1 + b 2 · α 2 + ‥ + b n · α n ) / na The value obtained by multiplying the average value by a predetermined value is output to the quantization table generation means 16 as a scaling factor 117 for a new image. I do.

【0036】スケーリングファクタ生成手段15は、こう
して、画像更新信号119を受信するごとに、記憶手段17
から過去に書き込んだ比率データ118を所定数だけ読み
出してその平均値を求め、この平均値に所定値を乗算し
た値を新規画像用のスケーリングファクタ117として量
子化テーブル生成手段16に出力し、また、符号化データ
115が符号化手段13から通信手段14に出力されるごと
に、そのときの符号化データ115のデータ長116とスケー
リングファクタ117とから比率データを求めて記憶手段1
7に記憶させる。
Each time the image update signal 119 is received, the scaling factor generator 15 stores the memory 17
The ratio data 118 written in the past is read out by a predetermined number, an average value thereof is obtained, and a value obtained by multiplying the average value by a predetermined value is output to the quantization table generation means 16 as a scaling factor 117 for a new image. , Encoded data
Each time 115 is output from the encoding means 13 to the communication means 14, the ratio data is obtained from the data length 116 of the encoded data 115 at that time and the scaling factor 117, and the storage means 1
Store it in 7.

【0037】スケーリングファクタ生成手段15が、この
一連の処理を新規画像が入力するごとに行うことによっ
て、符号化データのデータ長は、時間の経過に伴って所
定のデータ長に近付くことになる。
The scaling factor generating means 15 performs this series of processing each time a new image is input, so that the data length of the encoded data approaches a predetermined data length with the passage of time.

【0038】(第2の実施形態)第2の実施形態では、
スケーリングファクタを生成する別の方法について説明
する。この方法を実施する画像通信装置のブロック構成
は、第1の実施形態(図1)と同じであり、スケーリン
グファクタ生成手段15のスケーリングファクタを生成す
る動作だけが異なっている。
(Second Embodiment) In the second embodiment,
Another method for generating the scaling factor will be described. The block configuration of the image communication apparatus that implements this method is the same as that of the first embodiment (FIG. 1), and differs only in the operation of the scaling factor generator 15 for generating the scaling factor.

【0039】このスケーリングファクタ生成手段15は、
符号化手段13から出力されるデータ長116が所望のデー
タ長より大きい場合には、そのデータ長116と所望のデ
ータ長との差に所定数を乗じた値をスケーリングファク
タ117に加算して、その値を記憶手段17に記憶させ、ま
た、符号化手段13から出力されるデータ長116が所望の
データ長より小さい場合には、そのデータ長116と所望
のデータ長との差に所定数を乗じた値をスケーリングフ
ァクタ117より減算して、その値を記憶手段17に記憶さ
せる。
The scaling factor generating means 15
If the data length 116 output from the encoding means 13 is larger than the desired data length, a value obtained by multiplying the difference between the data length 116 and the desired data length by a predetermined number is added to the scaling factor 117, The value is stored in the storage unit 17, and if the data length 116 output from the encoding unit 13 is smaller than the desired data length, a predetermined number is set to the difference between the data length 116 and the desired data length. The multiplied value is subtracted from the scaling factor 117, and the value is stored in the storage unit 17.

【0040】そして、圧縮対象となる画像データが更新
されたことを示す画像更新信号119を受信した場合に
は、記憶手段17から最後に記憶されたスケーリングファ
クタを読み出し、新規画像用のスケーリングファクタ11
7として量子化テーブル生成手段16に出力する。
When an image update signal 119 indicating that the image data to be compressed has been updated is received, the last stored scaling factor is read from the storage means 17 and the scaling factor 11 for the new image is read.
The value 7 is output to the quantization table generating means 16.

【0041】スケーリングファクタ生成手段15が、この
一連の処理を新規画像が入力するごとに行うことによっ
て、符号化データのデータ長は、時間の経過に伴って所
定のデータ長に近付くことになる。
The scaling factor generating means 15 performs this series of processing each time a new image is input, so that the data length of the encoded data approaches a predetermined data length as time passes.

【0042】(第3の実施形態)第3の実施形態の画像
通信装置では、圧縮した画像データを復調し、この復調
した画像データと圧縮前の画像データとを比較して、ス
ケーリングファクタを調整する。
(Third Embodiment) The image communication apparatus of the third embodiment demodulates compressed image data, compares the demodulated image data with image data before compression, and adjusts a scaling factor. I do.

【0043】この装置は、図2に示すように、所定画素
数の画像データ131を空間周波数データ132に変換する空
間周波数変換手段31と、空間周波数データ132を量子化
テーブル133に基づいて量子化し量子化データ134として
出力する量子化手段32と、量子化データ134を所定の符
号化テーブルに基づいて符号化し符号化データ135とし
て出力する符号化手段33と、符号化データ135を通信相
手に送信する通信手段34と、量子化データ134を量子化
テーブル133に基づいて逆量子化し復調空間周波数デー
タ136を出力する逆量子化手段37と、復調空間周波数デ
ータ136を画像データに戻して復調画像データ138を出力
する空間周波数逆変換手段38と、元の画像データ131と
復調画像データ138とを比較し、その差分値を基にスケ
ーリングファクタ減少指示信号139またはスケーリング
ファクタ増加指示信号140を出力する比較手段39と、こ
の指示信号に従って量子化テーブルに乗ずるスケーリン
グファクタ137を生成するスケーリングファクタ生成手
段35と、スケーリングファクタ137を所定のテーブルに
乗算し量子化テーブル133として量子化手段32及び逆量
子化手段37に出力する量子化テーブル生成手段36とを備
えている。
This apparatus, as shown in FIG. 2, quantizes image data 131 having a predetermined number of pixels into spatial frequency data 132 based on a quantization table 133. A quantizing unit 32 that outputs the quantized data 134; an encoding unit 33 that encodes the quantized data 134 based on a predetermined encoding table and outputs the encoded data 135; and transmits the encoded data 135 to a communication partner. Communication means 34, inverse quantization means 37 for inversely quantizing the quantized data 134 based on the quantization table 133 and outputting demodulated spatial frequency data 136, and demodulated image data by converting the demodulated spatial frequency data 136 back to image data. The spatial frequency inverse transform means 38 which outputs 138, the original image data 131 and the demodulated image data 138 are compared, and the scaling factor decrease instruction signal 139 or the scale A comparison means 39 for outputting a scaling factor increasing instruction signal 140, a scaling factor generating means 35 for generating a scaling factor 137 for multiplying the quantization table according to the instruction signal, and a quantization table 133 by multiplying a predetermined table by the scaling factor 137. It comprises a quantization table generating means 36 for outputting to the quantization means 32 and the inverse quantization means 37.

【0044】この逆量子化手段37は、例えば、除算処理
を行うDSPで構成され、空間周波数逆変換手段38は、
DCT演算を行うDSPで構成される。また、比較手段
39は、比較演算機能を有するCPUで構成される。
The inverse quantization means 37 is constituted by, for example, a DSP for performing a division process.
It is composed of a DSP that performs DCT operation. Also, the comparison means
Reference numeral 39 denotes a CPU having a comparison operation function.

【0045】この装置では、所定画素数の画像データ13
1が空間周波数変換手段31及び比較手段39に入力する。
空間周波数変換手段31は、画像データ131を空間周波数
成分に変換して空間周波数データ132を出力し、量子化
手段32は、量子化テーブル生成手段36から出力される量
子化テーブル133を用いて、この空間周波数データ132を
量子化し、量子化データ134を符号化手段33及び逆量子
化手段37に出力する。符号化手段33は、量子化データ13
4を所定の符号化テーブルにより符号化し、符号化デー
タ115を通信手段14に出力し、通信手段34は、符号化デ
ータ115を通信相手に送信する。
In this device, image data 13 of a predetermined number of pixels
1 is input to the spatial frequency conversion means 31 and the comparison means 39.
The spatial frequency conversion unit 31 converts the image data 131 into spatial frequency components and outputs spatial frequency data 132.The quantization unit 32 uses the quantization table 133 output from the quantization table generation unit 36, The spatial frequency data 132 is quantized, and the quantized data 134 is output to the encoding unit 33 and the inverse quantization unit 37. The encoding means 33 outputs the quantized data 13
4 is encoded by a predetermined encoding table, and the encoded data 115 is output to the communication means 14. The communication means 34 transmits the encoded data 115 to the other party.

【0046】また、逆量子化手段37は、量子化データ13
4を量子化テーブル133に基づいて逆量子化し、復調空間
周波数データ136として空間周波数逆変換手段38に出力
し、空間周波数逆変換手段38は、復調空間周波数データ
136を画像データに戻し、復調画像データ138として比較
手段39に出力する。
The inverse quantization means 37 outputs the quantized data 13
4 is inversely quantized based on the quantization table 133 and output to the spatial frequency inverse transform means 38 as demodulated spatial frequency data 136, and the spatial frequency inverse transform means 38
136 is returned to image data, and is output to the comparing means 39 as demodulated image data 138.

【0047】比較手段39は、先の画像データ131と復調
画像データ138との差分値を所定データ値と比較し、差
分値が所定値より大きい場合には、スケーリングファク
タ減少指示信号139を、また、差分値が所定値より小さ
い場合にはスケーリングファクタ増加指示信号140をス
ケーリングファクタ生成手段35に出力する。
The comparing means 39 compares a difference value between the previous image data 131 and the demodulated image data 138 with a predetermined data value, and when the difference value is larger than the predetermined value, outputs a scaling factor reduction instruction signal 139 and When the difference value is smaller than the predetermined value, the scaling factor increasing instruction signal 140 is output to the scaling factor generating means 35.

【0048】スケーリングファクタ生成手段35は、スケ
ーリングファクタ減少指示信号139が出力された場合に
は、現在のスケーリングファクタ137を所定数だけ減ら
して量子化テーブル生成手段36に出力し、また、スケー
リングファクタ増加指示信号140が出力された場合に
は、現在のスケーリングファクタ137を所定数だけ増や
して量子化テーブル生成手段36に出力する。
When the scaling factor decreasing instruction signal 139 is output, the scaling factor generating means 35 reduces the current scaling factor 137 by a predetermined number and outputs it to the quantization table generating means 36, and further increases the scaling factor. When the instruction signal 140 is output, the current scaling factor 137 is increased by a predetermined number and output to the quantization table generating means 36.

【0049】量子化テーブル生成手段36は、スケーリン
グファクタ生成手段35から出力されたスケーリングファ
クタ137を所定のテーブルに乗算し、量子化テーブル133
として量子化手段32及び逆量子化手段37に出力する。
The quantization table generating means 36 multiplies a predetermined table by the scaling factor 137 output from the scaling factor generating means 35, and
Is output to the quantization means 32 and the inverse quantization means 37.

【0050】量子化手段32は、量子化テーブル生成手段
36から出力される量子化テーブル133を用いて、新規画
像データの空間周波数データ132を量子化する。
The quantization means 32 is a quantization table generation means.
The spatial frequency data 132 of the new image data is quantized using the quantization table 133 output from 36.

【0051】このように、この画像通信装置では、圧縮
前の画像データと復調画像データとの差分値の大きさに
基づいて、次回の圧縮に用いるスケーリングファクタを
調整している。復調画像データの画質が比較的良い場合
には、この差分値が所定の比較値より小さくなるが、こ
のときには、さらに圧縮率を高め、逆に、復調画像デー
タの画質が比較的悪い場合には、この差分値が所定の比
較値より大きくなるが、このときには圧縮率を下げる調
整が行われる。
As described above, in this image communication apparatus, the scaling factor used for the next compression is adjusted based on the magnitude of the difference between the image data before compression and the demodulated image data. When the image quality of the demodulated image data is relatively good, this difference value is smaller than the predetermined comparison value. At this time, the compression ratio is further increased, and when the image quality of the demodulated image data is relatively poor, The difference value becomes larger than a predetermined comparison value, and at this time, an adjustment to reduce the compression ratio is performed.

【0052】こうすることにより、所定レベルの画質を
維持したまま符号化データのデータ長を所望のデータ長
に近付けることができる。
By doing so, the data length of the encoded data can be made closer to the desired data length while maintaining a predetermined level of image quality.

【0053】[0053]

【発明の効果】以上の説明から明らかなように、本発明
の画像通信装置及びその圧縮符号化方法では、画像デー
タの圧縮を行うごとに量子化テーブルを前回の圧縮結果
によって調整しているため、時間が経過するごとに圧縮
後のデータ長を所望のデータ長に近づけることができ、
また、画質を維持した状態で符号化データのデータ長を
所望のデータ長に近づけることができる。
As is clear from the above description, in the image communication apparatus and the compression encoding method of the present invention, the quantization table is adjusted according to the previous compression result every time image data is compressed. , The data length after compression can be made closer to the desired data length as time passes,
Further, the data length of the encoded data can be made closer to a desired data length while maintaining the image quality.

【0054】そのため、静止画像を連続して送信する場
合の単位時間あたりの送信画像枚数を一定とする効果が
得られる。
Therefore, the effect of keeping the number of transmitted images per unit time constant when continuously transmitting still images can be obtained.

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

【図1】本発明の第1及び第2の実施形態における画像
通信装置のブロック図、
FIG. 1 is a block diagram of an image communication device according to first and second embodiments of the present invention;

【図2】本発明の第3の実施形態における画像通信装置
のブロック図、
FIG. 2 is a block diagram of an image communication device according to a third embodiment of the present invention;

【図3】従来の画像通信装置のブロック図である。FIG. 3 is a block diagram of a conventional image communication device.

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

1、11、31 空間周波数変換手段 2、12、32 量子化手段 3、13、33 符号化手段 4、14、34 通信手段 5、15、35 スケーリングファクタ生成手段 6、16、36 量子化テーブル生成手段 17 記憶手段 37 逆量子化手段 38 空間周波数逆変換手段 39 比較手段 1, 11, 31 Spatial frequency conversion means 2, 12, 32 Quantization means 3, 13, 33 Encoding means 4, 14, 34 Communication means 5, 15, 35 Scaling factor generation means 6, 16, 36 Quantization table generation Means 17 Storage means 37 Inverse quantization means 38 Spatial frequency inverse transformation means 39 Comparison means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 石原 健 神奈川県横浜市港北区綱島東四丁目3番1 号 松下通信工業株式会社内 (72)発明者 鈴木 啓之 神奈川県横浜市港北区綱島東四丁目3番1 号 松下通信工業株式会社内 (72)発明者 石井 拓幸 神奈川県横浜市港北区綱島東四丁目3番1 号 松下通信工業株式会社内 (72)発明者 小堀 敏雄 神奈川県横浜市港北区綱島東四丁目3番1 号 松下通信工業株式会社内 Fターム(参考) 5C059 KK22 KK23 MC15 ME01 PP01 PP04 SS06 SS10 TA48 TC08 TC10 TC20 TC38 TD03 TD11 5C078 AA04 BA32 BA42 BA64 CA31 DB00 DB07 5J064 AA02 BA01 BB13 BC01 BD02 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Ken Ishihara 4-3-1 Tsunashima Higashi, Kohoku-ku, Yokohama-shi, Kanagawa Prefecture Inside Matsushita Communication Industrial Co., Ltd. 3-1, Matsushita Communication Industrial Co., Ltd. (72) Inventor Takuyuki Ishii 4-3-1 Tsunashima Higashi, Kohoku-ku, Yokohama, Kanagawa Prefecture Inside Matsushita Communication Industrial Co., Ltd. (72) Toshio Kobori, Yokohama, Kanagawa Prefecture 4-3-1 Tsunashima Higashi, Kohoku-ku Matsushita Communication Industrial Co., Ltd. F term (reference) 5C059 KK22 KK23 MC15 ME01 PP01 PP04 SS06 SS10 TA48 TC08 TC10 TC20 TC38 TD03 TD11 5C078 AA04 BA32 BA42 BA64 CA31 DB00 DB07 5J064 AA01 BA01 BB13 BC BD02

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 画像データを空間周波数データに変換
し、空間周波数データを量子化テーブルに基づいて量子
化し、この量子化データを所定の符号化テーブルに基づ
いて符号化し、この符号化データを通信相手に送信する
画像通信装置において、 スケーリングファクタを生成するスケーリングファクタ
生成手段と、 生成された前記スケーリングファクタを所定のテーブル
に乗算して前記量子化テーブルを生成する量子化テーブ
ル生成手段と、 前記スケーリングファクタ生成手段がスケーリングファ
クタの生成に使用する数値データを記憶する記憶手段と
を備え、 前記スケーリングファクタ生成手段が、符号化データを
送信するごとに、その画像データの高周波成分の多さに
よる圧縮率の低さを示す比率データを算出して前記記憶
手段に書き込み、圧縮対象となる画像データが更新され
た場合に、前記記憶手段から過去に書き込んだ前記比率
データを所定数だけ読み出し、前記比率データの平均値
に所定値を乗算して前記ケーリングファクタを生成する
ことを特徴とする画像通信装置。
An image data is converted into spatial frequency data, the spatial frequency data is quantized based on a quantization table, the quantized data is encoded based on a predetermined encoding table, and the encoded data is communicated. An image communication device for transmitting to the other party; a scaling factor generating means for generating a scaling factor; a quantization table generating means for generating the quantization table by multiplying a generated table by the generated scaling factor; Storage means for storing numerical data used by the factor generation means for generating a scaling factor, wherein the scaling factor generation means, each time the encoded data is transmitted, a compression ratio based on the amount of high frequency components of the image data Is calculated and written in the storage means. When the image data to be compressed is updated, a predetermined number of the ratio data previously written from the storage unit are read out, and the average value of the ratio data is multiplied by a predetermined value to generate the calling factor. An image communication device, comprising:
【請求項2】 前記スケーリングファクタ生成手段が、
所定の固定データ長をスケーリングファクタで除算した
値と前記符号化データのデータ長との比から前記比率デ
ータを求めることを特徴とする請求項1に記載の画像通
信装置。
2. The method according to claim 1, wherein the scaling factor generation unit includes:
The image communication apparatus according to claim 1, wherein the ratio data is obtained from a ratio of a value obtained by dividing a predetermined fixed data length by a scaling factor and a data length of the encoded data.
【請求項3】 画像データを空間周波数データに変換
し、空間周波数データを量子化テーブルに基づいて量子
化し、この量子化データを所定の符号化テーブルに基づ
いて符号化し、この符号化データを通信相手に送信する
画像通信装置において、 スケーリングファクタを生成するスケーリングファクタ
生成手段と、 生成された前記スケーリングファクタを所定のテーブル
に乗算して前記量子化テーブルを生成する量子化テーブ
ル生成手段と、 前記スケーリングファクタ生成手段がスケーリングファ
クタの生成に使用する数値データを記憶する記憶手段と
を備え、前記スケーリングファクタ生成手段が、前記符
号化データのデータ長と所望のデータ長との差分に所定
数を乗算した値を、前記符号化データの量子化に用いた
スケーリングファクタに加算して、その加算値を前記記
憶手段に書き込み、圧縮対象となる画像データが更新さ
れた場合に、前記記憶手段から最後に書き込んだ加算値
を読み出してスケーリングファクタとすることを特徴と
する画像通信装置。
3. The image data is converted into spatial frequency data, the spatial frequency data is quantized based on a quantization table, the quantized data is encoded based on a predetermined encoding table, and the encoded data is communicated. An image communication device for transmitting to the other party; a scaling factor generating means for generating a scaling factor; a quantization table generating means for generating the quantization table by multiplying a generated table by the generated scaling factor; Storage means for storing numerical data used by the factor generation means for generating a scaling factor, wherein the scaling factor generation means multiplies a difference between the data length of the encoded data and a desired data length by a predetermined number. The value is a scaling factor used for quantization of the encoded data. And the added value is written to the storage means, and when the image data to be compressed is updated, the last written value is read from the storage means and used as a scaling factor. Image communication device.
【請求項4】 画像データを空間周波数データに変換
し、空間周波数データを量子化テーブルに基づいて量子
化し、この量子化データを所定の符号化テーブルに基づ
いて符号化し、この符号化データを通信相手に送信する
画像通信装置において、 スケーリングファクタを生成するスケーリングファクタ
生成手段と、 生成された前記スケーリングファクタを所定のテーブル
に乗算して前記量子化テーブルを生成する量子化テーブ
ル生成手段と、 前記量子化データを量子化テーブルに基づいて逆量子化
し復調空間周波数データとして出力する逆量子化手段
と、 前記復調空間周波数データを画像データに変換し、復調
画像データとして出力する空間周波数逆変換手段と、 圧縮前の画像データと前記復調画像データとの差分値を
所定比較値と比較し、前記差分値が前記所定比較値より
大きい場合にはスケーリングファクタ減少指示信号を、
前記差分値が前記所定比較値より小さい場合には、スケ
ーリングファクタ増加指示信号を前記スケーリングファ
クタ生成手段に出力する比較手段とを備え、前記スケー
リングファクタ生成手段が、前記比較手段からの指示信
号に基づいて、前回のスケーリングファクタから所定数
だけ減少または増加したスケーリングファクタを生成す
ることを特徴とする画像通信装置。
4. The image data is converted into spatial frequency data, the spatial frequency data is quantized based on a quantization table, the quantized data is encoded based on a predetermined encoding table, and the encoded data is communicated. An image communication device for transmitting to the other party; a scaling factor generating unit for generating a scaling factor; a quantization table generating unit for generating the quantization table by multiplying a generated table by the generated scaling factor; Inverse quantization means for inversely quantizing the quantized data based on the quantization table and outputting the demodulated spatial frequency data as demodulated spatial frequency data, and spatial frequency inverse transforming means for converting the demodulated spatial frequency data to image data and outputting as demodulated image data, The difference value between the image data before compression and the demodulated image data is compared with a predetermined comparison value. The scaling factor reduction instruction signal when the difference value is greater than the predetermined comparison value,
A comparing unit that outputs a scaling factor increase instruction signal to the scaling factor generation unit when the difference value is smaller than the predetermined comparison value, wherein the scaling factor generation unit is configured to output a scaling factor increase instruction signal based on the instruction signal from the comparison unit. And generating a scaling factor reduced or increased by a predetermined number from a previous scaling factor.
【請求項5】 画像データを空間周波数データに変換
し、空間周波数データを量子化テーブルに基づいて量子
化し、この量子化データを所定の符号化テーブルに基づ
いて符号化し、この符号化データを通信相手に送信する
画像通信装置での画像データの圧縮符号化方法におい
て、 符号化データを送信するごとに、所定の固定データ長を
スケーリングファクタで除算した値と、前記符号化デー
タのデータ長との比率データを求め、新たな画像データ
の量子化に使用する量子化テーブルのスケーリングファ
クタとして、過去の複数の前記比率データの平均値に所
定値を乗算した値を用いることを特徴とする圧縮符号化
方法。
5. Converting image data to spatial frequency data, quantizing the spatial frequency data based on a quantization table, encoding the quantized data based on a predetermined encoding table, and communicating the encoded data for communication. In a method for compressing and encoding image data in an image communication device to be transmitted to a partner, each time encoded data is transmitted, a value obtained by dividing a predetermined fixed data length by a scaling factor and a data length of the encoded data are obtained. Compression coding, wherein ratio data is obtained and a value obtained by multiplying a predetermined value by an average value of a plurality of past ratio data is used as a scaling factor of a quantization table used for quantization of new image data. Method.
【請求項6】 画像データを空間周波数データに変換
し、空間周波数データを量子化テーブルに基づいて量子
化し、この量子化データを所定の符号化テーブルに基づ
いて符号化し、この符号化データを通信相手に送信する
画像通信装置での画像データの圧縮符号化方法におい
て、 前記符号化データのデータ長と所望のデータ長との差分
に所定数を乗算した値を、前記符号化データの量子化に
用いたスケーリングファクタに加算し、その加算値を、
新たな画像データの量子化に使用する量子化テーブルの
スケーリングファクタとして用いることを特徴とする圧
縮符号化方法。
6. The image data is converted to spatial frequency data, the spatial frequency data is quantized based on a quantization table, the quantized data is encoded based on a predetermined encoding table, and the encoded data is communicated. In a method for compressing and encoding image data in an image communication device to be transmitted to a partner, a value obtained by multiplying a difference between a data length of the encoded data and a desired data length by a predetermined number is used for quantization of the encoded data. Add to the used scaling factor and add the sum to
A compression coding method characterized by using as a scaling factor of a quantization table used for quantization of new image data.
【請求項7】 画像データを空間周波数データに変換
し、空間周波数データを量子化テーブルに基づいて量子
化し、この量子化データを所定の符号化テーブルに基づ
いて符号化し、この符号化データを通信相手に送信する
画像通信装置での画像データの圧縮符号化方法におい
て、 前記量子化データから逆量子化及び空間周波数逆変換を
行って画像データを復調し、圧縮前の画像データと復調
した前記画像データとの差分値を所定比較値と比較し
て、前記差分値が前記所定比較値より大きい場合には、
新たな画像データの量子化に使用する量子化テーブルの
スケーリングファクタを前回のスケーリングファクタよ
り所定数だけ減らし、前記差分値が前記所定比較値より
小さい場合には、新たな画像データの量子化に使用する
量子化テーブルのスケーリングファクタを前回のスケー
リングファクタより所定数だけ増やすことを特徴とする
圧縮符号化方法。
7. Converting image data into spatial frequency data, quantizing the spatial frequency data based on a quantization table, encoding the quantized data based on a predetermined encoding table, and transmitting the encoded data for communication. In the method for compressing and encoding image data in an image communication device to be transmitted to the other party, the image data is demodulated by performing inverse quantization and inverse spatial frequency transformation from the quantized data, and the image which has been demodulated with the image data before compression Comparing the difference value with the data with a predetermined comparison value, and when the difference value is larger than the predetermined comparison value,
The scaling factor of a quantization table used for quantization of new image data is reduced by a predetermined number from the previous scaling factor, and when the difference value is smaller than the predetermined comparison value, the scaling factor is used for quantization of new image data. A compression coding method characterized by increasing the scaling factor of a quantization table to be performed by a predetermined number from the previous scaling factor.
JP1530399A 1999-01-25 1999-01-25 Image communication unit and compression coding method Pending JP2000217113A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1530399A JP2000217113A (en) 1999-01-25 1999-01-25 Image communication unit and compression coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1530399A JP2000217113A (en) 1999-01-25 1999-01-25 Image communication unit and compression coding method

Publications (1)

Publication Number Publication Date
JP2000217113A true JP2000217113A (en) 2000-08-04

Family

ID=11885054

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1530399A Pending JP2000217113A (en) 1999-01-25 1999-01-25 Image communication unit and compression coding method

Country Status (1)

Country Link
JP (1) JP2000217113A (en)

Similar Documents

Publication Publication Date Title
US10045034B2 (en) System and method for using pattern vectors for video and image coding and decoding
US5654706A (en) System for variable length decoding digital transmission data which has been compressed by selecting a scanning pattern
US7860159B2 (en) Quantization matrix for still and moving picture coding
US6404929B1 (en) Image coding and decoding methods, image coding and decoding apparatuses, and recording media for image coding and decoding programs
US5767909A (en) Apparatus for encoding a digital video signal using an adaptive scanning technique
US5739863A (en) Selection of quantization step size in accordance with predicted quantization noise
USRE37507E1 (en) Variable length coding/decoding method of image data and apparatus thereof
US7505631B2 (en) Image coding and decoding methods, image coding and decoding apparatuses, and recording media for image coding and decoding programs
KR960040018A (en) Wavelet Image Compression / Restoration Apparatus and Method Using Human Visual System Modeling
KR19990037507A (en) Perceptual compression and robust bit rate control system
US5515105A (en) Video signal coder using variance controlled quantization
CN100459706C (en) Controlling apparatus and method for bit rate
KR940009117B1 (en) Method and apparatus for recovery of image data
US5737021A (en) Transform coefficient selection method and apparatus for a transform coding system
JP2000217113A (en) Image communication unit and compression coding method
WO1999043161A1 (en) Determining visually noticeable differences between two images
JP3094390B2 (en) Transform coding apparatus for block including boundary of object of arbitrary form
KR0148226B1 (en) Code method and apparatus of quantizer
JPH0310486A (en) Moving picture encoder
JP2762712B2 (en) Encoding device and decoding device
KR0134358B1 (en) Coding and decoding system of variable scan method
JP3044514B2 (en) Quantizer for image compression
JPH0472960A (en) Picture coding system
JPH0683444B2 (en) Image coding method
JPH08130737A (en) Picture data encoding and decoding device