JP3330641B2 - Recording transmission coding method - Google Patents

Recording transmission coding method

Info

Publication number
JP3330641B2
JP3330641B2 JP20846592A JP20846592A JP3330641B2 JP 3330641 B2 JP3330641 B2 JP 3330641B2 JP 20846592 A JP20846592 A JP 20846592A JP 20846592 A JP20846592 A JP 20846592A JP 3330641 B2 JP3330641 B2 JP 3330641B2
Authority
JP
Japan
Prior art keywords
image quality
quality control
image
control parameter
code data
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.)
Expired - Lifetime
Application number
JP20846592A
Other languages
Japanese (ja)
Other versions
JPH0638169A (en
Inventor
雄一 大波
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.)
Hitachi Kokusai Electric Inc
Original Assignee
Hitachi Kokusai Electric Inc
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 Hitachi Kokusai Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP20846592A priority Critical patent/JP3330641B2/en
Publication of JPH0638169A publication Critical patent/JPH0638169A/en
Application granted granted Critical
Publication of JP3330641B2 publication Critical patent/JP3330641B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Television Signal Processing For Recording (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像デ−タ圧縮符号化
方式に関し、特に静止画像の画像記録や画像伝送を効率
良く行なうための符号化方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data compression encoding system, and more particularly to an encoding system for efficiently recording and transmitting still images.

【0002】[0002]

【従来の技術】現在、最も一般的な画像データの高能率
符号化方式を図2に示す。入力画像データ11は符号化
部12で圧縮され符号データ14となるが、その際、復
号画像の画質が一定となるように外部設定パラメタで制
御して、圧縮することを基本にしている。このパラメタ
をここでは、画質制御パラメタと呼ぶことにする。図2
においては、画質制御パラメタ13が対応する。これに
より、扱う画像の複雑さに関係無く常に画質を一定に保
って圧縮することができる。しかし画像の冗長度によっ
て、符号データ量は変化する。つまり、冗長度の多い画
像は、符号データ量が少なくなるが、冗長度の少ない画
像は、符号データ量が多くなる。
2. Description of the Related Art At present, the most general high-efficiency coding method for image data is shown in FIG. The input image data 11 is compressed by the encoding unit 12 to become the encoded data 14. At this time, the compression is basically controlled by an external setting parameter so that the image quality of the decoded image is constant. Here, this parameter will be referred to as an image quality control parameter. FIG.
Corresponds to the image quality control parameter 13. As a result, it is possible to always keep the image quality constant and compress the image regardless of the complexity of the image to be handled. However, the code data amount changes depending on the redundancy of the image. That is, an image with a high degree of redundancy has a small amount of code data, but an image with a low degree of redundancy has a large amount of code data.

【0003】例えば、静止画像符号化の標準方式である
JPEG(Joint Photographic C
odinng Express Group)も図2に
含まれる符号化方式である。(詳細は、ISO/IEC
JTC1/SC2/WG10:JPEG Techn
ical Specification,JPEG8−
R8(1990.8)参照。)このJPEGにおける画
質制御パラメタ13は、量子化の重み付けをするスケー
リングファクタに対応する。また、特開昭62−252
217号「データ符号化方式」に示されている非等長ブ
ロック分割符号化方式も図2に含まれる符号化方式であ
る。この符号化方式における画質制御パラメタ13は、
歪の大小を判定する許容値、つまり許容歪に対応する。
For example, JPEG (Joint Photographic C), which is a standard method of still image coding, is used.
odding Express Group) is also an encoding method included in FIG. (For details, see ISO / IEC
JTC1 / SC2 / WG10: JPEG Techn
Ial Specification, JPEG8-
See R8 (1990.8). The image quality control parameter 13 in this JPEG corresponds to a scaling factor for weighting quantization. Also, Japanese Patent Application Laid-Open No. 62-252
The non-equal-length block division coding method described in No. 217 “Data coding method” is also a coding method included in FIG. The image quality control parameter 13 in this encoding method is
This corresponds to an allowable value for determining the magnitude of distortion, that is, allowable distortion.

【0004】ところで、動画像を圧縮してディジタルV
TRに記録したり、伝送する場合を考えると、上述のよ
うに符号データ量が画像の冗長度によって変化しては困
る。この場合、符号化装置にとっては、入力データレー
トr(in)と出力データレートr(out)が固定さ
れるために、画像の冗長度に関係無く常に圧縮比=r
(out)/r(in)の符号データ量に圧縮しなけれ
ばならない。したがって、画像の冗長度に応じて、与え
られた符号データ量にするための画質制御パラメタを求
める必要がある。この制御をここでは符号データ量制御
と呼ぶことにする。
By the way, a moving picture is compressed and digital V
Considering the case of recording or transmitting in a TR, it is inconvenient for the amount of code data to vary depending on the redundancy of the image as described above. In this case, for the encoding device, since the input data rate r (in) and the output data rate r (out) are fixed, the compression ratio is always r regardless of the redundancy of the image.
(Out) / r (in). Therefore, it is necessary to determine an image quality control parameter for obtaining a given amount of code data according to the redundancy of the image. This control is herein referred to as code data amount control.

【0005】図2に示した符号化方式を、符号データ量
制御可能とする技術が、いくつかある。その一例を図3
に示す。図3の画質制御パラメタ決定部18は、入力画
像15の冗長度を、冗長度データ17から判断し、外部
から与えられた符号データ量19にするために、その画
像の冗長度を考慮しながら適切な画質制御パラメタ20
を求め出力する。この出力された画質制御パラメタ20
をもとに、符号化部16で符号化を行なえば、与えられ
た符号データ量の、符号データ21が得られることにな
る。
There are several techniques for controlling the amount of encoded data in the encoding method shown in FIG. An example is shown in FIG.
Shown in The image quality control parameter determination unit 18 in FIG. 3 determines the redundancy of the input image 15 from the redundancy data 17, and considers the redundancy of the image in order to obtain the code data amount 19 provided from the outside. Appropriate image quality control parameters 20
Is output. This output image quality control parameter 20
If the encoding is performed by the encoding unit 16 based on the above, the encoded data 21 of the given amount of encoded data can be obtained.

【0006】前記非等長ブロック分割符号化方式を符号
データ量制御可能とした場合には、冗長度データは、出
現可能な全ブロックにたいし、各ブロックにおいて関数
近似したときの歪(原画像との差)になる。この値が全
体的に大きいときは冗長度が少なく、この値が全体的に
小さいときには冗長度が多いといえる。
When the non-equal-length block division coding method enables the control of the code data amount, the redundancy data includes distortion (original image) when all the possible blocks are approximated by a function in each block. And the difference). When this value is large as a whole, the redundancy is small, and when this value is small as a whole, the redundancy is large.

【0007】この符号データ量制御の有用性は動画像に
限ったものではない。例えば、静止画像を圧縮してディ
スク等に記録する場合などでは、記録媒体の容量が決ま
っていることから、符号データ量制御ができれば、記録
枚数を完全に保証することができる。このことは、電子
スチルカメラにおいては必須のこととなっている。ま
た、伝送においても、例えば生放送のニュース等で現場
から静止画像を伝送してもらうときには、限定された時
間内に必ず伝送される必要がある。これも、符号データ
量制御によって可能になる。以上のように、静止画像に
おいても符号データ量制御は十分必要な機能であり、現
実に多くのシステムが存在している。
The usefulness of this code data amount control is not limited to moving images. For example, when a still image is compressed and recorded on a disk or the like, since the capacity of the recording medium is determined, if the amount of code data can be controlled, the number of recorded images can be completely guaranteed. This is essential for an electronic still camera. Also, in the transmission, when a still image is transmitted from the site for live broadcast news or the like, the still image must be transmitted within a limited time. This is also made possible by controlling the amount of code data. As described above, the control of the code data amount is a sufficiently necessary function even for a still image, and there are actually many systems.

【0008】しかし、符号データ量制御を静止画像に適
用する場合、必ずしも効率的ではない。なぜなら、扱う
画像の中には様々な冗長度の画像が含まれている。通常
符号データ量制御をする場合、より冗長度の少ない画像
を圧縮しても画質劣化に問題が生じないように多めに符
号データ量が設定されることになる。したがって、大半
の画像にとって設定された符号データ量は十分すぎるこ
とになる。より冗長度の多い画像にとっては、設定され
た符号データ量の1/2、1/4、またそれ以下のデー
タ量でも、復号画像の画質に問題が生じないことは十分
考えられる。
However, when code data amount control is applied to a still image, it is not always efficient. This is because the images to be handled include images with various degrees of redundancy. In the case of normal code data amount control, a larger code data amount is set so that even if an image having less redundancy is compressed, a problem does not occur in image quality deterioration. Therefore, the code data amount set for most images is too large. For an image having more redundancy, it is sufficiently conceivable that no problem occurs in the image quality of the decoded image even if the data amount is 1/2, 1/4, or less than the set code data amount.

【0009】[0009]

【発明が解決しようとする課題】このように従来符号デ
ータ量制御を用いることで、記録枚数を保証して静止画
像の圧縮記録や、限定された期間内での圧縮伝送が可能
であったが、一方でより冗長度の多い画像にたいして冗
長度削減が十分に行われておらず、効率的な圧縮が実現
できていなかった。本発明はこれらの欠点を解決するた
めに、設定された符号データ量を超えること無く、かつ
冗長度の多い画像に対しては、外部設定した画質制御パ
ラメタで制限された画質にみあう程度に、より符号デー
タ量を削減することで、効率の良い符号化を可能とする
ことを目的とする。
As described above, by using the conventional code data amount control, it is possible to guarantee the number of recordings and perform the compression recording of a still image and the compression transmission within a limited period. On the other hand, the redundancy has not been sufficiently reduced for an image having more redundancy, and efficient compression has not been realized. In order to solve these drawbacks, the present invention does not exceed the set code data amount and, for an image with much redundancy, to the extent that the image quality limited by the externally set image quality control parameter is met. An object of the present invention is to enable efficient coding by further reducing the amount of code data.

【0010】[0010]

【課題を解決するための手段】図1は本発明の全体構成
を示すブロック図である。図1において、入力画像1は
符号化部2に入力され、符号化部2からは冗長度データ
3が出力され、画質制御パラメタ決定部4に入力され
る。この画質制御パラメタ決定部4には符号データ量5
も入力されており、出力として画質制御パラメタ6を出
力する。画質制御パラメタ6は画質制御パラメタ判定部
8に入力され、この画質制御パラメタ判定部8には基準
画質制御パラメタ7も入力される。画質制御パラメタ判
定部8は最適画質制御パラメタ9を符号化部2に出力す
る。符号化部2は、符号データ10を出力する。
FIG. 1 is a block diagram showing the overall configuration of the present invention. In FIG. 1, an input image 1 is input to an encoding unit 2, and redundancy data 3 is output from the encoding unit 2 and input to an image quality control parameter determination unit 4. This image quality control parameter determination unit 4 stores a code data amount 5
, And outputs the image quality control parameter 6 as an output. The image quality control parameter 6 is input to the image quality control parameter determination unit 8, and the reference image quality control parameter 7 is also input to the image quality control parameter determination unit 8. The image quality control parameter determining unit 8 outputs the optimal image quality control parameter 9 to the encoding unit 2. The encoding unit 2 outputs code data 10.

【0011】[0011]

【作用】以下、本発明の動作について説明する。図1に
おいて画質制御パラメータ決定部4が画質制御パラメタ
6を出力するまでは従来と同じである。つまり、符号化
部2は入力画像1を入力し、その画像の冗長度を示す情
報として冗長度データ3を画質制御パラメタ決定部4に
出力する。画質制御パラメタ決定部4は外部設定された
符号データ量5に圧縮するための画質制御パラメタ6を
出力する。
The operation of the present invention will be described below. 1 is the same as the conventional one until the image quality control parameter determination unit 4 outputs the image quality control parameter 6. That is, the encoding unit 2 receives the input image 1 and outputs redundancy data 3 to the image quality control parameter determination unit 4 as information indicating the redundancy of the image. The image quality control parameter determination unit 4 outputs an image quality control parameter 6 for compressing the code data amount 5 to an externally set code data amount.

【0012】この画質制御パラメタ決定部4の動作を図
4を用いてもう少し具体的に述べる。まず、図4の横軸
は外部設定された符号データ量を示す。縦軸は画質制御
パラメタ6の値を示す。(この値が、大きいほど復号画
像の画質劣化も大きくなるものとする。)a,b,cの
線は冗長度データ3から得られる各画像の冗長度を示す
ものとする。原点に近い線ほど冗長度の多い画像である
ことを示す。ここで扱う画像の冗長度は、おおむねaか
らbの範囲の画像と仮定する。そして、画質劣化が問題
とならない画質制御パラメタの値が仮に16とすれば、
より冗長度の少ない画像(bの線の画像)において画質
制御パラメタが16になるのは符号データ量が400K
Byteのときである。したがって、符号データ量5
は、400KByteに設定されることになる。
The operation of the image quality control parameter determining section 4 will be described more specifically with reference to FIG. First, the horizontal axis in FIG. 4 indicates the code data amount set externally. The vertical axis indicates the value of the image quality control parameter 6. (It is assumed that the larger the value is, the greater the deterioration of the image quality of the decoded image is.) The lines a, b, and c indicate the redundancy of each image obtained from the redundancy data 3. A line closer to the origin indicates an image with more redundancy. It is assumed that the redundancy of the image handled here is an image in the range of approximately a to b. If the value of the image quality control parameter in which the image quality deterioration does not matter is supposed to be 16,
In an image having less redundancy (image of the line b), the image quality control parameter becomes 16 when the code data amount is 400K.
Byte. Therefore, the code data amount 5
Is set to 400 KByte.

【0013】ここで、画質制御パラメタ決定部4の動作
は次のようになる。仮にaという冗長度の画像が入力さ
れると、冗長度データ3から図4に示すaの線の冗長度
であることを把握する。そして、符号データ量5に設定
されている値400KByteとaの線の交点における
画質制御パラメタの値を求める。この場合は8になるた
め、この8を画質制御パラメタ6の値として出力する。
また、ときには仮定していたbの冗長度よりも冗長度の
少ない画像が入力されることもある。この場合も、画質
制御パラメタ決定部4は、前述と同様に冗長度データ3
から、例えばcという線の冗長度であることを把握し、
その線と符号データ量5の値400KByteとの交点
である画質制御パラメタの値32を画質制御パラメタ6
として出力する。このように画質制御パラメタ決定部4
は、どんな冗長度の画像が入力されても、符号データ量
が400KByteになる画質制御パラメタ6を出力す
るものである。
The operation of the image quality control parameter determining unit 4 is as follows. If an image having the redundancy a is input, it is determined from the redundancy data 3 that the redundancy is the redundancy of the line a shown in FIG. Then, the value of the image quality control parameter at the intersection of the value 400 KByte set to the code data amount 5 and the line a is obtained. In this case, since it is 8, this 8 is output as the value of the image quality control parameter 6.
In some cases, an image having less redundancy than the assumed redundancy of b may be input. Also in this case, the image quality control parameter determination unit 4 sends the redundancy data 3
From this, for example, it is understood that the redundancy of the line c,
The image quality control parameter value 32, which is the intersection of the line and the code data amount 5 value 400 KByte, is set to the image quality control parameter 6
Output as Thus, the image quality control parameter determining unit 4
Is to output an image quality control parameter 6 in which the code data amount becomes 400 KBytes regardless of the image of any redundancy.

【0014】本発明で問題にしているのは、扱う画像に
おいて、aの線の冗長度に近い画像の頻度が多い場合、
ほとんどの画像が画質劣化の問題が生じない16よりも
かなり低い画質制御パラメタの値で圧縮されることによ
る非効率性である。言い替えれば、必要以上の高画質で
圧縮するために、必要以上の符号データ量となる非効率
性である。そして、これは現実に良くあるケースであ
る。
What is problematic in the present invention is that if the frequency of an image close to the redundancy of the line a is high in the image to be handled,
This is an inefficiency due to the fact that most images are compressed with image quality control parameter values much lower than 16 where image quality degradation problems do not occur. In other words, there is an inefficiency in that the amount of code data becomes more than necessary in order to perform compression with higher image quality than necessary. And this is a common case in reality.

【0015】そこで、図1ではこの画質制御パラメタ6
を直接符号化部2に入力しないで、画質制御パラメタ判
定部8により一度基準画質制御パラメタ7と比較してか
ら適切な値に変更して符号化部2に入力するようにして
いる。この基準画質制御パラメタ7の値には、実用上問
題とならない画質になる値を設定する。図4の例では1
6という値になる。画質制御パラメタ判定部8の具体的
な処理は、画質制御パラメタ6と基準画質制御パラメタ
7を比較し、大きい値の方を最適画質制御パラメタ9と
するものである。すなわち、 最適画質制御パラメタ9=MAX(画質制御パラメタ
6,基準画質制御パラメタ7)
Therefore, in FIG.
Is not directly input to the encoding unit 2, but is compared once with the reference image quality control parameter 7 by the image quality control parameter determination unit 8, changed to an appropriate value, and input to the encoding unit 2. The value of the reference image quality control parameter 7 is set to a value that gives an image quality that does not pose a problem in practical use. In the example of FIG.
The value is 6. The specific processing of the image quality control parameter determination unit 8 is to compare the image quality control parameter 6 with the reference image quality control parameter 7 and determine a larger value as the optimum image quality control parameter 9. That is, optimal image quality control parameter 9 = MAX (image quality control parameter 6, reference image quality control parameter 7)

【0016】これにより、冗長度の多いaという冗長度
の画像が入力され、画質制御パラメタ6の値が8(8<
<16)になっても、画質制御パラメタ判定部8は、最
適画質制御パラメタ9を16という値に変更して符号化
部2に出力できる。これにより、むだの無い画質に圧縮
することができ、図4に示すように符号データ量も20
0KByteという400KByteよりも十分少ない
データ量に符号化することが可能である。また、この画
質制御パラメタ判定部8は、仮定していたものよりも冗
長度の少ない画像が入力された場合、例えば図4のcの
線の冗長度の画像が入力された場合、画質制御パラメタ
6は32(32>>16)となり、最適画質パラメタ9
の出力として、32を出力する。このため、従来どおり
符号データ量を絶対超えること無く符号化することが可
能である。
As a result, an image having a high degree of redundancy a is input, and the value of the image quality control parameter 6 is set to 8 (8 <8 <
Even in the case of <16), the image quality control parameter determination unit 8 can change the optimum image quality control parameter 9 to a value of 16 and output the value to the encoding unit 2. As a result, the image can be compressed to a useless image quality, and the code data amount is also reduced to 20 as shown in FIG.
It is possible to encode a data amount of 0 KByte, which is sufficiently smaller than 400 KByte. The image quality control parameter determination unit 8 determines whether an image having less redundancy than the assumed one is input, for example, if an image having the redundancy of the line c in FIG. 6 becomes 32 (32 >> 16), and the optimum image quality parameter 9
Is output as 32. For this reason, it is possible to perform encoding without exceeding the code data amount as in the past.

【0017】[0017]

【実施例】以下、この発明の一実施例を図5により説明
する。入力画像22は、非等長ブロック分割符号化部2
3に入力され、非等長ブロック分割符号化部23から
は、許容歪決定部25に歪データ24が出力される。許
容歪決定部25には、符号データ量27も入力され、許
容歪26を出力する。出力された許容歪26は、セレク
タ28と比較器29に入力される。また、セレクタ28
と比較器29には、基準許容歪31も入力される。比較
器29からは、セレクタ制御信号30がセレクタ28に
出力される。セレクタ28からは最適許容歪32が非等
長ブロック分割符号化部23に出力される。そして、非
等長ブロック分割符号化部23からは符号データ33が
出力される。
FIG. 5 shows an embodiment of the present invention. The input image 22 is input to the unequal-length block division encoding unit 2.
The distortion data 24 is output from the unequal-length block division encoding unit 23 to the allowable distortion determination unit 25. The allowable distortion determination unit 25 also receives the code data amount 27 and outputs an allowable distortion 26. The output allowable distortion 26 is input to the selector 28 and the comparator 29. Also, the selector 28
The comparator 29 also receives the reference allowable distortion 31. The comparator 29 outputs a selector control signal 30 to the selector 28. The optimum allowable distortion 32 is output from the selector 28 to the unequal-length block division encoding unit 23. Then, the coded data 33 is output from the unequal-length block division coding unit 23.

【0018】前記非等長ブロック分割符号化部23は、
基本的に特開昭62−252217号「データ符号化方
式」の符号化方式で処理するものである。出力される歪
データ24は、前記符号化方式により出現可能な全ブロ
ックにたいし、各ブロックにおいて関数近似したときの
歪(原画像との差)に対応するものである。また、入力
される最適許容歪32は、前記歪の大小を判定する許容
値に対応するものである。したがって、この非等長ブロ
ック分割符号化部23の動作は、入力画像22を、与え
られた最適許容歪32で制限された画質より、劣化しな
いように符号化するものである。なお、処理の途中で算
出された歪データ24は出力するようにしている。許容
歪決定部25は、符号データ量制御可能にするための処
理部である。基本的な処理内容は、前記歪データ24か
ら、画像の冗長度を判断し、設定された符号データ量2
7に圧縮するための許容歪26を求めるものである。
The unequal-length block division encoding unit 23 comprises:
Basically, processing is performed by the coding method of Japanese Patent Application Laid-Open No. 62-252217, "Data Coding Method". The output distortion data 24 corresponds to the distortion (difference from the original image) when function approximation is performed on all blocks that can appear by the above-described encoding method. The input optimum allowable distortion 32 corresponds to an allowable value for determining the magnitude of the distortion. Therefore, the operation of the unequal-length block division encoding unit 23 encodes the input image 22 so as not to deteriorate from the image quality limited by the given optimum allowable distortion 32. The distortion data 24 calculated during the processing is output. The allowable distortion determining unit 25 is a processing unit that enables control of the amount of code data. The basic processing content is to determine the redundancy of the image from the distortion data 24, and to set the code data amount 2
7 to obtain an allowable distortion 26 for compression to 7.

【0019】この許容歪決定部25の、より具体的な実
施例を図6に示す。図6のヒストグラム作成部35で
は、前記出現可能な全ブロックの歪データ34を入力
し、歪の値を横軸にしたヒストグラムを作成し、ヒスト
グラム書き込みデータ36によって記憶部37に前記ヒ
ストグラムを記憶させる。つぎに、許容歪検出部39で
は、まず許容歪を∞とした場合の符号データ量を求め、
これを初期符号データ量とする。この初期符号データ量
は、許容歪を∞とした場合は入力データの内容に関係な
く常に最大サイズのブロックだけで対象データ内が分割
されるため、これらのブロックに割り当てられる符号デ
ータ量を加算するだけで求めることが出来る。この初期
符号データ量は最も少ないデータ量であり、許容歪を∞
より小さくしていくことで符号データ量は増加していく
ことになる。そこで許容歪検出部39では、次に許容歪
を∞より小さい値にした場合に増加する符号データ量
を、記憶部37に記憶されているヒストグラム読み出し
データ38から入力し調べることで求める。
FIG. 6 shows a more specific embodiment of the allowable distortion determining section 25. The histogram creation unit 35 of FIG. 6 receives the distortion data 34 of all the possible blocks, creates a histogram with the distortion value on the horizontal axis, and stores the histogram in the storage unit 37 by the histogram writing data 36. . Next, the allowable distortion detection unit 39 first obtains a code data amount when the allowable distortion is set to 、,
This is defined as the initial code data amount. When the allowable distortion is set to ∞, the target data is always divided only by the block of the maximum size regardless of the content of the input data, so the code data amounts allocated to these blocks are added. It can be obtained only by: This initial code data amount is the smallest data amount, and the allowable distortion is reduced.
As the size becomes smaller, the amount of code data increases. Therefore, the allowable distortion detection unit 39 obtains the amount of code data that increases when the allowable distortion is set to a value smaller than 次 に by inputting and examining the histogram read data 38 stored in the storage unit 37.

【0020】具体的には、許容歪を∞より小さい例えば
254という値にしたとすれば254以上の歪を持つブ
ロック数をヒストグラムより求める。これらの許容歪以
上のブロックは4分木構造における該当ブロックに対す
る4つの子ブロックに置き換えることで、許容歪の値2
55を満足する分割状態に変化する。つまり、出現可能
な全ブロックには、4分木構造における子ブロックの歪
は、親ブロックの歪より大きくないという関係があるこ
とから、許容歪以上のブロックはその子ブロックに置き
換えることで許容歪を満たすブロック分割状態に変化す
るわけである。この変化をここではブロック展開と呼ぶ
ことにするが、上述のように1つのブロックが展開され
ると4つの子ブロックに置き換えることから、その4つ
の子ブロック全部に割り当てられる符号データ量から展
開されるブロックに割り当てられる符号データ量を引く
と、1つのブロック展開により増加する符号データ量を
得ることが出来る。このデータ量を仮に6Byteとし
て、前述したように許容歪を255としたときにヒスト
グラムから展開しなければならないブロック(255以
上の歪をもつブロック)の数を求めたとき仮に100個
であったとしたら、符号データの増加量は6×100で
求められる。なお、上記1ブロック展開による増加分が
6Byteだけでなく複数種類ある場合は、、その種類
ごとに出現可能なブロックを分類して、各々の分類した
ブロックごとにヒストグラムを作成すれば同様に符号デ
ータの増加量を求めることができる。以上のようにして
求めた増加量を前記初期符号データ量に加算することで
小さくした許容歪に対する符号データ量が求まる。そし
て、その符号データ量が外部より指定された符号データ
量40に等しくなるように許容歪を変えて上記処理を繰
り返す。これにより許容歪検出部39では符号データ量
40に符号化することのできる許容歪を得ることが出
来、それを許容歪41として求めることができる。
Specifically, if the allowable distortion is set to a value smaller than 例 え ば, for example, 254, the number of blocks having the distortion of 254 or more is obtained from the histogram. Blocks having these allowable distortions or more are replaced with four child blocks corresponding to the corresponding block in the quadtree structure to obtain an allowable distortion value of 2
The state changes to a division state satisfying 55. In other words, since all blocks that can appear have a relationship that the distortion of the child block in the quadtree structure is not greater than the distortion of the parent block, blocks that are higher than the allowable distortion are replaced with the child blocks to reduce the allowable distortion. That is, the state changes to the satisfied block division state. Although this change is referred to as block expansion here, when one block is expanded as described above, it is replaced with four child blocks, so that it is expanded from the amount of code data allocated to all four child blocks. By subtracting the amount of code data allocated to a given block, it is possible to obtain an increased amount of code data by one block expansion. Assuming that this data amount is 6 bytes and the number of blocks (blocks having a distortion of 255 or more) to be developed from the histogram when the allowable distortion is 255 as described above is 100, , The amount of increase of the code data is obtained by 6 × 100. If the increase due to the one-block expansion is not limited to 6 bytes but is of a plurality of types, if the types of blocks that can appear are classified for each type and a histogram is created for each of the classified blocks, code data is similarly obtained. Can be obtained. By adding the increase amount obtained as described above to the initial code data amount, the code data amount for the reduced allowable distortion is obtained. Then, the above processing is repeated while changing the allowable distortion so that the code data amount becomes equal to the code data amount 40 specified from the outside. As a result, the allowable distortion detector 39 can obtain an allowable distortion that can be encoded into the code data amount 40, and can obtain it as the allowable distortion 41.

【0021】本発明の特徴である図1の画質制御パラメ
タ判定部8は、図5の実施例ではセレクタ28と比較器
29で実現している。比較器29は、許容歪26と基準
許容歪31の大小関係を判定する。仮に、許容歪26が
大きかった場合は、最適許容歪32に許容歪26が接続
するように、セレクタ制御信号30によってセレクタ2
8を制御する。また、許容歪26が小さかった場合は、
基準許容歪31が最適許容歪32と接続するように、セ
レクタ制御信号30によってセレクタ28を制御する。
(全く同じ値の場合は、どちらを接続しても問題無
い。)
The image quality control parameter judging section 8 of FIG. 1 which is a feature of the present invention is realized by a selector 28 and a comparator 29 in the embodiment of FIG. The comparator 29 determines the magnitude relation between the allowable distortion 26 and the reference allowable distortion 31. If the allowable distortion 26 is large, the selector control signal 30 controls the selector 2 so that the allowable distortion 26 is connected to the optimum allowable distortion 32.
8 is controlled. When the allowable distortion 26 is small,
The selector 28 is controlled by the selector control signal 30 so that the reference allowable distortion 31 is connected to the optimum allowable distortion 32.
(If the values are exactly the same, it does not matter which one is connected.)

【0022】これにより、より冗長度の多い画像が入力
された場合、許容歪26は基準許容歪31よりも小さい
値となる。比較器29はこれを判定し、セレクタ制御信
号28によって、最適許容歪32が基準許容歪31にな
る様にセレクタ28を制御する。よって、より冗長度の
多い画像にたいし必要以上の高画質で圧縮することな
く、符号データ量27で設定された値よりも、より少な
い量で、効率的に符号化することが可能となる。また、
仮定した冗長度より冗長度の少ない画像が入力された場
合、許容歪26は基準許容歪31よりも大きい値にな
る。比較器29はこれを判定し、セレクタ制御信号28
によって、最適許容歪32が許容歪26になる様にセレ
クタ28を制御する。これにより、従来と同様に符号デ
ータ量27に設定した値を絶対に超えることなく符号化
することができる。これを、圧縮記録伝送システムに適
用すれば、画像の冗長度に応じて、保証した記録枚数よ
り、より多くの画像を記録したり、また、限定された時
間より、より短い時間で伝送することが可能であり、効
率的な記録伝送システムを実現することができる。な
お、図5の比較器29とセレクタ28における処理は、
cpuを用いて、ソフトウェアで実現することも可能で
ある。この時の、フローチャートを図7に示す。
As a result, when an image having a higher degree of redundancy is input, the allowable distortion 26 has a value smaller than the reference allowable distortion 31. The comparator 29 determines this, and controls the selector 28 based on the selector control signal 28 so that the optimum allowable distortion 32 becomes the reference allowable distortion 31. Therefore, it is possible to efficiently encode an image having a higher degree of redundancy with a smaller amount than the value set by the code data amount 27 without compressing the image with a higher image quality than necessary. . Also,
When an image having less redundancy than the assumed redundancy is input, the allowable distortion 26 becomes a value larger than the reference allowable distortion 31. The comparator 29 determines this, and selects the selector control signal 28
Thus, the selector 28 is controlled so that the optimum allowable distortion 32 becomes the allowable distortion 26. As a result, encoding can be performed without exceeding the value set in the code data amount 27 as in the related art. If this is applied to a compression recording transmission system, it is possible to record more images than the guaranteed number of recordings or to transmit in a shorter time than the limited time according to the redundancy of the image. And an efficient recording and transmission system can be realized. The processing in the comparator 29 and the selector 28 in FIG.
It is also possible to realize by software using cpu. A flowchart at this time is shown in FIG.

【0023】[0023]

【発明の効果】本発明によれば、所定の符号データ量に
圧縮するための画質制御パラメタと、所定の画質にする
ための基準画質制御パラメタを比較判定し、最適な画質
制御パラメタによって、符号化することで、従来どおり
どんな画像にたいしても符号データ量を超えること無
く、かつ、より冗長度の多い画像に関しては、基準画質
制御パラメタによる画質劣化よりも劣化させること無
く、より少ないデータ量で効率良く符号化することが可
能である。
According to the present invention, an image quality control parameter for compressing to a predetermined code data amount and a reference image quality control parameter for achieving a predetermined image quality are compared and determined. As a result, it is possible to reduce the amount of code data for any image as before, and for images with more redundancy, to reduce the amount of data with a smaller amount of data without deteriorating the image quality than the standard image quality control parameter. Good encoding is possible.

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

【図1】本発明の全体構成を示すブロック図である。FIG. 1 is a block diagram showing the overall configuration of the present invention.

【図2】一般的な画像の高能率符号化方式の概要を示す
ブロック図である。
FIG. 2 is a block diagram illustrating an outline of a general high-efficiency coding method for an image.

【図3】従来技術において、符号データ量制御可能とし
た方式の概要を示すブロック図である。
FIG. 3 is a block diagram showing an outline of a system in which the amount of code data is controllable in the related art.

【図4】画質制御パラメタ決定部4の動作を説明する図
である。
FIG. 4 is a diagram for explaining the operation of an image quality control parameter determining unit 4;

【図5】本発明の一実施例を示す図である。FIG. 5 is a diagram showing one embodiment of the present invention.

【図6】図5における許容歪決定部25のより具体的な
実施例のブロック図である。
6 is a block diagram of a more specific embodiment of the allowable distortion determining unit 25 in FIG.

【図7】図5の比較器29とセレクタ28の処理をソフ
トウェアで実現する場合のフローチャートの一例を示す
図である。
FIG. 7 is a diagram showing an example of a flowchart in a case where the processing of the comparator 29 and the selector 28 of FIG. 5 is realized by software.

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

6 画質制御パラメタ 7 基準画質制御パラメタ 8 画質制御パラメタ判定部8 9 最適画質制御パラメタ 6 Image quality control parameters 7 Reference image quality control parameters 8 Image quality control parameter determination unit 8 9 Optimal image quality control parameters

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 H04N 1/41 - 1/419 H04N 5/91 - 5/956 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 7/ 24-7/68 H04N 1/41-1/419 H04N 5/91-5/956

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力画像データが所定の符号データ量に
符号化されるよう、量子化の重み付けをするスケーリン
グファクタに相当する画質制御パラメタを制御して符
号化する符号化方式において、上記入力画像データを符
号化する場合、その時の上記画質制御パラメタと、上
記画像データの画質が許容できる所定の画質で符号化さ
れる時の画質制御パラメタ値である予め設定された基準
画質制御パラメタを比較し、当該パラメタ値の大きい
方のパラメタ値を最適画質制御パラメタとして選択
し、当該画質制御パラメタ値で符号化することで、より
少ない符号データ量で効率的に符号化することを特徴と
する記録伝送符号化方式。
An encoding method for encoding by controlling an image quality control parameter value corresponding to a scaling factor for weighting quantization so that input image data is encoded to a predetermined code data amount. when encoding image data, and the image quality control parameter values at that time, an image quality control parameter values when the image quality of the image data is encoded in a predetermined image quality allowable preset reference quality control parameter values compare, select the larger parameter values of the parameter values as an optimal image quality control parameter values, it is encoded with the image quality control parameter values, and more
A recording and transmission coding method characterized by efficiently coding with a small amount of code data .
【請求項2】 上記入力画像と復号画像との差である歪
の大きさに基づき算出された上記画質制御パラメタ
と、予め設定された上記基準画質制御パラメタを比較
し、当該パラメタ値の大きい方のパラメタ値を最適画質
制御パラメタとして選択し、当該画質制御パラメタ値
で符号化することで、より少ない符号データ量で効率的
に符号化することを特徴とする請求項1記載の記録伝送
符号化方式。
2. A distortion which is a difference between the input image and the decoded image.
Image quality control parameters calculated based on the size ofvalue
And the preset reference image quality control parametervalueCompare
And the larger of the parameter valueParameter valueThe best image quality
Control parametersvalueSelected asThe image quality control parameter value
By encodingEfficient with less code data
2. The recording transmission according to claim 1, wherein the data is encoded.
Encoding method.
JP20846592A 1992-07-13 1992-07-13 Recording transmission coding method Expired - Lifetime JP3330641B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20846592A JP3330641B2 (en) 1992-07-13 1992-07-13 Recording transmission coding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20846592A JP3330641B2 (en) 1992-07-13 1992-07-13 Recording transmission coding method

Publications (2)

Publication Number Publication Date
JPH0638169A JPH0638169A (en) 1994-02-10
JP3330641B2 true JP3330641B2 (en) 2002-09-30

Family

ID=16556635

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20846592A Expired - Lifetime JP3330641B2 (en) 1992-07-13 1992-07-13 Recording transmission coding method

Country Status (1)

Country Link
JP (1) JP3330641B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8034156B2 (en) * 2005-03-25 2011-10-11 Dowa Eco-System Co., Ltd. Method for producing decomposer of organic halogenated compounds

Also Published As

Publication number Publication date
JPH0638169A (en) 1994-02-10

Similar Documents

Publication Publication Date Title
EP0522123B1 (en) Method and apparatus for providing adjustable error correction
US5517583A (en) Image encoding method and apparatus
US5384644A (en) Image processing method and apparatus for encoding variable-length data
US6668021B2 (en) Encoding apparatus
US6269357B1 (en) Information processing system, apparatus, method and recording medium for controlling same
US5488367A (en) Method of and apparatus for generating variable length code table
US6041144A (en) Image processing apparatus
JP3330641B2 (en) Recording transmission coding method
US5675667A (en) Picture compression apparatus, picture reproducing apparatus and picture drawing apparatus
JPH0622143A (en) Transmission of image signal and encoding system for enhancement of reduction efficiency of data in storage
JP2952000B2 (en) Image data encoding apparatus and encoding method
EP0699003A1 (en) Method and device for encoding image signal
US6069980A (en) Adaptive character image generation and synthesis
JP3227181B2 (en) Image processing device
JPH0898181A (en) Method and device for picture conversion
JPH0468770A (en) Picture coding system
JPH04167868A (en) Coding device and coding method for picture
JPH04114564A (en) Picture signal recording device
JP4143535B2 (en) Image data processing apparatus, image data processing method, image data distribution apparatus, and image data transmission system
JP3368186B2 (en) Image processing apparatus and method
JP2984342B2 (en) Image signal recording device
KR100402926B1 (en) Compression control method of digital camera
JPH04233373A (en) Image processor
KR100210439B1 (en) Compression control method for a digital camera
US5864409A (en) Image processing system providing access to data processing

Legal Events

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

Free format text: PAYMENT UNTIL: 20080719

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090719

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100719

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110719

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120719

Year of fee payment: 10

EXPY Cancellation because of completion of term