JPH0744686B2 - Variable transmission rate image coding device - Google Patents

Variable transmission rate image coding device

Info

Publication number
JPH0744686B2
JPH0744686B2 JP1127133A JP12713389A JPH0744686B2 JP H0744686 B2 JPH0744686 B2 JP H0744686B2 JP 1127133 A JP1127133 A JP 1127133A JP 12713389 A JP12713389 A JP 12713389A JP H0744686 B2 JPH0744686 B2 JP H0744686B2
Authority
JP
Japan
Prior art keywords
amount
frame
generated information
information amount
control
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 - Fee Related
Application number
JP1127133A
Other languages
Japanese (ja)
Other versions
JPH02305284A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1127133A priority Critical patent/JPH0744686B2/en
Publication of JPH02305284A publication Critical patent/JPH02305284A/en
Publication of JPH0744686B2 publication Critical patent/JPH0744686B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/152Data rate or code amount at the encoder output by measuring the fullness of the transmission buffer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/115Selection of the code volume for a coding unit prior to coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、可変伝送速度画像符号化装置、特に発生情
報量のフィードバック制御を行う可変伝送速度符号化装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a variable transmission rate image encoding device, and more particularly to a variable transmission rate encoding device that performs feedback control of generated information amount.

[従来の技術] 第7図は例えば信学技法IT85−61,1−8(1985)村上篤
道「ベクトル量子化による画像効能率符号化」に示され
た従来の画像符号化装置の符号化制御系を示すブロック
図であり、図において、(1)は符号化の対象となる画
像の入力ビデオ信号、(2)は入力ビデオ信号を符号化
する符号化部である。
[Prior Art] FIG. 7 shows the coding of the conventional image coding apparatus shown in "Image Efficiency Coding by Vector Quantization" by Atsumi Murakami, IT85-61, 1-8 (1985), for example, in the telecommunications technique. FIG. 3 is a block diagram showing a control system, in which (1) is an input video signal of an image to be encoded, and (2) is an encoding unit for encoding the input video signal.

(3)は符号化部(2)より出力される符号化データ、
(4)は符号化された1フレーム分の符号化データの情
報量を算出する1フレーム発生情報量計算手段である。
(3) is encoded data output from the encoding unit (2),
(4) is a one-frame generated information amount calculation means for calculating the information amount of encoded data for one frame.

(5)は1フレーム発生情報量計算手段(4)より出力
される1フレーム発生情報量、(8)は1フレーム発生
情報量の発生値と目標値との比較を行ってその結果に応
じて制御量(9)を出力する目標値/発生値比較手段で
ある。
(5) is the 1-frame generated information amount output from the 1-frame generated information amount calculating means (4), and (8) compares the generated value of the 1-frame generated information amount with the target value, and depending on the result. It is a target value / generated value comparison means for outputting the control amount (9).

(10)は制御量に応じて符号化部(2)における次フレ
ームの符号化による発生情報量を制御する符号化制御部
である。
Reference numeral (10) is an encoding control unit that controls the amount of information generated by encoding the next frame in the encoding unit (2) according to the control amount.

また、第8図(a)および(b)は前記目標値/発生値
比較手段(8)の例を示した図であり、図中(18)は目
標値、(19)は減算器、(20)は発生情報量(5)と目
標値(18)から制御量(9)を求めて出力する制御テー
ブルである。
8 (a) and 8 (b) are diagrams showing an example of the target value / generated value comparing means (8), in which (18) is a target value, (19) is a subtractor, Reference numeral 20) is a control table for obtaining and outputting the control amount (9) from the generated information amount (5) and the target value (18).

更に、第9図は前記符号化部(2)の構成例を示すブロ
ック図であり、(22)は入力ビデオ信号(1)と予測信
号(35)との差分を求めて画像のフレーム間信号を得る
減算器である。
Further, FIG. 9 is a block diagram showing an example of the configuration of the encoding unit (2), and (22) shows the interframe signal of the image by obtaining the difference between the input video signal (1) and the prediction signal (35). Is a subtractor that obtains

(23)はフレーム間差分信号の大小により着目した領域
の量子化の要否を決定する有効/無効ブロック識別判定
部、(24)は量子化エンコーダ、(25)は量子化デコー
ダである。
(23) is a valid / invalid block identification determination unit that determines the necessity of quantization of the region of interest based on the size of the inter-frame difference signal, (24) is a quantization encoder, and (25) is a quantization decoder.

(26)は量子化複号信号(33)と予測信号(35)とを加
算する加算器、(27)は複号画像を記憶して予測信号
(35)を生成するフレームメモリである。
(26) is an adder for adding the quantized decoding signal (33) and the prediction signal (35), and (27) is a frame memory for storing the decoding image and generating the prediction signal (35).

(28)は量子化エンコーダ(24)からの量子化データ
(32)と有効/無効ブロック識別情報(30)と符号化制
御情報等を多重化して符号化データ(3)を得る多重化
部、(29)は発生情報量を制御する有効/無効ブロック
識別閾値である。
(28) is a multiplexing unit that multiplexes the quantized data (32) from the quantized encoder (24), the valid / invalid block identification information (30), the coding control information, etc., to obtain the coded data (3), (29) is a valid / invalid block identification threshold value that controls the amount of generated information.

(31)は量子化エンコーダ(24)において発生情報量を
制御する量子化制御信号、(34)はフレーム間複号信号
である。
(31) is a quantization control signal for controlling the amount of information generated in the quantization encoder (24), and (34) is an interframe decoding signal.

次ぎに動作について説明する。Next, the operation will be described.

第7図において、動画像が連続する入力ビデオ信号
(1)は符号化部(2)において1フレーム(映像フレ
ーム)毎に符号化が行われ、符号化データ(3)が出力
され、符号化データ(3)は固定伝送速度回線へ出力ま
たは記録される。
In FIG. 7, an input video signal (1) in which moving images are continuous is encoded in an encoding unit (2) for each frame (video frame), and encoded data (3) is output and encoded. Data (3) is output or recorded on the fixed transmission rate line.

なお、符号化部(2)の符号化アルゴリズムに対応する
複号化部によって符号化データ(3)から動画像を複号
することができる。
The decoding unit corresponding to the coding algorithm of the coding unit (2) can decode the moving image from the coded data (3).

通常、画像符号化装置の符号化データの伝送速度は一定
であるため、符号化部(2)における発生情報量を一定
に保つような符号化制御が必要である。このため、所定
の1フレームを符号化する場合、そのフレームの1つ前
に符号化された1フレームの符号化データの発生情報量
(発生値)と目標とする情報量(目標値)とを比較して
その結果により、現在のフレームの符号化による発生情
報量をできるかぎり目標値に近づけるような制御を行っ
ている。
Usually, since the transmission rate of encoded data of the image encoding device is constant, encoding control is required to keep the amount of information generated in the encoding unit (2) constant. Therefore, when a predetermined one frame is encoded, the generated information amount (generated value) of the encoded data of the one frame encoded immediately before that frame and the target information amount (target value) are calculated. Based on the result of comparison, the amount of information generated by encoding the current frame is controlled to be as close to the target value as possible.

一方、1フレーム発生情報量計算手段(4)はすでに符
号化された1フレームの符号化データ(3)の発生情報
量を計算する。
On the other hand, the 1-frame generated information amount calculation means (4) calculates the generated information amount of the already-encoded 1-frame encoded data (3).

そして、求められた1フレーム発生情報量(5)は目標
値/発生値比較手段(8)で目標値(18)と比較され
る。
Then, the obtained one-frame generated information amount (5) is compared with the target value (18) by the target value / generated value comparison means (8).

ここで、目標値は、通常の固定伝送速度の動画像符号化
において、回線速度をv(bit/sec)、1秒あたりの目
標フレーム数をN(frame/sec)、とすると、目標発生
情報量P(bit/frame)は、 P=v/N(bit/frame) となる。
Here, the target value is the target generation information when the line speed is v (bit / sec) and the target number of frames per second is N (frame / sec) in the normal fixed-rate video coding. The quantity P (bit / frame) is P = v / N (bit / frame).

そして、第8図(a)の構成では、制御量(9)は単純
に発生値(7)と目標値(18)との差で求められる。
Then, in the configuration of FIG. 8A, the control amount (9) is simply obtained by the difference between the generated value (7) and the target value (18).

また、第8図(b)の構成では、制御テーブル(20)を
ROM等で構成しているので、第8図(a)の構成よりも
制御特性を工夫することができる。
Further, in the configuration of FIG. 8 (b), the control table (20)
Since it is composed of a ROM or the like, the control characteristics can be devised more than the structure of FIG. 8 (a).

それから、符号化制御部(10)は、符号化部(2)にお
ける発生情報量を所定の情報量制御方法(例えば有効/
無効ブロック識別閾値の増減制御)で制御する。
Then, the coding control unit (10) controls the generated information amount in the coding unit (2) by a predetermined information amount control method (for example, valid / valid).
(Increase / decrease control of the invalid block identification threshold value).

すなわち、入力ビデオ信号(1)は、減算器(22)で前
フレームの複号結果である予測値(35)を減算され、フ
レーム間差分信号となる。さらに、フレーム間差分信号
は有効/無効ブロック識別判定部(23)により有効/無
効ブロック識別判定すなわち所定の大きさにブロック化
されたフレーム間差分信号において、フレーム間差分に
信号が多く残留しているブロックのみを有効と判定して
量子化エンコーダ(24)で量子化し、量子化データ(3
2)を出力するが、無効と判定されたブロックについて
は無効を示す有効/無効ブロック識別判定情報(30)の
みを符号化データとして出力する。
That is, the input video signal (1) is subtracted by the subtractor (22) by the prediction value (35) which is the decoding result of the previous frame, and becomes an inter-frame difference signal. Further, in the inter-frame difference signal, the valid / invalid block identification determination unit (23) determines the valid / invalid block, that is, in the inter-frame difference signal that is blocked into a predetermined size, a large amount of the signal remains in the inter-frame difference. Block that is valid is quantized by the quantization encoder (24) and the quantized data (3
2) is output, but for a block determined to be invalid, only valid / invalid block identification determination information (30) indicating invalid is output as encoded data.

なお、有効/無効の判定は、符号化制御部(10)からの
有効/無効ブロック識別閾値(29)とフレーム間差分信
号ブロックの信号の絶対値平均、標準偏差、平均値等と
の比較により行われる。
The valid / invalid judgment is made by comparing the valid / invalid block identification threshold value (29) from the encoding control unit (10) with the absolute value average, standard deviation, average value, etc. of the signals of the inter-frame difference signal block. Done.

そして、有効ブロックは量子化エンコーダ(24)で量子
化され、量子化データ(32)として多重化部(28)に送
られる。なお、量子化エンコーダ(24)では符号化制御
部(10)からの量子化制御信号(31)により量子化ステ
ップ幅などの量子化特性を変えることで量子化エンコー
ダ(24)における発生情報量を制御することができる。
Then, the effective block is quantized by the quantization encoder (24) and sent to the multiplexing unit (28) as quantized data (32). In the quantization encoder (24), the amount of information generated in the quantization encoder (24) is changed by changing the quantization characteristics such as the quantization step width by the quantization control signal (31) from the encoding control unit (10). Can be controlled.

それから、有効/無効ブロック識別判定情報(30)、量
子化制御信号(31)等の情報は多重化部(28)により多
重化され、符号化データ(3)として符号化部(2)よ
り固定伝送速度回線へ出力される。
Then, information such as valid / invalid block identification determination information (30) and quantization control signal (31) is multiplexed by the multiplexing unit (28) and fixed by the encoding unit (2) as encoded data (3). Output to transmission speed line.

一方、フレーム間符号化における次の予測信号(35)を
得るため、量子化デコーダ(25)は量子化データ(32)
を複号化し、加算器(26)では量子化複号信号(33)と
予測信号(35)が加算されてフレーム間複号信号(34)
に変えられる。
On the other hand, in order to obtain the next prediction signal (35) in the inter-frame coding, the quantization decoder (25) uses the quantized data (32).
Is decoded, and the adder (26) adds the quantized decoding signal (33) and the prediction signal (35) to produce an interframe decoding signal (34).
Can be changed to

さらに、フレーム間複号信号(34)はフレームメモリ
(27)に蓄えられた後に次の予測信号(35)として参照
される。
Further, the inter-frame decoding signal (34) is stored in the frame memory (27) and then referred to as the next prediction signal (35).

また、符号化制御部(10)においては、第10図に示すよ
うに、制御量に対応して有効/無効ブロック識別閾値Δ
Thの増減制御を行っている。例えば、制御量として「2
5」が入力された場合、前閾値を「2」だけ増加した値
を有効/無効ブロック識別閾値とする。
Further, in the encoding control unit (10), as shown in FIG. 10, the valid / invalid block identification threshold Δ corresponding to the control amount.
Increase / decrease control of Th is performed. For example, the controlled variable is "2
When "5" is input, the value obtained by increasing the previous threshold value by "2" is set as the valid / invalid block identification threshold value.

この様にして、前フレームの発生量が低かった場合、次
フレームでは情報発生量を高くし、前フレームの発生量
が高かった場合、次フレームでは情報発生量を低くす
る。
In this way, when the generation amount of the previous frame is low, the information generation amount is increased in the next frame, and when the generation amount of the previous frame is high, the information generation amount is decreased in the next frame.

なお、上述した制御の他にフレームコマ落しの方法を併
用して発生情報量の制御を行うことも多く行われてい
る。
In addition to the control described above, a method of dropping frame frames is often used to control the amount of generated information.

また、上述した制御は、ソフトウエアで実現することも
可能である。
Further, the control described above can also be realized by software.

[発明が解決しようとする課題] ところで、近年、動画像伝送の分野において、可変伝送
速度の伝送が実用化されようとしている。
[Problems to be Solved by the Invention] In recent years, in the field of moving image transmission, transmission at a variable transmission rate is about to be put into practical use.

動画像信号の情報量は、現在一般的に用いられているフ
レーム間予測符号化等を用いるかぎり、画面の中の動き
量に依存する性質がある。このため、固定伝送速度符号
化では、画面の中の動き量が多くなってくると、必然的
に有効/無効ブロック識別閾値をあげたり、量子化ステ
ップ幅を広げたり、コマ落としを入れたり、画像を劣化
させて情報量を均一化せざるをえない。
The amount of information of a moving image signal has a property of depending on the amount of motion in a screen as long as inter-frame predictive coding generally used at present is used. For this reason, in fixed transmission rate coding, when the amount of motion in the screen increases, it is inevitable that the valid / invalid block identification threshold value is increased, the quantization step width is widened, and frame skipping is performed. There is no choice but to deteriorate the image and make the amount of information uniform.

しかし、可変伝送速度符号化では、動画像情報の増大と
共に回線速度が増大するため、画質を落とす必要がなく
動画像伝送には有利である事が知られている。
However, it is known that variable transmission rate encoding is advantageous for moving image transmission because it is not necessary to reduce image quality because the line speed increases with the increase in moving image information.

ところが、第7図に示す符号化制御を可変伝送速度に適
用しても前記のように1フレーム毎の発生情報量を均一
化しようとする制御であるため、発生情報量は第3図
(a)のようになり、可変伝送速度による画質向上のメ
リットは生じなくなってしまうという問題点があった。
However, even if the coding control shown in FIG. 7 is applied to a variable transmission rate, the generated information amount is shown in FIG. ), There is a problem that the merit of improving the image quality by the variable transmission speed does not occur.

また、第7図の構成にて、制御周期を1フレーム毎より
長くしてnフレーム周期またはt秒周期とすると、発生
情報量の変動は大きくなるが、制御が遅れ気味となり、
画質の向上につながらないばかりか、目標とする情報量
への収束性も失ってしまうという問題点があった。
Further, in the configuration of FIG. 7, if the control cycle is made longer than every one frame to be an n-frame cycle or a t-second cycle, the generated information amount fluctuates greatly, but the control tends to be delayed,
There is a problem that not only the image quality is not improved but also the convergence to the target information amount is lost.

さらに、可変伝送速度の効果を利用した画質一定の制御
として、第11図に示す例が考えられる。しかし、この場
合の発生情報量は第3図(b)に示すようになり、発生
情報量は画像の動きのみに依存し、情報量のフィードバ
ック制御はかからないという問題点があった。なお、第
11図中(36)は固定制御部を示す。
Furthermore, an example shown in FIG. 11 can be considered as a control for constant image quality utilizing the effect of the variable transmission rate. However, the generated information amount in this case is as shown in FIG. 3 (b), and the generated information amount depends only on the movement of the image, and there is a problem that feedback control of the information amount is not performed. In addition,
11 (36) shows a fixed control unit.

この発明は上記のような問題点を解消するために成され
たもので、可変伝送速度の回線を使用することにより、
固定伝送速度の回線を用いた従来の制御に比較して画質
が向上し、かつ目標発生情報量を定めることで回線の効
率的な運用が可能な画像符号化制御方式を得ることを目
的とする。
The present invention has been made to solve the above problems, by using a variable transmission rate line,
The object of the present invention is to obtain an image coding control method in which the image quality is improved as compared with the conventional control using a line with a fixed transmission rate, and the target generated information amount is set to enable efficient operation of the line. .

[課題を解決するための手段] この発明に係わる可変伝送速度画像符号化装置は、信号
を符号化する符号化部と、該符号化部により符号化され
た符号化データのうち1フレーム分の発生情報量を計算
する計算手段と、計算手段が計算した発生情報量のうち
所定時間内の発生情報量のみの積算量を求める積算手段
と、積算手段が求めた発生情報量の積算量と該積算量に
応じて予め設定された目標発生情報量とを比較して制御
量を決定する比較手段と、該制御量により符号化を行う
フレームの発生情報量を増減するように符号化部を制御
する制御部とを備えている。そして、符号化部により信
号を1フレームずつ符号化を行うごとに、制御部により
所定時間内の発生情報量が目標発生情報量に近づく様に
フィードバック制御することを特徴とするものである。
[Means for Solving the Problem] A variable transmission rate image coding apparatus according to the present invention includes a coding unit for coding a signal and one frame of the coded data coded by the coding unit. A calculating means for calculating the generated information amount; an integrating means for calculating an integrated amount of only the generated information amount within a predetermined time of the generated information amount calculated by the calculating means; and an integrated amount of the generated information amount calculated by the integrating means, Comparing means for determining a control amount by comparing a target generated information amount set in advance according to the integrated amount, and an encoding unit for increasing or decreasing the generated information amount of a frame to be encoded by the control amount. And a control unit for controlling. Then, every time the encoding unit encodes the signal frame by frame, the control unit performs feedback control so that the generated information amount within a predetermined time approaches the target generated information amount.

[作用] この発明における可変伝送速度画像符号化装置は、符号
化部による1フレームごとの符号化による発生情報量を
積算手段により所定時間にわたって積算し、その積算量
を比較手段により目標値と比較する事によって得た制御
量に基づき制御部がフィードバック制御をかけて次フレ
ームの発生情報を制御する。
[Operation] In the variable transmission rate image encoding device according to the present invention, the amount of information generated by the encoding of each frame by the encoding unit is accumulated for a predetermined time by the accumulating unit, and the accumulated amount is compared with the target value by the comparing unit. The control unit controls the generation information of the next frame by performing feedback control based on the control amount obtained by performing the above.

[実施例] 以下、この発明の一実施例を図にして説明する。[Embodiment] An embodiment of the present invention will be described below with reference to the drawings.

第1図はこの発明の一実施例における画像符号化装置の
構成を示すブロック図である。
FIG. 1 is a block diagram showing the arrangement of an image coding apparatus according to an embodiment of the present invention.

第1図において、(1)は符号化の対象となる画像の入
力ビデオ信号、(2)は入力ビデオ信号(1)を符号化
する符号化部である。
In FIG. 1, (1) is an input video signal of an image to be encoded, and (2) is an encoding unit that encodes the input video signal (1).

(3)は符号化部(2)より出力される符号化データ、
(4)符号化された1フレーム分の符号化データ(3)
の情報量を算出する計算手段としての1フレーム発生情
報量計算手段である。
(3) is encoded data output from the encoding unit (2),
(4) Encoded data for one frame (3)
1 frame generated information amount calculation means as a calculation means for calculating the information amount of.

(5)は1フレーム発生情報計算手段(4)より出力さ
れる1フレーム発生情報量、(6)は過去所定時間(t
秒間)の発生情報量(7)を積算する積算手段のしての
t秒間発生情報量積算手段である。
(5) is the amount of 1-frame generation information output from the 1-frame generation information calculation means (4), and (6) is the past predetermined time (t
The generated information amount accumulating means for t seconds serves as an accumulating means for accumulating the generated information amount (7) for (seconds).

(8)はt秒間発生情報量(7)とt秒間目標発生情報
量との比較を行ってその結果に応じて制御量(9)を出
力する比較手段としての目標値/発生値比較手段であ
り、(10)は制御量に応じて符号化部(2)における次
フレームの発生情報量を制御する制御部のしての符号化
制御部である。
(8) is a target value / occurrence value comparison means as a comparison means for comparing the generated information amount (7) for t seconds with the target generated information amount for t seconds and outputting the control amount (9) according to the result. Yes, (10) is an encoding control unit as a control unit that controls the amount of generated information of the next frame in the encoding unit (2) according to the control amount.

また、第2図は本発明のおけるt秒間発生情報量積算手
段(6)構成を示す図であり、(11)は1フレームごと
に発生情報量を記憶するシフトレジスタ、(12)はシフ
トレジスタに記憶された1フレーム発生情報量をt秒間
分だけ加算する加算器である。
Further, FIG. 2 is a diagram showing the configuration of the generated information amount integrating means (6) for t seconds in the present invention, (11) is a shift register for storing the generated information amount for each frame, and (12) is a shift register. This is an adder for adding the amount of information of one frame generated stored in 1 to t seconds.

ついで、本実施例の作用について説明する。Next, the operation of this embodiment will be described.

第1図において、動画像が連続する入力ビデオ信号
(1)は符号化部(2)において1フレーム(映像フレ
ーム)毎に符号化が行われ、符号化データ(3)が出力
され、符号化データ(3)は伝送または記録される。
In FIG. 1, an input video signal (1) in which moving images are continuous is encoded in an encoding unit (2) for each frame (video frame), and encoded data (3) is output and encoded. The data (3) is transmitted or recorded.

一方、1フレーム発生情報量計算手段(4)はすでに符
号化された1フレームの符号化データ(3)の発生情報
量(5)を計算する。
On the other hand, the 1-frame generated information amount calculation means (4) calculates the generated information amount (5) of the already-encoded encoded data (3) of one frame.

そして、t秒間発生情報量積算手段(6)では、1フレ
ーム発生情報量(5)はシフトレジスタ(11)に入力さ
れ、1フレーム符号化が行われるたびに内容がシフトさ
れる。
Then, in the generated information amount accumulating means (6) for t seconds, the 1-frame generated information amount (5) is input to the shift register (11) and the content is shifted every time 1-frame encoding is performed.

更に、シフトレジスタ(11)の内容は、符号化のたびに
加算器(12)で積算量が求められる。そして、シフトレ
ジスタ(11)の容量はt秒間に符号化されたフレームの
数だけとし、それ以前のデータは順次忘却していく。
Furthermore, the content of the shift register (11) is calculated by the adder (12) every time it is encoded. Then, the capacity of the shift register (11) is limited to the number of frames encoded in t seconds, and the data before that is sequentially forgotten.

それから、求められたt秒間発生情報量(7)は、目標
値/発生値比較手段(8)において、t秒間目標発生情
報量と比較され、制御量(9)が出力される。
Then, the obtained generated information amount (7) for t seconds is compared with the target generated information amount for t seconds in the target value / generated value comparison means (8), and the control amount (9) is output.

さらに、求めた制御量(9)により符号化制御部(10)
は符号化部(2)における発生情報量の制御を行う。
In addition, the encoding control unit (10) uses the obtained control amount (9).
Controls the amount of generated information in the encoding unit (2).

例えば、時刻Tに入力されたビデオ信号を符号化する場
合、t秒間発生情報量を積算するフレームと、積算され
たt秒間発生情報量から得られた制御量により決まる符
号化制御で符号化される制御対象フレームの関係を表す
第4図に示すように、時刻T−tから時刻Tまでの間に
発生した符号化データの発生情報量を積算して制御量を
求める。
For example, when a video signal input at time T is coded, it is coded by a frame for integrating the generated information amount for t seconds and an encoding control determined by a control amount obtained from the integrated information amount generated for t seconds. As shown in FIG. 4 showing the relationship between the control target frames, the control information is obtained by integrating the generated information amount of the coded data generated from the time T-t to the time T.

そして、求められた制御量に応じた符号化制御により、
時刻Tに入力されたビデオ信号の符号化を行う。この際
の発生情報量の変化を第3図(c)に示す。
Then, by the encoding control according to the obtained control amount,
The video signal input at time T is encoded. The change in the amount of generated information at this time is shown in FIG.

ついで、本発明の他の実施例を第5図により説明する。Next, another embodiment of the present invention will be described with reference to FIG.

第5図は、t秒間発生情報量積算手段(6)の構成を示
すブロック図であり、図において(5)は1フレーム発
生情報量、(11)はt秒間に符号化されるフレーム数の
容量を持つシフトレジスタである。
FIG. 5 is a block diagram showing the configuration of the generated information amount accumulating means (6) for t seconds, in which (5) is the generated information amount for one frame and (11) is the number of frames encoded in t seconds. It is a shift register with a capacity.

(13)はシフトレジスタ(11)から読み出される1フレ
ーム発生情報量、(14)は減算器である。
(13) is a 1-frame generation information amount read from the shift register (11), and (14) is a subtractor.

(15)は加算器、(16)はレジスタである。(15) is an adder, and (16) is a register.

そして、1フレーム発生情報量(5)はt秒間に符号化
されるフレーム数の容量を持つシフトレジスタ(11)に
記憶される。それから、シフトレジスタ(11)からは最
も古いデータとしてt秒前の符号化フレームの1フレー
ム発生情報量(13)が読み出され、減算器(14)にて最
新の1フレーム発生情報量(5)から減算される。
Then, the 1-frame generated information amount (5) is stored in the shift register (11) having a capacity of the number of frames encoded in t seconds. Then, the 1-frame generation information amount (13) of the coded frame t seconds ago is read as the oldest data from the shift register (11), and the latest 1-frame generation information amount (5 ) Is subtracted from

更に、減算された結果は、加算器(15)において、前フ
レーム符号化の時点で求めたt秒間発生情報量と加算さ
れ、現在のt秒間発生情報量(7)を得る。そして、求
めたt秒間発生情報量(7)は目標値/発生値比較手段
(8)に送られると共に、レジスタ(16)に記憶され、
次フレーム符号化のときに、前フレーム符号化の時点で
求めたt秒間発生情報量(17)として使用される。
Further, the subtracted result is added to the generated information amount for t seconds obtained at the time of the previous frame encoding in the adder (15) to obtain the generated information amount (7) for the current t seconds. Then, the obtained information amount (7) for t seconds is sent to the target value / occurrence value comparing means (8) and stored in the register (16),
At the time of encoding the next frame, it is used as the generated information amount (17) for t seconds obtained at the time of encoding the previous frame.

なお、上述した実施例では、t秒間発生情報量積算手段
(6)からはt秒間発生情報量を出力したが、t秒間発
生情報量を時間tで除算した結果をt秒間の平均発生情
報量(単位時間)として出力することも可能である。こ
のようにした場合、目標値/発生値比較手段(8)にお
ける目標値は、1秒あたりの目標発生情報量となる。
In the above-mentioned embodiment, the generated information amount for t seconds is output from the generated information amount accumulating means (6) for t seconds, but the result obtained by dividing the generated information amount for t seconds by the time t is the average generated information amount for t seconds. It is also possible to output as (unit time). In this case, the target value in the target value / occurrence value comparison means (8) is the target generated information amount per second.

また、上述した実施例においては、ハードウエアで符号
化制御実現していたが、これい限らず、ソフトウエアで
実現することも可能である。このようにした場合の作用
を第6図のフローチャートに示す。なお、その動作は、
第1図および第5図の動作と同じである。
Further, in the above-mentioned embodiment, the encoding control is realized by hardware, but the invention is not limited to this, and it is also possible to realize by software. The operation in this case is shown in the flowchart of FIG. The operation is
The operation is the same as that shown in FIGS. 1 and 5.

更に、上述した実施例においては、目標発生情報量は固
定を想定して記述したが、これに限らず、回線における
他のメディアの使用状況等により変化させることも可能
である。
Further, in the above-mentioned embodiment, the target generated information amount is described assuming that it is fixed, but the present invention is not limited to this, and it may be changed depending on the usage status of other media in the line.

[発生の効果] 以上のように、この発明によれば、1フレームずつ符号
化を行うごとに、所定時間内の発生情報量の積算量を求
め、発生情報量の積算量と該積算量に応じて予め設定さ
れた目標発生情報量とを比較して得た制御量に基づき、
所定時間内の発生情報量が目標発生情報量に近づく様に
フィードバック制御するように構成したので、短期的な
情報量の増減に制御が影響を受けることが少なく、可変
伝送速度の回線の特性を生かした画質の向上が実現でき
ると共に、目標発生情報量を定めた制御が可能となり、
これにより回線の効率的な運用が可能となる。
[Effect of Occurrence] As described above, according to the present invention, the integrated amount of the generated information amount within a predetermined time is obtained every time the encoding is performed for each frame, and the integrated amount of the generated information amount and the integrated amount are calculated. Based on the control amount obtained by comparing the target generated information amount preset according to
Since it is configured to perform feedback control so that the generated information amount within a predetermined time approaches the target generated information amount, the control is not affected by the short-term increase / decrease of the information amount, and the characteristics of the variable transmission speed line are controlled. It is possible to improve the image quality by making the best use of it, and it becomes possible to control the target amount of generated information.
This enables efficient operation of the line.

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

第1図はこの発明の一実施例による画像符号化装置の構
成を示すブロック図、第2図はt秒間発生情報量積算手
段の構成を示すブロック図、第3図は発生情報量と時刻
との関係を示す説明図、第4図はこの発明の一実施例に
おける画像符号化装置の符号化制御動作を説明する図、
第5図および第6図は本発明の他の実施例を示す図、第
7図は従来の画像符号化装置の構成を示すブロック図、
第8図は目標値/発生値比較手段を示すブロック図、第
9図は符号化部の構成を示すブロック図、第10図は符号
化制御部の動作を説明する図、第11図は第7図の画像符
号化装置を可変伝送速度の回線へ適用する場合の一例を
示したブロック図である。 図中、(2)は符号化部、(3)は符号化データ、
(4)は計算手段、(5)は1フレーム分の発生情報
量、(6)は積算手段、(7)は所定時間内の発生情報
量の積算量、(8)は比較手段、(9)は制御量、(1
0)は制御部である。 なお、図中同一符号は同一または相当部分を示す。
FIG. 1 is a block diagram showing a configuration of an image coding apparatus according to an embodiment of the present invention, FIG. 2 is a block diagram showing a configuration of a generated information amount integrating means for t seconds, and FIG. 3 is a generated information amount and time. 4 is a diagram for explaining the coding control operation of the image coding apparatus in the embodiment of the present invention,
5 and 6 are diagrams showing another embodiment of the present invention, and FIG. 7 is a block diagram showing the configuration of a conventional image coding apparatus,
FIG. 8 is a block diagram showing a target value / occurrence value comparing means, FIG. 9 is a block diagram showing a configuration of an encoding unit, FIG. 10 is a diagram explaining the operation of the encoding control unit, and FIG. FIG. 8 is a block diagram showing an example in which the image coding apparatus of FIG. 7 is applied to a variable transmission rate line. In the figure, (2) is an encoding unit, (3) is encoded data,
(4) is a calculating means, (5) is a generated information amount for one frame, (6) is an integrating means, (7) is an integrated amount of the generated information amount within a predetermined time, (8) is a comparing means, (9) ) Is the controlled variable, (1
0) is a control unit. The same reference numerals in the drawings indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】信号を符号化する符号化部と、該符号化部
により符号化された符号化データのうち1フレーム分の
発生情報量を計算する計算手段と、計算手段が計算した
発生情報量のうち所定時間内の発生情報量のみの積算量
を求める積算手段と、積算手段が求めた発生情報量の積
算量と該積算量に応じて予め設定された目標発生情報量
とを比較して制御量を決定する比較手段と、該制御量に
より符号化を行うフレームの発生情報量を増減するよう
に符号化部を制御する制御部とを備え、前記符号化部に
より信号を1フレームずつ符号化を行うごとに、制御部
により所定時間内の発生情報量が目標発生情報量に近づ
く様にフィードバック制御することを特徴とする可変伝
送速度画像符号化装置。
1. A coding unit for coding a signal, a calculation unit for calculating the amount of generated information for one frame in the coded data coded by the coding unit, and generation information calculated by the calculation unit. Integrating means for obtaining the integrated amount of only the generated information amount within the predetermined time, and the integrated amount of the generated information amount obtained by the integrating means and the target generated information amount preset according to the integrated amount are compared. And a control unit for controlling the encoding unit so as to increase or decrease the amount of generated information of the frame to be encoded according to the control amount. A variable transmission rate image coding apparatus, wherein feedback control is performed by a control unit such that the generated information amount within a predetermined time approaches a target generated information amount every time encoding is performed.
JP1127133A 1989-05-19 1989-05-19 Variable transmission rate image coding device Expired - Fee Related JPH0744686B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1127133A JPH0744686B2 (en) 1989-05-19 1989-05-19 Variable transmission rate image coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1127133A JPH0744686B2 (en) 1989-05-19 1989-05-19 Variable transmission rate image coding device

Publications (2)

Publication Number Publication Date
JPH02305284A JPH02305284A (en) 1990-12-18
JPH0744686B2 true JPH0744686B2 (en) 1995-05-15

Family

ID=14952432

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1127133A Expired - Fee Related JPH0744686B2 (en) 1989-05-19 1989-05-19 Variable transmission rate image coding device

Country Status (1)

Country Link
JP (1) JPH0744686B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3055153B2 (en) * 1990-07-20 2000-06-26 ケイディディ株式会社 Variable rate video coding control method
JP3227674B2 (en) * 1991-06-27 2001-11-12 ソニー株式会社 Video encoding apparatus and method
JP3164647B2 (en) * 1992-06-03 2001-05-08 株式会社東芝 Video coding method and apparatus
JP2611961B2 (en) * 1992-10-09 1997-05-21 東光株式会社 Image data compression transmission method
EP3396954A1 (en) * 2017-04-24 2018-10-31 Axis AB Video camera and method for controlling output bitrate of a video encoder

Also Published As

Publication number Publication date
JPH02305284A (en) 1990-12-18

Similar Documents

Publication Publication Date Title
KR100335052B1 (en) Method for controlling frame-level rate
EP0920214A2 (en) Apparatus and method of coding/decoding moving picture
JPH07112284B2 (en) Predictive encoding device and decoding device
JP4619479B2 (en) Statistical multiplexing system
KR20000023504A (en) Variable bit rate coding apparatus
JP2950065B2 (en) Variable transfer rate coding device
JPH0744686B2 (en) Variable transmission rate image coding device
JP3815665B2 (en) Variable bit rate video encoding apparatus and recording medium
JP3895414B2 (en) Video decoding device
JP3152148B2 (en) Image coding device
WO1999038262A1 (en) Variable-length encoder
JP4254784B2 (en) Moving picture coding apparatus, method and program
JP2000261809A (en) Image coder coping with feature of picture
JPH05308628A (en) Moving image encoder
JP3852209B2 (en) Video signal encoding device
JPH07111653A (en) Encoder
JP4490046B2 (en) Image coding apparatus and image coding method
KR0123243B1 (en) Bit rate control method in a scene conversion
KR100678843B1 (en) Intra-prame qvantomizing system for mpeg encoder and method thereof
JP4443940B2 (en) Image encoding device
KR100949755B1 (en) A method and an apparatus for controlling the rate of a video sequence, a video encoding device
JPH11205791A (en) Image coding method and image encoder
JP4152570B2 (en) Moving picture coding apparatus, moving picture coding method, and recording medium on which moving picture coding program is recorded
JPH11196423A (en) Device and method for picture processing and presentation medium
KR0122746B1 (en) Apparatus for decoding group of picture

Legal Events

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

Free format text: PAYMENT UNTIL: 20080515

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20090515

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees