JPS628661A - Picture compressing device - Google Patents

Picture compressing device

Info

Publication number
JPS628661A
JPS628661A JP14650985A JP14650985A JPS628661A JP S628661 A JPS628661 A JP S628661A JP 14650985 A JP14650985 A JP 14650985A JP 14650985 A JP14650985 A JP 14650985A JP S628661 A JPS628661 A JP S628661A
Authority
JP
Japan
Prior art keywords
code
run length
signal
image compression
sends
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
JP14650985A
Other languages
Japanese (ja)
Inventor
Etsuo Horikawa
堀川 悦雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP14650985A priority Critical patent/JPS628661A/en
Publication of JPS628661A publication Critical patent/JPS628661A/en
Pending legal-status Critical Current

Links

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To use in common the hardwares of both means by changing over a present picture compressing method and a compressing method effective to a very long run length by an action mode designation. CONSTITUTION:In an MH converting part in a picture compressing part, a changing point detecting part 25 detects the changing point of a picture data 20, and sends a detecting signal 29 to a run length counter 26 and an MH code output part 28. A makeup overflowing detecting part 27, when an action mode signal 21 is 0 and a counter value 30 comes to 2560, sends a detecting signal 31 to the MH code output part 28 and the counter 26, and when the signal 21 is 1 and the counter value 30 comes to 2623, sends the signal 31. The MH code output part 28, when the signal 21 is 0, outputs the makeup code of a run length 2560, and when the signal 21 is 1, sends the makeup code of a run length 2560, a run length 63 and the terminating code of a run length 0 of the present opposite color continuously.

Description

【発明の詳細な説明】 〔発明の利用分野〕    ′ 本発明は、画像圧縮装置に関する。[Detailed description of the invention] [Field of application of the invention] The present invention relates to an image compression device.

〔発明の背景〕[Background of the invention]

CCITT勧告草案に準拠する画像圧縮方式の場合、−
次元圧縮符号はランレングスが0〜63ビツトまでのタ
ーミネイティング符号と、64〜2560ビツトまでの
メイクアップ符号が規定され、0〜63までのランレン
グスはターミネイティング符号だけで符号化され、64
〜2560までのランレングスは初めにそのランレング
スと等しいか、またはそれより短いランレングスを表わ
すメイクアップ符号と、実際のランレングスとメイクア
ップ符号によって表わされたランレングスとの差を表わ
すターミネイティング符号により符号化されるとなって
いる。本勧告草案によれば1つのランレングスとして表
わされる最大炎は、2623 (2560+ 65 )
ビットとなる。
For image compression methods that comply with the CCITT Draft Recommendation, -
For the dimension compression code, a terminating code with a run length of 0 to 63 bits and a make-up code with a run length of 64 to 2560 bits are defined.A run length of 0 to 63 is encoded with only a terminating code,
A run length up to 2560 initially has a make-up code representing a run length equal to or shorter than that run length, and a terminus representing the difference between the actual run length and the run length represented by the make-up code. It is encoded using a coding code. According to this draft recommendation, the maximum flame expressed as one run length is 2623 (2560 + 65).
Becomes a bit.

今後画像の大型化、高精細化により非常に長いランレン
グス(2624ビット以上)に対する符号化を考慮した
場合、現状の1つのメイクアップ符号と1つのターミネ
イティング符号の対による符号化方法よりも、2つ以上
のメイクアップ符号により符号化した後、1つのターミ
ネイティング符号により符号化する方法が効果的と考え
られる。
When considering the encoding of extremely long run lengths (2624 bits or more) due to larger and higher definition images in the future, it will be easier to encode images using a pair of one makeup code and one terminating code. A method of encoding with two or more makeup codes and then encoding with one terminating code is considered effective.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、現状の画像圧縮方法である1つのメイ
クアクプ符号と1つのターミネイティング符号で符号化
する方法と、今後考え、られる非常に長いランレングス
(例えば2624ビット以上)に対する効果的な圧縮方
法の両方を備えた利用手段を提供することにより、両手
段のノ)−ドウエアの共通化を計ることにある。
The purpose of the present invention is to improve the current image compression method of encoding with one make-up code and one terminating code, and to improve the effective compression for very long run lengths (for example, 2624 bits or more) that will be considered in the future. By providing a means for using both methods, it is possible to standardize the software for both methods.

〔発明の概要〕[Summary of the invention]

上記目的を達成するため、本発明の画像圧縮制御、メモ
リーアドレス管理、画像圧縮動作の制御を行なう手段と
、その画像圧縮動作制御を受は実際に画像圧縮を実行し
、その内部に動作モードレジスタ、ランレングスカウン
タ、圧縮符号変換部を具備しているものである。
In order to achieve the above object, the present invention includes a means for controlling image compression, memory address management, and image compression operation, and a means for controlling the image compression operation, which actually executes image compression, and has an operation mode register therein. , a run length counter, and a compression code converter.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の実施例を図面により説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第1図は、本発明の一実施例を示す画像圧縮装置のブロ
ック図である。第1図において、1始起動、8はシフト
制御パラメータ、9は動作モード情報である。2.DM
ACは、上位装置から起動信号を受信すると、を画像情
報格納メモリーから、動作モード、画像情報先頭アドレ
ス、画像情報データ数、符号出カニリア先頭アドレス、
′符号出カニリア空間数を取り込み、画瀘及び、符号デ
ータをシフトするための、8.シフト制御パラメータの
計算をし、訊動作モード情報とともに、五画像圧縮部へ
出力する。
FIG. 1 is a block diagram of an image compression device showing one embodiment of the present invention. In FIG. 1, 1 indicates start-up, 8 indicates shift control parameters, and 9 indicates operation mode information. 2. DM
When the AC receives the activation signal from the host device, it stores the operation mode, image information start address, image information data number, code output canister start address, and the like from the image information storage memory.
'8. To take in the code output Canilia space number and shift the picture filter and code data. It calculates the shift control parameters and outputs them to the image compression unit along with the operation mode information.

次に五−像圧縮部に対し、2処理開始起動をかけた後、
& READ −WRITE要求信号を待つ、そして乙
画像圧縮部より6. READ −WRITE要求信号
を受信すると、を画像情報格納メモリーとのREAD 
−WRITEアクセス処理、画像及び、圧縮符号の1画
像情報格納メモリーアドレス管理又、処理終了チェック
を行なう。
Next, after starting the 2nd process for the five-image compression section,
& Wait for READ-WRITE request signal, and 6. When a READ-WRITE request signal is received, READ is executed with the image information storage memory.
- Performs WRITE access processing, image and compression code one-image information storage memory address management, and processing completion check.

工画像圧縮部は2.鳳cよりZ処理開始信号を受信し、
第2図に示す様な構成により、画像圧縮動作を行なう。
The engineering image compression section is 2. Receives the Z processing start signal from Otori c,
An image compression operation is performed using the configuration shown in FIG.

第2図において、182画像データは、を画像情報格納
メモリーより、5.データバスを介し、仏リードデータ
バッファにセットされた後、14.並列(P)→直列(
S)変換され、1ビツトのシリアルデータとして15.
ME(変換部へ入力される。
In FIG. 2, 182 image data are stored in 5. After being set in the French read data buffer via the data bus, 14. Parallel (P) → Series (
S) Converted and output as 1-bit serial data 15.
ME (input to the converter).

15、MH変換部は、12.クロック制御部及び、10
゜動作モードレジスタの制御を受け、2Q、画像データ
を2iMHコードデータへ変換し、16.直列(S)→
並列CP)変換器へ送り、1zライトデータバツフアヘ
セツトする。
15. The MH conversion unit includes 12. clock control section and 10
゜Under the control of the operation mode register, convert the 2Q image data into 2iMH code data, 16. Series (S) →
Send to parallel CP) converter and set to 1z write data buffer.

10、動作モードレジスタは、2.厖により2動作モー
ド情報を受は取り、15.MH変換部に対し、2を動作
モード信号を出力する。
10. The operation mode register is 2. 15. Receive and receive the 2 operation mode information. The operation mode signal 2 is output to the MH converter.

12、クロック制御部はまず2. rmcより8.シフ
ト制御パラメータを受信し、五画像圧縮部のすべてのシ
フト制御を行なうための初期値状態を設定し、次に2.
頂記より、l処理開始起動信号を受信し、五画像圧縮部
各ユニットの動作を開始させ、各ユニットのシフトクロ
ック制御を行ない又、I L READ −WRITE
要求制御回路に対し、19READ−■ITE要求セッ
ト信号を送出する。
12. The clock control section first consists of 2. 8 from rmc. 2. Receive shift control parameters and set initial value states for all shift controls of the five image compression units;
The I L READ - WRITE signal is received from above, starts the operation of each unit of the image compression section, and controls the shift clock of each unit.
A 19READ-①ITE request set signal is sent to the request control circuit.

1tlAD−■ITE要求制御回路は、12.クロック
制御部より、19. READ −WRITE要求セッ
ト信号を受け、2.mcに対し、&部D・寵ITE要求
信号を送出する。
1tlAD-■ITE request control circuit performs 12. From the clock control section, 19. 2. Receive the READ-WRITE request set signal; Sends & section D ITE request signal to mc.

以上述べた様に、本実施例の画像圧縮装置は、を画像情
報格納メモリー内にある情報により、2、ImCが、3
1画像圧縮部に対し初期値及び動作モード設定を行ない
、処理開始起動をかけた後は、工画像圧縮部のREAD
 −WRITE要求に従い、高速に皿を実施し、工画像
圧縮部は2.鳳cの制御を受は高速に■変換を行なう装
置である。
As described above, the image compression apparatus of this embodiment uses the information in the image information storage memory to determine whether 2, ImC, or 3.
1 After setting the initial value and operation mode for the image compression unit and starting processing, press the READ button of the image compression unit.
-According to the WRITE request, the processing is executed at high speed, and the processed image compression unit 2. Under the control of Otori C, it is a device that performs high-speed conversion.

次に本発明の特徴である&画像圧縮部内の15゜■変換
部の論理構成を第3図に示し、動作の説明を行なう。
Next, FIG. 3 shows the logical configuration of the 15° ■ conversion section in the & image compression section, which is a feature of the present invention, and its operation will be explained.

第3図に示す様に、■変換部は、25、変化点検山部、
26ランレングスカウンタ、27.メイクアップオーバ
ーフロー検出部、28.MHコード出力部により構成さ
れている。
As shown in FIG.
26 run length counter, 27. Make-up overflow detection section, 28. It consists of an MH code output section.

マス、1α動作モードレジスタより21動作モード信号
が21メイクアツプオ一バーフロー検出部と、28.M
Hコード出力部へ与えられる。次に2α画偉データは、
2zクロック制制御号と同期して25、変化点検出部へ
与えられる。25.変化点検出部は、21画像データの
変化点を検出したら、29.変化点検出信号を、26ラ
ンレングスカウンタ及び28、MHコード出力部へ送出
する。
The 21 operation mode signal is output from the 1α operation mode register to the 21 make-up output and the barflow detection unit, 28. M
It is given to the H code output section. Next, the 2α image data is
25 is given to the change point detection section in synchronization with the 2z clocked control signal. 25. When the change point detection unit detects the change point of the 21 image data, the change point detection unit detects the change point of the 21 image data. The change point detection signal is sent to the 26 run length counter and the MH code output section 28.

26、ランレングスカウンタは、22.クロック制御信
号と同期して、ランレングスカウントを開始し、25.
変化点検出部から29変化点検出信号が来たら、カウン
ト動作を停止し、その状態を保持する。又、3tメイク
アツプオ一バーフロー検出信号が来たら、ランレングス
カウント値をクリアし、29.変化点検出信号が来るま
でカウント動作を継続する。
26. The run length counter is 22. 25. Start run length counting in synchronization with the clock control signal;
When the 29 change point detection signal is received from the change point detection section, the counting operation is stopped and this state is maintained. Also, when the 3t make-up output barflow detection signal comes, clear the run length count value and 29. Counting continues until the change point detection signal arrives.

21メイクアツプオ一バーフロー検出部は、2を動作モ
ード信号が、10″の場合30.ランレングスカラ/り
値が2560になったら、31オ一バーフロー検出信号
を、2B、MHコード出力部及び26.う/レングスカ
ウンタへ送出する。又、2を動作モード信号が111の
場合、30.ランレングスカウンタ値が2625 (2
560+65 )になったら、31オ一バーフロー検出
信号を、2B、MHコード出力部及び26う/レングス
カウンタへ送出する。
The 21 make-up output barflow detection section sends the 2B, MH code output section and 26.Send 2 to the run length counter.Also, if the operation mode signal is 111, 30.Send the run length counter value to 2625 (2
560+65), a 31 overflow detection signal is sent to the 2B, MH code output section and the 26 length counter.

2B、MHコード出力部は、31オ一バーフロー検出信
号を受信したら、2を動作モード信号が101の場合、
ランレングス2560のメイクアップ符号を出力する。
When the 2B and MH code output section receives the 31 overflow detection signal, it outputs 2 when the operation mode signal is 101.
A make-up code with a run length of 2560 is output.

又、2を動作モート45号が11mの場合、ランレング
ス2560のメイクアップ符号、2ンレングス63のタ
ーミネイティング符号、そして現在の反対色のランレン
グス0のターミネイティング符号を続けて出力する。そ
して、30.ランレングスカウンタ値に対応する謝符号
を続けて出力し最後に12.クロック制御部に対し、2
4.MHコード出力終了信号を送出する。12.クロッ
ク制御部は、次の画像変化点を検出部べく、再び2zク
ロック制制御号を出力する。
Further, when the operating mode No. 45 is 11 m, a make-up code with a run length of 2560, a terminating code with a 2-in length 63, and a terminating code with a run length 0 of the current opposite color are successively output. And 30. Continuously output the acknowledgment code corresponding to the run length counter value and finally 12. For the clock control section, 2
4. Sends the MH code output end signal. 12. The clock control section outputs the 2z clock control signal again to detect the next image change point.

以上の動作を行なった場合、例えば白3000ビットの
ランレングスを■変換すると、動作モードが101の場
合は、白メイクアップ2560+白メイクアップ384
+白ターミネイティング56となり、メイクアップ符号
連続出力となる。又、動作モ。
When the above operation is performed, for example, when converting the run length of white 3000 bits, if the operation mode is 101, white makeup 2560 + white makeup 384
+white terminating 56, and the makeup code is continuously output. Also, it works.

−ド11″の場合は、白メイクアップ2560+白ター
ミネイティング63+黒ターミネイティング0+白メイ
クアップ520+白ターミネイティ/グ57となり、白
30000ランレングスが、黒ターミネイティング0を
はさんで、1つのメイクアップ符号と1つのターミネイ
ティング符号に分割される。
In the case of -do 11'', white makeup 2560 + white terminating 63 + black terminating 0 + white makeup 520 + white terminating/g 57, and the white 30000 run length is one makeup with black terminating 0 in between. It is divided into an up code and one terminating code.

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

以上、説明した様に本発明によれば、2623ビツトを
越えるランレングスを動作モード指定により、1つのメ
イクアップ符号と1つのターミネイティング符号に分割
する手段と、メイクアップ符号を連続して出力し、1つ
のターミネイティング符号を出力する手段とを使い分け
ることができ、ハードウェアの共通化が計れる。
As described above, according to the present invention, there is provided a means for dividing a run length exceeding 2623 bits into one make-up code and one terminating code by specifying an operation mode, and a means for continuously outputting the make-up code. , a means for outputting one terminating code can be used, and hardware can be made common.

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

第1図は本発明の一実施例の画像圧縮装置のブロック図
、第2図は画像圧縮部の内部構成図、第3図は本発明の
特徴である■変換部の内部プ5・・・画像圧縮部、  
 4・・・アドレスバス、5・・・データバス、  7
・・・処理開始起動信号、9・・・動作モード情報、1
0・・・動作モードレジスタ、12・・・クロック制御
部、13・・・リードデータバッファ、17・・・ライ
トデータバッファ、 18・・・画像データ、  20・・・入力画像データ
、21・・・動作モード信号、25・・・変化点検出部
、29・・・変化点検出信号。
FIG. 1 is a block diagram of an image compression device according to an embodiment of the present invention, FIG. 2 is an internal configuration diagram of an image compression section, and FIG. 3 is a characteristic of the present invention. image compression section,
4... Address bus, 5... Data bus, 7
...Processing start activation signal, 9...Operation mode information, 1
0... Operation mode register, 12... Clock control unit, 13... Read data buffer, 17... Write data buffer, 18... Image data, 20... Input image data, 21... - Operation mode signal, 25... Changing point detection section, 29... Changing point detection signal.

Claims (1)

【特許請求の範囲】[Claims] 1、画像データをMH方式により圧縮する装置において
、画像情報及び圧縮符号を格納するメモリーと、上記メ
モリーに対し画像情報のリード・ライト制御及び、上記
メモリーアドレス管理及び画像圧縮動作の制御を行なう
直接メモリ読出し制御装置と、上記直接メモリ読出し制
御装置より起動信号を受け実際に画像圧縮を実行する画
像圧縮部より構成され、2624ビット以上のランレン
グスを圧縮する時、メイクアップ符号連続指定あるいは
、1つのメイクアップ符号とターミネイティング符号に
分割する指定が可能なことを特徴とする画像圧縮装置。
1. In a device that compresses image data using the MH method, there is a memory that stores image information and compression codes, and a direct memory that controls read/write of image information to the memory, and controls the memory address management and image compression operation. It consists of a memory read control device and an image compression section that receives a start signal from the direct memory read control device and actually executes image compression. An image compression device characterized in that it is possible to specify division into two make-up codes and a terminating code.
JP14650985A 1985-07-05 1985-07-05 Picture compressing device Pending JPS628661A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14650985A JPS628661A (en) 1985-07-05 1985-07-05 Picture compressing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14650985A JPS628661A (en) 1985-07-05 1985-07-05 Picture compressing device

Publications (1)

Publication Number Publication Date
JPS628661A true JPS628661A (en) 1987-01-16

Family

ID=15409238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14650985A Pending JPS628661A (en) 1985-07-05 1985-07-05 Picture compressing device

Country Status (1)

Country Link
JP (1) JPS628661A (en)

Similar Documents

Publication Publication Date Title
JPS58177073A (en) Digital image information encoding/decoding method and device
JPH05284367A (en) Image coding device
JPH07184059A (en) Equipment and method for facsimile data coding
JPS6326588B2 (en)
JPS60140979A (en) Parallel processor for encoding and decoding of picture signal
JPS5958972A (en) Data compressor
JP2833362B2 (en) Image signal expansion device
JPS63117562A (en) Image data coding system
JP3264559B2 (en) Image coding method and apparatus
JP2689020B2 (en) Code decompression method and drawing device
JPH0789649B2 (en) Image data processor
JPS6195671A (en) Decoding circuit
JP3053191B2 (en) Image compression coding device
JP2000013787A (en) Image processing device
JPH06133173A (en) Image data processor
JPS6410153B2 (en)
JPS61208371A (en) Image data compression encoding circuit
JPH09214776A (en) Decryption device
JPS62209969A (en) Image information frame size management method
JPS63187873A (en) Control return code generating and transferring method
JPS61256868A (en) Data processing system
JPS6384268A (en) Compression code encoding device
JPH03133263A (en) Picture data compression system
JP2000184208A (en) Image compression device
JPH08149309A (en) Encoding method and apparatus thereof