JPS63267063A - Picture encoding and decoding device - Google Patents

Picture encoding and decoding device

Info

Publication number
JPS63267063A
JPS63267063A JP62102278A JP10227887A JPS63267063A JP S63267063 A JPS63267063 A JP S63267063A JP 62102278 A JP62102278 A JP 62102278A JP 10227887 A JP10227887 A JP 10227887A JP S63267063 A JPS63267063 A JP S63267063A
Authority
JP
Japan
Prior art keywords
memory
decoding
code
image
encoding
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.)
Granted
Application number
JP62102278A
Other languages
Japanese (ja)
Other versions
JPH0478222B2 (en
Inventor
Hirohisa Shiojiri
塩尻 浩久
Kimihiro Ishitobi
石飛 公啓
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP62102278A priority Critical patent/JPS63267063A/en
Publication of JPS63267063A publication Critical patent/JPS63267063A/en
Publication of JPH0478222B2 publication Critical patent/JPH0478222B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To efficiently use a picture encoding and decoding means by managing the residual quantity of memories and switching a coding processing and a decoding processing on occassion based on the managing result. CONSTITUTION:A control part 9 manages data quantity accumulated in a picture signal input memory 3 and a code output memory 6 in a coding action. If there is data in a code input memory 8 when a picture signal input speed is small and the data residual quantity of the picture signal input memory 3 becomes less than a prescribed value, and when code output speed is small and the data residual quantity of the code output memory becomes more than the prescribed value the control part 9 makes a deciding request to a picture encoding and decoding device 5. Consequently, the decoder starts a decoding action and a picture signal is outputted to a picture signal output part 2. If the residual quantity of the picture signal input memory 3 becomes more than the prescribed value and that of the code output memory 6 becomes less than the prescribed value when coding is executed in such a state, the control part 9 instructs the picture encoding and decoding device 5 to resume the coding action. Thus, the decoding processing can simultaneously be executed in the coding processing of one page. Thus, the picture encoding and decoding device 5 can efficiently by operated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画信号を「0」と「1」との2値レベルに量
子化した電気信号として取り扱い、画信号と符号情報を
相互変換する画像符号復号装置に関する。
Detailed Description of the Invention [Field of Industrial Application] The present invention handles an image signal as an electrical signal quantized into binary levels of "0" and "1", and mutually converts the image signal and code information. The present invention relates to an image code decoding device.

〔概 要〕〔overview〕

本発明は、メモリに一時蓄積された画信号または符号情
報を符号化または復号化してそれぞれ対応する符号情報
および画信号に交互に変換し、これをメモリに一時蓄積
する画像符号復号装置において、 メモリの残量を管理し、この管理結果に基づき符号化処
理および復号化処理を随時切替えることにより、 画像符号復号手段を効率的に利用することができるよう
にしたものである。
The present invention provides an image code/decoding device that encodes or decodes image signals or code information temporarily stored in a memory, alternately converts them into corresponding code information and image signals, and temporarily stores the same in the memory. By managing the remaining amount of data and switching between encoding processing and decoding processing at any time based on the management results, the image encoding/decoding means can be used efficiently.

〔従来の技術〕[Conventional technology]

従来、この種の画像符号復号装置は画信号の符号化およ
び符号情報の画信号への復号を1ペ一ジ単位で符号化か
復号かの片方向で行っていた。
Conventionally, this type of image encoding/decoding apparatus encodes an image signal and decodes encoded information into an image signal in one direction, either encoding or decoding, on a page-by-page basis.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このような従来の画像符号復号装置では、画信号の符号
化および符号情報の復号を1−ページ単位で片方向で行
っているので、1ページの画信号符号化時は装置内に復
萼の対象となり得る符号が存在していても復号処理は待
たされ、一方、1ページの復号時は画信号の符号化処理
が待たされる。
In such conventional image encoding/decoding devices, encoding of image signals and decoding of encoded information are performed unidirectionally in units of one page. Even if a code that can be a target exists, the decoding process is forced to wait. On the other hand, when decoding one page, the encoding process of the image signal is forced to wait.

したがって、画信号入出力や符号入出力の速度が符号化
復号処理能力に比して小さい装置では、符号復号処理部
に不動作状態が生じるにもかかわらず、符号化か復号か
のどちらかが動作している場合に他方の処理については
待ちになる欠点がある。
Therefore, in a device where the speed of image signal input/output or code input/output is smaller than the encoding/decoding processing capacity, either encoding or decoding is performed even though the encoding/decoding processing section is in an inactive state. The disadvantage is that when one process is running, the other process must wait.

本発明は、このような欠点を除去するもので、画像符号
復号器を効率的に利用することができる画像符号復号装
置を提供することを目的とする。
The present invention aims to eliminate such drawbacks and to provide an image code decoding device that can efficiently utilize an image code decoder.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、到来する画情報を一時蓄積する第一メモリと
、到来する符号情報を一時蓄積する第二メモリと、上記
第一メモリに一時蓄積された画信号の符号情報への符号
化変換および上記第二メモリに一時蓄積された符号情報
の画信号への復号化変換を交互に実行する画像符号復号
手段と、この画像符号復号手段で符号化変換された符号
情報を一時蓄積する第三メモリと、上記画像符号復号手
段で復号化変換された画信号を一時蓄積する第四メモリ
とを備えた画像信号符号復号装置において、上記画像符
号復号手段で符号化変換を実行中に、上記第一メモリお
よび第三メモリのそれぞれに未格納のメモリ領域の広さ
を比較し、この比較結果に基づき実行中の符号化変換を
復号化変換に切替え、一方、上記画像符号復号手段で復
号化変換を実行中に、上記第二メモリおよび上記第四メ
モリのそれぞれに未格納のメモリ領域の広さを比較し、
この比較結果に基づき実行中の復号化変換を符号化変換
に切替える制御手段を備えたことを特徴とする。
The present invention includes a first memory for temporarily storing incoming image information, a second memory for temporarily storing incoming code information, encoding conversion of the image signal temporarily stored in the first memory into code information, and An image code decoding means for alternately decoding and converting the code information temporarily stored in the second memory into an image signal, and a third memory for temporarily storing the code information encoded and converted by the image code decoding means. and a fourth memory for temporarily accumulating the image signal decoded and converted by the image code decoding means, while the image code decoding means executes the encoding conversion. Compare the size of the unstored memory area in each of the memory and the third memory, and switch the encoding conversion being executed to the decoding conversion based on the comparison result, while the image code decoding means performs the decoding conversion. During execution, compare the size of the unstored memory area in each of the second memory and the fourth memory,
The present invention is characterized by comprising a control means for switching the decoding conversion being executed to the encoding conversion based on the comparison result.

〔作 用〕[For production]

画像符号復号手段の情報処理能力が入力する情報量を土
建ると、第一メモリのメモリ残量と第三メモリのメモリ
残量との比の値は小さくなる。この比の値が所定値に達
すると、符号化変換から復号化変換に動作を切替える。
When the information processing capacity of the image code decoding means is determined by the amount of input information, the value of the ratio between the remaining memory capacity of the first memory and the remaining memory capacity of the third memory becomes small. When the value of this ratio reaches a predetermined value, the operation is switched from encoding conversion to decoding conversion.

この間に、第一メモリのメモリ残量は減少する。一方、
復号化変換時にも第二メモリと第四メモリとの間に同様
の現象が発生する。このようにして符号化処理と復号化
処理とは交互に繰返され、画像符号復号手段の休止期間
が短縮されて効率的な運用が図れる。
During this time, the remaining memory capacity of the first memory decreases. on the other hand,
A similar phenomenon occurs between the second memory and the fourth memory during decoding and conversion. In this way, the encoding process and the decoding process are repeated alternately, and the idle period of the image encoding/decoding means is shortened, thereby achieving efficient operation.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づき説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

図は、本発明の構成を示すブロック構成図である0画体
号入力部1は、例えば画像読取装置であり、「0」と「
1」とに2値化された画信号を画信号入力メモリ3へ送
出する0画像性号復号器5は、′画信号入力メモリ3か
ら画信号を引き取り、符号化した後に符号を符号出力メ
モリ6へ送出する。符号出力メモリ6に蓄積された符号
は符号入出力部7に引き取られる。一方、符号入出力部
7は符号入力部8に符号を送出し、画像符号復号器5は
、符号入力部8から符号を引き取り、復号した後に画信
号を画信号出力メモリ4に蓄積し、この画信号は画信号
出力部2に出力される。画像符号復号器5は符号化およ
び復号の任意時点での切換えが可能である。
The figure is a block configuration diagram showing the configuration of the present invention. The 0 image symbol input unit 1 is, for example, an image reading device, and "0" and "
The 0 image quality code decoder 5 sends the binarized image signal into ``1'' to the image signal input memory 3. Send to 6. The code stored in the code output memory 6 is received by the code input/output section 7. On the other hand, the code input/output unit 7 sends the code to the code input unit 8, and the image code decoder 5 receives the code from the code input unit 8, decodes it, stores the image signal in the image signal output memory 4, and stores the image signal in the image signal output memory 4. The image signal is output to an image signal output section 2. The image code decoder 5 can switch between encoding and decoding at any time.

次に、この実施例の動作を図を参照して説明する。まず
、符号化動作中は、制御部9は、画信号入力メモリ3お
よび符号出力メモリ6に蓄積されているデータ量を管理
し、画信号入力速度が小さく画信号入力メモリ3のデー
タ残量がある値以下になった場合や符号出力速度が小さ
く符号出力メモリ6の残量がある値以上になった場合に
、符号入力メモリ8にデータがあれば画像符号復号器5
に対して復号要求を発行する。これにより、装置は、復
号動作に入り、画信号出力部2へ画信号が出力される。
Next, the operation of this embodiment will be explained with reference to the drawings. First, during the encoding operation, the control section 9 manages the amount of data stored in the image signal input memory 3 and the code output memory 6, and when the image signal input speed is low, the remaining amount of data in the image signal input memory 3 is low. When the code output speed is low and the remaining amount of the code output memory 6 exceeds a certain value, if there is data in the code input memory 8, the image code decoder 5
Issue a decryption request to. As a result, the device enters a decoding operation, and an image signal is output to the image signal output section 2.

この状態で復号化しているときに画信号入力メモリ3の
残量がある値以上になりまた符号出力メモリ6の残量が
ある値以下になると、制御部9は画像符号復号器5に再
び符号化動作の再開を指示する。このように1ページの
符号化処理中に復号処理も同時に実行される。
During decoding in this state, if the remaining capacity of the image signal input memory 3 exceeds a certain value and the remaining capacity of the code output memory 6 becomes below a certain value, the control unit 9 causes the image code decoder 5 to re-encode the code. Instructs to restart the conversion operation. In this way, the decoding process is simultaneously executed during the encoding process of one page.

次に、復号動作中は、制御部9は、符号入力メモリ8お
よび画信号出力メモリ4の残量を管理し、符号入力速度
が小さく符号入力メモリ8の残量がある値以下になった
り、また画信号出力速度が小さく画信号出力メモリ4の
残量がある値以上になると、制御部9は画像符号復号器
5に符号化の要求を行う。この状態で符号化していると
きに、符号入力メモリ8の残量がある値以上になりまた
画信号出力メモリの残量がある値以下になると、制御部
9は画像符号復号器5に復号処理の再開を指示する。
Next, during the decoding operation, the control unit 9 manages the remaining capacity of the code input memory 8 and the image signal output memory 4, and if the code input speed is low and the remaining capacity of the code input memory 8 is below a certain value, Further, when the image signal output speed is low and the remaining capacity of the image signal output memory 4 exceeds a certain value, the control section 9 requests the image code decoder 5 to perform encoding. During encoding in this state, if the remaining capacity of the code input memory 8 exceeds a certain value and the remaining capacity of the image signal output memory becomes below a certain value, the control unit 9 causes the image code decoder 5 to perform decoding processing. order to restart.

このように、本装置は、1ページの画像符号化時に復号
を並行して実行でき、一方、1ペ一ジ分の符号復号時に
画信号入力を受けて符号化することができる。
In this manner, the present apparatus can perform decoding in parallel when encoding one page of images, and can receive image signal input and encode when decoding one page.

〔発明の効果〕〔Effect of the invention〕

本発明は、以上説明したように、1ペ一ジ分の符号情報
復号処理中に画信号を入力して符号化動作を同時に行わ
せたり、また、1ペ一ジ分の画信号入力符号化中に符号
を入力して復号し、画信号を出力することができるので
、画像符号復号器を効率的に動作させることができる効
果がある。
As explained above, the present invention is capable of inputting an image signal during decoding processing of encoded information for one page and simultaneously performing encoding operation, and for inputting and encoding image signal input for one page. Since a code can be input and decoded to output an image signal, there is an effect that the image code decoder can be operated efficiently.

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

図は、本発明実施例装置の構成を示すブロック構成図。 1・・・画信号入力部、2・・・画信号出力部、3・・
・画信号入力メモリ、4・・・画信号出力メモリ、5・
・・画像符号復号器、6・・・符号出力メモリ、7・・
・符号入出力部、8・・・符号入力メモリ、9・・・制
御部。
The figure is a block configuration diagram showing the configuration of an apparatus according to an embodiment of the present invention. 1... Image signal input section, 2... Image signal output section, 3...
・Picture signal input memory, 4...Picture signal output memory, 5.
...Image code decoder, 6... Code output memory, 7...
- Code input/output unit, 8... Code input memory, 9... Control unit.

Claims (1)

【特許請求の範囲】[Claims] (1)到来する画情報を一時蓄積する第一メモリ(3)
と、 到来する符号情報を一時蓄積する第二メモリ(8)と、 上記第一メモリに一時蓄積された画信号の符号情報への
符号化変換および上記第二メモリに一時蓄積された符号
情報の画信号への復号化変換を交互に実行する画像符号
復号手段(5)と、 この画像符号復号手段で符号化変換された符号情報を一
時蓄積する第三メモリ(6)と、 上記画像符号復号手段で復号化変換された画信号を一時
蓄積する第四メモリ(4)と を備えた画像信号符号復号装置において、 上記第一メモリおよび第三メモリのそれぞれに未格納の
メモリ領域の広さを比較し、この比較結果に基づき実行
中の符号化変換を復号化変換に切替え、一方、上記画像
符号復号手段で復号化変換を実行中に、上記第二メモリ
および上記第四メモリのそれぞれに未格納のメモリ領域
の広さを比較し、この比較結果に基づき実行中の復号化
変換を符号化変換に切替える制御手段(9) を備えたことを特徴とする画像符号復号装置。
(1) First memory for temporarily storing incoming image information (3)
and a second memory (8) for temporarily storing incoming code information; encoding conversion of the image signal temporarily stored in the first memory into code information and code information temporarily stored in the second memory; an image code decoding means (5) that alternately performs decoding conversion into an image signal; a third memory (6) that temporarily stores code information encoded and converted by the image code decoding means; and the image code decoding means. In an image signal encoding/decoding device comprising a fourth memory (4) for temporarily storing image signals decoded and converted by means, the size of the unstored memory area is determined in each of the first memory and the third memory. The encoding conversion being executed is switched to the decoding conversion based on the comparison result, and while the decoding conversion is being executed by the image code decoding means, unused information is stored in each of the second memory and the fourth memory. An image encoding/decoding device comprising: a control means (9) for comparing the sizes of storage memory areas and switching the decoding conversion being executed to the encoding conversion based on the comparison result.
JP62102278A 1987-04-24 1987-04-24 Picture encoding and decoding device Granted JPS63267063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62102278A JPS63267063A (en) 1987-04-24 1987-04-24 Picture encoding and decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62102278A JPS63267063A (en) 1987-04-24 1987-04-24 Picture encoding and decoding device

Publications (2)

Publication Number Publication Date
JPS63267063A true JPS63267063A (en) 1988-11-04
JPH0478222B2 JPH0478222B2 (en) 1992-12-10

Family

ID=14323135

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62102278A Granted JPS63267063A (en) 1987-04-24 1987-04-24 Picture encoding and decoding device

Country Status (1)

Country Link
JP (1) JPS63267063A (en)

Also Published As

Publication number Publication date
JPH0478222B2 (en) 1992-12-10

Similar Documents

Publication Publication Date Title
TW420908B (en) Lossless encoding and decoding system
CN101014124A (en) System and method for reducing storage requirement of context adaptive binary arithmetic coding
US6947602B2 (en) Image processing method, apparatus, and storage medium
JPH0379182A (en) Image encoding control system
JPH07143490A (en) Image compander
JP3082585B2 (en) Image information encoding processing device, image information decoding processing device, and image information encoding / decoding processing device
US6820087B1 (en) Method and apparatus for initializing data structures to accelerate variable length decode
US6313766B1 (en) Method and apparatus for accelerating software decode of variable length encoded information
JP3097739B2 (en) MPEG system priority processing circuit
JPS63267063A (en) Picture encoding and decoding device
CN111246211B (en) Encoding method, decoding method, device, equipment and storage medium
JPH0723385A (en) Highly efficient encoding device
JPH0898181A (en) Method and device for picture conversion
CN100576917C (en) The method and system of inversely scanning frequency efficiency
JPS6354066A (en) Picture coding and decoding device
JP2765588B2 (en) Encoding / decoding device
JPH08116268A (en) Information processing unit
JPH05316355A (en) Picture data coding and decoding device
JPH07303045A (en) Huffman decoder
JPS63155957A (en) Binary picture information compressing device
JP3005384B2 (en) Huffman decoding circuit
JPS595778A (en) Compression system for half-tone picture data
JP2018157571A5 (en)
JPH0229166A (en) Coding and decoding device for picture data
JP3191462B2 (en) High efficiency coding device