JPH09200742A - Image processor - Google Patents

Image processor

Info

Publication number
JPH09200742A
JPH09200742A JP34322895A JP34322895A JPH09200742A JP H09200742 A JPH09200742 A JP H09200742A JP 34322895 A JP34322895 A JP 34322895A JP 34322895 A JP34322895 A JP 34322895A JP H09200742 A JPH09200742 A JP H09200742A
Authority
JP
Japan
Prior art keywords
buffer
control information
buffer control
unit
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.)
Pending
Application number
JP34322895A
Other languages
Japanese (ja)
Inventor
Akira Yamauchi
暁 山内
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.)
Texas Instruments Inc
Original Assignee
Texas Instruments 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 Texas Instruments Inc filed Critical Texas Instruments Inc
Priority to JP34322895A priority Critical patent/JPH09200742A/en
Publication of JPH09200742A publication Critical patent/JPH09200742A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable image processing suitable for real-time processing by inputting dummy data for which timing control is performed based on buffer control information. SOLUTION: Based on a compressibility parameter from an occupation rate detection part 8, input image information is compressed at an image compression part 5, converted to a variable length code VLC and outputted. Further at the image compression part 5, the bit amount of the generated VLC is outputted to a buffer control information generation part 9. In this case, corresponding to the VLC bit amount from the image compression part 5 and the buffer occupation rate from the occupation rate detection part 8, the buffer control information is calculated and outputted to a switching part 6. A buffer control information detection part 10 detects the buffer control information from a buffer 7, stops reading from the buffer 7 just for the time described in that information, controls a data selection part 11 and defines the dummy data as the output of the selection part 11.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は画像の処理、特にMPE
G2の圧縮画像の処理に関する。
FIELD OF THE INVENTION The present invention relates to image processing, especially MPE.
It relates to the processing of G2 compressed images.

【0002】[0002]

【従来の技術及びその課題】図1を用いてバッファ制御
を含む従来の画像処理を説明する。入力画像情報が画像
圧縮部1において圧縮率パラメータに基づいて圧縮され
ると共に、可変長符号(Variable Lengt
h Code:VLC)に変換され、出力される。切換
部2はそのVLC出力とダミーデータとを選択的にバッ
ファ3へ出力する。バッファ3は入力した信号、即ちV
LC信号又はダミーデータ信号のいずれかを格納し、一
定のビットレートでビットストリームとして出力する。
そのバッファ3におけるバッファ占有率が占有率検出部
4によって検出され、バッファ4をオーバーフロー又は
アンダーフローせしめないための圧縮率パラメータを算
出する。このパラメータは画像圧縮部1へ送られる。
又、バッファ占有率は、(実際に使用しているバッファ
の量)÷(目標とするバッファの使用量)の式で算出さ
れる。切換部2へ入力するダミーデータは、画像圧縮部
1からの出力であるVLCの情報量が非常に少なくなっ
てしまう画像が連続して画像圧縮部1に入力された時
に、バッファ3のアンダーフローを防止する目的で、占
有率検出部4からの切換信号により、格納のためのバッ
ファ3へ出力されるものである。従ってバッファ3から
出力されるビットストリームとしては意味を有さないデ
ータである。
2. Description of the Related Art Conventional image processing including buffer control will be described with reference to FIG. The input image information is compressed by the image compression unit 1 based on the compression ratio parameter, and the variable length code (Variable Length) is used.
h Code: VLC) and output. Switching unit 2 selectively outputs the VLC output and dummy data to buffer 3. The buffer 3 receives the input signal, that is, V
Either the LC signal or the dummy data signal is stored and output as a bit stream at a constant bit rate.
The buffer occupancy rate in the buffer 3 is detected by the occupancy rate detection unit 4, and a compression rate parameter for preventing the buffer 4 from overflowing or underflowing is calculated. This parameter is sent to the image compression unit 1.
The buffer occupancy rate is calculated by the formula (amount of buffer actually used) / (target buffer usage). The dummy data input to the switching unit 2 is an underflow of the buffer 3 when the images in which the amount of information of VLC output from the image compression unit 1 is very small are continuously input to the image compression unit 1. In order to prevent the above, the switching signal from the occupancy rate detection section 4 outputs the signal to the buffer 3 for storage. Therefore, the data is meaningless as a bit stream output from the buffer 3.

【0003】しかしながらこの方法は多量のダミーデー
タをバッファ3に格納することを必要とする。又、リア
ルタイム処理に不向きである。即ち、リアルタイム処理
では、一画面のデータを圧縮する時間は一画面内に終了
する必要があるが(1秒間に60枚の画像に対しては、
1/60秒毎に画像が入力するので、一枚の画像の圧縮
に費やせる時間が1/60秒以下でないと、リアルタイ
ム処理は不可能。)、上述の方法でダミーデータをバッ
ファ3に格納していたのでは画像処理部1の出力である
VLCを切換部2の入力でいたずらに待たせることにな
るからである。
However, this method requires a large amount of dummy data to be stored in the buffer 3. Also, it is not suitable for real-time processing. That is, in real-time processing, the time for compressing one screen of data needs to be completed within one screen (for 60 images per second,
Images are input every 1/60 second, so real-time processing is not possible unless the time that can be spent compressing one image is 1/60 second or less. This is because, if the dummy data is stored in the buffer 3 by the above-mentioned method, the output of the image processing unit 1, VLC, will be kept waiting unnecessarily at the input of the switching unit 2.

【0004】[0004]

【課題を達成するための手段及び作用】本発明は、画像
圧縮部からのVLC出力とタイミング制御を行ったダミ
ーデータ入力により、リアルタイム処理にも好適な画像
処理を提供することを目的とする。即ち、本発明は、画
像情報を圧縮し、可変長符号及びそのビット量を発生す
る画像圧縮部と、第1及び第2の入力部を有し、前記画
像圧縮部からの可変長符号を前記第1入力部で受ける切
換部と、前記切換部からの出力データを入力して一時格
納するバッファと、前記バッファにおける格納データの
占有率を検出する占有率検出部と、前記占有率検出部か
らの占有率と前記画像圧縮部からの可変長符号ビット量
に基づいて、バッファコントロール情報を発生し、その
バッファコントロール情報を前記切換部の第2入力部へ
送り前記切換部から出力せしめるバッファコントロール
情報発生部と、前記切換部から前記バッファに出力され
たデータがバッファコントロール情報であることを検出
し切換え信号を発生するバッファコントロール情報検出
部と、前記バッファからの出力及びダミーデータを入力
し、前記バッファコントロール情報検出部からの切換え
信号に応答し、ダミーデータをビットストリームとして
出力するデータ選択部を含む画像処理装置を提供する。
SUMMARY OF THE INVENTION It is an object of the present invention to provide image processing suitable for real-time processing by VLC output from an image compression unit and timing-controlled dummy data input. That is, the present invention has an image compression unit that compresses image information and generates a variable-length code and its bit amount, and first and second input units, wherein the variable-length code from the image compression unit is A switching unit received by the first input unit, a buffer for inputting and temporarily storing output data from the switching unit, an occupancy detecting unit for detecting an occupancy ratio of the stored data in the buffer, and an occupancy detecting unit. Buffer control information for generating buffer control information based on the occupancy rate and the variable length code bit amount from the image compression unit and sending the buffer control information to the second input unit of the switching unit for output from the switching unit. And a buffer control information detection unit that detects that the data output from the switching unit to the buffer is buffer control information and generates a switching signal. And parts, receives the output and the dummy data from said buffer, in response to the switching signal from the buffer control information detection section, to provide an image processing apparatus including a data selector for outputting dummy data as a bit stream.

【0005】[0005]

【実施例】本発明の一実施例を図面を参照して説明す
る。図2は一実施例に係る画像処理装置のブロック図で
ある。画像圧縮部5において入力画像情報が占有率検出
部8からの圧縮率パラメータに基づいて画像圧縮される
と共に、可変長符号VLCに変換され出力される。更に
画像圧縮部5においてはその発生したVLCのビット量
をバッファコントロール情報発生部9へ出力する。切換
部6は、画像圧縮部5からのVLCと、バッファコント
ロール情報発生部9からのバッファコントロール情報と
のいずれか一方を選択的にバッファ7へ出力する。バッ
ファコントロール情報発生部9は、画像圧縮部5からの
VLCビット量と占有率検出部8からのバッファ占有率
とによりバッファコントロール情報を算出し、切換部6
へ出力する。又バッファコントロール情報を切換部を介
して出力する必要があるときには切換信号を送る。バッ
ファコントロール情報検出部10は、バッファ7から読
出したデータ、即ちVLC又はバッファコントロール情
報のいずれかからパターンマッチングによりバッファコ
ントロール情報を検出し、その情報に記述されている時
間だけバッファ7からの読出しを停止し、データ選択部
11を制御してダミーデータを選択部11の出力とす
る。従って、データ選択部11からはバッファコントロ
ール情報は出力されない。
An embodiment of the present invention will be described with reference to the drawings. FIG. 2 is a block diagram of the image processing apparatus according to the embodiment. In the image compression unit 5, the input image information is image-compressed based on the compression ratio parameter from the occupancy ratio detection unit 8 and converted into a variable length code VLC and output. Further, the image compression unit 5 outputs the generated VLC bit amount to the buffer control information generation unit 9. The switching unit 6 selectively outputs one of the VLC from the image compression unit 5 and the buffer control information from the buffer control information generation unit 9 to the buffer 7. The buffer control information generation unit 9 calculates the buffer control information based on the VLC bit amount from the image compression unit 5 and the buffer occupancy rate from the occupancy rate detection unit 8, and the switching unit 6
Output to When it is necessary to output the buffer control information via the switching unit, a switching signal is sent. The buffer control information detection unit 10 detects the buffer control information from the data read from the buffer 7, that is, either VLC or buffer control information by pattern matching, and reads from the buffer 7 for the time described in the information. Then, the data selector 11 is stopped and the dummy data is output from the selector 11. Therefore, the buffer control information is not output from the data selection unit 11.

【0006】バッファコントロール情報は、バッファコ
ントロール情報であることを表す開始コード、データ
部、及び終了コードから構成され、そのデータ部が時間
情報を示す。その時間情報は次の様にして算出される。
先ず、占有率検出部8がバッファ7からの占有情報か
ら、圧縮する画像の総ビット量(一画面分の目標総ビッ
ト量)を決める。バッファコントロール情報発生部9
が、決められた総ビット量と、画像圧縮部5から入力さ
れるVLCビット量の一画面分の和とを比較し、その差
が時間情報となる。なお、占有率検出部8で決められた
総ビット量に、総ビットが近づくように圧縮率パラメー
タが決定される。上述の構成により多量のダミーデータ
をバッファ7に格納する必要がない。又バッファコント
ロール情報に記述されている時間だけバッファ7からの
読出しを停止してダミーデータを入力及び出力すればよ
く、VLCをいたずらに持たせることなく、効率の良い
制御が可能である。
[0006] The buffer control information is composed of a start code, a data part, and an end code indicating that it is buffer control information, and the data part indicates time information. The time information is calculated as follows.
First, the occupation rate detection unit 8 determines the total bit amount of the image to be compressed (target total bit amount for one screen) from the occupation information from the buffer 7. Buffer control information generator 9
However, the determined total bit amount is compared with the sum of the VLC bit amounts input from the image compression unit 5 for one screen, and the difference is the time information. The compression rate parameter is determined so that the total number of bits approaches the total number of bits determined by the occupation rate detection unit 8. With the above configuration, it is not necessary to store a large amount of dummy data in the buffer 7. Further, it is only necessary to stop the reading from the buffer 7 for the time described in the buffer control information and input and output the dummy data, and it is possible to perform efficient control without having VLC unnecessarily.

【0007】図3に他の実施例を示す。この実施例にお
いては占有率がバッファコントロール情報検出部10へ
も出力される。検出部10では、バッファコントロール
情報を検出した際に、バッファ7からの読出しの停止を
今必要か否かをその入力された占有率から判定する。占
有率が高い場合は読出し停止が不要であるから、読出し
停止指令をバッファ7には送らず、バッファコントロー
ル情報のみをダミーデータに置き換えるよう選択部11
を制御する。以上実施例につき説明したが、本発明はこ
れに限られるものではない。
FIG. 3 shows another embodiment. In this embodiment, the occupation rate is also output to the buffer control information detection unit 10. When detecting the buffer control information, the detection unit 10 determines whether or not it is now necessary to stop reading from the buffer 7 based on the input occupation rate. When the occupancy is high, it is not necessary to stop the reading, so that the reading stop command is not sent to the buffer 7 and only the buffer control information is replaced with the dummy data.
Control. Although the embodiment has been described above, the present invention is not limited to this.

【0008】[0008]

【発明の効果】圧縮画像信号を効率良く制御できる。The compressed image signal can be controlled efficiently.

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

【図1】従来の画像処理装置のブロック図。FIG. 1 is a block diagram of a conventional image processing apparatus.

【図2】本発明の一実施例に係る画像処理装置のブロッ
ク図。
FIG. 2 is a block diagram of an image processing apparatus according to an embodiment of the present invention.

【図3】本発明の他の実施例に係る画像処理装置のブロ
ック図。
FIG. 3 is a block diagram of an image processing apparatus according to another embodiment of the present invention.

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

5 画像圧縮部 6 切換部 7 バッファ 8 占有率検出部 9 バッファコントロール情報発生部 10 バッファコントロール情報検出部 11 データ選択部 5 image compression section 6 switching section 7 buffer 8 occupancy rate detection section 9 buffer control information generation section 10 buffer control information detection section 11 data selection section

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 画像情報を圧縮し、可変長符号及びその
ビット量を発生する画像圧縮部と、 第1及び第2の入力部を有し、前記画像圧縮部からの可
変長符号を前記第1入力部で受ける切換部と、 前記切換部からの出力データを入力して一時格納するバ
ッファと、 前記バッファにおける格納データの占有率を検出する占
有率検出部と、 前記占有率検出部からの占有率と前記画像圧縮部からの
可変長符号ビット量に基づいて、バッファコントロール
情報を発生し、そのバッファコントロール情報を前記切
換部の第2入力部へ送り前記切換部から出力せしめるバ
ッファコントロール情報発生部と、 前記切換部から前記バッファに出力されたデータがバッ
ファコントロール情報であることを検出し切換え信号を
発生するバッファコントロール情報検出部と、 前記バッファからの出力及びダミーデータを入力し、前
記バッファコントロール情報検出部からの切換え信号に
応答してダミーデータをビットストリームとして出力す
るデータ選択部を含む画像処理装置。
1. An image compression unit for compressing image information to generate a variable length code and a bit amount thereof, and first and second input units, wherein the variable length code from the image compression unit is the first 1 input section, a switching section, a buffer for inputting and temporarily storing output data from the switching section, an occupancy rate detecting section for detecting an occupancy rate of the stored data in the buffer, and an occupancy rate detecting section Buffer control information generation for generating buffer control information based on the occupancy rate and the variable length code bit amount from the image compression unit and sending the buffer control information to the second input unit of the switching unit for output from the switching unit. And a buffer control information detection unit that detects that the data output from the switching unit to the buffer is buffer control information and generates a switching signal. Parts and inputs the output and the dummy data from the buffer, the image processing apparatus comprising a data selector for outputting dummy data as a bit stream in response to the switching signal from the buffer control information detection section.
【請求項2】 データ選択部が、バッファコントロール
情報又はバッファ占有率に基づいて読出し停止信号をバ
ッファに出力することを特徴とする請求項1記載の画像
処理装置。
2. The image processing apparatus according to claim 1, wherein the data selection unit outputs a read stop signal to the buffer based on the buffer control information or the buffer occupation rate.
【請求項3】 バッファコントロール情報が、バッファ
からの読出し停止の時間を特定する時間情報を含むこと
を特徴とする請求項1又は2記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the buffer control information includes time information that specifies a time when reading from the buffer is stopped.
JP34322895A 1995-12-28 1995-12-28 Image processor Pending JPH09200742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34322895A JPH09200742A (en) 1995-12-28 1995-12-28 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34322895A JPH09200742A (en) 1995-12-28 1995-12-28 Image processor

Publications (1)

Publication Number Publication Date
JPH09200742A true JPH09200742A (en) 1997-07-31

Family

ID=18359911

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34322895A Pending JPH09200742A (en) 1995-12-28 1995-12-28 Image processor

Country Status (1)

Country Link
JP (1) JPH09200742A (en)

Similar Documents

Publication Publication Date Title
US4922437A (en) Image information processing apparatus
JPH04315373A (en) High-speed ccitt decompressor
JP2003244446A (en) Image processor and image processing method
JPH0955935A (en) Picture and sound encoding device
JPS627268A (en) Facsimile equipment
JPH09200742A (en) Image processor
US6728471B1 (en) Image reproducing apparatus
US5359420A (en) Macro block address processor for digital compressed video signal decoder
EP1233375B1 (en) Image data encoding apparatus and method
JPH05204747A (en) Semiconductor memory controller
JP2005064773A (en) System and method for image compression
US6636639B1 (en) Image recording apparatus, image recording method and storage medium
JP3282407B2 (en) Data compression device
JP3224127B2 (en) Image data conversion processor
JP2655502B2 (en) Facsimile machine
JP2600590B2 (en) High efficiency coding device
JP3293382B2 (en) Data compression device and data decompression device
JPS63117562A (en) Image data coding system
EP0302432A2 (en) Document decompressing system
JP2611961B2 (en) Image data compression transmission method
JP3690102B2 (en) Image processing apparatus and image processing method
JPH11252544A (en) Moving image coder, its method and recording medium
JP2002034038A (en) Image encoder
JPH09130269A (en) Error correction code frame constitution system
JPH06303439A (en) Image data processor