JPH03247091A - Moving picture differential coding device - Google Patents

Moving picture differential coding device

Info

Publication number
JPH03247091A
JPH03247091A JP2043487A JP4348790A JPH03247091A JP H03247091 A JPH03247091 A JP H03247091A JP 2043487 A JP2043487 A JP 2043487A JP 4348790 A JP4348790 A JP 4348790A JP H03247091 A JPH03247091 A JP H03247091A
Authority
JP
Japan
Prior art keywords
bit width
data
differential
information quantity
section
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
JP2043487A
Other languages
Japanese (ja)
Inventor
Takeshi Murakami
毅 村上
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2043487A priority Critical patent/JPH03247091A/en
Publication of JPH03247091A publication Critical patent/JPH03247091A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make a frame rate constant independently of the movement of picture data by allowing a bit width command section to command a bit width reducing input picture element data to a bit width variable section based on the information quantity per unit time of a differential coding data detected from a buffer memory. CONSTITUTION:A bit width command section 4 commands a bit width reducing an input picture element data to a bit width variable section 1 based on the information quantity per unit time of a differential coding data detected from a buffer memory 3. The information quantity per unit time stored in the buffer memory 3 is detected and the information quantity is compared with the information quantity per preceding unit time and when a current unit time of information quantity is increased, the section 4 commands to increase the reduction of bit number to the bit width variable section 1 and when the current unit time of information quantity is decreased, the section 4 commands to decrease the reduction of bit number to the bit width variable section 1. Thus, when the information quantity subjected to differential coding between frames is increased, the bit number per picture element is decreased to average the information quantity for each frame thereby making the frame rate constant.

Description

【発明の詳細な説明】 [概要〕 ディジタル動画像の画像情報を差分符号化して記憶装置
に送出する動画像差分符号化装置に関し、画像データの
動き量に関係なく、フレーム・レートを一定にして記憶
装置に出力する動画像差分符号化装置の実現を目的とし
、 ビット幅指示部と、上記ビット幅指示部の制御により入
力画素データのビット幅を削減して出力するビット幅可
変部と、前記ビット幅可変部から入力される画素データ
のビット数に合わせて予測値のビット数を補正するビッ
ト幅整合部を有し、フレーム間の差分符号データを生成
して出力する差分符号化部と、前記差分符号化部より出
力される差分符号データを格納して出力するパンファメ
モリとを備え、前記ビット幅指示部は、前記ハンファメ
モリより検出される差分符号データの単位時間当たりの
情報量に基づいてビット幅可変部に入力画素データの削
減するビット幅を指示するよう構成する。
[Detailed Description of the Invention] [Summary] A moving picture differential encoding device that differentially encodes image information of a digital moving picture and sends the differentially encoded image information to a storage device maintains a constant frame rate regardless of the amount of movement of image data. The object of the present invention is to realize a video differential encoding device that outputs to a storage device, and includes a bit width instruction section, a bit width variable section that reduces the bit width of input pixel data and outputs it under the control of the bit width instruction section; a differential encoding unit that has a bit width matching unit that corrects the number of bits of a predicted value in accordance with the number of bits of pixel data input from the bit width variable unit, and that generates and outputs differential code data between frames; a breadthreader memory that stores and outputs the differential code data output from the differential encoder; Based on this, the bit width variable unit is configured to instruct the bit width to be reduced in the input pixel data.

(産業上の利用分野〕 本発明はディジタル動画像の画像情報を差分符号化して
記憶装置に送出する動画像差分符号化装置に関する。
(Industrial Application Field) The present invention relates to a moving picture differential encoding device that differentially encodes image information of a digital moving picture and sends the differentially encoded image information to a storage device.

近年、コンピュータ・システムのマルチメディア化の要
求に伴い、コンピュータ・システムで動画像をディジタ
ル画像情報で扱うことが要求されている。このため、ビ
デオ信号等のアナログ画像情報をディジタル画像情報に
変換する装置が提供されているが、ディジタル画像の情
報量は非常に大きいためこれをそのままデータ転送した
場合は転送時間が多くかかり、特に磁気ディスク等の低
速大容量の記憶装置に格納する場合には非常に格納速度
が遅いため、このディジタル画像情報を差分符号化する
ことにより情報量を圧縮する動画像差分符号化装置が用
いられる。
In recent years, with the demand for multimedia computer systems, there has been a demand for computer systems to handle moving images as digital image information. For this reason, devices are provided that convert analog image information such as video signals into digital image information, but since the amount of information in digital images is extremely large, it takes a long time to transfer data as it is. Since the storage speed is extremely slow when storing in a low-speed, large-capacity storage device such as a magnetic disk, a moving image differential encoding device is used that compresses the amount of information by differentially encoding this digital image information.

〔従来の技術〕 動画像情報の2つのフレームの間では対応する位置にあ
る画素は一般に非常に偵通った値を持つ。
[Prior Art] Pixels at corresponding positions between two frames of moving image information generally have very uniform values.

動画像差分符号化装置はこのようなフレーム間の画素間
の相関を利用して、フレーム間の差分を符号化した情報
を生成して送出することにより情報量を圧縮するもので
ある。
A video differential encoding device compresses the amount of information by generating and transmitting information in which the difference between frames is encoded by utilizing such correlation between pixels between frames.

第8図を用いて従来の差分符号化器による画像データの
差分符号化と、外部記憶装置のデータの格納を説明する
Differential encoding of image data by a conventional differential encoder and storage of data in an external storage device will be explained using FIG.

第8図(a)は従来の動画像差分符号化器の構成を示す
ブロック図である。図中、7は差分符号化部であり、7
1の減算器と、72の量子化器と、73の逆量子化器と
、74の加算器と、75の1フレームの画像を蓄積して
1フレーム前の画素データの値を予測値として送出する
フレームメモリと、76の量子化された画素データの値
より符号化する符号化器とにより構成されている。
FIG. 8(a) is a block diagram showing the configuration of a conventional moving picture differential encoder. In the figure, 7 is a differential encoding unit;
The subtracter 1, the quantizer 72, the inverse quantizer 73, the adder 74, and the 1-frame image 75 are accumulated and the value of the pixel data of the previous frame is sent as a predicted value. The pixel data is composed of a frame memory and an encoder that encodes the values of 76 quantized pixel data.

第8図の動画像差分符号化装置の動作を説明すると、入
力される画像情報の各画素のデータ値と後述する方法に
より求まる予測値との差を減算器71により求め、これ
を量子化器72により量子化した画素データが出力され
る。
To explain the operation of the moving image differential encoding device shown in FIG. 72 outputs quantized pixel data.

この量子化した画素データは符号化器76に入力される
とともに、逆量子化器73にも入力されて逆量子化し、
フレームメモリ75によって1フレ一ム分遅延させた予
測値と加算器74で加算して、この値はフレームメモリ
75に入力される。
This quantized pixel data is input to the encoder 76, and is also input to the dequantizer 73, where it is dequantized.
The predicted value delayed by one frame by the frame memory 75 is added by the adder 74, and this value is input to the frame memory 75.

フレームメモリ75から出力される予測値は上記のよう
に減算器73に入力される。
The predicted value output from the frame memory 75 is input to the subtracter 73 as described above.

上記の符号化器76では入力される量子化画素データの
値によりこれを符号化して出力する。
The encoder 76 encodes the input quantized pixel data according to its value and outputs the encoded data.

この出力は情報量が大きい画像データを格納することが
できる磁気ディスク等の大容量の記憶装置に格納される
This output is stored in a large-capacity storage device such as a magnetic disk that can store image data with a large amount of information.

第8図[有])は(a)図で示した差分符号化器7と記
憶装置8との接続を示す図である。記憶装置8は上述の
ように磁気ディスク等の低速大容量の記憶媒体よりなり
、差分符号化器7とはデータ圧縮器6を介して接続され
ている。
FIG. 8(a) is a diagram showing the connection between the differential encoder 7 and the storage device 8 shown in FIG. 8(a). As mentioned above, the storage device 8 is composed of a low-speed, large-capacity storage medium such as a magnetic disk, and is connected to the differential encoder 7 via the data compressor 6.

これは現フレームと前フレームとの間で変化が無い部分
、即ち動きが無かった部分では差分をとるとゼロになる
。フレーム全体の動きが少ない場合はフレーム相関が高
くなり、差分をとったゼロが続くことになるので、この
ゼロのデータが続く部分を圧縮することにより、さらに
データ量を削減することができる。
This means that if there is no change between the current frame and the previous frame, that is, there is no movement, the difference will be zero. If there is little movement in the entire frame, the frame correlation will be high and zeros will continue after taking the difference, so by compressing the portion where the zero data continues, the amount of data can be further reduced.

〔発明が解決しようとする課H] 上記のように差分符号化した値をデータ圧縮器7で圧縮
する際には、動きが大きい場合にはフレーム間の相関が
小さくなり、ゼロが続かなくなる。
[Problem H to be Solved by the Invention] When the data compressor 7 compresses the differentially encoded values as described above, when the motion is large, the correlation between frames becomes small and zeros do not continue.

すなわち現フレームの情報量が増大することになり、フ
レーム毎のデータ転送時間であるフレーム・レートが一
定でなくなる。
In other words, the amount of information in the current frame increases, and the frame rate, which is the data transfer time for each frame, is no longer constant.

このためアクセスが低速である記憶装置では記憶が追い
つかなくなってしまうという問題点かあった。
For this reason, there was a problem in that a storage device with slow access speed could not keep up with the storage capacity.

本発明は画像データの動き量に関係なく、フレーム・レ
ートを一定にして記憶装置に出力する差分符号化装置の
実現を目的とする。
An object of the present invention is to realize a differential encoding device that outputs image data to a storage device at a constant frame rate regardless of the amount of movement of the image data.

〔課題を解決するための手段〕[Means to solve the problem]

上記の課題を解決するために、本発明の動画像差分符号
化装置は、 ビット幅指示部4と、 上記ビット幅指示部の制御により入力画素データのビッ
ト幅を削減して出力するビット幅可変部lと、 前記ビット幅可変部1から入力される画素データのビッ
ト数に合わせて予測値のビット数を補正するビット幅整
合部20を有し、フレーム間の差分符号データを生成し
て出力する差分符号化部2と、前記差分符号化部2より
出力される差分符号データを格納して出力するバッファ
メモリ3とを備え、 前記ビット幅指示部4は、前記バッファメモリ3より検
出される差分符号データの単位時間当たりの情報量に基
づいてビット幅可変部1に入力画素データの削減するビ
ット幅を指示するようにしたものである。
In order to solve the above problems, the video differential encoding device of the present invention includes a bit width instruction section 4, and a variable bit width that reduces the bit width of input pixel data and outputs it under the control of the bit width instruction section. and a bit width matching unit 20 that corrects the number of bits of the predicted value according to the number of bits of the pixel data input from the bit width variable unit 1, and generates and outputs differential code data between frames. and a buffer memory 3 that stores and outputs the differential code data output from the differential encoder 2, and the bit width specifying unit 4 is configured to detect the bit width from the buffer memory 3. The bit width variable unit 1 is instructed to reduce the bit width of the input pixel data based on the amount of information per unit time of the differential code data.

〔作用〕[Effect]

即ち本発明の動画像記憶装置は、フレーム間の差分符号
化した情報量が増大した場合には画素当たりのビット数
を減らすことにより、フレーム毎の情報量を平均化して
、フレーム・レートが一定化される。
In other words, the video storage device of the present invention reduces the number of bits per pixel when the amount of differentially encoded information between frames increases, thereby averaging the amount of information for each frame and maintaining a constant frame rate. be converted into

バッファ・メモリに蓄積される単位時間あたりの情報量
を検出して、この情報量と前単位時間当たりの情報量と
比較し、現単位時間当たりの情報量が増大した場合はビ
ット幅可変部にビット数の削減量を増やす様に指示し、
減少した場合はビット数の削減量を減らすように指示す
る。
The amount of information accumulated in the buffer memory per unit time is detected, and this amount of information is compared with the amount of information per unit time before. If the amount of information per unit time has increased, the amount of information stored in the bit width variable section is Instruct to increase the amount of bit reduction,
If the number of bits has decreased, an instruction is given to reduce the amount of reduction in the number of bits.

〔実施例〕〔Example〕

以下、第2図より第7図を用いて本発明の一実施例を説
明する。
Hereinafter, one embodiment of the present invention will be described using FIGS. 2 to 7.

第2図は本発明の一実施例を示すブロック図である。図
中、第1図と同一の構成要件は同一の符号を付して示す
FIG. 2 is a block diagram showing one embodiment of the present invention. In the figure, the same components as in FIG. 1 are indicated with the same reference numerals.

5はカウンタであって、画素データの数をカウントする
ことにより、1フレームの区切りを検出するものである
。1は本実施例におけるビット幅可変部をなすビット・
スライサである。
Reference numeral 5 denotes a counter, which detects the break of one frame by counting the number of pixel data. 1 is a bit that forms the bit width variable part in this embodiment.
It's a slicer.

2は差分符号化部であり、上記従来技術にて説明した差
分符号化器と同様に設けている減算器21、量子化器2
2、逆量子化器23、加算器24、フレームメモリ25
、符号化器26の他に、新たに入力される画素データの
ビット数に合わせて予測値のビット数を補正するビット
幅整合部20を設けている。
Reference numeral 2 denotes a differential encoding unit, which includes a subtracter 21 and a quantizer 2, which are provided similarly to the differential encoder described in the above-mentioned conventional technology.
2, inverse quantizer 23, adder 24, frame memory 25
In addition to the encoder 26, a bit width matching unit 20 is provided which corrects the number of bits of the predicted value in accordance with the number of bits of newly input pixel data.

3はバッファメモリ部であり、データ圧縮部6より送出
されるデータを格納して、記憶装置に出力する。記憶装
置は磁気ディスク等の低速大容量である記憶媒体を用い
るため、データ圧縮部からのデータ転送速度に対してア
クセス時間が遅い。
Reference numeral 3 denotes a buffer memory section which stores the data sent out from the data compression section 6 and outputs it to the storage device. Since the storage device uses a low-speed, large-capacity storage medium such as a magnetic disk, the access time is slow compared to the data transfer speed from the data compression unit.

二のためバッファメモリ部3はバッファメモリを2面持
ち、一方にデータを書き込んでいる間に、他方から以前
に書かれたデータを読みこんで記憶袋fに出力し、一つ
のバッファからの転送が完了したらバッファを切り換え
る方式をとっている。
For this reason, the buffer memory section 3 has two buffer memories, and while data is being written to one side, data previously written is read from the other side and output to the memory bag f, so that data cannot be transferred from one buffer. The method is to switch the buffers once the process is complete.

また4はバッファメモリ部3に格納される差分符号デー
タの単位時間当たりの情報量を検出して、当該単位時間
当たりの情報量の前の単位時間当たりの情報量に対する
増減によりビット幅可変部1に入力画素データの削減す
るビット幅を指示するビット幅指示部であり、具体的に
はマイクロプロセッサユニット(MPU)が用いられる
。このMPUは装置の制御部としても動作し、後述する
ように装置の各部の制御を行う。
Further, 4 detects the amount of information per unit time of the differential code data stored in the buffer memory section 3, and changes the amount of information per unit time from the previous amount of information to the bit width variable section 1. This is a bit width instructing unit that instructs the bit width to be reduced in input pixel data, and specifically, a microprocessor unit (MPU) is used. This MPU also operates as a control section of the device, and controls each section of the device as described later.

以下、本実施例の動画像符号差分装置における画像デー
タの処理を説明する。
The processing of image data in the video code difference apparatus of this embodiment will be described below.

第3図は本実施例における画像データの形式である。本
実施例では図のようにROBデータを取り扱うものとす
る。そしてこのRGBデータはRプレーン、Gプレーン
、Bプレーンがそれぞれ独立しており、それぞれの画像
データは1画素あたり8ビツトの情報量を持つ。即ちR
GBデータ全体では1画素あたり24ビツトの情報量を
持つものである。そして入力されるRGBデータは先ず
R(8ビツト)のみ1フレーム、次にG(8ビツト)の
み、B(8ビット)のみというように、独立したプレー
ン毎に送られてくる。
FIG. 3 shows the format of image data in this embodiment. In this embodiment, it is assumed that ROB data is handled as shown in the figure. This RGB data has an independent R plane, G plane, and B plane, and each image data has an information amount of 8 bits per pixel. That is, R
The entire GB data has an information amount of 24 bits per pixel. The input RGB data is first sent in one frame only for R (8 bits), then only for G (8 bits), then only for B (8 bits), and so on for each independent plane.

上記形式の画像データはまずカウンタ5に入力され、ニ
ブレーンおよび1フレームの区切りを検出して、これを
MPU4に通知する。
Image data in the above format is first input to the counter 5, which detects the nib lane and one frame break and notifies the MPU 4 of this.

カウンタ5より出力される画像データはビット・スライ
サ1に入力されて画素毎にビット幅が削減される。この
削減する幅はMPU4の制御情報(ビット幅指定)に従
う。本実施例においては1画素あたり24ビツト(RG
B各8ビット)のビット幅を、18ビット(RGB各6
ビツト)、15ビツト(RGB各5ビット)、および1
2ビツト(R(1;B各4ビット)のいずれかにする。
The image data output from the counter 5 is input to the bit slicer 1, where the bit width is reduced for each pixel. The width to be reduced depends on the control information (bit width designation) of the MPU 4. In this example, 24 bits (RG
The bit width of B (8 bits each) is changed to 18 bits (6 each of RGB).
bit), 15 bits (5 bits each for RGB), and 1
2 bits (R(1; B each 4 bits).

このビット幅の削減は第4図に示すようにRGBデータ
のそれぞれの下位ビットを切り捨てることにより行われ
る。この削減量は1フレームでは同一であって変化しな
い。
This bit width reduction is performed by cutting off the lower bits of each of the RGB data, as shown in FIG. This reduction amount is the same for one frame and does not change.

ビット・スライサよりビット幅が削減された画像データ
は差分符号化部2に入力される。差分符号化部の動作は
従来技術の差分符号化器と原則として同一であるが、フ
レームメモリ25に格納されている前フレームの画像デ
ータと現フレームの画像データとIDk画素あたりのビ
ット幅は違う場合があるので、単純に差分をとることは
できない。
The image data whose bit width has been reduced by the bit slicer is input to the differential encoding unit 2. The operation of the differential encoding unit is basically the same as that of the conventional differential encoder, but the image data of the previous frame and the image data of the current frame stored in the frame memory 25 have different bit widths per IDk pixel. Therefore, it is not possible to simply calculate the difference.

そこでビット幅整合部20によってフレームメモリ25
より出力される前フレームの画像データのビット幅と現
フレームの画像データとの1画素あたりのビット幅とを
整合をとって予測値として出力する。即ち第5図(a)
に示すように現フレームの1画素当たりのビット数を増
やした場合は予測値の下位ビットを補関し、第5図(ト
))に示すようにビット数を減らした場合には下位のビ
ットを削除する。
Therefore, the frame memory 25 is
The bit width of the image data of the previous frame outputted from the image data of the current frame is matched with the bit width per pixel of the image data of the current frame, and the result is output as a predicted value. That is, Fig. 5(a)
If the number of bits per pixel of the current frame is increased as shown in Figure 5 (G), the lower bits of the predicted value are interpolated, and if the number of bits is decreased as shown in Figure 5 (g)), the lower bits are interpolated. delete.

このようにしてビット幅整合部より出力される予測値は
減算器21に入力されて現フレームの画像データと差分
をとる。差分をとった減算器21の出力は量子化器22
にて量子化され、さらに符号化器26にて符号化される
The predicted value output from the bit width matching section in this manner is input to the subtracter 21, and the difference is calculated from the image data of the current frame. The output of the subtracter 21 that takes the difference is sent to the quantizer 22
The signal is quantized by the encoder 26, and further encoded by the encoder 26.

この量子化および符号化処理の例を第6図に示す。図に
示すように量子化器22は3種類の量子化特性を有して
いる。この量子化特性は人カビソト数により切り換えら
れる。この量子化器はROMで実現されており、入力ビ
ツト幅によってMPU4の制御によりアドレス指定する
ことにより切り換えが行われ、入力値ごとに量子化した
代表値を出力する。またこの代表値は符号化器26によ
り符号化される。この符号化器26もMPU4の制御に
より3種類の符号化特性を用いて入力されう代表値の符
号化を行う。この量子化および符号化処理によってビッ
ト幅可変部1のビット幅削減量に合わせて1画素当たり
の情報量が削減される。
An example of this quantization and encoding processing is shown in FIG. As shown in the figure, the quantizer 22 has three types of quantization characteristics. This quantization characteristic is switched by the Hitokabisoto number. This quantizer is realized by a ROM, and switching is performed by addressing according to the input bit width under the control of the MPU 4, and outputs a quantized representative value for each input value. Further, this representative value is encoded by the encoder 26. This encoder 26 also encodes the input representative value using three types of encoding characteristics under the control of the MPU 4. Through this quantization and encoding processing, the amount of information per pixel is reduced in accordance with the bit width reduction amount of the bit width variable section 1.

差分符号化部2より出力される差分符号化データはさら
にデータ圧縮部6により圧縮されて情報量を小さくする
The differential encoded data output from the differential encoder 2 is further compressed by the data compressor 6 to reduce the amount of information.

現フレームと前フレームにおいて動きが無かった部分は
差分をとるとゼロになる。そこでデータ圧縮部6では入
力されるデータがゼロであるかどうか、またゼロが何個
続くかを判別してゼロが続く部分を圧縮する。
If there is no movement between the current frame and the previous frame, the difference will be zero. Therefore, the data compression unit 6 determines whether the input data is zero and how many consecutive zeros there are, and compresses the portion where zeros continue.

このデータ圧縮部6によるデータ圧縮処理を第7図を用
いて説明する。第7図(a)はデータ圧縮部6にて取り
扱うデータの入力と出力の一例を示しており、ここでは
入力される差分符号化データは(1プレーン当たり)1
画素4ビット幅である。
The data compression process by the data compression unit 6 will be explained using FIG. 7. FIG. 7(a) shows an example of the input and output of data handled by the data compression unit 6, where the input differential encoded data is 1 (per plane).
The width of each pixel is 4 bits.

また第7図(b)はデータ圧縮処理を示すフローチャー
トである。
Further, FIG. 7(b) is a flowchart showing data compression processing.

つまりデータ圧縮部6は入力されるデータを画素毎にゼ
ロであるか否かを判定して、ゼロが検出された場合はゼ
ロの画素の数をカウントする。
That is, the data compression unit 6 determines whether the input data is zero for each pixel, and if zero is detected, counts the number of zero pixels.

そしてゼロでない場合は一つ前の画素がゼロでなければ
そのままこの画素データを出力し、また一つ前がゼロの
画素であるならばそれまでカウントしてきたゼロの画素
の数を出力する。
If it is not zero, if the previous pixel is not zero, this pixel data is output as is, and if the previous pixel is zero, the number of zero pixels counted so far is output.

データ圧縮部6より出力されるデータはバッファメモリ
部3に一旦蓄えられる。バッファメモリ部3は前述のよ
うにハソファメモリを2面持つ構成としている。これは
出力光の記憶装置は磁気ディスク等の低速大容量である
記憶媒体であるため、データ圧縮部6からのデータ転送
速度に対してアクセス時間が遅いので、一方のバッファ
メモリにデータを書き込んでい′る間に、他方のバッフ
ァメモリから以前に書かれたデータを読みこんで記憶装
置に送出し、一つのバッファからの転送が完了したらバ
ッファを切り換えるという方式を用いるためである。
The data output from the data compression section 6 is temporarily stored in the buffer memory section 3. As described above, the buffer memory section 3 has a structure having two sides of sofa memories. This is because the storage device for the output light is a low-speed, large-capacity storage medium such as a magnetic disk, so the access time is slow compared to the data transfer speed from the data compression unit 6, so data is written to one buffer memory. This is because a system is used in which previously written data is read from the other buffer memory and sent to the storage device while the data is being transferred, and when the transfer from one buffer is completed, the buffer is switched.

前述のように1フレーム当たりのデータ量は、ビット幅
と動き量により変化するので、ハシファメモリ部3は1
フレ一ム分のデータが書き込まれた時点でそのデータ量
をMPU4に通知する。MPU4は、現フレームの情報
量と保持している前フレームの情報量とを比較して、ビ
ット幅可変部1に次のフレームの1画素あたりのビット
幅を現フレームより大きくするか、小さくするか、その
ままとするかを指示する。またMPU4は格納するフレ
ームが1画素当たり何ビットに圧縮したかを示すデータ
を当該フレームの先頭に付加してノ\ッファメモリ3に
書き込む。これは記憶装置に格納されたデータを使用す
る際に1画素当たりのビット数が必要となるためである
As mentioned above, the amount of data per frame varies depending on the bit width and the amount of motion, so the Hashifah memory section 3
When one frame's worth of data is written, the amount of data is notified to the MPU 4. The MPU 4 compares the amount of information of the current frame with the amount of information of the previous frame held, and instructs the bit width variable section 1 to make the bit width per pixel of the next frame larger or smaller than the current frame. or leave it as is. Furthermore, the MPU 4 adds data indicating how many bits per pixel the frame to be stored has been compressed to the beginning of the frame and writes it into the buffer memory 3. This is because the number of bits per pixel is required when using data stored in a storage device.

なお前フレームとの比較をとるのではなく、現フレーム
の情報量の値と対応する闇値を基準にビット幅を指定す
るようにしても良い。
Instead of comparing with the previous frame, the bit width may be specified based on the darkness value corresponding to the information amount value of the current frame.

このように、フレーム毎の情報量、即ち動きの量に対応
して次のフレームの1画素あたりのビット幅を変えて、
フレーム当たりの情報量を一定化することが出来る。
In this way, the bit width per pixel of the next frame is changed according to the amount of information in each frame, that is, the amount of movement.
The amount of information per frame can be made constant.

〔発明の効果] 以上説明したように、本発明によれば、予めビット幅を
可変とすることによりフレーム当たりの情報量を一定と
することが可能となるため、被写体の動き量に関係なく
フレーム・レートが一定となる。よって低速大容量の記
憶装置を用いて画像データの記憶が可能となり、実用上
の効果が大きい。
[Effects of the Invention] As explained above, according to the present invention, by making the bit width variable in advance, it is possible to keep the amount of information per frame constant.・The rate remains constant. Therefore, it becomes possible to store image data using a low-speed, large-capacity storage device, which has a great practical effect.

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

第1図は本発明の原理説明図、 第2図は本発明の一実施例の構成を示すブロック図、 第3図は本実施例で扱う画像データの形式を示す図、 第4図はビット幅の削減方法を示す説明図、第5図はビ
ット幅整合処理を示す説明図、第6図は本実施例におけ
る画像データの量子化および符号化処理の一例を示す図
、 第7図はデータの圧縮処理の説明図、 第8図は従来技術の動画像差分符号化装置を示す図であ
る。 図において、 1 ・・・ ビット幅可変部、 2 ・・・ 差分符号化部 3 ・・・ バッフ゛アメモリ部、 4 ・・・ ビット幅指示部(MPU)、20−・・ 
 ビット幅整合部である。 不発日月の原理図 第 図 画イ橡データの形式を示T図 第 関 ビット幅のち11減を示す説明図 第 凹 (α)ビット幅す1刀01) (b)ビ・・、ト巾給肖1jし戚時 ビット幅整合処理Σ示す説明図 糖 霞 量子化および符号イし処理の一例を示1固気 関 久方データ 0011 010 000000000000000000[)00110
(α)テ゛−夕の入力と出力の イ列 テ゛−夕の圧縮史理の説明図 ワ5 (α)差分「−■ヒ混の構成 (b)舛豹予層ト舌イAと8こ肩獣謝l胃lヒのt臣額
牝従来技(村の説明図 第 図
Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 is a block diagram showing the configuration of an embodiment of the invention, Fig. 3 is a diagram showing the format of image data handled in this embodiment, and Fig. 4 is a bit diagram. FIG. 5 is an explanatory diagram showing a width reduction method, FIG. 5 is an explanatory diagram showing bit width matching processing, FIG. 6 is a diagram showing an example of image data quantization and encoding processing in this embodiment, and FIG. 7 is a data FIG. 8 is a diagram showing a conventional moving image differential encoding device. In the figure, 1...Bit width variable unit, 2...Differential encoding unit 3...Buffer memory unit, 4...Bit width instruction unit (MPU), 20-...
This is a bit width matching section. Principle diagram of the unexploded date and month 1st drawing I show the format of the data An explanatory diagram showing an example of the bit width matching process Σ when the bit width is matched.
(α) An explanatory diagram of the compression history of the input and output rows of the data rows. Shoulder animal

Claims (1)

【特許請求の範囲】 ディジタル動画像の画像信号をフレーム間で差分符号化
を行う動画像差分符号化装置であって、ビット幅指示部
(4)と、 上記ビット幅指示部の制御により入力画素データのビッ
ト幅を削減して出力するビット幅可変部(1)と、 前記ビット幅可変部(1)から入力される画素データの
ビット数に合わせて予測値のビット数を補正するビット
幅整合部(20)を有し、フレーム間の差分符号データ
を生成して出力する差分符号化部(2)と、 前記差分符号化部(2)より出力される差分符号データ
を格納して出力するバッファメモリ(3)とを備え、 前記ビット幅指示部(4)は、前記バッファメモリ(3
)より検出される差分符号データの単位時間当たりの情
報量に基づいてビット幅可変部(1)に入力画素データ
の削減するビット幅を指示することを特徴とする動画像
差分符号化装置。
[Scope of Claims] A video differential encoding device that differentially encodes an image signal of a digital video between frames, comprising: a bit width instruction section (4); and an input pixel under control of the bit width instruction section A bit width variable unit (1) that reduces the bit width of data and outputs it; and a bit width matching unit that corrects the number of bits of a predicted value according to the number of bits of pixel data input from the bit width variable unit (1). a differential encoding unit (2) that generates and outputs differential encoded data between frames; and a differential encoder (2) that stores and outputs the differential encoded data output from the differential encoder (2). a buffer memory (3), the bit width instruction section (4) includes a buffer memory (3);
) A moving picture differential encoding device characterized in that the bit width variable unit (1) is instructed to reduce the bit width of input pixel data based on the information amount per unit time of the differential encoded data detected by the bit width variable unit (1).
JP2043487A 1990-02-23 1990-02-23 Moving picture differential coding device Pending JPH03247091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2043487A JPH03247091A (en) 1990-02-23 1990-02-23 Moving picture differential coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2043487A JPH03247091A (en) 1990-02-23 1990-02-23 Moving picture differential coding device

Publications (1)

Publication Number Publication Date
JPH03247091A true JPH03247091A (en) 1991-11-05

Family

ID=12665079

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2043487A Pending JPH03247091A (en) 1990-02-23 1990-02-23 Moving picture differential coding device

Country Status (1)

Country Link
JP (1) JPH03247091A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005045800A (en) * 2003-07-18 2005-02-17 Samsung Electronics Co Ltd Image encoding and decoding apparatus and method, and computer readable recording medium

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005045800A (en) * 2003-07-18 2005-02-17 Samsung Electronics Co Ltd Image encoding and decoding apparatus and method, and computer readable recording medium
JP2011072022A (en) * 2003-07-18 2011-04-07 Samsung Electronics Co Ltd Video encoding and decoding apparatus and method, and computer readable recording medium
JP4722424B2 (en) * 2003-07-18 2011-07-13 三星電子株式会社 Video encoding and decoding apparatus and method, and computer-readable recording medium
US8270474B2 (en) 2003-07-18 2012-09-18 Samsung Electronics Co., Ltd. Image encoding and decoding apparatus and method
US8345748B2 (en) 2003-07-18 2013-01-01 Samsung Electronics Co., Ltd. Image encoding and decoding apparatus and method
JP2013078137A (en) * 2003-07-18 2013-04-25 Samsung Electronics Co Ltd Video encoding and decoding apparatus, method of the same, and computer readable recording medium
JP2014195262A (en) * 2003-07-18 2014-10-09 Samsung Electronics Co Ltd Image decoding method
JP2015006006A (en) * 2003-07-18 2015-01-08 三星電子株式会社Samsung Electronics Co.,Ltd. Image decoding method
US9042443B2 (en) 2003-07-18 2015-05-26 Samsung Electronics Co., Ltd. Image encoding and decoding apparatus and method
US9042442B2 (en) 2003-07-18 2015-05-26 Samsung Electronics Co., Ltd. Image encoding and decoding apparatus and method
JP2015201892A (en) * 2003-07-18 2015-11-12 三星電子株式会社Samsung Electronics Co.,Ltd. video decoding method
JP2016007014A (en) * 2003-07-18 2016-01-14 三星電子株式会社Samsung Electronics Co.,Ltd. Video decoder
US9706215B2 (en) 2003-07-18 2017-07-11 Samsung Electronics Co., Ltd. Image encoding and decoding apparatus and method
US9706216B2 (en) 2003-07-18 2017-07-11 Samsung Electronics Co., Ltd. Image encoding and decoding apparatus and method
US9729892B2 (en) 2003-07-18 2017-08-08 Samsung Electronics Co., Ltd. Image encoding and decoding apparatus and method
US9961356B2 (en) 2003-07-18 2018-05-01 Samsung Electronics Co., Ltd. Image encoding and decoding apparatus and method
US10602172B2 (en) 2003-07-18 2020-03-24 Samsung Electronics Co., Ltd. Image encoding and decoding apparatus and method

Similar Documents

Publication Publication Date Title
EP0551599B1 (en) Motion picture data decoding system
EP0899959B1 (en) Image data coding and restoring method and apparatus for coding and restoring the same
JP3419497B2 (en) Video compression method and decompression method and apparatus for fixing bits
KR100225542B1 (en) Method and apparatus for image signal encoding
EP1787262B1 (en) Video pre-processing before encoding and corresponding post-processing after decoding
EP0626789B1 (en) Encoding apparatus for adaptively encoding video image data separately according to their priorities
JPH06121275A (en) Till camera
US6016365A (en) Decoder having adaptive function of eliminating block effect
US5892881A (en) Method and apparatus for transmitting dubbing data of digital VTR
JP3227674B2 (en) Video encoding apparatus and method
JPH03247091A (en) Moving picture differential coding device
KR100420620B1 (en) Object-based digital video recording system)
US6393058B1 (en) Moving picture coding system having a quantizer controlled in accordance with amount of motion between successsive frames
JP3258036B2 (en) Video storage device
JP3345475B2 (en) Image data encoding method and restoration method and apparatus
JPH03139083A (en) Dynamic image encoding device
JP3799842B2 (en) Static video detection method and apparatus
JPS62108687A (en) Picture signal encoding parameter control system
JPH0738894A (en) Image encoding device
JP2509164B2 (en) Video signal coding method
JPH05234261A (en) Recording system for digital vtr and device therefor
JPH09214772A (en) Compressor for still image data
JPH04220875A (en) Encoding device for picture data
JPH05316465A (en) Digital recorder
KR19990058626A (en) MPEG decoder